/*********************************************/
/*          GENERAL  /   FOND                */
/*********************************************/

table, tr, td{
    height:100%;
}

html, body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333333;
    background-color: #FFFFFF;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

.clearfloat {
    clear: both;
}

/** Principal **/
#principal {
    margin-top: 90px;
    padding: 20px;
    padding-top: 15px;
}

#principal_presentation {
    padding: 0px;
    margin: 0px;
    margin-top: 50px;
}

/*********************************************/
/*            TEXTES + TITRES                */
/*********************************************/

.petit {
    font-size: 10px;
    color: #666666;
}

/** Liens **/
a {
    text-decoration: none;
    color: #002B47;
}

/** Titres **/
h1 {
    font-size: 26px;
    text-transform: uppercase;
    font-family: 'Lato', Arial, sans-serif;

}

h2 {
    font-size: 18px;
    text-transform: uppercase;
    font-family: 'Lato', Arial, sans-serif;
    color: #e31c19;
}

h3 {
    font-size: 12px;
    text-transform: uppercase;
}

/*********************************************/
/*                 Messages                  */
/*********************************************/

#msg_confirm_err {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: none;
    margin-bottom: 20px;
}

.confirm {
    background-color: #eeffd2;
    border: 1px solid #7bb21c;
    color: #7bb21c;
    font-size: 11px;
    text-align: center;
    height: 30px;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 30px;
}

.confirm img, .erreur img {
    vertical-align: middle;
    margin-right: 5px;
}

.erreur {
    background-color: #ffe6d2;
    border: 1px solid #900;
    color: #900;
    font-size: 11px;
    text-align: center;
    height: auto;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 30px;
}

#principal_presentation .confirm, #principal_presentation .erreur, #principal_presentation #msg_confirm_err {
    margin: 0px !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

/*********************************************/
/*                   HEADER                  */
/*********************************************/

#header {
    background-color: #2c5885;
    color: #999;
    height: 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;

}

#header_logo {
}

#header_logo img {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 90px;
    height: auto;
}

#header_menu {
    height: 30px;
    line-height: 30px;
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 10px;
    padding-left: 20px;
    background-color: #486e93;
}

#header_titre {
    line-height: 50px;
    margin-left: 140px;
    text-transform: uppercase;
    font-size: 17px;
    color: #c2cdd6;
    font-weight: bold;
    font-family: 'Lato', Arial, sans-serif;
}

#header_titre span.highlighted {
    color: #FFF !important;
    margin-left: 8px;
    margin-right: 8px;
    font-size: 18px;
}

#header_titre span.highlighted .petit{
    color: #FFF !important;
    font-size: 14px;
}

#header_menu a {
    color: #666666;
    text-transform: uppercase;
}

#header_menu a.bouton_next {
    margin-right: 20px;
}

#header_menu a.bouton_calendar {
    margin-right: 20px;
}

#header_titre span.datejour {
    cursor: pointer;
}

/*********************************************/
/*                MENU ADMIN                 */
/*********************************************/

#menu_admin {
    margin-top: 10px;
    margin-bottom: 5px;
}

#menu_admin img {
    vertical-align: middle;
    height: 35px;
}

#menu_admin a {
    text-transform: uppercase;;
}

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

table {
    border-collapse: collapse;
    width: 100%;
}

table.table_liste {
    /* border: 1px solid #CCC;*/
}

table.table_liste td {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #DDD;
    padding-left: 10px;
    background-color: #FFFFFF;
}

table.table_liste th {
    font-weight: bold;
    color: #FFF;
    height: 30px;
    line-height: 30px;
    /*border-bottom: 1px solid #CCC;*/
    text-align: left;
    padding-left: 10px;
    text-transform: uppercase;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.2em;
    background-color: #2c5885;
    border-left: 1px solid white;

}

table.table_liste tr:hover td {
    background-color: #f5f5f5;
}

table.table_liste.liste_donnees {
    /*cursor: pointer;*/
}

table #col_action_1,table .col_action_1 {
    width: 30px;
}

table #col_action_2,table .col_action_2 {
    width: 70px;
}

