@import url(https://fonts.googleapis.com/css?family=Montserrat:100,200,300,regular,500,600&display=swap);


/* Обнуление оснвных параметров браузера */
* {
    padding: 0px;
    margin: 0px;
    border: 0px;
    }
    *,*:before,*:after{
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .focus :active{outline: none;}
    a:focus, :active{outline: none;}
    
    nav,footer,header,aside{display: block;}
    
    html,body{
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    }
    
    input,button,textarea{font-family: inherit;}
    
    input::-ms-clear{display: none;}
    button{cursor: pointer;}
    button::-moz-focus-inner {padding:0; border:0;}
    a, a:visited{text-decoration: none;}
    a:hover{text-decoration: none;}
    ul li{list-style: none;}
    img{vertical-align: top;}
    
    h1,h2,h3,h4,h5,h6{font-size: inherit;font-weight: 400;}
    /* -------------------------------------------------- */

    html, body {
        height: 100%;
        font-family: Montserrat;
        font-weight: 500;
        line-height: 1;
        background-color: #333;
        color: ;
        
    }

    .total__eclipce-aniva {
        display: flex;
        flex-direction: column;
        min-height: 100%; 
        overflow: hidden;
    } 
    .main__page {
        flex: 1 1 auto;
    }
    [class*="__container"]{
        margin: 0 auto;
        max-width: 1090px;
        padding: 0 15px;
        border: px solid green;
        
    }
    ._ibg {
        position: relative;
    }
    ._ibg img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* ====================== HEADER ======================== */
    header {
        
    }
    .header {
        height: 80px;
        border-bottom: 2px solid #dadada;
        background-color: #fff;
    }
    
    .header__container {
            position: relative;
    }   
        .header__container::before {
            content: "";
            position: absolute;
            width: 100vw;
            height: 100%;
            right: 16px;
            top: 0;
            transform: translate(100%, 0%); 
            background-color: red;
        }
        
        
    .header__menu {
        width: 100vw;
        display: flex;
    }
    
    .menu {
     /*   display: flex;
        justify-content: center;
        align-items: center; */
        flex: 0 0 80px;
        height: 80px;
        background-color: red;
    }
    
    .nav__menu-list {    
        position: relative;
    }
    .menu-link {   
        position: absolute; 
        top: 26px;
        left: 20px;
        width: 40px;
        height: 26px;
        cursor: pointer;
    }
    .menu-link span {        
        position: absolute;
        top: 8px;
        left: 0;
        width: 100%;
        height: 2px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
        padding-bottom: 6px;
        cursor: pointer;
    } 
    .menu-link::before,
    .menu-link::after {
        content: "";
        background-color: #fff;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        cursor: pointer;
    }
    .menu-link::before {
        top: 0;
    }
    .menu-link::after {
        bottom: 0;
    }
    .sub-nav__menu-list {
        display: none;
        position: absolute;
        top: 52px;
        left: 0px;
        width: 230px;
        padding: 26px 0 0 0;
        cursor: pointer;
    }
    .nav__menu-list > .menu-list:hover .sub-nav__menu-list {
        display: block;
        z-index: 5;
    }
    .menu .nav__menu-list > .menu-list:active .sub-nav__menu-list {
        display: block;
    }
    .nav__menu-item {
        background-color: red;
        border: 1.5px solid rgb(205, 0, 0);
        transition: all 0.6s ease 0s;
    }
    .nav__menu-item:hover {
        background-color: rgb(205, 0, 0);
    }
    .nav__menu-link {
        display: block;    
        padding-left: 15px;    
        height: 56px;
        line-height: 56px;
        font-size: 16px;
        color: #fff;
    }
    .nav__menu-button {
        display: none;
    }
    .header__logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 30px;
    }

    .logo__aniva {
        font-size: 36px;
        text-transform: uppercase;
        font-weight: 600;
    }
    .header__excepteur {
        display: flex;
        flex: 0 1 570px;
        align-items: center;
        padding: 0 30px;
        color: grey;
        border-left: 2px solid #dadada;
        border-right: 2px solid #dadada;
    }
    .excepteur {
        font-size: 15px;
        font-weight: 500;
        text-transform: uppercase;
    }
    .header__contact {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 30px 0 30px;
    }
    .contact__me {   
        position: relative;
    }
    .contactme {
        padding: 30px 35px 30px 5px; 
        text-transform: uppercase;
        background: none;
        color: grey;
        font-weight: 500;       
        white-space: nowrap;
        transition: 0.3s;
    }
    .contactme:hover, .contactme:focus {
        color: red;
        font-weight: 600;
    }
    .contactme__icon {
        background: url(../img/1492692443-1email_83542.ico) right/ 22px 16px no-repeat;
    }
    .form__contact {
        display: flex;
        justify-content: center;
        text-align: center;
        width: 280px;
        border: 1px solid grey;
        background-color: #fff;
        position: absolute;
        top: 100%;
        right: -23%;
        z-index: 5;
        display: none;
    }
    .show {
        display: block;
}    

    .form__contact h2 {
        color: red;
        padding: 20px 0;
        font-weight: 600;
        font-size: 16px;
    }
    .form__item {
    }
    .form__input {
        width: 250px;
        height: 40px;
        border: 1px solid #dcdcdc;
        border-radius: 4px;
        margin-bottom: 10px;
        font-size: 14px;
        padding: 10px;
    }
    textarea.form__input {
        min-height: 120px;
        resize: vertical;
    }
    .send {
        width: 250px;
        height: 40px;
        color: #fff;
        border-radius: 4px;
        text-transform: uppercase;
        font-size: 16px;
        background-color: red;
        margin: 5px 0 20px 0;
        cursor: pointer;
    }
    .send:hover {
        background-color: rgb(205, 0, 0);
    }
    .header__search {
        
    }
    .search-header {
        display: flex;
        align-items: center;
        width: 400px;
        height: 100%;
        background-color: red;
        position: relative;
        
    }
    .search-button {
        position: absolute;
        width: 40px;
        height: 40px;
        background: url(../img/icons8-поиск.svg) 16px center/ 17px 17px no-repeat;
    }
    .search-input {
        width: 79%;      
        background-color: transparent;
        padding: 0 0px 0 0px;
        font-size: 26px;
        color: #fff;
        margin-left: 60px;
        outline: none;
    }
    .search-input:focus {
        font-size: 14px;
        border-bottom: 0.5px solid white;    
    }
    
    /* ====================== MAIN ======================== */
    .main__container {
    } 
    .aniva__column {
        display: flex;
        justify-content: space-between;
        margin: 5em 0 5.5em 0;
    } 
    .aniva__column-block {
        flex: 0 1 49.3%;
    }
    .applemaps {
        display: block;
        margin-bottom: 1.5em;
        background-color: #fff;
        border-radius: 4px;
        color: grey;
        position: relative;
        z-index: 4;
    }
    .applemaps::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 5px;
        width: 98%;
        height: 15px;
        border-radius: 5px;
        background-color: #fff;  
        opacity: 0.7; 
    }
    
    .aniva__news {
    }

    .aniva__news-image {
        display: block;
        padding: 0 0 60% 0;
    }
    .aniva__photos-block {
        display: flex;
        justify-content: space-between;
        padding: 10px 10px 0 10px;
    }
    .aniva__photos-block-link {
        padding: 0 0 23.5% 23.5%; 
        
    }
    .image__pop-up {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        padding: 8%;
        background: #CCC center no-repeat;
        background: rgba(0, 0, 0, 0.8) center no-repeat;
        background-size: contain;
        background-origin: content-box;
    }
    a:focus + .image__pop-up {
        display: block;
        z-index: 20;
      }
    .aniva__content {
        padding: 15px 20px 30px 20px;
    }
    .aniva-title {
        color: #000;
        font-size: 24px;
        font-weight: 500;
        line-height: 1.5;
    }
    .aniva-date {

    }
    .aniva-text {
        margin: 40px 0 20px 0;
        line-height: 1.5;
    }
    .aniva-text p:not(:last-child) {
        padding-bottom: 20px;
    }
    .read__more-link {
    }
    .read__more-title {
        color: red;
        font-weight: 600;       
    }
    .read__more-title:hover {
        text-decoration: underline;
    }
    .aniva__news-icon {
        text-align: center;
    }
    ._newjersy::before {
        content: "";
        position: absolute;
        top: -4px;
        left: 5px;
        width: 98%;
        height: 15px;
        border-radius: 5px;
        background-color: #fff;  
        opacity: 0.7; 
    }
    .twit__message {
        
        padding-bottom: 20px;
        line-height: 1.2;
        color: #000;
        font-size: 24px;
        
    }
    .image__kavychki-2 {
        position: relative;
    }
    .image__kavychki-2 img {
        position: absolute;
        top: 0;
        left: 0;
        width: 30px;
        height: 30px;
    }
    .twit__messge-text {
        padding: 10px 20px 0 50px;
        font-weight: 500;
    }
    .image__kavychki {
        position: relative;
    }
    .image__kavychki img {
        position: absolute;
        right: 0;
        bottom: -10px;
        width: 30px;
        height: 30px;
    }
    .aniva__audio-block {
        display: flex;
        align-items: center;
        height: 80px;
        background-color: #292929;
    }
    .aniva__audio {
        flex: 0 1 100%;
        padding: 0 0 7% 0;
        position: relative;
        overflow: hidden;
    }
    .aniva__audio audio {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-color: #404040;
    }
    .aniva__video {
        flex: 0 1 100%;
        padding: 0 0 60% 0;
        position: relative;
        overflow: hidden;
    }
    .aniva__video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* ====================== FOOTER======================== */
    .older__post {       
        width: 100%;
        min-height: 80px;
        background-color: red;        
    }
    
    .older__post-item {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .older__post-title {
        margin: 30px 0 0px 0;
        color: #fff;
        font-weight: 600;
        position: relative;
        cursor: pointer;
    }
    .older__post-title::before {
        content: "";
        position: absolute;
        top: -0.5px;
        right: -20.5px;
        width: 3px;
        height: 16px;
        background-color: #fff;
        transition: 0.3s;
    }
    .older__post-title::after {
        content: "";
        position: absolute;
        top: 5.4px;
        right: -35%;
        width: 16px;
        height: 3px;
        background-color: #fff;
    }
    
    .older__post-title.active {
        
    }
    .older__post-title.active::before {
        height: 0;
    }
    .older__post-title.active::after {
        
    }
    .older__post-spoler {
        display: none;
        background-color: #333;
        width: 100%;
        margin-top: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid grey;
    }
    .older__post-text {
        margin: 30px auto 30px;
        max-width: 600px;
        text-align: center;
        color: #fff;
        font-weight: 500;
    }
    .older__post-content {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -15px;
    }
    .older__post-column {
        flex: 1 1 25%;
        padding: 0px 15px;
        text-align: center;
    }
    .post-content__item {
        padding: 0 15px 30px 15px;
        background-color: #292929;
    }
    .post-content__link {
        color: #fff;
    }
    .post-content__link:hover {
        text-decoration: underline;
    }
    .post-content__title {
        padding: 20px 0;
        font-weight: 600;
    }
    .post-content__image {
        display: block;
        padding: 0 0 70% 0%;
        border: 1px solid #fff;
    }
    .post-content__text {
        text-align: justify;
        padding-top: 20px;
        color: #fff;
        font-size: 12px;
    }
    /* ====================== FOOTER TOP======================== */

    .footer {
    }
    .footer__top {
        margin-top: 30px;
    }
    .footer__container {
    }
    .footer-row {
        display: flex;
        margin: 0 -15px;
    }
    .footer-row__block {
        flex: 1 1 33.333%;
        padding: 0 15px;
    }

    .about__aniva {
        
    }
    .flickr__photos {
    }
    .flickr__photo-dark {
        padding-bottom: 0;
        background-color: #292929;
    }
    .flickr__photos-block {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
/*
        padding-bottom: 5px;
        margin: 0 -5px; */
    }
    .block-image {
    
    }
    .flickr__photos-block-link {
        display: block;
        padding: 0 0 45% 48%;
        margin-bottom: 15px;
    /*    padding: 0 5px;
        padding-bottom: 15px; */
    }
    
    .archives {
        
    }
    .footer__top-title {
        padding: 50px 0 20px 0;
        color: #fff;
        font-size: 17px;
        font-weight: 500;
    }
    .about__aniva-text {
    }
    .about__aniva-text p {
        padding-bottom: 20px;
        font-size: 13px;
        color: grey;
    }
    .about__aniva-social {
        padding-bottom: 15px;
    }
    .social__item {
    }
    .social__item:not(:first-child) {
        padding-left: 5px;
    }
    
    .monts__list {
    }
    .monts__item {
        font-size: 14px;
        padding: 15px 0;
        border-bottom: 1px solid grey;
    }
    .monts__item:last-child {
        border-bottom: none;
    }
    .monts__link {
        color: grey;
    }

/* ====================== FOOTER BOTTOM======================== */
    .footer__bottom {
        display: flex;
        align-items: center;
        text-align: center;
        height: 80px;
        background-color: #404040;
    }
    .erkangiris {
    }
    .erkangiris h3 {
        font-weight: 600;
        font-size: 17px;
        color: dimgray;
    }

    /* =======================================================  */
    
    
    /* ====================== АДАПТИВ ======================== */

    @media (max-width: 991.98px) {
        
        .header__container::before {
            content: "";
            display: none;
        }
        .header__logo {
            
        }
        .header__excepteur {
            padding: 0;
            border: 0;
        }
        .header__excepteur p {
            font-size: 0;
        }
        .header__contact {
            margin: 0 30px 0 15px;
        }
        .form__contact {           
            right: -11%;
        }
        .header__search {
            
        }
        .search-header {
            width: 100%;
        }
        .older__post-spoler {
            padding-bottom: 0;
        }
        .older__post-column {
            flex: 1 0 50%;
            margin-bottom: 30px;
        }
        .footer-row {
            display: flex;
            flex-wrap: wrap;
            
        }
        .footer-row__block {
            
        }
        .about__aniva-left {
            order: 2;
        }
        .flickr__photo-dark {
            order: 1;
            flex: 1 1 100%;
        }
        .archives-right {
            order: 3;
        }
        .flickr__photos-block-link {
            display: block;
            padding: 0 0 45% 49.1%;
            margin-bottom: 15px;
        }
    }
    @media (max-width: 767.98px) {
        .nav__menu-button {
            display: block;
            padding-left: 18px;
            border-top: 1px solid rgb(205, 0, 0);
            background-color: #292929;
        }
        .contactme {     
            color: #fff;       
            line-height: 8px;
        }
        .form__contact { 
            left: -10%;
            background-color: #292929;
        }
        .header__contact {
            display: none;
        }
        .aniva__column {
            display: flex;
            flex-direction: column;
            margin: 5em 0 5.5em 0;
        } 
        .applemaps {
            margin-bottom: 2em;
        }
    }
    @media (max-width: 590px) {
        .search-header {
            width: 96%; 
            padding-right: 20px;          
            justify-content: flex-end;
        }
        .search-button {
            
        }
        .search-input {
            margin: 0 35px 0 0;
        }
        .older__post-content {
            flex-direction: column;
        }
    }
    @media (max-width: 520px) {
        .header__container::before {
            content: "";
            display: flex;
        }
        .header__search {
            
        }
        .search-header {
            
            background: none;
        }
        .search-button {
            
            height: 100%;
            background-color: red;
        }
        .search-button button {
            
        }
        .search-input {
            width: 0;
            display: none;
            background-color: none;
        }
        .aniva__column {
            margin: 3em 0 4.5em 0;
        } 
        .flickr__photos-block-link {
            display: block;
            padding: 0 0 45% 48.5%;
            margin-bottom: 15px;
        }
        .about__aniva-left {
            flex: 1 1 100%;
        }
    }