/* -------	Réglages globaux ------- */

@import url("https://fonts.googleapis.com/css?family=Poppins");

:root {
  --bleu: rgb(76, 163, 194);
  --rouge: rgb(231, 75, 78);
  --orange: rgb(247, 152, 32);
  --vert: rgb(169, 206, 34);
}

body {
  -webkit-text-size-adjust: 100%;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  background: url("../img/stripe-bg.png") rgb(245, 245, 245);
  transition-property: translate;
  transition-duration: 0.3s;
}

#content {
  background-color: #f8f8f8;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
  margin: 0 auto;
}

.page,
.header,
.footer {
  width: 70%;
  margin: 0 auto;
}

.page {
  background-color: #fdfdfd;
}


/*-- Prechargement --*/

#prechargement {
  background-color: rgb(245, 245, 245);
  background-color: var(--bleu);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 2147483647;
  width: 100vw;
  height: 100vh;
}

#centre {
  background-position: center center;
  background-repeat: no-repeat;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#centre img {
  width: 100px;
}

/* ------ Réglages divers ------- */

#accueil,
#formation,
#portfolio,
#contact,
#envoi,
#echecenvoi,
#depannage {
  padding: 40px 40px;
  overflow: hidden;
}

.hidden {
  display: none;
}

#icone_burger {
  display: none;
  margin: 29px;
  cursor: pointer;
  font-size: 2.8em;
  color: #fff;
}

/* ------- Typographie ------- */

p,
td,
li {
  font-size: 1em;
  font-weight: 400;
  color: #505050;
  line-height: 1.4em;
}

p {
  margin-bottom: 25px;
}

strong {
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 10px;
  text-transform: uppercase;
}

h1,
h2 {
  background-color: #f8f8f8;
  margin-top: 20px;
  font-weight: normal;
}


h1 {
  font-size: 1.3em;
}

h2 {
  font-size: 1.2em;
}

h1:first-child,
h2:first-child {
  margin-top: 0;
}

h1 span,
h2 span {
  background-color: #fdfdfd;
  color: #393939;
  padding-right: 15px;
  line-height: 1.2em;
}

h3 {
  font-size: 1.06em;
}

h4 {
  font-size: 0.94em;
  color: var(--bleu);
  font-weight: 700;
  text-shadow: none;
  text-transform: none;
}

h5 {
  font-size: 0.8em;
}

h6 {
  font-size: 0.73em;
}

section a {
  text-decoration: none;
  color: var(--orange);
  transition: color 0.2s ease-out;
}

section a:hover,
a:focus {
  text-decoration: none;
  outline: none;
  color: var(--bleu);
}

a:hover,
a:active,
a:focus,
input:active {
  outline: none;
}

input::focus-inner {
  border: 0;
}

/* ----- Entête ----- */

header {
  height: 110px;
  background: var(--bleu);
  box-shadow: 0 0px 40px rgba(0, 0, 0, 0.1) inset;
}

.header {
  display: flex;
  justify-content: space-between;
}

a.logo {
  display: inline-block;
  margin-top: 35px;
  margin-left: 40px;
}

a.logo>img {
  display: inline-block;
  vertical-align: middle;
  width: 200px;
}

/* -- Menu -- */

#menu {
  display: inline-block;
  text-align: right;
}

.tabs {
  z-index: 100;
}

.tabs li {
  display: inline-block;
  width: 100px;
  height: 88px;
  margin-top: 22px;
  color: #fff;
  margin-left: 10px;
}

.tabs li:hover {
  color: var(--bleu);
}

.tabs li>a {
  padding-top: 20px;
  display: block;
  background-repeat: no-repeat;
  background-position: center 15px;
  text-align: center;
  font-size: 0.8em;
  text-transform: uppercase;
  color: #fff;
}

.tabs li:last-child {
  margin-right: 0;
}

.tabs li.active {
  background-color: #fdfdfd;
  border-radius: 5px 5px 0 0;
}

.tabs li.active>a {
  color: var(--bleu);
}

.tabs li>a span {
  display: block;
  font-size: 1.7em;
  margin-bottom: 10px;
}

