/****************RESPONSIVE******************/
.d-block {
	display: inline-block !important;
}

.d-block2 {
	display: inline-block !important;
	max-width: 103px;
	max-height: 57px;
}

.hidden {
	display: none;
}

#logo {
	width: 250px;
	height: 110px;
	margin: 15px auto 35px auto;
}

#tgmenu {
	position: fixed;
	top: 10px;
	left: 10px;
	width: 50px;
	height: 50px;
	display: inline-block;
	z-index: 99999;
}

#tgmenu img {
	width: 100%;
	height: 100%;
}

/*****************HEADER****************/

.logo-milstad {
	z-index: 10;
	margin-top: 5px;
	right: 1px;
	/* max-width: 10vw; */
	/* max-height: 10vh; */
	height: 50px;
}

.logo-qualiopi {
	z-index: 10;
	margin-top: 5px;
	right: 1px;
	/* max-width: 10vw; */
	/* max-height: 10vh; */
	height: 80px;
}

#q-action {
	text-transform: uppercase;
	/* color: #e1000f; */
	font-weight: bold;
}

.image-header {
	display: none;
}

.ressocFace {
	max-width: 4vh;
	display:inline-block;
}

.ressocLink {
	max-width: 4vh;
	display:inline-block;
	left: 0;
}

a {
	color: #666666;
	font-size: 18px;
}

a.pdf {
	color: #ad2928;
}

a.cpf{
	color: #ad2928;
}

a:hover {
	color: #ea7327;
	text-decoration: none;
}

a.mentions {
	color: #ea7327;
	font-size: inherit;
}

a.calendrier {
	color: #ea7327;
}

a.calendrier:hover {
	color: #000000;
	text-decoration: none;
}

#error, #information {
	text-align: center;
	/* background-color: #ff9187; */
}

/*****************NAVBAR****************/
nav {
	grid-area: nav;
	position: sticky;
	top: .5em;
	z-index: 1000;
	text-align: left;
	background-color: #fff;
	/*min-height: calc(100vh - 60px);*/
	max-height: 100%;
	display: none;
	overflow: auto;
	color: #03224c;
}

nav.open {
	display: block;
	position: fixed;
	top: 70px;
}

nav ul {
	display: inline-block;
	list-style-type: none;
	padding: 10px 10px 10px 10px;
	background-color: #03224c;
	color: #fff;
	height: 10%;
	margin: none;
	width: 100%;
}

.navbar {
	display: inline;
	padding: 10;
	background-color: #03224c;
	color: #fff;
	height: 15vh;
}

nav ul li {
	display: inline-block;
	padding-left: 5px;
	width: calc(100% - 10px);
}
/************* ADD display: inline;*****************/
nav ul li.active {
	color: #ccc;
	border-left: 3px solid #ea7327;
}

nav ul li a {
	display: inline-block;
	/*display: inline;*/
	width: 100%;
	padding: 0;
	text-decoration: none;
	font-family: Arial;
	font-size: 16px;
	font-weight: normal;
	color: #fff;
	letter-spacing: 1px;
}

.handi {
	margin: auto;
	text-align: left;
}

/*************************CONTAINER***********************/
html {
	box-sizing: border-box;
}

body {
	text-align: center;
}

p {
	margin-bottom: 0.5rem;
	font-size: 14px;
}

h2.page {
	display: inline-block;
	font-size: 5vh;
	color: #03224c;
	font-family: Arial Rounded MT;
	font-weight: bold;
}

h2.title-header {
	display: inline-block;
	font-size: 5vh;
	color: #03224c;
	font-family: Arial Rounded MT;
	font-weight: bold;
}

a.recrutement {
	color: #000000;
}

.picto1 {
	width: 10vh;
}

.picto2 {
	width: 10vh;
}

.dropbtn::after {
	margin-left: 20px;
	content: ">";
}

.dropdown-content {
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
	min-width: 200px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	background-color: white;
	z-index: 1;
}

.dropdown-content a {
	border-bottom: 1px solid #ea7327;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.title {
	grid-area: img;
	margin: auto;
	position: relative;
	text-align: center;
	width: 100vw;
}

.title.h40 {
	height: 40vh;
}

h1 {
	font-size: 1.5rem;
}

.title h1 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

.title img {
	width: 100%;
}

.carousel {
	display: none;
}

.carousel img {
	height: 35vh;
}

img.stars {
	width: 4vh;
	display: inline-block;
}

