html {
	height: 100%;
}

body {
	height: 100%;
	background: #323232;
	margin: 0;
	padding: 0;
}

#background {
	position: fixed;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background-color: #323232;
}

#container {
	position: relative;
	left: 0px;
	top: 0px;
	width: 1335px;
	height: 100%;
	min-height: 100%;
	margin: 0 auto 0 auto;
}

html>body #container {
	height: auto;
}

img {
	display: block;
	border: none;
}

a:link, a:visited {
	color: #CCCCCC;
}


/*************************************
	Menu
 *************************************/


nav a:link, nav a:visited {
	color: #000000;
}


/*************************************
	Form
 *************************************/

 
form {
	color: #333333;
}

input, textarea, select {
	clear: both;
	width: 244px;
	background: #FFFFFF;
	border: 1px solid #000000;
	opacity: 0.5;
	margin: 0 0 10px 0;
	padding: 2px;
}

select {
	opacity: 1;
}

label {
	position: relative;
	float: left;
	width: 225px;
}

.check {
	display: inline-block;
	width: auto !important;
	opacity: 1;
	margin: 0 10px 10px 0;
}

button {
	width: auto;
	background: #1e2021;
	border: 1px solid rgba(0, 0, 0, 1);;
	box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.50);
	color: #FFFFFF;
	cursor: pointer;
	margin: 0 0 10px 0;
	padding: 4px;
}

button.fa {
	background: transparent;
	border: none;
	box-shadow: none;
	font-size: 22px;
	padding: 0;
}

button.bt_reservation {
	color: #44CC00;
}

button.bt_reservation.edit {
	color: #FFFFFF;
}

button.bt_block {
	color: #b30000;
}

.nopad {
	margin: 0;
	padding: 0;
}

button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

form.calendar_note {
	color: #FFFFFF;
	margin: 0 0 20px 0;
}

.calendar_note label {
	position: relative;
	float: none;
	width: auto;
	padding: 0 10px 0 0;
}

.calendar_note .check {
	width: auto;
	float: none;
	opacity: 1;
	margin: 0 5px 0 0;
}

.calendar_note .bt {
	float: right;
	margin-right: 100px;
}

form.form-certificates {
	color: #FFFFFF;
	padding: 2rem;
}

form.form-certificates label {
	display: block;
	float: none;
}

form.form-certificates label.certificates {
	width: auto;
}

form.form-certificates input, form.form-certificates select {
	display: block;
	width: auto;
	border: 1px solid #000000;
	margin-bottom: 1rem;
}

form.form-certificates input[type="checkbox"] {
	display: inline-block;
	margin-right: 10px;
}

form.form-certificates input[type="checkbox"] + label {
	display: inline-block;
	width: auto;
}

form.form-certificates input[disabled], form.form-certificates textarea[disabled], form.form-certificates button[disabled] {
	opacity: 0.25;
}

form.form-certificates button {
	display: block;
	background: #333333;
	border-radius: 0.3rem;
	color: #FFFFFF;
	text-transform: uppercase;
	margin-bottom: 1rem;
	padding: 1rem;
}

.session {
	display: none;
	position: absolute;
}

@media only print {
	#container.transactions div.column_form, #container.transactions select, #container.transactions .certificates-calendar, #container.sessions div.column_form, #container.sessions select, #container.sessions a {
		display: none;
	}

	#container.transactions div.column_right, #container.sessions div.column_right {
		color: #000000;
		margin: 0;
	}
	
	#container.sessions .session {
		display: block;
	}
}


/*************************************
	Affichage
 *************************************/


.column {
	position: relative;
	float: left;
	width: 250px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #FFFFFF;
	margin: 0 25px 0 0;
	padding: 25px;
}

.column_right {
	/*width: 675px;*/
	width: 1010px;
	margin: 0 0 0 300px;
	overflow: hidden;
}