.tabs li>a>span:hover,
.tabs li.active>a>span {
  color: #333;
}

/* Slider page d'accueil */

#slider {
  position: relative;
  height: inherit;
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;

}

#slide_dessous,
#slide_dessus {
  position: relative;
  min-width: 100%;
  min-height: 100%;
  height: auto;
  border-radius: 5px;
}

#slide_dessus {
  z-index: 1;
}

#slide_dessous {
  left: -100%;
}

#precedent,
#suivant {
  position: absolute;
  z-index: 2;
  font-size: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#precedent {
  left: 0;
}

#suivant {
  right: 0;
}

#slider:hover #precedent,
#slider:hover #suivant {
  opacity: 1;
}

/* ------- Tableau dépannage ------- */

table.depannage {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  color: #7f7f7f;
  margin-bottom: 25px;
  border-left: 6px var(--bleu) solid;
  width: 100%;
}

table.depannage thead {
  background-color: #f8f8f8;
  color: #393939;
  text-align: left;
  vertical-align: bottom;
  text-transform: uppercase;
}

table.depannage tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}

table.depannage tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
}

table.depannage td,
table.depannage th {
  border-width: 0 0 0 1px;
  font-size: inherit;
  overflow: visible;
  margin: 0;
  padding: 0.1em 0.8em;
}

table.depannage th {
  padding: 0.1em 0em;
}

table.depannage td:first-child {
  padding-top: 1em;
}

table.depannage td:first-child {
  width: 60%;
}

table.depannage td.duree {
  width: 20%;
}

table.depannage td.interventions {
  vertical-align: middle;
}

table.depannage td.interventions ul {
  list-style: circle;
  padding-left: 34px;
}

table.travaux td:first-child {
  width: 75%;
}

table.depannage td.duree,
table.depannage td:last-child,
table.depannage th:last-child {
  border-left: 1px solid #f1f1f1;
}

/* ------- Couleurs de fond ------- */

.blue-bg {
  background-color: var(--bleu);
}


/* -------- Colonnes ------- */

.moitie-colonne {
  width: calc(50% - 25px);
  float: left;
  padding-right: 50px;
}

.untiers-colonne {
  width: 30%;
  float: left;
  padding-right: 30px;
}

.deuxtiers-colonne {
  width: 70%;
  float: left;
}

.last {
  margin-right: 0px;
  padding-right: 0px;
}

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

#accueil .untiers-colonne {
  width: 322px;
  float: left;
  padding-right: 30px;
}

#accueil .deuxtiers-colonne {
  width: calc(100% - 352px);
  float: left;
}

table.details {
  border-spacing: 14px;
}

table.details td:first-child {
  color: #555;
}

table.details td:last-child {
  padding: 6px 10px 5px 10px;
  border-left: 4px solid var(--orange);
}

.ecrire {
  color: #fff;
  background-color: var(--bleu);
  padding: 2px;
  font-weight: bold;
}

.masque {
  visibility: hidden;
}

ul.thumbnails {
  list-style: none;
}

ul.thumbnails li {
  background: #f1f1f1;
  border-radius: 4px;
  padding: 6px 20px 5px 10px;
  margin-bottom: 5px;
  width: 100px;
  height: 90px;
  margin-right: 15px;
  float: left;
}

#photo-slider,
#carousel-slider {
  margin-top: 10px;
  border-radius: 12px;
  border: 3px solid #f0f0f0;
}

/* Effet de survol sur le carousel */

#carousel-slider img {
  filter: grayscale(40%);
  opacity: 0.7;
  transition-property: all;
  transition-duration: 0.6s;
}

#carousel-slider img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ----- Onglets formation et dépannage ------- */

#skill-rating,
#skill-dep {
  margin-top: 15px;
  margin-bottom: 25px;
}

#depannage h4,
h4.hachure {
  font-size: 1em;
  /*background: url('../img/stripe-bg.png');*/
  background-color: #f8f8f8;
  margin-top: 30px;
  text-transform: uppercase;
}

#depannage h4 span,
#depannage th span,
h4.hachure span {
  background-color: #fdfdfd;
  padding-right: 15px;
  line-height: 1.3em;
}

