/* En général */
#bloc-page
{
	display: flex;
}

* {box-sizing: border-box;}

#fond {
    background-color: blue;
    display: none; // par défaut lors du chargement du site le fond opaque n'est pas visible
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 0;
}
#popup {
    width: 350px;
    background-color: white;
    padding: 0 20px 20px;
    height: auto;
    z-index: 9;
    position: fixed;
    display: none; // par défaut lors du chargement du site la popup n'est pas visible
    top: 200px;
    right: 0px;
    left: 0;
    margin: 0 auto;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 4px #48312B solid;
}
#close {
    width: 30px;
    height: 30px;
    position: relative;
    top: -10px;
    right: -350px;
    background-color: #000;
    color: white;
    line-height: 30px;
    text-align: center;
    font-size: 20px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  max-height: 700px;
  margin: auto;
  position: absolute;
    width: 60%;
    left: 25%;
    top: 500px;
    height: 400px;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 25%;
  text-align: center;
  background-color: black;
  opacity: 0.5;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  opacity: 0.0000000000001;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media all and (max-width: 300px) {
  .text {font-size: 11px}

}


/* Fin du code général */
/* Début de la création du menu header*/
@font-face 
{
    font-family: "conthrax-sb";
    src: url('conthrax-sb.ttf');
}

.header {	
  background-color: #00bf00;	
  width: 100%;
  height: 8%;
  font-family: "conthrax-sb";
  position: fixed; 
  top: 0; 
  left: 0;
  z-index: 10000;
}

.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 1em;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.header-right .t1d:hover {
  background-color: #333333;
  color: white;
}
  
.header-right {
  float: right;
}

@media all and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
} 

.picto
{
	float: left;
}

.pprincipal
{
	margin-top: 20%;

}

.picto:hover {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s; 
    /* When the animation is finished, start again */
    animation-iteration-count: infinite; 
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}
/* Fin de la création du menu header */


/* Début de la création du menu header*/
#mySidenav a {
    position: absolute; /* Position them relative to the browser window */
    left: 3px; /* Position them outside of the screen */
    transition: 0.3s; /* Add transition on hover */
    padding: 15px; /* 15px padding */
    width: 110px; /* Set a specific width */
    text-decoration: none; /* Remove underline */
    font-size: 15px; /* Increase font size */
    color: white; /* White text color */
    border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
}

#mySidenav a:hover {
    left: 0; /* On mouse-over, make the elements appear as they should */
    background-color: white;
    color: rgb(52, 61, 70);
    left: -15px;
    transition: 0.3s;
}

/* The about link: 20px from the top with a green background */
#panneaux {
    top: 180px;
    background-color: #00bf00;
    
}

#terrasse {
    top: 240px;
    background-color: #00bf00; /* Blue */
    
}

#bardage_meleze {
    top: 300px;
    background-color: #00bf00; /* Red */
    
}

#bois_de_construction {
    top: 360px;
    background-color: #00bf00;
     /* Light Black */
    
}

#decoupe_et_prestation {
    top: 425px;
    background-color: #00bf00; /* Red */
    
}

#moulure {
    top: 505px;
    background-color: #00bf00; /* Red */
    
}


#nos_partenaires {
    top: 570px;
    background-color: #00bf00; /* Red */
    
}

#contact {
    top: 660px;
    background-color: #00bf00; /* Red */
    
}

#mySidenav #menu {
    position: absolute; /* Position them relative to the browser window */
    left: -15px; /* Position them outside of the screen */
    transition: 0.3s; /* Add transition on hover */
    padding: 30px; /* 15px padding */
    padding-bottom: 2px;
    width: 100px; /* Set a specific width */
    text-decoration: none; /* Remove underline */
    font-size: 20px; /* Increase font size */
    color: white; /* White text color */
    border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
    top: 120px;
    background-color: rgb(0,0,0);
}

#menu:hover
{
  opacity: 0.3;
}

/* Fin de la création du menu header */

/* Début page actualités */



/* Fin page actualités */

/* Social barre */

