html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}
/*
body {
    margin-bottom: 60px;
}*/
body {
    --u: 0.4vmin;
    --c1: hsl(0deg 0% 0%);
    --c2: hsl(212deg 4% 9%);
    --c3: hsl(212deg 7% 36%);
    --gp: 50%/calc(var(--u) * 5) calc(var(--u) * 10);
    --bp: calc(var(--u) * -2.5) calc(var(--u) * -5);
    height: 100vh;
    --bg: radial-gradient(circle at 50% 25%, var(--c2) 23%, #fff0 25% 100%) var(--gp), conic-gradient(from 270deg at 34% 46%, var(--c2) 0 12.5%, #fff0 0 100%) var(--gp), conic-gradient(from 45deg at 66% 46%, var(--c2) 0 12.5%, #fff0 0 100%) var(--gp), conic-gradient(from 180deg at 50% 80%, var(--c2) 0 12.5%, #fff0 0 100%) var(--gp), conic-gradient(from 135deg at 50% 80%, var(--c2) 0 12.5%, #fff0 0 100%) var(--gp), conic-gradient(from 0deg at 0% 20%, var(--c2) 0 12.5%, #fff0 0 100%) var(--gp), conic-gradient(from -45deg at 100% 20%, var(--c2) 0 12.5%, #fff0 0 100%) var(--gp), linear-gradient(180deg, var(--c2) 0 4.5%, #fff0 0 45.25%, var(--c2) 0 50%, #fff0 0% 100%) var(--gp), radial-gradient(circle at 50% 25%, #fff0 0 25%, var(--c2) 26% 32%, #fff0 0 100%) var(--gp), linear-gradient(165deg, var(--c3) -15%, var(--c1) 44%, #fff0 0 100%) var(--gp), linear-gradient(180deg, var(--c1) 50%, #fff0 0 100%) var(--gp);
    background: var(--bg), var(--bg);
    background-position: var(--bp), var(--bp), var(--bp), var(--bp), var(--bp), var(--bp), var(--bp), var(--bp), var(--bp), var(--bp), var(--bp), 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    background-color: var(--c2);
}



*:focus {
    outline: none;
}

textarea:focus, input[type='text']:focus, input[type='password']:focus {
    outline: none;
    box-shadow: 0px 0px 4px 0px #ebebeb;
    border: 1px solid #4e4e4e;
}

select:focus {
    outline: none;
    box-shadow: 0px 0px 4px 0px #1665aa;
    border: 1px solid #1665aa;
}

a:focus {
    outline: none;
    box-shadow: 0px 0px 4px 0px #000;
}



.xtsDark {
    background-color: #242424;
    color: #fff;
}

.xtsMenu {
    width: 100%;
    height: 43px;
    background-image: url(../images/Menu/bg.png);
    background-repeat: repeat-x;
    box-shadow: 0px 3px 6px #6f6f6f;
    position: fixed;
    top: 0px;
}


    .xtsMenu .LeftPart {
        background-image: url(../images/Menu/Left.png);
        width: 285px;
        height: 43px;
        border: 0px;
        position: fixed;
        top: 0px;
        left: 0px;
    }

    .xtsMenu .RightPart {
        background-image: url(../images/Menu/Right.png);
        width: 268px;
        height: 43px;
        border: 0px;
        position: fixed;
        top: 0px;
        right: 0px;
    }

    .xtsMenu .MenuContainer {
        text-align: right;
        width: 100%;
        height: 43px;
        border: 0px;
        position: fixed;
        top: 0px;
        right: 0px;
        z-index: 1;
    }




.xtsMenu-l2 {
    width: 100%;
    height: 43px;
    position: fixed;
    top: 43px;
}

    .xtsMenu-l2 .LeftPart {
        width: 340px;
        height: 43px;
        border: 0px;
        position: fixed;
        left: 2px;
    }

        .xtsMenu-l2 .LeftPart > div {
            display: inline-block;
        }

    .xtsMenu-l2 .RightPart {
        width: 140px;
        height: 43px;
        border: 0px;
        position: fixed;
        right: 0px;
    }

    .xtsMenu-l2 .user-nom {
        margin-top: 6px;
        margin-left: 22px;
        display: inline-block;
        color: #ccc;
        font-size: 14px;
        text-shadow: 1px 1px 3px #6f6f6f;
    }

.xts .MenuItem {
    position: relative;
    display: inline-block;
    margin: 4px;
    margin-top: 6px;
    background-color: rgba(255, 255, 255, 0.40);
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgb(88, 88, 88, 0.5) !important;
    box-shadow: 0px 0px 2px 0px rgba(88, 88, 88, 0.6);
    border-radius: 3px;
    cursor: pointer;
    width: 100px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: rgb(88, 88, 88, 0.8);
    padding: 2px;
    min-width: 130px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,f1f1f1+50,e1e1e1+51,f6f6f6+100;White+Gloss+%231 */
    /*background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(241,241,241,1) 50%, rgba(225,225,225,1) 51%, rgba(246,246,246,1) 100%);*/ /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.6) 0%,rgba(241,241,241,0.6) 50%,rgba(225,225,225,0.6) 51%,rgba(246,246,246,0.6) 100%); /* Chrome10-25,Safari5.1-6 */
    /*background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%);*/ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    opacity: 0.6;
}

