/* 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;
}

:root{
    /* ===== Colors ===== */
    --body-color: #E4E9F7;
    --sidebar-color: #FFF;
    --primary-color: #000;
    --primary-color-light: #F6F5FF;
    --toggle-color: #DDD;
    --text-color: #252525;

    /* ====== Theme Color ====== */
    --g1color: #000000;
    --g2color: rgba(0,0,0,0.6);
    --g3color: #d7d7d7;
    --g4color: #e2a53a;

    /* ====== 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: 250px;
    padding: 10px 14px;
    background: var(--sidebar-color);
    transition: var(--tran-05);
    z-index: 999;  
}
.sidebar.close{
    width: 78px;
}

/* ===== Reusable code - Here ===== */
.sidebar li{
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.sidebar header .image,
.sidebar .icon{
    min-width: 50px;
    border-radius: 6px;
}

.sidebar .icon{
    min-width: 50px;
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sidebar .text,
.sidebar .icon{
    color: var(--text-color);
    transition: var(--tran-03);
}

.sidebar .text{
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
}
.sidebar.close .text{
    opacity: 0;
}
/* =========================== */

.sidebar header{
    position: relative;
}

.sidebar header .image-text{
    display: flex;
    align-items: center;
}
.sidebar header .logo-text{
    display: flex;
    flex-direction: column;
}
header .image-text .name {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 600;
}

header .image-text .profession{
    font-size: 16px;
    margin-top: -2px;
    display: block;
}

.sidebar header .image{
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar header .image img{
    width: 40px;
    border-radius: 0px;
}

.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: 20px;
}

.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);
    margin:0px;
    padding:0px 10px 0px 0px;
    border-bottom: none !important;
    z-index: 99999 !important;
}
.sidebar li.search-box input:focus{
    border: none !important;
    border-bottom: none !important;
    outline-width: 0;
}
.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);
}

.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;
    overflow-x: hidden;
}
.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: 50px;
    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: 20px;
}

.home{
    position: absolute;
    top: 0;
    top: 0;
    left: 250px;
    width: calc(100% - 250px);
    background-color: var(--body-color);
    transition: var(--tran-05);
}
.home .text{
    font-size: 30px;
    font-weight: 500;
    color: var(--text-color);
    padding: 12px 60px;
    margin-bottom: 0px;
}

.sidebar.close ~ .home{
    left: 78px;
    width: calc(100% - 78px);
}
body.dark .home .text{
    color: var(--text-color);
}
.nav-link a{
    justify-content: unset !important;
}
.sidebar li {
    width:100% ;   
}
.box-icon{
    background: #fff;
    padding: 10px;
    font-size: 20px;
    border-radius: 6px;
    color: var(--text-color);
}

body.dark .card .card-action{
	background: var(--sidebar-color) !important;
	color: var(--text-color);
}

body.dark .sidebar li.search-box input{
    background-color: var(--primary-color-light) !important;
}
body.dark .tabs {
    background-color: var(--sidebar-color) !important
}
ul.dropdown-content{
    left: 0px !important;
    width: 100% !important;
    background: var(--primary-color-light) !important;
    border-radius:10px !important;
    padding: 5px !important;
}
.dropdown-content li > span {
    color: var(--primary-color) !important;
    font-size: 14px !important;
    line-height: 1 !important;
    padding:0px !important;
}
.btn:hover, .btn-large:hover, .btn-small:hover{
    background-color: var(--g2color) !important;
}
.autocomplete-content li img {
    margin: 5px 10px !important;
}
.section-search input.autocomplete {
    color: var(--g2color);
}   
.input-field .prefix.active {
    color: var(--g2color)!important;
}
.dropdown-content li>a, .dropdown-content li>span {
    color: var(--g2color)!important;
}
.autocomplete-content li .highlight {
    color: var(--g4color)!important;
}
body.dark .tabs .tab a {
    color: var(--text-color);
}
.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
    color: var(--g1color)!important;
}
body.dark .card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
    color: var(--text-color)!important;
}
i.right {
    color: var(--text-color);
}
i.descclose {
    position: absolute;
    top: 20px;
    right: 10px;
    color:var(--text-color)!important;
}
body.dark i.descclose {
    position: absolute;
    top: 20px;
    right:  10px;
    color:var(--sidebar-color)!important;
}
.card .card-reveal {
    background-color: #fff;
}
body.dark .card .card-reveal {
    background-color: var(--text-color);
}
.card .card-reveal .card-desc{
    font-size:16px; 
    font-weight:400;
    color: var(--text-color);
}
body.dark .card .card-reveal .card-desc{
    color: var(--sidebar-color);
}
.tabs .tab a{
    color: var(--g1color);
} /*Black color to the text*/

.tabs .tab a:hover {
    background-color: var(--primary-color-light);
    color:var(--g2color);
} /*Text color on hover*/

