/*
    Created on : 28 sept. 2017, 11:47:23
    Author     : lramanoara
*/

:focus, :active {outline:none !important;}
::-moz-focus-inner{
    border:0;
    outline:0;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
  padding-top: 80px;
  background-color: #eee;
}

th a{
    color: inherit;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    background-color: inherit;
}

fieldset{
    border: 1px solid silver;
    padding: 5px 1em;
}

.form-group-element {
    margin-bottom: 15px;
    clear: both;
}

ul.errors{
    list-style: outside none none;
    padding-left: 2em;
    color: #a94442;
}

div.panel-heading a:hover, div.panel-heading a:focus
{
    text-decoration: none;
}

.multiselect {
    height:10em;
    overflow:auto;
    margin:0;
    padding:0;
}

.multiselect label {
    display:block;
    margin-bottom: 0px;
    padding: 2px;
}

.multiselect-on {
    /*color:#ffffff;*/
    background-color: #eee;
}

.multiselect input[type="checkbox"] {
    line-height: normal;
    margin: 1px 4px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #eee;
    border-color: #eee;
    color: inherit;
    border: 1px solid #ddd;
    z-index: 1;
}

form legend {
    border-style: none;
    font-weight: 700;
    font-size: inherit;
    margin-bottom: 0;
    width: auto;
}

#fieldset-date_group label {
    font-size: 12px;
}
#fieldset-date_group .form-group-element{
    height: 20px;
}
#fieldset-date_group .form-group-element div{
    padding: 0;
}
#fieldset-date_group label {
    text-align: left;
}
#fieldset-date_group .control-label {
    padding-left:0;
}
#fieldset-date_group input[type="text"] {
    width: 100%;
}
#fieldset-date_group input[type="radio"] {
    margin-top: 2px;
    margin-left: -17px;
}

div.booking #accordion form{
     padding:0 20px;
}

.dropzone{
    padding: 0 2px;
}

.droppable{
   border: 1px dashed #ccc;
   min-height: 200px;
}
.droppable.state-load{
    background: #ffffff url("../img/ajax-loader.gif") no-repeat center center;
}

.droppable.state-default{
    border-color: #91BE3F;
}

.droppable.state-hover{
    background-color: #FFF
}

.draggable {
    cursor: move;
}

.dropzone .list-group-item{
    border-style: none !important;
    font-style: italic;
}

#booking-detail .list-group-item{
    border-style: dashed;
    padding: 10px 12px;
    font-style: italic;
}

.booking.modify{background-color: #dff0d8;}
.booking.cancel{background-color: #fcf8e3;}
.booking.book{background-color: #d9edf7;}
.booking.error{background-color: #f2dede;}

.revision-body {
    background-color: #fff;
    padding: 10px;
}

.help-block {
    font-size: 80%;
}

a.dropdown-toggle .caret {
    margin-left: 5px;
}

.multi-table .form-group{
    margin: 0;
}

ul.multi{
    padding:0;
}
li.multi-item{
    list-style: outside none none;
    margin-bottom: 5px;
}

table.multi-table a.addButton{ padding-left: 5px}
table.multi-table a.removeButton{ padding-left: 5px}
table.multi-table a.moveButton{
    padding-right: 5px;
    cursor:move !important;
}

.dropdown-menu{
    padding:0;
}

.yields {padding-top: 0.75em}
.yields > .form-group{
    margin-bottom: 0.35em;
}

.commission{
    font-size: .9em;
    font-style: italic;
    color: #91BE3F;
}

.price{
    font-size: 1.1em;
    font-weight: bold;
}

.delta{
    font-size: .9em;
    font-style: italic;
    color: #357ebd;
}

.total{
    font-size: 1.2em;
    font-weight: bold;
}

.error .glyphicon{
    color: #a94442;
}

.revision-desc{
    padding : 10px;
    font-weight: bold;
    font-size: 0.9em;
}

.btn-refresh{
    width: 100%;
}

.revision-body .detail-quantity{
    font-weight: bold;
}
.revision-body .detail-quantity:after{
    content: "x ";
}

.form-horizontal .form-group-condensed {
    margin-left: -15px;
    margin-right: -15px;
}

.form-group-condensed{
    margin-bottom: 0px
}

.multitext {
    padding: 5px 0;
}

.multitext dl{
    display: table-row;
    line-height: normal;
    width: auto;
}

.multitext dt,dd{
    display: table-cell;
    vertical-align: middle;
    margin: 0;
    padding: 3px 15px;
}

.multitext dt{
    text-align: right;
}

#logs .panel-body {
    padding: 0;
}

#logs pre {
    font-style: italic;
    margin: 0;
}

a.link-tooltip {
    color: #5bc0de
}

a.link-tooltip:hover {
    text-decoration: none;
    color: #5bc0de;
}

/* Ajouts Romain - Samy */

#discount-list, #price-list, #pricefloor-list, #audit-list, #consistency-list, .list-sm-margin {
    padding: 0 15px;
}

#discountFilters, #priceFilters, #publicationFilters {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

.form-multiple-select {
    width: 100%;
}

.form-multiple-select .ms-drop {
    position: inherit;
}

.form-multiple-select .ms-drop li input {
    margin: 0;
}

.form-multiple-select .ms-drop li span {
    padding-left: 3px;
}

.form-multiple-control .ms-choice {
    border: 0;
}

.form-multiple-control .ms-choice > span {
    padding: 3px 13px;
}

.form-multiple-control .ms-choice > div {
    top: 3px;
}

.form-multiple-control .ms-drop {
    position: absolute;
    top: 36px;
    left: -1px;
    font-size: 12px;
    width: auto;
}

.form-multiple-control .ms-drop li input {
    margin: 0;
}

.form-multiple-control .ms-drop li span {
    padding-left: 3px;
}

.pagination-bottom {
    margin-top: 0;
}

.pagination > li > span.text {
    border: medium none;
    font-weight: bold;
    margin-top: 2px;
}

.panel-title{
    display: inline-block;
}

.navbar-right {
    margin-right: 0px;
}

a.sortable-column {
    border-bottom: 1px dotted #2a6496;
    text-decoration: none;
}

#result-list.modal-body {
    overflow-y: auto;
}

