.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 200px 15px;
    margin: auto;
}
.form-signin .checkbox {
    font-weight: 400;
}
.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    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;
}

.main-content {
    margin-left: 250px;
    margin-top: 2vh;
}

#formWindow, #componentList {
    height: 50vh;
    border: 1px solid #343a40;
    overflow-y: auto;
}

.draggable-component {
    cursor: grab;
    border-radius: 4px 4px 4px;
    background-color: lightcyan;
    border: 1px dotted lightblue;
    width: 100%;
}

.component-description {
    cursor: pointer;
}

.tab-content {
    height: auto;
    min-height: 300px;
}

#tabs {
    width: 100%;
}

.removeTab,
.removeFieldset,
.addFieldset,
.addTab {
    cursor: pointer;
    margin: 0 20px;
}

.tab-fieldset {
    border: 1px solid deepskyblue;
    width: 100%;
    margin: 10px 0;
    min-height: 150px;
    padding: 1rem;
}

.tab-fieldset legend {
    width: auto;
    display: inline;
    color: darkgrey;
    font-style: italic;
    font-size: 1rem;
}

.fieldset-active {
    border: 1px solid red;
}

#formWindowHeader {
    position: fixed;
    z-index: 100;
    height: 50px;
}

#formTabs {
    margin-top: 50px;
}

.header-input {
    margin-top: 5px;
    display: inline;
    width: 240px;
}

.componentDragged {
    margin: 5px 0;
    border-radius: 4px 4px 4px;
    background-color: lightcyan;
    border: 1px dotted lightblue;
    width: 100%;
    padding: 1rem;
}

.delete-component {
    cursor: pointer;
}

.tabContentPlaceHolder {
    font-style: italic;
    color: darkgrey;
}

#headerList {
    border: 1px solid lightcyan;
    min-height: 50px;
}

#headerList .header {
    padding: 5px;
    border-radius: 4px 4px;
    cursor: grab;
    /*width: 100px;*/
}

#headerList .header.selected {
    border: 2px solid blue;
}

#tableHeaders th {
    cursor: grab;
}

#tableHeaders th:hover {
    background-color: red;
}

.suppClient:hover, .suppPresta:hover {
    color: #ff0000;
    cursor: pointer;
}


.hidden { display: none; }


.dropdown-hover:hover .dropdown-menu {display: block;}


/* LOADING ANIMATION */
/* the loader */
#loader, .loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    display: none;
}

/* Cover the whole page */
#cover, .cover {
    position: fixed;
    height: 100%;
    width: 100%;
    top:0;
    left: 0;
    background: #fff;
    z-index:9999;
    font-size: 60px;
    text-align: center;
    padding-top: 200px;
    display: none;
}

/* Loader animation (1) */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
/* Loader animation (2) */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.prestaLine:hover, .clientLine:hover {
    background-color: #212529;
    color: #ffffff;
    transition: all 0.5s ease;
}

.recap {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    height: auto;
    max-height: 200px;
    overflow: auto;
    padding: 1em
}

.client-badge:hover, .prestation-badge:hover, .profil-badge:hover {
    background-color: #ff0000;
    cursor: pointer;
}

.overlay {
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 2;
    opacity: 1;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 200ms ease-in-out;
    border-radius: 4px;
}

/** Toggle switch **/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
    margin: 0;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 17px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #008000;
}

input:focus + .slider {
    box-shadow: 0 0 1px #008000;
}

input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

input:disabled + .slider {
    opacity: .4;
}

/** off canvas **/
.bs-canvas-overlay {
    opacity: 0.85;
    z-index: 1100;
}

.bs-canvas {
    top: 0;
    z-index: 1110;
    overflow-x: hidden;
    overflow-y: auto;
    width: 70%;
    transition: margin .4s ease-out;
    -webkit-transition: margin .4s ease-out;
    -moz-transition: margin .4s ease-out;
    -ms-transition: margin .4s ease-out;
}

.bs-canvas-right {
    right: 0;
    margin-right: -70%;
}

/** Table stripped + hover with hidden rows **/
.table-striped tbody tr.visible-odd {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-striped tbody tr.visible-even {
    background-color: rgba(0, 0, 0, 0.00);
}

.table-hover tbody tr.visible-even:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.table-hover tbody tr.visible-odd:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

/** Modales **/
.modal{
    z-index: 2001;
}

.modal-backdrop {
    z-index: 2000;
}

select option:disabled {
    color: gray;
    background-color: lightgrey;
}

/** Balises texte del et ins **/
del {
    text-decoration: line-through;
    background-color: #fbb;
    color: #555;
}

ins {
    text-decoration: none;
    background-color: #d4fcbc;
}

/* EDITOR */
.matrice{position:relative;}
.ecranPrevisualisation{border:1px solid lightgray;height:500px;position:relative;margin-top:10px;}
.ecranPrevisualisation > p{padding:20px;color:lightgray}
.ecranPrevisualisation > iframe{display:block;width:100%;height:500px;margin:0;padding:0;border:none;}
.ecranPrevisualisation .spinner-border{position:absolute;top:50%;left:50%;margin-left:-10px;margin-top:-10px;}

/* Modal left / right */
.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    top: 0;
    bottom: 0;
    left: auto;
    right: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
            -o-transform: translate3d(0%, 0, 0);
            transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

/*Left*/
.modal.left .modal-dialog{
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
        -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
            -o-transition: opacity 0.3s linear, left 0.3s ease-out;
            transition: opacity 0.3s linear, left 0.3s ease-out;
}
.modal.left.fade .modal-dialog{
    left: 0;
}
    
/*Right*/
.modal.right .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
        -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
            -o-transition: opacity 0.3s linear, right 0.3s ease-out;
            transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade .modal-dialog {
    right: 0;
}

/* Select2 */
.select2-container--default .select2-results>.select2-results__options{
    max-height: 500px !important;
}

.select2-container {
    width: 100% !important;
}

li:hover ul.collapse{display:block}
.accordion > .card{overflow:visible;}
/*progressbar*/
#progressbar {
    margin: 30px 0;
    overflow: hidden;
    color: lightgrey;
    padding: 0;
}

#progressbar .active {
    color: #000000;
}

#progressbar li {
    list-style-type: none;
    font-size: 12px;
    width: 20%;
    float: left;
    position: relative;
    text-align: center;
}
#progressbar li strong{
    position: relative;
    z-index: 1;
}

/*Icons in the ProgressBar*/
#progressbar #step1:before {
    content: "1";
}

#progressbar #step2:before {
    content: "2";
}

#progressbar #step3:before {
    content: "3";
}

#progressbar #step4:before {
    content: "4";
}
#progressbar #step5:before {
    content: "5";
}

/*ProgressBar before any progress*/
#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 18px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
    text-align: center;
    z-index: 1;
    position: relative;
}

/*ProgressBar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: 0;
}

.btn-outline-secondary {
    background: white !important;
    border-color: white !important;
    color: #fca311 !important;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before, #progressbar li.active:after {
    background: #fca311;
    cursor: pointer;
}
