/****************************************************************************/
/*                              FONT                                        */
/****************************************************************************/
@font-face {
    font-family: 'keep_calm_medregular';
    src: url('../fonts/keepcalm-medium-webfont.eot');
    src: url('../fonts/keepcalm-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/keepcalm-medium-webfont.woff2') format('woff2'),
         url('../fonts/keepcalm-medium-webfont.woff') format('woff'),
         url('../fonts/keepcalm-medium-webfont.ttf') format('truetype'),
         url('../fonts/keepcalm-medium-webfont.svg#keep_calm_medregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/****************************************************************************/
/*                              GENERAL                                     */
/****************************************************************************/
html, body{
    width:100%;
    height:100%;
    padding: 0;
    margin:0;
    --scroll-behavior: smooth;
    scroll-behavior: smooth;
}
footer{position: absolute;}
/****************************************************************************/
/*                              TITRE                                       */
/****************************************************************************/
h1{
    font-size: 5rem;
    font-weight: bold;
}





/****************************************************************************/
/*                              MENU                                        */
/****************************************************************************/
.mobile_header {
  display: none;
}
.MobileMenu {
    position: relative;
}
.MobileMenu span
{
    display: block;
    width: 22px;
    height: 2px;
    margin-bottom: 6px;
    position: relative;
    background: #224b52;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;  
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}
.MobileMenu span:first-child
{
  transform-origin: 0% 0%;
}
.MobileMenu span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}
.MobileMenu > div > span:last-child{margin-bottom: 0px;}
.MobileMenu input
{
  display: block;
  width: 22px;
  height: 18px;
  position: absolute;
  top: 0px;
  left: 0;  
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}
.MobileMenu input:checked ~ span
{
    opacity: 1;
    transform: rotate(45deg) translate(6px, 0px);
    background: #224b52;
}
.MobileMenu input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
    background: #224b52;
}
.MobileMenu input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(3px, 4px);
    background: #224b52;
}
.MobileMenu > div > nav{
    transition: all .5s ease-out;
    position: fixed;
    top: 0;
    right: -250px;
    height: 100vh;
    display: block;
    width: 250px;
    overflow-y: auto;
    padding-bottom: 75px;
    padding-top: 60px;
    background: #FFF;
}
.MobileMenu input:checked ~ nav{
    right: 0;
}               
            
                        .MobileMenu div nav ul > li{
                            width: 100%;
                            display: block ;
                        }
            .MobileMenu div nav ul li a, .MobileMenu div nav ul li button{
                
                font-size: 1.3em;
                color: #444444;
                font-weight: bold;
                text-transform: uppercase;
                display: flex;
                text-decoration: none;
                width:100%;
                align-items: center;
                padding: 10px 20px;
            }

            .MobileMenu div nav ul > li > a:hover{
                color:#FFFFFF;
                background: #1B243F;
                text-decoration: none;
            }

.mainnav div{margin-left: 2%}
.mainnav div a{text-decoration: navajowhite;
  font-size: 2rem;
  color: #224b52;
  font-weight: bold;
}


.mainnav div{display:inline-block;min-width:50px;}
.mainnav div a {
    text-decoration:none;
    line-height: 0px;
    padding: 0 10px;
    text-align: center;
    font-size: 1.3em;
    color: #444444;
    text-transform: uppercase;
  display: inline-block;
}
.mainnav div a:after {
  content: '';
  display: block;
  margin: auto;
  height: 2px;
  width: 0;
  background: transparent;
  transition: width .5s ease, background-color .5s ease;  
  top: 15px;
  position: relative;
}
.mainnav div a:hover:after {
  width: 90%;
  background: #444;
}





