.about {
    background-image: url(../images/birds_bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.about__container {
    width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about__description {
    width: 680px;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    color: white
}

.about__text {
    margin: 0;
    font-size: 28px;
    line-height: 38px;
    font-weight: 400px;
}

.about__title {
    margin: 0;
    font-size: 36px;
    line-height: 43px;
    font-weight: 300;
    margin-bottom: 24px;
}

.description {
    margin-top: 63px;
}

.description__container {
    width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.description__item {
    width: 580px;
    margin-bottom: 60px;
}

.description__item:last-of-type {
    width: 100%;
}

.description__text {
    margin: 0;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #535B63;
}

.description__title {
    margin: 0;
    margin-bottom: 19px;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    color: #008452;
}

.description__link {
    color: #0173C1;
}

.service {
    margin-bottom: 59px;
}

.service__container{
    width: 1180px;
    margin: 0 auto;
}

.service__image {
    margin-bottom: 24px;
}

.service__item {
    display: flex;
    flex-direction: column;
    /*align-items: flex-start;*/
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    width: 380px;
}

.service__subtitle {
    margin: 0;
    font-size: 24px;
    line-height: 24px;
    color: #0173C1;
    margin-bottom: 13px;
}

.service__text {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    color: #535B63;
}

.service__title {
    margin: 0;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 43px;
    color: #008452;
    margin-bottom: 32px;
}

.service__wrap {
    display: flex;
    justify-content: space-between;
}

.service__link {
    color: #0173C1;
}

.join {
    margin-bottom: 56px;
}

.join__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.join__container {
    width: 1180px;
    margin: 0 auto;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #535B63;
}

.join__image {
    margin-right: 33px;
}

.join__image svg {
    fill: #0173C1;
}
.join__image svg path:first-of-type {
    fill: white;
}

.join__text {
    margin: 0;
    margin-bottom: 32px;
    font-size: 20px;
    line-height: 28px;
}

.join__title {
    margin: 0;
    font-weight: 300;
    font-size: 36px;
    line-height: 43px;
    color: #008452;
    margin-bottom: 40px;
}

.join__warning-icon {
    margin-right: 16px;
}

.join__warning {
    display: flex;
    padding: 16px;
    border: 2px solid #C22353;
    border-radius: 14px;
    margin-bottom: 29px;
}

.join__warning-text {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
}

.join__subtitle {
    margin: 0;
    margin-bottom: 40px;
    font-size: 20px;
    line-height: 28px;
}

.join__description {
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #0173C1;
    margin: 0;
}

.join__link {
    color: #0173C1;
}

.join__item {
    display: flex;
    align-items: center;
    width: 327px;
    text-decoration: none;
}

a.join__item:hover {
    text-decoration: underline;
    color: #0173C1;;
}

a.join__item:hover .join__image svg {
    fill: white;
}
a.join__item:hover .join__image svg path:first-of-type {
    fill: #0173C1;
}

.map__container {
    width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #CDD1D4;
    border-radius: 6px;
    box-sizing: border-box;
}

.map__button {
    padding: 10px 16px;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: #535B63;
    border: 1px solid #CDD1D4;
    border-radius: 6px;
}
.map__button:hover {
    color: white;
    background-color: #6BA9D2;
}

.map__nav {
    display: flex;
    align-items: center;
    padding: 26px 40px;
    border-bottom: 1px solid #CDD1D4;
    justify-content: space-between;
}

.map__title {
    margin: 0;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    color: #535B63;
}

.map__text {
    margin: 0;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #535B63;
    margin-top: 8px;
}

.map__subtitle {
    margin: 0;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #999999;
    margin-top: 30px;
}

.map__list {
    max-height: 580px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
}

.map__item {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px;
    margin: 0 auto;
    box-sizing: border-box;
    border-bottom: 1px solid #CDD1D4;
}

.map__button_selected {
    color: white;
    background-color: #6BA9D2;
}

.map__disabled {
    display: none;
}

.map__button-box {
    display: flex;
    font-size: 0;
}

.map__filter {
    position: absolute;
    background-color: white;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
    width: 100%;
    visibility: hidden;
    box-shadow: 1px 1px 4px rgb(20 20 20 / 20%);
}

.map__filter_open {
    visibility: visible;
}

.map__input {
    margin-bottom: 32px;
}

.map__input:last-of-type {
    margin-bottom: 48px;
}

.map__label {
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #535B63;
}

.map__apply {
    padding: 10px 16px;
    color: white;
    background-color: #0173C1;
    border: none;
    border-radius: 6px;
    width: 144px;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
}

.map {
    margin-bottom: 50px;
}

.map__button_map {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.map__button_list {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.map__iframe {
    position: relative;
    overflow: hidden;
    height: 580px;
}

.map__overlay {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: 50;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    /* box-sizing: border-box; */
    padding: 20px;
    font: 22px/1.4 'Open-sans', Arial, Helvetica, sans-serif;
    text-shadow: 1px 1px #333;
    transition: all 500ms;
}

.map__overlay_visible {
    opacity: 1;
    visibility: visible;
}

.partners__container {
    width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.partners__image {
    /*max-width: 118px;*/
    min-height: 42px;
    /*object-fit: contain;  */  
}

.partners__title {
    margin: 0;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 43px;
    color: #008452;
    margin-bottom: 40px;
}

.partners__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partners {
    margin-bottom: 151px;
}

.ymaps-2-1-79-balloon_layout_normal .custom-ym-baloon__header,
[class*="ymaps-"][class*="-balloon_layout_normal"] .custom-ym-baloon__header{
    margin-bottom: 20px;
    padding: 10px 0px 0px 14px;
    line-height: 24px;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #545b61;
}
.ymaps-2-1-79-balloon_layout_normal .custom-ym-baloon__body,
[class*="ymaps-"][class*="-balloon_layout_normal"] .custom-ym-baloon__body {
    margin-top: 20px;
    padding: 0px 0px 14px 12px;
    font-family: 'Open-sans', Arial, Helvetica, sans-serif;
}
.ymaps-2-1-79-balloon_layout_normal .custom-ym-baloon__content-section,
[class*="ymaps-"][class*="-balloon_layout_normal"] .custom-ym-baloon__content-section {
    padding-bottom: 26px;
    line-height: normal;
    font-size: 16px;
}
.ymaps-2-1-79-balloon_layout_normal .custom-ym-baloon__content-section:last-child,
[class*="ymaps-"][class*="-balloon_layout_normal"] .custom-ym-baloon__content-section:last-child {
    padding-bottom: 0;
}
.ymaps-2-1-79-balloon_layout_normal .custom-ym-baloon__subtitle,
[class*="ymaps-"][class*="-balloon_layout_normal"] .custom-ym-baloon__subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #a4a4a4;
    padding-bottom: 4px;
    line-height: 0.9em;
}
.custom-ym-baloon__subtitle {
    font-weight: 700;
}
.ymaps-2-1-79-balloon_layout_normal .custom-ym-baloon__text,
[class*="ymaps-"][class*="-balloon_layout_normal"] .custom-ym-baloon__text {
    font-size: 20px;
}
.custom-ym-baloon__tel {
    color: #29648c;
}

.ymaps-2-1-79-balloon_layout_normal {
    box-shadow: none;
}
.ymaps-2-1-79-balloon__layout {
    box-shadow: 0 0 0 1px rgb(0 0 0 / 5%), 0 5px 15px -7px rgb(0 0 0 / 50%);
    border-radius: 4px;
    overflow: hidden;
}
.ymaps-2-1-79-balloon__close-button {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCI+PHBhdGggZmlsbD0iIzBjNmZiMiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTQgLjdsLS43LS43TDcgNi4zLjcgMCAwIC43IDYuMyA3IDAgMTMuM2wuNy43TDcgNy43bDYuMyA2LjMuNy0uN0w3LjcgN3oiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPgo=");
    opacity: 1;
}

@media screen and (max-width: 1230px) {
    .description__item {
        width: 480px;
    }
}

@media screen and (max-width: 1220px) {
    .about__container {
        width: 90%;
    }

    .description__container {
        width: 90%;
    }

    .service__item {
        width: 300px;
    }

    .service__container {
        width: 90%;
    }

    .join__container {
        width: 90%;
    }

    .map__container {
        width: 90%;
    }

    .partners__container {
        width: 90%;
    }
}

@media screen and (max-width: 1080px) {
    .about__container {
        padding-top: 21px;
        padding-bottom: 30px;
    }

    .about__image {
        display: none;
    }

    .about {
        background-image: none;
        background-color: #225E8C;
    }

    .description {
        margin-bottom: 64px;
    }

    .description__container {
        flex-direction: column;
    }

    .description__item {
        width: 100%;
        margin-bottom: 32px;
    }
    .description__item:last-of-type {
        margin-bottom: 0;
    }

    .service__box {
        display: flex;
        align-items: center;
    }

    .service__item {
        flex-direction: row;
        flex-wrap: wrap;
        width: 80%;
        align-items: center;
        justify-content: flex-start;
    }

    .service__image {
        margin-right: 27px;
    }

    .service__text {
        margin-bottom: 32px;
    }

    .service__wrap {
        flex-direction: column;
    }

    .join__wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .join__item {
        margin-bottom: 34px;
    }
    .join__item:last-child {
        margin-bottom: 0;
    }

    .partners {
        margin-bottom: 80px;
    }
    .partners__image {
        margin-bottom: 58px;
    }
    .partners__image:last-of-type {
        margin-bottom: 0;
    }
    .partners__wrap {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 762px) {
    .service__item {
        width: 90%;
    }

    .service__subtitle {
        width: 218px;
    }
}

@media screen and (max-width: 762px) and (orientation: portrait) {
    .map__iframe {
        height: 50vh;
    }
}

@media screen and (max-width: 762px) and (orientation: landscape) {
    .map__iframe {
        height: 80vh;
    }
}

@media screen and (max-width: 700px) {
    .about__description {
        width: 90%;
    }
}

@media screen and (max-width: 640px) {
    .join__warning {
        align-items: flex-start;
    }

    .map__container {
        width: 100%;
    }

    .map__nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .map__button-box {
        width: 90%;
        margin-top: 16px;
    }
}

@media screen and (max-width: 359px) {
    .join__item {       
        width: 300px;
    }
    .join__description {      
        font-size: 18px;       
    }
    .service__subtitle {
        width: 100%;
    }
}