table #col_action_3,table .col_action_3 {
    width: 100px;
}

table #col_action_4,table .col_action_4 {
    width: 150px;
}

table #col_action_5,table .col_action_5 {
    width: 170px;
}

table #col_action_5,table .col_action_6 {
    width: 205px;
}

table #col_action_6,table .col_action_7 {
    width: 240px;
}

table td.tdtitre {
    font-weight: bold;
}

table td.tdgrandtitre {
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 10px;
    /*background-color: #f0f0f0;*/
    color: #666;
    background-image: url(../images/bg-brigade.gif);
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.2em;

}

table.table_liste tr:hover td.tdgrandtitre {
    background-color: #f0f0f0;
}

table td.tdimage {
    width: 205px;
    padding-top: 10px;
}

table td.tdimage img {
    border: 1px solid #DDD;
    width: 125px;
    height: auto;
}

/* Table FORMULAIRE */
table.table_formulaire {
    width: 100%;
}

table.table_formulaire label {
    font-weight: bold;
}

/*********************************************/
/*                LOGIN                   */
/*********************************************/

#zone_login {
    background-color: #fafafa;
    margin-top: 50px;
    padding: 20px;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border: 1px solid #efefef;
}

#zone_login table .libelle {
    text-transform: uppercase;
    width: 150px;
    font-weight: bold;
}

/*********************************************/
/*                DONNEES                   */
/*********************************************/

/** Zone action **/
.zone_action {
    float: right;
    margin-bottom: 20px;
    margin-top: -40px;
}

/** Zone detail**/
.zone_detail {
    /*border: 1px solid #CCC;
    background-color: #FFFFFF;*/
    /*background-color: #f4f4f4;
    padding: 20px;*/
}

.zone_detail table {
    /* max-width:1000px;*/
}

.zone_detail table .libelle {
    text-transform: uppercase;
    width: 200px;
    font-weight: bold;
}

.zone_detail table td {
    /*border-bottom:1px solid #DDD;*/
    height: 40px;
    padding: 10px;
}

.zone_detail table tr:last-child td {
    border: none;
}

.zone_detail table tr:nth-child(odd) {
    background-color: #F5F5F5;
}

.zone_detail table tr:nth-child(even) {
    background-color: #FFF;
}

.zone_detail table td input, .zone_detail table td select {
    max-width: 500px;
}

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

form {
    margin: 0;
    padding: 0;
}

input[type=text], input[type=password] {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    height: 30px;
    padding: 0px;
    text-indent: 10px;
    line-height: 30px;
    margin-bottom: 5px;
    border: 1px solid #DDD;
    border-radius: 3px;
    /*width:100%;*/
    /*margin-left:10px;*/
}

select {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    height: 30px;
    padding: 0px;
    padding-left: 10px;
    line-height: 30px;
    margin-bottom: 5px;
    border: 1px solid #DDD;
    /*margin-left:10px;*/
    /*width:100%;*/
    border-radius: 3px;
}

select#code {
    margin: 0;
}

input.btimg {
    margin-left: 7px;
    margin-right: 2px;
}

input.btValid {
    padding-left: 15px;
}

textarea {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0px;
    /* padding-left:5px;*/
    line-height: 25px;
    margin-bottom: 5px;
    border: 1px solid #DDD;
    width: 100%;
    margin-left: 10px;
    border-radius: 3px;
}

input.colorpickers {
    width: 100px !important;
}

div.zone_datepicker {
    position: absolute;
    top: 40px;
    right: 100px;
    margin-right: 5px;
    z-index: 9999;
    pointer-events: none;
}

div.zone_datepicker input {
    visibility: hidden;
}

/** Champs Ok / Ko **/
.champOk, input.champOk {
    border-color: #b8cf96 !important;
}

.champKo, input.champKo {
    border-color: #cc7f7f !important;
}

/*********************************************/
/*                DIVERS                     */
/*********************************************/

.hidden_divs {
    display: none;
}

#help li {
    margin-top: 20px;
}

#help .logo {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

#help .logo img {
    width: 150px;
    height: auto;
}

#next {
    margin-right: 30px;
}

