/* Home lines background */


.lines-background {
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
}

.lines {
    top: 0;
    left: 0;
    right: 0;
    width: 90vw;
    z-index: -1;
    height: 100%;
    margin: auto;
    position: absolute;
}

.lines .line {
    top: 0;
    left: 0%;
    width: 2px;
    height: 100%;
    overflow: hidden;
    position: absolute;
    background: #E5EBF7;
}

.lines .line .line-after {
    left: 0;
    top: -50%;
    width: 100%;
    height: 15vh;
    display: block;
    position: absolute;
    background: #002A77;
}

.lines .line:nth-child(1) {
    margin-left: 10%;
}

.lines .line:nth-child(2) {
    margin-left: 36.66%;
}

.lines .line:nth-child(3) {
    margin-left: 63.32%;
}

.lines .line:nth-child(4) {
    margin-left: 90%;
}



/* 1st row - At Optasia we empower financial inclusion for all */

.home-header span {
    font: normal normal 900 12px/15px Montserrat;
    letter-spacing: 3.6px;
    color: #AE1326;
    text-transform: uppercase;
}

.home-header h1 {
    font: normal normal normal 32px/52px Montserrat;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 0 !important;
}

.home-header h2 {
    font: normal normal 900 52px/52px Montserrat;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.home-header p {
    font: normal normal normal 16px/26px Montserrat;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.home-header h2 {
    transition: opacity 0.5s;
}

.home-header h2.fadeOut {
    opacity: 0;
}

/* #optasia p {
    padding: 0 6%;
} */

/*#optasia .col-lg-6 {
    padding-top: 6%;
}*/


#optasia .main-template-spacing {
    min-height: 100vh;
}

@media (min-width: 992px) {
    .site-content section:first-child .main-template-spacing {
        padding-top: 100px;
        padding-bottom: 150px;
    }

}

/* 2nd row */


#what-we-do h1 {
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    #what-we-do .col-lg-6 {
        width: 56%;
    }

    #what-we-do img {
        margin-top: 25%;
    }

    #what-we-do p {
        padding-right: 12.5%;
        padding-left: 12.5%;
    }

    /*#what-we-do .container {
        margin-right: 15%;
    }*/
}


/* 3rd row */
#stats .container-fluid .row .col-lg-6:nth-child(2) h1 {
    margin-bottom: 1rem;

}

#stats .container-fluid {
    margin-left: 10%;
    margin-right: 5%;
    margin-top: 10%;
}

/*@media (min-width: 992px) {
    #stats .container-fluid .row .col-lg-6:nth-child(2) {
        width: 20%;
        margin-left: 22%;
    }
}*/

.icons-on-border-container span {
    background: white;
}

.icons-on-border-container h1 {
    top: -35px;
}

.icons-on-border-container>.row {
    margin-top: 120px;
}

.icons-on-border-line {
    position: absolute;
    height: 210px;
    width: 100%;
    border: 1px #231F20 solid;
    border-radius: 40px;
    top: 0;
    z-index: -1;
}

@media (min-width: 992px) {
    .icons-on-border-container .col-lg-1 {
        width: 12%;
    }
}


/* 4th row */

#for-whom .for-whom-arrow {
    margin-left: 15%;
}


/*5th row */
#how h1 {
    font-weight: 100;
    /*font-size: 91px;
    margin: 2em 2em;*/
}

#how {
    padding-bottom: 4em;
}

@media (min-width: 992px) {
    #how .container-fluid .row {
        padding: 0 5%;
    }

    /*#how .container-fluid .row .col-lg-6{
        width: 26%;
    }*/
}

/*  6th row */
#benefits h1 {
    font-weight: 100;
    /*font-size: 91px;*/
}

#benefits .line {
    width: 180%;
}

#benefits .line-right {
    right: -183%;
}

@media (min-width: 1400px) {

    #benefits .col-lg-6 {
        margin-left: -26%;
    }
}

/* 7th row - solutions, 3 columns icons */

#our-solutions {
    background-color: #ECECEC;
}

#our-solutions h3 {
    margin-bottom: 5%;
    font: normal normal 300 52px/92px Montserrat;
    letter-spacing: 0px;
    color: #002A77;
    text-transform: uppercase;
}

#our-solutions .counter-heading {
    font: normal normal bold 28px/30px Montserrat;
    letter-spacing: 0px;
    color: #002A77;
    text-transform: uppercase;
}

#our-solutions p {
    text-align: center;
    font: normal normal normal 14px/26px Montserrat;
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
}

.icons-content-row>.col:not(:last-child) {
    margin-right: 5%;
}

.icons-content-row h3 {
    margin-bottom: 5%;
}

.icons-content-row .row:nth-child(2) {
    min-height: 3rem;
}

/*.icons-content-row .row:nth-child(3) {
    min-height: 15rem;
}*/

/* 8 th row - world map */


/* Description - 'tooltip' on map */

