@media screen and (max-width: 990px){
    .page-home-block .col4 .col-md-3:nth-child(5n+2),
    .page-home-block .col4 .col-md-3:nth-child(5n+3),
    .page-home-block .col4 .col-md-3:nth-child(5n+4),
    .page-home-block .col4 .col-md-3:nth-child(5n+5) {
        padding: 0 !important;
    }
}

@media screen and (min-width: 1101px) and (max-width: 1600px) {
    .banner img {
        padding-top: 140px;
    }
}


@media screen and (max-width: 1100px){

    body {
        overflow-x: hidden;
    }

    .web{
        display: none !important;
    }

    .navbar-toggle {
        display: block;
        margin-right: 0;
    }

    .card.news img,
    .height-sm {
        height: 300px;
        max-height: 360px;
    }

    .center{
        display: initial;
        flex-direction: row;
        align-items: center;
    }

    .navbar-logo-img {
        object-fit: contain;
        max-width: 200px;
        max-height: 50px;
    }

    .page-home-block .col4 .col-md-3:nth-child(5n+1) .card.news img {
        width: 100%;
    }



    .height-sm {
        padding-top: 188px;
    }

    .navbar-toggle .icon-bar {
        background-color: var(--bg-rev) !important;;
    }

    .container-fluid {
        margin-left: 10px;
        margin-right: 10px;
    }

    .banner-text img,
    .content img{
        width: 240px;
        padding: 10px 0;
    }

    .icons_info__link img {
        width: auto;
    }

    .owl-next img,
    .owl-prev img {
        width: auto !important;padding: 10px 0;
    }

    #sync2.owl-carousel .owl-stage-outer {
        height: auto;
    }

    .container{
        padding-left: 15px;
        padding-right: 15px;
    }

    .form .col-lg-9 {
        padding-left: 0 !important;
    }

    .icons_info_search {
        position: relative;
        right: 15px;
        order: 1;
    }

    .theme-switcher {
        position: absolute !important;
        cursor: pointer !important;
        display: block !important;
        order: 1 !important;
        right: 20px !important;
    }

    .icons_info__link {
        padding-left: 0;
        padding-right: 5px;
        padding-top: 10px;
    }

    .navbar-nav {
        margin-bottom: 20px;
        margin-top: 30px;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .lower{
        align-items: center;
        flex-direction: row;
        border-top: 1px solid var(--btn-color);
    }

    .upper{
        flex-direction: row;
        align-items: center;
        border-bottom: 1px solid var(--btn-color);
        padding: 20px 0;
    }

    .profile {
        background-image: var(--profile) !important;
        width: 60px;
        height: 60px;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .upper .btn{
        position: absolute;
        right: 10px;
    }

    ul.navbar-nav {
        padding: 0;
    }

    .cat span {
        padding-right: 20px;
    }

    .partners li:first-child img {
        width: 100%;
    }

    .partners li:nth-child(2), .partners li:nth-child(3), .partners li:nth-child(4), .partners li:nth-child(5) {
        width: 50%;
    }

    .partners li {
        width: 50%;
    }

    header .icons_info .icons_info__link img {
        margin: 0 5px;
    }

    /* Банер с текстом

    .banner h4{
        font-size: 21px;
        margin-top: 25px;
    }

    .banner-text{
        margin-top: -100px;
    }

    .banner h3 {
        font-size: 24px !important;
        padding-bottom: 10px;
    }

    .lower .profile,
    .lower .btn    {
        display: none;
    }*/

    .navbar-nav li.dropdown a,
    .navbar-nav.mainmenu > li > a{
        font-weight: 800;
        font-size: 30px;
        line-height: 120%;
    }

    .navbar-nav li.dropdown a.dropdown-item{
        font-weight: 400;
        font-size: 30px;
        line-height: 160%;
        padding-left:20px;
    }

    footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .top-border {
        border-top: 0;
        padding: 30px 0 0 0;
    }

    .partners li:first-child:after {
        padding: 40px 0 120px;
    }

    .partners li:first-child:before {
        padding: 60px 0 40px 0;
    }

    .partners .right {
        float: right !important;
        position: initial !important;
    }

    .card-body .date {
        right: 20px;
    }

    .tags a{
        margin: 0 10px 20px 0;
    }

    .pb60.tags {
        padding-bottom: 20px;
    }

    h1.pb50 {
        padding-bottom: 30px;
    }

    .lead_img{
        width: 100% !important;
        max-height: 565px;
      }

      h1, h2, .col4.wmain .col-md-3:nth-child(5n+1) h2 {
        font-size: 30px !important;
    }

    .w50{
        width: 50%;
    }

    .mh125{
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mp2040{
        padding: 20px 0 40px;
        align-items: center;
        justify-content: center;
        display: flex;
        height: 125px;
    }

    .partnersblock.p-100{
        padding-top: 80px;
    }

    .icons_info {
        float: left;
        display: flex;
        justify-content: start;
    }

    .partners .h120 {
        height: auto;
    }

    .page-juri-juri-list .col5 .col-md-3 h2, .col5.block h2 {
        font-size: 30px !important;
    }

    .col4 .col-md-3:nth-child(4n+1), .col4 .col-lg-3:nth-child(4n+1),
    .col4 .col-md-3:nth-child(4n+2), .col4 .col-lg-3:nth-child(4n+2),
    .col4 .col-md-3:nth-child(4n+3), .col4 .col-lg-3:nth-child(4n+3),
    .col4 .col-md-3:nth-child(4n+4), .col4 .col-lg-3:nth-child(4n+4)
    {
        padding: 0 !important;
    }

    .col4 .col-xs-6:nth-child(2n+1){
        padding-right: 10px !important;
    }

    .col4 .col-xs-6:nth-child(2n+2){
        padding-left: 10px !important;
    }

    .newslider .carousel-wrapper, .newslider #sync3 {
        width: 100% !important;
    }

    .schedule .btn {
        margin-bottom: 15px !important;
    }


    .navbar .btn {
        margin: 14px 7px;
    }

}
