html, body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}


h1 {
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 38px;
    color: #333333;
}

h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    color: #333333;
}

h3 {
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 23px;
    color: #333333;
}

h4 {
    font-style: normal;
    font-size: 14px;
    line-height: 27px;
}

h5 {
    font-style: normal;
    font-size: 12px;
    line-height: 18px;
}

strong {
    font-weight: 600;
}

p {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
}

/* unvisited link */
a:link {
    color: #333333;
}

/* visited link */
a:visited {
color: #333333;
}

/* mouse over link */
a:hover {
color: #00AFCA;
}

.menu-active {
    color: #00AFCA !important;
}

/* selected link */
a:active {
color: #00AFCA;
}

.lines {
    margin-left: auto !important;
    margin-right: auto !important;
}

.lines:first-child {
    margin-right: auto !important;
    margin-left: 0px !important;
}

.lines:last-child {
    margin-right: 0px !important;
    margin-left: auto !important;
}


  

.navbar {
    height: 80px;
    box-shadow: none;
    background-image: url("/img/ornament.png?v=1");
    background-color: #f2f2f2;
}

.flag {
    background-image: url("/img/flag.jpg?v=1");
    background-position: center; 
    background-size: cover;
    min-height: 259px;
    top: 80px;
    overflow: hidden;
    position: relative;
}

.flag-small {
    background-image: url("/img/flag.jpg?v=1");
    background-position: center; 
    background-size: cover;
    min-height: 200px;
    top: 80px;
    overflow: hidden;
    position: relative;
}

.video {
    min-width: 120%;
    /*height: 150%;*/
    z-index: 0;
    position: absolute;
}

.name_site {
    color: white;
    text-align: center;
    position: relative;
}

.main-block {
    min-height: 423px;
    max-height: 423px;
    background-color: #f2f2f2;
}

.lang_active {
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.02em;
    
    color: #00AFCA !important;    
}

.lang_unactive {
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.02em;
    
    color: #333333;    
}

.line_left { 
    border-left: 1px solid #333333;
    margin-left: 10px;
    padding-left: 10px;
}

.line_right { 
    border-right: 1px solid #333333;
    margin-right: 10px;
    padding-right: 10px;
}

.menu_main {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.02em;
}

.official_site {
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.official_title {
    font-weight: bold;
    font-size: 36px;
    line-height: 44px;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}


.ornament_vertical {
    background-image: url("/img/ornament_vertical.png?v=1");
    background-position: top right;
    background-color: #f2f2f2;
    background-repeat: repeat-y;

}

.date_top_anons {

    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.02em;
    color: #999999;
}

.text_top_anons {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 31px;
    /* or 125% */

    letter-spacing: 0.02em;

    color: #333333;
    
}

.image_anons {
    position: absolute; /* добавлено */
    object-fit: cover;
    object-position: center;
    width: max-content;
    /*min-height: 423px;*/
    max-height: 423px;
    overflow: hidden;
    left: 0;/* добавлено */
    top: 0;/* добавлено */
    bottom: 0;/* добавлено */
    right: 0;/* добавлено */
    margin: auto;/* добавлено */
    
}

.my-category {
    background-color: #f2f2f2;
    border-radius: 20px;
    height: 40px;
}


.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    display: inherit;
}

.arrow_slider {
    position: absolute;
    bottom: 15px;
    right: 85px;
}

/* Отображение блоков при большом разрешении*/
.showblock {
    display: block !important;
}

/* Отображение меню декстоп при большом разрешении*/
#desktop_site.showmobile, #desktop_flag.showflag {
    display: block !important;
}

/* Отображение меню мобильного при большом разрешении*/
#mobile_site.showmobile, #mobile_flag.showflag {
    display: none !important;
}

#myTab.active {
    transform: none;
}

#myTab.nav-tabs {
    border: none;
}

.nav-tabs .nav-link {
    border: none;
    padding-left: 40px;
    padding-right: 40px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #333333;
    background-color: #FEC50C;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    padding-left: 40px;
    padding-right: 40px;
}

