/*
Theme Name: VDR
Description: Thème enfant
Version: 1.0
Template: twentyseventeen
*/
#wpadminbar {
	display:none;
}

* {
	font-family:"Lato", sans-serif;
}


/* liste autocomplete clients */
.ui-menu.ui-widget.ui-autocomplete .ui-menu-item {
list-style:none;
}
.ui-menu.ui-widget.ui-autocomplete .ui-menu-item:hover {
	background:cornflowerblue;
}

.ui-helper-hidden-accessible { display:none; }

.ui-menu.ui-widget.ui-autocomplete {
	z-index:99999;
	background:brown;
	color:white;
	cursor:pointer;
	padding-left:0;
}

.ui-menu.ui-widget.ui-autocomplete .ui-menu-item-wrapper {
	z-index:99999;
	background:brown;
	color:white;
	cursor:pointer;
}
/* fin liste autocomplete clients */


/*
#site-navigation {
	background-color:#555;
	box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 16px 0 rgba(0, 0, 0, 0.19);
	margin-bottom:30px;
}

#site-navigation ul,
#site-navigation li {
	padding:0;
	margin:0;
}

#site-navigation li {
	display:inline-block;
	width:170px;
}

#site-navigation li a {
	display:block;
	color:#cbcbcb;
	padding:10px 20px;
	text-align:center;
	text-decoration:none;
	font-weight:bold;
	font-size:16px;
}

#site-navigation li a:hover {
	color:#000;
	background-color:#ccc;
}
*/



#content {
	padding: 10px;
}

#change-site-wrapper {
	position: absolute;
	top: 0;
	right: 0;
	margin: 2px;
}
#change-site-ok {
	display: inline-block;
	background: black;
	color: white;
	font-weight: bold;
	padding: 2px 8px;
	margin-left: 4px;
	cursor: pointer;
}

#change-site-ok:hover {
	background:#bbb;
}

/**** page planning ***/

.el-2col-container {
	position:relative;
}

.wide {
	width:100%;
}

.une-ligne {
	display:inline-block;
	margin-left:50px;
	padding:10px 0;
	margin-left:0;
	vertical-align: top;
}
.col2{
	width:50%;
}
.col3{
	width:33%;
}
.col4{
	width:25%;
}
.une-ligne.gauche {
	margin-left:0;
}

.changePeriode {
	display:inline-block;
	width:20px;
	background-color:#000;
	color:#fff;
	border-radius:50%;
	text-align:center;
	cursor:pointer;
}
.num_jour, .jour_semaine {
	width:50px;
	text-align:center;
}
.num_jour.today{
	background-color:tomato;
	color:white;
}
.jour_semaine.weekend{
	background-color:silver;
}
table {margin:0;}
td {border:1px solid #333; border-collapse: collapse; padding:0;}
td.dispo, div.dispo { background-color:green; cursor:pointer; }
td.desactive td.dispo, td.desactive div.dispo { background-color:#bbb; cursor:auto; }
td.resa, div.resa { background-color:gold;cursor:pointer; }
td.contrat, div.contrat { background-color:red;cursor:pointer; }
td.facture, div.facture { background-color:cyan;cursor:pointer; }
td.partiel { background-color:orange;cursor:pointer; }
div.passe { background-color:#bbb; }
div.dispo.passe { cursor:auto; }
div.passe.occupe.resa { background-color:orange;cursor:pointer; }
div.passe.occupe.contrat { background-color:chartreuse;cursor:pointer; }
div.passe.occupe.facture{ background-color:blue;cursor:pointer; }
td.passe.partiel { background-color:bisque;cursor:pointer; }
.enteteMois { color:#fff; background-color:#000;text-align:center;border-right:1px solid white;text-transform:uppercase;}
.enteteMois:last-of-type { border-right:none;}

div.demo { display:inline-block;width:50px;height:20px;margin-left:15px;vertical-align: -5px;cursor:auto; }

#calendrier td {
	width:50px;
}
.caseheure {
	width:50px;
	height:20px;
	overflow:hidden;
	font-size:7pt;
	white-space:nowrap;
	text-transform:uppercase;
}
.caseheure.dispo:hover { opacity:0.5; }
.caseheure.occupe.hover { opacity:0.5; }
.caseheure.dispo.passe:hover { opacity:1; }

#listVehicules>table { border:none; }

#resabutton-container { 
	padding:10px;
	text-align:center;
}

#makeresa { 
	position:fixed;
	display:none;
	top:0;
	bottom:0;
	right:0;
	left:0;
	margin:0;
	overflow:hidden;
	outline:0;
	z-index:1050;
	opacity:0;
}

#makeresa-inner { 
	position:relative;
	margin:35px auto;
	width:70%;
	min-height:70%;
	background-color:#fff;
	border:1px solid #999;
	border-radius:10px;
	padding:5px;
	-webkit-box-shadow: 2px 5px 10px 6px rgba(194,190,194,1);
	-moz-box-shadow: 2px 5px 10px 6px rgba(194,190,194,1);
	box-shadow: 2px 5px 10px 6px rgba(194,190,194,1);

}

#fermer {
	position:absolute;
	top:10px;
	right:10px;
	background-color:crimson;
	color:#fff;
	cursor:pointer;
	border-radius:5px;
	padding:5px 10px;
	font-weight:bold;
	
}

#fermer.postresa {
	position:static;
	background-color:chartreuse;
	color:#000;
	cursor:pointer;
	width:200px;
	text-align:center;
	margin:auto;
}



