﻿/*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-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{
    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-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
}
.dialog-moyen .ui-jqgrid .ui-jqgrid-htable th div {
    padding-top: 2px
}
.dialog-moyen .ui-jqgrid .ui-jqgrid-hdiv {
    border-right: 1px solid #E1E1E1 !important;
}
.dialog-moyen .ui-jqgrid-hdiv .ui-jqgrid-htable {
    border-top: none;
}
.dialog-moyen .ui-jqgrid .ui-jqgrid-labels {
    background-color: #fff;
    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; 
}

.dialog-moyen .champsDisponibles {
    width: 100%;
    height: 180px;
}

/* Alerte, confirmation */
.bootbox .modal-dialog {
    max-width: 400px;
    width: 95%
}

/*Texte*/
.text-value {
    font-weight: bold
}

@media (max-width: 767px) {
    .line-after {
        width: 80%
    }

    .modal .modal-body {
        max-height: 300px;
        overflow-y: auto;
    }
}