/* CSS Document */
html{
	background-color: #575757;
	margin-top:1em;
}
body{
	color: #2c1b0f;
	width: 1024px;
	margin: auto;
/*	font-family:consolas;*/
	font-family:Tahoma, Geneva, sans-serif;
}
#body{
	background-color: #f7eed5;
	background-repeat:repeat-x;
	/*display: none;*/
	margin-bottom: 1em;
	color: #2c1b0f;
	/*min-height:512px;*/
}

#header{
	/*height:150px;*/
	background-image:url(/includes/images/header_background_3.png);
	background-size:contain;
	background-repeat:no-repeat;
	height:160px;
    margin: 0 auto 1em auto;
    text-align: center;
    vertical-align: middle;
	font-family:Verdana, Geneva, sans-serif;
	cursor:pointer;
}
#connexion{
	height:30px;
}
.rubrique{
	height: 180px;
	width: 180px;
	background-color: white;
	border:2px solid white;
	margin:2em 0;
	color:#2c1b0f;
	display:table;
	margin:0 auto;
	box-shadow:0 0 10px black;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	/* ...and now for the proper property */
	transition:.5s;
}

.rubrique div{
    display: table-cell;
    vertical-align: middle;
    /*width: 100%;*/
    margin: 0 auto;
    text-align: center;
}
.rubrique div a{
	font-weight:bold;
	text-decoration:none;
	color: inherit;
	font-size:24px;
}
.rubrique:hover{
	color: #900;
	cursor:pointer;
	border:2px solid black;
}
.image:hover a{
	text-shadow:2px 2px 2px black;
}
img{
	border: none;
}


img.icon{
	cursor:pointer;
	vertical-align:middle;
	/*float:left;*/
}

.red{
	color: #900;
	font-weight:bold;
}

.bold{
	font-weight:bold;
}
.white{
	color: white;
	font-weight:bold;
}
a:link{
	color:black;
}
a:link:hover{
	color: #900;
}
a.link, p.link a, a.download{
	text-decoration: none;
	color: inherit;
	border: none;
}

a.link:hover, p.link a:hover, a.download:hover, a.pdf:hover, a.csv:hover, a.doc:hover,
h1.link:hover, h2.link:hover, h3.link:hover, h4.link:hover, h5.link:hover, h6.link:hover{
	color:#900;
	cursor:pointer;
}
*:before{
	margin-right:2px;
	vertical-align:middle;
	display:inline-block;
}
a.download:before{
	content:url(/cpk/includes/icons/disk.png);
}
a.download:hover:before{
	content:url(/cpk/includes/icons/disk_hover.png);
}
a.download:active:before{
	content:url(/cpk/includes/icons/disk_down.png);
}

a.pdf:before{
	content:url(/cpk/includes/icons/file_extension_pdf.png);
}
a.pdf:hover:before{
	content:url(/cpk/includes/icons/file_extension_pdf_hover.png);
}
a.pdf:active:before{
	content:url(/cpk/includes/icons/file_extension_pdf_down.png);
}

a.csv:before{
	content:url(/cpk/includes/icons/file_extension_xls.png);
}
a.csv:hover:before{
	content:url(/cpk/includes/icons/file_extension_xls_hover.png);
}
a.csv:active:before{
	content:url(/cpk/includes/icons/file_extension_xls_down.png);
}

a.doc:before{
	content:url(/cpk/includes/icons/file_extension_doc.png);
}
a.doc:hover:before{
	content:url(/cpk/includes/icons/file_extension_doc_hover.png);
}
a.doc:active:before{
	content:url(/cpk/includes/icons/file_extension_doc_down.png);
}

a.mail{
	text-decoration: none;
	color: #900;
	border: none;
}
a.mail:hover{
	text-decoration: underline;
}

hr, pre{
	margin: 0;
	padding: 0;
}

#actu, #horaires, #calendrier_mini{
	min-height: 200px;
}

#accueil{
/*	min-height: 400px;*/
	margin: 10px 0 10px 0;
}

#left div h1{
	margin:0.5em 1em 1em 1em;
}

h1{
	/*font-family: Verdana, Geneva, sans-serif;*/
	color: #2c1b0f;
	font-weight: bold;
	font-size:30px;
	margin: 0;
	margin-left: 1em;
}

h2{
	color: #575757;
	font-size:28px;
	margin: 0;
	margin-left: 2em;
}

h3{
	color: #575757;
	font-size:medium;
	margin: 1em 0 1em 2em;
}

h4{
	color: #575757;
	font-size:medium;
	margin: 0.5em 0 0em 0em;
}

pre{
	white-space:pre-line;
	font-family: Verdana, Geneva, sans-serif;
}

legend{
	color: black;
	font-size:large;
	font-weight:bold;
}
.hover{
	height:32px;
	cursor:pointer;
	color: #900;
}

.clear{
	clear: both;
}

div.box{
	overflow:hidden;
}

div.content{
/*	min-height:500px;*/
	padding:0.5em;
}

div.contentBox{
	font-family: Verdana, Geneva, sans-serif;
	font-size:small;
	margin:0 0.5em 0 0.5em;
}