.warning { color:red; width:80%; margin:10px auto;padding:2px; font-weight:bold;}
.confirm { color:green; width:80%; margin:10px auto;padding:2px; font-weight:bold;}

td.mois { vertical-align:top; }
td.mois.3m { width:33%; }
td.mois.6m { width:16%; }

td.jour { min-width:15%;text-align:center;}

.mois table {  }

table#calendrier {}

td#vehicules {
	vertical-align: top;
	border:none;
}

td#cal {border:none;}

.vehicule {
	font-weight:bold;
	margin:4px;
	padding:4px;
	text-align:center;
	background-color:cornflowerblue;
	width: 150px;
}

.vehicule.actif {
	background-color:chartreuse;
}

.vehicule.inactif {
	background-color:#777;
}

.showResa { 
	cursor:pointer;
	text-decoration:underline;
}

#errors { display:none; }


#legende { text-align:right; padding:15px; }


#menuResa ul { list-style-type:none;padding:0; }
#menuResa li { display:inline-block; cursor:pointer; background-color:cornflowerblue; border:none;padding:0 5px; }
#menuResa li.active { border-bottom:2px solid black; background-color:cyan;}

.resa_tab {
	display:none;
}
.resa_tab.active {
	display:block;
}

.resa_infos_client {
	width:30%;
}

#conducteursTable { border:none;width:100%; }
td.conducteurCol { width:33%;border:none; }
input.resa_infos_conducteur,
textarea.resa_infos_conducteur { width:98%; }
#copier_client { color:blue;text-decoration:underline;cursor:pointer; }

#resaVehiculeCat,
#resaVehiculeMarque,
#resaVehiculeModele,
#resaVehiculeCarburant
 {
	text-transform:uppercase;
}

#btn_imprimerxx {
background-image: url(/medias/icons/print.png);
background-repeat: no-repeat;
background-position: 2px;
padding: 1px 10px 1px 24px;
background-size: 20px 20px;
border: 1px solid dimgrey;
border-radius: 3px;
}

/*** Page Vehicules ****/

#liste-vehicules .vehicule,
#liste-vehicules .client {
font-weight: normal;
margin: 4px;
padding: 8px 4px;
text-align: left;
background-color: cadetblue;
color:white;
}

#liste-vehicules .cat {
font-weight: normal;
margin: 4px;
padding: 8px 4px;
text-align: center;
background-color: dimgrey;
color:white;
}


ul.vehicule-operations{
	padding:0;
	margin: 0;
}

.entete-vehicules,
.entete-actions,
.entete-cat,
.entete-status,
.entete-resas {
	background-color: #dbdbdb;
	text-align: center;
	color: black;
	font-weight:bold;
}

.entete-vehicules {
	width:350px;
}

.entete-resas.entete-resas-titre {
	width:450px;
}

#liste-vehicules .client.resa-date {
	text-align:center;
}

.entete-clients.asc {
background: #dbdbdb url(/medias/icons/up.png);
background-repeat: no-repeat;
background-position: right;
}
.entete-clients.desc {
background: #dbdbdb url(/medias/icons/down.png);
background-repeat: no-repeat;
background-position: right;
}

.entete-resas{
	cursor:pointer;
	width:150px;
}
.entete-resas.active.asc {
background: #dbdbdb url(/medias/icons/up.png);
background-repeat: no-repeat;
background-position: right;
}
.entete-resas.active.desc {
background: #dbdbdb url(/medias/icons/down.png);
background-repeat: no-repeat;
background-position: right;
}

.entete-cat {
	width:50px;
	padding-left:4px;
	padding-right:4px;
}

.entete-actions {
	width: 150px;
}

.operations-vehicule,
.operations-client {
	display:inline-block;
	width:180px;
	text-align:center;
}

.afficher-vehicule, .afficher-client, .entete-clients {
	cursor: pointer;
}
.supprimer-vehicule,
.desactiver-vehicule,
.supprimer-client,
.supprimer-resa {
	cursor: pointer;
	width:150px;
	color:white;
	background-color: crimson;
	padding:8px 4px;
}

.activer-vehicule {
	cursor: pointer;
	width:150px;
	color:white;
	background-color: darkgreen;
	padding:8px 4px;
}

.supprimer-vehicule:hover,
.supprimer-client:hover,
.supprimer-resa:hover {
	background-color: tomato;
}

#liste-vehicules .vehicule:hover,
#liste-vehicules .client:hover {
	background-color: cornflowerblue;
}

.page-btn___ {
	margin-top:10px;
	display:inline-block;
	border:1px solid black;
	border-right:none;
	padding:0 3px 26px 3px;
	cursor:pointer;
	font-size:20px;
	height:26px;
	width:26px;
	text-align:center;
	background-color:bisque;
}

.page-btn___:hover,
.page-btn___.active {
	background-color:burlywood;	
}


.page-btn___:last-of-type {
	border-right:1px solid black;
}

.label.label-warning {
	cursor:pointer;
	border-radius:50%;
	background-color:red;
}

.debloquer {
	cursor:pointer;
}

#loading-historique {
	display:none;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(155,155,155,0.5);
	text-align: center;
	padding-top: 50vh;
	z-index:99999;
}

#loading-historique i.fa {
	display: block;
	font-size: 4em;
}

#historique-table {
	overflow-y: scroll;
	padding: 4px;
	max-height: 200px;
}

#historique-table th {
	font-weight:bold;
	background:black;
	color:white;
}

#historique-table td,
#historique-table th {
	padding:5px;
}