﻿#ContentPlaceHolder2_FormViewContent_PanelHold {
    display: none;
}

#loading {
    display: none;
    background: #000;
    opacity: 0.2;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 9999;
    padding: 10px;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
    #loading div {
        color: #ced3db;
        display: table;
        font-weight: bold;
        margin: auto;
        position: relative;
        padding: 20px;
        padding-top: 50px;
        top: 30%;
        z-index: 9999;
    }

    #loading table {
        top: 30%;
        margin-left: auto;
        margin-right: auto;
        z-index: 9999;
        position: relative;
    }

    #loading td {
        color: #fff;
        font-weight: bold;
        padding: 10px;
    }

div.footer {
    height: 60px;
}

img.widgets-icons {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgb(255 255 255 / 15%);
    font-size: 26px;
    border-radius: 10px
}

.form-select,
.aspNetDisabled.form-select {
    border: solid 1px #3A3A3A;
    background: none;
}

.aspNetDisabled.form-control {
    border: none;
    background: none;
}

.accordion-item {
    background-color: rgb(255 255 255 / 1%);
    border: 1px solid rgb(255 255 255 / 1%);
    padding: 0;
}

.accordion-body.menu {
    padding: 0;
}

.accordion-button {
    padding: 0.5rem 0.25rem;
}

    .accordion-button.link,
    .accordion-button.menu {
        font-size: 1.0em;
        background-color: rgb(255 255 255 / 8%);
        border: 1px solid rgb(255 255 255 / 8%);
    }

        .accordion-button.menu::after {
            background-image: none;
        }

        .accordion-button.link:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            transform: rotate(-180deg)
        }

        .accordion-button.link.collapsed::after {
            flex-shrink: 0;
            width: 1.0rem;
            height: 1.0rem;
            margin-left: auto;
            content: "";
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-size: 1.0rem;
            transition: transform .2s ease-in-out
        }
.alert-dismissible {
    background:#198754;
}
.order-texts a {
    font-size: 16px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / 0%);
    border: 0px solid rgb(255 255 255 / 15%);
    text-align: center;
    border-radius: 20%;
    color: #ffffff
}

.chat-wrapper {
    width: auto;
    height: calc(100% + 93px);
    border-radius: 0.25rem;
    position: relative;
    background: rgb(0 0 0 / 14%);
    box-shadow: 0 0.1rem 0.7rem rgba(0, 0, 0, .10);
}

.chat-sidebar {
    width: 340px;
    height: calc(100%);
    position: relative;
    float: left;
}
.chat-content {
    height: 100vh;
}
.col-select {
    border-left: solid 4px #ff0000 !important;
    border-left-width: medium;
}

.bx.dropdown-toggle {
    padding: 4px 8px;
    border-radius: 8px;
}
    .bx.dropdown-toggle::after {
        font-family: boxicons !important;
        font-weight: 400;
        font-style: normal;
        font-variant: normal;
        line-height: inherit;
        display: inline-block;
        text-transform: none;
        speak: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        margin: 0;
        vertical-align: 0;
        content: "\ea15";
        border: none;
    }
    .bx.dropdown-toggle:empty::after {margin-left: 0}

.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}

    .embed-responsive .embed-responsive-item,
    .embed-responsive iframe,
    .embed-responsive embed,
    .embed-responsive object,
    .embed-responsive video {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.embed-responsive-16by9 {
    padding-bottom: 56.25%;
}

.input-group .form-control,
.input-group .form-select {
    color: #ffffff;
    background-color: rgb(0 0 0 / 15%);
    border: 1px solid rgb(255 255 255 / 15%);
}

.input-group .form-control.form-contact {
    border-top: none;
    border-left: none;
    border-right: none;
}

select.form-control option {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}
.switcher-wrapper {
    width: 400px;
    right: -400px;
}
.switcher-body .alert {
    display:none;
}
.switcher-btn {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    background: rgb(0 0 0 / 100%);
    box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .13);
    color: #fff;
    text-align: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    position: absolute;
    top: 85%;
    right: 100%;
    cursor: pointer
}

.text-right {
    text-align: right;
}

th.col-master {
    background: #002A4E;
}

td.col-master {
    background: rgba(0,42,78, .2);
}

th.col-internal {
    background: #DC3545;
}

td.col-internal {
    background: rgba(220,53,69, .2);
}

th.col-actual {
    background: #198754;
}

td.col-actual {
    background: rgba(25,135,84, .2);
}

/*#region paging*/
.paging td {
}

.paging a, .paging span, .paging span:focus {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(255 255 255 / 40%);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out color: #fff;
    background-color: rgb(255 255 255 / 15%);
    border-color: rgb(255 255 255 / 35%);
}

    .paging a:hover, .paging a:focus {
        color: #fff;
        background-color: rgb(255 255 255 / 20%);
        border-color: rgb(255 255 255 / 40%);
    }

    .paging span, .paging span:hover, .paging span:focus {
        color: #fff;
        background-color: rgb(255 255 255 / 20%);
        border-color: rgb(255 255 255 / 40%);
    }

