﻿body
{
    font-family: Arial, Helvetica, sans-serif;
    color: #181818;
}

@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  src: local('Pacifico Regular'), local('Pacifico-Regular'), url(https://fonts.gstatic.com/s/pacifico/v12/FwZY7-Qmy14u9lezJ-6H6MmBp0u-.woff2) format('woff2');
  font-display: swap;
}

* {
    box-sizing: border-box;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 4%; /* 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.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #f6f6f6;
  margin: auto;
  padding: 10px 10px 0px 10px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 36px;
  font-weight: bold;
  padding-right: 5px;
}

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

#bloc_page
{
    max-width: 1150px;
    margin: auto;
}

/* Header */

#entreprise
{
    display: inline-block;
	width: 68%;
	padding-top: 15px;
	padding-bottom: 15px;
	color: #5a808c;
	font-size: 2.2em;
}

#produit
{
    display: inline-block;
	width: 32%;
	padding-top: 15px;
	padding-bottom: 15px;
    text-align: right;
	color: #2f4650;
	font-size: 1.8em;
}

img {
	max-width: 100%;
    height: auto;
}

.bouton {
	display: inline-block;
	color: #444;
	border: 1px solid #CCC;
	background: #DDD;
	cursor: pointer;
	vertical-align: middle;
	padding: 5px;
	text-align: center;
	width: 100%;
	margin: 2px;
}
.bouton:active {
    color:red;
}

/* Navigateur gauche */

#NavGauche
{
    display: inline-block;
    margin-top : 12px;
    width: 28%;
	padding: 2px;	
    border: 5px solid #999;
}
#NavGauche ul {
    padding:0;
    margin:0;
    list-style:none;
    text-align: left;
}
#NavGauche ul li {
    background-color:#f1f1f1;
    margin-bottom: 2px;
    border:solid 1px #a6a6a6
}
.titre {
    background-color:#ccc; 
    margin: 0px 0px 2px 0px;
    border:solid 1px #a6a6a6;
    padding: 8px 10px;
    text-transform: uppercase;
	font-weight: bold;
}
#NavGauche ul li ul li {
    max-height:0;
    overflow: hidden;
    background: #cccccc;
    border:none;
    margin:0
}
#NavGauche ul a {
    display:block;
    text-decoration: none;
    color: #404040;
    padding: 8px 10px;
    font-size:1em
}
#NavGauche ul li:hover {
    background: #f1f1f1
}
#NavGauche ul li li:hover {
    background: #999;
}

/* Corps */

section h1
{
    font-weight: bold;
	font-size: 22px;
	padding: 0px;
	margin: 10px 0px;
	color: #0083ca;
}

.article1 h2 {
	font-size: 18px;
    color: white;
	background-color: #f58221;
	padding: 10px;
	margin: 0px;
}

.article1 h3 {
	margin: 2px 0px;
}

#myH32 {
	background-color: #8dc63f;
}


article {
	display: inline-block;
    vertical-align: top;
    width: 70%;
	margin-top: 10px;
}

.article
{    
    padding: 15px;
    border: 5px solid #999;
	background-color: #fafafa;
}

.article1
{    
    text-align: justify;
	padding: 15px;
    border: 5px solid #999;
	background-color: #fafafa;
}

.article2
{
    text-align: justify;
	padding: 15px;
	margin-top: 10px;
    border: 5px solid #999;
	background-color: #fafafa;
}

.formule
{
    background-color: #e0ebeb;
	overflow-x:scroll;
	white-space: nowrap;
	padding: 3px;
}

.myDiv1 {
	border: 3px solid #f58221;
	margin-bottom: 10px;
}

.myDiv2 {
	border: 3px solid #8dc63f;
	margin-bottom: 10px;
}

canvas, .div_fond {
	background-color: #99dbff;
}

articleForum
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
    width: 1100px;
    margin-left: 15px;
}

/* Table */

#tableRecherche {
    border: 1px solid black;
    table-layout: fixed;
    width: 100%;
}

.tableListe {
	margin:0px;padding:0px;
	width:100%;
	border:1px solid #000000;
} .tableListe tr th {
	background-color:#8a8a5c;
	border:0px solid #000000;
	text-align:center;
	border-width:0px 0px 1px 1px;
	font-size:18px;
	font-family:Comic Sans MS;
	font-weight:bold;
	color:#ffffff;
} .tableListe tr td {
	border:0px solid #000000;
	border-width:0px 0px 1px 1px;
	font-size:14px;
	font-family:Comic Sans MS;
	padding-left:4px;
	color:#000000;
} .tableListe tr:nth-child(odd) {
	background-color: #e0e0d1;
} .tableListe tr:nth-child(odd) td {
	border-bottom-style: none;
} .tableListe tr {
	height: 32px;
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
}

