@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');
}
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300&display=swap');

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #ebebeb;
}

a {
    color: #000;
}

button.btn-secondary, button.btn-secondary:hover, button.btn-secondary:active{
  background-color: #922 !important;
}

/* header */

.header {
    background-color: #fff;
    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: transparent;
}

.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: #e52925;
}

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

.header li a {
    color: #fff;
}

.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;
        font-size: 0.8em;
    }
    .header .menu-icon {
        display: none;
    }
}

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

@media(min-width: 1200px) {
    .ajustement {
        padding: 0px 1%;
    }
    .header li a {
        padding: 35px 20px;
    }
    .header .menu {
        clear: none;
        float: right;
        max-height: none;
        font-size: 1em;
    }
}

@media(min-width:1400px) {
    .ajustement {
        padding: 0px 8%;
    }
    .header li a {
        padding: 35px 20px;
    }
}
@media(min-width:1800px){
    .header li a {
        padding: 35px 30px;
        font-size: 1.3em;
    }
}

.header li a {
    font-weight: 600;
}

.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: #e52925!important;
    opacity: 0.5;

}

.slick-slide img{
    height: 200px;
    max-width: 100%;
    object-fit: scale-down;
    transform: scale(0.8);
}

.slick-track img {

    object-position: center;
}


/* Presentation */

.presentation {
    background: rgb(58,55,55);
    background: -moz-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    background: linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3a3737",endColorstr="#200109",GradientType=1);
    color: #726f75;
}

.badge_presentation {
    color: #fff;
}
.badge_presentation p {
    font-size: 1rem;
}
.presentation h2,
.elec_general h2 {
    font-size: 1.8em;
    font-weight: 500;
}

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

.semibold {
    font-family: 'Open Sans', sans-serif;
}


/* Electricité Générale */

/* .elec_general {
    background: #fff;
} */
.elec_general img {
    object-fit: cover;
    height: 100%;
    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.9em;
    font-weight: 700;
    color: #2c2e35;
    /* -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto; */
}
@media(min-width:768px){
.elec_general h4 {
    font-size: 2.9em;
    font-weight: 700;
    color: #2c2e35;
    -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
}

.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;
    height: 100%;
}

.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, rgba(58,55,55,0.9556197478991597),rgba(32,1,9,1));
    opacity: 0.45;
}


/* footer */

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

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

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

footer h3 {

    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}
@media(min-width:768px){
footer h3 {

    font-size: 2.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}
}



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

footer a:hover {
    color: rgb(255, 255, 255);
    text-decoration:underline ;
}


/* 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 #ffff !important;
    box-shadow: 0 1px 0 0 #ffff !important;
    border-bottom: 1px solid #ffff!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: #fff!important;
}
.btn {
    background-color: #3e3e3e;
    color: white;
}
footer .btn {
    text-transform: unset;
    display: flex !important;
    align-items: center;
    width: fit-content;
    width: -moz-fit-content;
    margin-left: auto !important;
    padding: 12px 23px;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.1rem;
}
.form-control {
    color: #fff !important;
}
textarea {
    color: #fff;
    height: 100px;
    border: 1px solid #ced4da !important;
    margin-top: 20px;
    /* padding: 0.5rem 0.5rem !important; */
}
.md-form {
    margin-top: unset !important
}
.md-form label {
    color: #ffffff !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.25rem;
}
.page a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover{
    color: white!important;
}
.isactif{
    background-color: #e52925!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: space-evenly;
    width: 100%;
}
@media(min-width:576px){
    .contact-icons{
        flex-direction: row;
    }
}
.partenairescontact{
    list-style: none;
}
/* .mentions p {
    font-size: 12px;
} */
.mentions h2{
    font-weight: 400;
}
.mentions a {
    color: black;
}