.column_form {
	position: fixed;
	color: #333333;
	padding-top: 150px;
	box-shadow: 2px 2px 4px 0 #000000;

	background-color: #88704c;
	background: url(../images/img_logo_em.png) center 25px no-repeat;
	background: url(../images/img_logo_em.png) center 25px no-repeat, -moz-linear-gradient(-45deg, #b9a381 0%, #b09671 40%, #88704c 100%);
	background: url(../images/img_logo_em.png) center 25px no-repeat, -webkit-linear-gradient(-45deg, #b9a381 0%,#b09671 40%,#88704c 100%);
	background: url(../images/img_logo_em.png) center 25px no-repeat, linear-gradient(135deg, #b9a381 0%,#b09671 40%,#88704c 100%);
}

ul {
	margin: 0;
	padding: 0 0 25px 0;
}

li {
	list-style: none;
}

ul ul {
	margin: 0;
	padding: 0;
}

ul ul li {
	margin: 0;
	padding: 5px 0 0 15px;
}

ul ul li:first-child {
	margin: 0;
	padding: 15px 0 0 0;
}

.column_split {
	position: relative;
	width: 100%;
	margin: 15px 0 15px 0;
	overflow: hidden;
}

.column td {
	padding: 0 10px 2px 0;
}

ul.table {
	display: table;
	border-spacing: 2rem 1rem;
}

ul.table > li {
	display: table-row;
}

ul.table > li:first-of-type {
	font-weight: bold;
}

ul.table > li > span {
	display: table-cell;
}


/*************************************
	Page contact
 *************************************/

 
#contact_list {
	width: 675px;
}

#contact_list .column {
	position: relative;
	float: left;
	width: 200px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #FFFFFF;
	margin: 0 25px 0 0;
	padding: 0;
}

#contact_list.users {
	opacity: 0.25;
}

#contact_list.users.active {
	opacity: 1;
}

.form_modify form {
	position: relative;
	float: left;
	width: 200px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #FFFFFF;
	margin: 0 25px 0 0;
	padding: 0;
}

.form_modify input, .form_modify textarea, .form_modify select {
	width: 200px;
}

.form_modify label {
	width: 175px;
}


/*************************************
	Page réservation
 *************************************/


.res_cal_splitter {
	display: block;
	width: 240px;
	height: 10px;
	background: #000000;
	margin: 20px 0 20px 0;
}

.res_cal ul {
	width: 335px;
	margin: 15px 0 0 0;
	padding: 0;
}

.res_cal li {
	display: block;
	float: left;
	width: 40px;
	height: 41px;
	font-size: 10px;
	line-height: 41px;
	text-align: center;
	border-top: solid 1px #FFFFFF;
	border-bottom: solid 1px #FFFFFF;
	border-left: solid 1px #FFFFFF;
	list-style: none;
	overflow: hidden;
	white-space: nowrap;
	margin: 0;
	padding: 0;
}

.res_cal .half_height {
	width: 115px;
	border: solid 1px #FFFFFF;
}

.res_cal .half_height div {
	height: 20px;
	line-height: 20px;
	text-align: left;
	padding: 0 0 0 5px;
}

.res_cal .half_height div:nth-child(1) {
	border-bottom: solid 1px #FFFFFF;
}

.res_cal .bt {
	width: auto;
	border: none;
	padding: 0 0 0 5px;
}

.res_cal_grp {
	position: absolute;
	width: 247px;
	border: solid 2px #990F0F;
	margin: -5px 0 0 -5px;
}

.res_cal_blocked {
	position: absolute;
	width: 84px;
	height: 53px;
	background: url(../images/img_blocked.png) left top no-repeat;
	margin: -5px 0 0 -5px;
}

.res_cal_presence {
	position: absolute;
	width: 84px;
	height: 53px;
	background: url(../images/img_presence.png) left top no-repeat;
	margin: -5px 0 0 -5px;
}

.res_cal_waiting {
	position: absolute;
	width: 84px;
	height: 53px;
	background: url(../images/img_waiting.png) left top no-repeat;
	margin: -5px 0 0 -5px;
}

.res_cal_confirmed {
	position: absolute;
	width: 84px;
	height: 53px;
	background: url(../images/img_confirmed.png) left top no-repeat;
	margin: -5px 0 0 -5px;
}

.res_cal_message {
	position: absolute;
	width: 84px;
	height: 53px;
	background: url(../images/img_message.png) left top no-repeat;
	margin: -5px 0 0 -5px;
}

.res_cal_late {
	position: absolute;
	width: 84px;
	height: 53px;
	background: url(../images/img_late.png) left top no-repeat;
	margin: -5px 0 0 -5px;
}

.res_cal_notes {
	position: absolute;
	width: 38px;
	height: 38px;
	background: url(../images/img_notes.png) left top no-repeat;
	margin: -5px 0 0 -5px;
}

.res_cal_date {
	font-size: 24px;
}

.calendar table {
	width: 250px;
	background: #CCCCCC;
	border: none;
	margin: 0 auto 0 auto;
}

