:root {
    --font-family: "yekanbakh";
}

/*
Yekan Bakh fonts are considered a proprietary software. To gain information about the laws
regarding the use of these fonts, please visit www.fontiran.com
---------------------------------------------------------------------
This set of fonts are used in this project under the license: (72I8OBZT123)
---------------------------------------------------------------------
*/
@supports (font-variation-settings: "wght" 900) {
    @font-face {
        src: url("../../fonts/YekanBakhFaNum-VF.woff") format("woff"),
        url("../../fonts/YekanBakhFaNum-VF.ttf") format("truetype");
        font-display: swap;
        font-family: "yekanbakh";
        font-weight: 10 1000;
    }
}

@supports (not (font-variation-settings: "wght" 900)) {
    @font-face {
        src: url("../../fonts/YekanBakhFaNum-Regular.woff") format("woff"),
        url("../../fonts/YekanBakhFaNum-Regular.ttf") format("truetype");
        font-display: swap;
        font-weight: 400;
        font-family: "yekanbakh";
    }

    @font-face {
        src: url("../../fonts/YekanBakhFaNum-Bold.woff") format("woff"),
        url("../../fonts/YekanBakhFaNum-Bold.ttf") format("truetype");
        font-display: swap;
        font-weight: 700;
        font-family: "yekanbakh";
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html {
    font-size: 14.5px;
}

body {
    font-size: 1rem;
    /*font-family: var(--font-family);*/
    line-height: 1.8;
    font-weight: normal;
    overflow-x: hidden
}

* {
    outline: none
}

a,
a:hover,
a:focus,
a:visited {
    text-decoration: none
}

a {
    transition: all .35s;
}

:focus {
    outline: 0 !important;
}

a,
a:hover {
    text-decoration: none;
}

img {
    max-width: 100%
}

header {
    position: relative;
    /*padding-bottom: 15px;*/
}

#header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    width: 100%;
    z-index: 999;
    animation: fade-in .6s forwards
}

.h-top {
    position: relative;
    direction: rtl;
    flex-wrap: wrap;
    display: flex;
    padding-bottom: 8px;
}

.h-top a {
    display: block
}

header .h-top>div {
    flex-grow: 1;
    flex-direction: column
}

.h-top .right {
    text-align: right;
    padding-top: 10px;
}

.h-top .right img.logo {
    width: 80px;
    margin-left: 15px;
    margin-top: 5px;
}

.h-top .right img.logo-text {
    width: 100px;
    margin-top: 5px;
}

.h-top .center {
    padding: 0;
    position: relative;
    justify-content: center;
    background: url(../img/header-bg.png) no-repeat center center;
    background-size: cover
}

.h-top .center img {
    position: relative;
    top: 30px;
    max-width: 510px;
    margin: auto;
    display: block;
}

.h-top .left {
    width: auto;
    padding-top: 5px;
    position: relative;
    text-align: left
}

.h-top .left img {
    width: 160px
}

span.shoar {
    position: absolute;
    bottom: -6px;
    display: block;
    font-family: var(--font-family);
    right: inherit;
    left: 135px;
    width: 265px;
    text-align: left;
    font-weight: bold;
    font-size: 0.9rem;
}

header nav>div,
header nav>span {
    display: inline-block;
    float: right
}



#header.sticky .h-top {
    background: none
}

#header.sticky .h-top .left {
    display: none
}

#header.sticky .h-top .center {
    display: none
}

#header.sticky .h-top .right {
    display: none;
    margin-left: auto;
    max-width: 50%;
    text-align: right
}

#header.sticky .h-top .right img {
    display: inline-block
}

#header.sticky .h-bottom .code,
#header.sticky .date,
#header.sticky .search-pw,
#header.sticky nav:after,
#header.sticky .h-bottom:after,
#header.sticky nav {
    display: none
}

#header.sticky nav {
    transition: opacity .6s;
    opacity: 1;
    margin-right: 15rem;
    float: left;
    padding: 0;
    margin-top: -75px;
    display: block;
}

#header.sticky {
    padding: 0
}

#header.sticky .h-top .right {
    display: block;
    padding-top: 0px
}

#header.sticky {
    transition: opacity .4s;
}

#header.sticky.hide {
    top: -200px
}

#header.sticky .h-top .right img.logo {
    width: 80px;
    margin-top: 9px;
    padding: 10px;
}

#header.sticky .h-top .right img.logo-text {
    width: 90px;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1340px
    }

    #slider .slider-container {
        max-width: 1140px;
    }

    section.navigation .navpw {
        right: 0
    }
}

@media only screen and (max-width: 1399px) {
    header nav .mainmenu .cdd0_main_menu>li>a {
        padding: 8px !important;
        font-size: 0.875rem !important;
    }

    #imenus0 li a {
        line-height: 35px;
    }

    section.navigation .navpw {
        right: 0
    }

    #header.sticky nav {
        margin-right: 14rem;
    }
}

