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

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: 'Asap', sans-serif;
  color: #ffffff;
  background-color: #fff;
}
body::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
@media only screen and (min-width: 1170px) {
  body::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

a {
  color: #e3ca76;
  text-decoration: none;
}


.sticky-menu {
  display: table;
    top: -1px;
    background: none repeat scroll 0 0 #fff;
    height: 90px;
    min-height: 90px;
    width: 100%;
    z-index: 999;
    
}

.sticky-menu .row{
 max-width: 1190px !important;
    margin: 0 auto;
    max-width: 74.375rem;
    width: 100%;
}
    
.logo-3{
 background: none repeat scroll 0 0 #fff;
    height: 90px;
    position: relative;
    width: 25%;
    float: left;
    padding-left: 1.40625rem;
    padding-right: 1.40625rem;
}

.logo{
 padding-top: 18px;
  height: 100%;
  text-align: center;  
}


.logo img{
height: 51px;
    width: 195px;
    vertical-align: middle;
}

.menu-content{
padding: 26px 1.40625rem 23px 0;
    float: right;
}

ul.sm:after {
    clear: both;
    content: " ";
    display: block;
    font: 0px/0 serif;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

#menu {
    float: left;
    position: relative;
    width: auto;
    z-index: 9999;
}


#menu li:after {
    color: #afafaf;
    content: "";
    display: inline-block;
    float: left;
    font-size: 10px;
    height: 4px;
    left: -2px;
    margin-top: -27px;
    position: relative;
}

#menu li {
   float: left;
    position: relative;
    direction: ltr;
    display: block;
    line-height: normal;
    list-style: outside none none;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

ul.sm a {
    display: block;
    position: relative;
}

.mo-menu a {
    border-bottom: 2px solid transparent;
    color: #222;
    font-family: "Asap",sans-serif;
    font-size: 19px;
    line-height: 17px;
    margin-left: 12px;
    margin-right: 12px;
    padding: 12px 0 6px;
    text-decoration: none;
    transition: all 0.25s ease-in-out 0s;
}


.mo-menu a:hover {
    border-bottom-color: #2980b9;
    color: #2980b9;
    
}


.signature {
    width: 500px;
    height: 20px;
    left: 25%;
    position: absolute;
    top: 55%; 
}

.retour {
    left: 30%;
    position: relative;
    margin-top: 80px; 
}

.link-back-button {
    background: none repeat scroll 0 0 #3498db;
    border: 0 solid #4d4d4d;
    border-radius: 3px;
    color: white;
    font-family: "Asap",sans-serif;
    font-size: 20px;
    padding: 10px 18px;
    text-align: center;}


.link-back-button:hover {
    background: none repeat scroll 0 0 2980b9;
   }



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

Main Components 

-------------------------------- */
@media only screen and (min-width: 1170px) {
  .cd-section {
    height: 100vh;
  }
}
.cd-section h1 {
  position: relative;
    font-weight: bold;
  top: 30%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  font-size: 2.7rem;
    font-family: 'Asap', sans-serif;
}

@media only screen and (max-width: 1170px) {
  .cd-section h1 {
    font-size: 4.3rem;
  }
}