img.stars a:hover{
	background-image: "src(img/etoile.png)";
	width: 4vh;
	transition: color .4s;
	display: inline-block;
}

img.qrcode {
	display: none;
}

.text {
	grid-area: text;
	margin-bottom: 15px;
	padding: 5px;
	font-size: 1rem;
	line-height: 1.3;
	text-align: justify;
}

.text h1,
.text h2,
.text h3 {
	text-align: center;
}

h3 {
	margin-top: 1em;
	font-size: 16px;
}

.text .offre {
	display: inline-block;
	margin: 10px;
	padding: 0 5px;
	border: 1px solid black;
}

.text p:first-child {
	margin-top: 20px;
}

.text img {
	display: inline-block;
	max-width: 100%;
	padding: 7px;
}

.sptop {
	margin-top: 1em;
}

.sptop p {
	text-align: left;
}

ul.menu {
	list-style-type: none;
	padding: 0 15px;
}

ul.menu li {
	border: 1px solid #ea7327;
	width: 25%;
}

ul.menu.lg li {
	width: 100%;
}

ul.menu li a {
	display: inline-block;
	padding: 10px 0 15px 10px;
	width: calc(100% - 10px);
	text-decoration: none;
	font-family: Arial;
	font-size: 20px;
	font-weight: bold;
	/* color: #ad2928; */
	color: black;
	letter-spacing: 1px;
}

button {
	border: none;
	border-radius: 5px;
	margin-bottom: 10px;
	background-color: #03224c;
}

.row {
	justify-content: space-around;
}

.tile {
	color: #03224c;
	margin: 10px;
	width: 30vh;
	height: 30vh;
	text-align: center;
	padding: 5px;
	font-weight: 100;
	display: inline-block;
	position: relative;
}

.tile img {
	display: inline-block;
	margin: auto;
	width: 100%;
	height: auto !important;
	vertical-align: middle;
}

.tile div {
	position: absolute;
	/*margin-top: 10px;*/
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%);
}

.credits {
	font-size: 10px;
}

.credits a {
	color: inherit;
}

#mentions {
	margin-left: 2em;
}

iframe {
	width: 95%;
	height: 800px;
	margin-right: auto;
	margin-left: auto;
}

.col {
	margin: auto;
}

em {
	text-decoration: underline;
}

.bold {
	font-weight: bold;
}

/************FORMULAIRE PLAQUETTE**********/

table.formPlaquette {
	width: 90vw;
	margin: auto;
}

table.formPlaquette tr td:first-child {
	text-align: right;
}

table.formPlaquette tr td:nth-of-type(2) {
	text-align: left;
	padding-left: .5em;
}

label {
	font-size: 12px;
}

#lname,
#fname,
#tel,
#societe,
#fonc,
#email {
	width: 75%;
}

input[name="lu"] + label {
	display: inline;
}

/******************FOOTER*****************/

footer {
	grid-area: footer;
	align-self: center;
	background-color: #03224c;
	height: auto;
}

.certification {
	max-width: 4vh;
	right: 0;
}


/**********************************************DESKTOP*************************************************/


@media (min-width: 840px) {

/**************HEADER**************/
	.image-header {
		display: inline-block;
	}

	#tgmenu {
		display: none;
	}

	#logos img {
		height: auto;
		max-width: 10vw;
		max-height: 10vh;
		display: block;
	}

	.logo-milstad {
		z-index: 10;
		position: fixed;
		top: 10px;
		left: 0;
		max-width: 10vw;
	}

	#qualiopi {
		z-index: 10;
		position: fixed;
		top: 10px;
		right: 0;
		max-width: 10vw;
	}

	#qualiopi p {
		margin: 5px;
	}

	nav {
		width: 15vw;
		text-align: right;
		padding: 10;
		background-color: #03224c;
		color: #fff;
		height: 20px;
		display: inline;
	}

	nav ul li {
		display: inline;
		margin: 0 .5rem;
	}

	nav ul li a {
		font-size: 18px;
		width: auto;
	}

	nav.open {
		display: inline;
	}


/*********** HEADER-CAROUSEL************/
	.d-block {
	display: inline-block !important;
	}

	.carousel {
		height: 30vh;
		display: block;
	}

	.carousel img {
		height: 30vh;
	}


