/*
Copyright (C) 2017 mjouis

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/
/* 
    Created on : 26 juin 2017, 10:37:40
    Author     : mjouis
*/


/************************************************/
/* Couleurs Logo BSL
/*  Bleu    : #00578d
/*  Rose    : #a6027d
/*  Jaune   : #d5db3d
/************************************************/

/************************************************/
/* 				BALISES							*/
/************************************************/
*           { 
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
html        { background:#fff; height: 100% }
body        { 
    font-size:12px;
    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    text-align:left;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    min-width: 300px;
    min-height: 200px;
    overflow:auto;
    overflow-x:auto;
}


h1          { font-size:20px; }
h2          { font-size:18px; }
h3          { font-size:16px; }
h4          { font-size:14px; font-weight:normal; }
table       { width:100%; }
tbody       { }
/* th          { } */
tr          { }
td          { vertical-align:middle; }
ol, ul      { list-style:none; }
sup         { vertical-align:super; font-size:50%;  }
:focus      { border:1px solid #00578D; }

hr {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    border-style: solid;
    border-width: 1px;
    border-color: #00578d;
}

input,
select,
textarea        { margin:1px 0; padding:2px; color:#000000; font-size:11px; font-family:Verdana, Arial, Helvetica, sans-serif;}
input           { border:1px solid #dbdbdb; }
input[type="text"]:disabled {
    background: #e7e8e8;
    cursor: not-allowed;
}
input[type="text"]:read-only {
    background-color: #e7e8e8;
}
input[type="text"]:-moz-read-only {
    background-color: #e7e8e8;
}
/*input:focus     { border:1px solid #00578D; }*/
select          { background:#fcfcfc; border:1px solid #dbdbdb; }
textarea        { background:#fff; border:1px solid #dbdbdb; }
/*textarea:focus  { border:1px solid #00578D; }*/
p               { padding-top: 5px; }


/* Lien par défaut */
a           { color:#00578D; text-decoration: none;}
a:link,
a:visited   { text-decoration:none; outline:0;}
a:active,
a:focus,
a:hover     {
    text-decoration:underline;
    outline:0;
    border: none;
    -moz-outline-style: none
}

/* Boutons par défaut */
input[type=button], input[type=submit], input[type=reset],
button      { border:1px solid #00578D; padding: 5px 10px; background-color: #00578D; color: white; min-width: 100px;}
input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover,
button:hover    { border:1px solid #d5db3d; cursor:pointer; background-color: #d5db3d; color: black; } 
input[type="radio"], input[type="checkbox"] {
    vertical-align: middle;
}
fieldset        { border: 1px solid #dbdbdb; padding: 10px; width: auto; 
                  -moz-box-sizing: border-box;
                  -webkit-box-sizing: border-box;
                  box-sizing: border-box;
                  margin: 0;
                  float: left;}
fieldset legend { padding: 0px 10px 0px 10px; font-weight: bold; }
fieldset:hover  { border: 1px solid #00578D; }

.Label {
    width: 120px;
    text-align: right;
    vertical-align: middle;
    display: inline-block;
    padding-right: 5px;
    color: #667366;
    font-weight: bold;
}

.Label.left {
    width: auto !important;
    text-align: left !important;
    vertical-align: middle;
    display: inline-block;
    padding-right: 5px;
    color: #667366;
    font-weight: bold;
}

.Label input {
    display: inline-block;
}

.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
        url('../Images/loading.gif') 
        50% 50% 
        no-repeat;
}
/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

/******************************************************************************/
/* TEXTBOX
/******************************************************************************/
.state-error {
    border-color: red;
}

/*#main{
    min-height: 100%;
    margin:0 auto;
    position:relative;
}*/

.width_200 {
    width: 200px;
}

/******************************************************************************/
/* HEADER
/******************************************************************************/
header {
    font-family: SansationRegular;
    font-size: 24px;
    text-transform: uppercase;
    position: fixed;
    top: 0px;
    overflow: hidden;
    width: 100%;
    height: 100px;
    z-index: 9999;
    background-color: white;
}

#btnAccueil {
    width: 173px;
    height: 69px;
    position: absolute;
    top: 20px;
    left: 50px;
}

#txtAccueil {
    color: #00578D;
    font-size: 30px;
    position: absolute;
    top: 20px;
    left: 273px;
    white-space: nowrap;
}

#txtTitre{
    color: #667366;
    font-size: 22px;
    position : absolute;
    top : 64px;
    left : 273px;    
    white-space: nowrap;
}

/******************************************************************************/
/* CONTENT
/******************************************************************************/
#Content{
    position: fixed;
    top: 125px;
    bottom: 50px;
    width: 100%;
    overflow:auto;
}

#tblCriteria{
    width: 300px;
}

.lbl{
    float: left;
    width: 80px;
    vertical-align: middle;
}

/******************************************************************************/
/* LOGIN
/******************************************************************************/
#tblLogin{
    margin: 30px auto;
    width: 300px;
}

#btnConnexion{
    float: right;
    margin-right: 0px;
}

/******************************************************************************/
/* FOOTER
/******************************************************************************/
footer {
    font-size: 10px;
    width: 100%;
    margin: 0 auto;
    border-top: 1px #667366 solid;
    position:fixed;
    bottom:0px;
    height:50px;
    display: block;
    color: #667366;
    z-index: 9999;
    background-color: white;
}

#ftrAdresse{
    float: left;
    margin: 5px;
}

#ftrStats{
    float: right;
    margin: 5px;
    text-align: right;
}

@font-face {
    font-family: "SansationRegular";
    src: url(Fonts/Sansation_Regular.ttf);
}

/******************************************************************************/
/* BSLGRID
/******************************************************************************/
.BslGrid { width:95%; overflow:auto; overflow-x:auto; position:relative; bottom:0px; }

.BslGrid table{
    width:95%;
    vertical-align:middle;
    line-height:20px;
    border-spacing:0;
    border-collapse:collapse;
    margin:10px auto;
}

.BslGrid thead {
    background-color: #00578D;
    color: #fff;
    text-align: center;
    border: 1px #00578D solid;
}


.BslGrid th {
    padding: 5px;
    vertical-align: middle;
} 

.BslGrid th.header {
    cursor: pointer;
    padding-right: 20px;
}

.BslGrid th.headerSortUp {
    background-color: #007fff;
    background-image: url('../Images/up-icon.png');
    background-repeat: no-repeat;
    background-position: 95% 50%; 
}

.BslGrid th.headerSortDown {
    background-color: #007fff;
    background-image: url('../Images/down-icon.png');
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

/*.BslGrid tr.GridRow:not([class^=GridGroup]):nth-of-type(odd) {
    background-color: #dbdbdb;
}*/

.test {
    background-color: #dbdbdb;
}

.BslGrid tr:not([class^=GridGroup]):hover td {
    background: #d5db3d !important;
    color: white !important;
}

.BslGrid td {
    padding: 0px 5px;
    border: 1px #667366 solid;
    border-top: none;
    overflow: hidden;
    /*text-overflow: ellipsis;*/
    /*white-space: nowrap;*/
}

.BslGrid [class^=level_] td {
    font-weight: bold;
}

.BslGrid .level_1 {
    background-color: #2375a9 !important;  
    color: #fff !important;  
}

.BslGrid .level_2 {
    background-color: #4c90bc !important;  
    color: #fff !important;  
}

.BslGrid .level_3 {
    background-color: #7baecf !important;  
    color: #fff !important;  
}

.BslGrid .level_4 {
    background-color: #c4d9e7 !important;  
    color: #fff !important;  
}

.BslGrid .NoData {
    font-size: 20px;
    color: #31708f;   
    margin: auto;
    width: 100%;
    text-align: center;  
    line-height: 200px;
    background-color: #d9edf7;
    border: 1px solid #93dfef;
    font-weight: bold;
}

.BslGrid caption {
    /*margin-top: 10px;*/
    caption-side: top;
    float: right;
    height: 30px;
}


/* AMF 190418 tri des tableau */
/* Classe obligatoire pour les flèches */
.flecheDesc {
  width: 0; 
  height: 0; 
  float:right;
  margin: 10px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid black;
}

.flecheAsc {
  width: 0; 
  height: 0;
  float:right;
  margin: 10px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid black;
}

.avectri th.selection .flecheDesc {border-bottom-color: white;}
.avectri th.selection .flecheAsc {border-top-color: white;}

/* AMF 190418 tri des tableau fin code ajoute */

.GridPagination {
    float: right;
}

.GridPagination ul li {
    cursor: pointer;
    display: inline;
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 12px;
    color: #00578D;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #667366;    
}

.GridPagination a {
    text-decoration: none;
    color: #00578D;
    width: 100%;
}

.GridPagination.Active {
    background-color: #00578D;
    font-weight: bold;
    color: #fff;
    cursor: context-menu;
}

.GridGrpFooter {
    background-color: #4c90bc !important;
    color: #fff !important;
}

.GridGroupSelector {

    width: 100%;
    /*background-color: #00578D;*/
    /*color: #fff !important;*/
    /*text-align: center;*/
    /*border: 1px #00578D solid;*/
}
.GridGroupSelector label {
    text-align: left !important;
    width: auto;
}
.GridGroupSelector input[type="checkbox"] {
    margin-right: 10px;
}

/******************************************************************************/
/* ERRORS, INFO, SUCCES
/******************************************************************************/
.alert {
    margin: 10px;
    padding: 15px;
    width: auto;
    text-align: center;
    position: relative;
    z-index: 9999;
}

.alert p {
    margin: auto;
    text-align: center;
    color: inherit;
    line-height: auto;
    vertical-align: middle;
}

.alert.error {
    color: red;   
    background-color: pink;
    border: 1px solid red;
    vertical-align: middle;
}

.alert.info {
    color: #31708f;
    background-color: #d9edf7;
    border: 1px solid #93dfef;
    vertical-align: middle;
}

.alert.succes {
    color: #3c763d;   
    background-color: #dff0d8;
    border: 1px solid #b2d594;
    vertical-align: middle;
}

.alert.warning {
    color: #8a6d3b;
    background-color: #fcffa0;
    border: 1px solid #fad966;
    vertical-align: middle;
}

.close {
    background-color: inherit;
    border: none;
    color: inherit;
    text-align: center;
    /*    float: right;*/
    position: absolute;
    top: 5px;
    right: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.close:hover {
    background-color: inherit;
    color: inherit;
    border: none;
    font-weight: bold;
}

/******************************************************************************/
/* NAV
/******************************************************************************/
nav{
    width: 100%;
    position: fixed;
    top: 100px;
    background-color: #00578D;
    color: #fff;
    font-size: 14px;
    height: 25px;
    z-index: 9999;
}

/******************************************************************************/
/* MENU
/******************************************************************************/
.mainMenu {
    list-style: none;
    padding: 0px;
    margin: 0;
    background: #00578D;
    color: #fff;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
    height: 25px;
}

.mainMenu li {
    display: block;
    position: relative;
    float: left;
    background: #00578D;
    min-width: 200px;
    line-height: 25px !important;
    z-index: 9999;
    cursor: pointer;
}

.mainMenu li:hover { 
    background: #a6027d;
}

.mainMenu li ul { 
    display: none;
}

.mainMenu ul ul {
    left: 100%;
    top: 0;
}

ul li a {
    display: block;
    padding: 0px;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
}

.mainMenu a {
    display: block;
    padding: 0px;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
}

.mainMenu a:hover {    
    background: #d5db3d;
    text-decoration: none;
}

.mainMenu li:last-child {
    float: right;
}

.mainMenu li:hover > ul {
    display: block;
    position: absolute;
}

.mainMenu li:hover li { float: none; }

/*.mainMenu li:hover ul { border: 1px solid #00578D; }*/

.mainMenu li:hover a { background: #00578D; }

/*.mainMenu li:hover a { background: white;  color : #00578D; }*/

.mainMenu li:hover li a:hover { background: #d5db3d; }

.mainMenu li ul li { border-top: 0; }

.mainMenu ul ul ul {
    left: 100%;
    top: 0;
}

.mainMenu ul:before,
.mainMenu ul:after {
    content: " ";  
    display: table;  
}

.mainMenu ul:after { clear: both; }

/******************************************************************************/
/* CRITERES
/******************************************************************************/
.Critere {
    /*margin: 0 auto;*/
    /*width: 300px;*/
}

.Critere label {
    width: 140px;
    text-align: left;
    display: table-cell;
    float: left;
    vertical-align: middle;
}

.Critere input[type="text"]{
    width: 100px;
}

/******************************************************************************/
/* TOOLTIP
/******************************************************************************/
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    /*border-bottom: 1px dotted black;*/
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    height: auto;
    background-color: #00578D;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 10px 0;
    position: absolute;
    z-index: 99999;
    top: -5px;
    left: 15px;
    border: 1px #2c3e50 solid;
    margin-left: 3px;
    line-height: 15px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #2c3e50 transparent transparent;
}
.tooltip:hover .tooltiptext {
    z-index: 1;
    display: block;
    visibility: visible;
}

/******************************************************************************/
/* PAGE REQUETES
/******************************************************************************/
#pnlContainer {
    width: 100%;
}

#pnlCriteria {
    padding: 10px;
    z-index: 99999;
}

#pnlCriteria label {
    width: 120px;
    text-align: left;
    display: inline-block;
    /*display: table-cell;*/
    /*float: left;*/
    vertical-align: middle;
}

#pnlCriteria input[type="text"]{
    width: 100px;
}