.ftwhite{color: #FFF}




/****************************************************************************/
/*                              CONTENT                                     */
/****************************************************************************/












.globalsite{
    transition: all .5s ease-in;
    top:0;
}
.headersite{
    transition: all .5s ease-out;
}
.headersiteoff0{
    top: -100vh;
}
.headersiteoff{
    height: 0px!important;
}
.backwhite{background: #FFFFFF}
.backblue{
  background: #1B243F;
}
.backblue1{
  background: #224b52;
}
.backblue2{
  background: #4491c4;
}
.backblack{
  background: #000000;
}
.fillWhite{fill: #ffffff;}
.picto{background: #224b52;
  width: 100px;
text-align: center;
  padding: 20px;
  border-radius: 30%;}
.picto svg{height:60px}


.CTA{
  padding: 10px;
  border-radius: 10px;
  outline: none;
  font-weight: bold;
  font-size: 2rem;
}
.CTABLUE{
    width: 100%;
    background-color: #1B243F;
    color: #FFFFFF;
    font-size: 1.2rem;
    transition: 0.5s;
    border:1px solid #1B243F;
}
.CTABLUE:hover{
    background-color: #FFFFFF;
    color: #1B243F;
}

.header{
    background:url(../img/background.png) no-repeat top left ;
    background-size: cover;
    width: 100%;
    height: 100%;
}
.background1{
    background:url(../img/fond.png) no-repeat bottom right ;
    background-size: cover;
    width: 40%;
    height: 100%;
}
#triangle-code{
    display : inline-block;
    height : 0;
    width : 0;
    border-bottom : 1000px solid white;
    border-left : 1000px solid transparent;
}
#triangle-code1{
    display : inline-block;
    height : 0;
    width : 0;
    opacity: .5;
    border-top : 300px solid #eb212e;
    border-right : 300px solid transparent;
    bottom:calc(100vh - 300px);
}
#parallelogramme{
    width:50px;
    height:500px;
    background:#224b52;
    -webkit-transform:skew(-45deg);
    -moz-transform:skew(-45deg);
    -o-transform:skew(-45deg);
    tranform:skew(-45deg);
    right:701px;
    bottom: 0;
    animation-name: starting1;
    animation-duration: 500ms;
}
#parallelogramme1{
    width:50px;
    height:200px;
    background:#224b52;
    -webkit-transform:skew(-45deg);
    -moz-transform:skew(-45deg);
    -o-transform:skew(-45deg);
    tranform:skew(-45deg);
    left:170px;
    bottom:calc(100vh - 200px);
}
#parallelogramme2{
    width:100px;
    height:500px;
    background:#eb212e;
    opacity: .5;
    -webkit-transform:skew(-45deg);
    -moz-transform:skew(-45deg);
    -o-transform:skew(-45deg);
    tranform:skew(-45deg);
    right:750px;
    bottom: 0;
    animation-name: starting;
    animation-duration: 500ms;
}
#parallelogramme3{
    width:100px;
    height:1000px;
    background:#eb212e;
    opacity: .5;
    -webkit-transform:skew(-35deg);
    -moz-transform:skew(-35deg);
    -o-transform:skew(-35deg);
    tranform:skew(-35deg);
    left:calc(60% + 350px);
    top: 0;
}

#triangle-code2{
    display : inline-block;
    height : 0;
    width : 0;
    opacity: 1;
    border-top : 1000px solid #FFF;
    border-right : 700px solid transparent;
    left: 60%;
    top: 0;
}

