﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: Verdana;
    src: url(fonts/Verdana/Verdana.ttf);
}

/** override chrome focus border **/
*:focus {
    outline: none !important;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/********** General **********/
/*****************************/

html body {
    /*background: url(../images/body-background.jpg);*/
    background-size: cover;
    overflow-x: hidden;
    font-size: .9rem;
}

.close{
    cursor: pointer;
}

.detail-item {
    border-bottom: 1px solid #DDD;
    padding-bottom: 5px;
}

/*.modal-header {
    background: linear-gradient( 45deg, var(--primary-color), transparent);
    color: #FFF;
    font-weight: bolder;
}*/

.section-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: inline-block;
}

.modal-backdrop{
    display:none !important;
}

.modal-body{
    max-height: 500px !important;
    overflow: auto;
}

.modal {
    background: #00000036;
}
/*.form {
    background: rgba(255,255,255, 0.5);
    padding: 20px;
    box-shadow: 0px 0px 8px 8px #ddd;
    border-radius: 3px;
}*/
.M-center {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.dynamic-row {
    background-color: #EEE;
    padding: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    margin: 3px;
}

.detail-row {
    border-bottom: 1px solid var(--third-color);
    background: #FFF;
    Padding: 10px;
}

.inner-icon{
    margin: -9px;
}
.detail-key{
    font-weight: bold;
    color: var(--secondary-color);
}

.list-header {
    font-weight: bold;
    min-height: 35px;
    line-height: 2;
    margin-top: 10px;
    background: var(--blue-color);
    color: #FFF;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px 5px 0 0;
}


.list-row {
    border-bottom: 2px solid #c0c0c0;
    padding: 10px;
    background: #EEE;
    margin-bottom: 1px;
}
.list-row.odd {
    background: #FFF;
}

.upload-control {
    background: #FFF;
    border-radius: 5px 5px 0px 0px;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: bold;
    height: 40px;
    width: 100%;
    transition: .3s all ease-in-out;
}
.upload-control:hover {
    background: var(--secondary-color);
    color: #FFF;
}

.doc-preview-image {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
}

.sm-icon-btn{
    cursor: pointer;
    transition: .2s all ease-in-out
}
.sm-icon-btn:hover {
    cursor: pointer;
    transform: scale(.2s)
}

.state-cell.Pending{
    font-weight: bold;
    color: darkorange !important;
}

.state-cell.Accepted {
    font-weight: bold;
    color: forestgreen !important;
}

.state-cell.Refused {
    font-weight: bold;
    color: red !important;
}

.grid-image {
    max-width: 150px;
    max-height: 150px;
    border-radius: 20px;
}

.min-w-100 {
    min-width: 100px;
}
.min-w-200{
    min-width: 200px;
}

.select-input-addnew {
    position: absolute;
    top: 47%;
    right: 12%;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
}

.valid.modified:not([type=checkbox]) {
    outline: none !important;
}


/****************** Translatiion Button *******************/
/**********************************************************/
.translation-btn {
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    margin-left: 15px;
    margin-right: 15px;
    left: var(--rev-left);
    right: var(--rev-right);
}

/***************** Direction Classes **************/
/*************************************************/
.rtl {
    direction: rtl;
    text-align: right;
}

/********** MatBlazor Override Design ************/
/*************************************************/

.mdc-form-field > label {
    margin-bottom: 0 !important;
}

/********** MDB Override Design *****************/
/************************************************/
.btn-outline {
    border: 1px solid;
    background-color: transparent !important;
}
.btn-rounded{
    border-radius: 50%;
}
/**************** Loading Animation **************/
/*************************************************/
.loading-con {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid var(--primary-color);
    border-color: var(--primary-color);
    border-color: gray;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/******** End of Loading Animation ***********/
/*********************************************/


/*********************************************/
/************* Home Page *********************/
.home-title {
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
    word-spacing: 10px;
    text-shadow: 8px 8px 8px #ddd;
}

.home-card {
    position: relative;
    width: 237px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #ffffff6b;
    border-top: 1px solid #DDD;
    border-left: 1px solid #DDD;
    margin: 30px;
    box-shadow: 8px 8px 8px #DDD;
    cursor: pointer;
    transition: .3s all ease-in-out;
}

.home-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 9px;
    background: url(../images/logo-layout.png);
    background-size: cover;
    transition: .3s all ease-in-out;
    opacity: 0.3;
}

.home-card:hover::before {
    transform: scale(2);
    opacity: 0.5;
}

.home-card:hover {
    transform: scale(1.1);
}

.home-card-title {
    font-weight: bold;
    text-align: center;
    color: var(--primary-color);
    font-size: 22px;
    margin: 30px;
}

.home-card-btn {
    font-size: 50px;
    font-weight: bold;
    color: var(--primary-color) !important;
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 60px;
    transition: .3s all ease-in-out
}

.home-card-desc {
    position: absolute;
    opacity: 0; 
    top: 100%; 
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    transition: .3s all ease-in-out
}

.home-card:hover .home-card-desc {
    opacity: 1;
    top: 60%;
    color: #FFF;
    -webkit-text-stroke: .1px #DDD;
}

.home-card:hover .home-card-btn {
    font-size: 40px;
    font-weight: bold;
    margin-top: 20px;
}

/************** Home Page ********************/
/*********************************************/
/******************* Reporting **********************/
/****************************************************/
.tamplate-editor-con {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 30px;
    border-top: 2px solid;
    border-left: var(--tab-border-left);
    border-right: var(--tab-border-right);
    border-radius: var(--tab-border-radius);
    border-color: var(--primary-color);
}

.report-headers-con, .report-fields-con, .report-options-con {
    border: 1px solid #DDD;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 15px;
}

.report-header, .report-field {
    background: #EEE;
    border-radius: 10px;
    padding: 5px;
    border: 1px solid #DDD;
    margin: 0;
    margin-bottom: 5px;
}
.report-header-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-edit-icon {
    font-size: 15px;
    margin-top: 3px;
    margin-right: 10px;
    margin-left: 10px;
}

/**************** Login/Register Pages *****************/
/*******************************************************/
.middle-box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 111vh;
    background: linear-gradient(-30deg, darkorange 0%, #80808059 50%, #262626 50%, #607d8b 100%);
    background: linear-gradient(-30deg, white 0%, #00000059 50%, #262626 50%, #607d8b 100%);
}

.box {
    position: relative;
    padding: 40px;
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 15px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-top: 2px solid rgba(255,255,255,0.5);
    border-left: 1.5px solid rgba(255,255,255,0.5);
}

.box::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    border-radius: 15px;
    pointer-events: none;
    /*background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 15%, transparent 50%, transparent 85%, rgba(255, 255, 255, 0.3) 100%);*/
}

.box .form {
    position: relative;
    width: 100%;
}

.box .form h2 {
    color: #FFF;
    font-weight: bold;
    letter-spacing: 3px;
    margin: 30px;
}

.box .form .input-box {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.box .form .input-box .login-input {
    background: #ffffff4a;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/*.input-box input {
    color: #FFF !important;
}

.auth-input input {
    color: #FFF !important;
}*/

/************************************************************/
/**************** End Login/Register Pages *****************/
/************************************************************/


/********************* Grid Header *************************/
/***********************************************************/

.filter-title {
    position: absolute;
    top: 25px;
    z-index: 2;
    width: 100%;
    text-align: center;
    pointer-events: none;
    color: var(--primary-color) !important;
}

.filter-link {
    position: absolute;
    top: 14px
}

.export-links {
    position: absolute;
    top: 14px;
    left: var(--rev-left);
    right: var(--rev-right);
    padding-left: 5px;
    padding-right: 5px;
}

.export-links button {
    margin-left: 1px !important;
    margin-right: 1px !important;
}

.i-lg {
    font-size: 17px;
}

.add-filter-form div{
    margin-bottom: 7px;
}

/********************* End of Grid Header *************************/
/******************************************************************/




/**************************************************************/
/************************* Profile *****************************/
.nav-profile-link {
    margin-left: 15px;
    margin-right: 15px;
    border: 1px solid #FFF;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    margin-top: -15px;
    overflow: hidden;
    cursor: pointer;
}

.nav-profile-pic{
    width: 100%;
    height: 100%;
}

.profile-container {
    min-height: 300px;
    background-color: #FFF;
    display: flex;
    box-shadow: 0px 0px 8px 8px #DDD;
    border-radius: 5px;
    overflow: hidden;
}

.profile-img-name {
    background: var(--primary-color);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profie-form {
    
}

.profile-img
{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid #FFF;
    /*overflow: hidden;*/
    margin-bottom: 15px;
    position: relative;
}

.profile-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.profile-img-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    padding: 2px !important;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 8%;
    left: 80%;
    background-color: #FFF;
}

.profile-img-btn i{
    margin-left: 0 !important;
    margin-right:0 !important;
}

.profile-name {
    color: #FFF;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
}

/** Small Screen **/
@media (max-width: 767.98px) {
    .profile-container {       
        flex-direction: column;   
        background: transparent;
    }

    .profile-img-name {
        border-radius: 0px 0px 40% 40%;
        min-height: 200px;       
    }

    .profie-form {
        padding: 30px 20px 20px 20px;
    }
}

/** Wide Screen **/
@media (min-width: 768px) {
    .profile-container {
        flex-direction: row;
    }

    .profile-img-name {
        width: 30%;
        border-radius: var(--profile-radius);
    }

    .profie-form {
        width: 70%;
        padding: 20px 20px 20px 30px;
    }
}

/************************* Profile *****************************/
/**************************************************************/

/**************************************************************/
/************************ App Settings ************************/


.setting-input {
    clear: both;
    margin-left: 1%;
    margin-right: 1%;
    padding-top: 1px;
}

.setting-off {
    opacity: .6;
    pointer-events: none;
}

.setting-input .check-container .name{
    font-size: 15px;
}

.setting-input .check-container {
    width: 300px !important;
}
.setting-input .md-form {
    max-width: 300px !important;
}


/************************ App Settings ************************/
/**************************************************************/

/***************************************************************/
/********************* Notification List ************************/


.notifications-list {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    background-color: #FFF;
    color: gray;
    border-radius: 5px 2px 10px 10px;
    padding: 5px;
    border: 1px solid #DDD;
    transition: .3s all ease-in-out;
    overflow-y: auto;
    box-shadow: 10px 10px 50px rgba(0,0,0,0.3);
}
.notifications-list.active {
    opacity: 1;
    pointer-events: unset;
}

.not-count {
    display: inline-block;
    background-color: #e44545;
    border-radius: 50%;
    min-width: 20px;
    min-height: 20px;
    text-align: center;
    padding: 5px;
}

.not-btn {
    font-size: 16px;
    cursor: pointer;
}

.not-list-header {
    display: flex;
    width: 100%;
    flex-direction: row;
    padding: 10px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--primary-color);
}
.not-list-title {
    color: var(--primary-color);
    font-weight: bold;
    width: 70%;
}
.not-list-controls {
    order: 2;
    margin-left: auto;
    font-size: 12px;
    align-self: center;
    text-decoration: underline;
    transition: .3s all ease-in-out;
}
.not-list-controls:hover {
    color: var(--primary-color);
}


.not-item-con {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(45deg, #EEE 10%, var(--third-color));
    border-top: 1px solid rgb(221, 221, 221);
    border-left: 1px solid rgb(221, 221, 221);
    padding: 10px 3px;
    margin-bottom: 2%;
    margin-top: 5px;
    cursor: pointer;
}

.not-item-con.seen {
    opacity: .6;
    background: #EEE !important;
}

.not-item-head{
    display: flex;
    flex-direction: row;
}

.not-item-title-con{
    display: flex;
    justify-content: start;
    align-items: center;
}

.not-item-title {
    display: flex;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: bold;
    overflow: hidden;
    font-size: 15px;
    color: var(--secondary-color);
}

.not-title-icon {
    margin: 5px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.not-item-con.seen .not-item-title {
    color: gray;
}

.not-item-date {
    display: flex;
    align-self: flex-start;
    font-size: 12px;
    color: var(--primary-color);
    margin-left: auto;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    white-space: nowrap;
}
.not-item-body {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    text-overflow: ellipsis;
    font-size: 15px;
}

/** Small Screen **/
    @media (max-width: 767.98px) {
        .notifications-list {
            left: var(--rev-left);
            right: var(--rev-right);
            min-width: 30vw;
            max-width: 30vw;
            max-height: 60vh;
            top: 60px;
        }
    }
    /** Wide Screen **/
    @media (min-width: 768px) {
        .notifications-list-con {
            position: relative;
        }

        .notifications-list {
            left: var(--rev-left);
            right: var(--rev-right);
            min-width: 30vw;
            max-width: 30vw;
            max-height: 60vh;
            top: 40px;
        }
    }
    /************************ Notification List ************************/
    /*******************************************************************/
    /******************************************************************/
    /*********************** Color Picker *****************************/

    .color-picker-body{
    float: unset !important;
}
.color-picker-palette{
    float: unset !important;
}

.color-picker-btn {
    cursor: pointer;
    color: #FFF !important;
}

/** Small Screen **/
@media (max-width: 767.98px) {
    .color-picker-btn {
        margin-left: 44px;
        margin-right: 44px;
    }
}


/*********************** Color Picker *****************************/
/******************************************************************/

/****************************************************************/
/******************** Upload Control ****************************/

.uploaded-images-preview-con {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 0px 0px 10px 10px;
    background-color: #EEE;
}

.uploaded-images-preview-img {
    width: 30%;
    margin: 1%;
}


/******************** Upload Control ****************************/
/***************************************************************/


/***************************************************************/
/********************* Product Galleary ***********************/

.collapse-divider {
    border-top: 1px solid var(--primary-color);
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.divider-btn{
    margin-top: -15px;
}

.categories{
    background: #FFF;
    padding-top:10px;
    padding-bottom: 10px;
}

.node-collapse.selected {
    color: #FFF;
    background: var(--primary-color);
}

.category-name{
    color: var(--primary-color);
    font-size: .8rem;
    font-weight: bold;
}

.alert-msg{
    display: block !important;
    text-align: center;
}

.products-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.product-view {
    width: 300px;
    height: 400px;
    border: 1px solid;
    margin: 20px;
}
.product-view img{
    width: 100%;
    height: 100%;
}



/**********************************************************/
/********************* Quill Editor ***********************/

.ql-snow .ql-picker-label{
    padding-left: 20px;
    padding-right: 20px;
}

/********************* Quill Editor ***********************/
/**********************************************************/

/**********************************************************************/
/************************ Tasks Kanban  *******************************/

.tasks-kanban .tasks-drop-container {
    display: flex;
    width: 100%;
    padding-top: 10px;
    border: .5px solid #EEE;
    border-top: 6px solid #DDD;
    border-bottom: 0;
}

.tasks-kanban .tasks-dropzone {
    display: flex;
    background: #FFF;
    margin: 5px;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px -3px 8px #DDD;
}

@media (max-width: 767.98px) {
    .tasks-kanban .tasks-drop-container {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .tasks-kanban .tasks-dropzone {
        flex-direction: column;
        max-height: 25%;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .tasks-kanban .tasks-drop-container {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .tasks-kanban .tasks-dropzone {
        flex-direction: column;
        width: 25%;
        height: 100vh;
        overflow-y: auto;
    }
}

.task-menu-con {
    width: 100% !important;
    margin-bottom: 15px;
}

/************************ Tasks Kanban  *******************************/
/**********************************************************************/

/**********************************************************************/
/************************ Reporting **********************************/

.report-table {
    white-space: nowrap;
}

.report-table .cell-row {
    border-bottom: 1px solid #EEE;
    margin: -10px;
}

.report-table .cell-row i {
    margin: 2rem;
}

.report-table .cell-row .name {
    font-weight: bold;
    color: gray;
}

.report-table .cell-row .count {
    color: var(--secondary-color);
    font-weight: bold;
}

/************************ Reporting **********************************/
/********************************************************************/

/*********************************************************************************/
/************************ IncomeStatement Groups **********************************/

.igroup-dropzone {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border: 1px solid var(--secondary-color);
    width: 300px;
    min-height: 100px;
    border-radius: 10px;
    margin: 10px;
    padding-bottom: 10px;
}

.igroup-dropzone.empty {
    width: 100% !important;
}


/************************ IncomeStatement Groups **********************************/
/*********************************************************************************/

/*********************************************************************************/
/************************ Dshboard **********************************************/


.widg-con {
    background: #FFF;
    font-size: .89rem;
    border: 1px solid var(--third-color);
    border-radius: 5px;
    box-shadow: 5px 5px 8px var(--third-color);
    overflow: hidden;
}

.widg-header {
    height: 40px;
    background: var(--secondary-color);
    color: #FFF;
    font-weight: bold;
    font-size: 1.01rem;
    display: flex;
    justify-content: start;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    border-bottom: 2px solid var(--third-color);
}

/************************ IDashboard *********************************************/
/*********************************************************************************/

.container-full {
    width: 100%;
}

a, .btn-link {
    color: #0366d6;
}

.page-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 10px;
    margin-bottom: 20px;
}

.sub-title {
    margin-top: 20px;
    margin-left: 10px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

.main .top-row > a, .main .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.sidebar .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.sidebar .nav-item:first-of-type {
    padding-top: 1rem;
}

.sidebar .nav-item:last-of-type {
    padding-bottom: 1rem;
}

.sidebar .nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.sidebar .nav-item a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.sidebar .nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.category-tree-item-con {
    padding: 12px;
    border: 1px solid;
    margin-bottom: 5px;
    border-radius: 10px;
    background: #f5f5f5;
    border: 1px solid #DDD;
}