/*
=================================================
                  General markups
=================================================
*/

*{
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
		    box-sizing: border-box;
}

html{
	background-color: #ADBCCB;
	height: 100%;
}

body{
	width: 1024px;
	background-color: white;
	margin: 0px auto;
	padding-bottom: 1px; /* Avoid bad bottom placment */
	color: #656565;
	font-family: "arial";
	font-size: 11pt;
	box-shadow: 0 0 10px hsla(0,0%,0%,0.25);
	border-left: 1px solid #5B5C5A;
	border-right: 1px solid #5B5C5A;
	min-height: 100%;
}

a{
	text-decoration: none;
	color: #656565;
}

form{
	margin:10px;
}

h3{
	margin: 10px;
}

img {
	border: none;
}

hr{
	margin: 10px;
	border: none;
	border-bottom: 1px solid #CDCDCD;
}

.float-right{
	float: right;
}

.no-border{
	border: none !important;
}

/*
=================================================
                    Header
=================================================
*/

#header img{ /* Fix image overflow on header*/
	max-width: 1020px;
}

#header h1{
	margin: 0;
	padding: 0;
}

/*
=================================================
              Main Navigation
=================================================
*/

#navigation ul{
	list-style: none;
	text-align: right;
	margin: 10px auto;
	padding: 0 10px;
}

#navigation li{
	display: inline-block;
}

#navigation a{
	font-size: 13pt;
	padding: 0 20px;
	text-transform: uppercase;
	text-decoration: none;
	background-image: url("images/menu-soulignement.png");
	background-position: center bottom;
	background-repeat: no-repeat;
}

#navigation a:hover, #navigation a.selected{
	color: #99D1CB;
	background-image: url("images/menu-soulignement-hover.png");
}

/*
=================================================
                   Carrousel
=================================================
*/

#carrousel{
	display: table-row;
	background-color: black;
	width: 100%;
	margin: 10px 0;
	overflow: hidden;
}

#carrousel ul{
	display: table-cell;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 275px;
	vertical-align: top;
}

#carrousel canvas{
	display: table-cell;
	width: 749px;
	vertical-align: top;
	background-image: red;
}


#carrousel a, #carrousel h4{
	display: block;
	background-image: url("images/blocgauche-surlignement.png");
	background-position: left bottom;
	background-repeat: no-repeat;
	padding: 5px 10px;
	font-size: 11pt;
	text-decoration: none;
	color: #CCCCCC;
}

#carrousel h4{
	margin: 0;
	color: white;
	font-weight: bold;
}

#carrousel a:hover, #carrousel a.selected{
	background-image: url("images/blocgauche-surlignement-over.png");
	color: white;
}

#carrousel .main{
	display: table-cell;
	width: 699px;
	background-color: black;
	background-image: url("images/carrousel/image4.jpg");
	background-repeat: no-repeat;
	background-position: center left;
	vertical-align: middle;
}

#carrousel .arrow{
	display: table-cell;
	width: 50px;
	background-color: black;
	background-repeat: no-repeat;
	background-position: center center;
	vertical-align: middle;
}

#carrousel .right{
	background-image: url("images/arrow-right.png");
}

#carrousel .left{
	background-image: url("images/arrow-left.png");
}


/*
=================================================
                Carrousel Admin
=================================================
*/

#carrousel-admin{
	margin: 20px;
}

#carrousel-admin form{
	margin: 0;
}

#carrousel-admin textarea{
	width: 100%;
	height: 400px;
	border: none;
	background-color: #F5F5F5;
	border-left: 4px solid #709CDA;
	padding: 5px;

}


#control-bar .float-right, #controle-bar button{
	margin: 15px 0;
	margin-right: 15px;
}


/*
=================================================
              Main content
=================================================
*/

#main{
	display: block;
	width: 1024px;
	padding: 10px;
}

#main a{
	color: #649AD4;
}

#main a:hover{
	color: #6D98C6;
}

#main ul a{
	color: #656565;
}

#main ul a:hover{
	color: #656565;
}

#left-menu{
	display: table-cell;
	width: 200px;
	list-style: none;
	padding: 10px;
	vertical-align: top;
	padding-top: 1.5em;
}

