@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir.eot');
    src: url('../fonts/Vazir.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Vazir.woff2') format('woff2'),
        url('../fonts/Vazir.woff') format('woff'),
        url('../fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Bold.eot');
    src: url('../fonts/Vazir-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Vazir-Bold.woff2') format('woff2'),
        url('../fonts/Vazir-Bold.woff') format('woff'),
        url('../fonts/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Light.eot');
    src: url('../fonts/Vazir-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Vazir-Light.woff2') format('woff2'),
        url('../fonts/Vazir-Light.woff') format('woff'),
        url('../fonts/Vazir-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Medium.eot');
    src: url('../fonts/Vazir-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Vazir-Medium.woff2') format('woff2'),
        url('../fonts/Vazir-Medium.woff') format('woff'),
        url('../fonts/Vazir-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Thin.eot');
    src: url('../fonts/Vazir-Thin.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Vazir-Thin.woff2') format('woff2'),
        url('../fonts/Vazir-Thin.woff') format('woff'),
        url('../fonts/Vazir-Thin.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Black.eot');
    src: url('../fonts/Vazir-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Vazir-Black.woff2') format('woff2'),
        url('../fonts/Vazir-Black.woff') format('woff'),
        url('../fonts/Vazir-Black.ttf') format('truetype');
    font-weight: 900;
}

/*---------------------------------- End of fonts ---------------------------------- */

body {
    font-family: 'Vazir', sans-serif !important;
}

.ltr {
    direction: ltr;
}


ul {
    padding-inline-start: 0px;
}

.dropdown-item {
    text-align: right;
}

.dropdown-footer,
.dropdown-header {
    text-align: center;
}

.breadcrumb-item+.breadcrumb-item::before {
    padding-left: .5rem;
}


/*------------------------------------ contacts-list ------------------------------------*/

.contacts-list-img {
    float: right;
}

.contacts-list-info {
    margin-right: 45px;
    margin-left: 0;
}


/* sidebar */

.sidebar {
    direction: ltr;
}

.sidebar>div:first-child {
    direction: rtl;
}

.control-sidebar,
.control-sidebar:before {
    left: -250px;
    right: auto;
    transition: left .3s ease-in-out;
}

.control-sidebar-slide-open .control-sidebar,
.control-sidebar-slide-open .control-sidebar:before {
    left: 0;
    right: auto;
}

.small-box .icon {
    right: auto;
    left: 10px;
}

.nav-sidebar .nav-link>p>.right {
    left: 1rem;
    right: auto;
}

.nav-sidebar>.nav-item .nav-icon {
    margin-right: 0;
    margin-left: .2rem;
}

@media (min-width: 992px) {

    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .main-header {
        margin-right: 4.6rem;
        margin-left: 0;
    }
}

@media (min-width: 992px) {

    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 0rem !important;
        margin-right: 4.6rem !important;
        z-index: 100;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar,
    .sidebar-mini.sidebar-collapse .main-sidebar:before {
        margin-right: 0;
        width: 4.6rem;
    }
}


@media (min-width: 768px) {

    .content-wrapper,
    .main-footer,
    .main-header {
        transition: margin-right .3s ease-in-out;
        margin-right: 250px;
        margin-left: 0;
        z-index: 3000;
    }
}

@media (max-width: 991.98px) {

    .main-sidebar,
    .main-sidebar:before {
        box-shadow: none !important;
        margin-right: -250px;
        margin-left: 0;
    }

    .content-wrapper,
    .content-wrapper:before,
    .main-footer,
    .main-footer:before,
    .main-header,
    .main-header:before {
        margin-right: 0;
    }

    .sidebar-open .main-sidebar,
    .sidebar-open .main-sidebar:before {
        margin-right: 0;
        z-index: 4000;
    }
}

.sidebar-collapse .main-sidebar,
.sidebar-collapse .main-sidebar:before {
    margin-right: -250px;
}

.main-sidebar {
    left: auto;
    right: 0;
}

/* Cards */

.card-header>.card-tools {
    right: auto;
    left: 1rem;
}

.user-block img {
    float: right;
}

.attachment-block .attachment-img {
    float: right;
}

.attachment-block .attachment-pushed {
    margin-left: 0px;
    margin-right: 110px;
}

.card-comments .card-comment img,
.img-lg,
.img-md,
.img-sm,
.user-block.user-block-sm img {
    float: right;
}

.card-comments .comment-text {
    margin-right: 40px;
    margin-left: 0;
}

.card-comments .card-comment img+.img-push,
.img-sm+.img-push,
.user-block.user-block-sm img+.img-push {
    margin-left: 0px;
    margin-right: 40px;
}

.user-block .comment,
.user-block .description,
.user-block .username {
    margin-right: 50px;
    margin-left: 0px;
}

