/* Inscription suite */
:root {
  --mdc-theme-primary: #006CB7;
  --mdc-theme-accent: #00a1e4;
}
body {
	padding: 0;
	margin: 0;
}
html, body {
	background-color: #fff;
	color: #37424a;
	/*color: red!important;*/
	font-family: "Barlow", sans-serif;
	font-size: 16px;
	height: 100%;
	line-height: 24px;
	box-sizing: border-box;
	text-align: inherit;
}

body > div.directive {
	min-height: 100%;
	position: relative;
}

h1 {
	font-size: 2rem;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 20px;
	font-family: 'Barlow', sans-serif;
}

h2 {
	font-size: 1.2rem;
	font-weight: 300;
	line-height: 1.2;
	margin-bottom: 10px;
	font-family: 'Barlow', sans-serif;
	width: 100%;
}
h3 {
	color: #006CB7;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.2;
	margin-bottom: 10px;
	width: 100%;
	font-family: 'Barlow', sans-serif;
	margin-top: 1rem;
	border-bottom: 1px solid #006CB7;
	padding-bottom: .75rem;
	margin-bottom: 1rem;
}

p {
	margin-bottom: 15px;
}

.container {
	padding: 0;;
}
.error_container {
	font-size: .875rem;
	background-color: #fad2d2;
	padding: 1rem 1rem 1rem 3rem;
	border-radius: 5px;
	position: relative;
	font-weight: 300;
	margin-bottom: 2rem;
}

.error_container h1 {
	font-weight: normal;
	font-size: 1.4rem;
	color: #D50000;
}

.error_container h1:before {
	content: "!";
	font-size: 1rem;
	font-weight: 600;
	color: #fad2d2;
	display: block;
	position: absolute;
	left: 1rem;
	width: 1.25rem;
	height: 1.25rem;
	background-color: #D50000;
	border-radius: 50%;
	text-align: center;
}

.logo {
	height: 5rem;
	margin-top: -0.25rem;
}

#contenu {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 4rem;
	background: #172962;
	margin: 0;
	max-width: 100%;
	display: flex;
	position: absolute;
	flex-direction: column;
	justify-content: space-between;
	top: 6rem;
	min-height: calc(100vh - 6rem);
}

#contenu:before {
	content: "";
	background-size: 1800px;
	background-position: center top;
	background-repeat: no-repeat;
	background-color: #132966;
	width: 100vw;
	height: 100%;
	position: absolute;
}

#contenu .contenu {
	width: 100%;
	max-width: 43rem;
	position: relative;
	margin-top: 1.5rem;
	margin-left: auto;
	margin-right: auto;
	background-color: transparent;
	max-width: 59rem;
	margin-top: 0;
	padding: 0	2rem;
}

#contenu .contenu .header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	
	padding-top: 7rem;
	padding-bottom: 3rem;
}
#contenu .contenu h1 {
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-size: 3.8rem;
	font-weight: 500;
	letter-spacing: -1px;
	color: white;
	text-shadow: 0 3px 9px rgba(9, 27, 89, 0.62);
	
	
	position: relative;
	margin: 0 0 1rem;
	padding: 0;
}

#contenu .contenu .header h2 {
	font-weight: 400;
	color: white;
	padding-top: 1rem;
	padding-bottom: 0;
	max-width: 33%;
	margin-bottom: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
}

#connexion.directive {
    padding: 0;
}

* {
	box-sizing: border-box;
}
* {
	box-sizing: border-box;
}
* {
	box-sizing: border-box;
}

