﻿/*Header*/
.ekko-lightbox a {
   outline: 0;
}

.ekko-lightbox .modal-dialog {
    height: 300px
}

.ekko-lightbox .modal-body {
    padding: 10px;
}

.modal-principal .modal-header, .ekko-lightbox .modal-header{
    background-color: #5090c1; /*#438eb9;*/
    padding: 11px;
    padding-left: 16px;
    text-align: center
}

.modal-principal.modal-principal-error .modal-header {
    background-color: #b52222;
    color: white;
}

.modal-principal .modal-header .close, .ekko-lightbox .modal-header .close{
    color: #ffffff;
    opacity: 0.8;
    text-shadow: none;
    margin-top: -3px
}

.ekko-lightbox .modal_dialog {
    min-height: 500px !important;
    max-height: 300px !important;
    overflow: scroll !important
}

.modal-error .modal-header {
    background-color: #b52222;
}

.modal-warning .modal-header {
    background-color: #ca641d
}

.modal-principal .modal-title, .ekko-lightbox .modal-title{
    display: inline-block;
    color: #ffffff
}

.modal-principal .modal-footer {
    padding: 7px;
    padding-right: 10px
}

.line-after {
  position: relative;
  text-align: left;
  width: 92%;
  float: left;
  margin-right: -30px;
  padding-right: -30px
}

.line-after span {
  background: #fff;
  padding-right: 15px;
  position: relative;
  z-index: 1;
}

.line-after:before {
  background: #DCE8F1;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  top: 50%;
  width: 100%;
}
.line-after:before {
  left: 0;
}

/*Widgets*/
.modal-principal .widget-header {
    border-bottom: none !important
}

.modal-principal .widget-toolbar {
    font-weight: normal;
    padding-top: 3px;
    color: #DCE8F1
}

/* Dialogues: editeur-fiche, ajouteur-panier */
.dialog-extralarge {
    width: 90%;
    max-width: 1250px;
}

.dialog-extralarge label {
    font-size: 13px !important
}

.dialog-extralarge input, select {
    width: 100%
}

.dialog-extralarge .btn-sm, .btn-group-sm > .btn {
    padding: 4px 7px
}

.dialog-extralarge .panel-group {
    margin-bottom: 0px;
    margin-top: 5px
}

.dialog-extralarge .panel-body {
    padding: 5px
}


.dialog-large {
    width: 90%;
    max-width: 950px;
}

.dialog-large label {
    font-size: 13px !important
}

.dialog-large input, select {
    width: 100%
}

.dialog-large .btn-sm, .btn-group-sm > .btn {
    padding: 4px 7px
}

.dialog-large .panel-group {
    margin-bottom: 0px;
    margin-top: 5px
}

.dialog-large .panel-body {
    padding: 5px
}


.dialog-moyen {
    width: 90%;
    max-width: 750px;
}
.dialog-moyen label {
    font-size: 13px !important
}
/*.dialog-moyen input, select {
    width: 100%
}*/

.dialog-moyen .btn-sm, .btn-group-sm > .btn {
    padding: 4px 7px
}

.dialog-moyen .panel-group {
    margin-bottom: 0px;
    margin-top: 5px
}

.dialog-moyen .panel-body {
    padding: 5px
}

.dialog-moyen-petit {
    width: 90%;
    max-width: 500px;
}

.dialog-moyen-petit input[type=text], input[type=password], textarea, select {
    width: 100%
}
/* PV synchronisation */
.dialog-petit {
    width: 90%;
    max-width: 300px;
}

.dialog-petit h4.bigger {
    font-size: 14px;
}

.dialog-petit .modal-header {
    padding: 5px
}

.dialog-petit .modal-footer {
    padding-top: 6px;
    padding-bottom: 6px;
    align-content: center
}
.image-synchro {
    width: 98%
}
.text-synchro {
    /*position: absolute;*/ 
    /*margin-top: 42px;*/ 
    /*margin-left: -58%; */ 
    width: 211px !important;
    height: 29px
}

/* Zone grille */
.dialog-moyen .ui-jqgrid .ui-jqgrid-view {
    border: 1px solid #E1E1E1 !important;
    border-right: none !important
}