.tabs .tab a.active {
    background-color:var(--primary-color-light);
    color:var(--g1color);
} /*Background and text color when a tab is active*/

.tabs .indicator {
    background-color: var(--g2color);
}
.tabs .tab a:focus, .tabs .tab a:focus.active {
    background-color: var(--primary-color-light);
}
.aclassdesc p{
    font-size:17px; 
    margin-bottom:10px; 
    font-weight:600;
}
.card.sticky-action .card-reveal {
    padding-bottom: 90px !important;
}
select.browser-default {
    display: block;
    width: 200px;
    border-radius: 6px;
    margin-bottom: 20px !important;
}
body.dark select.browser-default {
    background-color: var(--sidebar-color) !important;
    border-color: var(--primary-color-light);
}
.home .content .text {
    font-size: 17px !important;
    font-weight: 500;
    color: var(--text-color);
    padding: 0px 12px;
}
.row .col.zpadding{
    padding:0px !important;
    min-height: 400px;
}
.slick-slide img {
    display: block;
    margin: 0 auto;
}
.lazy.slider, .lazy3.slider {
    background: var(--sidebar-color);
    border-radius: 6px;
    height: auto;
}
.lazy2.slider{
    height: auto;
    background: var(--sidebar-color);
    border-radius: 6px;
}
.lazy.slider .slick-slide div{
    height:50px;
}
.lazy2.slider .slick-slide div{
    height:100px;
}
.lazy3.slider .slick-slide div{
    height:80px;
}
a[title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}
.btn-mp-zero{
    margin: 5px;
}
.w100{
    width:100%;
}
body.dark .card-panel{
    background-color: var(--sidebar-color)!important;
}
.card-panel .row{
    margin-bottom: 0px;
}
.titleheader{
    padding:0px; 
    font-size:30px; 
    margin:0px;
}
td, th {
    font-size: 16px !important;
    padding: 10px 5px !important;
}
th{
    background-color: var(--g1color)!important;
    color: var(--sidebar-color) !important;
}
.row table td .icon{
    font-size: 20px !important;
    margin: 0 10px ;
    color: var(--sidebar-color);
    padding:2px;
    border-radius: 6px;
}
#import-form.imphide{
    display:none!important;
    transition: var(--tran-05);
}
#import-form{
    display: block !important;
    transition: var(--tran-05);
}
ul.dropdown-content.ddcoveride {
    left: inherit !important;
    background: var(--primary-color-light) !important;
    border-radius: 10px !important;
    padding: 5px !important;
    width: 450px !important;
}
body.dark #fcongive{
    color: var(--text-color);
}
body.dark .tabs .tab.disabled a, .tabs .tab.disabled a:hover {
    color: rgba(238, 110, 115, 0.4);
    cursor: default;
    background-color: var(--sidebar-color) !important;
}
.img-responsive {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
@media only screen and (max-width: 600px){
    body{
        overflow-x: hidden !important;
        width: 100vw !important;
    }
    .home{
        left: 210px;
        width: 100vw;
        overflow-x: hidden;
    }
    .sidebar.close ~ .home{
        left: 40px;
        width: calc(100% - 40px);
        overflow-x: hidden;
    }
    .home .text {
        padding: 12px 12px 12px 50px;
    }
    .cpadding{
        padding: 0px !important;
    }
    select.browser-default {
        width: 100%;
    }
    .row {
        margin-bottom: 10px !important;
    }
    .home .text {
        margin-bottom: 0px !important;;
    }
    img.img-overide{
        margin: 0 20% !important;;
        width: 60% !important;
    }
    .btn-mp-zero{
        margin: 0px 0px 10px 0px;
        padding: 0px !important;
        width:100%;
    }
    .class-desc{
        margin-top:10px; 
        padding-top:10px;
        border-top: 1px solid #ccc;
    }
    .titleheader{
        font-size: 20px !important;
    }
    .dbtn{
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }
   /* .sidebar {
        position: fixed;
        top: unset;
        bottom: 0;
        width: 100vw !important;
        height: 5rem;
    }
    .bottom-content, .sidebar header, .nav-link span.nav-text, .nav-link span.mode-text  {
        display:none !important;
    }
    .sidebar .menu {
        margin-top: 0px;
    }
    .menu-links{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar.close ~ .home {
        left: 0;
        height: 100vh;
        width: 100vw;
    }
    .content{
        padding: 12px !important;
    }
    .sidebar li {
        width:25% ;
        margin-top:0px;
    }
    .nav-link a, .mode.nav-link {
        justify-content: center !important;
    }
    
    .sidebar .menu-bar {
        height: 100%;
    }
    .m-switch{
        display:flex !important;
    }
    .home {
        left: 0 !important ;
        width: 100vw;
    }
    .home .text {
        padding: 0;
		
    }
	.col iframe.mobile_height{
		min-height:100vh;
	}
	.m-content{
		margin-bottom:100px !important;
	}*/
	
}	
