/*General*/

@font-face {
    font-family: 'bebas';
    src: url('../img/bebas.woff') format('woff');
}


* {
    margin: 0;
    box-sizing: border-box;
    outline: none;
}

.outline:focus {
    outline: 2px dotted #321;
}

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

body {
    background: #ebdcbe;
    color: #333;
    font: condensed 1.0em arial, sans-serif;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

table {
    border-collapse: collapse;
}

ul {
    list-style: none;
    padding-left: 0;
}

hr {
    background: #d0bc96;
    border: 0;
    height: 2px;
    margin: 50px 0;
}

sup {
    display: inline-block;
    margin-top: -6px;
    position: relative;
    top: 2px;
    font-size: condensed .8em;
}

h1,
h2,
h3 {
    text-align: left;
}

h1 {
    font: 4em/1em bebas, sans-serif;
    padding-bottom: 4px;
    margin-top : 8px;
}

h2 {
    font: 2em/1em bebas, sans-serif;
    padding-bottom: 20px;
}

h3 {
    padding: 20px 0;
}

::selection {
    background: #fe0;
    color: #333;
}

a {
    text-decoration: none;
    outline: 0;
    color: #321;
}

a:hover {
    color: #4b2d0f;
}

.menu_bouton {
    width:220px!important;
    float:left;
    margin:10px;
    height:100%;
}

.centre {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.tdb {
    padding-top: 40px;
    float:left;
}

.clear {
    clear: both;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.cache {
    display: none !important;
}

/*Boutons*/


.bloc_input{
    margin-top: 2px;
    min-height:42px;
  }
 
.bloc_input_line{
    display: inline-block;
    margin-top: 5px;
}



input[type=button],
input[type=submit],
.bouton,
button {
    background-color: #321 !important;
    border: 0;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font: bold 1.1em/1em arial, sans-serif;
    font-stretch: condensed;
    padding: 6px 12px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-appearance: none;
}

input[type=button]:hover,
input[type=submit]:hover,
.bouton:hover {
    
}

input[type=button]:disabled,
input[type=submit]:disabled,
.bouton:disabled {
    color: #555 !important;
}
.big-btn,
.enregistrer {
    background-image: url(../img/disquette.png) !important;
    background-position: 15px 11px !important;
    background-repeat: no-repeat !important;
    margin-right: 5px;
    padding-left: 42px;
}

.imprim2 {
    background-image: url(../img/imprimante.png) !important;
    background-position: 10px 9px !important;
    text-align: left!important;
    padding-left: 42px !important;
}

.loupe {
    background-image: url(../img/loupe.png) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 40px;
}

/*Champs*/

input[type=text],
input[type=password],
input[type=email],
input[type=number],
textarea,
select {
    background: #fff;
    border: 0;
    color: #333;
    font: condensed 1.1em arial, sans-serif;
    margin-bottom: 5px;
    padding: 8px 12px;
    transition: border .3s;
    width: 100%;
    border-bottom: 4px solid #ebdcbe;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
textarea:focus,
select:focus {
    border-color: #321;
}

select,
.check {
    cursor: pointer;
}

textarea {
    width: 100% !important;
    min-height: 100px !important;
}

.chiffre,
.nb {
    text-align: right;
}

.moyen,
.grand {
    margin-right: 10px;
}

.petit,
.moyen.chiffre {
    margin-right: 5px !important;
}

.mini {
    width: 30px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.petit {
    width: 80px !important;
}

.moyen {
    width: 160px !important;
}

.grand,
.rech {
    width: 240px !important;
}

/*Date*/

.ui-datepicker {
    background: #fff !important;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    overflow: hidden;
    padding: 0;
    z-index: 200;
}

.ui-datepicker-header {
    background: #f7edd9 !important;
    border: 0 !important;
    margin: 20px;
    width: 195px;
}

.ui-datepicker table {
    margin: 0 20px 20px 20px;
}

.ui-state-default {
    background: #f7edd9 !important;
    border: 0 !important;
    color: #333 !important;
}

.ui-state-default:hover {
    background: #e4d0a7 !important;
}

.ui-state-active {
    background: #321 !important;
    color: #f7edd9 !important;
}

.ui-corner-all {
    background: #f7edd9;
    width: 240px;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
}

/* .ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: #01a6ea !important;
    border: 1px solid #01a6ea !important;
} */

.ui-datepicker-prev:hover span,
.ui-datepicker-next:hover span {
    background-image: url(../"../../lib/jquery/images/ui-icons_ffffff_256x240.png") !important;
}

.ui-datepicker-next {
    float: right;
}

.ui-datepicker-title {
    font: 16pt bebas, sans-serif;
    padding: 10px 0;
    text-align: center;
}

.ui-datepicker-calendar a {
    display: block;
    padding: 5px;
    text-align: center;
}

.ui-datepicker-calendar a:hover {
    background: #01a6ea;
    color: #fff;
}

/*Header*/

#header {
    background: #f7edd9;
    height: 130px;
}

#logo {
    display: block;
    left: 15px;
    position: absolute;
    top: 25px;
    z-index: 101;
}

#logo img {
    width: 200px;
}

/*Connexion*/

#connexion {
    background: #ebdcbe;
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 15px;
    width: 420px;
}

#connexion .champ {
    margin-bottom: 0;
    width: 171px;
    padding: 3px 12px;
}

#connexion .bouton {
    margin-bottom: 0;
    position: relative;
    top: 2px;
    padding: 4px 12px;
}

#connexion a {
    font-size: .8em;
    top: 14px;
    right: 15px;
    position: absolute;
    text-align: right;
}


#form_concours {
    position: absolute;
    top: 20px;
    width:600px;
}

/* Menu----------------------*/

