
:root{

    /* Theme Colors  */
    --theme-primary:#d32424;
    --theme-secondary:#a81818;
    --theme-primary-light:rgba(211, 36, 36, 0.15);
    --theme-active:#b51d1d;
    /* Widths and Heights */
    --sidebar-width:220px;
    --navbar-height:70px;
    --sidebar-padding:14px;
}

a{
    color: inherit;
    text-decoration: none;
}
.dropdown-item.active, .dropdown-item:active{
    background-color:var(--theme-primary)
}


/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }


.login-page{
    min-height: 100vh;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-x: hidden;
}

.login-box{
    width: 96%;
    max-width: 940px;
    margin: auto;
    padding: 2rem 0;
    background: white;
    border-radius: 14px;
    box-shadow: 1px 5px 20px 0px #c5c5c5;
}


.main-nav{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    /* padding: 26px; */
    max-height: var(--navbar-height);
    height: var(--navbar-height);
    z-index: 100;
    display: flex;
    flex-direction: row;
}

.password-wrap{
    position: relative;
    z-index: 5;
}

.password-toggle{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 0px;
    height: 100%;
    width: 40px;
    font-size: 18px;
    color: #858585;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #dddddd;
    border: 1px solid #bfbfbf;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    z-index: 10;
}

.nav-logo-box{
    width: var(--sidebar-width);
    background: white;
    height: 100%;
}

.nav-logo{
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
    padding: 5px;
}

.nav-content-bar{
    height: 100%;
    /* max-width: 84%; */
    /* background: aqua; */
    background: linear-gradient(to bottom, var(--theme-primary),var(--theme-secondary));
    width: calc(100% - var(--sidebar-width));
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    color: white;
    padding: 0 1.5rem;
}

.navbar-title{
    font-size: 30px;
    text-shadow: 3px 2px 1px black;
    font-weight: 400;
}