.my-ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 40px;
}
.my-li {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #999999;
    font-weight: bold;
}
.my-li a {
    color: #999999;
}

.image_main_block {
    object-fit: cover;
    object-position: center;
    /*
    min-height: 201px;
    max-height: 201px;
    */
    width: 100%;
}

.date_main_block {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.02em;
    /* padding-top: 10px; */
}

.date_main_block_small {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: #333333;
}

.president-block {
    min-height: 359px;
}

.image_president {
    object-fit: cover;
    object-position: center;
    min-height: 359px;
}

.social_president {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.button_blue {
    background-color:#00AFCA;
    border-radius: 20px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-block;
    text-align: center;
}

.button_blue a {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.button_position {
    position: absolute;
}


#footer_block {
    background-image: url("/img/symbol.png?v=1");
    background-position: top right;
    background-color: #333333;
    background-repeat: no-repeat;
}

.footer_text_title {
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: #FFFFFF;
}

.footer_text {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.02em;
    color: #999999;
}

#footer_block a {
    color: #999999;
}


#footer_block a:hover {
    color: #FEC50C;
}

.footer-center-block {
    text-align: right;
}

.field_search {

    border-radius: 20px;
    border: 0px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    padding-left: 20px;
    padding-right: 75px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    display: block;
    width: 90%;
    position: absolute;
    outline: none;

}

.button_search {
    background: #00AFCA;
    border-radius: 0px 20px 20px 0px;
    border: 0px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    margin-left: auto;
    outline: none;
    
}

.button_category {
    border: 1px solid #999999;
    color: #999999;
    box-sizing: border-box;
    border-radius: 15px;
    font-size: 12px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
    margin-bottom: 5px;
    display: inline-block;
    outline: none;
}

button:active, button:focus {
    outline: none;
}
button::-moz-focus-inner {
    border: 0;
}

.button_category_active {
    border: 1px solid #00AFCA;
    color: #00AFCA;
    box-sizing: border-box;
    border-radius: 15px;
    font-size: 12px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
    margin-bottom: 5px;
    display: inline-block;

}



.dropdown-menu {
    background: #F2F2F2;
    margin-top: 11px !important;
    border-radius: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
   
}

.dropdown-item{
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.02em;
    color: #5C5C5C;
    padding-top: 2px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.dropdown-divider{
    border: 1px solid #C4C4C4;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.my-toggler {
    content: url("/img/toggler.png?v=1");
    padding-left: 5px;
}

.li-divider{
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.my-hr {
    margin-top: 0px;
    margin-bottom: 0px;
    color:  #999999;
}



/* Слайдер меню */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color:#333333;
    overflow-x: hidden;
    transition: 0.5s;
}

.sidenav .bgtop {
background-image: url("/img/ornament_mobile.png?v=1");
background-position: top;
background-repeat: repeat-x;
background-color:#333333;
min-height: 80px;
padding-top: 9px;
padding-left: 14px;
}

.sidenav a{
    color: #ffffff;
}

.sidenav a:hover{
    color: #FEC50C;
}

.sidenav hr {
    border: 1px;
    border-style: solid;
    border-color:rgba(153, 153, 153, 0.1);
}

.sidenav .menu_first{
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    margin-left: 20px;
    margin-right: 20px;
}

.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}

article img {
    width: 100% !important;
    height: auto !important;
}

.portret {
    margin-top: 120px; 
    font-weight: bold; 
    padding-left: 25px;
}



.accordion {
    cursor: pointer;
    transition: 0.4s;
    margin: 0px;
    font-size: 16px;
}

.no-accordion a {
    font-size: 16px;
}
  
.accordion:hover {
    color:#FEC50C;
}
  
.paneldrop {
    padding: 0 40px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}



.my-scroll {
    overflow-y: scroll;
}


.scrollbar-cyan::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #333333;
    border-radius: 10px; 
}
    
.scrollbar-cyan::-webkit-scrollbar {
    width: 12px;
    background-color: #333333; 
}
    