.popupdiv {
    padding: 5px;
}

.label_pages {
    text-transform: uppercase;
}

/*********************************************/
/*                PLANNING                   */
/*********************************************/

.le_planning {
    position: relative !important;
    /*border: 1px solid red;*/
}

table.planning {
    border-collapse: collapse;
    border-right: 1px dotted #CCC;
}

table.planning tr {
    height: 60px;
}

table.planning td {
    border: 1px solid #ccc;
}

table.planning th {
    text-align: right;
    border-right: 1px solid #ccc;
    position: relative;
}

table.planning th.first {
    border: none !important;
}

/* Ligne Brigade */
table.planning .ligne-titre-brigade {
    height: 30px !important;
    border: 1px solid #CCC;
}
table.planning .ligne-titre-brigade td {
    height: 27px !important;
}

table.planning td.tdunite {
    position: relative !important;
}

table.planning td.tdunite div {
    background: #EEE;
    position: absolute;
    z-index: 100;
    top: 0px;
    left: 0px;
    height: 29px;
    line-height: 30px;
    width: 100%;
    border-top: 0px;
    background-image: url(../images/bg-brigade.gif);
    text-transform: uppercase;
    color: #333;
    font-weight: bold;
    text-indent: 10px;
    font-size: 1.2em;
    font-family: 'Lato', Arial, sans-serif;
}

table.planning .separ-unite {
    height: 30px !important;
}

table.planning .separ-unite td {
    position: relative !important;
    padding: 0px;
    border:none;
}

table.planning .separ-unite div {
    position: absolute;
    z-index: 100;
    top: 0px;
    left: -2px;
    height: 29px;
    width: 100.5%;
    background-color: white;
}

/* Colonne NOMS */
.pln_td_nom {
    box-sizing: border-box;
    /*text-indent:10px;*/
    padding-left: 10px;

   /* border: 2px solid red !important;
    border-top: 2px solid aqua !important;
    border-bottom: 2px solid green !important;*/

}


.table_td_jour.notlast{
    border-right:1px solid black;
}

/** Lignes et Slots **/

div.pln_jour {
    position: relative;
    height: 60px;
    /*border:1px solid red;*/
}

div.pln_slot {
    border-radius: 7px;
    position: absolute;
    height: 60px;
    border: none;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
    z-index: 2;
}