#triangle-code3{
    display : inline-block;
    height : 0;
    width : 0;
    opacity: 1;
    border-top : 1000px solid #224b52;
    border-right : 700px solid transparent;
    left: 60%;
    top: 0;
}
.description a{color: #000000; font-family: arial, sans-serif; font-size: 30px; text-decoration: none;}
.ftk{font-family: "keep_calm_medregular",arial,sans-serif;}
.ftblack{color: #000000}

.bshadow{box-shadow: 0px 0px 3px 1px rgba(107, 108, 108, 0.58);border:2px solid #fff;border-radius:10px; background: #fff;width:100%}

/********************************************
 * ****************  FIELDS * ****************
 * ******************************************/
.inputBox{
  position: relative;
}

.inputBox input, .inputBox p,  .inputBox textarea, .inputBox select{
  width: 100%;
  padding: 10px;
  background-color: #1B243F;
  border-radius: 10px;
  outline: none;
  color: #FFFFFF;
  font-size: 1.2rem;
  transition: 0.5s;
}
.inputBox input, .inputBox p,  .inputBox textarea, .inputBox select{
  border:1px solid;
  border-color:#1B243F;
}
.inputBox_ input{
  width: 100%;
  padding: 10px 10px 10px 60px;
  border-radius: 10px;
  outline: none;
  font-size: 1.2rem;
  transition: 0.5s;
  border:1px solid;
}

.inputBox span {
  position: absolute;
  left: 0;
  padding: 10px;
  pointer-events: none;
  font-size:1.2rem;
  color: #FFF;
  transition: 0.5s;
  top: 0px;
}

.inputBox input:valid ~ span, .inputBox p.disabled ~ span, .inputBox input.disabled ~ span, .inputBox textarea:valid ~ span, .inputBox select:valid ~ span,
.inputBox input:focus ~ span, .inputBox textarea:focus ~ span, .inputBox select:focus ~ span, .inputBox select:disabled ~ span{
  color: #1B243F;
  transform: translateX(0px) translateY(-12px);
  font-size: 1rem;
  padding: 0 15px;
  background: transparent;
  border-left: 1px solid var(--color-black);
  border-right: 1px solid var(--color-black);
  letter-spacing: 0.2em;
}

.inputBox p.disabled ~ span{
  background: var(  --color-grey-light);
}

input.radiofield ~ span{
  color: var(--color-black);
  font-size: 1rem;
  padding: 10px;
  background: var(  --color-blue);
  letter-spacing: 0.2em;
  display: block;
  margin-left: 10px;
  border-radius: 10px;
}

.inputBox:nth-child(2) input:valid ~ span,
.inputBox:nth-child(2) input:focus ~ span{
background :var(--color-black); ;
color: var(--color-white);
border-radius: 2px;
}

.inputBox input:valid, .inputBox textarea:valid, .inputBox select:valid
.inputBox input:focus, .inputBox textarea:focus, .inputBox select:focus{
  border : 1px solid #1B243F;
}

input.error, select.error, textarea.error{background: var(--color-red)}
.inputBox input.error:valid ~ span, .inputBox textarea.error:valid ~ span, .inputBox select.error:valid ~ span,
.inputBox input.error:focus ~ span, .inputBox textarea.error:focus ~ span, .inputBox select.error:focus ~ span, .inputBox select.error:disabled ~ span{
  color: var(--color-black);
  background: var( --color-red);
}


.swiper {
    }
    .swiper-wrapper{
      max-height: 450px;
    }
    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      max-height: 400px;
      max-width: 500px;
    }

    .swiper-slide img {
      display: block;
      width: 400px;
      height: 300px;
      object-fit: cover;
      max-width: 100%;
      border-radius: 10px;
    }

    .swiper-slide1  {
      background: transparent;
    }

    .swiper-slide1 img {
      width: 100%;
      object-fit: contain;
    }
    .swiper-paginations{
        text-align: center;
    }

/****************************************************************************/
/*                              ANIMATIONS                                  */
/****************************************************************************/
@media (max-width: 991.98px) {
    .desktop_header{display: none;}
    .mobile_header{display: block;}
}

#opensite{
    opacity: 1;
    animation-name: opensite;
    animation-duration: 1000ms;
}
@keyframes starting {
  0% {
    bottom: 1000px;
    right:-250px;
  }
  100% {
    bottom: 0;
    right:750px;
  }
}
@keyframes starting1 {
  0% {
    bottom: -500px;
    right:1201px;
  }
  100% {
    right:701px;
    bottom: 0;
  }
}
@keyframes starting-sm {
  0% {
    bottom: 700px;
    right:-350px;
  }
  100% {
    bottom: 0;
    right:350px;
  }
}
@keyframes starting1-sm {
  0% {
    bottom: -400px;
    right:700px;
  }
  100% {
    right:300px;
    bottom: 0;
  }
}
@keyframes opensite {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/****************************************************************************/
/*                              MEDIA QUERIES                               */
/****************************************************************************/
@media (max-width: 991.98px) {
    .desktop_header{display: none;}
    .mobile_header{display: block;}
}
@media (max-width: 767.98px) {
    #triangle-code {
      border-bottom: 600px solid white;
      border-left: 600px solid transparent;
    }
    #parallelogramme {
        right: 300px;
        animation-name: starting1-sm;
    }
    #parallelogramme2 {
        right: 350px;
        animation-name: starting-sm;
    }
    .h80pc-md{
        height:80%;
    }
    .padT80-md{
        padding-top: 80px;
    }
    .maxH-420-md{max-height: 420px}

    footer{position: relative;}

    .inputBox input:valid ~ span, .inputBox p.disabled ~ span, .inputBox input.disabled ~ span, .inputBox textarea:valid ~ span, .inputBox select:valid ~ span,
    .inputBox input:focus ~ span, .inputBox textarea:focus ~ span, .inputBox select:focus ~ span, .inputBox select:disabled ~ span{
      font-size: 1.5rem;
      transform: translateX(0px) translateY(-18px);
    }

    .inputBox input, .inputBox p, .inputBox textarea, .inputBox select {
      font-size: 1.6rem;
    }

    .swiper-slide img {
      object-fit: contain;
      height: auto;
    }
    .CTABLUE{
        font-size: 1.6rem;
    }
}