.cd-block, .cd-half-block {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cd-block {
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}
.cd-section:first-of-type .cd-block {
  visibility: visible;
  height: 100vh;
  background-color: #263b40;
    background-image: url("../img/propos/fond1.png");
  background-size: cover;
}
@media only screen and (min-width: 1170px) {
  .cd-block {
    position: fixed;
    width: 100%;
    min-height: 100vh;
    top: 0;
    left: 0;
    height: 100vh;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    visibility: hidden;
  }
  .cd-section:first-of-type .cd-block {
    visibility: visible;
  }
  .cd-block > * {
    visibility: visible;
  }
}

.cd-half-block {
  background: #ffffff;
  color: #263b40;
}
.cd-half-block:nth-of-type(1) {
  height: 60vh;
  background-color: #263b40;
  background-position: center center;
  background-repeat: no-repeat;
}
.cd-half-block:nth-of-type(2) {
  padding: 4em 10%;
}
.cd-half-block p {
  font-size: 1.8rem;
  line-height: 1.8;
}
.cd-section:nth-of-type(2) .cd-half-block:first-of-type {
  background-image: url("../img/propos/proximphoto1.jpg");
  background-size: cover;
}
.cd-section:nth-of-type(3) .cd-half-block:first-of-type {
  background-image: url("../img/propos/photoproxim2.jpg");
  background-size: cover;
}
.cd-section:nth-of-type(4) .cd-half-block:first-of-type {
  background-image: url("../img/propos/photoproxim3.jpg");
  background-size: cover;
}
@media only screen and (min-width: 1170px) {
  .cd-half-block {
    height: 100vh !important;
    width: 50%;
    position: absolute;
    top: 0;
  }
  .cd-half-block p {
    position: absolute;
    left: 50%;
    top: 45%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    padding: 0 20%;
    font-size:20px;
      font-family: 'Asap', sans-serif;
  }
  .cd-section:nth-of-type(even) .cd-half-block:first-of-type, .cd-section:nth-of-type(odd) .cd-half-block:nth-of-type(2) {
    left: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  .cd-section:nth-of-type(odd) .cd-half-block:first-of-type, .cd-section:nth-of-type(even) .cd-half-block:nth-of-type(2) {
    right: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
}

.cd-vertical-nav {
  position: fixed;
  z-index: 1;
 left: 48.4%;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: none;
}
.cd-vertical-nav a {
  display: block;
  height: 60px;
  width: 60px;
  /* image replace */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: transparent url(../img/propos/cd-icon-arrow.svg) no-repeat center center;
  -webkit-transition: opacity 0.2s 0s, visibility 0.2s 0s;
  -moz-transition: opacity 0.2s 0s, visibility 0.2s 0s;
  transition: opacity 0.2s 0s, visibility 0.2s 0s;
}
.cd-vertical-nav a.cd-prev {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  margin-bottom: 50px;
}
.cd-vertical-nav a.inactive {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  transition: opacity 0.2s 0s, visibility 0s 0.2s;
}
@media only screen and (min-width: 1170px) {
  .cd-vertical-nav {
    display: block;
  }
}







@media screen and (max-width: 1024px) {
    
  .cd-section h1 {
    top: 40%!important;}   
    
    
 .cd-half-block p {
    font-size: 1.5rem;
    font-family: 'Asap', sans-serif!important;}     
    
   .signature {
  top: 75%;} 
    
  .retour {
  margin-bottom: 30px;
  margin-top: 50px;
}  
  
}  



@media screen and (max-width: 768px) {
    
    
    .cd-section:first-of-type .cd-block {
  background-image: url("../img/t1mobile.jpg")!important;} 
    
    
   .cd-section h1 {
  font-size: 3.3rem;} 
    
    
.logo-3 {
  display: none;}    
    
  
  .menu-content {
  padding: 26px 1.40625rem 23px 0;
      margin-left: 70px;
  float: left;} 
    
    
    .cd-half-block p {
  font-size: 1.3rem;
  line-height: 1.8;
        font-family: 'Asap', sans-serif!important;}
    
    
    
    .signature {
  left: 20%;
  top: 85%;}
    
  .retour {
  left: 30%;
  position: relative;
  margin-top: 80px;
      margin-bottom: 30px;}  
    
    
  
    
 }   
    
 @media screen and (max-width: 414px) {   
    
 
 .cd-section:first-of-type .cd-block {
display:none;
}
 
 
 .cd-half-block p {
font-size: 1rem;

}
 
 
.signature {
width: 300px;
left: 15%;}
     
.retour {
left: 15%;}  
     
 .link-back-button {
font-size: 18px;}    
     
 
 }    



@media screen and (max-width: 667px) {   

.menu-content {
margin-left: 30px;
}

    
 .cd-section:first-of-type .cd-block {
visibility: visible;
height: 100vh;
background-color: #26869d;
background-image: none!important;
background-size: cover;
}   
    
    
 .cd-half-block p {
font-size: 1.2rem;
}   
    
    
 .signature {
left: 20%;
 width: 400px;    
}   
    
 .link-back-button {
margin-bottom: 30px;
}   
       
    
    
} 


@media screen and (max-width: 375px) {   


.cd-half-block p {
font-size: 14px;
}


.signature {
left: 10%;
width: 300px;
}    
    
    
 

}

@media screen and (max-width: 568px) {   
    
    
  .mo-menu a {
font-size: 16px;
      margin-left: 8px;
      margin-right: 8px;
}  
    
 .cd-section h1 {
font-size: 2.3rem;
}   
    
   
 .cd-half-block p {
font-size: 16px;
}   
    
    
 .signature {
display:none;
}   
    
    }



@media screen and (max-width: 320px) {   


.cd-half-block p {
font-size: 14px;
}

    
.signature {
left: 20%;
width: 200px;
}    
    
 .link-back-button {
font-size: 16px;
}   
    
   .retour {
left: 10%;
} 
    
    
    
    
    
    
    

}




