@font-face {
    font-family: 'latoregular';
    src: url('fonts/lato-reg.ttf') format('truetype')
}
@font-face {
	font-family: 'latolight';
    src: url('fonts/lato-lig.ttf') format('truetype')
}

body {
	background-color: #072B43;
	color: white;
	font-family: 'latoregular', Helvetica, Arial;
	font-size:0.9em;
	height:100%;
	margin:0px;
	font-size:0.9em;
}

#content{
	background-color: #173F59;
	margin-right: auto;
	margin-left: auto;
	max-width:1280px;
	min-height:100%;
	border-bottom:0.8em solid #F1C407;
	display:flex;
	flex-direction:column;
	flex-wrap:wrap;
	padding:1em;
}


#form-content{
	padding: 0 2em;
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:space-between;
}

/*Colonnes*/
#form-content > div{
	width:47%;
	min-width:450px;
}


h3 {
	padding-top:0.5em;
	padding-bottom:0.5em;
	border-bottom:1px solid white;
}

.decal {
	margin-left:164px;
}

.infos {
	margin-left:120px;
	font-style:italic;
	font-size:0.8em;
}

.tarif{
	font-size:1em;
	color:#F1C407;
	font-weight:bold;
}

#liste_jeux{
	width:100%;
	margin-top:20px;
}

th {
	background-color: #F1C407;
	color:#072b43;
}

tr:nth-of-type(2n+2){
	background-color: #072b43;
}


tr.tr_total {
	background-color: #10679f;
	color:#FFF;
	font-weight:bold;
}

td{
	border:0px solid #fff;
	padding:2px;
}

th, td:nth-of-type(1n+4),  td:nth-of-type(1){
	text-align:center;
}

#totalprix, #totalboites {
	text-align:center;
}

tr{
	height:40px;
}

td img{
	width:25px;
	cursor: pointer
}

.id_jeu{
	width:20px;
}
.actions {
	width:50px;
}

.total, .nb_boites, .nb_tables, .nb_joueurs {
	width:50px;
}

.nom_jeu {
	width:150px;
}

.type_animation {
	width:100px;
}
.caracs_jeu {
	width:90px;
}

input[type="number"]
{
	width:30px;
}

.nbj_maxi {
	position:absolute;
	top: -10px;
	left:170px;
}

.nbj_maxi label{
	min-width:15px;
}

.nb_j {
	display:block;
	position:relative;
	width:100%;

}

.nb_j p{
width:50%;}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 0px; /* Location of the box */
    right: 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: #fefefe;
    margin: 0;
    padding: 20px;
    border: 1px solid #888;
    width: 565px;
    height:100%;
    position:fixed;
    overflow: auto;
    right:0px;
    top:0;
    color:#072b43;
    animation: animationFrames linear 0.5s;
}

@keyframes animationFrames{
  0% {
    transform:  translate(450px,0px)  ;
  }
  100% {
    transform:  translate(0px,0px)  ;
  }
  }

/* The Close Button */
.cross {
	margin:10px;
	color: #072b43;
	padding:10px 0;
	float: right;
	font-size: 3em;
	font-weight: bold;
	text-align:center;
}

.close:hover,
.close:focus, .mclose:hover,
.mclose:focus {
    color: #F1C407;
    text-decoration: none;
    cursor: pointer;
}

.liens a:nth-of-type(1){
	background-color:#F1C407;
	border-radius:10%;
	border: 1px solid #FFF;
}

.liens a{
	padding:10px 0;
}

.liens a:hover{
    color: #F1C407;
    background-color:#072b43;
	text-decoration: none;
    cursor: pointer;
}

.liens .close, .liens .mclose {
	padding:15px 20px;
	/*float: right;*/
	font-size: 1.2em;
	font-weight: bold;
	text-align:center;
	color:#072b43;
}


.liens .close:hover, .liens .mclose:hover {
	color:#F1C407;
}



