/* Google Font Import - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.k-grid .k-grid-search {
     float: right !important; 
     height: 37px !important; 
     width: 30% !important; 
}

/*.div_page {*/
    /* padding: 1em; */
    /*margin: 1em;
}*/

#ScanButton {
    width: 100%;
}

#AttachButton {
    width: 100%;
}

#SaveButton {
    width: 100%;
}


.div_item_buttons {
    width: 100%;
    text-align: center;
    padding: 1rem;
}

.div_item_theme {
    width: 100%;
    padding-right: 1rem;
}

.div_component_title_theme {
    float: left;
    width: 20%;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
}

.div_create_all_buttons {
    justify-content: center;
}

.div_component_title_several {
    float: left;
    width: 50%;
    padding-left: 1rem;
    padding-top: 0.5rem;
}

.div_component_title_single {
    float: left;
    width: 19.5%;
    padding-left: 1rem;
    padding-top: 0.5rem;
}

.div_item {
    width: 100%;
}


.div_row {
    display: flex;
    flex-direction: row;
    justify-content: left;
    padding-bottom: 0.5rem;
}

.k-checkbox-label {
    padding-left: 25px;
}

.div_create_checkboxes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 0.5rem;
}

.div_checkbox {
    padding-right: 2em;
}

.div_create_title {
    float: left;
    width: 20%;
    padding-bottom: 6px;
    padding-left: 2rem;
}

.div_create_value {
    padding-bottom: 5px;
    width: auto;
}

.div_create_theme {
    padding-bottom: 10px;
}


.div_item {
    width: 100%;
}


.div_row {
    display: flex;
    flex-direction: row;
    justify-content: left;
    padding-bottom: 0.5rem;
}

.div_item_buttons {
    width: 100%;
    text-align: center;
    padding: 1rem;
}



.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

    .dropdown-submenu.pull-left > .dropdown-menu {
        left: -100%;
        margin-left: 10px;
        -webkit-border-radius: 6px 0 6px 6px;
        -moz-border-radius: 6px 0 6px 6px;
        border-radius: 6px 0 6px 6px;
    }

:root {
    /* ===== Colors ===== */
    --body-color: #E4E9F7;
    --sidebar-color: #f5f5f5;
    --primary-color: #695CFE;
    --primary-color-light: #F6F5FF;
    --toggle-color: #DDD;
    --text-color: #707070;
    
    
    /* ====== Transition ====== */
    --tran-03: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.3s ease;
    --tran-05: all 0.3s ease;
}

body{
    min-height: 100vh;
    background-color: var(--body-color);
    transition: var(--tran-05);
}


::selection{
    background-color: var(--primary-color);
    color: #fff;
}

body.dark{
    --body-color: #18191a;
    --sidebar-color: #242526;
    --primary-color: #3a3b3c;
    --primary-color-light: #3a3b3c;
    --toggle-color: #fff;
    --text-color: #ccc;
}

/* ===== Sidebar ===== */
 .sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 290px;
    padding: 5px 0px;
    background: var(--sidebar-color);
    transition: var(--tran-05);
    z-index: 100;  
    font-size:10px;
}
.sidebar.close{
    width: 83px;
}

.nav-text
{
    padding-left:1rem;
}
/* ===== Reusable code - Here ===== */
.sidebar li {
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

    .sidebar header .image,
    .sidebar .k-icon {
        min-width: 60px;
        border-radius: 6px;
    }



.nav-sublink {
    padding: 0rem !important;
}


.toggle {
    min-width: 25px !important;
}

.sidebar .k-icon {
    min-width: 60px;
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}



    .sidebar .text,
    .sidebar .k-icon {
        color: var(--text-color);
        transition: var(--tran-03);
    }

.sidebar .text{
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
}
.sidebar.close .userData{
    opacity: 0;
}

.sidebar.close .photo {
    opacity: 0;
}


/* =========================== */

.sidebar header{
    position: relative;
}

    .sidebar header .photo {
        /* display: flex;*/
        align-items: center;
        padding: 20px;
       
    }
    .sidebar header .userData {
        display: flex;
        flex-direction: column;
        font-size: 12px;
        text-align: center;
        padding: 1em;
    }
header .userData .name {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 600;
}

header .userData .position {
    font-size: 16px;
    margin-top: -2px;
    display: block;
}

.sidebar header .image{
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sidebar header .image img {
        width: 80px;
        justify-content: center;
        border-radius: 50%;
        width: 150px;
        height: 150px;
        border: 5px solid #fff;
    }

.sidebar header .toggle{
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(180deg);
    height: 25px;
    width: 25px;
    background-color: var(--primary-color);
    color: var(--sidebar-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: var(--tran-05);
}

body.dark .sidebar header .toggle{
    color: var(--text-color);
}

.sidebar.close .toggle{
    transform: translateY(-50%) rotate(0deg);
}

.sidebar .menu{
    margin-top: 40px;
}

.sidebar li.search-box{
    border-radius: 6px;
    background-color: var(--primary-color-light);
    cursor: pointer;
    transition: var(--tran-05);
}

.sidebar li.search-box input{
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    background-color: var(--primary-color-light);
    color: var(--text-color);
    border-radius: 6px;
    font-size: 17px;
    font-weight: 500;
    transition: var(--tran-05);
}
.sidebar li a{
    list-style: none;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--tran-03);
}

ol, ul {
    padding-left: 0rem !important;
}

.sidebar li a:hover{
    background-color: var(--primary-color);
}
.sidebar li a:hover .icon,
.sidebar li a:hover .text{
    color: var(--sidebar-color);
}
body.dark .sidebar li a:hover .icon,
body.dark .sidebar li a:hover .text{
    color: var(--text-color);
}

.sidebar .menu-bar{
    height: calc(100% - 55px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
}
.menu-bar::-webkit-scrollbar{
    display: none;
}
.sidebar .menu-bar .mode{
    border-radius: 6px;
    background-color: var(--primary-color-light);
    position: relative;
    transition: var(--tran-05);
}

.menu-bar .mode .sun-moon{
    height: 50px;
    width: 60px;
}

.mode .sun-moon i{
    position: absolute;
}
.mode .sun-moon i.sun{
    opacity: 0;
}
body.dark .mode .sun-moon i.sun{
    opacity: 1;
}
body.dark .mode .sun-moon i.moon{
    opacity: 0;
}

.menu-bar .bottom-content .toggle-switch{
    position: absolute;
    right: 0;
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}
.toggle-switch .switch{
    position: relative;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: var(--toggle-color);
    transition: var(--tran-05);
}

.switch::before{
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background-color: var(--sidebar-color);
    transition: var(--tran-04);
}

body.dark .switch::before{
    left: 120px;
}

.home {
    position: absolute;
    top: 0;
    left: 280px;
    height: 100% !important;
    width: calc(100% - 270px);
    background-color: var(--body-color);
    transition: var(--tran-05);
    min-height:100%;
}
.home .text{
    font-size: 30px;
    font-weight: 500;
    color: var(--text-color);
    padding: 12px 60px;
}

.sidebar.close ~ .home{
    left: 78px;
    height: 100%;
    width: calc(100% - 78px);
}
body.dark .home .text{
    color: var(--text-color);
}