.xtsMenu-l2 .MenuItem {
    background-color: rgba(255, 255, 255, 0.50);
    opacity: 0.8;
}

.xts .MenuItem:hover {
    opacity: 1;
}
/*
        .xtsMenu .MenuItem:before {
            content: "";
            border: 1px solid #b9b9b9;
            
            width: 8px;
            height: 8px;
            border-radius: 4px;
            display: block;
            margin-top: 7px;
            margin-left: 4px;
            position: absolute;
            
        }*/

.xts .MenuItem i {
    position: absolute;
    left: 6px;
    top: 6px;
}

.logout {
    width: 150px !important;
}

    .logout span {
        font-size: 11px !important;
    }

.content {
    margin-top: 30px;
    margin-left: 10px;
    font-size: 13px;
}



.xts-center-content {
    width: 1000px;
    /*border: 1px solid red;*/
    min-height: 500px;
    margin: 0 auto;
    margin-top: 100px;
}

.xtsDark .page-caption, .page-caption {
    color: #f1f1f1;
}

verticalspace {
    display: block;
    /*border:1px solid green;*/
    height: 40px;
}

.xts-tabs {
    margin-top: 20px;
}

.nav-tabs li a {
    border-top: 1px solid #ccc !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    color: #ccc;
    font-size: 13px;
    min-width: 120px;
    text-align: center;
}

    .nav-tabs li a:hover {
        color: #fff;
        background-color: #1d1d1d;
    }

.date-picker {
    width: 82px;
    font-size: 14px;
    height: 30px;
    border: 1px solid #242424;
    text-align: center;
}


.ui-datepicker-trigger {
    border: 1px solid #242424;
    padding: 2px;
    background-color: #fff;
    display: inline-block;
    margin-top: -3px;
}

    .ui-datepicker-trigger:hover {
        opacity: 0.5;
    }


.date-picker-readonly {
    width: 82px;
    font-size: 14px;
    height: 30px;
    border: 1px solid #242424;
    text-align: center;
}

