/*--------------------------------------------------------------
# PAGES

Styles for pages of website
If it's specifi to an only page - please add a custom page stylesheet

--------------------------------------------------------------*/

.efficacity-hero-slide {
    position: relative;
    height: 50vh;
    max-height: 450px;
}

.efficacity-hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.efficacity-hero-slide.video img {
    display: none!important;
}

.efficacity-hero-slide-container {
    height: 100%;
    width: 1120px;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--e-global-color-text);
    padding: 24px;
    width: 100%;
    max-width: 450px;
    position: absolute;
    left: 0px;
    bottom: 8px;
}
.efficacity-hero-slide.video video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    max-height: 681px;
    width: 100%;
    object-fit: cover
}
;

.hero-title-first {
    font-family: 'Quicksand';
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.hero-title-second {
    font-family: 'Quicksand';
    font-size: 36px;
    font-weight: 600;
    line-height: 36px;
}

@media screen and (min-width: 1024px) {
    .efficacity-hero-slide {
        position: relative;
        height: 100vh;
        max-height: 593px;
    }

    .hero-title {
        left: 20px;
        bottom: 78px;
    }
}




/* MAP COMMERCIAL */

#mahii-map {
    width: 640px;
}

.mahii-commercials {
    width: 40%;
    max-width: 400px;
}

#mahii-map path {
    cursor: pointer;
}

#mahii-map path[data-commercial]:hover {
    opacity: 0.5;
}

.mahii-commercials {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
}

#departement {
    padding: 16px 20px;
    background-color: #FFF;
    border: none;
    font-size: 14px;
    appearance: none;
    margin-bottom: 32px;
    position: relative;
    background-image: url('../img/faq-arrow-reverse.svg');
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

#departement:after {
    display: block;
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
   
}

#departement:focus {
    outline: none;
}

.mahii-commercials-list {
    position: relative;
} 

.commercial {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFF;
    padding: 20px;
    width: 400px;
    max-width: 100%;
}

.commercial.adv {
    top: 190px;
}

.commercial-name {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 20px;
}


.commercial-contact span {
    font-weight: 500;
    margin-left: 8px;
}

.commercial-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.commercial-contact p {
    display: flex;
    align-items: center;
}
@media screen and (max-width: 1023px) {
    .mahii-map {
        display: none;
    }

    .mahii-commercials {
        height: 500px;
        width: 100%;
        margin-top: 50px;
    }
}

@media screen and (min-width: 1024px) {
    .mahii-shortcode-map {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .mahii-commercials {
        margin-top: 150px;
    }
    
}