div.pln_slot:hover {
    background-color: #efefef;
    background-image: url(../images/hover-add.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.pln_slot_droppable {
    background-color: #e5e5e5 !important;
}

/** Patrouilles **/
div.pln_patrouilles {
    visibility: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
}

div.pln_patrouille {
    /*border:1px solid black;*/
    position: absolute;
    border-radius: 4px;
    cursor: pointer;
    height: 60px;
    line-height: 30px;
    overflow: hidden;
    z-index: 100;
    text-align: center;
    color: #FFF;
    /*font-weight: bold;*/
}

div.pln_patrouille span.pln_patrouille_titre {
    text-transform: uppercase;
}

/** Tasks **/
div.pln_tasks {
    visibility: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
}

div.pln_patrouille_tasks {
    position: absolute;
    top: 0px;
    left: 0px;
}

div.pln_task {
    /*border:1px solid black;*/
    position: absolute;
    top: 30px;
    border-radius: 4px;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    z-index: 100;
    text-align: center;
    color: #000000;
    background-color: #EFEFEF;
    text-transform: inherit !important;
}

div.pln_task.fixe {
    /*border:2px solid #666666;*/
    -moz-box-shadow: inset 0px 0px 0px 2px #333333;
    -webkit-box-shadow: inset 0px 0px 0px 2px #333333;
    -o-box-shadow: inset 0px 0px 0px 2px #333333;
    box-shadow: inset 0px 0px 0px 2px #333333;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#333333, Direction=NaN, Strength=0);
}

/* Task en attente */
div.pln_task.done_0 {

}

/* Task fait*/
div.pln_task.done_1 {
    background-image: url(../images/active.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 10px;
}

/* Task pas fait */
div.pln_task.done_2 {
    background-image: url(../images/desactive.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 10px;
}

div.pln_patrouille_pslots {
    position: absolute;
    top: 0px;
    left: 0px;
}

div.pln_pslot {
    /*border:1px solid black;*/
    position: absolute;
    top: 30px;
    border-radius: 4px;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    text-transform: inherit !important;
}

div.pln_pslot:hover {
    background-color: #efefef;
    background-image: url(../images/hover-add.png);
    background-repeat: no-repeat;
    background-position: center center;
}

/*.pln_slot_droppable{
    background-color:#e5e5e5 !important;
}*/

span.selection_personnes {
    margin-right: 20px;
    white-space: nowrap;
}

.in_conflict {
    background-image: url(../images/Error.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.pln_task.in_conflict {
    background-size: 20px;
}

/*   Ligne entete : horaires services */

tr.horaire-services {
    height: 20px !important;
}

tr.horaire-services td {
    text-align: center;
    font-size: 1em;
    border: none;
    text-transform: uppercase;
    position: relative;
    font-family: 'Lato', Arial, sans-serif;
}

tr.horaire-services td.bg-serv1 div {
    border-bottom: 2px solid #2c8562 !important;
    color: #2c8562;
}

tr.horaire-services .bg-serv2 div {
    border-bottom: 2px solid #2c5885 !important;
    color: #2c5885;
}

tr.horaire-services .bg-serv3 div {
    border-bottom: 2px solid #d29503 !important;
    color: #d29503;
}

tr.horaire-services td div {
    background: #FFF;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 20px;
    z-index: 100;
}

/* Bordure tiret des colonnes */

.ligne {
    position: absolute;
    display: block;
    margin-left: -2px;
    border-left: 1px dashed #EEE;
    /*height:100%;*/
    z-index: 10;
    top: 0px;
    /*left:0px;*/
}

.first .ligne {
    display: none;
}

/*********************************************/
/*           LIGHTBOX FORMULAIRE             */
/*********************************************/

#pln_addp, #pln_addt, #pln_editt, #pln_editp, #pln_dtlt, #pln_dtlp, .pln_lbform,#pln_addinfo,#pln_editinfo {
    padding: 30px;
}

#pln_addp form table, #pln_addt form table, #pln_editt form table, #pln_editp form table, #pln_dtlt form table, #pln_dtlp form table, .pln_lbform form table,#pln_addinfo form table,#pln_editinfo form table{
    margin-bottom: 20px;
}

#pln_addp form table tr, #pln_addt form table tr, #pln_editt form table tr, #pln_editp form table tr, #pln_dtlt form table tr, #pln_dtlp form table tr, .pln_lbform form table tr,#pln_addinfo form table tr ,#pln_editinfo form table tr {
    line-height: 30px;
}

#pln_addp form table tr:nth-child(odd), #pln_addt form table tr:nth-child(odd), #pln_editt form table tr:nth-child(odd), #pln_editp form table tr:nth-child(odd), #pln_dtlt form table tr:nth-child(odd), #pln_dtlp form table tr:nth-child(odd), .pln_lbform form table tr:nth-child(odd),#pln_addinfo form table tr:nth-child(odd) ,#pln_editinfo form table tr:nth-child(odd) {
    background-color: #FAFAFA;
}

#pln_addp form table tr:nth-child(even), #pln_addt form table tr:nth-child(even), #pln_editt form table tr:nth-child(even), #pln_editp form table tr:nth-child(even), #pln_dtlt form table tr:nth-child(even), #pln_dtlp form table tr:nth-child(even), .pln_lbform ,#pln_addinfo form table tr:nth-child(even),#pln_editinfo form table tr:nth-child(even){
    background-color: #FFF;
}

#pln_addp form table td, #pln_addt form table td, #pln_editt form table td, #pln_editp form table td, #pln_dtlt form table td, #pln_dtlp form table td, .pln_lbform form table td, #pln_addinfo form table td, #pln_editinfo form table td {
    padding: 10px;
}

/*#pln_addp form table input[type=text],#pln_addp form table select,
#pln_addt form table input[type=text],#pln_addt form table select{
	width:90%;
	margin:0px;}	*/

