﻿@font-face {
    font-family: "IranNastaliq";
    src: url("../fonts/IranNastaliq/IranNastaliq.eot") format('embedded-opentype'), url("../fonts/IranNastaliq/IranNastaliq.ttf") format('truetype'), url("../fonts/IranNastaliq/IranNastaliq.woff") format('woff');
}

@font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb/IRANSansWeb.eot") format('embedded-opentype'), url("../fonts/IRANSansWeb/IRANSansWeb.ttf") format('truetype'), url("../fonts/IRANSansWeb/IRANSansWeb.woff") format('woff'), url("../fonts/IRANSansWeb/IRANSansWeb.woff2") format('woff2');
}

html, body {
    overflow: hidden;
}

body, div, a {
    font-family: "IRANSansWeb";
    font-size: 14px;
}

a {
    text-decoration: none;
}

i.require-star {
    color: red;
}

body {
    background: #cbdee9c4;
}

main#main {
    padding: 25px;
    width: 100%;
    height: 100vh;
    display: flex;
    gap: 25px;
}

aside#sidebar {
/*    width: 120px;*/
    height: 100%;
    background: white;
    border-radius: 20px;
}

/*ul.menubar {
    list-style: none;
    margin: 0;
    padding: 20px;
}*/

.sidebar-brand {
    border-bottom: solid 1px #CCC;
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: white;
    transition: all 0.5s linear;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

    /*.sidebar-brand img {
        width: 100%;
        max-width: 150px;
    }*/

/*ul.menubar li a {
    background: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 80px;
    color: #1a606c;
    font-family: "IranNastaliq", Tahoma, sans-serif;
    font-size: 18px;
    transition: all 0.5s linear;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}*/

    /*ul.menubar li a:hover {
        background: radial-gradient(white, rgb(181 200 215 / 50%));
    }*/

    /*ul.menubar li a.active, ul.menubar li a:active {
        background: radial-gradient(white, rgb(181 200 215 / 90%));
    }*/

    /*ul.menubar li a * {
        display: block;
        text-align: center;
        margin: 0 auto;
    }*/

/*    ul.menubar li a img {
        width: 35px;
    }*/

section.section-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.content {
    background: white url(../img/bg4.png) left bottom no-repeat;
    background-size: cover;
    width: 100%;
    height: calc(100% - 50px);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}
/* #header */
header {
    background: white;
    width: 100%;
    height: 50px;
    border-radius: 20px;
}

    header.mobile-head, header.desktop-head {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }

        header.mobile-head img.menubar-show {
            margin-left: auto;
        }

        header.mobile-head img.actionbar-show, header.desktop-head > img.actionbar-show {
            margin-right: auto;
        }

        header.mobile-head a.mobile-logo {
            border-radius: 100%;
/*            background: #b5c8d7;*/
            width: 100px;
/*            height: 80px;*/
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 6px;
        }

            header.mobile-head a.mobile-logo img {
                width: 100%;
            }

.poosh {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgb(0 0 0 / 70%);
    z-index: 999;
    transition: all 0.3s ease-in-out;
}

.login-wrapper {
    height: 100vh;
}

ul.chzn-choices {
    box-shadow: none !important;
    border-radius: 5px;
    border: solid 1px #DDD !important;
    padding: 2px 5px !important;
    display: flex;
    text-align: right !important;
}

ul.vizard-btns {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow: auto;
}

    ul.vizard-btns li {
        width: 100%;
        position: relative;
        white-space: nowrap;
    }

        ul.vizard-btns li button {
            display: block;
        }

        ul.vizard-btns li::before {
            content: "";
            display: flex;
            position: absolute;
            width: 100%;
            height: 5px;
            background: #DDD;
            top: 15px;
            z-index: 0;
            justify-content: center;
            text-align: center;
        }

        ul.vizard-btns li:has(> button.active)::before {
            background: rgb(156 185 203 / 77%);
        }

        ul.vizard-btns li button {
            background: #f0f0f0;
            border-radius: 100px !important;
            position: relative;
            margin: 0 auto;
        }

label.custom_uploades {
    width: 100%;
    background: #EEE;
    border: dashed 2px #CCC;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

    label.custom_uploades input {
        display: none;
    }

    label.custom_uploades span {
        width: 100%;
        display: block;
        padding: 10px;
        position: absolute;
        bottom: 0;
        left: 0;
        text-align: center;
        background: #c29898;
        color: white;
    }

    label.custom_uploades img {
        width: 70%;
        height: 70%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

.chzn-container {
    width: 100% !important;
}
/**
    *
    #custom overflow scroll
    *
*/
.content-inner, aside#sidebar {
    overflow-y: auto;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
        width: 5px;
    }

aside#sidebar {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    aside#sidebar::-webkit-scrollbar {
        display: none;
    }

.dt-container .bottom {
    display: flex;
    padding: 5px;
}

    .dt-container .bottom .dt-paging {
        margin-right: auto;
    }

    .dt-container .bottom .dt-info {
        padding: 7px 10px;
    }

.pulse-circle {
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: red;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        background-color: red;
    }

    25% {
        background-color: yellow;
    }

    50% {
        transform: scale(1.2);
        background-color: orange;
    }

    100% {
        transform: scale(1);
        background-color: red;
    }
}