.icon-bar {
  position: fixed;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* Style the icon bar links */
.icon-bar a {
  display: block;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

/* Style the social media icons with color, if you want */
.icon-bar a:hover {
  background-color: #000;
}

.facebook {
  background: #3B5998;
  color: white;
}

.twitter {
  background: #55ACEE;
  color: white;
}

.google {
  background: #dd4b39;
  color: white;
}

.linkedin {
  background: #007bb5;
  color: white;
}

.youtube {
  background: #bb0000;
  color: white;
}

/* Fin sociale barre */

/* Début du footer */
@media all and (max-width: 1440px) {
 #conteneur
  {
  	margin-top: 170%;
      display: flex;
      flex-direction: column;
      width: 70%;
      padding-left: 5px;
      left: 0px;
      float: left;
  }
}
.element
{
	border: 1px solid white;
	border-radius: 1em;
	padding-bottom: 20px;
	padding-left: 6px;
	background-color: #00bf00;
}

.contact_mail_conteneur
{
	color: #2555a3;
	text-decoration: none;
}

.li_de_mail
{
	list-style: none;
}

h3
{
  color: white;
  font-size: 1em;
  float: left;
}

em
{
  opacity: 0.0005;
}

/* Fin du footer */

/* réglage media queries */ 

@media all and (max-width: 1920px) {

  #conteneur
  {
    margin-top: 300%;
      display: flex;
      flex-direction: column;
      width: 60%;
      padding-right: 5px;
      right: 0px;
      float: right;
  }

  }

#titre
{
    position: absolute;
    text-align: center;
    width: 60%;
    left: 20%;
    padding-bottom: 30px;
    top: 300px;
    color: #00bf00;
    font-size: 2em;
    text-decoration: underline;

}

h3
{
   font-family: "conthrax-sb";
}
  @font-face
{
    font-family: "conthrax-sb";
    src: url('conthrax-sb.ttf');
}

@media all and (max-width: 1100px)
{
	#bloc-page
	{
		width: auto;
	}
	#conteneur
	{
		display: none;
	}
	.p-presentation
	{
		height: 100px;
		overflow: scroll;
	}
	
  #mySidenav a {
    position: absolute; /* Position them relative to the browser window */
    left: 3px; /* Position them outside of the screen */
    transition: 0.3s; /* Add transition on hover */
    padding: 15px; /* 15px padding */
    width: 110px; /* Set a specific width */
    text-decoration: none; /* Remove underline */
    font-size: 15px; /* Increase font size */
    color: white; /* White text color */
    border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
}

#mySidenav a:hover {
    left: 0; /* On mouse-over, make the elements appear as they should */
    background-color: white;
    color: rgb(52, 61, 70);
    left: -15px;
    transition: 0.3s;
}
    .header {	
  	background-color: #00bf00;	
 	width: 100%;
 	height: 13%;
  	font-family: "conthrax-sb";
  	position: fixed; 
  	top: 0; 
  	z-index: 10000;
    }
    .t1d
    {
    	display: none;
    }
    .imglogo1
    {
    	display: none;
    }
    #titre
    {
    position: absolute;
    text-align: center;
    width: 60%;
    left: 20%;
    padding-bottom: 30px;
    top: 300px;
    color: #00bf00;
    font-size: 20px;
    text-decoration: underline;
    }
    td
    {
      width: auto;
    }
    .para_panneaux
    {
    overflow: scroll;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    color: rgb(41,47,52);
    border-radius: 1em;
    border: 1px solid rgb(41,47,52);
    text-align: center;
    }
    .head-logo
    {
      height: 100px;
      width: 100px;
    }
    .dec
    {
      width: 50px;
      border-radius: 20em;
      flex-direction: row;
    }
}
/* Fin de la page media queries */

/* Page pour nous situer */

iframe
{
  position: absolute;
    width: 60%;
    height: 600px;
    left: 20%;
    padding-bottom: 30px;
    top: 170px;
}

/* Fin page nous situer */

/* début page présentation */