#pnlCriteria ul {
    columns: 3;
}

#pnlCriteria li {
    display: block;
    line-height: 23px;
}

#pnlCriteria button {
    float: right;
    width: 100px;
    margin-bottom: 10px;
}

#pnlResults {
    padding: 10px;
    overflow: auto;
}

#btnShowCriteria {
    padding:0px;
    margin:auto;
    width: 100%;
    background:#2375a9;
    border: 1px solid #2375a9;
    z-index: 999;
}

#btnShowCriteria p {
    color: white;
    vertical-align: middle;
}

#btnShowCriteria:hover {
    background:#d5db3d;
    border: 1px solid #d5db3d;
}

/******************************************************************************/
/* PAGE ERREUR 404
/******************************************************************************/
#err404 {
    font-size: 16px;
}

/******************************************************************************/
/* DATE PICKER
/******************************************************************************/
.ui-datepicker {
    width: 216px;
    height: auto;
    margin: auto;
    z-index: 999999 !important;
    background-color: white;
    padding: 5px;
    border: 1px solid #00578D;
    text-align: center;
}

.ui-datepicker a {
    text-decoration: none;
}

.ui-datepicker table {
    width: 100%;
    line-height: 25px;
}

.ui-datepicker td {
    text-align: center;
}

.ui-datepicker td:hover {
    background-color: #d5db3d;
}

