
/* ***********************************************************
                        FONTAWESOME
 *********************************************************** */

@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: normal;
    src: url("../Fonts/FontAwesome/fa-brands-400.eot");
    src: url("../Fonts/FontAwesome/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../Fonts/FontAwesome/fa-brands-400.woff2") format("woff2"), url("../Fonts/FontAwesome/fa-brands-400.woff") format("woff"), url("../Fonts/FontAwesome/fa-brands-400.ttf") format("truetype"), url("../Fonts/FontAwesome/fa-brands-400.svg#fontawesome") format("svg");
}

.fab {
    font-family: 'Font Awesome 5 Brands';
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 400;
    src: url("../Fonts/FontAwesome/fa-regular-400.eot");
    src: url("../Fonts/FontAwesome/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("../Fonts/FontAwesome/fa-regular-400.woff2") format("woff2"), url("../Fonts/FontAwesome/fa-regular-400.woff") format("woff"), url("../Fonts/FontAwesome/fa-regular-400.ttf") format("truetype"), url("../Fonts/FontAwesome/fa-regular-400.svg#fontawesome") format("svg");
}

.far {
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    src: url("../Fonts/FontAwesome/fa-solid-900.eot");
    src: url("../Fonts/FontAwesome/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../Fonts/FontAwesome/fa-solid-900.woff2") format("woff2"), url("../Fonts/FontAwesome/fa-solid-900.woff") format("woff"), url("../Fonts/FontAwesome/fa-solid-900.ttf") format("truetype"), url("../Fonts/FontAwesome/fa-solid-900.svg#fontawesome") format("svg");
}


a.icon span {
    color: #707173;
}

/* ***********************************************************
                        BOOTSTRAP
 *********************************************************** */
.bg-dark {
    background-color: #707173 !important;
}

.justify-content-evenly {
    justify-content: space-evenly !important;
}

.form-control:focus {
    border: 1px solid var(--main-module-color);
    box-shadow: 0 0 0 0.2rem var(--main-module-color-opacity);
}

.form-control-label {
    width: 100%
}

.row {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.grid.row {
    width: 100%;
    margin: 0;
    background-color: #FFF;
}

.btn-primary {
    background-color: var(--main-module-color);
    border-color: var(--main-module-color);
}

    .btn-primary:hover,
    .btn-primary:not(:disabled):not(.disabled).active,
    .btn-primary:not(:disabled):not(.disabled):active {
        background-color: var(--main-module-color);
        border-color: var(--main-module-color);
        filter: grayscale(0.4);
    }
    .btn-primary:disabled {
        background-color: var(--main-module-color);
        border-color: var(--main-module-color);
        filter: grayscale(0.9);
    }

        .btn-primary.focus,
        .btn-primary:focus,
        .btn-primary:not(:disabled):not(.disabled):active:focus {
            box-shadow: 0 0 0 0.2rem var(--main-module-color-opacity);
        }

.btn-outline-primary:hover {
    background-color: var(--main-module-color);
    border-color: var(--main-module-color);
}

.btn-outline-primary {
    color: var(--main-module-color);
    border-color: var(--main-module-color);
}

    .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
    .btn-outline-primary:not(:disabled):not(.disabled):active:focus,
    .show > .btn-outline-primary.dropdown-toggle:focus,
    .btn-outline-primary.focus,
    .btn-outline-primary:focus {
        box-shadow: 0 0 0 0.2rem var(--main-module-color-opacity);
    }

    .btn-outline-primary:not(:disabled):not(.disabled).active,
    .btn-outline-primary:not(:disabled):not(.disabled):active,
    .show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: var(--main-module-color);
        border-color: var(--main-module-color);
    }

.badge-primary {
    background-color: var(--main-module-color);
}

.datepicker table tr td.active:active:hover,
.datepicker table tr td.active:active:focus,
.datepicker table tr td.active:active.focus,
.datepicker table tr td.active.active:hover,
.datepicker table tr td.active.active:focus,
.datepicker table tr td.active.active.focus,
.datepicker table tr td.active.highlighted:active:hover,
.datepicker table tr td.active.highlighted:active:focus,
.datepicker table tr td.active.highlighted:active.focus,
.datepicker table tr td.active.highlighted.active:hover,
.datepicker table tr td.active.highlighted.active:focus,
.datepicker table tr td.active.highlighted.active.focus,
.datepicker table tr td span.active:active:hover,
.datepicker table tr td span.active:hover:active:hover,
.datepicker table tr td span.active.disabled:active:hover,
.datepicker table tr td span.active.disabled:hover:active:hover,
.datepicker table tr td span.active.active:hover,
.datepicker table tr td span.active:hover.active:hover,
.datepicker table tr td span.active.disabled.active:hover,
.datepicker table tr td span.active.disabled:hover.active:hover,
.datepicker table tr td span.active:active:focus,
.datepicker table tr td span.active:hover:active:focus,
.datepicker table tr td span.active.disabled:active:focus,
.datepicker table tr td span.active.disabled:hover:active:focus,
.datepicker table tr td span.active.active:focus,
.datepicker table tr td span.active:hover.active:focus,
.datepicker table tr td span.active.disabled.active:focus,
.datepicker table tr td span.active.disabled:hover.active:focus,
.datepicker table tr td span.active:active.focus,
.datepicker table tr td span.active:hover:active.focus,
.datepicker table tr td span.active.disabled:active.focus,
.datepicker table tr td span.active.disabled:hover:active.focus,
.datepicker table tr td span.active.active.focus,
.datepicker table tr td span.active:hover.active.focus,
.datepicker table tr td span.active.disabled.active.focus,
.datepicker table tr td span.active.disabled:hover.active.focus {
    background-color: var(--main-module-color);
    filter: grayscale(0.4);
}

.datepicker table tr td.active:active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active,
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.active,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled:hover.active {
    background-color: var(--main-module-color);
}

.ui-autocomplete .ui-state-active {
    background-color: var(--main-module-color);
    border-color: var(--main-module-color);
}

/* ***********************************************************
                        KENDO
 *********************************************************** */

/* Permet de ne pas avoir de box shadow dans les champs obligatoire sous firefox */
.k-window :not(output):-moz-ui-invalid {
    box-shadow: none;
}

.k-grid-content table, .k-grid-content-locked > table, .k-grid-footer table, .k-grid-header table {
    table-layout: auto;
    width: 100%;
    overflow-wrap: break-word;
}

/* Permet de ne pas avoir de scroll sur les grids kendo sous firefox */
@supports (-moz-appearance:none) {
    .k-window .k-grid table {
        table-layout: fixed;
        width: 100%;
    }
}

.form-control:disabled + .k-select,
.form-control:read-only + .k-select {
    background-color: #e9ecef;
}

.k-state-hover, .k-state-hover:hover {
    background: #FFF;
}

.k-primary.k-state-hover,
.k-primary:hover {
    border-color: var(--main-module-color);
    background-color: var(--main-module-color);
    filter: grayscale(0.4);
}

.k-button.k-state-active:hover,
.k-button.k-state-active,
.k-button:active,
.k-primary {
    border-color: var(--main-module-color);
    background-color: var(--main-module-color);
}

.k-button.k-state-focused, .k-button.k-state-focused.k-state-disabled, .k-button:focus, .k-button:focus:hover, .k-state-disabled .k-button.k-state-focused {
    border-color: var(--main-module-color);
}

.k-hierarchy-cell .k-icon {
    color: #707173 !important;
}

.k-column-menu .k-item.k-state-selected {
    background-color: var(--main-module-color-opacity) !important;
    border-color: var(--main-module-color-opacity) !important;
}

.k-filter-row .k-filtercell label + label {
    margin-left: .6rem;
}

.k-filter-row .k-filtercell input[type="radio"] {
    margin-left: .6rem;
}

.k-filter-row .k-filtercell input {
    border-radius: .25rem;
}

.k-filter-row .k-dropdown-operator, .k-filtercell > span > .k-button {
    height: 100%;
}

.k-grid-header th.k-header > .k-link {
    color: var(--main-grid-header-color) !important;
}
.k-grid-header th.k-header {
    white-space: normal;
}
.k-grid .k-link:link {
    color: var(--main-text-color) !important;
}

.k-grid {
    display: table !important;
    width: 100%;
}

    .k-grid td {
        padding: .4em .6em;
        /* On ajoute inherit sur le text-overflow afin de remplacer la propriété "ellipsis" qui provoque un affichage non souhaité. */
        text-overflow: inherit;
    }

.k-grid-norecords {
    height: unset;
}

.k-grid .k-grid-norecords > .k-grid-norecords-template {
    border: none;
    color: var(--main-grid-header-color) !important;
    font-family: "Overpass Italic";
    font-size: 1.3rem;
}

.k-filter-row .k-autocomplete.k-state-default,
.k-filter-row .k-dropdown-wrap.k-state-default,
.k-filter-row .k-numeric-wrap.k-state-default,
.k-filter-row .k-picker-wrap.k-state-default {
    height: 100%;
}

.k-filter-row .k-icon.k-i-filter {
    height: 100%;
}

.k-widget * {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

.k-widget.k-dropdown.k-header {
    display: block;
    height: auto;
    border: none;
}

.k-widget.k-dropdown.k-header > .k-widget.k-tooltip.k-tooltip-validation.k-invalid-msg {
   display: inline-block;
}

.k-widget.k-dropdown.k-header:focus > .k-widget.k-tooltip.k-tooltip-validation.k-invalid-msg {
    display: none;
}

.k-switch-handle.km-switch-handle {
    transition: transform .3s ease;
}

/* Ne pas enlever, kendoSwitch ne translate pas assez pour afficher le OUI dans une window ... */
.k-window > .k-popup-edit-form > .k-edit-form-container .k-switch-on.km-switch-on .k-switch-handle.km-switch-handle {
    transform: translateX(2.3rem) !important;
}

/*.k-window .k-window-titlebar{
    height: 35px !important;
    margin-top: -35px !important;
}*/

.k-menu > .k-state-border-right, .k-menu .k-item:hover {
    background-color: var(--main-module-color) !important;
}

    .k-menu > .k-state-border-right > .k-link, .k-menu .k-item:hover > .k-link {
        color: #FFF !important;
    }

.k-widget.k-tooltip-validation {
    background-color: var(--danger) !important;
    color: #FFF !important;
    border-color: var(--danger) !important;
    position: relative;
    display: block;
}

    .k-widget.k-tooltip-validation .k-callout {
        border-bottom-color: var(--danger) !important;
    }

.input-group .k-widget.k-tooltip-validation {
    position: absolute;
    top: 100%;
}

/** window **/
.k-window > .k-popup-edit-form {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

    .k-window > .k-popup-edit-form > .k-edit-form-container {
        display: flex !important;
        flex-direction: column !important;
    }

        .k-window > .k-popup-edit-form > .k-edit-form-container > .container, .k-window > .k-popup-edit-form > .k-edit-form-container > .container-fluid {
            padding-top: 1rem;
            padding-bottom: 1rem;
            display: flex;
            flex-direction: column;
        }


/** Kendo Tabstrip **/
.k-tabstrip-wrapper {
    height: 100%;
}

.k-tabstrip {
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
}

    .k-tabstrip > .k-content {
        flex: 1;
    }

.k-tabstrip-items {
    padding: 0 !important;
    border-top: 1px solid #FFF !important;
    background-color: #f4f4f4;
}

    .k-tabstrip-items .k-loading {
        border: none !important;
    }

    .k-tabstrip-items .k-item {
        border: none !important;
        height: 100% !important;
    }

        .k-tabstrip-items .k-item span {
            font-family: "Overpass Bold";
            text-transform: uppercase;
            color: #a5a5a5 !important;
        }

        .k-tabstrip-items .k-item.k-state-active {
            background-color: var(--main-module-color) !important;
            color: #FFF;
            opacity: 1;
        }

            .k-tabstrip-items .k-item.k-state-active span {
                color: #FFF !important;
            }

.k-icon:before {
    font-family: 'WebComponentsIcons';
}

@font-face {
    font-family: WebComponentsIcons;
    src: url("Kendo/2018.3.1017/fonts/glyphs/WebComponentsIcons.eot?gedxeo");
    src: url("Kendo/2018.3.1017/fonts/glyphs/WebComponentsIcons.eot?gedxeo#iefix") format("embedded-opentype"), url("Kendo/2018.3.1017/fonts/glyphs/WebComponentsIcons.ttf?gedxeo") format("truetype"), url("Kendo/2018.3.1017/fonts/glyphs/WebComponentsIcons.woff?gedxeo") format("woff"), url("Kendo/2018.3.1017/fonts/glyphs/WebComponentsIcons.svg?gedxeo#WebComponentsIcons") format("svg");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: "Kendo UI";
    src: url("Kendo/2018.3.1017/images/kendoui.woff?v=1.1") format("woff"), url("Kendo/2018.3.1017/images/kendoui.ttf?v=1.1") format("truetype"), url("Kendo/2018.3.1017/images/kendoui.svg#kendoui") format("svg")
}

@font-face {
    font-family: "Kendo UI";
    src: url("Kendo/2018.3.1017/images/kendoui.woff?v=1.1") format("woff"), url("Kendo/2018.3.1017/images/kendoui.ttf?v=1.1") format("truetype"), url("Kendo/2018.3.1017/images/kendoui.svg#kendoui") format("svg")
}
/* ***********************************************************
                        LEAFLET
 *********************************************************** */
/* Leaflet/1.0.2/leaflet.css */
.leaflet-control-layers-toggle {
    background-image: url("../IMG/Leaflet/layers.png") !important;
}

.leaflet-retina .leaflet-control-layers-toggle {
    background-image: url("../IMG/Leaflet/layers-2x.png") !important;
}

.leaflet-default-icon-path {
    background-image: url("../IMG/Leaflet/marker-icon.png") !important;
}
/* Leaflet/plugins/Control.FullScreen.css */
.fullscreen-icon {
    background-image: url("../IMG/Leaflet/icon-fullscreen.png") !important;
}

.leaflet-retina .fullscreen-icon {
    background-image: url("../IMG/Leaflet/icon-fullscreen-2x.png") !important;
}
/* Leaflet/plugins/leaflet-search.css */
.leaflet-control-search.search-load .search-input {
    background: url("../IMG/Leaflet/loader.gif") no-repeat center right #fff !important;
}

.leaflet-control-search .search-cancel {
    background: url("../IMG/Leaflet/search-icon.png") no-repeat 0 -46px !important;
}

.leaflet-control-search .search-button {
    background: url("../IMG/Leaflet/search-icon.png") no-repeat 2px 2px #fff !important;
}

    .leaflet-control-search .search-button:hover {
        background: url("../IMG/Leaflet/search-icon.png") no-repeat 2px -22px #fafafa !important;
    }
/* Leaflet/plugins/iconLayer.css */
.leaflet-iconLayers-layerCheckIcon {
    background: url("../IMG/Leaflet/check.png") !important;
}

.leaflet-iconLayers-layerCell {
    background-image: none !important;
}
/* ***********************************************************
                        JSON EDITOR
 *********************************************************** */
.jsoneditor {
    overflow-x: hidden !important;
}

    .jsoneditor * {
        box-sizing: border-box !important;
    }

    .jsoneditor input, .jsoneditor textarea {
        font-size: 14px !important;
    }

    .jsoneditor button, .jsoneditor input, .jsoneditor select, .jsoneditor textarea {
        margin: 0 !important;
    }

    .jsoneditor table {
        width: 100% !important;
    }
/* ***********************************************************
                        SLY
 *********************************************************** */
.sly {
    margin-left: 28px;
}

.sly_nav_horizontal + .sly {
    margin-left: 0px;
}

.sly_slide_vertical {
    margin-left: 0px;
}
/* ***********************************************************
                        ALERT SUMMARY
 *********************************************************** */
.validation-summary-errors {
    width: 100%;
}
    .validation-summary-errors li {
        list-style: none;
        color: #707173;
        background-color: #f8d7da;
        padding-left: 5px;
    }
/* ***********************************************************
                        PHOTO SWIPE
 *********************************************************** */
.pswp__button--download {
    background-image: url("../IMG/Body/Icon/download-o.svg") !important;
}

.pswp__button--delete {
    background-image: url("../IMG/Body/Icon/delete-o.svg") !important;
}

.pswp__button--download, .pswp__button--delete {
    background-size: 55% !important;
    background-position: center !important;
}

/* ***********************************************************
                        GRID DETAILED
 *********************************************************** */
.k-detail-cell .k-tabstrip .k-content {
    padding: 0.2em;
}

.k-detail-cell .k-tabstrip-wrapper {
    box-shadow: 0 0 10px #ccc;
    width: 98%;
}

.row-details ul {
    list-style: none;
    font-style: italic;
    margin: 15px;
    padding: 0;
}

    .row-details ul li {
        margin: 0;
        line-height: 1.7em;
    }

.row-details label {
    display: inline-block;
    width: 300px;
    padding-right: 10px;
    text-align: right;
    font-style: normal;
    font-weight: bold;
}
/* ***********************************************************
                        CHECKBOX
 *********************************************************** */
input[type="checkbox"] + label {
    margin-left: 1rem;
}

div > input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: calc(1.5rem + 2px);
    height: calc(1.5rem + 2px);
    margin-right: auto;
    border: 1px solid var(--main-module-color);
    background: none;
    display: block;
}

    div > input[type="checkbox"]:hover {
        cursor: pointer;
    }

    div > input[type="checkbox"]:checked {
        background-color: var(--main-module-color);
        text-align: center;
        line-height: 2rem;
    }

        div > input[type="checkbox"]:checked:before {
            background: none;
            color: #FFF;
            content: "\2713";
            font-size: 1.5em;
            text-align: center;
        }

    div > input[type="checkbox"]:disabled {
        border: 1px solid var(--main-btn-disabled);
    }

    div > input[type="checkbox"]:checked:disabled {
        background-color: var(--main-btn-disabled);
    }

a.action.k-grid-add.btn_add.disabled {
    color: var(--main-btn-disabled) !important;
    background: #fff !important;
    pointer-events: none;
    cursor: default;
}

    a.action.k-grid-add.btn_add.disabled span.fa {
        color: var(--main-btn-disabled) !important;
    }

.k-edit-cell input {
    height: 100% !important;
}


select[readonly] {
    pointer-events: none;
}

#image-upload-image-wrapper {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-grow: 1;
    position: relative;
}

    #image-upload-image-wrapper:not(.is-disabled) {
        cursor: pointer;
    }

    #image-upload-image-wrapper img {
        transition: opacity ease .3s;
    }

    #image-upload-image-wrapper:hover img {
        opacity: .8;
    }

.image-upload-container {
    border: 1px solid var(--main-input-border-color);
    justify-content: center;
    align-items: center;
    display: flex;
    height: 100%;
    flex: 1;
    color: #B6B6B6;
    font-size: 10rem;
    transition: opacity ease .8s;
}

#delete-img {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}


span.k-invalid-msg.k-tooltip.k-tooltip-validation.k-widget[data-for="StartDate"] {
    position: absolute;
    width: 100%;
    display: block;
}
.form-group .k-multiselect-wrap.k-floatwrap {
    padding: 5px;
}

.k-multiselect {
    margin-bottom: 5px;
}



/* ***********************************************************
                        TOOLTIP
 *********************************************************** */

.tooltip.show {
    opacity: 1;
}

.tooltip .arrow {
    display: none;
}

.tooltip .tooltip-inner {
    padding: 0;
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3);
    border-radius: 0;
}

    .tooltip .tooltip-inner img {
        height: auto;
        width: auto;
    }

    .tooltip .tooltip-inner, .tooltip .tooltip-inner img {
        max-width: 50vw;
        max-height: 50vh;
    }

.cke_combopanel{
    width: 200px !important;
}
