/*------------------------------------------------------Général------------------------------------------------------*/

* {
  margin: 0;
  padding: 0;
  font-family: "robotoregular";
  list-style-type: none;
  box-sizing: border-box;
}

.center {
  margin: 1em;
  vertical-align: middle;
  text-align: center;
  padding: 1em;
  font-family: "robotobold";
  clear: both;
  justify-content: center
}

.text {
  margin-left: 10%;
  margin-right: 10%;
  text-align: center;
  vertical-align: middle;
}

.radius {
  border-radius: 3px;
}

.cursor {
  cursor: pointer;
}

.borderzero {
  border: 0;
}

a {
  color: rgb(63, 63, 63);
  text-decoration: none;
}

a:hover {
  color: #000000
}

.maintext {
  margin-top: 8em;
  position: absolute;
  margin-left: 4em;
}

.circle {
  margin-top: 1em;
}

section:target {
  padding-top: 5em;
  margin-top: -5em;
}

.line {
  width: 65px;
  border-bottom: 1px solid #ddd;
  display: inline-block;
  vertical-align: middle;
}


/*------------------------------------------------------Fonts------------------------------------------------------*/

@font-face {
  font-family: robotoregular;
  src: url("../fonts/Roboto-Regular.ttf");
}

@font-face {
  font-family: robotobold;
  src: url("../fonts/Roboto-Bold.ttf");
}

.fontbutton {
  font-size: 18px;
}

.fontopacity {
  opacity: 0.5;
}

.bold {
  font-weight: bold;
}

.fontsize {
  font-size: 27px;
}

.fontsize2 {
  font-size: 18px;
}


/*-------------------------------------------------------Couleurs------------------------------------------------------*/

.blue {
  color: rgb(82, 172, 211);
}

.greybg {
  background-color: #F5F5F5;
}

.white {
  color: #FFFFFF
}

.backblue {
  background-color: rgb(82, 172, 211);
}

.backgrey {
  background-color: rgb(160, 160, 160);
}


/*------------------------------------------------------Accueil------------------------------------------------------*/

.loadingbar {
  width: 10em;
  height: 5px;
  position: absolute;
  margin-top: -5px;
}

.mainpicbutton {
  padding: 0.5em;
}

.margintext {
  margin-bottom: 30px;
}

.sectionpic {
  width: 100%;
}

.sectionpic::before {
  content: "\f104";
  font-family: FontAwesome;
  position: absolute;
  color: white;
  font-size: 2em;
  margin-top: 15%;
  background: rgba(0, 0, 0, 0.2);
  width: 25px;
  border-radius: 0px 50px 50px 0px;
  height: 41px;
  padding: 3px;
  padding-top: 5px;
  cursor: pointer;
}

.sectionpic::after {
  content: "\f105";
  font-family: FontAwesome;
  position: absolute;
  right: 0;
  color: white;
  font-size: 2em;
  margin-top: -19.5%;
  background: rgba(0, 0, 0, 0.2);
  width: 25px;
  border-radius: 50px 0 0 50px;
  height: 41px;
  padding: 3px;
  padding-left: 11.5px;
  padding-top: 6px;
  cursor: pointer;
}


/*------------------------------------------------------Menu------------------------------------------------------*/

.nav {
  float: right;
  margin-top: 1.8em;
}

.logo {
  margin-top: 0.9em;
  margin-left: 8%;
  margin-bottom: 0.5em;
}

.menu {
  display: inline;
  font-size: 20px;
  padding: 1em;
}

.stillmenu {
  position: fixed;
  width: 100%;
  background-color: white;
  z-index: 20;
  display: flex;
  justify-content: space-between;
}

.flexmenulist {
  margin-right: 3em;
}

.flexmenulogo {
  margin-left: 3em;
}

header {
  height: 5em;
}

li.menu:hover {
  border-style: solid;
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-top-color: rgb(82, 172, 211);
  padding-top: 25px;
  border-width: 8px;
}


/*------------------------------------------------------Services------------------------------------------------------*/

.servicecircle {
  position: absolute;
  right: 23px;
  top: 6px;
}

.servicespan {
  top: -10px;
}

.serviceflex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.marginservice {
  margin-left: 34px;
}

.servicepic {
  width: 100%;
}

.marginbot {
  margin-bottom: 2%;
}

.marginbot2 {
  margin-bottom: 6em;
}


/*------------------------------------------------------Liste------------------------------------------------------*/

#services .fa-li {
  font-size: 24px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-right: transparent;
  border-radius: 25px;
  padding: 13px 13px 13px 10px;
  float: left;
  color: #5cadd3;
  position: relative;
}

