﻿html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #424242;
    background-color: #F7F8F9;
}

/* anchor a */
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    a:hover,
    a:focus {
        text-decoration: none;
        color: inherit;
    }


/* couleur background */
.background-blanc {
    background-color: #fff !important;
}

.background-gris-tableau {
    background-color: #F7F8F9;
}

.background-gris-clair {
    background-color: #f0f0f0 !important;
}

.background-gris-bleu {
    background-color: #D8DBDC !important;
}

.background-gris-bleu-clair {
    background-color: #d8dbdc26 !important;
}

.background-transparent {
    background-color: transparent !important;
}

/*switch*/
.switch-theme {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 15px;
}

.slider-theme {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #797979;
    transition: .4s;
    border-radius: 15px;
}

    .slider-theme:before {
        position: absolute;
        content: "";
        height: 11px;
        width: 11px;
        left: 3px;
        bottom: 2px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

/* include generated hidden field here */
input[type="checkbox"]:checked + input[type="hidden"] + .slider-theme,
input[type="checkbox"]:checked + .slider-theme {
    background-color: var(--primary-color);
}

/* include generated hidden field here */
input[type="checkbox"]:focus + input[type="hidden"] + .slider-theme,
input[type="checkbox"]:focus + .slider-theme {
    box-shadow: 0 0 1px var(--primary-color);
}

/* include generated hidden field here */
input[type="checkbox"]:checked + input[type="hidden"] + .slider-theme:before,
input[type="checkbox"]:checked + .slider-theme:before {
    transform: translateX(17px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 15px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.no-box-shadow{
    box-shadow:none !important;
}

/* couleur libelle */
.color-rouge {
    color: #FE3741 !important;
}

.color-vert {
    color: #00B450 !important;
}
/* couleur icones svg */

.icon-delete-menu path {
    fill: #7F7F7F;
}

.icon-delete-menu:hover path {
    fill: #FE3741;
}

.svg-white path {
    fill: #FFF
}
/*border color*/

.border-orange {
    border-color: #FF9F1A !important;
}

.border-rouge {
    border-color: #FE3741 !important;
}

.border-hover:hover {
    border: 1px solid #dee2e6 !important;
}

/*box shadow*/
.box-shadow-grey {
    box-shadow: 0 0 4px rgb(204, 204, 204);
}

.white-space-line {
    white-space: pre-line;
}

.truncate-two-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.truncate-three-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
/* style font */
.font-bold-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #424242;
}

.font-white-bold-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #FFF;
}

.font-title-kanban {
    font-size: 1rem;
    font-weight: 500;
}

.font-title-black {
    font-size: 1.1rem;
    font-weight: 600;
    color: #424242;
}

.font-gray-blue {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6F7B86;
}

.font-gray-light {
    font-size: 0.9rem;
    font-weight: 300;
    color: #B9BCC1; /*#C5CAD1*/
}

.font-red {
    font-size: 0.9rem;
    font-weight: 500;
    color: #FE3741;
}

.font-white-small {
    font-size: 0.8rem;
    font-weight: 400;
    color: #FFF !important;
}

.font-document-legend {
    font-style: italic;
    font-size: 0.813rem;
}

/*font-weight*/
.fw-100 {
    font-weight: 100 !important;
}

.fw-200 {
    font-weight: 200 !important;
}

.fw-300 {
    font-weight: 300 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.underline-hover:hover,
.underline-hover:active,
.underline-hover:focus {
    text-decoration: underline !important;
}

/*Cadre notification*/
.cadre-fond-rouge {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

/* container */
.container-menu-extanded {
    width: calc(100% - 240px);
}

.container-menu-collapsed {
    width: calc(100% - 60px); /* la colonne icone du menu vaut col-3 : 60px = 240px * 25%  */
}

.container-gray {
    border: 1px solid #E6EAF0;
    border-radius: 5px;
    background-color: #fff;
    padding: 25px;
}

.container-gray-border-top {
    border-top: 5px solid #6f7b86;
    border-right: 1px solid #E6EAF0;
    border-bottom: 1px solid #E6EAF0;
    border-left: 1px solid #E6EAF0;
    border-radius: 5px;
    background-color: #fff;
    padding: 25px;
    transition: color 3s linear;
}

    .container-gray-border-top.collapsed {
        border-right-color: #6f7b86;
        border-bottom-color: #6f7b86;
        border-left-color: #6f7b86;
    }

/* curseur */
.cursor-default {
    cursor: default !important;
}

.cursor-pointer,
.cursor-pointer:hover {
    cursor: pointer !important;
}

.cursor-not-allowed,
.cursor-not-allowed:hover {
    cursor: not-allowed !important;
}

/* datetime picker surcharge */
.bootstrap-datetimepicker-widget.dropdown-menu {
    width: 23rem;
}

.bootstrap-datetimepicker-widget table .day {
    height: 30px;
    line-height: 30px;
    width: 30px;
}

.bootstrap-datetimepicker-widget table th {
    height: 40px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background-color: #424242;
}

.bootstrap-datetimepicker-widget table .today:before {
    border-bottom-color: #424242;
}

.bootstrap-datetimepicker-widget table th.prev::before {
    content: url('/Images/Icons/icon-chevron-left-gris.svg');
}

.bootstrap-datetimepicker-widget table th.next::before {
    content: url('/Images/Icons/icon-chevron-right-gris.svg');
}

/* date time picker mobile */
@media (max-width: 767.98px) {
    .bootstrap-datetimepicker-widget {
        position: fixed !important;
        margin: 0px !important;
        width: 100% !important;
        height: 100%;
        top: 0 !important;
        left: 0 !important;
        bottom: inherit !important;
        right: inherit !important;
        z-index: 2000;
    }

        .bootstrap-datetimepicker-widget .table {
            height: 100%;
        }

        .bootstrap-datetimepicker-widget table td {
            height: inherit !important;
            line-height: inherit !important;
        }
}

/* bootstrap-table */
.fixed-table-pagination .pagination-info {
    display: none;
}

.fixed-table-pagination .page-link {
    color: #424242;
}

.fixed-table-pagination .page-item.active .page-link {
    background-color: #424242;
    border-color: #424242;
}

.fixed-table-pagination .dropdown-item.active, .dropdown-item:active {
    background-color: #424242;
}

.fixed-table-pagination .btn-secondary:not(:disabled):not(.disabled):active,
.fixed-table-pagination .btn-secondary:not(:disabled):not(.disabled).active,
.fixed-table-pagination .show > .btn-secondary.dropdown-toggle {
    border-color: #424242;
}

.page-list .dropdown {
    width: inherit;
}

.page-list {
    font-size: 0;
}

    .page-list .dropdown:before {
        font-size: 13px;
        font-weight: 700;
    }

    .page-list .dropdown .dropdown-toggle {
        color: #495057;
        background-color: #fff;
        border: 1px solid #ced4da;
    }

.fixed-table-toolbar div {
    display: none;
}

/* tooltips personnalisés */
@media screen and (min-width: 1199.98px) {

    [tooltip] {
        position: relative;
    }

        [tooltip]::before {
            display: block;
            position: absolute;
            line-height: 16px;
            top: 45%;
            right: calc(100% + 3px);
            width: auto;
            padding: 8px 16px;
            color: #fff;
            text-align: center;
            text-transform: uppercase;
            font-size: 0.625rem;
            font-weight: 600;
            border-radius: 4px;
            background: #424242;
            opacity: 0;
            transform: translate(20px, -50%);
            transition: all .2s ease-in-out .2s;
            z-index: 2;
            white-space: nowrap;
        }

        [tooltip]:hover::before {
            content: attr(tooltip-content);
            opacity: 1;
            transform: translate(0, -50%);
        }

    [tooltip-bottom]::before {
        top: calc(50% + 16px);
        left: 50%;
        right: initial;
        transform: translate(-50%, -20px);
    }

    [tooltip-bottom]:hover::before {
        transform: translate(-50%, 0)
    }

    [tooltip-right]::before {
        top: 45%;
        left: calc(100% + 8px);
        right: initial;
        transform: translate(-20px, -50%);
    }

    [tooltip-right]:hover::before {
        transform: translate(0, -50%);
    }

    [tooltip-top]::before {
        top: initial;
        left: 50%;
        right: initial;
        bottom: calc(100% + 16px);
        transform: translate(-50%,-10px) !important;
    }

    [tooltip-top]:hover::before {
        transform: translate(-50%, 0);
    }

    [tooltip-top-left]::before {
        top: initial;
        right: 0;
        bottom: calc(100% + 16px);
        transform: translate(0px,0px) !important;
    }

    [tooltip-wrap]::before {
        white-space: pre !important;
    }

    [tooltip-align-left]::before {
        text-align: left !important;
    }

    [tooltip-fixed]::before {
        position: fixed !important;
        transform: translate(0%,36%) !important;
        transform: translate(-50%,-10px) !important;
        left: inherit !important;
        right: inherit !important;
        top: inherit !important;
    }
}

/* tooltip suivant label souris */
.tooltip-mouse {
    text-decoration: none;
    position: relative;
}

.tooltip-mouse-text {
    display: none;
}

    .tooltip-mouse-text.visible {
        display: block !important;
        position: fixed;
        overflow: hidden;
        line-height: 16px;
        width: auto;
        padding: 8px 16px;
        color: #fff;
        text-align: center;
        text-transform: uppercase;
        font-size: 0.625rem;
        font-weight: 600;
        border-radius: 4px;
        background: #424242;
        z-index: 2;
        white-space: nowrap;
    }

/* style icon*/

.icon-add {
    top: 3px;
}

/* flex box*/
.flex-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: calc(100vh - 66px);
}


/* DEBUT STYLE FORMULAIRE */

/* Section */
.form-section {
    border: 1px solid #E6EAF0;
    border-radius: 5px;
    background-color: #fff !important;
    padding: 25px;
    margin-bottom: 20px;
}

    .form-section .title-section {
        margin-bottom: 35px;
    }

        .form-section .title-section span {
            font-weight: 700;
            font-size: 16px;
        }


/* Surcharge boostrap-select */
.dropdown-toggle.is-invalid {
    border-color: #dc3545 !important;
}


/* Surcharge erreur bootstrap 4*/
.was-validated .form-control:invalid,
.form-control.is-invalid {
    background-image: none !important;
    padding-right: 0.75rem;
}

.invalid-feedback {
    font-size: 100% !important;
}

.field-validation-error {
    display: block;
    margin-top: 0.25rem;
    color: #dc3545;
}

/* Fin surcharge erreur bootstrap 4*/


/* surchage bootstrap-select */


.bootstrap-select .dropdown-menu li a {
    white-space: inherit;
}

.bootstrap-select .dropdown-header {
    white-space: inherit;
    font-size: 1rem;
    font-weight: 500;
    background-color: #e6eaf0;
}

.bootstrap-select button {
    background-color: #fff;
}

.bootstrap-select .dropdown-item.active, .dropdown-item:active {
    background-color: #F5F5F5;
}

.bootstrap-select .dropdown-menu li .text {
    color: #424242;
}

@media (max-width: 767.98px) and (orientation:portrait) {

    .bootstrap-select .dropdown-menu {
        width: inherit;
    }

        .bootstrap-select .dropdown-menu .inner {
            max-height: 236px;
        }
}
/* fin surchage bootstrap select  */

/* input */

.form-control {
    font-size: 0.9rem;
    font-weight: 400;
    color: #424242;
}

    .form-control::-webkit-input-placeholder {
        color: #c8c8c8;
    }

    .form-control:-moz-placeholder {
        color: #c8c8c8;
    }

    .form-control::-moz-placeholder {
        color: #c8c8c8;
    }

    .form-control:-ms-input-placeholder {
        color: #c8c8c8;
    }

.datetimepicker-input[readonly] {
    background-color: #FFF;
}

/* icone à l'intérieur d'un input */
.field-icon {
    float: right;
    right: 27px;
    top: 47px;
    position: absolute;
    z-index: 2;
}

    .field-icon.field-inline {
        top: 12px;
    }
/* FIN STYLE FORMULAIRE */

/*dropdown heure*/

.dropdown-heure {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-top: none;
    background: white;
    z-index: 1000;
    display: none;
}

    .dropdown-heure div {
        padding: 8px;
        cursor: pointer;
    }

        .dropdown-heure div:hover {
            background-color: #f0f0f0;
        }


/*Début Barre de navigation*/
.navbar {
    border-radius: 0;
}

@media(max-width:767px) {
    .navbar-header {
        text-align: center
    }
}

/*Code transition Drop down menu*/
.navbar .open > .dropdown-menu {
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    transform: scale(1, 1);
}

    .navbar .open > .dropdown-menu li a {
        color: #000;
    }

.navbar .dropdown-menu li a {
    color: #fff;
}

.navbar .dropdown-menu {
    -webkit-transform-origin: top;
    -moz-transform-origin: top;
    transform-origin: top;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    transform: scale(1, 0);
    display: block;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
}

.navbar .dropup .dropdown-menu {
    -webkit-transform-origin: bottom;
    -moz-transform-origin: bottom;
    transform-origin: bottom;
}

.navbar .dropup > .dropdown-menu:after {
    border-bottom: 0;
    border-top: 6px solid rgba(39, 45, 51, 0.9);
    top: auto;
    display: inline-block;
    bottom: -6px;
    content: '';
    position: absolute;
    left: 50%;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
}

/*Fin Code transition Drop down menu*/
/*Fin Barre de navigation*/

/* Style tableau */

thead tr {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6F7B86;
}

.table th,
.table td {
    border: none;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    font-weight: 500;
}

.table-hover tbody tr,
.table tbody tr {
    background-color: #F7F8F9;
}

.bootstrap-table .fixed-table-container .table thead th .sortable {
    background-position: left;
    padding-right: 0 !important;
    padding-left: 20px !important;
}


@media (max-width: 768px) {
    .table tbody tr {
        background-color: white;
    }
}

/* floating button */
.floating > label,
.floating .input-group > label {
    background-color: transparent;
    bottom: 34px;
    font-size: 1.1em;
    left: 8px;
    padding: 0px 5px 0px 5px;
    pointer-events: none;
    position: relative;
}

.floating .form-control ~ label {
    height: 24px;
    left: 22px;
    opacity: 0;
    position: absolute;
    transform-origin: bottom left;
    top: 14px;
}

.floating .input-group .form-control ~ label {
    left: 8px;
}

.floating .input-group .form-control:focus,
.floating .input-group .form-control:valid {
    border-right: none;
}

    .floating .input-group .form-control:focus ~ .input-group-append button {
        border-color: var(--secondary-color) !important;
        border-left: none;
        border-width: 2px;
    }

.floating:not(.select) .form-control:focus:not(:placeholder-shown),
.floating:not(.select) .form-control:not(:placeholder-shown) {
    border-width: 2px;
    padding-top: 20px;
}

.floating:not(.select) .form-control:valid:not(:placeholder-shown) {
    border-color: var(--secondary-color) !important;
}

.floating:not(.select) .form-control:focus:not(:placeholder-shown) ~ label,
.floating:not(.select) .form-control:not(:placeholder-shown) ~ label {
    animation: floating-label .15s forwards;
    opacity: 1;
    z-index: 2;
}

.floating:not(.select) .form-control:focus:not(:placeholder-shown) ~ .input-group-append button,
.floating:not(.select) .form-control:valid:not(:placeholder-shown) ~ .input-group-append button {
    border-color: var(--secondary-color) !important;
    border-left: none !important;
    border-width: 2px !important;
}


.floating.select .form-control.is-selected:valid {
    border-color: var(--secondary-color) !important;
    border-width: 2px;
    padding-top: 20px;
}

    .floating.select .form-control.is-selected:valid ~ label {
        animation: floating-label .15s forwards;
        opacity: 1;
        z-index: 2;
    }

@keyframes floating-label {
    100% {
        transform: translate(1px,-15px) scale(0.75);
    }
}

/* Fin style tableau */

/*Surcharge modal static*/
.modal.modal-static .modal-dialog {
    -webkit-transform: scale(1.00) !important;
    -moz-transform: scale(1.00) !important;
    transform: scale(1.00) !important;
}
/*Fin Surcharge modal static*/

/* boutons */
.btn:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

.btn:disabled {
    background: #e6eaf0 !important;
    color: #6F7B86 !important;
    cursor: default !important;
}

    .btn:disabled:hover,
    .btn:disabled:active,
    .btn:disabled:focus {
        box-shadow: none !important;
        transform: none !important;
    }


/*liens */
.link-bounce:hover {
    transform: translateY(-2px);
}


/* rotation */
.rotate_45 {
    transform: rotate(45deg);
}

.rotate_90 {
    transform: rotate(90deg);
}

.rotate_180 {
    transform: rotate(180deg);
}

.rotate_270 {
    transform: rotate(270deg);
}

/* z-index */
.z-1060 {
    z-index: 1060;
}

.z-1070 {
    z-index: 1070;
}

.z-1080 {
    z-index: 1080 !important;
}

.z-1090 {
    z-index: 1090 !important;
}
/* card */
.has-card-view .table-bordered {
    border: none;
}

.has-card-view .table-hover tbody tr {
    background-color: initial !important;
    border-bottom: none;
}

.has-card-view .table td {
    border: none;
    padding: 0;
}

.has-card-view .card-views {
    padding: 0.75rem;
    margin-bottom: 25px;
    background-color: #F7F8F9 !important;
    border: solid 1px #e9ecef;
    border-radius: 2px;
}

.has-card-view tr:last-child .card-views {
    margin-bottom: 0;
}

.has-card-view .card-views .card-view {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}


@media (max-width: 575.98px) {
    .has-card-view .card-views .card-view .card-view-title {
        width: 42% !important;
    }

    .has-card-view .card-views .card-view .card-view-value {
        width: 58% !important;
    }
}

/*opacité*/
.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}

#container_print_pdf {
    background-color: #fff !important;
    z-index: 2000;
}


/*print media pour les impression de taches*/
@media screen {
    #container_print_pdf {
        display: none;
    }
}