.principal {
	margin-top: 6rem;
	flex-direction: column;
	display: flex;
	margin-bottom: 1rem;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
.contenu {
	width: 100%;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	max-width: 62rem;
	padding: 0	2rem;
}

.principal .droite {
	margin-top: -2rem;
	padding-left: 3.75rem;
	width: 30rem;
}
.droite .top {
	display: block;
	padding-bottom: 2rem;
	font-size: 1.25rem;
	color: white;
	text-shadow: 0px 2px 5px rgb(50,85,162);
	padding-top: 1rem;
	margin-top: 1rem
}
h2 {
	font-size: 1.2rem;
	font-weight: 400
}
.droite .top h2 {
	width: 70%;
}
.logo {
	z-index: 1;
	pointer-events: none;
	margin-bottom: 2rem;
}
.logo img {
	height: 6rem;
}

.msg-warning {
	background-image: url(/Content/images/icones/i_avertissement_jaune.png);
	background-size: 30px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 7px 10px;
	border: 2px solid #fdb813;
	border-radius: 6px;
	font-size: 16px;
	margin: 12px 0 20px 0;
	min-height: 30px;
	overflow: hidden;
	padding: 10px 30px 5px 50px;
	position: relative;
}

.msg-warning {
	background-image: url(/Content/images/icones/i_avertissement_jaune.png);
	background-size: 30px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 7px 10px;
	border: 2px solid #fdb813;
	border-radius: 6px;
	font-size: 16px;
	margin: 12px 0 20px 0;
	min-height: 30px;
	overflow: hidden;
	padding: 10px 30px 5px 50px;
	position: relative;
}


/* Boîte */

/*.boite {
	background-color: white;
	padding: 3rem 1rem 2rem;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
	border-radius: 1rem;
	margin-bottom: 2rem;
	}*/

.boite .intro {
	min-height: unset;
	color: white;
	font-weight: 500;
	text-align: center;
	font-size: 1.5rem;
	line-height: 1.4;
	padding-right: 7rem;
	padding-left: 7rem;
	width: 100%;
}

.flex-container{
	display: flex;
	justify-content: center;
}

.infobox{
	width: 350px;
	background-color: white;
	color: #006CB7;
	height: 90px;
	display: inline-block;
	font-size: 0.9em;
	font-weight: 600;
}

.formulaire {
	padding: 0 2rem 2rem;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}
.api_cadre {
 	background-color: white;
  max-width: 30rem;
  border-radius: 15px;
  padding: 2rem 2rem 1.5rem;
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.31);
}
.api_cadre .intro {
    padding: 0;
    color: #006CB7;
}
.api_cadre .intro h2 {
	font-size: 1.25rem;
	font-weight: 400;
	text-align: left;
	padding-bottom: 2rem;
}

.api_cadre .intro p {
	font-size: 1.25rem;
	font-weight: 400;
	text-align: left;
}

.api_cadre .buttons {
	margin-bottom: 1rem;
}

.info-box {
	display: flex;
	background-color: #F0FAFF;
	max-width: 30rem;
	border-radius: 15px;
	padding: 0.8em 1.2em 1.2em 1.2em;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 3px 7px rgba(0, 0, 0, 0.31);
}

.info-box-content {
	padding: 0px 16px 0px 16px;
}

.info-box-title {
	width: 100%; 
	color: #075E85; 
	font-size: 20px; 
	font-family: Barlow; 
	font-weight: 500; 
	line-height: 30px; 
	letter-spacing: 0.50px; 
	word-wrap: break-word;
}

.info-box-text {
	width: 100%;
	color: #075E85;
	font-size: 16px; 
	font-family: Barlow; 
	font-weight: 500; 
	line-height: 24px; 
	letter-spacing: 0.8px; 
	word-wrap: break-word;
	padding-top: 0.4em;
	a {
		color: #0370A1;
		text-decoration: underline;
	}
}

.info-icon {
	width: 20px;
	height: 20px;
	margin-top: 0.1em;
	color: #0370A1;
}

