/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
    .container {
        width: 100%;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
    .container {
        width: 750px;
    }

    .page-gallery > .page-gallery-item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 33%;
    }

    .page-right-media-block{
        float: right;
        margin: 0 0 20px 40px;
        text-align: left;
    }

    /*Media center*/
    .mediacenter-items{
        position: relative;
        margin-left: -25px;
        margin-right: -25px;
        display: flex;
        flex-wrap: wrap;
    }
    .mediacenter-items:after{
        position: absolute;
        content: '';
        bottom: 30px;
        left: 0;
        right: 0;
        height: 60px;
        background: url('/images/wave.svg') no-repeat;
        background-size: cover;
        opacity: .6;
        transition: all .1s ease-out .1s;
    }
    .mediacenter-items:hover:after{
        display: none;
    }
    .mediacenter-item{
        flex: 0 0 50%;
    }
    .mediacenter-item-cols{
        display: flex;
    }
    .mediacenter-item-col-left{
        margin-bottom: 0
    }

    .box-about-cols{
        display: flex;
        padding: 0;
    }

    .box-about-col-1{
        box-sizing: border-box;
        padding: 0 30px;
        flex: 0 0 70%;
    }
    .box-about-col-2{
        box-sizing: border-box;
        padding: 0 30px
        flex: 0 0 30%;
    }
    .yellow-fix{
        position: absolute;
    }

    .contacts-employee{
        /* flex: 0 0 33.3%;
        max-width: 33.3%; */
    }

    .letters-list{
        margin-left: -15px;
        margin-right: -15px;
    }

    .letters-list-item{
        margin-bottom: 30px;
        padding: 0 15px;
        flex: 0 0 33.3%;
        max-width: 33.3%;
    }

    .letters-list-item-inner{
        padding: 30px 30px 20px;
    }

    .letters-list-item-title,
    .letters-list-item-title p{
        font: 14px/1.2 'UbuntuRegular' !important;
    }

    .img-left img{
        float: left !important;
        margin: 0 30px 20px 0;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {

    .container {
        width: 970px;
    }

    .drop-down-list {
        left: 0;
        margin-left: 0;
    }


    /* ---------- *Charity Banner --------- */
    .charity-banner {
        padding: 30px 40px;
        text-align: left;
    }

    .charity-banner-img {
        display: inline-block;
        margin-right: 40px;
    }

    .charity-banner-content {
        display: inline-block;
        padding-left: 40px;
        border-left: 4px solid #fab800;
    }

    .charity-banner-caption {
        font: 30px/40px 'UbuntuLight';
    }



    /* ---------- *Program bottom gallery --------- */

    .bottom-gallery{
        padding: 80px 0 75px;
    }


    .bottom-gallery-item{
        flex:  0 0 25%;
    }

    .contacts-employee{
        /* flex: 0 0 25%;
        max-width: 25%; */
    }
    
	.contacts-right-map-wrap:before, .contacts-right-map-wrap .maps:after {
		display: none;
	}
	
	.contacts-right-map-wrap .maps {
		margin: 0;
	}
	
	.contacts-info-and-map-wrap {
		display: flex;
		justify-content: space-around;
	}
	
	.contacts-info-and-map-wrap .contacts-left, .contacts-info-and-map-wrap .contacts-right {
		width: 50%;
		float: none;
	}
	
	.contacts-info-and-map-wrap .maps iframe {
		width: 100%;
	}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
    .container {
        width: 1200px;
    }

    .bg-yellow-title img{
        margin-left: 10%;
    }
}



/*==========  Desktop First Method  ==========*/

@media only screen and (max-width: 1900px) {
    .curator-bg-yellow {
        width: 25%;
    }
}

@media only screen and (max-width: 1600px) {
    .yellow-fix {
        /*width: 50%*/
        /*width: 765px;*/
        /*height: 315px;*/
    }

    .bg-form {
        width: 840px;
    }
}

@media only screen and (max-width: 1400px) {
    .bg-form {
        width: 670px;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
    .block-nav {
        display: none;
    }

    .list-nav li .sub-menu {
        display: block;
    }

    .nav-show {
        display: block;
    }

    .logo {
        margin-left: 75px;
    }

    .main-head {
        position: static;
    }

    .mabail-nav-head {
        display: block;
    }

    .block-nav {
        position: fixed;
        background: #fab800;
        top: 0;
        left: -100%;
        width: 100%;
        *right: 0;
        bottom: 0;
        z-index: 9999;
        overflow-y: auto;
        transition: all .5s;
    }

    .block-nav.visible {
        left: 0;
    }

    .main-nav,
    .language {
        padding: 0 130px;
    }

    .language {
        margin: 50px 0 50px 15px;
    }

    .list-nav li {
        display: block;
    }

    .sub-menu {
        position: static;
        padding: 0;
        margin-top: 25px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .sub-menu li {
        margin-bottom: 20px;
    }

    .sub-menu li a {
        font-weight: normal !important;
    }

    .language a {
        color: #a26000;
    }

    .phone-list {
        z-index: 99999;
    }

    .yellow-fix {
        /*width: 450px;*/
        /*height: 160px;*/
        padding: 25px 0 25px 50px;
    }

    .yellow-fix span {
        font-size: 30px;
        width: 100%;
    }

    .yellow-fix h1 {
        font-size: 36px;
    }

    .program {
        padding-top: 0;
    }

    .curator-bg-yellow {
        width: 20%;
    }

    .maps iframe {
        width: 100%;
        height: 650px;
    }

    .maps:after {
        content: none;
    }

    .bg-form {
        width: 640px;
    }

    .contacts-right:before {
        content: none;
    }
    .report__item {
        width: calc(100% / 2 - 15px);
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
    .wrapper-contacts {
        display: flex;
        flex-direction: column-reverse;
    }

    .maps, .contacts {
        width: 100%;
    }

    .slick-arrow {
        display: none !important;
    }

    .box-info {
        padding: 0;
    }

    .item-program {
        margin-bottom: 30px;
    }

    .main-footer {
        padding: 30px 0;
    }

    .level-1 {
        padding-bottom: 25px;
        border-bottom: 0;
        position: relative;
    }

    .level-1 ul li {
        margin-bottom: 0;
    }

    span.accordion-header {
        cursor: pointer;
        margin-bottom: 0;
        padding: 15px 0;
        display: block;
        position: relative;
    }

    .level-1 span svg {
        display: block;
        position: absolute;
        width: 16px;
        right: 25px;
        top: 0;
        bottom: 0;
        margin: auto;
        fill: rgba(255, 255, 255, 0.3);
        -webkit-transition: all .3s;
        -o-transition: all .3s;
        transition: all .3s;
    }

    .accordion-header.active svg {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .center-list {
        display: block;
    }

    .accordion li {
        display: block;
        border-bottom: 2px solid #4a4a4a;
    }

    .accordion-body {
        display: none;
    }

    .accordion-body ul li {
        padding: 15px 0;
        margin: 0 20px;
        border-bottom: 1px solid rgba(74, 74, 74, 0.5);
    }

    .accordion-body ul li:last-child {
        border-bottom: 0;
    }

    /*ul.links {*/
    /*position: absolute;*/
    /*right: 0;*/
    /*bottom: -25px;*/
    /*}*/
    .footer__links li {
        border-bottom: none;
    }

    .footer__links {
        border-top: 2px solid #4a4a4a;
    }

    .level-2 {
        display: block;
        margin-top: 0;
    }

    .developer {
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .developer span {
        text-align: left;
    }

    .developer img {
        order: -1;
        margin-right: 20px;
    }

    .main-head .phone {
        display: none;
    }

    .main-head .phone-for-main {
        display: block;
    }

    /*.phone .phone-show {
    width: 48px;
    height: 48px;
    background: none;
    padding: 0;
    }*/
    /*.phone .phone-show span {
        display: none;
    }*/
    /*.phone .phone-show:before,
    .phone .phone-show:after {
        content: none;
    }*/
    .phone .phone-show svg {
        display: block;
    }

    .yellow-fix {
        width: 100%;
        /*height: 100px;*/
        /*bottom: -45px;*/
        /*top: auto;*/
        z-index: 99;
        padding: 10px 0 10px 50px;
    }

    .yellow-fix span {
        font-size: 26px;
    }

    .yellow-fix h1 {
        font-size: 30px;
        margin-top: 0;
    }

    .project-program, .box-list, .target-project, .box-pages {
        padding: 0;
    }

    .project-program h3 {
        font-size: 21px;
        line-height: 26px;
    }

    .box-employees {
        padding: 0;
    }

    .employees {
        background-size: 55% 47%;
    }

    .group-employees {
        margin-bottom: 50px;
    }

    .items-employees {
        margin-bottom: 30px;
        width: 100%;
    }

    .items-employees img {
        width: 100%;
    }

    .content-wrapper,
    .box-about {
        padding: 0;
    }

    .about-img-level-1 {
        padding-left: 0;
    }

    .contacts-right {
        /*top: -455px;*/
        float: left;
    }

    .bg-form {
        bottom: 505px;
    }

    /*.contacts-left {
      position: relative;
      top: 500px;
      left: 215px;
    }*/

	.contacts-right-map-wrap {
		width: 100%;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .curator-bg-yellow {
        width: 30%;
    }

    .employees {
        background: none;
    }

    .maps iframe {
        height: 380px;
    }

    .contacts {
        margin-top: 0px;
        padding-bottom: 30px;
    }

    .contacts-left {
        top: 0;
        left: 0;
        float: none;
        display: block;
    }

    .contacts-right {
        top: 0;
        float: none;
        display: block;
        margin-top: 60px;
    }

    .bg-form {
        bottom: 0;
        width: 100%;
    }

    .maps {
        margin-top: 10px;
    }

    .project-program .targets__list {
        flex-direction: column;
    }

    .targets__list li {
        margin-top: 10px;
        width: 100%;
    }
    .about-td {
        flex-direction: column;
    }
    .about-td__title {
        margin: 85px 5px 20px 170px;
        max-width: 450px;
        font-size: 24px;
    }
    .about-td__text {
        margin: 30px 0 0 40px;
    }
}

@media (min-width: 520px) and (max-width: 704px) {
    .group-program .item-program {
        width: 47%;
        height: auto;
        margin-right: 10px;
    }

    .group-program .item-program-head {
        width: 100%;
        height: auto;
    }

	.docs-content__list-report-item {
		width: calc(100%);
	}
}

@media only screen and (max-width: 680px) {
    .about-img-block {
        display: block;
    }

    .about-img-block p {
        padding: 0;
    }

    .about-img-block img {
        margin: 20px 0;
    }

    .about-img-level-2 {
        margin-top: 0;
    }

    .img1_ {
        display: none;
    }

    .img2_ {
        display: block;
    }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 600px) {
    .items-partner {
        text-align: center;
    }

    a.all_partners {
        display: block;
        margin-bottom: 30px;
        margin-top: 30px;
        text-align: center;
    }

    .spoiler {
        display: none;
    }

    .main-head {
        margin-bottom: 45px;
    }

    .main-head .phone-for-main {
        position: absolute;
        top: 170px;
        right: 10px;
    }

    .logo-nav {
        display: none;
    }

    .text-left__ {
        width: auto;
        padding: 0;
    }

    .level-3-text {
        display: block;
        margin-bottom: 0;
    }

    .img-page-right {
        margin: 20px 0;
    }

    span.title-block {
        font-size: 28px;
    }

    .info-prog {
        flex-direction: column;
    }

    .info-prog__unbordered {
        margin-bottom: 25px;
    }

    .info-prog__unbordered, .info-prog__bordered {
        width: 100%;
    }
}

@media only screen and (max-width: 575px) {
    .contacts-right, .contacts-left {
        float: none;
    }
}

@media only screen and (max-width: 550px) {
    .item-partner {
        width: 140px;
        height: 90px;
        margin-bottom: 15px;
    }

    .form-contacts {
        width: 100%;
    }
}

@media only screen and (max-width: 520px) {
    .group-program .item-program,
    .group-program .item-program-head {
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    .main-head .phone-for-main {
        position: absolute;
        top: 140px;
        right: 10px;
    }

    .item-program {
        margin-bottom: 20px;
        margin-right: 20px;
    }

    .level-2 {
        margin-bottom: 45px;
    }

    ul.links {
        left: 0;
        right: auto;
        bottom: -150px;
    }

    .main-head {
        padding: 15px 0 70px;
    }

    /*.phone .phone-show {
      display: none;
    }*/
    .logo {
        margin-left: 0;
        padding-left: 75px;
    }

    .logo img {
        width: 210px;
    }

    .name-company {
        top: 60px;
        left: 15px;
    }

    .nav-show {
        top: 15px;
    }

    .phone-list {
        top: 70px;
    }

    .yellow-fix {
        /*width: 100%;*/
        /*height: 90px;*/
        /*bottom: -85px;*/
        padding: 10px;
    }

    .bg-yellow-title {
        margin: 20px auto 0;
    }

    .main-text-page table {
        width: 100% !important;
    }

    .yellow-fix span {
        font-size: 24px;
    }

    .yellow-fix h1 {
        font-size: 26px;
    }

    .curator-project {
        margin-top: 20px;
        display: block;
    }

    .curator-information {
        margin-left: 0;
        margin-top: 35px;
    }

    .curator-bg-yellow {
        width: 60%;
        height: 200px;
        bottom: 250px;
    }
}

@media only screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .main-nav, .language {
        padding: 0 40px;
    }

    .curator-bg-yellow {
        width: 60%;
        min-width: 250px;
    }

	.docs-content__list-report-item {
		width: calc(100%);
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 387px) {
    ul.links {
        bottom: -170px;
    }
}

@media only screen and (max-width: 370px) {
    .phone-list {
        width: 280px;
    }

    .phone-list li {
        padding: 15px 0;
    }

    .phone-list li p:last-child {
        font-size: 16px;
    }
}

@media only screen and (max-width: 350px) {
    .item-partner {
        width: 130px;
    }


    .yellow-fix span {
        font-size: 19px;
    }

    .yellow-fix h1 {
        font-size: 22px;
    }
}




@media (max-width: 580px) {
	/* .contacts-employee{
		flex-direction: column;
		gap: 5px;

	} */
	.contacts-employees{
		/* flex-direction: column;
		gap: 5px; */
		grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
		gap: 10px;
	}

	.program p, .contacts p {
		margin-bottom: 10px;
	}
}