/***************CONTENT**************/
	body {
		text-align: left;
		width: 80%;
		margin: 0 auto;
	}

	img.word {
		max-width: 15%;
		max-height: auto;
	}

	img.word1 {
		max-width: 20%;
		max-height: auto;
	}

	img.word2 {
		max-width: 20vh;
		max-height: 20vh;
	}
	

	.handi {
		width: 50vw;
	}

	.text-card {
		border-color:#ea7327;
		border-width:1px;
		border-style: solid;
	}

	.card {
		justify-content: space-between;
		flex-direction: row;
		border: none;
		padding: 15px;
	}

	.text-card:nth-of-type(2n) .card {
		flex-direction: row-reverse;
	}

	.text-card p {
		text-align: left;
	}

	img.qrcode {
		max-width: 20vh;
	}

	td img {
		padding: 10px;
	}

	td  {
		padding: 10px;
	}

	.grid {
		display: justify; /* ancien : grid */
		grid-template-columns: 15vw auto;
		grid-template-rows: auto auto 60px;
		grid-template-areas: "nav img"
							"nav text"
							"footer footer";
		grid-column-gap: 30px;
	}

	.grid.two {
		grid-template-rows: auto 60px;
		grid-template-areas: "nav text"
							"footer footer";
	}

	.picto1 {
		width: 10%;
	}

	.picto2 {
		width: 10%;
	}

	h2.page {
		text-align: right;
		display: block;
		font-size: 10vh;
		color: #03224c;
		font-family: Arial Rounded MT;
		font-weight: bold;
		margin-bottom: -15px;
	}

	h2.title-header {
		display: inline-block;
		font-size: 10vh;
		color: #03224c;
		font-family: Arial Rounded MT;
		font-weight: bold;
	}

	h2.center {
		text-align: center;
	}

	h3 {
		margin-top: 1em;
		margin-left: 1em;
		font-size: 18px;
	}
	.text h1,
	.text h2,
	.text h3 {
		text-align: left;
	}

	.text header {
		display: flex;
		justify-content: space-between;
		margin-bottom: 1rem;
	}

	.text header h1 {
		display: inline-block;
	}

	.text header a {
		color: black;
		padding: 0.2rem 1rem;
		display: inline-block;
		border: 1px solid #ea7327;
		border-radius: .3em;
	}

	.text {
		width: 80vw;
		text-align: center;
	}

	.text.narrow {
		max-width: 100%; /*ancien: 65% */
		text-align: left;
	}

	.text.rshift10 {
		padding-left: 10%;
		margin-top: auto;
		text-align: left;
	}

	.text .col img {
		height: 150px;
	}

	.title {
		width: 80vw;
	}

	.title img {
		width: 600px;
		display: block;
		margin: auto;
	}

	.title h1 {
		line-height: 40vh;
		height: 40vh;
	}

	.calendrier {
		display: inline;
	}

	h3.center {
		text-align: center;
	}

	button {
		border: none;
		border-radius: 5px;
		margin-bottom: 10px;
		background-color: #03224c;
	}

	.separateur {
		background-color: #03224c;
		height: 15px;
		width: 100wv;
	}
/***************************************************/

img.stars {
	width: 5vh;
	display: inline-block;
}

img.stars a:hover{
	background-image: "src(img/etoile.png)";
	width: 5vh;
	transition: color .4s;
	display: inline-block;
}

/********* ARTICLES FORMATIONS *********/

td.sysinfo {
	text-align: left;
}

.text p/*:first-child*/ {
	font-size: 16px;
}

/******* CADRE ARTICLE FORMATION *******/


/***********PARTNER-CAROUSEL************/
	.d-block2 {
		display: inline-block !important;
		max-width: 207px;
		max-height: 115px;
	}

	.lSPrev, .lSNext {
		background-color: #03224c;
	}

	.lSAction > a {
		margin-top: 0;
		top: 5%;
	}


/*******PAGE FORMATIONS-->FORMULAIRE PLAQUETTE********/
	table.formPlaquette {
		margin: auto;
		width: 70%;
		text-align: center;
	}

	label {
		font-size: 16px;
	}

	#lname,
	#fname,
	#tel,
	#societe,
	#fonc,
	#email {
		width: 80vh;
	}

	h3.formation {
		text-align: center;
	}


/*************FOOTER*************/
	.footer {
		background-color: #03224c;
		height: auto;
		text-align: center;
	}

	.certification {
		max-width: 5vh;
		right: 0;
	}

	.ressocFace {
		max-width: 4%;
		display:inline-block;
	}

	.ressocLink {
		max-width: 4%;
		display:inline-block;
	}

	.pfooter {
		color: #ffffff;
	}

	.hrfooter {
		background-color: #ea7327 !important;
		height: 0.5px;
		width: 100wv;
	}
}