.btn-group-vertical {
    align-items: center;
}


/*------------------------- Form ----------------------------*/
.select2-container .select2-search--inline {
    float: right;
}

.select2-container--default .select2-search--inline .select2-search__field {
    text-align: right;
}

/*----------------------- Extra Page ---------------------------*/
.error-page>.headline {
    float: right;
}

.error-page>.error-content {
    margin-right: 190px;
    margin-left: 0;
}

.lockscreen-image {
    left: auto;
    right: -10px;
}

.lockscreen-credentials {
    margin-left: 0px;
    margin-right: 70px;
}

.nav {
    padding-inline-start: 0px !important;
}

/*---------------------------------- Persian Date Picker ---------------------------------- */

.datepicker-plot-area {
    font-family: 'Vazir', sans-serif;
}


/*---------------------------------------custom css------------------------------------*/
.lockscreen-name{
    color: transparent;
}

.lockscreen-name::before{
    content: "سریال / کد ملی خود را وارد نمایید:";
    color: black;
    position: absolute;
}

body > div.lockscreen-wrapper > div:nth-child(5) > a{
    display: none;
}

body > div.lockscreen-wrapper > div.help-block.text-center{
    color: transparent;
    text-align: unset !important;
    display: flex;
    justify-content: center;
}

body > div.lockscreen-wrapper > div.help-block.text-center::before{
    content: "جهت دریافت گواهی، شماره سریال و جهت دریافت کارنامه کد ملی خود را وارد نمایید.";
    color: black;
    position: absolute;
    width: 22%;
}

html body.hold-transition.lockscreen div.d-block.text-center.mb-3.mt-5.pt-5 {
    display: none !important;
}

html body.hold-transition.lockscreen div.lockscreen-wrapper div.lockscreen-footer.text-center.mt-4 {
    display: none !important;
}

html body.hold-transition.lockscreen div.lockscreen-wrapper {
    max-width: unset;
    padding: 1rem;
}

.fa-arrow-right::before {
    content: "\f060" !important;
}

body::after {
    content: "";
    background-image: url("/licence/dist/img/certificate corner tl.png");
    width: 423px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    aspect-ratio: 1;
}

body::before {
    content: "";
    background-image: url("/licence/dist/img/certificate corner br.png");
    width: 423px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    position: absolute;
    bottom: 0;
    right: 0;
    aspect-ratio: 1;
}

.lockscreen-wrapper::after {
    content: "";
    background-image: url("/licence/dist/img/flag.png");
    width: 301px;
    aspect-ratio: 1;
    position: absolute;
    top: 0;
    background-size: contain;
    background-repeat: no-repeat;
    right: 130px;
}

.lockscreen-wrapper::before {
    content: "";
    background-image: url("/licence/dist/img/yavaran logo.png");
    width: 164px;
    aspect-ratio: 1;
    position: absolute;
    top: 348px;
    background-size: contain;
    background-repeat: no-repeat;
    right: 224px;
}

html body.hold-transition.lockscreen div.lockscreen-wrapper div.lockscreen-logo::after {
    content: "";
    background-image: url("/licence/dist/img/nokhbegan logo.png");
    width: 192px;
    aspect-ratio: 1;
    position: absolute;
    top: 540px;
    background-size: contain;
    background-repeat: no-repeat;
    right: 192px;
}

html body.hold-transition.lockscreen div.lockscreen-wrapper div.lockscreen-logo::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 30px;
    left: 30px;
    bottom: 30px;
    border: solid 2px gold;
    z-index: -2;
}

@media (max-width:1290px) {

    body::after {
        content: "";
        z-index: -1;
        opacity: 30%;
    }

    body::before {
        content: "";
        z-index: -1;
        opacity: 30%;
    }

    .lockscreen-wrapper::after {
        content: "";
        background-image: unset;
        display: none;
    }

    .lockscreen-wrapper::before {
        content: "";
        background-image: unset;
        display: none;
    }

    html body.hold-transition.lockscreen div.lockscreen-wrapper div.lockscreen-logo::after {
        content: "";
        background-image: unset;
        display: none;
    }
}

@media (max-width:826px){
    body > div.lockscreen-wrapper > div.help-block.text-center::before{
        width: 33%;
    }
}

@media (max-width:445px){
    body > div.lockscreen-wrapper > div.help-block.text-center::before{
        width: 100%;
        padding: 0 3rem;
    }
}

@media (max-height:826px){
    .lockscreen-wrapper::before {
        content: "";  
        width: 102px;
        top: 316px;
        right: 252px;
    }
    html body.hold-transition.lockscreen div.lockscreen-wrapper div.lockscreen-logo::after {
        content: "";
        width: 125px;
        top: 439px;
        right: 224px;
    }
}