html {
  height: 100%;
  box-sizing: border-box;
}
body {
  padding: 0;
  margin: 0;
  background-color: #666569;
  font-family: "Verdana", sans-serif;
  color: #f0f0f0;
  position: relative;
  width: 100%;
  min-height: 100%;
}
a {
  text-decoration: none;
  color: #5db6ee;
}
header {
  height: 70px;
  position: fixed;
  z-index: 1000;
  background-color: #3d4d50;
  line-height: 70px;
  width: 100%;
}
header .container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding-left: 10px;
  padding-right: 10px;
  height: 100%;
}
@media (max-width: 1280px) {
  header {
    position: relative;
    z-index: 1;
    height: auto;
  }
  header .container {
    flex-direction: column;
  }
  header .container .headtext {
    display: inline-block;
    margin: auto;
  }
}
@media (max-width: 1280px) {
  img {
    max-width: 90vw;
  }
}
section {
  margin-top: 50px;
  margin-bottom: 100px;
  margin-left: 20px;
  margin-right: 20px;
}
fieldset {
  margin: auto;
  padding-top: 12px;
}
hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
h1 {
  font-size: 2em;
}
footer {
  background-color: #334346;
  padding-top: 10px;
  text-align: center;
  width: 100%;
  height: 200px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}
footer p {
  margin: 2px;
}
footer h4 {
  margin-top: 10px;
  margin-bottom: 10px;
}
footer .copyright {
  margin: 10px 0px 0px 0px;
  font-size: 0.8em;
}
footer .contactinfo {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  width: 75%;
  margin: 0 auto;
}
footer .contactinfo img {
  max-width: 50px;
  padding-top: 10px;
}
footer .contactinfo .item1,
footer .contactinfo .item2,
footer .contactinfo .item3 {
  width: 250px;
}
.content {
  padding-bottom: 200px;
}
.headtext {
  flex: 0 1 auto;
  order: 1;
  height: 70px;
}
.headtext img {
  max-height: 70px;
}
.menu {
  flex: 0 1 auto;
  order: 2;
  display: flex;
  flex-flow: row wrap;
}
.menu a {
  height: 70px;
  display: block;
  padding-left: 30px;
  padding-right: 30px;
  color: #a69fda;
  font-weight: bold;
}
.menu a:hover {
  background-color: #bccbbd;
  transition-duration: 1s;
  text-shadow: 2px 2px black;
}
@media (max-width: 1280px) {
  .menu {
    flex-direction: column;
  }
}
.rubrique {
  flex: 0 1 auto;
  text-align: center;
}
.sub-rubrique {
  display: none;
  z-index: 1000;
  background-color: #3d4d50;
  line-height: 40px;
}
.sub-rubrique a {
  height: 40px;
  padding-left: 0px;
  padding-right: 0px;
}
.sub-rubrique hr {
  width: 60%;
}
.placeholder_header {
  display: block;
  height: 70px;
  width: 100%;
}
@media (max-width: 1280px) {
  .placeholder_header {
    display: none;
  }
}
.row {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
@media (max-width: 1280px) {
  .row {
    flex-direction: column;
    align-content: center;
    align-items: center;
  }
}
#main_logo {
  padding-top: 20px;
  padding-bottom: 10px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.2);
}
@media (min-width: 1281px) {
  #main_logo {
    background: url(../media/icons/est2i_logo_trans.png) rgba(255, 255, 255, 0.2) center 0 no-repeat fixed;
    height: 500px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  #main_logo img {
    display: none;
  }
}
/* ACTIVITES */
.activites {
  text-align: center;
  padding-top: 70px;
}
.activ {
  position: relative;
  width: 30%;
  height: 250px;
  border: 2px ridge black;
  margin: 10px;
  background-color: white;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 550px;
  max-width: 555px;
}
.activ .desc {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}
.activ .desc h3 {
  width: 100%;
  background-color: salmon;
  line-height: 50px;
  margin-top: 0;
}
.activ .desc a {
  padding: 15px;
  display: inline-block;
  background-color: #4c69b3;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
  border-radius: 5px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: auto;
  width: 30%;
}
.activ .desc a:hover {
  background-color: #b7a0f9;
}
.partners {
  text-align: center;
  padding-top: 70px;
}
.partnerbox {
  position: relative;
  width: 40%;
  height: 400px;
  border: 2px ridge black;
  margin: 10px;
  background-color: white;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 750px;
}
.partnerbox .desc {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}
.partnerbox .desc h3 {
  width: 100%;
  background-color: #0ebe8f;
  line-height: 50px;
  margin-top: 0;
}
.partnerbox .desc a {
  padding: 15px;
  display: inline-block;
  background-color: #4c69b3;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
  border-radius: 5px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: auto;
  width: 20%;
}
.partnerbox .desc a:hover {
  background-color: #b7a0f9;
}
/* SERVICES */
.service {
  padding-left: 15px;
  position: relative;
  color: white;
  padding-right: 15px;
  text-align: justify;
}
.service hr {
  width: 20%;
  margin-left: 0;
}
.service h1 {
  padding-left: 20px;
  font-size: 2em;
}
.service h2 {
  padding-left: 10px;
}
.service h3 {
  font-weight: lighter;
  font-size: 1.3em;
}
/* PROCESS */
.processus {
  text-align: center;
  padding-top: 70px;
}
.solution {
  margin: auto;
}
.solution td {
  padding-left: 10px;
}
/* COMPETENCES */
.competences {
  text-align: center;
  padding-top: 70px;
}
.comp {
  width: 22%;
  margin: 10px;
}
.comp hr {
  height: 2px;
  background-color: red;
}
/* EQUIPE */
.equipe {
  text-align: center;
  padding: 10px;
  padding-top: 70px;
}
.equipe h1,
.equipe h3 {
  margin: 30px;
}
.equipe .row {
  margin-top: 100px;
}
.pro {
  width: 30%;
  position: relative;
  text-align: center;
  margin: 10px;
  max-width: 560px;
}
.pro img {
  border-radius: 180px;
  width: 50%;
}
.pro .linkedin {
  border-radius: 0;
  width: 30px;
}
@media (max-width: 1280px) {
  .pro {
    width: auto;
    height: 500px;
  }
}
/* CLIENTS */
.clients {
  margin-left: 30px;
  margin-right: 30px;
}
.clients h1,
.clients h2 {
  text-align: center;
}
.cadre {
  border: 3px ridge white;
  padding: 10px;
  width: 80%;
  margin: auto;
  text-align: center;
  font-size: 1.1em;
  line-height: 30px;
}
.avis {
  margin-left: 20px;
}
.avis h3 {
  padding-left: 20px;
}
.avis a {
  display: block;
  cursor: pointer;
}
.avis .more {
  display: none;
}
/* PARTENAIRES */
.partenaires {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0;
}
.partenaires .row {
  align-items: center;
  width: 50%;
  margin: auto;
  flex-wrap: nowrap;
}
.partenaires img {
  max-width: 230px;
  margin: 20px;
}
.partenaires a {
  flex-grow: 0;
}
.partenaires h1 {
  margin-top: 0;
  padding-top: 25px;
}
.partenaires h2 {
  background-color: #08587c;
  margin: auto;
  width: 75%;
  margin-top: 10px;
  padding: 15px;
}
/* CONTACT */
.contact {
  text-align: center;
}
.contactform {
  width: 50%;
  margin: 30px auto;
}
.contactform fieldset {
  border-style: none;
}
.contactform .data {
  width: 100%;
}
.contactform .data textarea {
  width: 100%;
}
.topfields {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 5px;
}
.topfields .name,
.topfields .subject,
.topfields .mail {
  flex: 0 1 auto;
  width: 32.5%;
}
.topfields .name input,
.topfields .subject input,
.topfields .mail input {
  width: 100%;
  height: 30px;
}
.contactsubmit {
  height: 50px;
  width: 200px;
  margin-top: 5px;
  background-color: #a695df;
  font-weight: bold;
  color: white;
  padding: 0;
  border: none;
}
.contactsubmit:hover {
  background-color: orange;
}
/* ITEMS */
.item1 {
  flex: 0 1 auto;
  order: 1;
}
.item2 {
  flex: 0 1 auto;
  order: 2;
}
.item3 {
  flex: 0 1 auto;
  order: 3;
}
.item4 {
  flex: 0 1 auto;
  order: 4;
}
.item5 {
  flex: 0 1 auto;
  order: 5;
}
.item6 {
  flex: 0 1 auto;
  order: 6;
}
@media (max-width: 1280px) and (min-width: 551px) {
  .item1,
  .item2,
  .item3,
  .item4,
  .item5,
  .item6 {
    width: 60%;
    height: auto;
  }
  .item1 img,
  .item2 img,
  .item3 img,
  .item4 img,
  .item5 img,
  .item6 img {
    margin-top: 10px;
  }
  .partnerbox img {
    margin-left: -100px;
  }
  footer {
    height: auto;
  }
  header {
    line-height: 40px;
  }
  header .menu a {
    height: auto;
  }
}
@media (max-width: 550px) {
  .item1,
  .item2,
  .item3,
  .item4,
  .item5,
  .item6 {
    min-width: 0px;
    width: auto;
    height: auto;
  }
  .item1 img,
  .item2 img,
  .item3 img,
  .item4 img,
  .item5 img,
  .item6 img {
    margin-top: 10px;
  }
  .item1 .desc a,
  .item2 .desc a,
  .item3 .desc a,
  .item4 .desc a,
  .item5 .desc a,
  .item6 .desc a {
    width: auto;
    padding: 5px;
  }
  section {
    padding-top: 20px;
  }
  footer {
    height: auto;
  }
  footer .contactinfo {
    flex-direction: column;
  }
  footer .contactinfo .item1,
  footer .contactinfo .item2,
  footer .contactinfo .item3 {
    width: auto;
  }
  .sub-rubrique {
    background-color: rgba(255, 255, 255, 0.2);
  }
  .content {
    padding-bottom: 400px;
  }
  .content .partenaires {
    padding-bottom: 60px;
  }
  .pro {
    height: 350px;
  }
  body {
    font-size: 0.9em;
  }
  .activites,
  .competences,
  .partners,
  .equipe,
  .processus {
    padding-top: 0px;
  }
  .clients {
    margin-left: 0;
  }
  header {
    line-height: 40px;
  }
  header .menu a {
    height: auto;
  }
  .contactform {
    width: auto;
  }
  .topfields {
    flex-direction: column;
  }
  .topfields .mail,
  .topfields .subject,
  .topfields .name {
    width: auto;
  }
}
.circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
}
.circle_in {
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #666569;
  flex-grow: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 50px;
  color: black;
}
.orange {
  background-color: orange;
}
.lightblue {
  background-color: lightblue;
}
.salmon {
  background-color: salmon;
}
.white {
  background-color: white;
}
.not_found {
  text-align: center;
  font-weight: bolder;
  color: red;
}
/* ADMIN */
.manage_table {
  border: 1px ridge white;
  border-collapse: collapse;
  color: black;
  margin: auto;
}
.manage_table a {
  color: black;
}
.manage_table td,
.manage_table th {
  padding: 5px 10px 5px 10px;
  border-top: 1px ridge white;
  border-bottom: 1px ridge white;
  text-align: center;
}
.manage_table tr:nth-child(odd) {
  background-color: grey;
}
.manage_table tr:nth-child(even) {
  background-color: lightgrey;
}
.admin {
  text-align: center;
}
.modify .submit {
  margin-top: 20px;
  padding: 10px;
}
.modify .cke_textarea_inline {
  border: 2px ridge lightblue;
}
.gmap {
  display: none;
  position: absolute;
  bottom: 30px;
  margin: auto;
  z-index: 50;
  position: fixed;
  top: 10vh;
  left: 30vw;
}
#gmap {
  color: lightblue;
  cursor: pointer;
}