.list-sm {
    font-size: 12px;
}

.list-xs {
    font-size: 10px;
}

.list-sm table table, .list-sm table .alert {
  margin-bottom: 0;
}

input[type="file"] {
    margin-top: 5px;
}

.ajaxloader {
    display: none;
}

.ajaxloader .ajaxloader-overlay {
    position:absolute;
    z-index: 3000;
    top:0px;
    width:0;
    height:0;
    background-color: #fff;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.ajaxloader .panel {
    position: fixed;
    z-index: 3001;
    top: 100px;
    left: 50%;
    width: 250px;
    margin: -35px 0 0 -125px;
    -moz-box-shadow: 0px 0px 15px -2px #656565;
    -webkit-box-shadow: 0px 0px 15px -2px #656565;
    -o-box-shadow: 0px 0px 15px -2px #656565;
    box-shadow: 0px 0px 15px -2px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=15);
}

.form-import .control-label, .form-result .control-label, .form-generate {
    text-align: left;
}

tr.row-bg-red td {
    background-color: #ffc0cb;
}

tr.row-bg-blue td {
    background-color: #AFEEEE;
}

tr.row-bg-green td {
    background-color: #98fb98;
}

#fileInfo {
    padding-left: 10px;
}

.shortenTag{
    cursor: default;
    border-bottom: 1px dotted #2a6496;
}

#lastGeneration, #lastPublication {
    text-align: center;
    line-height: 30px;
}

.table-publication thead {
    background-color: #6495ed;
    font-weight: bold;
}

.table-publication tbody tr:hover {
    background-color: #FFFACD;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.panel-heading.with-btn .btn-sm {
    line-height: 1;
}

.panel-heading.with-btn > .panel-title {
    line-height: 24px;
}

.link-delete span {
  color: #ff4500;
}

.ui-autocomplete {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

.control-restore {
  color: #337ab7;
  cursor: pointer;
}

.control-info {
  color: #337ab7;
}

.columnselector ul {
    max-height: 215px;
    padding-top: 3px;
    overflow-x: hidden;
    overflow-y: auto;
}

.columnselector label {
    clear: both;
    display: block;
    font-weight: normal;
    font-size: 12px;
    line-height: 1.32857;
    white-space:nowrap;
    padding: 2px 20px 2px 10px;
}

button span.glyphicon {
    margin-left: 5px;
}

/* StopSales Grid */
#wrapper-stopsales {
    margin-top: 20px;
    position: relative;
}

#wrapper-stopsales .stopsales {
    /*overflow: auto;*/
}

#wrapper-stopsales table {
    margin-bottom: 0;
}

#wrapper-stopsales th.stopsales-code{
    background-color: #5cb85c;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

#wrapper-stopsales th.title-day, #wrapper-stopsales th.title-date {
    border-top: none;
}

#wrapper-stopsales th.day, #wrapper-stopsales th.date {
    background-color: #def;
    text-align: center;
}

#wrapper-stopsales th.day.we, #wrapper-stopsales th.date.we {
    background-color: #cde;
}

#wrapper-stopsales th.head {
    border: none;
    padding-left: 0;
}

#wrapper-stopsales .btn-group {
    top: -1px;
}

#wrapper-stopsales td.cell{
    text-align: center;
    background-color: #fff;
    border: 1px solid #000000;
}

#wrapper-stopsales .table-title {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

/* Stopsales filter*/
#wrapper-filters.stopsales #stopsale option.validated{
    background-color: #98fb98;
}

#progressiFrame {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 10px;
    height: 10px;
    overflow: hidden;
}

#importModal .close{
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 100;
}

.stopsales-open, #wrapper-stopsales td.stopsales-open {
  background-color: #ffffff;
}

.stopsales-reopen, #wrapper-stopsales td.stopsales-reopen {
  background-color: #98fb98;
}

.stopsales-stopsales, #wrapper-stopsales td.stopsales-stopsales {
  background-color: #ffc0cb;
  color: #333333;
}

.stopsales-restopsales, #wrapper-stopsales td.stopsales-restopsales {
  background-color: #000000;
  color: #cccccc;
}

/* bootstrap modals centered horizontally AND vertically */
.modal.centered {
  text-align: center;
}

@media screen and (min-width: 768px) { 
  .modal.centered:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.centered .modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.form_datetimepicker {
    padding: 6px 12px !important;
}
.form-generate .exportType_radio {
    margin-right: 25px;
}

.form-generate .polo_price_exportType {
    padding-top: 15px;
    border-top: 1px solid #ccc;
}
.form-generate #file_generated_date {
    margin: 10px;
}
.control-refresh {
   color: #337ab7;
   cursor: pointer;
}

.control-refresh.disabled {
   color: #333;
   cursor: not-allowed;
}
.checkPricePolo-body  {
   text-align: center;
}
.prestation-publish-modal {
    padding-top: 10px !important;

}
.link-report {
    position: relative;
    left: 10px;
}
.avatar-rounded {
    height: 36px;
    width: 36px;
}
.languageChange span {
    margin: 0 15px;
}
.defaultLanguage {
    padding-top: 8px !important;
}
.fileInfoHistory {
    padding-left: 5px !important;
}
#previewModal .modal-dialog {
    width: 60%;
}