.modal-content fieldset.btnradio legend {
	color:#072b43;
}

.modal-content fieldset.btnradio legend.long {
	color:#072b43;
}

.modal-content .liens{
	padding: 1em 0 3em 0;
	margin-left:140px;
	margin-bottom:5em;

}



/*Modification du focus, pour une couleur jaune*/
:focus {
	outline:#F1C407 solid medium;
}

a {
	color:white;
}

a:hover {
	color:#F1C407;
}

.lien_back {
	color:white;
	font-size:1.1em;
	margin-left:0.3em;
	text-decoration:underline;
	cursor:pointer;
}



/*Limite la longueur pour les listes déroulante*/
li {
	max-width:55em;
}

p {
	margin:10px 0 10px 0;
}

/*Limite la largeur d'un paragraphe*/
p.txt{
	max-width:55em;
	margin-top: 2em;
}


#header {
	width:100%;
	padding-top:10px;
	margin-bottom:1em;

}

#h_logo {
	width:40%;
	float: left;
	margin-left:2em;
	margin-bottom:0;
	clear:both;
}

#h_logo img{
	max-width:100%;
		max-height:80px;
	clear:both;
}

#h_logo p{
	font-size:1.1em;
	font-weight:bold;
	margin-top:0;
	margin-left:0.2em;
}

#h_dates {
	float:right;
	width:30%;
	margin-right:2em;
	text-align:right;
}


h3 {
	margin-top:2em;
}

.mandatory {
	color:#ED7F51;
	padding-right:0.2em;
	font-size:1.2em;
	font-weight:bold;
}

.spe_mandatory {
	margin-top:2em;
}

.nb_benevoles {
	display:inline;
	float:right;
	width:20em;
	max-width:95%;
	height:auto;
	margin:0 0 2em 2em;
	padding:0.3em;
	border:1px solid #fff;
	background-color: #072B43;
}

.nb_benevoles p{
	text-align:center;
}

.nb_benevoles p.nb{
	font-size:1.3em;
	color:#F1C407;
	font-weight:bold;
}

/*Style des éléments de formulaire*/
label{
	text-align:right;
	min-width:120px;
	float:left;
	padding-right:10px;
	cursor:pointer;
	height:auto;
	font-size:1.1em;
}


fieldset {
	border:0px;
	padding-left:0;
}

fieldset.btnradio  ul {
	float:left;
	margin:0;
	padding-left:0;
	padding-top:0;
}

fieldset.btnradio ul.decal {
	margin-left:20%;
}

fieldset.btnradio li{
	float:left;
	width:auto;
	display:inline;
	list-style-type:none;
	padding:0;
	margin:0;
}

fieldset.btnradio label {
	text-align:left;
	float:none;
	display:inline;
	padding-right:3em;
	width:auto;
	font-size:1.1em;
}

fieldset.btnradio legend {
	padding-right:1em;
	color:white;
	width:12em;
	text-align:right;
	float:left;
	max-width:90%;
}

fieldset.btnradio legend.long {
	text-align:left;
	color:white;
	float:left;
	padding-top:0.2em;
	width:100%;
}


.long{
	text-align:left;
	float:left;
	padding-top:0.2em;
	width:99%;
	margin-bottom:0.5em;
}
textarea.long {
    height: 10em;
}
input {
	padding-left:0.2em;
	margin-right:0.3em;
	height:1.3em;
	border:1px inset #072B43;
	border-radius:4px;
	max-width:60%;
}

.cplt{
	text-align:left;
	width:20%;
	padding-top:0.2em;
	padding-left:0.3em;
	height:1.4em;
}

input.std {
	width: 300px;
}

input.inter {
	width: 120px;
}

input.small {
	width: 60px;
}

input.mini {
	width: 30px;
}

input[type="file"]{
	height:auto;
}


textarea.comm {
	width:50%;
	height:5em;
	min-width:200px;
	padding-left:0.3em;
	border:1px inset #072B43;
	border-radius:4px;
}