.ajaxSelect {
    border: 1px solid #b0b0b0;
    background-color: #fff;
    height: 28px;
    border-radius: 3px;
}

    .ajaxSelect:hover {
        background-color: #e4e4e4;
    }

    .ajaxSelect .open-icon {
        border: 0px;
        border: 1px solid #b0b0b0;
        background-color: #e4e4e4;
        display: block;
        height: 28px;
        width: 28px;
        float: right;
        margin-top: 0px;
        margin-right: -1px;
        border-radius: 3px;
    }

        .ajaxSelect .open-icon:after {
            content: " ";
            transform: rotate(45deg);
            height: 10px;
            width: 10px;
            border: 0px;
            border-bottom: 3px solid #4b4b4b;
            border-right: 3px solid #4b4b4b;
            border-radius: 2px;
            display: block;
            margin-top: 6px;
            margin-left: 9px;
        }

    .ajaxSelect:hover .open-icon {
        background-color: #cccccc;
    }

        .ajaxSelect:hover .open-icon:after {
            border-color: #dddddd;
        }


    .ajaxSelect .top-input {
        border: 0px;
        background-color: transparent;
        display: block;
        height: 28px;
        width: 100%;
        margin-top: -1px;
        margin-left: -1px;
        color: #000;
        padding-left: 4px;
        padding-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    .ajaxSelect .items-panel {
        color: #000;
        height: 28px;
        width: 100%;
        background-color: #fff;
        border: 1px solid #b0b0b0;
        border-radius: 3px;
        padding: 0px;
        margin-top: 1px;
        overflow-y: scroll;
        box-shadow: 0px 0px 8px 0px #111;
        display: none; /*hidden at first*/
        z-index: 2;
        position: absolute;
    }


    .ajaxSelect .items-spinner {
        display: inline-block;
        width: 80px;
        height: 80px;
    }

        .ajaxSelect .items-spinner:after {
            content: " ";
            display: block;
            width: 25px;
            height: 25px;
            margin: 8px;
            border-radius: 50%;
            border: 2px solid red;
            border-color: #242424 transparent #242424 transparent;
            animation: ajaxSelect-items-spinner 1.2s linear infinite;
        }

@keyframes ajaxSelect-items-spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.ajaxSelect .data-item {
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding: 2px;
    background-color: #fff;
    display: inline-block;
    font-size: 13px;
}

    .ajaxSelect .data-item:hover {
        background-color: #ccc;
    }



.main-spinner {
    width: 100%;
    text-align: center;
    display: none;
    position: fixed;
    z-index: 999;
    top: 200px;
    left: 0px;
    background-color: #242424;
    border: 1px solid #fff;
    padding: 100px;
    opacity: 0.75;
}




.search-panel {
    color: #000;
    margin-top: 2px;
    margin-bottom: 20px;
    border-radius: 2px;
    border: 1px solid rgb(88, 88, 88, 0.8);
    font-size: 14px;
    padding: 4px;
    padding-top: 10px;
    padding-bottom: 10px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#bfbfbf+0,ffffff+73,ffffff+73,ffffff+91,e5e5e5+100 */
    background: #bfbfbf; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #bfbfbf 0%, #ffffff 73%, #ffffff 73%, #ffffff 91%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #bfbfbf 0%,#ffffff 73%,#ffffff 73%,#ffffff 91%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #bfbfbf 0%,#ffffff 73%,#ffffff 73%,#ffffff 91%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#e5e5e5',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

    .search-panel label {
        color: #2a2a2a;
        font-size: 13px;
        padding: 3px;
        font-weight: bold;
    }

    .search-panel input[type='text'] {
        outline: none;
        /*box-shadow: none;*/
        min-width: 220px;
        border: 1px solid #7c7c7c;
    }

        .search-panel input[type='text']:focus {
            outline: none;
            box-shadow: 0px 0px 2px 0px #626262;
            border: 1px solid #343434;
        }

.search-button-panel {
    float: right;
    margin-top: -3px;
}


button i {
    float: left;
    margin-top: 4px;
    margin-left: 6px;
}

button span {
    margin-left: -20px;
}


.container-detail {
    /*border-left: 1px dotted #3e3e3e;
    border-top: 0px dotted #3e3e3e;*/
}

    .container-detail > .row > .col {
        padding: 4px;
        /*border-right: 0px dotted #3e3e3e;*/
        border-bottom: 1px dotted #3e3e3e;
        border-left: 1px dotted #3e3e3e;
    }

        .container-detail > .row > .col label {
            margin-top: 12px;
        }


.btn-outline-ligth2 {
    color: #ccc;
    border: 1px solid #ccc;
}

    .btn-outline-ligth2:hover {
        color: #ccc;
        border: 1px solid #ccc;
        box-shadow: 0px 0px 8px 0px #ccc;
    }



.persist-button-panel-top {
    position: fixed;
    top: 40px;
    right: 20px;
}

.persist-button-panel-bottom {
    position: fixed;
    bottom: 40px;
    right: 20px;
}

.modal-button-panel-bottom {
    margin-top: 40px;
    text-align: center;
}


.control-color-picker {
    width: 24px;
    height: 24px;
    border: 1px solid black !important;
    cursor: pointer;
}

    .control-color-picker:before {
        width: 24px;
        height: 24px;
        content: "";
        position: absolute;
        display: block;
        background: url(../images/ColorSelect.png);
        margin: 0px;
        background-size: 24px 24px;
    }