/* Entete grille */
.dialog-moyen .ui-jqgrid .ui-jqgrid-htable th span.ui-jqgrid-resize {
    height: 20px !important;
    width: 10px !important;
}
.dialog-moyen .ui-jqgrid .ui-jqgrid-htable th div {
    padding-top: 2px;
    padding-bottom: 2px;
    overflow: hidden;
}
.dialog-moyen .ui-jqgrid .ui-jqgrid-hdiv {
    border-right: 1px solid #E1E1E1 !important;
    overflow-y: hidden;
}
.dialog-moyen .ui-jqgrid-hdiv .ui-jqgrid-htable {
    border-top: none;
}
.dialog-moyen .ui-jqgrid .ui-jqgrid-labels {
    background-color: #eff3f8;
    background-image: none;
    border-left: none !important;
}
.dialog-moyen .ui-jqgrid .ui-jqgrid-labels th {
    border-right: none !important
}

/* Body grille */
.dialog-moyen .ui-jqgrid .ui-jqgrid-btable {
    border-left: none;
}
.dialog-moyen .ui-jqgrid .ui-jqgrid-bdiv {
    border-top: none;
    border-right: 1px solid #E1E1E1;
    //border-bottom: 1px solid #E1E1E1;
}

/* Colonnes */
.dialog-moyen .ui-jqgrid tr.ui-row-ltr td {
    border-right: none;
    border-bottom: none;
}

.dialog-moyen .ui-jqgrid tr.ui-row-ltr td, .ui-jqgrid tr.ui-row-rtl td {
    padding: 0px 4px; 
}

#scan-num-serie-popup .ui-jqgrid-bdiv{
    overflow-x: hidden;
}

.dialog-moyen .champsDisponibles {
    width: 100%;
    height: 180px;
}

/* Alerte, confirmation */
.bootbox .modal-dialog {
    max-width: 650px;
    width: 95%;
    overflow-wrap: break-word;
}

.help-inline
{
    font-weight: 100;
    font-style: italic
}

/*Texte*/
.text-value {
    font-weight: bold
}

@media (max-width: 767px) {
    .line-after {
        width: 80%
    }

    .modal .modal-body {
        max-height: 300px;
        overflow-y: auto;
    }
}

.modal-body {
    background-color: white;
    /*max-height: 75vh;
    overflow-y: auto;
    overflow-x:hidden;
        désactivé pour que les dropdown apparaissent en dehors de la dialogue si la dialogue est trop petite.
    */
}

.datetime-local-input-buttons {
    z-index: 3;
    position: relative;
    margin-top: 6px;
    margin-right: 0px!important;
}

.ws-datetime-local{
    width: 100%!important;
}

.btn-dialog{
    width : 50%;
    height : 30px;
    padding : 0 !important;
}

.help-button {
    height: 10px !important;
    width: 10px !important;
    line-height: 10px !important;
    background-color: #FFF !important;
    color: #4696BE !important;
    font-size: 10px !important;
    border-color: #4696BE !important;
    border: 1px solid #4696BE !important;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2) !important;
}

#modification-fiche .kfield-with-label .col-sm-1,
#modification-fiche .kfield-with-label .col-sm-2,
#modification-fiche .kfield-with-label .col-sm-3,
#modification-fiche .kfield-with-label .col-sm-4,
#modification-fiche .kfield-with-label .col-sm-5,
#modification-fiche .kfield-with-label .col-sm-6,
#modification-fiche .kfield-with-label .col-sm-7,
#modification-fiche .kfield-with-label .col-sm-8,
#modification-fiche .kfield-with-label .col-sm-9,
#modification-fiche .kfield-with-label .col-sm-10,
#modification-fiche .kfield-with-label .col-sm-11,
#modification-fiche .kfield-with-label .col-sm-12 {
    padding-left: 0px !important;
}

#modification-fiche .form-group {
    padding-left: 15px !important;
}

.dropdown-menu li {
    padding: 2px;
    height: 35px;
}

.dropdown-menu li a {
    padding: 0px 10px !important;
    height: 100% !important;
}
.error-developper-zone-toggle {
    margin-top: 20px;
    text-decoration: underline;
    cursor: pointer;
}

.error-developper-zone .error-label {
    font-weight: bold;
}
#dialogue-selection-multiple thead .cbox {
    margin: 0 !important;
}

.form-group .row{
    padding-top: 2px;
}