﻿@import "../font";

section.landing-section{
    background: none;
}
.project-last{
    padding: 35px 0 25px;
}

.title-middle {
    font-size: 24px;
    color: #333333;
    font-family: @fontBold;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0 0 20px 0;

    span {
        padding: 0 7px;
        display: inline-block;
        color: #ffffff;
        background-color: #4FA4D3;
    }
}
.rec-text {
    display: inline-block;
    position: relative;
    padding-left: 32px;
    color: #D7133A;
    &:before {
        content: ' ';
        background-color: #D7133A;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        position: absolute;
        top: 4px;
        left: 0;
    }
}
.howWork .container {
    max-width: 1220px;
    background-color: #ffffff;
}

.map-main .container{
    max-width: 1220px;
    width: 100%;
}
.content.map-section {
    background-position: center;
    background-size: 100%;
    background-repeat: repeat-y;
    background-color: transparent;
    background-color: #414249;
}

.map-content {
    padding: 40px 30px;
    display: flex;
    justify-content: space-between;

    @media(max-width: 1120px) {
        padding: 40px 5px;
    }

    @media(max-width: 1060px) {
        flex-wrap: wrap;
    }
}

.map-info {
    width: 340px;
    margin-left: 40px;
    box-sizing: border-box;
    padding: 35px 35px;
    background-color: #ffffff;

    @media(max-width: 1120px) {
        padding: 15px 15px;
        margin-left: 20px;
    }

    @media(max-width: 1060px) {
        margin: auto;
    }

    @media (max-width: 384px) {
        width: 280px;
    }
}

.map-left {
    flex: 1;

    @media(max-width: 1060px) {
        margin-bottom: 20px
    }

    @media(max-width: 840px) {
        display: none;
    }
}

.title-large {
    font-family: @fontBold;
    text-transform: uppercase;
    line-height: 1;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 45px;
    color: #333;

    @media(max-width: 840px) {
        font-size: 21px;
        margin-bottom: 30px;
    }
}

.howWork-content {
    max-width: 1110px;
    width: 100%;
    margin: 0 auto;
    padding: 70px 0;

    @media(max-width: 840px) {
        padding: 40px 0;
    }

    .title-large {
        padding-left: 91px;

        @media(max-width: 840px) {
            padding-left: 40px;
        }
    }
}

.howWork-step {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;

    @media(max-width: 736px) {
        flex-wrap: wrap;
    }
}

.howWork-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;

    @media(max-width: 736px) {
        flex: 1 1 50%;
        margin-bottom: 30px;
    }
}

.howWork-icon {
    position: relative;
    background-color: #4FA4D3;
    background-position: center;
    background-repeat: no-repeat;
    /*background-size: contain;*/
    border-radius: 50%;
    width: 140px;
    height: 140px;

    @media(max-width: 840px) {
        background-size: 50%;
        width: 90px;
        height: 90px;
    }
}
.howWork-icon-wr {
    margin-bottom: 18px;
    position: relative;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.howWork-desc span {
    font-family: @fontBold;
    font-size: 14px;
    color: #999999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 17px;
    letter-spacing: 0.8px;
}

.howWork-desc-title {
    font-family: @fontMedium;
    font-size: 18px;
    color: #414249;
    line-height: 1.3;
    color: #414249;

    @media(max-width: 840px) {
        font-size: 14px;
    }
}

.howWork-arrow-pos {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    width: 40px;
    height: 14px;
    cursor: pointer;

    @media(max-width: 736px) {
        display: none;
        display: none;
    }
}

.howWork-arrow {
    position: absolute;
    top: 6px;
    width: 100%;
    height: 2px;
    background-color: #D9D9DB;
}

.howWork-arrow::after,
.howWork-arrow::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    right: 0px;
    background-color: #D9D9DB;
}

.howWork-arrow::after {
    top: -3px;
    transform: rotate(45deg);
}

.howWork-arrow::before {
    top: 3px;
    transform: rotate(-45deg);
}