.t-presentation
{    
	position: absolute;
    text-align: center;
    width: 60%;
    left: 20%;
    padding-bottom: 30px;
    top: 300px;
    color: #00bf00;
    font-size: 2em;
    text-decoration: underline;
}

.p-presentation
{
	position: absolute;
	width: 60%;
	border: 1px solid black;
	border-radius: 1em;
    text-align: center;
    left: 20%;
    padding-bottom: 30px;
    top: 400px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    font-family: Comic Sans MS;
    font-size: 20px;
}

.bdac
{
	position: absolute;
    width: 60%;
    left: 20%;
    top: 700px;
    height: 400px;
    border: 1px solid black;
    border-radius: 1em;
}
/* Fin page présentation */

/* Début page panneaux */

.tableau_of_panneaux
{
    position: absolute;
    width: 60%;
    left: 20%;
    top: 200px;
}
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 1em;
    background-color: rgb(40,41,35);
}
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}


.tab button:hover {
    background-color:  #00bf00;
}

.tab button.active {
    background-color:  #50a545;
}


.tabcontent {
    display: none;
    padding: 6px 12px;
}

.tabcontent {
    animation: fadeEffect 5s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 2;}
}


/* image dans page panneaux */


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: fixed;
    top: 150px;
    right: 50px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}	

/* Fin image dans page panneaux */

.para_panneaux
{
    color: rgb(41,47,52);
    border-radius: 1em;
    border: 1px solid rgb(41,47,52);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 800px;
}

.menucp {
    float: left;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    width: 30%;
    height: 300px;
}

/* Style the buttons inside the tab */
.menucp button {
    display: block;
    background-color: inherit;
    color: black;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.menucp button:hover {
    background-color: #ddd;
}

/* Create an active/current "tab button" class */
.menucp button.active {
    background-color: #ccc;
}

/* Style the tab content */
.menucontent {
    float: left;
    padding: 0px 12px;
    border: 1px solid #ccc;
    width: 70%;
    border-left: none;
    height: 330px;
    overflow: scroll;
    background-color: white;
}

.cp1
{
	width: 60%;
	height: 30%;
}

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active1, .accordion:hover {
    background-color: #ccc;
}

.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active1:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* Fin page panneaux */

/* Découpe et prestation */
video
{
  position: absolute;
    width: 60%;
    left: 20%;
    top: 500px;
    height: 400px;
}

/* Fin découpe et prestation */
/* début terrasse */
.img-comp-container {
  position: absolute;
    width: 60%;
    left: 20%;
    top: 700px;
  height: 200px; /*should be the same height as the images*/
}
.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow:hidden;
}
.img-comp-img img {
  display:block;
  vertical-align:middle;
}
.img-comp-slider {
  position: absolute;
  z-index:9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 40px;
  height: 40px;
  background-color: #2196F3;
  opacity: 0.7;
  border-radius: 50%;
}

#terrasse1
{
    position: absolute;
    width: 60%;
    left: 30%;
    top: 900px;
}
#titre1
{
    position: absolute;
    text-align: center;
    width: 60%;
    left: 20%;
    top: 800px;
    color: #00bf00;
    font-size: 2em;
    text-decoration: underline;
}
/* Fin terrasse */

/* début onglet contact */

.titre3
{
	position: absolute;
    text-align: center;
    width: 60%;
    left: 20%;
    top: 200px;
    color: #00bf00;
    font-size: 2em;
    text-decoration: underline;

}
.contact1
{
	position: absolute;
    text-align: center;
    width: 60%;
    left: 20%;
    top: 500px;
}

.tab_contact
{
	position: absolute;
    width: 60%;
    left: 20%;
    top: 500px;
    border: 1px solid black;
    border-collapse: collapse;
    font-size: 18px;
}
.tab_contact td
{
	border: 1px solid white;
    border-collapse:collapse;
}

.buttoncontact
{
	position: absolute;
    width: 20%;
    left: 40%;
    top: 700px;
    height: 5%;
    color: white;
    background-color: #00bf00;
    font-family: "conthrax-sb";
    font-size: 15px;
    border-radius: 1em;
}
.buttoncontact:hover
{
	cursor: pointer;
}