.ui-datepicker td:hover a {
    color: black;
}

.ui-datepicker-header {
    font-weight: bold;
    background-color: #00578D;
    color: white;
    padding: 5px;
    position: relative;
}

.ui-datepicker-title {
    font-size: 18px;
}

.ui-datepicker-prev {
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    color: white;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
}
.ui-datepicker-next {
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    color: white;
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;    
}
.ui-icon {
    width: 16px;
    height: 16px;
}
.ui-widget-header .ui-icon {
    /*background-image: url(../Scripts/JQuery/images/ui-icons_ffffff_256x240.png);*/
}
/* The ID of the main datepicker division */
.ui-datepicker-div {}
/* The name of the inline marker class */
.ui-datepicker-inline {}
/* The name of the append marker class */
.ui-datepicker-append {}
/* The name of the trigger marker class */
.ui-datepicker-trigger {
    height: 20px;
    font-weight: normal;
    font-size: 10px;
    vertical-align: middle;
}
/* The name of the dialog marker class */
.ui-datepicker-dialog {}
/* The name of the disabled covering marker class */
.ui-datepicker-disabled {}
/* The name of the unselectable cell marker class */
.ui-datepicker-unselectable {}
/* The name of the current day marker class */
.ui-datepicker-current-day {
    background-color: #00578D;
    font-weight: bold;
}
.ui-datepicker-current-day a {
    color: #fff !important;
}
/* The name of the day hover marker class */
.ui-datepicker-days-cell-over {}

