* {
  margin: 0;
  padding: 0;
  border: 0;
}
.mobile,
.cacher {
  display: none;
}
.flex-container {
  display: flex;
}
.flex-item {
  flex: auto;
}
body {
  font-family: Arial, sans-serif;
  font-size: small;
  color: #000;
  background: #FFF;
}
#page_header {
  position: fixed;
  z-index: 2;
  width: 100%;
  background: #003f58;
  color: #FFF;
  min-height: 70px;
  display: flex;
}
#page_header h1 {
  width: 40%;
  padding-top: 10px;
  text-align: center;
}
#page_header h1 img {
  height: 50px;
}
#page_header a {
  color: #FFF;
  text-decoration: none;
}
#page_header a:hover {
  text-decoration: underline;
}
#header_adresse,
#header_tel {
  width: 25%;
  padding: 15px 0;
  height: 40px;
  background: url(../images/ico-carte.png) no-repeat;
  background-size: 20px;
  background-position: 0 20px;
}
#header_adresse p,
#header_tel p {
  padding: 0 0 0 25px;
}
#header_tel {
  padding: 20px 0;
  height: 30px;
  background: url(../images/ico-telephone.png) no-repeat;
  background-size: 20px;
  background-position: 0 20px;
}
#header_tel p {
  line-height: 30px;
}
#h_menu {
  width: 10%;
  padding-right: 2%;
}
#mobile_menu {
  padding: 20px 0;
  line-height: 25px;
  cursor: pointer;
  text-align: right;
}
#mobile_menu img {
  vertical-align: bottom;
  margin-right: 5px;
}
#mobile_menu span {
  text-transform: uppercase;
}
#h_menu ul {
  position: absolute;
  z-index: 2;
  top: 70px;
  right: 2%;
  background: rgba(0, 63, 88, 0.8);
  padding-bottom: 15px;
  border-radius: 0px 0px 10px 10px;
  -moz-border-radius: 0px 0px 10px 10px;
  -webkit-border-radius: 0px 0px 10px 10px;
}
#h_menu ul li {
  list-style: none;
  padding: 5px 20px;
}
#h_menu ul li:before {
  content: ">";
  color: red;
}
footer {
  padding: 20px 20px 5px 20px;
  background: #003f58;
  color: #FFF;
}
footer p {
  text-align: center;
}
footer a {
  color: #FFF;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
section {
  padding-top: 70px;
}
section header {
  position: relative;
  height: 520px;
  background: url(../images/bg-precision.jpg) no-repeat;
  background-size: cover;
}
div.parallelo_rouge {
  position: absolute;
  height: 520px;
  width: 50%;
  right: 25%;
  -webkit-transform: skew(20deg);
  -moz-transform: skew(20deg);
  -o-transform: skew(20deg);
  background: rgba(255, 0, 0, 0.5);
}
#B_video {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}
#B_video button {
  padding: 20px;
  background: #003f58;
  color: #FFF;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
}
#B_video button:hover {
  background: #F00;
}
#popIn {
  display: none;
  position: fixed;
  z-index: 2;
  top: 0;
  width: 100%;
  height: 100%;
  background: #00000088;
  justify-content: center;
  align-items: center;
}
#popIn.active {
  display: flex;
}
#popInContent {
  width: 80%;
  height: 60%;
}
#popInContent>* {
  width: 100%;
  height: 100%;
}
section header h2 {
  position: absolute;
  padding: 150px 20% 0 30%;
  color: #FFF;
  font-size: 4em;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1.5em;
}
section header h2 strong {
  font-size: 2em;
  font-weight: bold;
}
section .contenu {
  width: 100%;
  max-width: 960px;
  margin: 50px auto;
}
.contenu h1 {
  padding: 16px;
  margin: 20px 20px 20px 10%;
  color: #003f58;
  font-size: 1.4em;
  font-weight: bold;
  text-transform: uppercase;
}
.contenu p {
  margin: 10px 0;
}
#savoir-faire .flex-item {
  border: 1px solid #003f58;
  box-sizing: border-box;
  padding: 5px;
  margin: 0 1%;
}
#savoir-faire .flex-item h2 {
  margin: 5px;
  color: #003f58;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}