article p, ul
{
    font-size: 1em;
}

aside img
{
    margin-right: 5px;
}

/* Invites */

.Invite {
    display: inline-block;
	vertical-align: top;
	width: 200px;
}

/* Invites */

.NB {
    font-size: small;
}

pre
{
	background-color: #f1f1f1;
	padding: 10px; 
	border:solid 2px #a6a6a6;
}

.champ {
    margin: 0px;
	padding: 5px 13px;
	border: 1px #cccccc solid;
}

.boutons {
    padding: 12px 12px 12px 12px;
	border: 1px #cccccc solid;
}

.boutons div {
	padding: 4px 0px 4px 0px;
	display: inline-block;
	width: 50%;
	text-align: center;
}

input, select, textarea {
	padding: 2px;
}

input:invalid {
  border: 2px dashed red;
}

input:valid {
  border: 1px solid black;
}

#messageErreur {
	padding: 10px;
	color: #FF0000;
}

.cpc {
	display: inline-block;
	vertical-align: middle;
	width: 48%;
	padding: 10px;
}

.cpc1 {
	display: inline-block;
	vertical-align: middle;
	width: 64%;
	padding: 10px;
}

.cpc2 {
	display: inline-block;
	vertical-align: middle;
	width: 34%;
	padding: 10px;
}

label {
	display: inline-block;
	vertical-align: middle;
}

h4 {
	margin: 10px 0px;
}

hr {
	margin: 4px;
}

#instructions, #instructions1 {
	text-align: center;
	color: red;
	height: 60px;
	border: 1px #cccccc solid;
	overflow-y: scroll;
	margin-bottom: 10px;
}

#enLigne, #valider, #pdf, #enLigne1, #enLigne2, #valider1, #valider2, #solution1, #fermer {
	width: 100%;
	height: 40px;
	font-size:1.1em;
	margin-top: 10px;
}

.activable {
    border: none;
}
.activable:focus {
    border: thin solid #0000FF;
}
.btnsaisie {
	width: 33%;
	max-height: 30px;
}
#effacer {
	background-size:100% 100%;
	background-repeat: no-repeat;
	background-image: url("images/effacer.png");
}
.etape {
	color: blue;
	//border: thin solid #0000FF;
	text-decoration: underline;
	cursor: pointer;
	//padding: 5px;
}
#instructionsEtape p {
	padding-top: 2px;
	padding-bottom: 2px;
}
@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

.displayC { width: 100%; height: 250px; margin-bottom: 10px;}
@media (max-width:560px) { .displayC { width: 100%; height: 100px; } }
@media (max-width:800px) { .displayC { width: 100%; height: 200px; } }

.displayH1 { width: 100%; height: 90px; margin-bottom: 10px;}
@media (max-width:560px) { .displayH1 { width: 100%; height: 75px; } }
@media (max-width:800px) { .displayH1 { width: 100%; height: 70px; } }

.displayH2 { display:block; width: 100%; height: 200px; margin-bottom: 10px;}
@media (max-width: 800px) { .displayH2 { display: none; } }

.displayH3 { width: 100%; height: 200px; margin-bottom: 10px;}
@media (max-width:800px) { .displayH3 { width: 100%; height: 100px; } }

.displayVV { display:block; width: 100%; height: 600px; margin-bottom: 10px;}
@media (max-width: 800px) { .displayH2 { display: none; } }

.ts {
	margin: 10px 0px;
	border: solid 2px;
	border-collapse: collapse;
	min-width: 100%;
}
.ts td, .ts th {
	border: solid 1px;
	padding: 5px;
}

@media only screen and (max-width: 800px) {
	#entreprise
	{
		font-size: 2.0em;
	}

	#produit
	{
		font-size: 1.6em;
	}
	
    #NavGauche {
        width: 100%;
    }
	
	article {
		width: 100%;
	}
	
	/* Modal Content */
	.modal-content {
	  padding: 5px;
	  width: 95%;
	}

	/* The Close Button */
	.close {
	  font-size: 20px;
	}
}

@media only screen and (max-width: 560px) {
	#entreprise
	{
		width: 100%;
		padding-top: 5px;
		padding-bottom: 5px;
		font-size: 1.8em;
	}

	#produit
	{
		width: 100%;
		padding-top: 5px;
		padding-bottom: 5px;
		font-size: 1.4em;
	}
	
	.modal {
		padding-top: 20%; /* Location of the box */
	}
	
	header nav a, .dropbtn
	{
		font-size: 0.9em;
		padding-bottom: 12px;
	}
	
	header nav li
	{
		font-size: 0.9em;
	}
	
	.boutons div {
		width: 100%;
	}

	.cpc, .cpc1, .cpc2 {
		display: block;
		width: 100%;
	}
	
	.btnsaisie {
		height: 50px;
	}
}