/*table.dataTable tbody td:last-child {
    position: sticky;
    top: 0;
    left: 0;
}*/
div.dt-buttons > .dt-button {
    background: transparent;
    color: #49c8ef;
    border-radius: 3px;
    border: solid 1px #49c8ef;
}
    div.dt-buttons > .dt-button:hover {
        background: transparent;
        border: solid 1px #49c8ef;
    }
.select2-container--default .select2-selection--single {
    border: solid 1px #DDD;
    border-radius: 0.375rem;
    height: 38px;
    padding: 3px;
}
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 38px;
    }
option:disabled {
    background: rgb(253 220 220 / 22%);
    color: rgb(153 153 153 / 60%);
}
.licence {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: #858585;
    gap: 6px;
    opacity: 0.5;
}
    .licence:hover{
        opacity: 1;
    }
.nav.nav-tabs {
    padding: 0 10px;
}














aside#sidebar {
    position: relative;
/*    transition: all 0.3s linear;*/
}
aside#sidebar.max {
    width: 260px;
}
aside#sidebar.min{
    width:80px;
    
}
aside#sidebar.min .sidebar-brand h3, aside#sidebar.min ul.menubar li a span {
    display: none;
}
    aside#sidebar.min .main-menu-item:hover span {
        display: block;
        position: fixed;
        background: #e9f2f8;
        padding: 9px 10px;
        z-index: 999999;
        right: 75px;
        border-radius: 10px 0 0 10px;
    }
aside#sidebar.min .menubar img {
    width: 25px;
}
aside#sidebar .action-menu {
    background: none;
    border: none;
    position: absolute;
    left: -13px;
    top: 10px;
    z-index: 3;
    font-size: 22px;
    color: #AAA;
}
aside#sidebar .sidebar-brand a {
    display: flex;
    justify-content: center;
    align-items: center;
}
    aside#sidebar .sidebar-brand h3 {
        font-size: 16px;
        font-weight: bold;
        color: #51938b;
        margin: 0;
        white-space: nowrap;
    }

aside#sidebar .sidebar-brand img {
    margin-left: 10px;
    width: 70px;
}
aside#sidebar ul.menubar {
    list-style: none;
    margin: 0;
    padding: 20px 15px;
}
aside#sidebar ul.menubar li {
    list-style: none;
}
aside#sidebar ul.menubar li a {
    border-radius: 10px;
    margin-bottom: 5px;
    color: #1a606c;
    font-family: "IRANSansWeb", Tahoma, sans-serif;
    font-size: 16px;
/*    transition: all 0.5s linear;*/
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
}
    aside#sidebar ul.menubar li a * {
        display: block;
        text-align: center;
        white-space: nowrap;
    }
aside#sidebar ul.menubar li a img {
    width: 25px;
}
ul.menubar li a:hover {
    background: #e9f2f8;
}
ul.menubar li a.active, ul.menubar li a:active {
    background: rgb(181 200 215 / 30%);
}









@media screen and (max-width: 768px) {
    aside#sidebar {
        position: fixed;
        right: -350px;
        top: 0;
        width: 320px;
        height: 100%;
        border-radius: 20px 0 0 20px;
        z-index: 9999;
        transition: all 0.3s ease-in-out;
    }
}
@media screen and (max-width: 576px) {
    main#main {
        padding: 15px 6px;
        gap: 15px;
    }
    section.section-wrap {
        gap: 15px;
    }
}
