﻿:root {
    --color-principal: #00519A;
    --color-secondaire: #FF6E37;
    --main-btn-color: var(--color-principal);
    --btn-espaceclient: var(--color-principal);
    --h2-border-bottom: #00519A;
    --rgba-box-shadow: rgb(40, 89, 105, 0.4);
    --main-sousmenu-color: #fff;
    --logo: url('../images/coverity.png');
    --main-text-font: AvenirLTStd-Book;
    --display-underline-hover: none;
    --link-color: var(--color-secondaire);
    --navbar-menu-background-color: var(--color-secondaire);
    --hover-navbar-menu-background-color: #fff;
    --hover-navbar-menu-color: var(--color-secondaire);
    --tabs-justified-bottom-color: #FF6E37; /*    10 % plus intense que "--color-secondaire" */
    --list-documents-hover-textcolor: #fff;
    --Error-stroke-color: white;
    --Error-label-retour-a-la-page-de: #7f8084;
    --Error-link-color: #29abe2;
    --Error-link-hover-color: #a9e2ff;
}

@font-face {
    font-family: 'Avenir-Light';
    src: url('../../fonts/avenir-font/Avenir-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Avenir-Book';
    src: url('../../fonts/avenir-font/Avenir-Book.ttf') format('truetype');
}

@font-face {
    font-family: 'Avenir-Roman';
    src: url('../../fonts/avenir-font/Avenir-Roman.ttf') format('truetype');
}

@font-face {
    font-family: 'AvenirLTStd-Book';
    src: url('../../fonts/avenir-font/AvenirLTStd-Book.otf') format('opentype');
}

.btn-primary {
    color: #fff !important;
    background-color: var(--color-principal) !important;
    border-color: var(--color-principal) !important;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
        color: #fff !important;
        background-color: var(--color-secondaire) !important;
        border-color: var(--color-secondaire) !important;
    }

#accordion .panel-title a {
    background-color: #dcdde1;     
    color: black;/*white;*/
}

    #accordion .panel-title a:hover {
        background-color: #353b48;          /*var(--color-secondaire);*/
        color: #dcdde1;    /*white;*/ /*var(--main-sousmenu-color);*/
    }



.form-check-input[type=radio].with-gap:checked + label:after, .form-check-input[type=radio]:checked + label:after, label.btn input[type=radio].with-gap:checked + label:after, label.btn input[type=radio]:checked + label:after {
    background-color: white;
}

.form-check-input[type=radio].with-gap:checked + label:after, .form-check-input[type=radio].with-gap:checked + label:before, .form-check-input[type=radio]:checked + label:after, label.btn input[type=radio].with-gap:checked + label:after, label.btn input[type=radio].with-gap:checked + label:before, label.btn input[type=radio]:checked + label:after {
    border: 2px solid var(--color-principal) !important;
}

.dropdown .dropdown-menu .dropdown-item:active, .dropdown .dropdown-menu .dropdown-item:hover,
.dropleft .dropdown-menu .dropdown-item:active, .dropleft .dropdown-menu .dropdown-item:hover,
.dropright .dropdown-menu .dropdown-item:active, .dropright .dropdown-menu .dropdown-item:hover,
.dropup .dropdown-menu .dropdown-item:active, .dropup .dropdown-menu .dropdown-item:hover {
    background-color: var(--color-secondaire);
    color: white;
}

.form-element-field:focus ~ .form-element-label {
    color: var(--color-principal) !important;
}

.form-element-label {
    color: var(--color-principal) !important;
}

/* pour l'échéancier */
    .table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: var(--color-secondaire);
    color: white;
}

.ui-widget-content {
    border: 1px solid var(--color-principal) !important;
    background: white !important;
    /*color: #fff;*/
    /*z-index: 999999 !important;*/
    color: #757575 !important;
}

/*//specifique admin*/
.modal-backdrop.show:nth-of-type(2) {
    z-index: 1060 !important;
}

/*Date picker*/
.ui-datepicker-div {
    z-index: 999999;
}

.ui-datepicker .ui-datepicker-header {
    background-color: var(--color-principal);
}

.ui-datepicker {
    border-color: var(--color-principal);
}

.ui-datepicker {
    border-color: var(--color-principal);
    border-top-color: var(--color-principal);
    border-right-color: var(--color-principal);
    border-bottom-color: var(--color-principal);
    border-left-color: var(--color-principal);
}

.ui-datepicker-calendar .ui-state-active {
    background-color: var(--color-principal);
    border-color: var(--color-principal);
    border-top-color: var(--color-principal);
    border-right-color: var(--color-principal);
    border-bottom-color: var(--color-principal);
    border-left-color: var(--color-principal);
}

