﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: 'IranSans';
    src: url('../lib/fonts/IRANSans.eot?v=1');
    src: url('../lib/fonts/IRANSans.eot?#iefix&v=1') format('embedded-opentype'), /* IE6-8 */
    url('../lib/fonts/IRANSans.woff2?v=1') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../lib/fonts/IRANSans.woff?v=1') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../lib/fonts/IRANSans.ttf?v=1') format('truetype');
}

@font-face {
    font-family: 'sevensegment';
    src: url('../lib/fonts/sevensegment.ttf') format('truetype');
}

@font-face {
    font-family: 'sfcartoonisthandsc';
    src: url('../lib/fonts/sfcartoonisthandsc.ttf') format('truetype');
}

@font-face {
    font-family: 'terminator';
    src: url('../lib/fonts/terminator.ttf') format('truetype');
}

@media print {
}

html {
    font-family: 'IranSans';
}

body {
    font-family: 'IranSans';
    /*padding-top: 50px;
    padding-bottom: 20px;*/
}

input {
    font-family: 'IranSans';
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

.navbar-top {
    margin-top: -30px;
    margin-bottom: 0px !important;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.dashboard-table {
    color: #fff;
}

    .dashboard-table td,
    .dashboard-table th {
        color: #fff !important;
        border-color: #fff !important;
        text-align: center;
        font-size: 1.1rem !important;
        padding: 6px 4px 6px 4px !important;
    }

    .dashboard-table .icon {
        font-size: 25px;
    }
/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

@-webkit-keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
    }
}

@keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: spinner-grow .75s linear infinite;
    animation: spinner-grow .75s linear infinite;
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

.about {
   z-index:111;
    width: 260px;
    padding: 8px;
    vertical-align: middle;
    background-color: rgba(32, 41, 64, 0.6);
}

.sound-control {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 4px 2px 2px 2px;
    vertical-align: middle;
    opacity: 0.9;
    border-radius: 0px 5px 0px 0px;
    background: linear-gradient(60deg, #2897a5, #16707b);
}

    .sound-control a {
        padding: 2px;
    }

.table-link td:has(> a:hover) {
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
}

.lock-window {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.1;
    z-index: 10000000000;
}

* {
    -ms-scrollbar-track-color: #45474a;
    scrollbar-track-color: #45474a;
    -ms-scrollbar-face-color: #5b5b5b;
    scrollbar-face-color: #5b5b5b;
    -ms-scrollbar-arrow-color: #45474a;
    scrollbar-arrow-color: #45474a;
    -ms-scrollbar-darkshadow-color: #45474a;
    scrollbar-darkshadow-color: #45474a;
    -ms-scrollbar-shadow-color: #45474a;
    scrollbar-shadow-color: #45474a;
    -ms-scrollbar-3dlight-color: #45474a;
    scrollbar-3dlight-color: #45474a;
    -ms-scrollbar-base-color: #45474a;
    scrollbar-base-color: #45474a;
    scrollbar-color: #666 transparent;
    scrollbar-width: thin;
}

    *::-webkit-scrollbar {
        width: 6px;
        height: 6px;
        background: inherit;
    }

    *::-webkit-scrollbar-thumb {
        background: #666;
    }


/*****************************************Main menu **************************************/
.vertical-nav {
    overflow: hidden;
}

/* استایل‌های اصلی منو */
    .vertical-nav .nav-link {
        transition: all 0.3s !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #a9afbbd1 !important;
    }

        .vertical-nav .nav-link:hover {
            padding-right: 25px;
            color: #fff !important;
            background-color: rgba(199,199,199,0.05);
        }

        .vertical-nav .nav-link.active, .vertical-nav .nav-item.active a {
            background: linear-gradient(60deg, #7b1fa2, #913f9e);
            box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.4);
            color: #fff !important;
        }
            .vertical-nav .nav-link.active[data-toggle="submenu"] {
                background: linear-gradient(60deg, rgba(199, 199, 199, 0.35), rgba(199, 199, 199, 0.35));
                box-shadow: none;
                color: #fff !important;
            }


/* استایل زیرمنو */
.submenu {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(199,199,199,0.1);
}

    .submenu.show {
        max-height: 500px;
        transition: max-height 0.5s ease-in;
    }

    .submenu .nav-link {
        padding-right: 40px;
        font-size: 13px;
    }
    .submenu .nav-link span{
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

        .submenu .nav-link i {
            font-size: 18px;
            margin-left: 8px;
            line-height: 24px;
        }

        .submenu .nav-link:hover {
           
        }

        .submenu .nav-link.active {

        }

/* آیکون‌ها */
.nav-icon {
    width: 20px;
    text-align: center;
    margin-left: 10px;
}

.toggle-icon {
    transition: transform 0.3s;
}

    .toggle-icon.rotated {
        transform: rotate(90deg);
    }



/*****************************************material css************************************/
.form-check .form-check-label {
    padding-left: 0px;
    padding-right: 25px;
}

    .form-check .form-check-label span {
        left: auto;
        right: -1px;
    }

.form-check .form-check-sign {
    padding-left: 10px;
    padding-right: 0px;
}

select.form-control:not([size]):not([multiple]) {
    height: 36px;
}


.dark-edition .dropdown .dropdown-menu {
    background-color: #2f3954;
    color: #ffffff;
}

    .dark-edition .dropdown .dropdown-menu:after {
        border-left-color: #2f3954;
    }

    .dark-edition .dropdown .dropdown-menu a {
        color: #ffffff !important;
    }

    .dark-edition .dropdown .dropdown-menu li.adjustments-line {
        border-bottom-color: rgba(180, 180, 180, 0.1);
    }

    .dark-edition .dropdown .dropdown-menu li > a.img-holder {
        border-color: #303c58;
    }

        .dark-edition .dropdown .dropdown-menu li > a.img-holder:hover,
        .dark-edition .dropdown .dropdown-menu li.active > a.img-holder {
            border-color: #596d9c;
        }

.modal-content {
    background-color: #202940;
}

.modal-header {
    border-bottom: none;
    background: linear-gradient(60deg, #7b1fa2, #913f9e);
    color: #fff;
}

    .modal-header .close {
        color: #fff;
    }

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.image-upload-control {
    background-color: rgba(0, 0, 0, 0.33);
    opacity: 0;
    top: 0px;
    left: 0px
}

.card-avatar:hover .image-upload-control {
    opacity: 0.7;
}
.background-cover {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