.profile-wrap{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.profile-info-nav{
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    margin-right: 8px;
}

.profile-img{
    height: 45px;
    width: 45px;
    border-radius: 80px;
}


.panel-breadcrumb{
    position: fixed;
    top: var(--navbar-height);
    left: var(--sidebar-width);
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: calc(100% - var(--sidebar-width));
}

.panel-breadcrumb.collapsed{
    left: 0;
    width: 100%;
}

.breadcrumb-control{
    padding: 2px 10px;
    margin: 0;
    margin-left: 10px;
    background: #d9d9d9;
    border-radius: 5px;
    width: 100%;
    display: block;
    height: 100%;
}

.sidebar{
    position: fixed;
    top: var(--navbar-height);
    width: var(--sidebar-width);
    height: calc(100% - var(--navbar-height));
    background: #e9e9e9;
    overflow: hidden;
    z-index: 50;
}

.sidebar.collapsed{
    width: 0 !important;
}

.sidebar-btns-box{
    display: flex;
}

.sidebar-btns-box button{
    width: 48%;
    margin: auto;
}


.side-menu-box{
    height: calc(100% - 20vh);
    overflow-y: scroll;
}

.sidebar-link{
    padding: var(--sidebar-padding);
    font-size: 15px;
    cursor: pointer;
}

.sidebar-link.sidebar-dropdown{
    position: relative;
}

.sidebar-dropdown::after{
    content: "\f054";
    font-family: FontAwesome;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 30px;
    width: 30px;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.sidebar-dropdown.active::after{
    transform: rotateZ(90deg);
}

.sidebar-dropdown::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 22px;
    width: 35px;
    border-left: 1px solid #ffffff69;
}


.sidebar-link:hover, .sidebar-link.active{
    color: white;
    background: var(--theme-active);
}

.sidebar-link i{
    margin-right: 8px;
}

.sidebar-dropdown-menu{
    display: block;
    list-style: none;
    background: white;
    padding: 0;
    margin: 0;
    max-height: 0;
    height: auto;
    overflow: hidden;
    transition: all 0.1s ease-in-out;
}

.sidebar-dropdown-menu.active{
    max-height: 1000px;
}

.sidebar-dropdown-menu li{
    position: relative;
    padding: 8px var(--sidebar-padding);
    font-weight: 400;
    cursor: pointer;
    font-size: 14px;
}

.sidebar-dropdown-menu li::before{
    content: "\f061";
    font-family: fontAwesome;
    margin-right: 4px;

}

.sidebar-dropdown-menu li:hover,.sidebar-dropdown-menu li.active{
    background:var(--theme-primary-light);
    color: white;
}


.page{
    width: calc(100% - var(--sidebar-width));
    height: calc(100vh - var(--navbar-height) - 60px);
    margin-top: calc(var(--navbar-height) + 60px);
    background: white;
    padding: 1rem;
    float: right;
    overflow-y: scroll;
}

.page.collapsed{
    width: 100%;
}

.page-content{
    min-height: 100%;
    height: auto;
    width: 100%;
    background: white;
    box-shadow: 0 0 16px #d3d3d3;
    border-radius: 8px;
    border: 1px solid #bbbbbb;
    padding: 1.2rem;
}

.page-title{
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    color: var(--theme-primary);
    text-align: center;
}

.text-theme{
    color: var(--theme-primary) !important;
}


.btn-theme{
    background: linear-gradient(to bottom, var(--theme-primary),var(--theme-secondary));
    color: white;
    font-weight: 400;
}

.btn-theme:hover,.btn-theme:active,.btn-theme:focus{
    opacity: 0.8;
    color: white;
}







/* DataTables */


.table{
    background: white;
    overflow: hidden;
    box-shadow: 1px 6px 20px #dbdbdb;
}

.table tr{
    border: 1px solid #c1c1c1;
}

table.dataTable>thead>tr>th, table.dataTable>thead>tr>td, table.dataTable>tbody>tr>th, table.dataTable>tbody>tr>td, table.dataTable>tfoot>tr>th, table.dataTable>tfoot>tr>td{
    border:1px solid #8b8b8b4d !important;
    background: transparent !important;
}

tfoot,thead{
    background-color:#ebebeb !important;
}

table.dataTable thead th, table.dataTable tfoot th{
    font-weight: 500 !important;
}

table.dataTable.no-footer{
    border: none !important;
}
/* .table tr:last-child{
    border: 1px solid transparent !important;
} */

.dataTables_length{
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.dt-buttons{
    display: inline-block;
    float: left;
}

.dt-button{
    background: linear-gradient(to bottom, var(--theme-primary),var(--theme-secondary)) !important;
    color: white !important;
}

div.dt-button-collection .dt-button.active{
    background: linear-gradient(to bottom, var(--theme-primary),var(--theme-secondary)) !important;
    color: white !important;
}

div.dt-button-collection .dt-button{
    background: grey !important;
    color: white !important;
}

table.dataTable tbody tr.selected>*{
    box-shadow:inset 0 0 0 9999px rgb(178 210 255 / 90%) !important;
    color: #0e0e0e !important;
}

.dt-down-arrow{
    font-size: 8px;
    margin-left: 5px;
}

.dt-button:hover{
    opacity:0.8;
}

.dataTables_filter{
    display: inline-block;
    float: right;
}

.dataTables_filter input{
    border: 1px solid #626262;
    background: #ffffff;
    padding: 6px;
    border-radius: 4px;
    margin-left: 5px;
    margin-bottom: 5px;
}

.dataTables_filter input:focus{
    outline:none
}

.paginate_button{
    background: #303030;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 0 2px;
    cursor:pointer;
}

.paginate_button.current{
    background:var(--theme-primary);
}

.paginate_button.disabled{
    background: #afafaf;
}

.paginate_button:hover{
    text-decoration:none;
    color:white;
    opacity:0.8
}

thead, tfoot{
    background:#e5e5e5;
}

.dataTables_info{
    display: inline-block;
    float: left;
}

.dataTables_paginate{
    display: inline-block;
    float: right;
}







.theme-card{
    position:relative;
    padding: 1rem;
    padding-top:2rem;
    margin: 1rem auto;
    background: white;
    border-radius: 14px;
    border: 1px solid #bbbbbb;
    box-shadow: 0 0 0 #e1e1e1;
    transition:all 0.3s ease;
}

.theme-card:hover{
    box-shadow: 0 0 32px #e1e1e1;
}

.delete-theme-card,.delete-edit-theme-card{
    position: absolute;
    right: 18px;
    top: 8px;
    font-size: 18px;
    cursor: pointer;
}

.tab-heads{
    display:flex;
    flex-direction:row;
    gap:8px;
}

.tab-heads li{
    background: #cfcfcf;
    border-radius: 8px;
    padding: 8px 15px;
    list-style: none;
    cursor:pointer;
}

.tab-heads li.active{
    background:black;
    color:white;
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

.sequence-box{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:start;
    gap:8px;
    font-size:18px;
    cursor:pointer;
}



 .preview-image {
            width: auto;
            height: 100px;
            margin-top: 8px;
            display:block !important;
            margin-right:auto !important;
        }
        .img-container{
            max-width:100%;
            max-height:90vh;
            width:auto;
            height:auto;
        }