div.contentPage{
	margin:0 2em 0 2em;
	text-align:justify;
}

div.contentPage hr{
	margin-top:1em;
}

fieldset{
	border:2px solid white;
}

fieldset legend h3{
	font-weight:bolder;
	font-size:large;
	color:white;
	margin-left:0;
}

#albumsExistants .imgHolder img{
	box-shadow: 2px 2px 10px;
	margin:5px;
}

#albumsExistants .imgHolder{
	float:left;
	text-align:center;
	border:1px dashed black;
	margin:1em;
	font-size:small;
	height:200px;
	width: 200px;
	display:table;
	text-overflow:ellipsis;
}

#albumsExistants .imgHolder .middleBox{
	max-width:150px;
	max-height:150px;
	display: table-cell;
    vertical-align: middle;
	overflow:hidden;
	text-overflow:ellipsis;
}

#albumsExistants .imgHolder:hover{
	border:1px solid #900;
	cursor:pointer;
}

div.hr{
	width:1px;
	height:100%;
	background-color:black;
	float:left;
	box-shadow:1px 0px #444;
}

.albumHolder #before,.albumHolder #after{
	box-shadow:none;
	width: 32px;
	height: 32px;
	margin:-4px 10px 0 0;
	/*float:left;*/
}

.albumHolder #after{
	display:none;
}

.albumHolder #before{
	display:inline;
}

#wait{
	position:fixed;
	color:black;
	height:250px;
	width:250px;
	top: 50%;
    left: 50%;
    margin-top: -125px;
    margin-left: -125px;
	
	text-align:center;
	display:table;
	font-size:large;
	color:#900;
}

#wait div{
	text-align:center;
	display: table-cell;
	vertical-align:middle;
	position:relative;
}

.border{
	border: 2px solid black;
}

#left{
	float: left;
	width: auto;
	/*border: 0 solid black;*/
}

#right{
	float: left;
	width: 874px;
	/*border-left: 2px solid black;*/
	padding-bottom:1em;
	min-height:300px;
}

.left{
	float: left;
}

.right{
	float: right;
}

.hide{
	display:none;
}

#date{
	float:right;
	font-weight:bold;
	font-size:medium;
	font-family:inherit;
}

.center{
	text-align:center;
}

.pointer{
	cursor:pointer;
}

.fill{
	 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	 -moz-box-sizing: border-box;    /* Firefox, other Gecko */
	 box-sizing: border-box; 
	 width:100%;
}

#error_403, #error_404{
	background-image:url(../icons/error_image.png);
	background-repeat:no-repeat;
	background-position:bottom right;
	background-size:contain;
	min-height: 400px;
	margin: 10px 0 10px 0;
}

label{
	font-weight:bold;
	color:black;
}

label:after{
	content:"\A";
	white-space:pre;
	font-size:large;
}

input:hover, select:hover, textarea:hover{
	border: 2px solid #2c1b0f;
	background-color: #D3E2E2;
}

input, textarea, select{
	border:2px solid black;
	background-color: white;
	margin:2px 2px;
	padding: 2px 5px;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	/* ...and now for the proper property */
	transition:.5s;
}
.button{
	border:2px solid black;
	background-color: white;
	font-weight: bold;
	font-size:large;
	margin:2px;
	padding: 2px 5px;
}
.button:hover{
	border:2px solid #2c1b0f;
	cursor:pointer;
}

.valid{
	background-color:#79ff02;
}
.cancel{
	background-color:#900;
	color:white;
}

a:visited{
	color:inherit;
}

.important{
	color: #900;
	font-weight: bold;
}

.imgHolder{
	float:left;
	text-align:center;
	border:2px solid black;
	height:190px;
	width: 190px;
	display:table;
	text-overflow:ellipsis;
	margin:5px;
	padding:5px;
}

.imgHolder .middleBox{
	display: table-cell;
	vertical-align: middle;
}

table.liste{
	border:1px solid black;
	border-collapse:collapse;
	width:100%;
	margin-bottom:10px;
}

table.liste th{
	background-color: #C1BAAA;
    background-repeat: repeat-x;
    background-size: contain;
    border: medium none;
    color: #FFFFFF;
    overflow: hidden;
    padding: 1px 5px;
	font-size:inherit;
	vertical-align:middle;
	text-align:left;
	font-weight: bold;
	white-space:nowrap;
}
table.liste th img {
    height: 8px;
    width: 8px;
}
table.liste td{
	text-align:left;
	vertical-align:top;
	padding:2px 5px;
	margin: 0 2px;
	white-space:nowrap;
}
table.liste tr.modif td{
	background-color:#666;
}
table.liste tr:hover td{
	background-color:#C0C0C0;
}
table.liste tr:nth-child(odd){
	background-color: #F5F5F5;
}
table.liste tr:nth-child(even){
	background-color:#E1E1E1;
}

.required:after{
	 content:" *";
	 white-space:pre-line;
}
.error{
	color:#900;
	font-weight:bold;
}
.succes{
	color:#090;
	font-weight:bold;
}
input.error, textarea.error, select.error{
	background-color: #9F2F32;
	color: white;
}

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