@font-face {
    font-family: IRANSansWeb;
    font-style: normal;
    font-weight: normal;
    src: url(fonts/iransans/eot/IRANSansWeb_Light.eot);
    src: url(fonts/iransans/eot/IRANSansWeb_Light.eot) format("embedded-opentype"),
    url(fonts/iransans/woff2/IRANSansWeb_Light.woff2) format("woff2"),
    url(fonts/iransans/woff/IRANSansWeb_Light.woff) format("woff"),
    url(fonts/iransans/ttf/IRANSansWeb_Light.ttf) format("truetype");
}

* {
    direction: rtl;
    margin: 0;
    padding: 0;
    font-family: IRANSansWeb, serif;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    font-size: .875rem;
}

h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: .9rem;
}

.more-page {
    /*transition: all 350ms ease-out;*/
    /*position: absolute;*/
    /*left: 0;*/
    /*right: 0;*/
    width: 100vw;
    /*padding-bottom: 4rem;*/
    overflow: visible;
    /*opacity: 0;*/
    display: none;
    margin-bottom: 5rem;
    /*min-height: calc(100vh + 20px);*/
    max-width: 500px;
    padding: 0 1rem;
}

.more-page.pagehide {
    /*animation: fadeOut-left 500ms ease-in;*/
    /*opacity: 0;*/
    display: none;
    /*z-index: -1;*/
}

.more-page.pageshow {
    /*animation: fadeIn-left 500ms ease-in;*/
    /*opacity: 1;*/
    /*z-index: 1;*/
    display: block;
    /*padding-bottom: 4rem*/
}

.B-nav {
    /*background: linear-gradient(#ffffff00 29%, #ad7f7f80 100%, #FFB979 100%);*/
    background-color: #66b8ff3d;
    border-radius: .5rem;
    border: 1px solid #ff8d24;
    padding: .5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    left: .5rem;
    right: .5rem;
    top: .5rem;
    backdrop-filter: blur(4px);
    z-index: 3;
}

.B-nav h1 {
    margin: 0;
    line-height: normal;
    color: #1A237E;
    font-size: 1.25rem;
}

.B-nav div {
    height: 21px
}

.B-nav i {
    font-size: 1.5rem;
    color: #1A237E
}

.in-page-click {

}

/******* D-nav ***************************************/
.D-nav {
    background: linear-gradient(#ff8d248c 84%, #ffa149 100%, #FFB979 100%);
    border-radius: .5rem;
    padding: .5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    left: .5rem;
    right: .5rem;
    top: .5rem;
    backdrop-filter: blur(4px);
}

.D-nav h1 {
    margin: 0;
    line-height: normal;
    color: #1A237E;
    font-size: 1.25rem;
}

.D-nav .img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    position: relative;
    background-color: #b6d4fe;
    padding: .25rem;
    margin: 0;
}

/******* D-nav ***************************************/

.Ds-container {
    max-width: 1024px;
    margin: 0 auto;
}

hr {
    margin: auto;
    border: solid 2px #FF8D24;
    opacity: 100%;
    border-radius: 1rem;
}

/******** body ***************************************/
.body {
    margin-top: 4.5rem;
}

/******** body ***************************************/

/******** footer ***************************************/
footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: .5rem;
    max-width: 600px;
    margin: 0 auto;
}