.inscription_cadre .buttons {
	margin-bottom: 1rem;
}
.conditions_cadre .buttons,
.confirmation_cadre .buttons {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.conditions_cadre .buttons button,
.confirmation_cadre .buttons button {
	min-width: unset;
}
.buttons.butt2 button,
.buttons.butt2 input {
	width: calc(50% - 0.5rem);
}
.buttons.butt3 button,
.buttons.butt3 input {
	width: calc(33% - 0.75rem);
}
.confirmation_cadre h2 {
	line-height: 1.4;
	margin-top: 1rem;
}
.progress-indicator {
    padding-bottom: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #006CB7;
}
.row {
	margin-left: 0;
	margin-right: 0;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
}
.row.dropdowns {
	margin-top: 2.5rem;
	margin-bottom: 0;
}
.col2 {
    width: calc(50% - 1rem);
}

.col3 {
    width: calc(33% - 1rem );
}

.col32 {
    width: calc(66% );
}

.col4 {
	box-sizing: border-box;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	width: calc(25% - 1rem );
}
.col42 {
	width: calc(50% - 1rem);
}
.form-group {
    margin: 0;
    flex-grow: 1;
}

.mat-form-field {
    width: 100%;
}
.conditions .boite {
	/*padding-top: 2rem;*/
}
.valideridentite .boite {
	/*padding-top: 2rem;*/
}
span.field-validation-error {
	display: block;
	padding-top: 0.5rem;
}

/* Les styles des labels de la section des telephones qui sont sur 2 lignes et doivent monter moins haut */
.mdc-textfield__label--float-above[for=IndicatifInternational] {
    transform: translateY(-37%) scale(0.75, 0.75);
}

.mdc-textfield__label--float-above[for=Poste] {
    transform: translateY(-37%) scale(0.75, 0.75);
}

label {
    line-height: normal !important;
    /*margin-bottom: .5rem !important;*/
}

/* styles for validation helpers */

.field-validation-error {
	color: #D50000;
	line-height: normal;
	font-size: 90%;
}

.field-validation-valid {
	display: none;
}

input[type="checkbox"].input-validation-error {
	border: 0 none;
}

.validation-summary-errors {
	color: #D50000;
}

.validation-summary-valid {
	display: none;
}

div#piedpage {
	background: transparent;
	color: white;
	padding: 2rem 0.5em;
}

div#pp-signature, div#pp-copyright, div#piedpage, div#pp-politique, div#pp-modification {
	color: white;
}

div#piedpage a {
	color: white;
}
.remarques {
    padding: 0 1rem 0 0;
    font-size: .7rem;
    font-style: italic;
    line-height: 2rem;
    display: block;
    position: relative;
    color: #006CB7;
    margin-top: 2rem;
		width: 100%;
}
/* = Media Queries */
@media (min-width: 992px) {
	.container {
		width: unset;
	}
}
@media (min-width: 768px) {
	.container {
		width: unset;
	}
}

@media only screen and (max-width: 768px) {
	
	#contenu .contenu .header {
		padding: 2rem;
	}
	#contenu .contenu .header h1 {
		font-size: 3.5rem;
	}
	
	#contenu .contenu .header h2 {
		line-height: 1em;
		margin-bottom: 10px;
		padding-top: 1.25rem;
		max-width: 40%;
	}
	.boite .intro {
		/*padding: 0 3rem;*/
	}
}

@media only screen and (max-width: 576px) {
	html, body {
		min-width: 310px;
	}
	
	#mozaik > div, #grics > div > div, .contenu {
		width: 310px;
	}
	
	section {
		/*margin-top: 20px;*/
	}

	
	#connexion.directive {
		padding-left: 0;
		padding-right: 0;
	}
	
	#connexion #design {
		height: 80px;
		margin-top: 60px;
	}
	
	#connexion #design .img {
		width: 290px;
	}
	
	#contenu .contenu {
		/*padding: 0;*/
		margin-top: 0;
	}
	
	#contenu .contenu .header {
		display: block;
		padding: 0;
	}
	#contenu .contenu .header h1 {
		padding-top: 4rem;
		font-size: 4rem;
	}
	#contenu .contenu .header h2 {
		padding-top: 0;
		font-size: 1.5rem;
		max-width: 100%;
		line-height: 1.3;
	}
	
	.boite {
		padding: 0;
		margin: 0;
	}
	.boite .intro {
		padding: 0;
	}
	.formulaire {
		padding: 0;
		max-width: 100%;
		margin-right: auto;
		margin-left: auto;
	}
	#inscription .conditions_cadre .buttons, 
	.confirmation_cadre .buttons {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.buttons.butt2 button,
	.buttons.butt2 input,
	.buttons.butt3 button,
	.buttons.butt3 input {
		width: 100%;
	}
}


/* = impression */

@media only print {
	#mozaik .logo {
		background: none;
	}
	
	#grics p, #grics a {
		color: #000;
	}
	
	#grics .logo {
		background: none;
	}
	
	#grics .logo > img {
		left: auto;
	}
}
