﻿/*div général*/

.admin {

    display: flex;
    flex: 1 1 auto;
    color: white;
    justify-content: center;
    text-align: center;
    justify-items: center;
    flex-flow: column;
    font-size: 1.5em;
    font-family: menu;
    border-radius: 1em;
    border-bottom: 1px solid #31c089;
    background-image: linear-gradient(to top, rgba(103, 216, 140, 0.2),rgba(216, 103, 211, 0.13));
    /*! text-shadow: 1px 1px black, 0 1px black, 1px 0 black, -1px -1px black , 2px 2px black , -2px 2px black, -2px -2px black, 2px -2px black;*/
    letter-spacing: 0.1em;
    font-weight: normal;
	padding: 0 0.2em;

}
	.connexion {
		margin: 1em auto !important;
	}

li.titlemenu.center {
    display: block;
	background-size:cover;
	min-width: 192px;
}

.unlog{

	/*! float:right; */
	display: inline-block;
	position: relative;
	left: 100%;
	margin-left: -22px;
	margin-top: -20px;
	top: 25px;
	height: 0px;
	line-height: 0px;
}

/*style global des boutons submit*/

.submit{
     margin-top:10px;
	 border:none;
     color:#F4FF3A;
     background: transparent url('img/menu_normal_32px.gif') repeat-x top left;
     height:32px;
	 width:auto;
     padding: 0 0.5em;
     border-radius: 0.25em;
}

	.submit:hover{
     background: transparent url('img/menu_hover_32px.gif') repeat-x top left;
	cursor:pointer;
	}

/*Mise en forme de la page login*/

table.login{
	margin-top:100px;
	margin-left:auto;
	margin-right:auto;
}


	.admin form{
		/*! margin-top:30px; */
		/*! margin-bottom:30px; */
		/*! margin-left:auto; */
		/*! margin-right:auto; */
		background-color:#002F2F;
		max-width:80%;
		padding:1em;
		border: 2px solid #EFECCA;
		margin: auto;
		border-radius: 0.5em;
	}
.admin form label {
}
	
	.admin form textarea{
		font-family:Arial;
		font-size:13px;
	}
	
	.admin form img{
		max-width:400px;
		margin-top:10px;
		margin-bottom:10px;
	
	
	}
	
	.admin p{
	color:red;
	margin-left:10px;
	}

	.admin h1{
		margin-bottom:8px;
		color:#E8CC06;
		font-family:Georgia;
		font-size:18px;
		text-align:center;
	}
	
	.admin a.back{
	text-decoration:none;
	color:#E8CC06;
	}

	.oblig{
	
	font-weight:bold;
	color:#ff7703;
	/*! max-width:95%; */
	
	}
	
/*Pour la version mobile des tableaux, sur fond rouge (admin)*/
.responsive.table {
  overflow-x: auto;
  color: white;
  padding: 5px;
  box-shadow: 0 0 6px 1px #0081ff;
  background-color: rgba(0, 129, 255,0.2);
  color:white;
}


	/*tableau de la requête globale*/
	.overall_request {
		background-color:#C3D9E0;
		border-collapse:collapse;
		font-size:12px;
		color:black;
		margin-right:auto;
		margin-left:auto;
		border:2px solid #002F2F;
		width: 100%;
	}
	.overall_request caption{
		color:white;
	}

	.overall_request caption b{
		color:red;
	}

	.overall_request td, tr{
		border:none;
		padding:5px;
	}
	.overall_request td:nth-last-child(-n+2){
		width:30px;
		text-align:center;
	}
		tr:nth-child(2n+1){
			
		background-color:#D9EFF5;
		
		}
.waring td {
    background: rgba(240, 0, 255, 0.4) !important;
}

	.overall_request th {
		border:none;
		background-color:#6b979c;
		font-size:14px;

	}
	
	.overall_request th.sorttable_sorted, .overall_request th.sorttable_sorted_reverse {
		background-color: rgb(75, 79, 122) !important;
		cursor: pointer!important;
		color:white;
	}
	.overall_request.sortable th:hover {
		border: none;
		background-color: #497b81;
		color: #f4ff3a;		
		cursor: pointer!important;
	}


img.picto{
	width:20px;
	border:0;
	}

.legende.administration li img {
    filter: invert(0);
    width: 20px;
    margin: 0 0.5em;
}
	img.addbutton{
		width:24px;
		border:none;
		}
	a:hover img.addbutton {
		background: gold;
		border-radius: 0.25em;
	}
		
	.overall_request a{
		text-decoration:none;
		border:0px;
		color: navy;
	}
	.overall_request a:hover {
	  color: #8d72e4;
	  text-decoration: underline;
	}

	.legende_admin table{
	/*border-collapse:collapse;*/
	/*border:1px solid black;*/

	width:100%;
	margin-top:10px;
	margin-bottom:10px
	}
	.legende_admin table img{
	width:22px;
	}
	
		.legende_admin{
	float:left;
	border-top:5px solid black;
	border-bottom:5px solid black;
	background-color:#1d1d1d;	
	}
	
form input, form legend {
    padding: 0 0.4em;
    margin: auto 0;
}



fieldset {
  width: calc(95% - 1.6em);
  margin: 0 auto;
  background: rgba(0,0,0,0.5);
  padding:0.8em;
  border-radius: 0.5em;
  display: flex;
  flex-flow: column wrap;
  
}
fieldset .input {
  padding: 0.25em;
  border-bottom: 1px #0081ff dashed;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

input[type="text"]:-moz-read-only {

    background: rgba(255,255,255,0.1);
    border: none;
    color: gray;

}

input[type="text"]:read-only {

    background: rgba(255,255,255,0.1);
    border: none;
    color: gray;

}
.valeurs {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
fieldset label{
  display:inline-flex;
  min-width:160px;
  flex:0;
  
  text-align: initial;
}
fieldset .input img{
	max-width:100%;
}
#picture, #picto {
	margin: 0 auto;
}
#picto{
	filter:invert(1);
}
fieldset p {
  /*! display: flex; */
  /*! flex-flow: row wrap; */
  /*! margin-bottom: 1em; */
  padding: 0 0.5em;
  font-size: 0.9em;
  font-style: oblique;
}
code {
  padding: 0 0.5em;
}

.wrong {

    display: flex;
    flex: 1 1 auto;
    color: white;
    justify-content: center;
    text-align: center;
    justify-items: center;
    flex-flow: column;
    font-size: 1.5em;
    font-family: menu;
    border-radius: 1em;
    border-bottom: 1px solid #31c089;
    background-image: linear-gradient(to top, rgba(103, 216, 140, 0.2),rgba(216, 103, 211, 0.13));
    text-shadow: 1px 1px black, 0 1px black, 1px 0 black, -1px -1px black , 2px 2px black , -2px 2px black, -2px -2px black, 2px -2px black;
    letter-spacing: 0.1em;
    font-weight: normal;
}

@media screen and (max-width: 1100px) {
li.titlemenu.center {
	flex: 2 1 100%;
}