@media only screen and (max-width: 1199px) {
    #imenus0 li a {
        line-height: 30px;
    }

    .has-sticky-menu .wrap {
        padding-top: 215px;
    }

    header nav .mainmenu .cdd0_main_menu>li>a {
        padding: 12px 4px !important;
        font-size: 0.875rem !important;
    }

    .h-top .right {
        text-align: center
    }

    .h-top .right .logo-text {
        width: 90px;
        margin-bottom: 15px;
    }

    .h-top .center img {
        top: 70px
    }

    body {
        font-size: 0.9rem
    }

    #header.sticky .container {
        width: 100%;
        max-width: 100%
    }

    #header.sticky nav {
        max-width: 70%;
        max-width: 77%
    }

    span.shoar {
        left: 25px;
    }

    .h-top .right img.logo {
        margin: 0
    }

    #header.sticky nav .mainmenu .cdd0_main_menu>li>a {
        padding: 12px 5px !important;
    }

    .DateDigitalServer {
        width: 100px;
        white-space: normal
    }

    .TimeCaption {
        display: none;
    }

    #header.sticky nav {
        margin-right: 12rem;
    }

}

@media only screen and (max-width: 991px) {
    #header.sticky nav {
        margin-right: 8rem;
    }
}

@media only screen and (min-width: 576px) {
    .h-bottom .menu-pw {
        max-width: 81%;
        flex: 0 0 81%;
    }
}

@media only screen and (min-width: 768px) {
    #slider .bg .container {
        max-width: 720px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 1199px) {
    .h-bottom .menu-pw {
        max-width: 81% !important;
        flex: 0 0 81% !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #slider .bg .container {
        max-width: 960px;
    }

    header nav .mainmenu .cdd0_main_menu>li>a {
        font-size: 0.75rem !important;
    }

    .h-bottom .menu-pw {
        max-width: 83%;
        flex: 0 0 83%;
    }

    #header.sticky nav {
        max-width: 81%;
    }

    #header.sticky .h-top .right img.logo {
        width: 75px;
    }

    #header.sticky .h-top .right img.logo-text {
        width: 90px;
    }

    #header.sticky .h-top .right img.logo-text {
        margin-top: 25px;
    }

}

@media only screen and (min-width: 992px) {
    .DateDigitalServer {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (min-width: 1200px) {
    #slider .bg .container {
        max-width: 1140px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .DateDigitalServer {
        margin-right: -1.5rem;
    }
}

@media only screen and (max-width: 991px) {
    .wrap-inner .innercontent .multiwebpart-wrapper [class*='SiPo'] {
        width: 70%;
        margin: auto;
    }

    .has-sticky-menu .wrap {
        padding-top: 272px;
    }

    h1 {
        font-size: 1.4rem
    }

    h2 {
        font-size: 1.2rem
    }

    h3,
    h4,
    h5,
    h6 {
        font-size: 1.1rem
    }

    .pw-wrapper h2.pw-title {
        font-size: 2rem
    }

    .h-top .right {
        width: 130px;
        text-align: center
    }

    .h-top .right img[class*="logo"] {
        display: block;
        margin: 0 7px;
    }

    .h-top .right img.logo {
        margin: 0 15px
    }

    .container {
        width: 100%;
        max-width: 100%
    }

    .h-top .left img {
        width: 230px;
        max-width: 100%
    }

    .h-top .center {
        background: transparent
    }

    .h-top {
        padding: 0 0 5px 0;
        position: relative;
        /*justify-content:center;*/
        background: url(../img/header-bg.png) no-repeat center center;
        background-size: 100%;
    }

    .h-top .center {
        position: static
    }

    .h-top .center img {
        position: absolute;
        top: inherit;
        max-width: 550px;
        margin: auto;
        display: block;
        left: 50%;
        bottom: 30px;
        transform: translateX(-50%);
    }

    .h-top .left {
        padding-bottom: 60px;
        text-align: left !important;
    }

    .TimeCaption {
        display: none
    }

    .DateDigitalServer {
        position: absolute;
        font-size: 0.93rem;
        left: 0;
        right: 0
    }

    .DateCaption span {
        text-align: center;
        display: block
    }

    .pw-wrapper h2.pw-title {
        width: auto;
        min-width: inherit
    }

    section.infoknowledge .links>.link-inner>div:first-child {
        padding: 0;
        width: 100%;
        float: none
    }

    header nav:after {
        width: 65%
    }

    footer .ftop .logo img {
        display: inline-block;
        margin: 0;
        margin-bottom: 0 !important
    }

    footer .ftop .logo img.logo-text {
        max-width: 150px;
        margin: 0 15px;
        vertical-align: middle
    }

    #header.sticky .h-top .right img.logo-text {
        display: none
    }

    section.navigation .breadcrumbs:before {
        width: 100%
    }

    section.navigation .breadcrumbs:after {
        width: 100%
    }

    table.NavigationBar {
        right: 0
    }

    header nav .mainmenu .cdd0_main_menu>li>a {
        padding: 12px 6px !important
    }

    .DateCaption span,
    .TimeCaption {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 767px) {
    .wrap-inner .innercontent .multiwebpart-wrapper [class*='SiPo'] {
        width: 80%;
    }

    .h-top .center img {
        max-width: 360px
    }

    .h-top .right img.logo {
        width: 85px;
        margin: 0 auto;
    }

    .h-top .right img.logo-text {
        width: 110px;
        margin: 0 auto;
    }

    .h-top .right {
        padding-left: 0
    }

    .SearchButton {
        width: 50px;
        background-size: 28px
    }

    .pw-wrapper h2.pw-title {
        font-size: 1.6rem
    }

    .pw-wrapper h2.pw-title:before,
    .pw-wrapper h2.pw-title:after {
        width: 120px
    }

    header nav:after {
        width: 58%
    }

    #header.sticky .h-top .right {
        margin-top: -10px
    }

    #header.sticky nav {
        margin-top: -70px
    }

    section.navigation .navpw {
        right: 0
    }

    section.navigation .breadcrumbs:before {
        width: 100%
    }

    section.navigation .breadcrumbs:after {
        width: 100%
    }

    .DateDigitalServer {
        margin-right: -2rem;
    }

    header nav .mainmenu {
        width: calc(100% - 95px);
    }
}