.namecon
{
	font-family: "conthrax-sb";
	background-color: #00bf00;
}

.contsend:hover
{
   color: orange;
   background-color: rgb(40,41,35);
   font-family: "conthrax-sb";
}

/* Fin contact */
/* Bardage */
.description
{
    position: absolute;
    text-align: center;
    width: 60%;
    left: 20%;
    padding-bottom: 30px;
    top: 500px

  }
.listbar
{
    position: absolute;
    
    width: 60%;
    left: 20%;
    padding-bottom: 30px;
    top: 600px
}

legend
{
  text-align: center;
}
fieldset
{
  margin-bottom: 15px;
  border-radius: 1em;
  border-color: rgb(51,51,51);
}
.listdesbar
{
  list-style-image: url('imagelist.png');
}
/* Fin bardage */

/* Découpe et prest */

/* FIN découpe et prest*/

/* PARTENAIRES */
.tablogo
{
     position: absolute;
    width: 60%;
    left: 20%;
    top: 400px
}

.logoreverse1:hover {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.logoreverse2:hover {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}

/* fin partenaires*/
/* Média queries */
  @media all and (min-width: 1600px)
  {
 #conteneur
  {
    margin-top: 200%;
      display: flex;
      flex-direction: column;
      width: 60%;
      padding-left: 5px;
      left: 0px;
      float: left;
  }
}
    @media all and (min-width: 1500px)
  {
 #conteneur
  {
    margin-top: 180%;
      display: flex;
      flex-direction: column;
      width: 80%;
      padding-left: 5px;
      left: 0px;
      float: left;
  }
}

  @media all and (min-width: 1300px)
  {
 #conteneur
  {
    margin-top: 160%;
      display: flex;
      flex-direction: column;
      width: 100%;
      padding-left: 5px;
      left: 0px;
      float: left;
  }
}

  @media all and (min-width: 1200px)
  {
 #conteneur
  {
    margin-top: 120%;
      display: flex;
      flex-direction: column;
      width: 100%;
      padding-left: 5px;
      left: 0px;
      float: left;
  }
}

  @media all and (min-width: 1000px)
  {
 #conteneur
  {
    margin-top: 180%;
      display: flex;
      flex-direction: column;
      width: 100%;
      padding-left: 5px;
      left: 0px;
      float: left;
  }
}

@media all and (max-width: 800px)
{
  header
  {
    width: 80%;
    padding: O;
  }
  .imglogo1
  {
    width: 100%;
  }
}

@media all and (max-width: 500px)
{
    header
  {
    width: 100%;
  }
  .imglogo1
  {
    width: 100%;
  }
}

@media all and (max-width: 750px)
{
  header
  {
    width: 100%;
  }
  .imglogo1
  {
    width: 100%;
  }
}




/* FIn media queries */
/* Début partie V-korr */


.accordion2 {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active2, .accordion2:hover {
    background-color: #ccc;
}

.accordion2:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active2:after {
    content: "\2212";
}

.panel2 {
    padding: 0 18px;
    background-color: rgb(52, 61, 70);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

@media all and (max-width: 750px)
{
  .tablogo
  {
      display: -webkit-flex;
  -webkit-flex-direction: column-reverse;
  display: flex;
  flex-direction: column-reverse;
  }
}

@media all and (min-width: 900px)
{
    .picto
    {
      top: 10px;
      float: left;
    }
}

.dec
{
  width: 150px;
  border-radius: 20em;
  flex-direction: row;

}

.dec:hover
{
  width: 300px;
  height: 300px;
}
.tablinks span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.tablinks span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.tablinks:hover span {
  padding-right: 25px;
}

.tablinks:hover span:after {
  opacity: 1;
  right: 0;
}

.ter1
{
  width: 100%;
}

#tab_primeboard
{
  position: absolute;
  top: 110%;
  margin-left: 100px;

}

.img_primeboard
{
  height: 10%;
  width: 100%;
  border-radius: 20em;
}


