@font-face {
    font-family: 'Montserrat-medium';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat-semibold';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
}

body {
    margin: 0;
    font-family: 'Montserrat-medium', sans-serif;
    background-color: #f7f7f7;
}

a {
    color: #000;
}


/* header */

.header {
    background-color: #f7f7f7;
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    z-index: 3;
    font-size: 0.8rem;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #f7f7f7;
}

.header li a {
    display: block;
    padding: 20px 20px;
    /*border-right: 1px solid #f4f4f4;*/
    text-decoration: none;
}

.header li a {
    transition: all ease-in-out 0.2s;
}

.header li a:hover,
.header .menu-btn:hover {
    background-color: #b92a17;
}

.header li a:hover {
    color: white;
}

.header li a {
    color: #b92a17;
}

.header .logo {
    display: block;
    float: left;
    font-size: 2em;
    padding: 10px 0px;
    text-decoration: none;
}


/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
    text-transform: uppercase;
}


/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

.header .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 5px;
}

.header .menu-icon .navicon:after {
    top: -5px;
}


/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked~.menu {
    max-height: 570px;
}

.header .menu-btn:checked~.menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    top: 0;
}


/* 48em = 768px */

@media (min-width: 992px) {
    .header li {
        float: left;
    }
    .header li a {
        padding: 30px 30px;
    }
    .header .menu {
        clear: none;
        float: right;
        max-height: none;
    }
    .header .menu-icon {
        display: none;
    }
}

@media(min-width: 992px) {
    /* .ajustement {
        padding: 0 1vw;
    }
    section.ajustement {
        padding: inherit;
    } */
    .header li a {
        padding: 31px 8px;
    }
}

@media(min-width: 1200px) {
    .ajustement {
        padding: 0px 6%;
    }
    .header li a {
        padding: 31px 12px;
    }
}

@media(min-width:1400px) {
    .ajustement {
        padding: 0px 6%;
    }
}

@media(min-width:1500px) {
    .header li a {
        padding: 31px 20px;
    }
}