#depannage th span {
  padding: 15px;
}

#depannage img[src="img/reparation-ordinateur-portable.jpg"] {
  width: 100%;
  margin-bottom: 10px;
}

#depannage img[src="img/informatique-chiant.svg"] {
  width: 70%;
  border-left: 6px var(--bleu) solid;
  padding-left: 12px;
}

.graphtable {
  clear: both;
  float: none;
  width: 100%;
}

.graph {
  clear: both;
  float: none;
  display: inline-block;
  margin-left: 10px;
  border: 1px dotted #efefef;
  width: 50%;
  height: 200px;
  margin-right: 10px;
  overflow: hidden;
}


.graphtable div {
  vertical-align: top;
  color: #666;
}

.graphtable p {
  font-size: 0.8em;
  padding: 2px 10px;
  color: #fff;
  margin-bottom: 10px;
  height: 25px;
  display: block;
  line-height: 24px;
}

.graphtable p span {
  display: none;
}

.line {
  font-size: 0.66em;
}

.values {
  display: inline-block;
  margin-left: 10px;
}

.graph .line {
  border-bottom: 1px dotted #efefef;
  margin-top: -1px;
}

.graph .fix {
  border-bottom: none;
}

.graph .line span {
  position: absolute;
  display: block;
  margin-left: -15px;
  text-align: right;
  margin-top: 0px;
  font-size: 0.73em;
}

.graph .line span:last-child {
  margin-top: 0px;
}

.bar {
  position: absolute;
  width: 20%;
  margin-bottom: 0px;
}

.rouge {
  background-color: var(--rouge);
}

.gris {
  background-color: #333333;
}

.orange {
  background-color: var(--orange);
}

.bleu {
  background-color: var(--bleu);
}

.vert {
  background-color: var(--vert);
}

.grille_gauche,
.grille_droite {
  display: grid;
  grid-gap: 15px 20px;
  align-items: center;
}

.grille_gauche {
  grid-template-columns: 137px 22px auto;
}

.grille_droite {
  grid-template-columns: auto 22px 50px;
}

.titre_formation h4 {
  color: var(--rouge);
  margin: 0;
}

.titre_formation h4 span {
  color: #333;
  font-size: 0.93em;
}

.accolade {
  font-size: 5.33em;
  color: #393939;
  margin: 15px 0;
}

.details_formation h4 {
  color: var(--bleu);
  line-height: 1.6em;
}

.details_formation h4 span {
  color: #333;
  font-size: 0.8em;
}

.details_formation p {
  margin-bottom: 0;
}

#anecdotes .flex-control-paging {
  float: right;
  margin: 0;
  padding: 0;
  margin-top: -30px;
}

#anecdotes p {
  background: url(../img/blockquote.png) no-repeat 15px 15px;
  background-color: #fdfdfd;
  padding: 15px;
  padding-left: 40px;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  word-wrap: break-word;
  margin-bottom: 15px;
}

#anecdotes p::before {
  content: "";
  border-top: 13px solid rgba(0, 0, 0, 0.04);
  border-right: 13px solid transparent;
  position: absolute;
  left: 13px;
  bottom: -13px;
}

#anecdotes p::after {
  content: "";
  border-top: 11px solid #fdfdfd;
  border-right: 11px solid transparent;
  position: absolute;
  left: 13px;
  bottom: -11px;
}

.commentaire {
  color: var(--bleu);
  font-style: none;
  margin-bottom: 10px;
  float: left;
}

.commentaire strong {
  color: var(--bleu);
}

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

#portfolio p {
  margin-bottom: 10px;
}

#portfolio-filter {
  overflow: hidden;
  margin-bottom: 15px;
}

#portfolio-filter li a {
  float: left;
  margin-right: 10px;
  color: #fff;
  background-color: #666;
  padding: 8px;
  margin-bottom: 5px;
  border-radius: 2px;
  margin-bottom: 10px;
}

#portfolio-filter li a:hover {
  background-color: var(--bleu);
}

#portfolio-filter li a.current {
  background-color: var(--bleu);
}

