/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    background-color: #f8f8f8;
}

#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;
}

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 220px;
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
    }
}
abbr[title]
{
  border-bottom: 1px dashed #ADADAD;
  cursor:help;
}
.navbar-top-links {
    margin-right: 0;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 5px;
}

.navbar-top-links li a {
    padding: 15px 4px;
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.pull-right .dropdown-messages,
.pull-right .dropdown-tasks,
.pull-right .dropdown-alerts {
    width: 260px;
    min-width: 0px;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}
@media (max-width: 480px) {
    .navbar-header .navbar-brand {
        font-size: 11px;
    }
    .navbar-header-nom {
        font-size: 10px;
    }
    
}
.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul li {
    border-bottom: 1px solid #e7e7e7;
}

.sidebar ul li a.active {
    background-color: #eee;
}

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0!important;
}

.sidebar .nav-second-level li a {
    padding-left: 37px;
}

.sidebar .nav-third-level li a {
    padding-left: 52px;
}
@media (max-width: 370px) {
    .pull-right .dropdown-messages,
    .pull-right .dropdown-tasks,
    .pull-right .dropdown-alerts {
        width: 210px;
        min-width: 0px;
    }
}
@media(min-width:768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 220px;
        margin-top: 56px;
    }

    .pull-right .dropdown-messages,
    .pull-right .dropdown-tasks,
    .pull-right .dropdown-alerts {
        margin-left: auto;
        width: 320px;
    }
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 25%;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

.dataTables_wrapper {
    position: relative;
    clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}

/***************************/
/* Matthieu */
/***************************/

/*** Positionnement ***/
.v-center {
    display: inline-block;
    vertical-align: middle;
    float: none;
}
.vertical-center>tbody>tr>td,
.vertical-center,
.vertical-center>thead>tr>td {
    vertical-align: middle !important;
}

.col-centered{
    float: none;
    margin: 0 auto;
}

/*** Table ***/
.table-responsive {
    overflow-y:auto;
}

.table-condensed>thead>tr>th, 
.table-condensed>thead>tr>td, 
.table-condensed>tbody>tr>th,
.table-condensed>tbody>tr>td, 
.table-condensed>tfoot>tr>th, 
.table-condensed>tfoot>tr>td{
    padding: 1px;
}

.table-medium-condensed>thead>tr>th, 
.table-medium-condensed>thead>tr>td, 
.table-medium-condensed>tbody>tr>th,
.table-medium-condensed>tbody>tr>td, 
.table-medium-condensed>tfoot>tr>th, 
.table-medium-condensed>tfoot>tr>td{
    padding: 2px 3px;
}

.table-condensed,
.table-medium-condensed {
    margin-bottom: 0px !important;
}

/* Fixe colonne */
.table-responsive > .fixed-column {
    position: absolute;
    display: inline-block;
    width: auto;
    border-right: 1px solid #ccc;
    background-color: #ffffff;
}

@media(min-width:1400px) {
    /* Equivalent - */
    .table-responsive > .fixed-column {
        display: none;
    }
}

table.dataTable-recap thead > tr > th {
    padding-left : 0px !important;
    padding-right : 0px !important;
}




/*** Font  ***/
.text-size-12 {
    font-size: 12px;
}
.text-size-11 {
    font-size: 11px;
}
.text-size-10 {
    font-size: 10px;
    vertical-align: middle !important;
}
.text-size-10-tbody-td>tbody>tr>td {
    font-size: 10px;
}
.text-bold {
    font-weight: bold;
}
.text-italic { 
    font-style: italic; 
}

/* Réduire taille bouton log */
@media(max-width:480px) {
    /* Equivalent xs */
    .btn-xs-small {
        font-size: 9px !important;
    }
}

