/*General*/

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

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

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

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

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

body {
    background: #ddf;
    color: #44b;
    font-family:  clear, sans-serif;
    font-size:  1.0em ;
    font-stretch: condensed;
}

#main {
    display:none;

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

table {
    border-collapse: collapse;
}

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

hr {
    background: #bbf;
    border: 0;
    height: 2px;
    margin: 20px 0;
}

.hide {
    display:none;
}

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

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

h1 {
    font: 4em/1em bebas, sans-serif;
    padding-bottom: 12px;
    padding-top: 6px;
    padding-right: 26px;
}

barre_action h1{
    display: inline-block;
    vertical-align: top;
}

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

h3 {
    padding: 20px 0;
}

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

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

a:hover {
    color: #438;
}

.centre {
    width: 1180px;
    margin: 0 auto;
    position: relative;
}
.centre2 {
    margin: 10px 150px 50px 150px;
    position: relative;
}

.clear {
    clear: both;
}

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

.cache {
    display: none!important;
}

/*Boutons*/

input[type=button],
input[type=submit],
.bouton,
button {
    background-color: #44b!important;
    border: 0;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font: bold condensed 1.1em clear, sans-serif;
    padding: 4px 12px;
    -webkit-appearance: none;
    vertical-align: top;
}

input[type=button]:hover,
input[type=submit]:hover,
.bouton:hover {
    background: #55d;
}


.ajouter_ligne {
    width: 100%;
    padding: 0px;
}
.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;
}

.enregistrer_n {
    background-image: url(img/disquette-retour_n.png) !important;
    background-position: 15px 11px !important;
    background-repeat: no-repeat !important;
    margin-right: 5px;
    padding-left: 42px;
}



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

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


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

.btliste {
    background-image: url(img/liste.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: #44b;
    font: condensed 1.1em clear, sans-serif;
    margin-bottom: 4px;
    padding: 3px 6px;
    transition: border .3s;
    width: 100%;
    border-bottom: 4px solid #eef;
}

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

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;
}

.wfsel {
    width: 130px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.petit {
    width: 80px !important;
}

.moyen {
    width: 160px !important;
}

.grand {
    width: 240px !important;
}


/*Date*/



.ui-datepicker {
    background: #fff !important;
    border-radius: 4px;
    box-shadow: 0 0 10px #3279c7;
    overflow: hidden;
    padding: 0;
}

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

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

.ui-state-default {
    background: #e1eff4 !important;
    border: 0 !important;
    color: #01a6ea !important;
}

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

.ui-state-active {
    background: #004795 !important;
    color: #fff !important;
}

.ui-corner-all {
    background: #fff !important;
    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: #fff;
    height: 130px;
}

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


#logo2 {
    display: block;
    left: 180px;
    position: absolute;
    top: 10px;
    z-index: 101;
}


#logo img {
    width: 150px;
}

#logo2 img {
    width: 100px;
}

/*Connexion*/

#connexion {
    /* border: 1px solid; */
    background: #eef;
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 15px;
    width: 420px;
}

#connexion .champ {
    /* background: #eef !important; */
    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;
}


/* Menu----------------------*/
#menu
{
	background: #fff;
	box-shadow: 0 6px 5px rgba(225,239,244,.5);
	right: 50px;
	position: absolute;
	top: 90px;
    width: 100%;
	z-index: 100;
}

/* 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: #004795;
      cursor: pointer;
  }
  
  .onglet a:hover,
  .active {
      background: #a2c8f1;
      color: #fff;
  }
  
  .active a {
      cursor: default;
  }
  
  .deroul {
      position: absolute;
      top: 40px;
      width: 200px;
      background: #a2c8f1;
  
      display: none;
  }
  
  .deroul a {
      display: block;
      width: 200px;
      color: #286fbd;
      padding: 10px 15px;
  }
  


/*Tableaux*/


.crayon {
    background: url(img/modifier.png) no-repeat 6px 4px;
    width: 30px
}


.dupliquer {
    background: url(img/dupliquer_n.png) no-repeat 2px 4px;
    width: 30px
}

.tableau,.tableau_fixe {
    margin: 30px 0;
    width: 100%;
}

.tableau th,.tableau_fixe th,
.tableau td,.tableau_fixe td {
    padding: 6px 10px;
}

.tableau th,.tableau_fixe th {
    background-color: #44b;
    color: #eef;
    text-align: left;
}

.tableau td,.tableau_fixe td {
    background-color: #ccf;
}

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

.tableau tr,.tableau_fixe tr {
    cursor: pointer;
}

.tableau tr:hover td {
    font-weight: 700;
}

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

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

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


.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*/

.liste_bouton{
    display: inline-block;
    vertical-align: top;
    margin-left: 20px;
}

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



  .barre_action {
    display: inline-block;
    vertical-align: top;
    height: 40px;
    margin-bottom: 8px;
    margin-top: 18px;
}  

barre_action {
    display: inline-block;
    height: 70px;
    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;
}

/*Colonnes*/

#col1,
#col2,
.col1,
.col2 {
    float: left;
    width: 490px;
}

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

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


#scol1,
#scol2,
.scol1,
.scol2 {
    float: left;
    
}

#scol1,
.scol1 {
    padding-right: 10px;
    border-right: 1px solid #ddf;
}

#scol2,
.scol2 {
    padding-left: 10px;
    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;
}



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

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

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


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

.sauv1 {
    background: url(img/disquette.png) no-repeat 15px center !important;
    padding-left: 38px !important;
}
.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: 40px;
}
.retour_liste {
    background: url(img/retour.png) no-repeat center !important;
    width: 40px;
}

.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;
}


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

.liste_contrats {
    display: none;
}

.liste_contrats h3{
    padding: 0 0;
}


/******************************************************************************************
* GED
*******************************************************************************************/
.ged {
    border: dashed  #32a1ce;
    padding:5px;
    margin-bottom: 10px;
    display: none;
}

.ged h3 {
    padding: 0 0;
}

.liste_ged {
    width:45%;
    float:left;
}

.fiche_ged {
    width:45%;
    float:left;
}

.ged_fichier_button {
    background-color: #44b!important;
    border: 0;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font: bold condensed 1em clear, sans-serif;
    padding: 4px 6px;
    margin: 2px;
    -webkit-appearance: none;
}

.ged_fichier_telecharger {
    background-color: #44b!important;
    border: 0;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font: bold condensed 1em clear, sans-serif;
    padding: 4px 6px;
    margin: 2px;
    -webkit-appearance: none;
}

.ged_fichier_supprimer {
    background-color: red!important;
    border: 0;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font: bold condensed 1em clear, sans-serif;
    padding: 4px 6px;
    margin: 2px;
    -webkit-appearance: none;
}


/******************************************************************************************
* IMPRESSIONS
*******************************************************************************************/


@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;
    }
}