.scrollbar-cyan::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #333333; 
}

.bordered-none::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
    border: 0px !important; 
}
    
.bordered-none::-webkit-scrollbar-thumb {
    -webkit-box-shadow: none; 
}

.square::-webkit-scrollbar-track {
    border-radius: 0 !important; 
}
    
.square::-webkit-scrollbar-thumb {
    border-radius: 0 !important; 
}
    
.thin::-webkit-scrollbar {
    width: 1px; 
}



blockquote {
    margin-left: 30px !important;
    margin-right: 20px !important;
    padding-top: 15px !important;
    padding-bottom: 5px !important;
    padding-left: 20px !important;
    border-left: 5px solid #00AFCA;
}

blockquote p {
    font-size: 16px !important;
    line-height: 24px !important;
}

.list-ap {
    display: block;
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    font-size: 14px;
    font-weight: bold;
    
}


.btn.btn-sm {
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
}













@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
/* Конец слайдера меню */


















@media (max-width: 960px) { 

    h1 {
        font-style: normal;
        font-weight: bold;
        font-size: 22px;
        line-height: 28px;
        color: #333333;
    }
    
    h2 {
        font-style: normal;
        font-weight: bold;
        font-size: 24px;
        line-height: 30px;
        color: #333333;
    }
    
    h3 {
        font-style: normal;
        font-weight: bold;
        font-size: 16px;
        line-height: 22px;
        color: #333333;
    }

    .main-block {
        min-height: 200px;
    }

    .image_anons {
        /* object-fit: cover; */
        object-fit: scale-down;
        object-position: center top;
        width: max-content;
        min-height: 200px;
        max-height: 200px;
        overflow: hidden;
    }

    .arrow_slider {
        position: relative;
        top: 10px;
        bottom: 0px;
        right: 60%;
        left: 40%
    }

    .text_top_anons {
        font-style: normal;
        font-weight: bold;
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0.02em;
        color: #333333;
    }

    .official_site {
        font-weight: bold;
        font-size: 14px;
        line-height: 21px;
        color: #FFFFFF;
        letter-spacing: 0.02em;
    }
    
    .official_title {
        font-weight: bold;
        font-size: 22px;
        line-height: 28px;
        color: #FFFFFF;
        letter-spacing: 0.02em;
    }

    .flag {
        background-image: url("/img/bg_mobile.png?v=1");
        background-position: center; 
        background-size: cover;
        min-height: 200px;
        top: 80px;
        overflow: hidden;
        position: relative;
    }

    .flag-small {
        background-image: url("/img/bg_mobile.png?v=1");
        background-position: center; 
        background-size: cover;
        min-height: 110px;
        top: 80px;
        overflow: hidden;
        position: relative;
    }

    .mobile-padding {
        margin-top: 100px;
    }

    /* Отображение блоков при маленьком разрешении*/
    .showblock {
        display: none !important;
    }

    /* Отображение десктоп при маленьком разрешении*/
    #desktop_site.showmobile, #desktop_flag.showflag { 
        display: none !important;
    }

    /* Отображение мобильного при маленьком разрешении*/
    #mobile_site.showmobile, #mobile_flag.showflag {
        display: block !important;
    }
   
    .image_main_block {
        object-fit: cover;
        object-position: center;
        /* min-height: 200px; */
        margin-bottom: 10px;
    }

    .president-block {
        min-height: 200px;
    }

    .image_president {
        object-fit: cover;
        object-position: center;
        min-height: 200px;
    }

    .social_president {
        position: relative;
        bottom: 0px;
        left: 20px;
        display: inline-block;

        
    }

    .button_position {
        position: relative;
        text-align: center;
    }

    .footer-center-block-mobile {
        text-align: center;
    }

    .portret {
        margin-top: 30px; 
        font-weight: bold; 
        padding-left: 25px;
        text-align: right;
    }

    article p {
        font-size: 16px;
    }

    article blockquote p {
        font-size: 18px !important;
        line-height: 24px !important;
    }
}