/*** Color ***/ 
.text-vert {
    color : #5cb85c !important;
}
.text-rouge {
    color : #d9534f !important;
}
.text-danger {
    color : #d9534f;
}
.btn-A,
.btn-B,
.btn-C,
.btn-O,
.btn-SSSM,
.btn-AG-A,
.btn-AG-G,
.btn-Stat,
.btn-SPP,
.btn-B-l,
.btn-B-l2,
.fond-rouge-ecarlate {
    color: inherit;
    color: #fff;
}
.btn-A{
    background-color: #5cb85c !important;
}
.btn-SPP{
    background-color: #cc3300 !important;
}
.btn-O{
    background-color: #BBBBBB !important;
}
.btn-SSSM{
    background-color: #E04DA5 !important;
}
.btn-Stat{
    background-color: #f0ad4e !important;
}
.btn-manoeuvre{
    background-color: #FEE3EA !important;
}
.btn-B,.btn-AG-G{
    background-color: #428bca !important;
}
.btn-B-l {
    background-color: #095AA1 !important;
}
.btn-B-l2 {
    background-color: #054362 !important;
}
.table tbody tr:hover > td.btn-AG-G{
  background-color: #0199FE !important;
}
.btn-C,.btn-AG-A{
    background-color: #d9534f !important;
}
.table tbody tr:hover > td.btn-AG-A{
  background-color: #CC0000 !important;
}
.btn-dispo {
    background-color: #5bf183 !important;
}
.btn-dispo-a { 
    background-color: #c6fab8 !important;
}
.table tbody tr:hover > td.btn-dispo{
  background-color: #2ced5f !important;
}
.table tbody tr:hover > td.btn-dispo-a{
  background-color: #98F6B1 !important;
}

.btn-E1{
    background-color: #BEEC8F !important;
}
.table tbody tr:hover > td.btn-E1{
  background-color: #00ff00 !important;
}
.btn-E2{
    background-color: #FFD98E !important;
}
.table tbody tr:hover > td.btn-E2{
  background-color: #FF9933 !important;
}
.btn-E3 {
    background-color: #FF7783 !important;
}
.table tbody tr:hover > td.btn-E3{
  background-color: #FF0000 !important;
}

.fond-gris {
    background-color: #CCCCCC !important;
}
.fond-gris-l {
    background-color: #EEEEEE !important;
}
.table tbody tr:hover > td.fond-gris-l{
  background-color: #E9E9E9 !important;
}
.fond-gris-ll {
    background-color: #F7F7F7 !important;
}
.table tbody tr:hover > td.fond-gris-ll{
  background-color: #F2F2F2 !important;
}
.fond-gris-l-no-imp {
    background-color: #EEEEEE;
}
.table tbody tr:hover > td.fond-gris-l-no-imp{
  background-color: #E9E9E9;
}
.fond-jaune {
    background-color: #F6F698 ;
}
.table tbody tr:hover > td.fond-jaune{
  background-color: #F3F37F ;
}
.fond-jaune-l {
    background-color: #F4F4B4;
}
.table tbody tr:hover > td.fond-jaune-l{
  background-color: #F6F698;
}
.fond-bleu {
    background-color: #FED9D3;
}
.table tbody tr:hover > td.fond-bleu {
  background-color: #FEC8BF;
}
.fond-bleu-l {
    background-color: #FEE4E0;
}
.table tbody tr:hover > td.fond-bleu-l {
  background-color: #FED9D3;
}
.fond-gris-tl {
    background-color: #F5F5F5 !important;
}
.fond-blanc {
    background-color : #ffffff !important;
}
.fond-rouge-ecarlate {
    background-color : #CC0000 !important;
}

.fond-bleu-2 {
    background-color : #d4effe !important;
}
.table tbody tr:hover > td.fond-bleu-2 {
  background-color: #c1e7fd !important;
}
.fond-jaune-2 {
    background-color : #fbefc7 !important;
}
.table tbody tr:hover > td.fond-jaune-2 {
  background-color: #F9D368 !important;
}
.fond-gris-2 {
    background-color : #e9e9e9 !important;
}
.table tbody tr:hover > td.fond-gris-2 {
  background-color: #cdcdcb !important;
}

.fond-astreinte {
    background-color: #ffb1f5;
  }
