#content {
    clear:both;
    background:#EEEEEE;
    padding-bottom: 0px;
}

#content .c {
}

h1 , .h1 {    
    font-size:3em;
    padding:10px 0;
    font-family: "Times New Roman";
    color:#AEA38D;
}

h2 , .h2 {    
    font-size:1.7em;
    padding:7px 0;
    font-family: "Times New Roman";
    color:#706659;
}

h2.nostyle {
    font-size:inherit;
    padding:0;
    font-family:inherit;
    color:inherit;
}

h3 {
    font-size:1.3em;
    padding:5px 0;
    font-family: "Times New Roman";
}

ul.list {
    margin-top:10px;
    margin-bottom:10px;
}

ul.list li {
    list-style:disc;
    list-style-position:inside;
}

img {
    max-width: 100%;
}

/* **************************************************************************************************** */
/* TABLEAUX
/* **************************************************************************************************** */

table {
    width:100%;
    margin:10px 0;
}

table th , table td {
    text-align: center;
    border:1px solid #CCC;
    border-collapse: collapse;
    padding:3px 10px;
    vertical-align: middle;
}

table th {
    background:#EEE;
}

table td {
}

table .th {
    display: none;
}

/* **************************************************************************************************** */
/* FORMULAIRES
/* **************************************************************************************************** */

.form {
}

.form ul li {
    padding-top:10px;
}
.form label {
    display:inline-block;
    min-width:150px;
}

.form input[type=text] , .form input[type=password] , .form textarea  {
    display:inline-block;
    padding:7px 10px;
    width:100%;
    border:none;
    border:1px solid #CCC;
    background:white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    font-size:15px;
}

.form input[type=text]:focus , .form input[type=password]:focus , .form textarea:focus  {
    box-shadow: 0px 0px 2px #9B997F;
    color:#9B997F;
}

.form textarea {
    width:100%;
    min-height:100px;
}

.form input[type=text]:focus , .form input[type=password]:focus , .form textarea:focus  ,
.form input[type=text]:hover , .form input[type=password]:hover , .form textarea:hover
{
    outline:none;
}

.form select {
    padding:3px 2%;
}

.form input[type=text].error , .form select.error , .form textarea.error , .form input[type=password].error {
    border:1px solid red;
}

.form input[type=submit] {
    border:none;
    width:200px;
    margin:20px auto;
}

.form ul li.short {
    float:left;
    width:48%;
    margin-right:2%;
}

.form ul li.short.endline {
    margin-left:2%;
    margin-right:0%;
}

.form ul li.short input[type=text] , .form ul li.short input[type=password] , .form ul li.short textarea  {
    padding:5px 10px;
    width:100%;
}

.form ul li.long {
    width:100%;
    clear:both;
}

.form ul li.long input[type=text] , .form ul li.long input[type=password] , .form ul li.long textarea  {
    padding:5px 10px;
    width:100%;
}

.form .short select {
    width:98%;
}

.bcolors {
    text-align: center;
}

.bcolors .bcolor {    
    margin-left:5px;
    margin-right:5px;
}

.bcolor , .form input[type=submit] {
    padding:6px 20px;
    background:#AFA38E;
    border:1px solid #9B997F;
    color:white;
    display:block;
    cursor:pointer;
    font-size:14px;
    text-align: center;
}

.bcolor:hover , .form input[type=submit]:hover {
    background:#9B997F;
    text-decoration: none;
    color:white;
}

.bcolor.active , .form input[type=submit].active {
    background:#444;
}

.bcolor {
    display: inline-block;
}

.bcolor.btrans {
    background:rgba(0,0,0,0.3);
    color:white;
}

.bcolor.btrans:hover {
    background:rgba(0,0,0,0.6);
    color:#FFF;
}

.bcolor.btrans.bwhite {
    background:transparent;
    color:#FFF;
    border-color:#FFF;
}

.submits {
    text-align: center;
}
.submits input[type=submit] {
    display: inline-block;
    margin-left:10px;
    margin-right:10px;
}

/* **************************************************************************************************** */
/* PAGINTATION
/* **************************************************************************************************** */

.pagination {
    float:right;
    margin-top:20px;
}

.pagination-item {
    display:block;
    padding:4px 7px;
    background:#DBDBDB;
    color:white;
    float:left;
    margin-right:3px;
    border-radius:15px;
}

