﻿.countries {
    display: flex;
    justify-content: center;
    align-items: center;
}
.countries span {
    display: inline-block;
    padding: .3em 2rem;
    cursor: pointer;
    transition: .3s ease;
    font-size: 18px;
}
    .countries span.active {
        font-weight: bold;
    }
    .countries span:hover {
        color: #00788e;
    }


    .image-sectionServices {
        height: 530px !important;
    }

@media (max-width: 768px) {
    #our-team-section {
        margin-bottom: 0;
        padding-top: 0;
    }

    #serviceIndividual .wrap-content-page .content-center > p img {
        max-width: 100%;
        height: auto;
    }
    /*add this*/
    #page-top-content > p:nth-child(4) > iframe, #page-top-content > p:nth-child(10) > iframe {
        width: 400px !important;
        height: 300px !important;
    }

    .mt150 {
        margin-top: 150px;
    }

    .service-section-content iframe {
        width: 350px !important;
        height: 270px !important;
    }
}

/*copy this*/
@media (max-width: 420px) {
    .myBoxMobile {
        margin-bottom: -150px !important;
    }
}

/*add that*/
.background-video .bannerVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 797px;
    object-fit: cover;
}

video::-webkit-media-controls-overlay-play-button {
    display: none;
}

video::-webkit-media-controls-play-button {
    display: block !important
}


#app {
    margin-top: 2rem;
    max-width: 812px;
    margin: 2rem auto 0 auto;
}

    #app a {
        text-decoration: none;
        color: #000;
        -webkit-transition: 0.2s;
        transition: 0.2s;
    }

a:hover {
    color: #00788e;
}

#app h3,
#app h4 {
    margin: 0;
    margin-right: 10px;
    font-weight: bold;
}

#app hr {
    height: 1px;
    background-color: #00788e;
    border: none;
}

body {
    scroll-behavior: smooth;
}


    body .country_name {
        color: #00788e;
        font-size: 32px;
        margin-bottom: .5em;
        display: none;
    }

        body .country_name a {
            color: #00788e !important;
        }

        body .country_name .svg-inline--fa.fa-w-11 {
            width: 0.875rem !important;
            cursor: pointer;
        }

    body #anchor {
        position: relative;
        top: -200px;
        opacity: 0;
        display: inline-block;
    }

    body .country_wapper {
        display: none;
        justify-content: space-between;
    }

        body .country_wapper > .content {
            margin-right: 2em;
            
        }
        body .country_wapper.flex-column > .content {
            margin-top: 1em;
            line-height: 24px;
            order: 2;
        }
        

        body .country_wapper .team {
            font-size: 14px;
            color: #000;
            min-width: 120px;
        }
            body .country_wapper .team .slick-prev:before, .slick-next:before {
                color: #00788e;
            }
            body .country_wapper .team .slick-next {
                right: 0px;
                z-index: 100;
            }
            body .country_wapper .team .slick-prev {
                left: 0px;
                z-index: 100;
            }
            body .country_wapper .team h3 {
                color: #000;
                padding-bottom: 0.3em;
                border-bottom: 1px solid #00788e;
                width: 100%;
                margin-bottom: 1em;
            }

            body .country_wapper .team .people .person {
                padding-bottom: 0.5em;
            }

        body .country_wapper.flex-column .team .people {
            display: flex;
            align-items: flex-end;
        }
.country_wapper.flex-column .team {
    order: 1;
}
.country_wapper.flex-column .team .people {

    margin-top: 1em;
}

    .country_wapper.flex-column .team .people::-webkit-scrollbar {
        display: none;
    }

    .country_wapper.flex-column .team .people .person {
        height: 170px;
        display: flex;
        flex-direction: column;
        text-align: center;
        -ms-flex-preferred-size: 150px;
        flex-basis: 150px;
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        align-items: center;
        padding: 0 1em;
    }

        .country_wapper.flex-column .team .people .person .contact .socials {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
        }

body .country_wapper .team .people .person img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    margin-top: 0.5em;
    margin-bottom: .2em;
}

body .country_wapper .team .people .person .name {
    margin-bottom: 8px;
    font: 14px/16px Calibri Bold;
}

body .country_wapper .team .people .person .position {
    margin-bottom: auto;
    font: 14px/16px Calibri Light;
}

body .country_wapper .team .people .person .contact .phone {
    font: 14px/16px Calibri Light;
}

body .country_wapper .team .people .person .socials {
    margin-top: 0.3em;
}
    body .country_wapper .team .people .person .name a:hover {
        color: rgb(66, 155, 176) !important;
    }

    body .country_wapper .team .people .person .position {
        margin-bottom: auto;
    }

body .country_wapper .team .people .person .socials {
    margin-top: 0.5em;
}

    body .country_wapper .team .people .person .socials a {
        cursor: pointer;
        transition: .2s;
    }

        body .country_wapper .team .people .person .socials a :hover {
            color: #00788e;
        }

@media screen and (max-width: 1366px) {
    body .country_name, .team > h3 {
        font-size: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .countries {
        justify-content: space-between;
    }

    .countries span {
        padding: .3em 0 .3em 0;
    }

    body .country_name, .team > h3 {
        font-size: 20px;
    }

    .country_wapper {
       
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100% !important;
    }

    .country_wapper > .content {
        width: 100% !important;
        margin-right: 0 !important;
        order: 2;
        margin-top: 1em;
    }

    .country_wapper > .content .section {
        flex-direction: column;
    }

    .country_wapper > .content .section.align-items-center {
        align-items: flex-start !important;
    }

    .country_wapper .team {
        order: 1;
        max-width: unset !important;
    }

    .country_wapper .team .people {
        margin-top: 1em;
        height: 170px;
    }

    .country_wapper .team .people .person {
        min-height: 170px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .country_wapper .team .people .person .contact .socials {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/*use flexbox to centered element*/
div.wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}

div.loading-bar {
    width: 100px;
    height: 2px;
    background-color: #d6cec2;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

    div.loading-bar::after {
        content: '';
        width: 50px;
        height: 2px;
        position: absolute;
        background-color: #00788e;
        transform: translateX(-20px);
        animation: loop 2s ease infinite;
    }

@keyframes loop {
    0%,100% {
        transform: translateX(-28px);
    }

    50% {
        transform: translateX(78px)
    }
}
