
/* autocomplete UI jquery */
.ui-autocomplete { 
	max-height: 200px; 
	overflow-y: scroll; 
	overflow-x: hidden;
}


/* modal */
#modal-contenu label {
	font-weight: 700;
}
#modal-contenu .checkbox label {
	font-weight: 300;
}

.bs-callout-info h3 {
    color: #5bc0de;
}
.bs-callout h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

/* Colored modal header */
.modal-header-success {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #5cb85c;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-header-warning {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #f0ad4e;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-header-danger {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #d9534f;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-header-info {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #5bc0de;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-header-primary {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #428bca;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/*
 * Callouts
 *
 * Not quite alerts, but custom and helpful notes for folks reading the docs.
 * Requires a base and modifier class.
 */

/* Common styles for all types */
.bs-callout {
    margin-bottom:20px;
    padding: 20px;
    border-left: 3px solid #eee;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    background-color: #fff;
    border-radius: 3px;
}

/* Variations */
.bs-callout-danger {
    background-color: #fdf7f7;
    border-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    background-color: #fcf8f2;
    border-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    background-color: #f4f8fa;
    border-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}

.bs-callout-success {
    background-color: #f4faf6;
    border-color: #5cb85c;
}

.bs-callout-success h4,
.bs-callout-success a.alert-link {
    color: #5cb85c;
}

/* Colorful input-group-addon */
.input-group-addon.primary {
    color: rgb(255, 255, 255);
    background-color: rgb(50, 118, 177);
    border-color: rgb(40, 94, 142);
}
.input-group-addon.success {
    color: rgb(255, 255, 255);
    background-color: rgb(92, 184, 92);
    border-color: rgb(76, 174, 76);
}
.input-group-addon.info {
    color: rgb(255, 255, 255);
    background-color: rgb(57, 179, 215);
    border-color: rgb(38, 154, 188);
}
.input-group-addon.warning {
    color: rgb(255, 255, 255);
    background-color: rgb(240, 173, 78);
    border-color: rgb(238, 162, 54);
}
.input-group-addon.danger {
    color: rgb(255, 255, 255);
    background-color: rgb(217, 83, 79);
    border-color: rgb(212, 63, 58);
}

.page-header.modal-header {
    margin-top: 0px;
}

.panel-title a:hover, .panel-title a:focus {
    text-decoration: none;
}

.fa-custom{
    font-size: 24px;
}

.blue-tr{
    background-color:#E1E6FA !important;
}

.white-tr{
    background-color:#fff !important;
}

.input-tab{
    width: 100% !important;
}

/* Barre navigation */

.navbar-brand > img {
    width: 45px;
    display: inline-block;
    vertical-align: top;
    margin-top: -7px;
}
.navbar-top-links li {
    display: inline-block;
}
.navbar-top-links li:last-child {
    margin-right: 30px;
}
.logout {
    padding: 4px 10px !important;
    margin-left: 10px;
}
.logout:hover {
    background-color: #d43f3a !important;
}


.user_name {
    text-align: center;
    font-size: 12px; 
}

/* Contenu page */
@media (min-width: 768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 20px;
        padding: 0 30px;
    }
}
#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;
}

.dropdown-header {
    font-size: 14px; 
}


/* Datatables */

/* alternance des lignes*/
.table-striped > tbody > tr:nth-child(odd) {
    background-color: #ebebff;
}

.dataTables_length {
    float: left;
    padding: 5px 10px;
}

.btn-group {
    float: left;
}

.modal-dialog{
    top: 50px;
}

/* Datatble Cadencier */

/* input tfoot en haut */
tfoot#search {
    display: table-header-group;
}

.tab-pane {
    margin: 20px 0;
}


.dataTables_processing {
    position: fixed !important;

    width: 180px !important;
    height: 160px;
    z-index: 10000;
    margin: -80px 0 0 -90px !important;
    font-size: x-large;
    background-color: #f5bd6fd0 !important;
    border: #000 1px solid;
    border-radius: 20px;
    box-shadow: -12px 10px 10px 2px rgba(0, 0, 0, 0.5);
    padding: 20px !important; 
}

#nb_jour_slide .slider-selection {
	background: #BABABA;
}

#dataTables-promotions, #dataTables-boxm {
    font-size: 12px;
}

.datatable-th-bleu thead th, .datatable-th-bleu-seul {
    padding-right: 20px !important;
    background-color: #337ab7;
    color: #ffffff;
}


.datatable-th-rouge thead th, .datatable-th-rouge-seul {
    padding-right: 20px !important;
    background-color: #d9534f;
    color: #ffffff;
}

#cadencier-datatable .reappro_modif {
    border-left: 4px solid #65c465;
}

.smaller {
    font-size: 11px;
}
.fat {
    font-weight: bold;
}

.text-nomenclature {
    font-size: 12px;
    font-style: italic;
}

/* input facing et caplin doivent faire la taille de la colonne */
.dataTable .form-control {
    width: 100%;
}

.erreur {
    border: 2px solid #f38787;
}

#cadencier-datatable_filter input, #cadencier-datatable2_filter input {
    width: 200px;
}

a.type-hierarchie {
    padding: 5px !important;	
}

#hierarchie-filtre {
    font-size: 14px;
}

.panel-hierarchie, .panel-fournisseur {
	font-size: 12px;
}

#accordion .panel-heading {
    font-weight: normal;
    padding: 5px;
}

#accordion .panel-body {
    padding: 4px;
}