.description {
    /* pointer-events: none;
    position: absolute;
    font-size: 18px;
    text-align: center;
    background: white;
    padding: 10px 15px;
    z-index: 5;
    height: auto;
    line-height: 10px;
    width: auto;
    margin: 0 auto;
    color: #212529;
    border-radius: 5px;
    box-shadow: 0 0 0 1.5px #212529;
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); */
    pointer-events: none;
    position: absolute;
    font-size: 18px;
    text-align: center;
    background: white;
    padding: 10px 10px;
    z-index: 5;
    height: auto;
    line-height: 10px;
    width: auto;
    margin: 0 auto;
    border-radius: 0px;
    /* box-shadow: 0 0 0 1.5px #002A77; */
    border: 0;
    -moz-transform: translateX(10%) translateY(0%);
    -ms-transform: translateX(10%) translateY(0%);
    -webkit-transform: translateX(10%) translateY(0%);
    transform: translateX(10%) translateY(0%);
    text-align: left;
    font: normal 14px/25px Montserrat;
    letter-spacing: 0px;
    color: #002A77;
    max-width: 200px;
    display: none;
}

.description.active {
    display: block;
}

.description br {
    content: "";
    display: block;
    font-size: 100%;
    height: 0;
}

.description .country-title {
    font: normal normal 300 22px/22px Montserrat !important;
}

.description .country-description {
    font: normal normal normal 12px/12px Montserrat !important;
    text-transform: unset !important;
}

.description .country-description strong {
    color: #AE1326;
    text-transform: uppercase;
    font: bold 16px/16px Montserrat;
}


/* .description:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border-left: 0.5px solid #212529;
    border-right: 0.5px solid #212529;
    border-top: 10px solid white;
} */

/* @media (max-width: 1300px) {
    .description {
        display: none !important;
    }
} */



/* Extra small devices (phones) */
@media (max-width: 575.98px) {
    #world-map svg {
        padding-top: 150% !important;
        padding-bottom: 30% !important;

    }

    .top-shadow {
        height: 30% !important;
    }
}

/* Small devices (tablets) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #world-map svg {
        padding-top: 50% !important;
    }

    .top-shadow {
        height: 20% !important;
    }
}

/* Medium devices (laptops) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #world-map svg {
        padding-top: 30% !important;
    }

    .top-shadow {
        height: 20% !important;
    }
}


/* offices adresses boxes */

.map-office {
    border: solid 1px #AD142B;
}

/*#where-we-are .container-fluid>.row h3 {
    position: absolute;
    top: 8%;
    right: 50%;
    z-index: 2;
    transform: translate(50%, -50%);
}*/




#where-we-are h3 {
    font: normal normal 300 52px/92px Montserrat;
    letter-spacing: 0px;
    color: #002A77;
    text-transform: uppercase;
}

#where-we-are h4 {
    font: normal normal bold 30px/35px Montserrat;
    letter-spacing: 0px;
    color: #002A77;
    text-transform: uppercase;
}

#where-we-are span {
    font: normal normal normal 14px/38px Montserrat;
    letter-spacing: 0px;
    color: #002A77;
    text-transform: uppercase;
}

#where-we-are p {
    font: normal normal normal 14px/26px Montserrat;
    letter-spacing: 0px;
    color: #002A77;
}


@media (min-width: 992px) {

    /* #where-we-are #world-map svg {
        padding: 5% 15%;
    }
     */
    #where-we-are #world-map svg {
        padding: 10% 0%;
        margin-left: 100px;
        width: 120%;
        max-width: 120%;
    }

}



#world-map svg {
    padding-top: 3%;
    padding-bottom: 3%;
}

.top-shadow {
    width: 100vw;
    position: absolute;
    height: 50%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(0deg, rgb(255 255 255 / 0%) 35%, rgb(255 255 255) 70%);
    pointer-events: none;
}

#world-map .map-col {
    position: relative;
}


/* gradient on map */
/*#world-map .map-col::after {
    content: '';
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 1) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}*/

.country-animation {
    animation-name: color_change;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}


@-webkit-keyframes color_change {
    from {
        fill: white;
    }

    to {
        fill: #AD142B;
    }
}

@-moz-keyframes color_change {
    from {
        fill: white;
    }

    to {
        fill: #AD142B;
    }
}

@-ms-keyframes color_change {
    from {
        fill: white;
    }

    to {
        fill: #AD142B;
    }
}

@-o-keyframes color_change {
    from {
        fill: white;
    }

    to {
        fill: #AD142B;
    }
}

@keyframes color_change {
    from {
        fill: white;
    }

    to {
        fill: #AD142B;
    }
}





.office-animation {
    animation-name: color_change_2;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}


@-webkit-keyframes color_change_2 {
    from {
        fill: white;
    }

    to {
        fill: #002A77;
    }
}

@-moz-keyframes color_change_2 {
    from {
        fill: white;
    }

    to {
        fill: #002A77;
    }
}

@-ms-keyframes color_change_2 {
    from {
        fill: white;
    }

    to {
        fill: #002A77;
    }
}

@-o-keyframes color_change_2 {
    from {
        fill: white;
    }

    to {
        fill: #002A77;
    }
}

@keyframes color_change_2 {
    from {
        fill: white;
    }

    to {
        fill: #002A77;
    }
}



#contact_us_bar h3 {
    font: normal normal normal 30px/30px Montserrat;
    letter-spacing: 0px;
    color: #002A77;
    text-transform: uppercase;
}

#contact_us_bar p {
    margin: 0;
    font: normal normal 300 16px/16px Montserrat;
    letter-spacing: 0px;
    color: #002A77;
}

#contact_us_bar a {
    padding: 10px 30px;
    background-color: #AE1326;
    color: aliceblue;
    font: normal normal 300 14px/14px Montserrat;
    letter-spacing: 0px;
    text-transform: uppercase;
}




#partners-below-slider img {
    width: 70% !important;
    margin: 0 auto;
}