@media only screen and (max-width: 690px) {
    .has-sticky-menu .wrap {
        padding-top: 308px;
    }

    .h-bottom.row {
        position: relative
    }

    header {
        padding: 0;
        overflow: hidden
    }

    .marquee img {
        width: 550px;
        max-width: inherit;
        padding: 10px 0;
        height: 85px;
    }

    .marquee {
        display: block !important;
        position: relative;
        width: 100%;
        text-align: right;
        position: relative;
        animation: move 20s linear infinite
    }

    .h-top .left {
        padding-bottom: 0
    }

    .h-top .center img {
        display: none
    }

    .h-bottom:after {
        width: 59%;
        height: 56px;
        left: -23px;
        bottom: 0;
    }

    header nav:after,
    .carousel.slide .line {
        display: none
    }

    .wrap-mohtava-archive header nav:after {
        display: none
    }

    table.NavigationBar .NavigationLink:first-child {
        right: -20px
    }

    #header.sticky {
        padding: 10px 0
    }

    .DateCaption span {
        font-size: 0.8rem;
    }

    section.navigation .breadcrumbs:before {
        display: block
    }
}

@media only screen and (max-width: 575px) {
    .badge{
        font-size: 0.804rem;
    }
    .pw-wrapper h2.pw-title:not(:empty):before,
    .pw-wrapper h2.pw-title:not(:empty):after {
        display: none
    }

    .wrap-inner .innercontent .multiwebpart-wrapper [class*='SiPo'] {
        width: 100%;
    }

    .h-top .center img {
        max-width: 345px
    }

    .h-top {
        background-size: 150%
    }

    .h-bottom .search-pw {
        margin-right: auto
    }

    .pw-wrapper h2.pw-title {
        font-size: 1.4rem;
        padding: 16px 20px
    }

    .box-wrapper h3.box-title {
        height: 50px;
        font-size: 1rem;
        padding: 0 10px
    }

    .info .row {
        margin: 0
    }

    .info .box:nth-child(odd) {
        padding: 0 5px
    }

    .info .box:nth-child(even) {
        padding: 0 5px
    }

    .ftop .logo img.logo {
        max-width: 80px
    }

    footer .ftop .logo img.logo-text {
        max-width: 124px
    }

    header nav:after {
        width: 50%
    }

    section.infoknowledge .box-wrapper h3.box-title {
        font-size: 0.9rem
    }

    span.shoar {
        font-size: 0.8rem;
    }

    .DateDigitalServer{
        left: 0;
    }
}

@media only screen and (max-width: 481px) {
    .h-top .center img {
        max-width: 290px
    }

    .h-top .right img.logo-text {
        width: 100px
    }

    .h-top .right img.logo {
        width: 75px;
        margin: 0 auto;
    }

    .h-top .left img {
        width: 190px
    }

    .h-bottom:after {
        width: 70%
    }

    .pw-wrapper h2.pw-title:before,
    .pw-wrapper h2.pw-title:after {
        width: 50px;
        background-size: cover !important
    }

    header nav:after {
        width: 43%
    }
}

@media only screen and (max-width: 400px) {
    .h-top .center img {
        max-width: 260px
    }

    header nav:after {
        width: 32%
    }

    #header.sticky .h-top .right img.logo {
        width: 65px
    }

    #header.sticky nav {
        margin-top: -60px
    }

    .h-top {
        padding-bottom: 10px
    }

    span.shoar {
        bottom: -10px
    }
}