/******************************************************************************/
/* DEBUG MODE
/******************************************************************************/
.Debug {
    font-family: consolas;
    width: 100%;
    border: 1px solid #84adc7;
    background-color: #f3f7f9;
    margin: 5px 0px;
    padding: 5px;
}

.Debug span {
    font-weight: bold;  
    color: #003399;  
    margin-bottom: 5px;
}

/************ AMF201217 ajout style LabelCheck -----------------*/

.LabelCheck {
    width: auto !important;
    float: left;
    /*text-align: right;*/
    vertical-align: middle;
}

/******************************************************************************/
/* COMMANDES
/******************************************************************************/
.Commande {
    width: 850px;
    padding: 15px;
    line-height: 20px;
    border: 1px solid #00578D;
}

.Commande tr {
    vertical-align: middle;
}

.Commande tr td {
    margin-left: 15px;
    vertical-align: middle;
}

.Commande .Label {
    width: auto !important;
    float: right;
    /*text-align: right;*/
    vertical-align: middle;
}


.Commande .Data {
    width: auto !important;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    font-size: 12px;
}



/******************************************************************************/
/* JQUERY UI TABS
/******************************************************************************/
#tabs { 
    padding: 0px; 
    border: none;
} 
#tabs .ui-tabs-nav { 
    background: transparent; 
    border-width: 0px 0px 1px 0px; 
    -moz-border-radius: 0px; 
    -webkit-border-radius: 0px; 
    border-radius: 0px; 
    border-color: #00578D;
} 
#tabs .ui-tabs-panel { 
    margin: 0em 0.2em 0.2em 0.2em; 
}
#tabs ul li {
    border-color: #667366;
}
#tabs .ui-state-default {
    background-color: #dbdbdb;
}
#tabs .ui-state-hover {
    background-color: #d5db3d;
    cursor: pointer;
}
#tabs .ui-state-active {
    border-color: #00578D;
    background-color: #00578D;
    color: #fff;
    font-weight: bold;
}

/*#InfoCommande .BslGrid {
    width: 900px;
}*/

@page {
    /*size: auto;*/
    margin: 5;  
    size: 7in 9.25in;
    /*margin: 27mm 16mm 27mm 16mm;*/
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}