/*********************************************/
/*           	    BOUTONS     	         */
/*********************************************/

.btn,
input[type="button"],
input[type="submit"] {
    padding: 0.6em 1.2em;
    background: #ddd;
    text-decoration: none;
    border: 0px;
    cursor: pointer !important;
    font-size: 1em;
    -webkit-border-radius: 3px 3px;
    -moz-border-radius: 3px / 3px;
    border-radius: 3px / 3px;
    -o-transition: .3s;
    -ms-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    font-family: 'Lato', Arial, sans-serif;
    text-transform: uppercase;
    /* ...and now for the proper property */
    transition: .3s;
}

.btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: #c6c6c6;
    color: #333;
}

.btn:active,
input[type="button"]:active,
input[type="submit"]:active {
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.5);
}

.btn.small,
input[type="button"].small,
input[type="submit"].small {
    font-size: 0.8em;
    line-height: 1em;
    padding: 0.5em 1.2em;
    letter-spacing: 0.5px;
}

.btn.big,
input[type="button"].big,
input[type="submit"].big {
    font-size: 1.2em;
}

.btn + .button,
input[type="button"] + .button,
input[type="submit"] + .button {
    margin-left: 15px;
}

.btn.primary,
input[type="button"].primary,
input[type="submit"].primary {
    color: white;
    background: #2c5885;
}

.btn.primary:hover,
input[type="button"].primary:hover,
input[type="submit"].primary:hover {
    background: #23466a;
}

.btn.secondary,
input[type="button"].secondary,
input[type="submit"].secondary {
    color: white;
    background: #e61a19;
}

.btn.secondary:hover,
input[type="button"].secondary:hover,
input[type="submit"].secondary:hover {
    background: #b81414;
}

.bouton, .bouton_add, .bouton_edit, .bouton_delete, .bouton_view, .bouton_save, .bouton_catch, .bouton_extlink, .bouton_power, .bouton_prev, .bouton_next, .bouton_help, .bouton_info, .bouton_comment, .bouton_fullscreen, .bouton_home, .bouton_config, .bouton_calendar, .bouton_vue, .bouton_reporting, .bouton_duplicate {
    /*background-color:#EEE !important;*/
    background-image: none !important;
    border: none !important;
}

.index-admin {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto
}

.index-reportings {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


.btgestion {
    width: 23% !important;
    height: 85px !important;
    padding-top: 15px !important;
    float: left;
    margin-left: 1% !important;
    margin-right: 1% !important;
    margin-top: 30px;
    font-size: 16px !important;
    font-family: 'Lato', Arial, sans-serif !important;
    min-width: 200px;
    max-width: 320px;
}

.btgestion span.big {
    font-size: 24px !important;
    line-height: 20px;
}

.index-reportings .btgestion {
    float:none;
    display: inline-block;
}


.th_heures {
    position: absolute;
    font-weight: normal !important;
    margin: 0px;
    padding: 0px;
    color: #666666;
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg); /* Internet Explorer */
    -moz-transform: rotate(-90deg); /* Firefox */
    -webkit-transform: rotate(-90deg); /* Safari et Chrome */
    -o-transform: rotate(-90deg); /* Opera */
    bottom: 12px;
}

div.planning_12h th .th_heures {
    font-size: 11px !important;
    right: -9px;
}

div.planning_12h.planning_s15 th:not(.first) {width: 1.9%;}
div.planning_12h.planning_s30 th:not(.first) {width: 3.8%;}
div.planning_12h.planning_s60 th:not(.first) {width: 7.6%;}

div.planning_24h th .th_heures {
    font-size: 11px !important;
    right: -9px;
}

div.planning_24h.planning_s15 th:not(.first) {width: 0.95%;}
div.planning_24h.planning_s30 th:not(.first) {width: 1.9%;}
div.planning_24h.planning_s60 th:not(.first) {width: 3.8%;}

div.planning_48h th .th_heures {
    font-size: 9px !important;
    right: -8px;
}

div.planning_48h.planning_s15 th:not(.first) { width: 0.47%;}
div.planning_48h.planning_s30 th:not(.first) { width: 0.95%;}
div.planning_48h.planning_s60 th:not(.first) { width: 1.9%;}

