/* --------------------------- General site ------------------------------------------------------------------------------------------- */

html, body {box-sizing: border-box; margin: 0; padding: 0; font-family: comic sans ms; font-size: 12px; overflow: hidden;}
a:link, a:visited, a:active, a:hover {text-decoration: none; color: #000;}
body {background: url("../image/hexagonal.png"); background-size: 100vw 100vh; background-repeat: no-repeat;}

/*section a
{
	text-decoration: none;
    color: blue !important;
    font-style: italic;
    font-weight: bold;
    text-decoration: green wavy underline !important;
}*/

/* --------------------------- header -------------------------------------------------------------------------------------------------- */

#transfert {display: flex; justify-content: center; align-items: center; height: 100vh; background-color: rgba(0,0,0,0.7); position: absolute; width: 100vw;}
#transfert div {font-size: 40px; font-family: comic sans ms; border: 2px solid cadetblue; padding: 10px; border-radius: 30px; background-color: wheat; box-shadow: 0px 5px 5px 0px #656565;}
#transfert div a {text-decoration: none; color: cornflowerblue;}

figure, .ligne, fieldset
{
	background-color: rgba(255,255,255) !important;
}

header
{
	display: grid;
	grid-template-columns: 100px 1fr;
	justify-content: center;
	align-items: center;
	height: 100px;
	background: rgba(246,41,14,1);
	background: -moz-linear-gradient(left, rgba(246,41,14,1) 0%, rgba(240,50,25,1) 0%, rgba(209,232,250,1) 0%, rgba(98,147,192,1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(246,41,14,1)), color-stop(0%, rgba(240,50,25,1)), color-stop(0%, rgba(209,232,250,1)), color-stop(100%, rgba(98,147,192,1)));
	background: -webkit-linear-gradient(left, rgba(246,41,14,1) 0%, rgba(240,50,25,1) 0%, rgba(209,232,250,1) 0%, rgba(98,147,192,1) 100%);
	background: -o-linear-gradient(left, rgba(246,41,14,1) 0%, rgba(240,50,25,1) 0%, rgba(209,232,250,1) 0%, rgba(98,147,192,1) 100%);
	background: -ms-linear-gradient(left, rgba(246,41,14,1) 0%, rgba(240,50,25,1) 0%, rgba(209,232,250,1) 0%, rgba(98,147,192,1) 100%);
}

header div
{
	padding: 5px;
}

header div img
{
	height: 80px;
}

header #titre_h1
{
	text-align: center;
	font-size: 36px;
	color: white;
}

/* --------------------------- nac -------------------------------------------------------------------------------------------------- */

nav
{
	background-color: antiquewhite;
	box-shadow: 0px 5px 5px 0px #656565;
	font-weight: bold;
}

nav #projets, nav #choix_projet
{
	display: grid;
	text-align: center;
	height: 30px;
	line-height: 30px;
}

nav #projets
{
	grid-template-columns: 100px repeat(5, 1fr);
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

nav #choix_projet
{
	grid-template-columns: repeat(5, 1fr);
	border-bottom: 1px solid black;
}

nav #projets .accueil
{
	background-color: burlywood;
}

nav #projets div, nav #choix_projet div
{
	border-right: 1px solid black;
}

nav #projets div:last-child, nav #choix_projet div:last-child
{
	border-right: none;
}

nav #projets div:hover, nav #choix_projet div:hover
{
	background-color: #65656566;
	cursor: pointer;
}

nav #choix_projet, nav #acs
{
	display: none;
}

/* ------------------------------------------------------------------------------------------------ */

section
{
	/*display: none;*/
	overflow-y: scroll;
	height: calc(100vh - 132px);
}

/*
#F6AE17
#C1C0C2
#403B3A
*/

@font-face 
{
	font-family: "Tin-Doghouse";
	src: url("../fonts/Tin-Doghouse.ttf") format("truetype")
}

#accueil
{
	display: grid;
}

#accueil #FDMconcept58
{
	display: grid;
	grid-template-rows: 100px 89px 400px;
  	background-color: antiquewhite;
  	width: 1500px;
  	height: 600px;
  	justify-self: center;
  	align-self: center;
  	border-radius: 40px;
  	padding: 20px;
  	box-shadow: 10px 10px 100px 5px rgba(255,255,255,0.71);
  	border: 2px solid black;
}

#accueil #FDMconcept58 aside:nth-child(1)
{
	display: grid;
  	height: 80px;
  	grid-template-columns: 80px 1fr 740px;
  	padding-bottom: 20px;
  	border-bottom: 1px solid black;
  	align-items: center;
  	width: 100%;
}

#accueil #FDMconcept58 aside:nth-child(1) img
{
	width: 100%;
	height: 100%;
}

#accueil #FDMconcept58 aside:nth-child(1) p:nth-child(2)
{
	color: #F6AE17;
  	font-size: xx-large;
  	padding-left: 20px;
	font-weight: bold;
	font-family: 'Tin-Doghouse', comic sans ms;
}

#accueil #FDMconcept58 aside:nth-child(1) p:nth-child(3)
{
	font-weight: bold;
  	background-color: cornsilk;
  	margin: 0;
  	padding: 10px;
  	border-radius: 10px;
  	border: 2px solid #F6AE17;
}

#accueil #FDMconcept58 aside:nth-child(2) p
{
	margin: 0;
  	padding: 10px 0px;
  	font-size: 16px;
  	border-bottom: 1px solid black;
}

#accueil #FDMconcept58 aside:nth-child(2) p a
{
	color: red;
	font-style: italic;
  	font-weight: bold;
}

#accueil #FDMconcept58 aside:nth-child(3) div:nth-child(1)
{
	height: 40px;
	font-size: 20px;
	text-align: center;
	line-height: 40px;
	color: green;
	font-weight: bold;
	border-bottom: 1px solid black;
}

#accueil #FDMconcept58 aside:nth-child(3) div:nth-child(2)
{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 5px;
}

#accueil #FDMconcept58 aside:nth-child(3) div:nth-child(2) img
{
	width: 100%;
}

section article
{
	display: none;
}

.construction
{
	height: 100%;
}

.construction img
{
	display: flex;
	margin: auto;
}

/* -------------------------------------------------------------------- */

section article p
{
	font-size: 14px;
    margin: 10px;
    text-align: justify;
}

section article #photo
{
	display: grid;
	grid-template-columns: repeat(6, 1fr);
}

section article #photo figure
{
    border: 1px solid black;
    margin: 10px;
}

section article #photo figure img
{
	width: 100%;
	cursor: pointer;
}

section article #photo figure figcaption
{
	text-align: center;
	border-top: 1px solid black;
	background-color: gold;
	height: 20px;
	line-height: 20px;
}

section #text
{
	background-color: rgba(255,255,255);
	margin: 10px;
	border: 1px solid black;
}

#photo_zoom
{
	width: 100vw;
    height: calc(100vh - 163px);
    background-color: rgba(0,0,0,0.6);
	position: fixed;
	display: grid;
    top: 163px;
    left: 0;
	justify-content: center;
	align-content: center;
	visibility: hidden;
	opacity: 0;
	transition: visibility 2s;
}

#photo_zoom.visible
{
	opacity: 1;
	visibility: visible;
}

#photo_zoom img
{
	width: 1200px;
    border: 2px solid black;
    background-color: white;
}

#site_fournisseur img
{
	border: 1px solid black;
	margin-left: 20px;
}

#titre
{
	display: grid;
	grid-auto-flow: column;
	justify-content: center;
	margin-top: 30px;
	grid-template-rows: 25px;
}

#titre .titre
{
	display: grid;
    grid-template-columns: 80px 300px 60px 30px 60px;
    margin-left: 20px;
}

#titre .titre div
{
	display: flex;
	justify-content: center;
	align-items: center;
	border-right: 1px solid black;
	border-top: 1px solid black;
	background-color: burlywood;
}

#titre .titre div:nth-child(1)
{
	border-left: 1px solid black;
}

#commande
{
	display: grid;
	grid-template-rows: repeat(11, 60px);
	grid-auto-flow: column;
	justify-content: center;
}

#commande .ligne:nth-child(11), #commande .ligne:nth-child(22)
{
	border-bottom: 1px solid black;
}


#commande .ligne
{
	display: grid;
	grid-template-columns: 80px 300px 60px 30px 60px;
	grid-template-rows: 60px;
	margin-left: 20px;
}

#commande .ligne div
{
	border-top: 1px solid black;
	border-right: 1px solid black;
	display: flex;
    justify-content: center;
    align-items: center;
}

#commande .ligne div:nth-child(1) img
{
	width: 100%;
	height: 100%;
}
#commande .ligne div:nth-child(2)
{
	padding: 10px;
	justify-content: left;
	font-size: 11px;
}

#commande .ligne div:first-child
{
	border-left: 1px solid black;
}

#commande .ligne:last-child div
{
	border-bottom: 1px solid black;
}

.fin
{
	display: grid;
	grid-template-columns: 470px 60px;
	grid-template-rows: 25px;
	margin-left: 20px;
}

.fin div
{
	display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid black;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	background-color: burlywood;
}

.fin div:first-child
{
	border-left: 1px solid black;
	justify-content: right;
	padding-right: 10px;
}

#carte 
{
	display: grid;
	grid-template-areas: "a a" "b c";
	border: 1px solid black;
	margin-top: 20px !important;
	margin: auto;
	width: 800px;
}

#carte p
{
	grid-area: a;
	margin: 0px;
	padding: 6px;
	border-bottom: 1px solid black;
	text-align: center;
}

#carte a
{
	width: 400px;
}

#carte a:nth-child(2)
{
	grid-area: b;
	display: flex;
	border-right: 1px solid black;
}

#carte a:nth-child(3)
{
	grid-area: c;
}

#carte a img
{
	width: 99%;
}

.programme, .mecanique
{
	padding: 30px;
}

fieldset
{
    border: 1px solid black;
    background-color: #80808059;
    border-radius: 10px;
    margin-bottom: 10px;
    width: 900px;
	justify-self: center;
}

fieldset img
{
	width: 100%;
}

legend
{
	text-align: center;
	border: 1px solid black;
	border-radius: 5px;
	padding: 3px 5px;
	background-color: burlywood;
}

code
{
	background-color: black;
	color: white;
	padding: 10px;
	font-size: 14px;
	font-weight: bold;
	margin: 10px;
	border-radius: 10px;
	display: grid;
	width: 870px;
	border-left: 5px solid orange;
	box-shadow: 0px 5px 5px 0px #656565;
}

num
{
	color: gray;
	margin-right: 10px;
}

code .bleu
{
	color: aqua;
}

code .violet
{
	color: blueviolet;
}

code .vert
{
	color: greenyellow;
}

code .gris
{
	color: gray;
}

code .rouge
{
	color: red;
}

 code .jaune
 {
 	color: yellow;
 }

code .t1
{
	margin-left: 10px;
}

code .t2
{
	margin-left: 20px;
}

code .t3
{
	margin-left: 30px;
}