/* Liste des images */

#portfolio-list li {
  text-align: center;
  background-color: #fdfdfd;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
  width: 270px;
  height: 270px;
  padding: 5px;
  margin-bottom: 40px;
  border-radius: 10px;
}

#portfolio-list li:hover {
  background-color: #fdfdfd;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

#portfolio-list li .portfolio-description.orange {
  background: rgba(247, 152, 32, 0.95);
}

#portfolio-list li .portfolio-description.green {
  background: rgba(169, 206, 34, 0.95);
}

#portfolio-list li .portfolio-description.grey {
  background: rgba(51, 51, 51, 0.95);
}

#portfolio-list li .portfolio-description.blue {
  background: rgba(152, 199, 212, 0.95);
}

#portfolio-list li .portfolio-description.red {
  background: rgba(231, 75, 78, 0.95);
}

#portfolio-list li .portfolio-description h4 {
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  font-size: 1.06em;
  line-height: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #fff;
  margin-bottom: 5px;
}

#portfolio-list li .portfolio-description p {
  color: #fff;
}

#portfolio-list li .portfolio-description {
  position: absolute;
  display: none;
  height: 270px;
  width: 270px;
  background: rgba(247, 152, 32, 0.95);
  text-align: left;
  cursor: pointer;
  margin: 0;
  border-radius: 10px;
}

#portfolio-list li .portfolio-text {
  padding: 20px;
  margin: 0;
}

#portfolio-list li .portfolio-text a {
  color: #fff;
}

#portfolio-list li .portfolio-text a:hover {
  text-decoration: underline;
}

#portfolio-list li .zoom-item {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 50px;
  width: 50px;
  text-indent: -9999px;
  display: block;
  background: url("../img/zoom-item.png") no-repeat;
}

#portfolio-list li img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Filtres des vignettes */

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

.isotope,
.isotope .isotope-item {
  /* durée de l'animation du déplacement des vignettes */
  transition-duration: 2.8s;
}

.isotope {
  transition-property: height, width;
}

.isotope .isotope-item {
  transition-property: transform, opacity;
}

/* ------ Onglet contact ------- */

#contact h4,
#envoi h4,
#echecenvoi h4 {
  font-size: 1em;
  background-color: #f8f8f8;
  margin-top: 25px;
  text-transform: uppercase;
}

#contact h4 span,
#envoi h4 span,
#echecenvoi h4 span {
  background-color: #fdfdfd;
  padding-right: 15px;
}

#contact .untiers-colonne,
#envoi .untiers-colonne,
#echecenvoi .untiers-colonne {
  width: 40%;
  min-width: 250px;
}

#contact .deuxtiers-colonne,
#envoi .deuxtiers-colonne,
#echecenvoi .deuxtiers-colonne {
  width: calc(60% - 30px);
}

/* Contact info */

.contact-details li a:hover {
  cursor: pointer;
}

.contact-details li,
.mentions-details li {
  margin-bottom: 7px;
  color: #7f7f7f;
  padding-left: 0;
  padding: 2px;
  padding-left: 0;
  border-bottom: 1px dashed #ddd;
}

.contact-details li span {
  background-color: var(--rouge);
  color: #fff;
  padding: 5px;
  width: 7.4em;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  margin-right: 10px;
  margin-bottom: 5px;
}

.mentions-details li span {
  background-color: var(--vert);
  color: #fff;
  padding: 5px;
  width: 7.4em;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 5px;
}

.contact-details li:last-child,
.mentions-details li:last-child {
  margin-bottom: 10px;
  border-bottom-width: 0;
}

/* Formulaire contact */

#contactform {
  width: 100%;
  padding-bottom: 25px;
}

.colonne {
  width: 48%;
}

#contactform label {
  display: inline-block;
  font-size: 0.86em;
  font-weight: 400;
  color: #7f7f7f;
  line-height: 2.3em;
}

#contactform input {
  line-height: 20px;
  height: 20px;
  width: 85%;
}

#contactform textarea {
  width: calc(100% - 12px);
  height: 140px;
  resize: none;
}