div.planning_72h th .th_heures {
    font-size: 8px !important;
    right: -5px;
}

div.planning_72h.planning_s15 th:not(.first) { width: 0.32%;}
div.planning_72h.planning_s30 th:not(.first) { width: 0.64%;}
div.planning_72h.planning_s60 th:not(.first) { width: 1.28%;}

form#formDelt, form#formDelp {
    float: right;
    margin-top: -35px;
}

td.td_center {
    text-align: center;
    font-weight: bold;
}

td.td_overdone {
    background-color: #880000 !important;
    color: #FFFFFF;
}

td.td_underdone {
    background-color: #2c8562 !important;
    color: #FFFFFF;
}

td.td_done {
    color: limegreen !important;
}

td.td_undone {
    color: red !important;
    font-weight: bold;
}

span#userlogged a {
    color: #FFFFFF !important;
    text-transform: uppercase;
    position: absolute;
    left: -220px;
    width: 200px;
    text-align: right;
    font-size: 0.9em;
}

tr.pln_tr_personne.is_uco td {
    background-color: #E0EBF5;
}

.piechart {
    width: 30%;
    height: 300px;
    float: left;
}

div.fixed_head {
    position: fixed;
    background-color: #ffffff;
    z-index: 999;
    border-bottom: 1px solid #ccc;
    border-top: 50px solid #ffffff;
    margin-top: -50px;
    display: none;
    overflow: hidden;
}

/** Codes **/
td.pln_tdcode {
    text-align: center;
    position: relative;
}

td.pln_tdcode a {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
}

td.pln_tdcode a div img {
    width: 25px;
}

/** Patrouilles **/
div.pln_codes {
    visibility: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
}

div.pln_code {
    /*border:1px solid black;*/
    position: absolute;
    border-radius: 4px;
    cursor: pointer;
    height: 60px;
    line-height: 60px;
    overflow: hidden;
    z-index: 0;
    text-align: center;
    color: #ccc;
    background-color: #f6f6f6;
    /*font-weight: bold;*/
}

div.pln_code span.pln_code_titre {
    text-transform: uppercase;
}



/* */

#pln_addp, #pln_editp, #pln_addt, #pln_editt, #pln_dtlt, #pln_dtlp {
   width: 700px;
}

#cboxLoadedContent{
    overflow-x: hidden !important;
}

/*    VERSION MOBILE 2018 */

/* Visible / Non visible Responsive */
.visible-mobile {
    display: none
}

/* Structure */

/* TABLETTE */

@media screen and (max-width: 1023px) {
    #header_titre {
        margin: 0 0 0 10px;
    }

    #userlogged {
        display: none;
    }

    .le_planning {
        min-width: 900px;
    }

    .fixed_head {
        display: none !important;
    }

    .le_planning.planning_24h {
        min-width: 1500px;
    }
}

