.advert {
    position: fixed;
    /* background: center / contain no-repeat url("../images/adv/times_banner.png"); */
    bottom: 0;
    right: 0;
    height: 312px;
    width: 700px;
    z-index: 50 !important;
    border-radius: 30px;
}

.advert img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.advert .closeBtn {
    display: flex;
    justify-content: center;
    height: 70px;
    width: 100px;
    top: 0;
    position: absolute;
    right: 0;
    z-index: 51 !important;
    font-size: 40px;
}
.advert.advert_hide {
    display: none;
}
.advert .subscribeBtn{
    position: absolute;
    display: block;
    opacity: 1;
    z-index: 51 !important;
    height: 47px;
    width: 453px;
    left: 199px;
    bottom: 63px;
}

.newDownBlock {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 100px auto 0;
    max-width: 1700px;
    justify-content: space-around;
}

.newDownBlockOne {
    display: flex;
    position: relative;
    flex-direction: column;
    text-decoration: none;
    color: var(--gray700);
    font-size: 30px;
    max-width: calc(100% * (1/4) - 40px);
    min-width: 350px;
    margin: 8px;
    width: 100%;
    padding: 12px;
    flex: 1 0 425px;
    box-shadow: 0px 0px 0 0px var(--white), 0px 0px 0px var(--shadow);
    background: transparent;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.newDownBlockOne:hover {
    box-shadow: 0px 0px 0 3px var(--white), 25px 21px 87px var(--shadow100);
    z-index: 49 !important;
    background: var(--white);
}

.newDownBlockOne:hover .newDownBlockTitle {
    color: var(--white);
    background: var(--green700);
}

.newDownBlockOne .newDownBlockImage {
    position: relative;
    min-height: 240px;
    width: 100%;
    display: block;
    background: url("/images/no.png") center center / cover no-repeat;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    border-radius: 17px;
    overflow: hidden;
}

.newDownBlockImage img {
    max-width: 100%;
    margin: -30px auto;
    bottom: 10px;
    position: absolute;
    filter: drop-shadow(0px 0px 1px var(--green700));
}

.newDownBlockTitle {
    position: relative;
    display: flex;
    padding: 11px 30px;
    background: var(--green600);
    border-radius: 0px 0px 17px 17px;
    color: var(--white);
    text-decoration: none;
    margin: -30px 0px 0px 0px;
    border: none;
    height: 100%;
    line-height: 24px;
    font-size: 18px;
    font-weight: 400;
    z-index: 1;
    box-shadow: 0px -10px 10px 0px var(--green700);
}

@media screen and (max-width: 420px) {
    .newDownBlockOne {
        min-width: 80%;
    }
    .newDownBlockImage img {
        bottom: 50px;
    }
}
@media only screen and (max-width: 768px) {
    .advert {
        display: none;
        /* background: center / cover no-repeat url("../images/adv/1.png");
        background-size: auto 120vh; 
        top: 0;
        left: 0;
        height: auto;
        width: 100vw; */
    }
}




/* Кнопка выпадающего списка */
.dropbtn {
    color: var(--gray900);
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
    padding: 25px 1vw;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    align-self: center;
}

/* Контейнер <div> - необходим для размещения выпадающего содержимого */
.dropdown {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}
.dropdown::after {
    -webkit-animation-name: ahoverbottomout;
    -webkit-animation-duration: 0.3s;
    animation-name: ahoverbottomout;
    animation-duration: 0.3s;
}
.dropdown:hover:after {
    -webkit-animation-name: ahoverbottom;
    -webkit-animation-duration: 0.3s;
    animation-name: ahoverbottom;
    animation-duration: 0.3s;
    animation-fill-mode: both;
    animation-direction: normal;
}

/* Выпадающее содержимое (скрыто по умолчанию) */
@keyframes cf4FadeInOut {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Ссылки внутри выпадающего списка */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

/* Изменение цвета выпадающих ссылок при наведении курсора */
.dropdown-content a:hover {
    background-color: var(--shadow);
}

/* Показать выпадающее меню при наведении курсора */
.dropdown:hover .dropdown-content {
    display: block;
    animation: 0.5s linear cf4FadeInOut;
}

/* Изменение цвета фона кнопки раскрывающегося списка при отображении содержимого раскрывающегося списка */
.dropdown:hover .dropbtn {
    background: var(--gray300);
    cursor: pointer;
    color: var(--green500);
}