/*Extrait charte bénévole*/
blockquote {
	border-bottom:1px dashed #fff;
	border-left:1px dashed #fff;
	padding:0.3em;
	width: 75%;
	padding-top:0px;
	padding-left:0.9em;
	margin:2em auto 2em auto;
}

/*style pour les zones d'acceptation de charte et droit à l'image*/
.important {
	display:block;
	min-height:50px;
	height:auto;
	margin:2em auto 0 auto;
	padding:0.2em;
	border:1px solid #fff;
	background-color: #072B43;
}

.important label{
	text-align:left;
	float:left;
	padding:0.5em;
	width:auto;
	height:2em;
}

/*mise en avant occupant la uasi-totalité de la largeur*/
.long_important {
	display:block;
	width:50em;
	max-width:90%;
	height:auto;
	margin: 1em auto 1.5em auto;
	padding:0.3em;
	border:1px solid #fff;
	background-color: #072B43;
}

.long_important p{
	margin-left:0.3em;;
}

.btn_final{
	margin-top: 3em;
}

button
{
	border: #fff 2px solid;
	background-color:#F1C407;
	width: auto;
	height:auto;
	cursor:pointer;
	padding:0.6em;
	font-size:1.1em;
}

.close2{
	color:#072B43;
	cursor:pointer;
}

/*style du bouton du formulaire*/
input[type="submit"]
{
	border: #fff 2px solid;
	background-color:#F1C407;
	width: auto;
	height:auto;
	margin-left: 164px;
	cursor:pointer;
	padding:0.6em;
	font-size:1.1em;
}

input[type="submit"]:hover
{
	background-color:#173F59;
	color:#F1C407;
	border: #F1C407 2px solid;
}

/*style modifié pour les boutons radio*/
input[type="radio"]
{
	width:1.2em;
	height:1.2em;
	border:0;
}

input[type="radio"]:checked + label
{
	color:#F1C407;
}

input[type="checkbox"]
{
	width:1.2em;
	height:1.2em;
	margin-left:1em;
}

.erreur{
	margin-top:1.5em;
	background-color: #C04945;
}

.succes {
	margin-top:1.5em;
	background-color: #00CC00;
}

/*style pour la mention cnil en bas du formulaire*/
.cnil {
	max-width:100%;
	margin-top:35px;
	padding: 0.3em;
	font-size:0.85em;
	border-top:1px dotted #fff;
}

/* DATE 1/12/2015*/

.rowwithpadding:first-child {position: relative;}

.dates {position: relative; width: auto; top: 1em; right: 2em;float:right;}

.dates p {font-size: 1em; margin: 0 0 0 10px;}
@media(max-width: 767px) {.dates p {font-size: 1.1em;}}

.dates p:first-child {
		display: flex;
		-webkit-display: flex;
		-ms-display: flex;
		margin: 0;
	}

.dates time {
		font-size: 450%;
		line-height: 1;
		color: #FFD800;
	}

@media(max-width: 767px) {.dates time {
		font-size: 250%;
	}
}

.dates time:first-of-type::after {
		position: relative;
		top: -2rem;
		font: 40% 'latolight', Helvetica, Arial, sans-serif;
		content: "&";
		color: #FFF;
		padding: 0 0.1em 0 0.2em;
	}

@media(max-width: 767px) {.dates time:first-of-type::after {
		top: -1rem;
	}
}

.dates span {float: right; /*for IE*/ padding: 0.1em 0 0 0.3em;}

.dates span, .dates strong {
		display: block;
		font: 165%/1 'latolight', Helvetica, Arial, sans-serif;
		color: #FFF;
	}
.dates strong {font-size: 100%;}

@media(max-width: 767px) {.dates span, .dates strong {
		display: block;
		font: 110%/1 'latolight', Helvetica, Arial, sans-serif;
		color: #FFF;
	}
}

select option[disabled] {
	display: none;
}