footer .nav {
    background: linear-gradient(45deg, #40009054, #BA460554);
    border-radius: .5rem;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(3px);
    margin: 0 .5rem 0 .5rem;
}

footer .nav li {
    display: flex;
    align-items: center;
}

footer .nav li {
    cursor: pointer;
    color: #1A237E
}

footer .nav li {
    font-size: 1.5rem;
    text-decoration: unset;
}

footer .nav li span {
    font-size: 1.25rem;
}

footer .nav span.badge {
    font-size: 9px;
    position: absolute;
    padding: 2px 4px;
    right: 12px;
    border-radius: 26px;
    background-color: #F4511E;
}

/******** footer ***************************************/


.Dashboard-Btn-1 {
    box-shadow: 0 0 10px 0 #bbbaba;
    border-radius: 1rem;
}


.btn-sam_sarma {
    width: 100%;
    box-shadow: 0px 0px 10px 0px #00000040;
    display: flex;
}

.btn-sam-sarma-texts {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0.5rem;
}

.btn-sam-sarma-texts-1 {
    flex: auto;
    width: 100%;
    text-align: right;
    align-items: center;
}

.btn-sam-sarma-texts-1 strong {

}

.btn-sam-sarma-texts-2 {
    flex: auto;
    width: 100%;
    text-align: left;
    padding: 0.5rem;
}

.btn-sam-sarma-texts-2 span {
    color: #1274bf;
    font-weight: bolder;
}

.btn-sam-sarma-img {
    display: flex;
    width: 4rem;
    height: inherit;
    align-items: center;
    justify-content: center;
    padding: .5rem;
}

.btn-sam-sarma-img img {
    height: initial;
    margin: auto;
}

.B-viget-1 {
    background-image: url("image/c2.png");
    background-color: #d1ecff;
    background-repeat: no-repeat;
    background-position: left;;
    border-radius: 1rem;
}

.B-viget-2 {
    background-image: url("image/c2.png");
    background-color: #d1ecff;
    background-repeat: no-repeat;
    background-position: left;;
    border-radius: 1rem;
    padding: 0;
}

.A-vigetB {
    margin-top: 1rem;
}

.A-vigetB i {
    font-size: 2rem;
    color: red;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

.green-light {
    background-color: #4CAF50;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-block;
}

.red-light {
    background-color: #FF0000;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-block;
}

.btn-device-B-nav-icon {
    flex: 0 0 auto;
    width: 33.33333333%;

}

.btn-device-B-nav-text {
    flex: 0 0 auto;
    width: 66.66666667%;
    margin-bottom: 3rem;
}

.btn-device-B-nav-icon i {
    font-size: 1.5rem;
}

.Adjustment-Persons-card {
    padding: 0.5rem 1rem;
    display: flex;
    border-radius: 1rem;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px 0px #00000040;
    justify-content: space-between;
}

.Adjustment-Persons-cards {
    padding: 0.5rem 1rem;
    display: flex;
    border-radius: 1rem;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px 0px #00000040;
    justify-content: center;
}

.btn-person-span {
    margin-top: 0.5rem;
}

.btn-persons-span {
    margin-right: 2rem;
    margin-top: 0.5rem;
}

.btn-persons-span span {
    color: #0a53be;
}

.btn-person-span span {
    color: #0a53be;
    font-size: .9rem;
}

.Adjustment-Persons-1 {
    display: flex;
    border-radius: 1rem;
    box-shadow: 0px 0px 10px 0px #00000040;
    padding: 1rem;

}

.A-viget {
    text-align: right;
    display: flex;
    flex-wrap: wrap;
}

.A-viget strong {
    font-size: 1rem;
    margin-right: .5rem;
    color: #07459f;
}

.A-viget img {
    width: 3rem;
}

.card-persons {
    display: flex;
    padding: 0.5rem 1rem;
    background-color: #ECF6FD;
    border: 2px solid #0685C3;
    border-radius: 1rem;
}

.card-persons img {
    height: 2rem;
    margin: auto;
}

.card-persons strong {
    margin: auto;
    color: #07459f;
    font-size: .90rem;
    line-height: 2rem;
    padding-right: 1rem;
}

@media screen and (min-width: 430px) {
    /*.D-tab {*/
    /*    justify-content: space-around;*/
    /*    width: calc(100% + 2rem);*/
    /*    margin: 0 -1rem;*/
    /*}*/
    .D-teach img {
        width: 75%;
        display: flex;
        margin: 0 auto;
    }

    .D-nav-text {
        margin-right: 1rem;
        padding-right: 2rem
    }
}


/*******************************/
.sun-btn {
    display: flex;
    background: white;
    box-shadow: 0 0 .5rem 0 rgba(153, 153, 153, 0.74);
    border-radius: 20px;
    color: #333;
    fill: #333;
    padding: 1rem .25rem;
    width: 6rem;
    height: 7.25rem;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: .5rem .4rem;
    font-size: .85rem;
    font-weight: 600;
    border: 0;
    text-decoration:none    ;
}

.sun-btn svg, .sun-btn img {
    width: 3rem;
    height: 3rem;
}

/*******************************************/
.Widget-admin {
    background-color: #ECF6FD;
    text-align: center;
    padding: .5rem 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
    box-shadow: 1px 1px 5px 0px #00000040;

}

.Widget-admin-text {
    background-image: url("image/v1.png");
    background-repeat: no-repeat;
    text-align: end;
}

.Widget-admin-text h6 {
    color: #4556B2;
    font-size: .95rem;
    text-align: right;
}

.Widget-admin-text span {
    color: #40A2ED;
}

.help-section-1 {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;


}

.help-section-1 img {
    width: 70%;
    margin: 0 auto;
}

.help-section-2 {
    width: 90%;
    margin: 0 auto;
    background: #f7e3e3;
    height: 11rem;
    border-radius: 1rem;
}

.bi {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentcolor;
}


/**************** loading-container *********************/
.loading-container {
    position: relative;
}

.loading-container::after {
    content: "";
    position: absolute;
    top: calc(50% - 12px);
    left: 40%;
    right: 40%;
    transform: translate(-50%, -50%);
    width: 25px; /* اندازه دایره */
    height: 25px;
    border: 4px solid #7734db; /* رنگ خطوط */
    border-top: 4px solid transparent; /* رنگ بالاي دايره */
    border-radius: 50%;
    animation: spin 1s linear infinite; /* نام انیمیشن و زمان اجرای آن */
    z-index: 2;
}

.loading-container::before {
    content: "";
    position: absolute;
    background-color: #ffffffb0;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    z-index: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/************************************************************/
.mx-n1 {
    margin-left: -1rem;
    margin-right: -1rem;
}

/**************************************/
*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    /*border-radius: 1rem;*/
    background-color: #F5F5F5;
}

*::-webkit-scrollbar {
    width: .75rem;
    height: .75rem;
    /*border-radius: 1rem;*/
    background-color: #FF8D24;
}

*::-webkit-scrollbar-thumb {
    /*border-radius: 1rem;*/
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, .3);
    background-color: #FF8D24;
}

/*************************************************************/
.side_menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side_menu li {
    margin: .5rem 0;
    position: relative;
    padding: .5rem 1rem;
    cursor: pointer;
    background: #f7f7f7;
    border-radius: 5px;
}

.side_menu li i {
    margin-left: .5rem
}

.side_menu li:after {
    content: '';
    width: 4px;
    height: 75%;
    top: 12.5%;
    position: absolute;
    right: 0;
    border-radius: 5px;
    background: #FF8D24
}

.side_menu li:hover {
    background: #eeeeee;
}

/***************************************************************/
.btn-box-filter {
    border: 1px solid #e8e8e8;
    border-radius: .5rem;
    cursor: default;
    padding: .25rem;
    background: #fff7f0;
    display: flex;
}

.btn-box-filter .btn-filter {
    background: transparent;
    border: 1px transparent solid;
    border-radius: .25rem;
    text-decoration: unset;
    padding: 0 .5rem;
    text-align: center;
    color: #ffd7c9;
}

.btn-box-filter .btn-filter.active {
    background: #fff;
    border-color: #d8d8d8;
    color: #313131;
}

/*****************************************************************/
.device_admin_list {
    border-radius: .5rem;
    margin-bottom: .5rem;
    box-shadow: 0 0 5rem 0 #ddd;
    display: flex;
    flex-direction: column;
    padding: .75rem .75rem .5rem .75rem;
    background-image: url("image/v1.png");
    background-repeat: no-repeat;
    background-position: 1rem 1rem;
}

.device_admin_list span:first-child {
    margin-left: auto;
}

.device_admin_list span:last-child {
    margin-right: auto;
}

/*********************************************************************/

.loading_page {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    color: #212121;
    font-size: 1.5rem;
    line-height: 3rem;
    font-weight: 600;
    text-align: center;
    z-index: 11;
    padding: 15% 20%;
    display: none;
    opacity: 0;
    backdrop-filter: blur(8px);
}

.loading_page.show span {
    opacity: 0
}

.loading_page.show span {
    animation: fadeIn-base 2500ms ease-in;
    opacity: 1;
}

.loading_page.show {
    display: block;
    animation: fadeIn-base 200ms ease-in;
    opacity: 1;
    background-color: #ffffff9c;;
    /*background-color: #563285;*/
}

.loading_page.show.firstStart {
    background-color: #f8f8f8;
}

.glass {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-rotate {
    animation-name: rotate;
    animation-duration: 2.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.loading_page #html-spinner {
    width: 64px;
    height: 64px;
    border: 0;
    border-top: 4px solid #39aeff;
    border-radius: 50%;
    margin: 0 auto;
    text-align: center;
    transition-property: transform;
    animation-name: rotate;
    animation-duration: 2.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.loading_page #html-spinner img {
    width: 42px;
    height: 42px;
    transition-property: transform;
    animation-name: rotate2;
    animation-duration: 2.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate2 {
    0% {
        transform: rotate(360deg);
        width: 42px;
        height: 42px;
    }
    50% {
        width: 32px;
        height: 32px;
    }
    100% {
        transform: rotate(0deg);
        width: 42px;
        height: 42px;
    }
}

/***********************************************************************