.calendar table a:link, .calendar table a:visited {
	color: #000000;
}
.calendar td {
	width: 30px;
	height: 20px;
	background: #FFFFFF;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	text-align: center;
	vertical-align: middle;
	padding: 2px
}
.calendar tr .week_name td {
	height: auto;
	text-align: center;
	padding: 4px;
}
.calendar td .month_name {
	height: auto;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	padding: 10px;
}
.calendar .current_day {
	background: #cccc66;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, .25) inset;
}
.calendar .day_off {
	background: #F2F2F2;
}
.calendar .active_day {
	cursor: pointer;
}
.calendar .active_day:hover {
	text-decoration: underline;
}

.certificates-calendar {
	width: 300px;
	background: #CCCCCC;
	box-sizing: border-box;
	color: #000000;
	text-align: center;
	padding: 25px;
}

.certificates-calendar a {
	color: inherit;
	text-decoration: none;
}

.certificates-calendar h3 {
	display: flex;
	justify-content: space-between;	
	width: 100%;
	font-weight: 800;
	font-size: 18px;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}

.certificates-calendar > div {
	display: table;
	width: 250px;
	border-spacing: 0 10px;
}

.certificates-calendar > div > ul {
	display: table-row;
	background: none;
}

.certificates-calendar > div > ul > li {
	display: table-cell;
	position: relative;
	font-size: 12px;
	text-align: center;
}

.certificates-calendar > div > ul.weekdays > li {
	border-bottom: solid 2px #000000;
	padding: 0 0 5px 0;
}

.certificates-calendar > div > ul > li > label input[type="checkbox"] {
	display: none;
}

.certificates-calendar > div > ul > li label {
	float: none;
	position: relative;
	width: auto;
	color: #000000 !important;
	font-size: 12px !important;
	z-index: 10;
}

.certificates-calendar > div > ul > li >  label span:before {
	content: "";
	display: none;
	position: absolute;
	width: 24px;
	height: 24px;
	left: 50%;
	top: 50%;
	background-color: #000000;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
}

.certificates-calendar > div > ul > li > label input[type="checkbox"]:checked~span {
	color: #FFFFFF;
}

.certificates-calendar > div > ul > li > label input[type="checkbox"]:checked~span:before {
	display: block;
}


/*************************************
	Formulaire NIP
 *************************************/


#form_pin {
	position: relative;
	width: 230px;
	margin: 100px auto 0 auto;
}

#form_pin p, .input_pin p {
	font-size: 21px;
	text-transform: uppercase;
}

#form_pin input, .input_pin input {
	display: inline;
	width: 48px;
	height: 48px;
	line-height: 48px;
	font-size: 24px;
	text-align: center;
	margin: 0 5px 0 0;
	padding: 0;
}

#form_pin input:last-child, .input_pin input:last-child {
	margin: 0;
}

#form_pin button, .input_pin button {
	display: block;
	width: 215px;
	height: 40px;
	font-size: 18px;
	text-transform: uppercase;
	margin: 20px 0 0 0;
	padding: 0;
}

.input_pin input {
	width: 38px;
	height: 38px;
	line-height: 38px;
	font-size: 18px;
}

.input_pin button {
	width: 175px;
	height: 30px;
	margin: 5px 0 0 0;
}

#form_pin .msg {
	font-size: 18px;
	margin: 0;
}


/*************************************
	Formulaires AJAX
 *************************************/

 
.page_form {
	position: relative;
	width: 575px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #333333;
}

.page_form .column {
	position: relative;
	float: left;
	width: 250px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #333333;
	margin: 0;
	padding: 25px 0 0 25px;
}

.page_form .column p {
	font-size: 11px;
	margin: 0;
	padding: 0;
}


/*************************************
	Lightbox
 *************************************/


#lightbox, #lightbox .bckg {
	position: fixed;
	display: none;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

#lightbox .bckg {
	display: block;
	background: rgba(0, 0, 0, .5) url(../images/img_loading.gif) center center no-repeat;
	cursor: pointer;
}

#lightbox .wrap {
	position: relative;
	width: 575px;
	height: 650px;
	top: 50%;
	background-color: #88704c;
	background:-moz-linear-gradient(-45deg, #b9a381 0%, #b09671 40%, #88704c 100%);
	background:-webkit-linear-gradient(-45deg, #b9a381 0%,#b09671 40%,#88704c 100%);
	background:linear-gradient(135deg, #b9a381 0%,#b09671 40%,#88704c 100%);
	box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.5);
	overflow: auto;
	margin: -325px auto 0 auto;
}