.pagination-item.current , .pagination-item:hover {
    cursor:pointer;
    background:#706F6F;
}

/* **************************************************************************************************** */
/* INFOS BULLE
/* **************************************************************************************************** */

.bulle {
    background: rgba( 199 , 0 , 106 , 0.1 );
    border-bottom: 2px solid red;
    padding:10px;
    margin:auto;
    margin-bottom: 7px;
    margin-top: 3px;
    overflow:hidden;
}
.bulle.message {
    background: #a6f8b7;
    border: 1px solid #49f160;
    padding:10px;
    margin-top: 10px;
}
.bulle.errors {
    background: #f36767;
    border: 1px solid #f14343;
    padding:10px;
    margin-top: 10px;
    color:white;
}

/* **************************************************************************************************** */
/* S_SELECT
/* **************************************************************************************************** */

.sSelect {
    display:block;
    font-family: arial;
}

.sSelect .sSelectbar {
    padding:5px 10px;
    cursor:pointer;
    display: inline-block;
    padding-right:30px;
    border: 1px solid #CCCCCC;
    min-width:200px;
    background: url("../images/elements/arrowselect.png") white no-repeat top right;
}

.sSelect .sSelectUl {
    background:white;
    cursor:pointer;
    min-width:240px;
    border: 1px solid #CCCCCC;
    position: absolute;
    top:26px;
    left:0;
}

.sSelect .sSelectUl li {
    padding:5px 10px;
    border-bottom: 1px solid #EEEEEE;
    white-space: nowrap;
}

.sSelect .sSelectUl li:hover {
    background:#EEEEEE;
}

.sSelect .sSelectInput {
    background:white;
    min-width:100%;
    border:none;
    outline:none;
}

.sInput {
    display: inline-block;
    vertical-align: middle;
    width:20px;
    height:20px;
    margin:5px 10px;
    background:white;
    position: relative;
    cursor: pointer;
}

.sInput.checked:after {
    content:"";
    display: block;
    width:10px;
    height:10px;
    margin:5px;
    background:#AFA38E;
    transform: rotate(45deg);
}

/*---------------------*/
/*      SEARCH BAR     */
/*---------------------*/

#search .webcontent  .layoutheader h1 .sep {
	display: block;
	width:20px;
	height:2px;
	background:#AFA38E;
	margin:10px auto;
}

#search .webcontent  .layoutheader .sort {
	margin:20px;
}

#search .webcontent .layoutheader .sort span {
	display: inline-block;
	margin-left:30px;
}

#search .webcontent .layoutheader .sort span:hover , #search .webcontent .layoutheader .sort span.active {
	cursor:pointer;
	font-weight: bold;
}

#search .webcontent .noresult {
	margin:50px 0 100px 0;
	text-align: center;
}

#search .webcontent .sSelect  {
	color: #afa38d;
	padding-left: 6px;
	padding-right: 2px;
	padding-top: 1px;
	font-size: 13px;
}

#search .webcontent .sSelectUl {
	width: auto;
	min-width: 56px;
	overflow: auto;
    max-height: 132px;
}

#search .webcontent .sSelect .sSelectbar {
	min-width: 100%;
}


@media screen and (max-width: 600px) {

    h1 , .h1 {
        font-size:2em;
    }

    #content {
        margin:0;
        clear:both;
    }

    /* form responsive */

    .form input[type=text] , .form input[type=password] , .form textarea  {
        display:block;
        width:100%;
    }

    .form ul li.short  {
        width:100%;
        margin:0;
    }

    .form ul li.short.endline {
        margin:0;
    }

    .form ul li.short input[type=text] , .form ul li.short input[type=password] , .form ul li.short textarea  {
        display:block;
        width:100%;
        padding:3px 2%;
    }

    .form select {
        display:block;
        width:100%;
    }

    /* table responsive */

    table , tbody, table tr {
        display: block;
        border-collapse: collapse;
        width:100%!important;
    }

    table tr {
        margin-top:10px;
        display: block;
    }

    table th {
        display: block;
    }

    table td {
        display: block;
        background:#FCFCFC!important;
        text-align: left!important;
        border-top:none;
    }

    table td:first-child {
        border-top:1px solid #CCC;
    }

    table .th {
        display: inline-block;
        margin-right:10px;
    }

    table .th {
        font-weight: bold;
        display: inline-block;
        min-width: 150px;
    }

    table thead , table .trh {
        display: none;
    }

}