#contactform input,
#contactform textarea {
  padding: 8px;
  border: 1px dashed #ddd;
  background-color: #fdfdfd;
  color: #333;
  font-size: 0.86em;
  border-radius: 5px;
}

#contactform #captcha {
  width: 40px;
}

#contactform button {
  display: block;
  font-size: 0.86em;
  text-decoration: none;
  color: #fff;
  position: relative;
  padding: 12px 15px;
  border-width: 0;
  background: var(--bleu);
  cursor: pointer;
}

#contactform button:active {
  top: 3px;
  box-shadow: inset 0px 1px 0px var(--bleu), 0px 2px 0px 0px #639bdc,
    0px 5px 3px #7f7f7f;
}

.error {
  color: red;
  font-style: italic;
  padding-bottom: 10px;
}

/* Plan */

#map0,
#map1,
#map2 {
  width: calc(100% - 4px);
  height: 270px;
  margin-bottom: 5px;
  border: 2px solid #f1f1f1;
  border-radius: 8px;
}

#map0>div,
#map1>div,
#map2>div {
  border-radius: 8px;
}

.olControlAttribution {
  right: 10px !important;
  bottom: 10px !important;
  font-size: 12px !important;
}

#OL_Icon_22_innerImage {
  width: auto !important;
}

/* ------ Pied de page ------- */

.footer-strip {
  clear: both;
  background: var(--bleu);
}

.footer {
  padding: 10px 0;
  font-size: 0.8em;
  text-transform: uppercase;
  color: #fff;
}

.footer a {
  color: #fff;
}

.footer .copyright {
  margin-left: 40px;
}

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

input,
textarea {
  font-size: 0.8em;
  margin-bottom: 15px;
  transition: border linear 0.2s, box-shadow linear 0.2s;
  font-family: "Poppins", sans-serif;
}

input:focus,
textarea:focus {
  border-color: rgba(82, 168, 236, 0.8) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(82, 168, 236, 0.6);
  outline: 0;
  outline: thin dotted \9;
}

/* -------	Media Queries -------- */

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

  .page,
  .header,
  .footer {
    width: 95%;
  }

  ul.details li {
    width: 100%;
  }

  .contact-info {
    width: 15.9em;
  }

  .contact-form {
    width: 26.2em;
  }

}

@media screen and (max-width: 1130px) {
  #accueil .untiers-colonne {
    display: none;
  }

  #accueil .deuxtiers-colonne {
    width: 100%;
  }
}

@media screen and (max-width: 1000px) {
  body {
    /*font-size: 15px;*/
    margin: 0;
  }

  header {
    height: auto;
  }

  #photo-slider {
    display: none;
  }

  .untiers-colonne {
    width: 100% !important;
  }

  .deuxtiers-colonne {
    width: 100% !important;
  }

  .moitie-colonne {
    width: 100%;
  }

  #accueil,
  #formation,
  #portfolio,
  #contact,
  #envoi,
  #echecenvoi,
  #depannage {
    padding: 15px 20px;
  }

  a.logo {
    margin: 20px;
  }

  #slider {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #menu {
    display: none;
    position: absolute;
    background-color: #666;
    left: 100vw;
    width: 250px;
    height: 100vh;
  }

  .tabs li {
    display: block;
    color: white;
    padding: 1em;
    width: auto;
    height: auto;
    margin: 0;
  }

  .tabs li>a {
    font-size: 1em;
    padding: 1em;
    background-image: none !important;
  }

  #icone_burger {
    display: inline-block;
  }

  p {
    line-height: 1.6em;
  }

  #photo-slider {
    display: none;
  }

  img[src="img/informatique-chiant.svg"] {
    display: none;
  }

  .grille_gauche {
    grid-template-columns: 90px 22px auto;
  }

  .grille_droite {
    grid-template-columns: auto 22px 80px;
  }
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  body {
    font-size: 14px;
  }

  .colonne {
    width: 100%;
  }

  #portfolio-list li,
  #portfolio-list li .portfolio-description {
    width: 290px;
    height: 290px;
  }

  .tabs li.active {
    border-radius: 0;
  }
}