.map-info-item {
    margin-bottom: 23px;

    @media(max-width: 481px) {
        margin-bottom: 15px;
    }

    p {
        font-size: 18px;
        font-family: @fontMedium;
        color: #333333;
        margin: 0 0 5px 0;

        @media(max-width: 481px) {
            font-size: 14px;
        }
    }

    strong {
        font-size: 32px;
        font-family: @fontBold;
        color: #333333;
        display: block;

        @media(max-width: 481px) {
            font-size: 31px;
        }

        sub {
            font-size: 18px;
            display: inline-block;
            vertical-align: baseline;

            @media(max-width: 481px) {
                font-size: 14px;
            }
        }
    }
}

.icon-arrow-blue-right-sm {
    border: solid #4BA3D5;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.info-all-country {
    position: relative;
    background-color: #EDF5FA;
    display: block;
    box-sizing: border-box;
    padding: 15px 25px 15px 15px;
    line-height: 1;
    border-bottom: 2px solid #4FA4D3;
    font-size: 18px;
    color: #4BA3D5;
    font-family: @fontMedium;
    margin-bottom: 20px;
    cursor: pointer;

    .icon-arrow-blue-right-sm {
        position: absolute;
        right: 14px;
        top: 50%;
        -webkit-transform: translateY(-50%) rotate(-45deg);
        -moz-transform: translateY(-50%) rotate(-45deg);
        transform: translateY(-50%) rotate(-45deg);
    }
}
 
.bg-map {
    background: url("/Content/images/map-budget.svg") center no-repeat;
    width: 777px;
    height: 530px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    background-size: 100%;
}

.map-empty-area {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3;
    area {
        cursor: pointer;
        display: block;
    }
}
.map-hover {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
}

area:hover{
    fill: red;
}

.map-hover > div.bd-region {
    background-position: -1100px 0;
}
.bd-region {
    position: absolute;
    width: 176px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0;

    span {
        font-size: 14px;
        color: #fff;
        display: inline-block;
        background-color: #4BA3D5;
        padding: 2px 4px;
    }

    &.active {
        /*span{
            display: none;
        }*/
    }
}
.map-hover > div.bd-region.active {
    background-position: center center;
    overflow: hidden;
}

.bd-region.Luhansk {
    bottom: 246px;
    left: 626px;
}
.bd-region.Donetsk {
    bottom: 179px;
    left: 578px;
}
.bd-region.Harkov {
    bottom: 273px;
    left: 527px;
}
.bd-region.Sumu {
    bottom: 352px;
    left: 414px;
}
.bd-region.Chernyhov {
    bottom: 373px;
    left: 331px;
}
.bd-region.Poltava {
    bottom: 275px;
    left: 413px;
}
.bd-region.Zaporozhe {
    bottom: 127px;
    left: 496px;
}
.bd-region.Dnepropetrovsk {
    bottom: 198px;
    left: 443px;
}
.bd-region.Sevastopol {
    bottom: 0;
    left: 0;
}
.bd-region.Kherson {
    bottom: 88px;
    left: 413px;
}
.bd-region.Odessa {
    bottom: 110px;
    left: 263px;
}
.bd-region.Nykolaev {
    bottom: 127px;
    left: 338px;
}
.bd-region.Kyrovohrad {
    bottom: 194px;
    left: 350px;
}
.bd-region.Cherkassu {
    bottom: 248px;
    left: 327px;
}
.bd-region.Vynnytsa {
    bottom: 223px;
    left: 198px;
}
.bd-region.Kyev {
    bottom: 302px;
    left: 277px;
}
.bd-region.Zhytomyr {
    bottom: 330px;
    left: 191px;
}
.bd-region.Lutsk {
    bottom: 371px;
    left: 51px;
}
.bd-region.Rovno {
    bottom: 366px;
    left: 124px;
}
.bd-region.Hmelnytskyy {
    bottom: 258px;
    left: 129px;
}
.bd-region.Ternopol {
    bottom: 258px;
    left: 73px;
}
.bd-region.Lviv {
    bottom: 283px;
    left: 5px;
}
.bd-region.Chernovtsu {
    bottom: 183px;
    left: 82px;
}
.bd-region.Ivano-Frankovsk {
    bottom: 217px;
    left: 35px;
}
.bd-region.Uzhgorod {
    bottom: 205px;
    left: -32px;
}