#left-menu a{
	display: block;
	width: 150px;
	color: #656565;
	border: 1px solid #656565;
	border-radius: 2px;
	padding-right: 10px;
	padding: 40px 0px;
	text-align: center;
	font-weight: bold;

}

#left-menu a:hover{
	color: #656565;
}

#left-menu ul{
	list-style: none;
	padding-left:0px;
}
.dl-plaquette{
	background-image: url("images/plaquette-background.png");
	background-position: center center;
	background-repeat: no-repeat;
}

.dl-plaquette:hover{
	background-color: #EFEFEF;
}

#content{
	display: table-cell;
	vertical-align: top;
	width: 100%;
	padding: 10px;
}

#text-wrapper{
	display: table-row;
	padding: 10px;
}

#text-wrapper .column{
	display: table-cell;
	width: 334px;
	padding: 10px;
	border-left: 1px solid hsl(0,0%,90%);
	text-align: justify;
	vertical-align: top;
}

#text-wrapper .column:first-child{
	border: none;
}

#text-wrapper img{
	max-width: 245px;
	display: block;
	margin: 10px auto;
	padding: 0px;
}

#text-wrapper h3{
	margin: 5px 0;
}

/*
=================================================
                 Page edition form
=================================================
*/


#page-edit-form h2{
	border-bottom: 1px solid #DEDEDE;
	padding: 5px 0;
	text-transform: uppercase;
}

#page-edit-form textarea{
	width: 100%;
	border: none;
	background-color: white;
	padding: 5px;
	resize: none;
	padding-left: 10px;
	border-left: 4px solid #709CDA;
}

#page-edit-form label{
	display: block;
	margin: 5px -2px;
	font-weight: bold;
}

#page-edit-form .column{
	height: 302px; /* le retour */
	width: 325px;
	display: table-cell;
	border: none;
	border-right: 1px solid #DDDDDD;
}

#page-edit-form textarea:last-child{
	border: none;
}

#page-edit-form input{
	font-size: 1.25em;
	font-weight: bold;
	width: 100%;
	border: none;
	background-color: white;
	border-left: 4px solid #709CDA;
	padding-left: 10px;
}

#preview{
	margin: 10px;
}

#preview div{
	display: table-row;
	width: 1024px;
}

#preview .column{
	display: table-cell;
	width: 334px;
	padding: 10px;
	border-left: 1px solid hsl(0,0%,90%);
	text-align: justify;
	vertical-align: top;
}

#preview .column:first-child{
	border: none;
}

#preview img{
	display: block;
	max-width: 309px; /* 334 - #preview p padding-right */
	margin: 10px auto;
	padding: 0px;
}

#preview h3{
	margin: 5px 0;
}


/*
=================================================
                    Page list
=================================================
*/

#page-list{
	list-style: none;
	padding: 0;
}

#page-list li{
	border-bottom: 1px solid #CCCCCC;
}

#page-list a{
	display: inline-block;
	width: 90%;
	padding: 4px;
}

#page-list li:hover{
	background-color: #EEEEEE;
}

#page-list a.float-right{
	width: 10%;
	text-align: right;
}
#page-list a.float-right:hover{
	background-color: #F35555;
	color: white;
}


/*
=================================================
                  Menu order
=================================================
*/


#menu-order-container{
	width: 100%;
}

#menu-order-container input{
	width: 100%;
}


/*
=================================================
                Image browser
=================================================
*/

#image-browser{
	padding: 0;
	list-style: none;
}

#image-browser li{
	margin: 10px;
}

#image-browser li:hover{
	background-color: #DDDDDD;
}

#image-browser a{
	margin-right: 15px;
}

#image-browser a.float-right{
	display: block;
	margin: 0;
	padding: 5px;
}

#image-browser li:hover a.float-right{
	background-color: #F35555;
	color: white;
}

#image-browser li:hover a.float-right:hover{
	background-color: #EC4040;
}


#image-browser img{
	max-width: 150px;
	max-height: 150px;
	vertical-align: middle;
}


/*
=================================================
                  Footer
=================================================
*/

#footer{
	background-image: url("images/footer-separation.png");
	background-repeat: no-repeat;
	background-position: center top;
}

#footer p{
	padding: 10px;
	text-align: center;
}