.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: #e52925;
    color: white;
}
.w100{
    width: 100%;
}
@media(min-width:992px){
.posa {
    width: 100%;
    position: absolute;
    height: 100%;
    z-index: -1;
    background: rgb(58,55,55);
    background: -moz-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    background: linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3a3737",endColorstr="#200109",GradientType=1);
}
}
@media(max-width:992px){
    .menu {
        background: rgb(58,55,55);
background: -moz-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
background: -webkit-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
background: linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3a3737",endColorstr="#200109",GradientType=1);
    }
}
.imgheader {
    object-fit: cover;
    object-position: center;
    height: 100% !important;
    width: 100%;
}
.slider {
    height:800px;
}
.sectiontitreheader{
    position: absolute;
    background-color: #e52925;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 34%;
    color: white;
    padding: 3% 0%;
    padding-top: 2%;
    padding-right: 0%;
    padding-bottom: 2%;
    padding-left: 0%;
}
.sectiontitreheader h1 {
    font-size: 1.6em;
}
.sectiontitreheader h1 span {
    font-weight: bold;
    font-size: 2.1rem;
}
.sectiontitreheader .row {
    width: 100%;
}
section{
    overflow-x: hidden;
}
.italic {
    font-style: italic;
}
.effect-1 {
    background-color: #e52925 ;
}
.effect {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #fff;

    font-size: 18px;
    padding: 10px 15px;
    /* border-radius: 6px; */
    overflow: hidden;
    font-weight: 300 !important;
}
.effect-3 {
    padding: 10px 65px;
}

  /* effect-1 styles */

  .effect.effect-1 {
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;

  }
  @media(min-width:1200px){
    .effect.effect-1 {
        position: absolute;
    right: 30%;
    bottom: -9%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    width: fit-content;
    width: -moz-fit-content;

    }
  }
  .effect.effect-2 {
      right: unset;
      position: relative;
      margin-left: unset;
      margin-right: auto;
      bottom: unset;
  }
  .effect.effect-1:hover {
    background: #fff;
    color: black;
  }
  .effect.effect-2:hover {
      color: white;
    background: rgb(58,55,55);
    background: -moz-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    background: linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3a3737",endColorstr="#200109",GradientType=1);
  }

  .badge_presentation {
    margin-bottom: 7rem!important;
  }
  .ajustementpadding{
      padding: 15px 0px;
  }
  .ajustementpadding p {
    font-size: 1em;
    font-weight: 700;
    color: #404040;
  }
  .borderbottom{
      border-bottom: 2px solid #c5c5c7;
  }
  h5 {
    font-size: 1.25rem;
    text-transform: uppercase;
    color: #e52925;
    font-weight: 600;
  }
  footer h5 {
      color: #fff;
      font-weight: 500;
  }
  .containerpartenaires{
      background-color: #fff;
  }
  .footerlogo{
    height: 140px;
    object-fit: scale-down;
  }
  .groupelogo {
      padding: 0 2%;
  }
  .zoneinter {
    padding: 3%;
    background-color: #3e3e3e;
}
  hr {
    border-top: 1px solid rgb(255 255 255);
  }

  .labeltextarea {
      top: -8px !important;
  }
.labeltextarea.active {
      transform: translateY(-9%) !important;
  }
  .bandeaufooter {
    background: rgb(58,55,55);
    background: -moz-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    background: linear-gradient(90deg, rgba(58,55,55,0.9556197478991597) 0%, rgba(32,1,9,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3a3737",endColorstr="#200109",GradientType=1);
  }
  .bandeaufooter h4 {
    font-weight: 500;
  }
  p strong {
    font-weight: 700;
  }
  .txtelc h5 {
    font-weight: 700;
  }
  .groupelogo h6 {
    font-weight: 500;
    font-size: 2em;
  }
  .groupelogo p {
    font-size: 1em;
    font-weight: 500;
  }
  .zoneinter h6 {
    font-weight: 600;
  }
  /* ON CACHE LE RECAPTCHA */
  .grecaptcha-badge { visibility: hidden; }
  .separateur {
    position: absolute;
    width: 65%;
    height: 2px;
    background-color: white;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 55%;
    transform: translateY(-50%);
  }
  @media(min-width:324px){
  .separateur {
    position: absolute;
    width: 65%;
    height: 2px;
    background-color: white;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}
  @media(min-width: 576px){
      .separateur {
        position: absolute;
        width: 2px;
        height: 80%;
        background-color: white;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        top: 50%;
        transform: translateY(-50%);
      }
  }
  /*cards*/
  .card {
    margin: 10px 10px;
  }

  /* Flip Cards CSS */
  .card-container {
    display: grid;
    perspective: 700px;
  }

  .card-flip {
    display: grid;
    grid-template: 1fr / 1fr;
    grid-template-areas: "frontAndBack";
    transform-style: preserve-3d;
    transition: all 0.7s ease;
  }

  .card-flip div {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
  }

  .front {
    grid-area: frontAndBack;
  }

  .back {
    grid-area: frontAndBack;
    transform: rotateY(-180deg);
  }
  @media(min-width:576px){
  .card-container.fliped:hover .card-flip {
    transform: rotateY(180deg);
  }
}
.card-container2:hover .cardflip {
    transform: none;
}
  .card-img-top {
    object-fit: contain !important;
    width: 93% !important;
    margin-left: auto;
    margin-right: auto;
  }
  .cssmodif .card-img-top {
    object-fit: initial;
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover !important;
  }
.card-block a:hover{
    color: #fff;
}
.objectfit {
    max-width: 100% !important;
    height: 350px !important;
    object-fit: contain !important;
}
.elec_general p .link, .elec_general p .link:hover {

        color: #e52925;

}
.info h3 {
    font-size: 2.5rem;
    border-bottom: 2px solid #c5c5c7;
    padding-bottom: 5%;
    text-align: end;
}