#produits-ub th, #produits-ref th, #ajout-permanent th {
    background-color: #337ab7;
    color: #ffffff;
    font-size: 12px;
}

.hand {
    cursor: pointer;
}

#ajout-permanent {
    width: 70%;
    margin: 0 auto;
}

/* Modal message */
.modal-content .alert {
    margin-bottom: 0px;
}

.btn-action{
    font-size: 20px;
    float: left;
    margin-right: 5px;
}

.green_row{
    color : #5cb85c !important;
}
#legende_couleur{
    background-color:#ACD49B;
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 10px;
}

/* Ecran positionnement tract */
#tractAutorise {
	display: inline-block;
    white-space: normal;
    text-align: left;
}
#positionnement-mag #detailTract {
    z-index: 100;
    position: fixed;
    top: 60px;
    /*height: 90%;*/
    background: rgba(33,33,33,0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    margin: 0 10px;
    width: 49%;
}
#positionnement-mag #panelTract .alert {
	padding: 10px;
}
#positionnement-mag #panelTract .panel-body {
	overflow-y: auto;
	overflow-x: hidden;
	min-height: 100%;
}
#pos-mag-search .panel-body {
	background-color: #ebebff;
}

.table-striped .even {
    background-color: #ffffff;
}
.detail-tract {
    font-size: 12px;
}
#modalDetail .alert {
	margin-bottom: 20px;
}
#positionnement th, #positionnement td {
    white-space: nowrap;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
#positionnement div.dataTables_wrapper {
    /*width: 1200px;*/
    margin: 0 auto;
}

.th-vert {
    background-color : #5cb85c !important; 
}
.th-bleu  {
    background-color : #46aafc !important; 
}
.th-rouge  {
    background-color : #d9534f !important; 
}
.th-orange  {
    background-color : #ec971f !important; 
}
#exceptions .btn-excep {
    vertical-align: middle;
    text-align: center;
}
#exceptions .btn-excep div {
    width: 50px;
    margin: auto;
    text-align: center;	
}
#exceptions .btn-excep div.oui {
    color: #286090;
    font-weight: bold;
}
#exceptions .btn-excep div.non {
    color: #f0ad4e;
    font-weight: bold;
}
#tab-promotions{
    margin-bottom: 20px;
}

.ligne-tract {
	padding-top: 5px;
}

.popover {
	color: #333333;
}

/* fl�che retour en haut */
.scrollup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    opacity: 0.5;
}

/*Bouton retour page pr�c�dente*/
#btn_prev{
    /*position: absolute;
    top: 85px;
    left: 15px;*/
    margin-bottom: 5px;
}

.input-sm {
    padding: 5px !important;
}

.vertical_text{
    writing-mode: vertical-rl;
    text-orientation: sideways;
}

/* Page promotion */
#dataTables-promotions th, #dataTables-promotions td {
	width: 5.5%;
	padding: 4px;
}
#dataTables-promotions th.medium, #dataTables-promotions td.medium {
	width: 11%;
	padding: 4px;
}
#dataTables-promotions th.large, #dataTables-promotions td.large {
	width: 19%;
	padding: 4px;
}
div.pager{
	float:left;
}
div.pager span {
	position: relative;
	float: left;
	padding: 6px 12px;
	margin-left: -1px;
	line-height: 1.42857143;
	color: #337ab7;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
	cursor: pointer;
}

div.pager span.active {
	z-index: 2;
	color: #fff;
	cursor: default;
	background-color: #337ab7;
	border-color: #337ab7;
	cursor: pointer;
}
    
.flag-oblig {
	box-shadow: 1px 1px 10px green;
}    
 
.flag-hierarchie {
	box-shadow: 1px 1px 10px #f0ad4e;
}
    
.toggle.ios, .toggle-on.ios, .toggle-off.ios { border-radius: 40px; }
.toggle.ios .toggle-handle { border-radius: 40px; }

/* Pacte */
#themes_table .nb_input {
	float: left;
    width: 49px;
    margin-right: 3px;
}

/* Badge écran promo */
span.badge-orange {
   position:relative;
}
span.badge-orange[data-badge]:after {
   content:attr(data-badge);
   position:absolute;
   top:-12px;
   right:-14px;
   font-size:.7em;
   background-color:orange;
   color:white;
   width:18px;height:18px;
   text-align:center;
   line-height:18px;
   border-radius:50%;
   box-shadow:0 0 1px #333;
}

/* Badge écran flux tendu */
span.badge-rouge {
   position:relative;
}
span.badge-rouge[data-badge]:after {
   content:attr(data-badge);
   position:absolute;
   top:-12px;
   right:-45px;
   font-size:.7em;
   background-color:#d9534f;
   color:white;
   width:18px;height:18px;
   text-align:center;
   line-height:18px;
   border-radius:50%;
   box-shadow:0 0 1px #333;
}

/*span .badge-rouge[title]:hover:after {
    color: red;
    background-color: black;
} */
/* span.badge-rouge {
    border-bottom: 1px dashed;
    text-decoration: none
} */
span.badge-rouge:hover {
    position: relative
}
span.badge-rouge span {
    display: none
}
span.badge-rouge:hover span {
    border: #d9534f 1px solid;
    border-radius: 6px;
    padding: 3px 5px;
    display: block;
    z-index: 100;
    background-color: #d9534f;/*#0f0f0f;*/
    color: #ffffff;
    font-size: 0.8em;
    font-style: italic;
    margin: 8px;
    width: 200px;
    height: 37px;
    position: absolute;
    top: -30px;
    left: 40px;
    text-decoration: none
}