/* MOBILE */
@media screen and (max-width: 767px) {

    .hidden-mobile {
        display: none
    }

    .visible-mobile {
        display: block;
    }

    #zone_login, #formLogin {
        max-width: 100%;
        box-sizing: border-box;
    }

    #header {
        height: 130px;
        /*position: relative !important;*/
    }

    #header_logo, #header_titre {
        position: relative;
        display: block;
        width: 100%;
        float: none;
        margin: 0;
    }

    #header_logo img{
        top:8px;
     }

    #header_titre {
        margin: 0;
        box-sizing: border-box;
        padding: 15px 15px 15px 125px;
        line-height: 1.3em;
    }

    #header_menu {
        font-size: 14px;
        position: absolute;
        bottom: 100px !important;
        left: 0;
        display: block;
        width: 100%;
        float: none;
        margin: 0;
        top: 80px !important;
    }

    #principal {
        margin-top: 170px;
        /*min-width: 900px;*/
        position: relative;
    }

    #userlogged {
        display: none;
    }

    .le_planning {
        min-width: 2000px;
    }
    div.planning_12h th:not(.first) {
        width: 2%;
    }

    .le_planning.planning_24h {
        min-width: 2000px;
    }
    div.planning_24h th:not(.first) {
        /*width: 1.02%;*/
        width: 2%;
    }

    .le_planning.planning_48h {
        min-width: 4000px;
    }
    div.planning_48h th:not(.first) {
        /*width: 0.51%;*/
        width: 1%;
    }

    .le_planning.planning_72h {
        min-width: 6300px;
    }

    div.planning_72h th:not(.first) {
        /*width: 0.34%;*/
        width: 0.69%;
    }

    .fixed_head {
        display: none !important;
    }

    h1 {
        font-size: 20px;
    }



    .planning .pln_td_nom {
        font-size: 11px;
        max-width: 100px !important;
        width: 100px !important;
    }

    #pln_addp, #pln_editp, #pln_addt, #pln_editt, #pln_dtlt, #pln_dtlp {
        padding: 15px;
        box-sizing: border-box;
        width: 300px !important;
    }

    #pln_addp h1 {
        margin-top: 0;
    }



    .table_formulaire td, #formReporting table td, #table_task_done td {
        display: block;
        padding: 5px 10px !important;
        height: auto !important;
    }

    .table_formulaire tr:not(.td-1ligne-mobile) td,
    #formReporting table tr:not(.td-1ligne-mobile) td {
        line-height: 1.4em;
        padding: 10px !important;
    }

    .table_formulaire input[type=text],
    #formReporting table input[type=text] {
        width: 100%;
    }

    .table_formulaire .td-1ligne-mobile td:nth-of-type(odd),
    #formReporting table .td-1ligne-mobile td:nth-of-type(odd),
    #table_task_done td:nth-of-type(odd){
        width: 30% !important;
        float: left;
        box-sizing: border-box;
        font-size: 11px;
    }

    .table_formulaire .td-1ligne-mobile td:nth-of-type(even),
    #formReporting table .td-1ligne-mobile td:nth-of-type(even),
    #table_task_done td:nth-of-type(even){
        width: 70%;
        float: left;
        box-sizing: border-box;
    }

    #menu_vues {
        width: 300px;
    }

    .btgestion {
        width: 100% !important;
        margin-bottom: 10px;
        margin-top: 0;
    }

    #table_task_done input{
        width: 40px;
    }

}


th.entetes_th_heures{
    box-sizing: border-box;
}


/**Bloc infos**/
table.planning tr.tr_blocinfos{
    height:inherit;
    padding: 5px;
}
table.planning tr.tr_blocinfos td{
    border:none;
    vertical-align: top;
    /*height:1px;*/
}
/*table.planning tr.tr_blocinfos td.empty{
    background-color: transparent;
}
table.planning tr.tr_blocinfos td.one{
    background-color: #fafafa;
}
table.planning tr.tr_blocinfos td.two{
    background-color: #f5f5f5;
}
table.planning tr.tr_blocinfos td.three{
    background-color: #f0f0f0;
}*/
div.blocinfo{
    position:relative;
     padding: 10px;
     height:100%;
     border: 1px solid #ccc;
     box-sizing: border-box;
 }
div.blocinfo.add{
    border: 1px solid #efefef;
    color:#bbb;
}
div.blocinfo .bi_message{

}
div.blocinfo .bi_controls.delete{
    float:right;
}

div.blocinfo .bi_message .ico_attention{
    width: 24px;
    float:left;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Bouton add compte rendu*/
.addcrd{
    float: left;
}
.btaddcrd{
    cursor: pointer;
    height:25px;
}

#cboxContent input[type=text]{
    width: 100%;
}

div#switchdb{
    background-color: #efefef;
    text-align: right;
    top: 50px;
    left:0;
    width:100%;
    position: absolute;
    padding: 8px;
    box-sizing: border-box;
    text-transform: uppercase;
    color:#666666;
    font-size: 10px;
}

div#switchdb select{
    padding: 2px 5px;
    margin-bottom: 0;
    height: 25px;
    line-height: 25px;
    font-size: 11px;
    text-transform: uppercase;
    color:#333333;
}

@media screen and (max-width: 767px) {
    div#switchdb{
        top: 130px;
    }
}