.table tbody tr:hover > td.fond-astreinte {
background-color: #f894ea;
}
.fond-alert {
  background-color: #F95D5D;
}
.table tbody tr:hover > td.fond-alert {
  background-color: #F05252 !important;
}
.fond-danger {
  background-color: #FEB1B1;
}
.table tbody tr:hover > td.fond-danger {
  background-color: #E9A4A4 !important;
}
.fond-warning {
  background-color: #FEDCA1;
}
.table tbody tr:hover > td.fond-warning {
  background-color: #E9CDA4 !important;
}
.fond-success {
  background-color: #B1FECB;
}
.table tbody tr:hover > td.fond-success {
  background-color: #A4E9B9 !important;
}


/*** Border ***/
.jour-en-cours {
    border-top : 2px solid #000 !important;
    border-bottom : 2px solid #000 !important;
	filter: hue-rotate(130deg);
}
.jour-en-cours-valid-l {
    border-left : 2px solid #555 !important;
}
.jour-en-cours-valid-r {
    border-right : 2px solid #555 !important;
}
.border-empty {
    border : 0px !important;
}
.border-l-empty {
    border-left : 0px !important;
}
.border-r-empty {
    border-right : 0px !important;
}

/*** Margin padding ***/
.no-padding {
    padding: 0px !important;
}
.small-padding {
    padding: 5px !important;
}
.pagination.no_marge   {
    margin :0px;
    
}
.small-btn {
   padding: 3px 3px !important;
}


/* */
.clickable-mouse {
    cursor: pointer;
}

.select-small {
   height : 20px; 
   font-size : 11px;
   padding : 0px;
}
.select-small-log {
   font-size : 11px;
   padding : 0px;
}




/* Liste dans les boutons de log */
.scrollable-menu {
    height: auto;
    max-height: 300px;
    overflow-x: hidden;
}
    
.affix {
      top: 0;
      width: 100%;
}  



.input-xs {
    -webkit-box-sizing: content-box !important;
       -moz-box-sizing: content-box !important;
            box-sizing: content-box !important;    
    height: 22px;
    padding: 0px 2px;
    font-size: 9px;
    line-height: 1.5; /*If Placeholder of the input is moved up, rem/modify this.*/
    border-radius: 3px;
    width : 8px
}
    
/* Select desabled */
select.valid, option:disabled {
    background: #BBBBBB;
}

/* Input reglages*/
.small-width {
    width:130px !important;
}
/* Nom spv*/
.navbar-header-nom {
    padding : 2px 10px !important;
    height : 20px !important;
    line-height:10px !important;
}
/* Titre SPV St Go*/
.navbar-header-titre {
    padding : 15px 10px !important;
    height : 20px !important;
    line-height:10px !important;
}

.panel-heading .btn-heading {
    margin: -6px 0px !important;
    font-size: 15px !important;
    padding: 3px 10px !important;
}

/*Afficher maquer le menu */
#sidebar-wrapper.toggled {
    margin-left: -250px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#page-wrapper.toggled {
    margin: 0 0 0 0px; 
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/*#sidebar-wrapper {
    margin-left: 0px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#page-wrapper {
    margin: 0 0 0 220px; 
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}*/

/*Suppression des marges blanches pour les messages
http://stackoverflow.com/questions/14826992/text-overflow-ellipsis-in-table-cell-without-width
.table-shorten {
  table-layout:fixed;
}

.table-shorten  td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jumbotron {
  position: absolute;
  top: 50%;
  left:50%;
  transform: translate(-50%,-50%);
}*/


/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    .image-accueil {
        max-width: 300px;
    }
}
  
/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {
    .image-accueil {
        max-width: 400px;
    }
}
  
/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 768px) and (max-width: 1024px){
    .image-accueil {
        max-width: 450px;
        box-sizing: border-box;
    }
}
  
/* Media Query for Laptops and Desktops */
@media (min-width: 1025px) and (max-width: 1280px){
    .image-accueil {
        max-width: 500px;
        box-sizing: border-box;
    }
}
  
/* Media Query for Large screens */
@media (min-width: 1281px) {
    .image-accueil {
        max-width: 620px;
        box-sizing: border-box;
    }
}