.slick-dots {
    position: absolute;
    bottom: 20px !important;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li button:before {
    font-size: 17px!important;
    color: white!important;
    opacity: 0.5;
}

.slick-track {
    height: 400px;
}

@media(min-width:992px) {
    .slick-track {
        height: 700px;
    }
}

.slick-track img {
    object-fit: cover;
    object-position: center;
}


/* Presentation */

.presentation {
    background-color: #f7f7f7;
    color: #726f75;
}

.badge_presentation {
    color: #b92a17;
}

.presentation h2,
.elec_general h2 {
    text-transform: uppercase;
    font-size: 2em;
}

.presentation h3 {
    font-size: 1.6em;
}

.semibold {
    font-family: 'Montserrat-semibold';
}


/* Electricité Générale */

/* .elec_general {
    background: #fff;
} */
.elec_general img {
    object-fit: cover;
    height: 290px;
    object-position: center;
    width: 100%;
}
.elec_general img.lampe{
    object-fit: scale-down;
}
@media(min-width:576px){
.elec_general img, .elec_general img.lampe {
    object-fit: cover;
    
}
}
.elec_general2 img {
    height: 400px;
}

.elec_general h4 {
    font-size: 1.2em;
}

.competence:hover .grad {
    display: block;
}

.grad {
    display: block;
    z-index: 10;
    width: 100%;
    height: 250px;
    position: absolute;
    opacity: 0.7;
    display: none;
}

.grad_purple {
    background-image: -webkit-gradient(linear, left top, right bottom, from(#150364), to(#dc4225));
    background-image: -webkit-linear-gradient(to bottom right, #150364, #dc4225);
    background-image: -moz-linear-gradient(to bottom right, #150364, #dc4225);
    background-image: linear-gradient(to bottom right, #150364, #dc4225);
}

.images {
    position: relative;
}

.competence .images::after {
    transition: visibility 0s, opacity 1s linear;
}

.images::after {
    content: '';
    visibility: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: all 3s;
    transition: all 3s;
}

.competence:hover .images {
    visibility: inherit;
    opacity: inherit;
}

.competence:hover .images::after {
    visibility: visible;
    opacity: 0.55;
}

.images::after {
    background-image: linear-gradient(118deg, #b92a17, #7c2247);
    opacity: 0.45;
}


/* footer */

footer ul {
    list-style: none;
    padding: 0;
}

footer ul,
footer p {
    font-size: 0.8rem;
}

footer {
    color: white;
    background-color: #b92a17;
    overflow-x: hidden;
}

footer h3 {
    text-transform: uppercase;
    font-size: 1.2rem;
}

footer a {
    color: white;
    transition: all ease-in-out 0.2s;
}

footer a:hover {
    color: gray;
}


/* btn */

.btn {
    background-color: #726f75;
    color: white;
    text-transform: uppercase;
    border-radius: 0;
    transition: all ease-in-out 0.5s;
}
.page {
    padding-top: 100px;
    min-height: 61vh;
}
.page2 {
    padding-top: 100px;
    min-height: 20px;
}
.md-form textarea.md-textarea {
    overflow-y: visible!important;
    width: 100%;
}
.md-form input[type="date"]:focus:not([readonly]),
.md-form input[type="datetime-local"]:focus:not([readonly]),
.md-form input[type="email"]:focus:not([readonly]),
.md-form input[type="number"]:focus:not([readonly]),
.md-form input[type="password"]:focus:not([readonly]),
.md-form input[type="search-md"]:focus:not([readonly]),
.md-form input[type="search"]:focus:not([readonly]),
.md-form input[type="tel"]:focus:not([readonly]),
.md-form input[type="text"]:focus:not([readonly]),
.md-form input[type="time"]:focus:not([readonly]),
.md-form input[type="url"]:focus:not([readonly]),
.md-form textarea.md-textarea:focus:not([readonly]) {
    -webkit-box-shadow: 0 1px 0 0 #b92a17!important;
    box-shadow: 0 1px 0 0 #b92a17!important;
    border-bottom: 1px solid #b92a17!important;
}
.md-form input[type="date"]:focus:not([readonly])+label,
.md-form input[type="datetime-local"]:focus:not([readonly])+label,
.md-form input[type="email"]:focus:not([readonly])+label,
.md-form input[type="number"]:focus:not([readonly])+label,
.md-form input[type="password"]:focus:not([readonly])+label,
.md-form input[type="search-md"]:focus:not([readonly])+label,
.md-form input[type="search"]:focus:not([readonly])+label,
.md-form input[type="tel"]:focus:not([readonly])+label,
.md-form input[type="text"]:focus:not([readonly])+label,
.md-form input[type="time"]:focus:not([readonly])+label,
.md-form input[type="url"]:focus:not([readonly])+label,
.md-form textarea.md-textarea:focus:not([readonly])+label {
    color: #b92a17!important;
}
.btn {
    background-color: #b92a17;
    color: white;
}
.page a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover{
    color: white!important;
}
.isactif{
    background-color: #b92a17!important;
    color: white!important;
}
.page .elec_general{
    background: inherit;
}
.rgpd{
    position: relative!important;
}
.contact-icons{
    list-style: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: 100%;
}
@media(min-width:992px){
    .contact-icons{
        flex-direction: row;
    }
}
.partenairescontact{
    list-style: none;
}
.mentions p {
    font-size: 12px;
}
.ajustement2 {
    /* height: 100%; */
    display: flex;
    align-items: flex-end;
}
@media(max-width:768px){
    iframe{
        min-height: 500px;
    }
}
.txtelc{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bandeaurouge {
    background-color: #b92a17;
    color: white;
}
.w100{
    width: 100%;
}
@media(min-width:1300px){
    .merovee_ajustement {
        padding-left: 7%;
    }
}
@media(min-width:1400px){
    .merovee_ajustement {
        padding-left: 14%;
    }
}
@media (min-width: 1700px){
.merovee_ajustement {
    padding-left: 28%;
}
}
.logogroupe{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media(max-width:576px){
    .logogroupe{
        max-width: 180px;
    }
}