#savoir-faire .flex-item img {
  width: 100%;
  border: 1px solid #003f58;
  box-sizing: border-box;
}
#savoir-faire .flex-item ul li {
  list-style: none;
  padding: 3px;
}
#savoir-faire .flex-item ul li:before {
  content: "> ";
}
#equipe header {
  height: 220px;
  background: url(../images/bg-equipe.jpg) no-repeat;
  background-size: cover;
}
#equipe header div.parallelo_rouge {
  height: 220px;
  width: 20%;
  left: 40%;
}
#equipe header h2 {
  padding: 35px 0 0 43%;
  width: 50%;
  font-size: 3em;
  line-height: 1em;
}
#equipe img {
  width: 100%;
}
#secteurs-activite .flex-container {
  border-top: 3px solid #e0e1e2;
  border-bottom: 3px solid #e0e1e2;
  padding: 40px 0;
}
#secteurs-activite .flex-item {
  margin: 0 20px;
}
#secteurs-activite .flex-item h2 {
  margin: 10px;
  padding-top: 20px;
  color: #003f58;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  background: url(../images/ico-3flechesbas.png) top center no-repeat;
}
#secteurs-activite .flex-item img {
  width: 100%;
  border: 1px solid #003f58;
  box-sizing: border-box;
}
#parc-machines {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 27% 23% 18% 32%;
  grid-template-rows: repeat(2, 220px);
}
#parc-machines div.machine-1 {
  grid-column: 1 / span 2;
  grid-row: 1;
  background: url(../images/machine-lb3000.jpg) no-repeat center;
  background-size: cover;
}
#parc-machines div.machines-titre {
  grid-column: 3;
  grid-row: 1;
  background: #F00;
}
#parc-machines div.machine-2 {
  grid-column: 4;
  grid-row: 1;
  background: url(../images/machine-bbt.jpg) no-repeat center;
  background-size: cover;
}
#parc-machines div.machine-3 {
  grid-column: 1;
  grid-row: 2;
  background: url(../images/machine-digimar.jpg) no-repeat center;
  background-size: cover;
}
#parc-machines div.machine-4 {
  grid-column: 2;
  grid-row: 2;
  background: url(../images/machine-proth.jpg) no-repeat center;
  background-size: cover;
}
#parc-machines div.machine-5 {
  grid-column: 3 / span 4;
  grid-row: 2;
  background: url(../images/machine-agie.jpg) no-repeat center;
  background-size: cover;
}
#parc-machines div.machines-titre h1 {
  margin: 80px auto;
  width: 80%;
  font-size: 1.5em;
  color: #FFF;
  text-transform: uppercase;
}
#parc-machines a {
  display: block;
  width: 100%;
  height: 100%;
  background: none;
}
#contact .flex-container {
  padding-top: 40px;
}
#contact .flex-item {
  flex: 1;
  padding: 0 20px;
}
#contact p {
  padding-left: 30px;
  min-height: 20px;
}
#contact p a {
  color: #000;
  text-decoration: none;
}
#contact p a:hover {
  text-decoration: underline;
}
.contact-adresse {
  background: url(../images/ico-carte.png) no-repeat;
  background-size: 20px;
  background-position: 0 0;
}
.contact-mobile {
  background: url(../images/ico-telephone.png) no-repeat;
  background-size: 20px;
  background-position: 0 0;
}
#contact form label {
  display: none;
}
#contact form p {
  border: 1px solid #003f58;
  padding: 5px;
}
#contact form p input::placeholder,
#contact form p textarea::placeholder {
  color: #000;
}
#contact form p input[type="text"],
#contact form p input[type="email"],
#contact form p input[type="tel"],
#contact form p textarea {
  margin: 0;
  border: 0;
  padding: 3px;
  font-family: inherit;
  font-size: 1em;
  width: 48%;
}
#contact form p textarea {
  width: 98%;
  min-height: 100px;
}
#contact form p.f-submit {
  border: 0;
  text-align: right;
}
#contact form p input[type="submit"] {
  padding: 5px;
  background: #003f58;
  color: #FFF;
  font-size: 1em;
  text-transform: uppercase;
}
#contact form p.erreur,
#contact form p input.erreur,
#contact form p textarea.erreur {
  background: rgba(255, 0, 0, 0.5);
}
#contact form p.succes {
  font-weight: bold;
}
#mentions-legales h2 {
  color: #003f58;
}
@media screen and (max-width: 960px) {
  /* Smartphones + Tablettes */
  .mobile {
    display: block;
  }
  .mobile_no {
    display: none;
  }
  #header_adresse,
  #header_tel {
    display: none;
  }
  #h_menu {
    flex: 1;
    width: auto;
  }
  section .contenu {
    width: 96%;
    max-width: auto;
    margin: 20px auto;
  }
  .flex-container {
    flex-direction: column;
  }
  section header {
    height: 520px;
    background: url(../images/bg-precision.jpg) no-repeat;
    background-size: cover;
  }
  section header div.parallelo_rouge {
    position: absolute;
    height: 520px;
    width: 60%;
    left: 25%;
    -webkit-transform: skew(10deg);
    -moz-transform: skew(10deg);
    -o-transform: skew(10deg);
  }
  section header h2 {
    padding: 120px 5% 0 5%;
    font-size: 2.5em;
    line-height: 1.2em;
  }
  #savoir-faire .flex-item {
    margin-bottom: 10px;
  }
  #equipe header {
    height: 150px;
  }
  #equipe header div.parallelo_rouge {
    height: 150px;
    width: 50%;
    left: 40%;
  }
  #equipe header h2 {
    padding: 10px 0 0 45%;
    width: 50%;
    font-size: 2.5em;
    line-height: 1em;
  }
  #parc-machines {
    grid-template-columns: 100%;
    grid-template-rows: auto repeat(5, 150px);
  }
  #parc-machines div.machine-1 {
    grid-column: 1;
    grid-row: 2;
  }
  #parc-machines div.machines-titre {
    grid-column: 1;
    grid-row: 1;
  }
  #parc-machines div.machine-2 {
    grid-column: 1;
    grid-row: 3;
  }
  #parc-machines div.machine-3 {
    grid-column: 1;
    grid-row: 4;
  }
  #parc-machines div.machine-4 {
    grid-column: 1;
    grid-row: 5;
  }
  #parc-machines div.machine-5 {
    grid-column: 1;
    grid-row: 6;
  }
  #parc-machines div.machines-titre h1 {
    margin: 10px auto;
    width: 100%;
    text-align: center;
    font-size: 1.5em;
  }
  #contact .flex-container {
    padding: 0;
  }
}