.radiusleft {
  border-radius: 4px 0px 0px 4px;
}

.radiusright {
  border-radius: 0px 4px 4px 0px;
}

.servicelist {
  margin-bottom: 3em;
}

.listmargin {
  margin-left: 10em;
  margin-right: 2em;
}


/*------------------------------------------------------Portfolio------------------------------------------------------*/

.arrow_box {
  position: relative;
}

.arrow_box:hover {
  background-color: rgb(82, 172, 211);
}

.arrow_box:hover:after {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  border-color: rgba(136, 183, 213, 0);
  border-top-color: rgb(73, 153, 187);
  border-width: 12px;
  margin-left: -12px;
}

.buttonpadding {
  padding: 0.7em;
}

.arrow_box:hover.borderlink {
  border-style: solid;
  border-width: 5px;
  border-color: rgb(73, 153, 187);
  border-bottom-width: 3px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.project {
  margin: 30px 0px;
  ;
  text-align: center;
}


/*------------------------------------------------------Pictures------------------------------------------------------*/

figure {
  position: relative;
  padding: 0.7em;
}

figure img {
  width: 350px;
}

figcaption {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  position: absolute;
  bottom: 15px;
  visibility: hidden;
  width: 350px;
  height: 4em;
}

figcaption h3,
figcaption p {
  margin-left: 15px;
  padding: 4px;
}

figure:hover figcaption {
  visibility: visible;
}

.eye {
  height: 30px;
  width: 30px;
  background-color: rgb(82, 172, 211);
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  top: -15px;
  right: 10px;
}

.fa.fa-eye {
  position: relative;
  top: 3px;
  left: 5px;
}

.wrap {
  flex-wrap: wrap;
}


/*------------------------------------------------------Contact------------------------------------------------------*/

footer {
  height: 2em;
}

.footertext {
  display: flex;
  justify-content: space-around;
  margin-top: 7px;
}


/*------------------------------------------------------Formulaire------------------------------------------------------*/

.contactform {
  width: 17em;
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  right: 6em;
  margin-top: 10.5em;
}

.form {
  padding: 0.4em;
  z-index: 15;
}

.formbottom {
  margin-bottom: 18px;
}

.contactpadding {
  padding: 0.2em;
}

.formwidth {
  width: 99%;
  padding: 5px 0px 5px 0px;
}

.paddingtop {
  padding-top: 0.8em;
}


/*------------------------------------------------------Map------------------------------------------------------*/

.voile {
  background-color: rgba(93, 198, 243, 0.2);
  z-index: 10;
  position: absolute;
  width: 100%;
  height: 46.9em;
}

.mapindex {
  z-index: 1;
  position: relative;
}

.iframevalide{
  width: 100%;
  height:46.9em; 
}


/*------------------------------------------------------Media Query------------------------------------------------------*/

@media screen and (max-width: 1110px) {
  .contactform {
    width: 50%;
  }
}

@media screen and (max-width: 950px) {
  .portfoliopic {
    margin: 0;
    width: 100%;
  }
  .flexmenulogo {
    width: 17em;
    height: 0em;
  }
  .flexmenulist {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .logo {
    margin-top: 0.4em;
  }
  .stillmenu {
    height: 85px;
    flex-direction: column;
  }
  .contactform {
    width: 58%;
  }
  .maintext {
    margin-top: 3em;
  }
  li.menu:hover {
    border-width: 0px;
  }
  .servicelist {
    display: flex;
    flex-direction: column;
  }
  .middle {
    margin-left: auto;
    margin-right: auto;
  }
  .servicepic {
    display: none;
  }
}

@media screen and (max-width: 660px) {
  .maintext {
    margin-top: 2em;
  }
  .mainpicbutton {
    padding: 0.2em;
  }
  .fontsize {
    font-size: 21px;
  }
  .fontsize2 {
    font-size: 16px;
  }
}

@media screen and (max-width: 550px) {
  .logo {
    width: 65%;
    margin-left: 15%;
  }
  .menu {
    font-size: 16px;
  }
}

@media screen and (max-width: 535px) {
  .fontsize {
    font-size: 19px;
  }
  .fontsize2 {
    font-size: 14px;
  }
}

@media screen and (max-width: 495px) {
  .mainpicbutton {
    display: none;
  }
  .margintext{
    margin-left: -17px;
  }
}

@media screen and (max-width: 450px) {
  .maintext {
    margin-left: 3em;
  }
}

@media screen and (max-width: 420px) {
  .maintext {
    margin-top: 1.7em;
  }
}