/* Reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a{
  text-decoration: none;
}
a:hover{
  outline: none;
}
input[type=submit], .button{
  border: 0;
  border-radius: 0;
  text-shadow: none;
  box-shadow: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #FFF;
  padding: 5px 10px;
  background: #DCA804;
}
input[type=submit]:hover,
input[type=submit]:active{
  color: #DCA804;
  background: #071620;
}
.button{
  background: #BBB;
  color: #333;
  font-size: 12px;
  padding: 2px 5px;
}
.button:hover, .button:active{
  background: #DCA804; 
  color: #FFF; 
}
table{
  width: 100%;
  margin: 10px 0;
}
table th, table td{
  padding: 5px;
  text-align: left;
  vertical-align: middle;
}
table th{
  font-size: 15px;
}
table td{
  font-size: 14px;
}
table caption{
  color: #FFF;
  font-size: 19px;
  margin: 10px 0 20px;
}
/* global */
@font-face {
  font-family: 'OpenSans';
  src: url('../font/opensans-regular.eot');
  src: url('../font/opensans-regular.eot?#iefix') format('embedded-opentype'),
    url('../font/opensans-regular.woff') format('woff'),
    url('../font/opensans-regular.ttf') format('truetype'),
    url('../font/opensans-regular.svg#opensansregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
html{
  background: #000 url(../images/bg.jpg) no-repeat center fixed;
  background-size: cover;  
}
body{
  overflow-x: hidden;
  font: 13px/130% 'OpenSans', Arial, Helvetica, sans-serif;
  color: #BBB;
  position: relative;
  margin-top: -10px;
}
header h1{
  overflow: hidden;
  text-indent: -500px;
  width: 190px;
  height: 100px;
  margin: 10px auto;
  background: url(../images/logo.png) no-repeat;
}
#corps{
  padding: 20px;
  margin: 20px auto 0;
  width: 65%;
  background: rgba(0,0,0, .5);  
}
footer{
  /*position: fixed;
  bottom: 0;
  background: rgba(0,0,0, .5);*/
  margin: 0 auto;
  padding: 5px 0;
  width: 67%;
  font: italic 12px/14px 'OpenSans', Arial, sans-serif;
  text-align: right;
  color: #BBB;
}
nav{
  position: absolute;
  top: 0;
  left: 0;
  clear: both;
  padding-right:10%;
}
nav > ul{
  float: left;
  padding-right: 20px;
}
nav ul{
  background: rgba(0,4,7,1);
  background: -moz-linear-gradient(left,  rgba(0,4,7,1) 0%, rgba(0,4,7,1) 52%, rgba(3,8,12,1) 53%, rgba(125,185,232,0) 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,4,7,1)), color-stop(52%,rgba(0,4,7,1)), color-stop(53%,rgba(3,8,12,1)), color-stop(100%,rgba(125,185,232,0)));
  background: -webkit-linear-gradient(left,  rgba(0,4,7,1) 0%,rgba(0,4,7,1) 52%,rgba(3,8,12,1) 53%,rgba(125,185,232,0) 100%);
  background: -o-linear-gradient(left,  rgba(0,4,7,1) 0%,rgba(0,4,7,1) 52%,rgba(3,8,12,1) 53%,rgba(125,185,232,0) 100%);
  background: -ms-linear-gradient(left,  rgba(0,4,7,1) 0%,rgba(0,4,7,1) 52%,rgba(3,8,12,1) 53%,rgba(125,185,232,0) 100%);
  background: linear-gradient(to right,  rgba(0,4,7,1) 0%,rgba(0,4,7,1) 52%,rgba(3,8,12,1) 53%,rgba(125,185,232,0) 100%);
}
nav > ul > li{
  float: left;
  position: relative;
}
nav li a{
  color: #BBB;
  font-size: 14px;
  display: block;
  padding: 10px 20px 10px 10px;
  border-left: 8px solid transparent;
}
.subnav li a,
nav li:hover a,
nav li a:hover,
nav .active a{
  border-left: 8px solid #DCA804;
}
nav li a:hover,
nav .active a{
  color: #dca804;
}
nav .subnav{
  display: none;
  position: absolute;
  top: 37px;
  left: 0;
  width: 215px;
}
nav > ul > li:hover .subnav{
  display: block;
}
main h1, .ui-dialog .ui-dialog-title{
  color: #BBB;
  font: 24px/140% 'OpenSans';
  margin: 0 0 20px;
  padding: 0 0 5px;
  text-transform: uppercase;
  border-bottom: 1px solid #DCA804;
} 
#time_load {
  position: fixed;
  top: 10px;
  height: 35px;
  right: 10px;
  color: #BBB;
}
h2{
  font-size: 20px;
  margin: 10px 0;
}
h3{
  font-size: 18px;
  margin: 10px 0;
}
.list li{
  margin: 5px 0;
}
.list li:before{
  content: "\2022 ";
  font-size: 12px;
  padding-right: 5px;
}
.result{
  font-size: 18px;
  color: #FFF;
  text-align: center;
}
/* form + planning */
form input[type="text"]{
  background: #F5F5F5;
  border: 1px solid #BBB;
  padding: 3px;
  font-size: 12px;
}
form label, form p{
  color: #FFF;
}
.separator:after{
  content:"";
  height: 1px;
  width: 50%;
  margin: 20px auto;
  display: block;
  background: #BBB;
}
.form fieldset{
  margin: 10px 0;
}
.form fieldset *{
  vertical-align: top;
}
.form p{
  width: 48%;
  display: inline-block;
  margin: 5px;
}
.form label{
  display: inline-block;
  width: 155px;
}
.form select{
  font-size: 12px;
}
.form .inline-group{
  margin: 10px 0 0;
}
.form .inline-group  *{
  margin: 5px 5px 5px 0;  
}
.form .inline-group label{
  display: inline-block;
  width: auto;
}
.form .checklist{
  float: left;
  width: 100%;
  margin: 10px 0 20px;
}
.checklist p{
  float: left;
  width: 140px;
}
.ul-form{
  float: left;
}
.ul-form li{
  float: left;
  display: inline-block;
  margin: 5px 10px 10px 0;
}
.ul-form li:nth-child(4){
  clear: left;
}
.ul-form label{
  width: auto;
}
.submit, .form .submit{
  float: right;
  margin: -40px 0 5px 5px;
  text-align: right;
  width: auto;
  position: relative;
}
.submit input{
  background: #DCA804;
  color: #FFF;
}
.submit.center{
  float: none;
  width: 100%;
  margin: 20px auto 10px;
  text-align: center;
}
.mandatory{
  color: #DCA804;
}
.submit input:hover,
.submit input:active{
  background: #BBB;
  color: #333;
}
.message_ok, .message_bad{
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin: 10px auto;
  padding: 7px 0;
  color: #35A306;
}
.message_bad{
  color: #CC0000;
}
menu{
  padding: 10px 0;
  width: 100%;
}
menu form{
  margin: 0 auto 10px;
  text-align: center;
  color: #BBB;
}
.search-date strong{
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  padding: 0 10px;
}
.form .center{
  width: 100%;
  margin: 20px auto 10px;
}
/* generic */
.more{
  text-align: right;
}
.tooltip{
  cursor: help;
}
.resa a.ancre,
a.ancre:link, a.ancre:active, a.ancre:visited, a.ancre:hover, a.ancre{
  text-decoration: underline;
  font-weight: 700;
  color: #FFFF00;
}
.center{
  text-align: center;
}
.pull-right{
  float: right;
}
.pull-left{
  float: left;
}
.clearfix{
  clear: both !important;
  float: left !important;
  width: 100% !important;
}
.green{
  background: #1B6F55;
}
.blue{
  background: #237B8F;
}
.orange{
  background: #C89427;
}
.res{
  background: #8F3B1B;
}
.comp{
  background: #DF8C66;
}
.grey{
  background: #AAA;
}
.admin{
  background: rgb(153,000,102);
}
.kfzik{
  background: rgb(102,051,102);
}
.red{
  background: rgb(228,26,4);
}
.comp{
  background: rgb(206,088,088);
}
.pep{
  background: #97C03E;
}
.semainesurdeux{
  background: #993399;
}
/* forms */
#sel_groupe label{
  width: auto;
}
#sel_groupe label[for=search_tel],
#ajout_resa label[for=salles]{
  padding-left: 30px;
}
#sel_groupe .submit{
  margin-top: -5px;
}
#ajout_resa .ul-form:first-of-type li:nth-child(3),
#change_salle .ul-form:first-of-type li:nth-child(3),
#ajout_resa .ul-form:first-of-type li:nth-child(7),
#change_salle .ul-form:first-of-type li:nth-child(7){
  clear: left;
}
#ajout_resa .ul-form:first-of-type li:nth-child(4),
#change_salle .ul-form:first-of-type li:nth-child(4){
  clear: none;
}
#ajout_resa div label,
#change_salle div label{
  width: 120px;
}
#ajout_resa .checklist p,
#change_salle .checklist p,
#change_salle .inline-group label{
  width: 115px;
}
/* layer */
.layer-box{
  background: #071620;
}
.ui-widget-content{
  background: #071620;
  border: 0;
}
.ui-widget-header{
  background: none;
  border: 0;
}
.ui-dialog .ui-dialog-title{
  text-transform: none;
  float: none;
  width: auto;
  font-size: 20px;
  display: block;
  margin: 0;
}
.ui-state-default, .ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default{
  background: none;
  color: #FFF;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited,
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus{
  background: none;
  color: #DCA804;
}
.ui-dialog .ui-dialog-titlebar-close{
  top: 40%;
  right: 15px;
  border: 0;
}
.ui-helper-hidden-accessible{
  padding: 10px;
}
.ui-icon{
  display: inline-block;
  vertical-align: top;
}
/* planning */
#corps.content-planning{
  width: 96%;
  padding: 0;
  background: none;
}
.content-planning + footer{
  width: 95%;
}
/* table */
.table-layer .message_ok, 
.table-layer .message_bad{
  float: none;
  font-weight: 300;
  font-size: 14px;
}
.table-layer .submit{
  margin-top: 0;
}
.table th{
  color: #FFF;
  padding: 10px;
  font-size: 14px;
  background: #071620;
  border-right: 1px solid #BBB;
}
.stats th span{
  color: #BBB;
}
.stats td{
  color: #FFF;
  padding: 8px;
  border-right: 1px solid #BBB;
}
.stats th:last-child,
.stats td:last-child,
.table.grey th:last-child{
  border: 0;
}
#table_planning{
  float: left;
  clear: left;
  width: 100%;
}
table.resa{
  width: 9.5%;
  margin: 10px 0.1%;
  float: left;
}
.resa .tab{
  color: #FFF;
  background: #394E6D;
}
.resa td, .resa th{
  border: 1px solid #BBB;
  text-align: center;
  color: #FFF;
  box-sizing: border-box;
}
.resa td{
  padding: 0;
}
.resa .break{
  border: 0;
}
.resa a{
  color: #FFF;
}
.resa td a{
  display: block;
}
.resa span,
.block{
  display: block;
}
.noresa{
  background: #333;
}
.noresa a{
  color: #AAA;
}
.legend{
  float: left;
  margin: 20px 0;
}
.legend li{
  margin: 10px;
  color: #FFF;
  display: inline-block;
  padding: 5px 10px;
}
.table.grey td{
  color: #FFF;
  border: 1px solid #BBB;
}