.ui-datepicker-calendar .ui-state-hover {
    background-color: var(--color-principal) !important;
    border-color: var(--color-principal) !important;
    border-top-color: var(--color-principal) !important;
    border-right-color: var(--color-principal) !important;
    border-bottom-color: var(--color-principal) !important;
    border-left-color: var(--color-principal) !important;
}

.ui-datepicker table {
    background-color: white;
}

.ui-widget {
    font-family: var(--main-text-font);
    font-size: 14px;
}

.ui-widget-header {
    border: 1px solid var(--color-principal) !important;
    background: var(--color-principal) !important;
    color: #fff;
    font-weight: bold;
}


    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
        border: 1px solid var(--color-principal) !important;
        background: var(--color-principal) !important;
        font-weight: normal;
        /*color: #fff;*/
    }


    .ui-state-hover,
    .ui-widget-content .ui-state-hover,
    .ui-widget-header .ui-state-hover,
    .ui-state-focus,
    .ui-widget-content .ui-state-focus,
    .ui-widget-header .ui-state-focus {
        border: 1px solid var(--color-secondaire);
        background: var(--color-secondaire);
        font-weight: normal;
        /*color: #ffffff;*/
    }

.ui-dialog .ui-dialog-title {
    color: white;
}

.ui-dialog-titlebar-close {
    color: white;
}

.pdf_doc_commission {
    padding-top: 9px;
}

.arrow {
    border: solid var(--color-secondaire);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.table-dialog {
    background: white !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-left: auto !important;
}

    .table-dialog .ui-widget-content {
        border: 1px solid white !important;
        background: white !important;
        color: #757575 !important;
    }

    .table-dialog .ui-widget-header {
        border: none !important;
        background: white !important;
    }

.ui-dialog .ui-dialog-titlebar {
    background-color: var(--color-principal) !important;
    border-bottom: 4px solid var(--color-secondaire) !important;
    color: #fff;
}


.ui-dialog {
    padding: 0 !important;
}

.ui-corner-all {
    border-radius: 0 !important;
}


.ui-dialog-titlebar-close::after {
    font-size: 25px !important;
    color: #fff !important;
    opacity: 1 !important;
}

#EditDialogSaveButton, #AddRecordDialogSaveButton {
    background-color: var(--color-principal) !important;
    border-color: var(--color-principal) !important;
}

#EditDialogCancelButton, .btn-warning.ui-button {
    background-color: var(--color-secondaire) !important;
    border-color: var(--color-secondaire) !important;
}

.ui-button-text {
    color: white !important;
}

.ui-dialog .ui-dialog-buttonpane {
    width: auto;
    margin-top: 0px;
}

.ui-dialog-buttonpane .ui-button-text-only, .ui-dialog-buttonpane .ui-button-text-only:active {
    font-size: 14px;
}

.lien {
    cursor: pointer;
}

#ProduitsTableContainer .jtable-title-text, #ProduitsPartenairesTableContainer .jtable-title-text {
    color: #757575;
}

.fa-lock {
    color: var(--color-secondaire);
}

.fa-file-invoice-dollar {
    color: var(--color-secondaire);
}

.btn-border-radius {
    border-radius: 20px;
}

.md-form .form-control {
    height: auto;
    padding: 0.6rem 0 0.4rem 1rem;
    margin: 0 0 0.5rem 0;
}

.md-form .prefix ~ input, .md-form .prefix ~ textarea {
    width: -webkit-fill-available;
    width: -moz-available;
}


.form-element-field:focus ~ .form-element-label {
    color: var(--color-principal) !important;
}

.form-element-label {
    color: var(--color-principal) !important;
}


.md-form label.active {
    -webkit-transform: translateY(-18px) !important;
    transform: translateY(-18px) !important;
}

.md-form input,
.md-form select,
.md-form textarea,
.md-form a {
    color: var(--color-principal);
}

.form-check-input[type="radio"]:checked + label {
    color: var(--color-principal) !important;
    font-weight: 700;
}

.jtable-toolbar-item-add-record {
    margin: 0.375rem;
    color: inherit;
    text-transform: uppercase;
    word-wrap: break-word;
    white-space: normal;
    cursor: pointer;
    border: 0;
    border-radius: 0.125rem;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    -webkit-transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
    padding: 0.84rem 2.14rem;
    font-size: .81rem;
}

.select-wrapper span.caret {
    color: var(--color-principal);
}

.select-wrapper.active span.caret,
.select-wrapper.active label.mdb-main-label {
    color: var(--color-principal);
}

.select-wrapper.active + label {
    color: var(--color-principal);
}

.jtable-radio-input [type="radio"]:not(:checked), [type="radio"]:checked {
    position: relative;
    opacity: 1;
    pointer-events: unset;
    accent-color: var(--color-principal);
}

.jtable-checkbox-input [type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    position: relative;
    opacity: 1;
    pointer-events: unset;
    accent-color: var(--color-principal);
}