.pagination {
    margin: 0;
    padding: 0;
}
/*#endregion*/

/*#region Navigation */
.nav-container {
    display: block;
}

.topbar-nav {
    background: transparent;
    width: auto;
}

    .topbar-nav .metismenu > li {
        width: 250px;
        margin-top: 6px;
    }
/*#endregion */

.table .form-check.form-switch {
    cursor:pointer;
    margin: 0 auto;
    width: fit-content;
    block-size: fit-content;
}
    .table .form-check.form-switch .form-check-input {cursor: pointer;}

/*.table thead th {min-width:100px;}*/
.table thead th.text {
    min-width: 120px;
}
    .table thead th.textarea {
        min-width: 240px;
    }
    .table thead th.file {
        min-width: 180px;
    }

/*#region freeze table */
.table-freeze {
    height: calc(100vh - 250px);
    overflow: scroll;
}

    .table-freeze thead th {
        background: #000;
        position: sticky;
        top: 0;
        z-index: 3;
    }

        .table-freeze thead th:first-child {
            min-width: 240px;
        }

        .table-freeze thead th.col-internal {
            background: #DC3545;
        }

        .table-freeze thead th.col-actual {
            background: #198754;
        }


    .table-freeze th.fixed {background: #001A30;}
    .table-freeze td.fixed {background: #004964;}
    .table-freeze th.fixed,
    .table-freeze td.fixed {
        border-right: solid 1px #266279;
        position: sticky;
        left: 0;
    }
    
    .table-freeze th:nth-child(2).fixed {background: #001A30;}
    .table-freeze td:nth-child(2).fixed {background: #004964;}
    .table-freeze th:nth-child(2).fixed,
    .table-freeze td:nth-child(2).fixed {
        border-right: solid 1px #266279;
        position: sticky;
        left: 240px;
    }

    .table-freeze th:nth-child(3).fixed,
    .table-freeze td:nth-child(3).fixed {
        background: #004964;
        border-right: solid 1px #266279;
        position: sticky;
        left: 291px;
    }

    .table-freeze th.fixed {z-index: 4;}
    .table-freeze td.fixed {
        z-index: 1;
    }

    .table-freeze tbody td .dropdown {
        z-index: 0;
    }
    .table-freeze td.fixed,
    .table-freeze td:nth-child(2).fixed {
        /*z-index: 2;*/
    }
/*#endregion */

/*#region scrollbar */
/* width */
::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #004964;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #fff;
}
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #eee;
    }
/*#endregion */

/*#region content */
.wrapper.wrapper-content {
    padding-bottom: 80px;
}

.accordion-body .list-group-item a {
    font-size:0.86em;
}

.file-wrapper {
    width: auto;
    height: 600px;
    overflow: hidden;
    border-radius: 0.25rem;
    position: relative;
    background: rgb(0 0 0 / 14%);
    box-shadow: 0 0.1rem 0.7rem rgba(0, 0, 0, .10);
}

.file-sidebar {
    width: 250px;
    height: 100%;
    position: absolute;
    background: #fff0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
    border-right: 1px solid rgb(255 255 255 / 14%);
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.file-sidebar-header {
    width: auto;
    height: auto;
    position: relative;
    background: #ffffff00;
    border-bottom: 1px solid rgb(255 255 255 / 13%);
    border-right: 0px solid rgb(0 0 0 / 18%);
    border-top-left-radius: 0.25rem;
    padding: 15px;
}

.file-navigation {
    position: relative;
    padding: 0px;
    height: 330px;
    border-bottom: 1px solid rgb(255 255 255 / 13%);
}

.file-header {
    position: absolute;
    height: 70px;
    left: 250px;
    right: 0;
    top: 0;
    padding: 15px;
    background: rgb(0 0 0 / 14%);
    border-bottom: 1px solid rgb(255 255 255 / 14%);
    border-top-right-radius: 0.25rem;
    z-index: 1;
}

.file-content {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    top: 0;
    height: auto;
    margin-left: 250px;
    padding: 0;
    background: rgb(0 0 0 / 0%);
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.file-navigation a.list-group-item {
    color: #e4e8ec;
    padding: .35rem 1.25rem;
    background-color: #ffffff00;
    border-bottom: 1px solid rgb(0 0 0 / 0%);
    transition: all .3s ease-out;
}

    .file-navigation a.list-group-item:hover {
        color: #ffffff;
        background-color: rgb(255 255 255 / 22%);
    }

    .file-navigation a.list-group-item.active {
        color: #ffffff;
        font-weight: 600;
        background-color: rgb(255 255 255 / 22%);
    }

.nav-link {
    color: #fff;
}

    .nav-link:hover {
        color: #ccc;
    }

.popover a {
    color: #555;
}
/*#endregion */

@media screen and (min-width: 1400px) {

    .page-wrapper {
        padding-left: 0px;
        padding-right: 0px;
    }
}