#menu {
    background: #f7edd9;
    box-shadow: 0 6px 5px rgb(235,220,190,.5);
    position: absolute;
    top: 100px;
    width: 100%;
    z-index: 100;
    padding-right:50px;
}

/* Menu----------------------*/

.fixed {
    position: fixed;
    top: 0;
    right: 0px;
    width: 100%;
}

.onglet {
    position: relative;
    float: right;
}

.onglet a {
    display: block;
    padding: 10px 15px 0;
    height: 40px;
    color: #321;
    cursor: pointer;
}

.onglet a:hover,
.active a {
    background: #321;
    color: #f7edd9;
}

.active a {
    cursor: default;
}

.deroul {
    position: absolute;
    top: 40px;
    width: 200px;
    background: #573a1f;
    display: none;
}

.deroul a {
    display: block;
    width: 200px;
    color: #f7edd9;
    padding: 10px 15px;
}

/*Tableaux*/

.crayon {
    background: url(../img/crayon.png) no-repeat 14px 12px;
    background-position: center center;
    font-weight: 700;
    line-height: 1em;
    padding-left: 15px;
    width: 30px
}
.loupen {
    background: url(../img/loupe_n.png) no-repeat 14px 12px;
    background-position: center center;
    font-weight: 700;
    line-height: 1em;
    padding-left: 15px;
    width: 30px
}

.tableau {
    /* margin: 30px 0; */
    width: 100%;
}

.tableau th,
.tableau td {
    padding: 4px 8px;
    min-width: 40px;
}

.tableau th {
    background-color: #321;
    color: #f7edd9;
    text-align: left;
}

.tableau td {
    background-color: #f7edd9;
}

.tableau tr:nth-child(2n) td {
    background-color: #f1e3c6;
}

.tableau tr {
    cursor: pointer;
}

.tableau tr:hover td {
    background-color: #e8d4ab;
}

.tableau_mini {
    font-size: 0.8em;
    line-height: 0.8em;
}

.tableau_mini input[type="text"] {
    padding: 4px 6px !important;
}

input[type="radio"] {
    margin: 15px 0px 16px 15px !important;  
}

.container_radio {
    background-color: #fff;
    margin: 2px 0px 10px 0px;
    padding-right: 12px;
}

.tableau a {
    background-image: url(../img/crayon.png) no-repeat 0 2px;
    font-weight: 700;
    line-height: 1em;
    padding-left: 15px;
}

.parent {
    height: 60vh;
    overflow: auto;
    
}

.editable {
    margin-top: 0;
}

.editable tr {
    cursor: default !important;
}

.editable tr:hover td {
    background: #ccf;
}

.editable tr:hover td {
    background: #ccf;
}

.editable input,
.editable select {
    margin: 0;
    border-bottom: 0;
}

/*Pagination*/

.info_action {
    display: inline-block;
    font-size: 0.8em;
}

/* .barre_action {border: 1px solid #f00;
    display: inline-block;
    height: 40px;
    margin-bottom: 8px;
} */

.barre_page {
    text-align: left;
}

.barre_page a,
.barre_page span {
    background: #ddf;
    display: block;
    float: left;
    color: #44b;
    padding: 6px 10px;
    border-right: 1px solid #eef;
}

.barre_page a:hover {
    background: #fff;
}

.barre_page span {
    background: #fff;
}

.concours_uid {
    width: 400px !important;
}
/*Colonnes*/

#col1,
#col2,
.col1,
.col2 {
    float: left;
    width: 40%;
}

#col1,
.col1 {
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid #ddf;
}

#col2,
.col2 {
    padding-left: 30px;
    border-left: 1px solid #ddf;
    margin-left: -1px;
}

.ajax-upload-dragdrop {
    background: #fff;
    border: 0 !important;
}

.error {
    display: inline-block;
    color: #d05;
}

.fl_bas,
.fl_haut {
    cursor: pointer;
}

.imprim {
    background: url(../img/imprimante.png) no-repeat center !important;
    width: 60px;
}

.plus {
    background-image: url(../img/plus.png);
    width: 60px;
}

.sauv1 {
    background: url(../img/disquette.png) no-repeat 15px center !important;
    padding-left: 38px !important;
}

.sauv1wait {
    background: url(../img/ajax-loader.gif) no-repeat 15px center !important;
    padding-left: 38px !important;
}

.sauv1:hover {
    background: url(../img/disquette.png) no-repeat 15px center !important;
    background: #343;
}

.sauv2 {
    background: url(../img/disquette-retour.png) no-repeat 15px center !important;
    padding-left: 50px !important;
}

.sauv3 {
    background: url(../img/disquette-plus.png) no-repeat 15px center !important;
    padding-left: 50px !important;
}

.supprimer {
    background: url(../img/poubelle.png) no-repeat center !important;
    width: 60px;
}

.retour_liste {
    background: url(../img/retour.png) no-repeat center !important;
    width: 60px;
}

.suite {
    background: url(../img/suite.png) no-repeat center !important;
    width: 60px;
}

.modif {
    background: url(../img/crayon.png) no-repeat 15px center !important;
    padding-left: 38px !important;
    padding: 4px 20px !important;
}

/*Impression*/
.serie_bouton{
    float: left;
    margin: 20px;
}

@media only print {
    #menu,
    #connexion,
    #info-contrat,
    #footer {
        display: none;
    }
    #contrat {
        border: 0;
        line-height: 13pt;
        padding: 0;
    }
    #header {
        height: auto;
    }
    #logo {
        margin: 0 0 20px 0;
        top: 0;
    }
    #main {
        padding: 0;
    }
    #bloc-remplacant {
        left: 490px;
        position: absolute;
        top: 70px;
    }
}
