@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/iranyekan/eot/iranyekanwebbold.eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebbold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanwebbold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iranyekan/ttf/iranyekanwebbold.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/iranyekan/eot/iranyekanwebthin.eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebthin.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanwebthin.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iranyekan/ttf/iranyekanwebthin.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/iranyekan/eot/iranyekanweblight.eot');
    src: url('../fonts/iranyekan/eot/iranyekanweblight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanweblight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iranyekan/ttf/iranyekanweblight.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/iranyekan/eot/iranyekanwebregular.eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebregular.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanwebregular.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iranyekan/ttf/iranyekanwebregular.ttf') format('truetype');
}

@font-face {
    font-family: Tahoma;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/iranyekan/eot/iranyekanwebregular.eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebregular.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanwebregular.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iranyekan/ttf/iranyekanwebregular.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/iranyekan/eot/iranyekanwebmedium.eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebmedium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanwebmedium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iranyekan/ttf/iranyekanwebmedium.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/iranyekan/eot/iranyekanwebextrabold.eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebextrabold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanwebextrabold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iranyekan/ttf/iranyekanwebextrabold.ttf') format('truetype');
}

@font-face {
    font-family: iranyekannum;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/iranyekan/eot/iranyekanwebboldfanum.eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebboldfanum.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanwebboldfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iranyekan/ttf/iranyekanwebboldfanum.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/iranyekan/eot/iranyekanwebblack.eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebblack.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanwebblack.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/iranyekan/ttf/iranyekanwebblack.ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 950;
    src: url('../fonts/iranyekan/eot/iranyekanwebextrablack.eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebextrablack.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/iranyekan/woff/iranyekanwebextrablack.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../ fonts/iranyekan/ttf/iranyekanwebextrablack.ttf ') format(' truetype ');
}

html {
    font-family: iranyekan !important;
}

body {
    font-family: iranyekan !important;
    line-height: 2;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: iranyekan !important;
}

.header-banner {
    position: relative;
    height: 150px;
}

.header-banner .background {
    width: 100%;
    height: 12rem;
}

.header-banner .logo {
    position: absolute;
    top: 20px;
    height: 100px;
    width: 100px;
    right: 41px;
}

.header-banner .logo-text {
    position: absolute;
    top: 25px;
    right: 130px;
    padding-right: 20px;
}

p {
    text-align: justify;
}

nav {
    background-color: rgba(0, 78, 152, 0.82);
    color: white;
    direction: rtl;
}

.navbar-collapse {
    flex-grow: unset;
}

.nav-item {
    padding: 0 10px;
    font-size: 16px;
}

/*section a {*/
/*    color: #004E98 !important;*/
/*    text-decoration: underline !important;*/
/*}*/

.title {
    border-right: 10px solid #FF9505;
    color: #004E98;
}

.navbar {
    --bs-navbar-color: rgba(255, 255, 255, 0.75);
    --bs-navbar-hover-color: rgb(255, 255, 255);
    --bs-navbar-disabled-color: rgba(0, 0, 0, 0.3);
    --bs-navbar-active-color: rgb(255, 255, 255);
}

.navbar ul {
    margin-block-start: 0;
    padding-inline-start: 60px;
}

.navbar .dropdown-menu {
    padding-inline-start: 0;
    text-align: start;
    color: #ffffff;
    background-color: #2e70a9;
}

.dropdown-item {
    color: white;
    background-color: #2e70a9;
    font-size: 14px;
}

.dropdown-item.active, .dropdown-item:active {
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(0, 78, 152, 0.82);
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #ffffff;
    background-color: rgba(0, 78, 152, 0.82);
}

.navbar-nav {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 0;
}

section {
    margin: 0 10% 20px 10%;
}


#base_news {
    margin: 20px 10%;
}

#base_news .swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

#base_news .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    background-size: cover;
    background-position: center;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;

}

#base_news .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#base_news .mySwiper2 {
    height: 33rem;
    width: 100%;
}

#base_news .mySwiper2 img {
    position: relative;
}

#base_news .mySwiper2 .img-caption {
    margin: 10px;
    padding: 15px;
    text-align: justify;
    position: absolute;
    bottom: 8px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

#base_news .mySwiper2 .img-caption h4 {
    font-weight: 800;
}

#base_news .mySwiper {
    height: 29.5rem;
    box-sizing: border-box;
}

#base_news .mySwiper .swiper-slide {
    width: 100%;
    height: 100%;
    padding: 10px;
    text-align: justify;
    border: 1px solid rgba(120, 120, 120, 0.23);
    border-radius: 5px;
}

#base_news .mySwiper .swiper-slide:hover {
    background: #ededed;
}

.news-link-a:hover .col .card {
    background: #ededed;
}

#base_news .mySwiper .swiper-slide .counter p {
    text-align: center;
    margin: auto;
    width: 50%;
    font-size: 45px;
    color: #89939E;
}

#base_news .mySwiper .swiper-slide h6 {
    font-weight: 800;
    margin: 10px 0;
    font-size: 16px;
    color: #000000;
}

#base_news .mySwiper .swiper-slide p {
    font-size: 14px;
    margin: 10px 0;
    color: #89939E;
}

#base_news .mySwiper .swiper-slide-thumb-active p,
#base_news .mySwiper .swiper-slide-thumb-active h6,
#base_news .mySwiper .swiper-slide-thumb-active .counter p {
    color: #004E98;
}

#base_news .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alert {
    background: #FFF4E6;
    border-right: 10px solid #FF9505;
}

#alert_message {
    text-align: justify;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
}

.separator::before,
.separator::after {
    content: ' ';
    flex: 1;
    border-bottom: 1px solid #d3d3d3;
    margin: 0 10px;

}

.separator:not(:empty)::before {
    margin-right: .25em;
}

.separator:not(:empty)::after {
    margin-left: .25em;
}

.solid-border {
    display: block;
    height: 27px;
    margin-top: 19px;
    border-top: solid 2px;
    border-color: rgba(0, 78, 152, 0.1);
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: unset;
}

.nav-tabs .nav-link {
    margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width));
    background: unset;
    border: unset;
    border-top-left-radius: unset;
    border-top-right-radius: unset;
}

#website-services .nav-item {
    padding: 0px;
}

#ex2-content .tab-pane a:before {
    content: "> ";
}

#ex2-content .tab-pane a:hover {
    color: #004E98 !important;
}

#website-services a {
    text-decoration: unset !important;
    color: #283849;
}

#website-services .service-card {
    text-align: justify;
}

#website-services .service-card .col-sm-12 img {
    height: 30px;
    width: 30px;
}

#website-services .nav-item p {
    color: #89939E;
    font-size: 14px;
}

#website-services .tab-content {
    background: #F5F7FA;
    padding: 10px;
}

#website-services .nav-item h5 {
    text-decoration: unset !important;
    color: #283849;
    font-size: 16px;
}

#website-services .nav-item .active {
    background: linear-gradient(180deg, rgba(245, 247, 250, 0) 0%, #F5F7FA 100%);
    border-color: unset;
    border-bottom: 4px solid #004E98;
}

#website-services .tab-content a {
    padding: 5px 20px;
    color: #283849 !important;
    font-size: 15px;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
}

.section-title .title {
    color: #283849 !important;
}

.section-title a {
    color: #283849 !important;
    font-size: 14px !important;
}

#news .card .card-body .card-title {
    border-right: 3px solid #FF9505;
    padding: 2px 0;
}

#news .card .card-title strong {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    background: #FF9505;
    margin-right: 1px;
    padding: 3px 5px;
}

#news .card p {
    font-size: 12px;
    font-weight: 600;
    text-align: justify;
}

.card .card-body i,
.card .card-body span {
    font-size: 12px;
    color: #89939E;
    padding: 3px;
}

#news .card {
    --bs-card-border-color: unset;
}

#news .card-body {
    padding: 10px 5px;
}

#peyvandha img, #ghanonsenfi img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#peyvandha .rigth-side-banner img {
    height: 410px;
    object-fit: cover;
}

#peyvandha .left-side-banner img {
    height: 87px;
}

#FAQ .accordion,
#rules-accordion .accordion {
    margin: 40px auto;
    background: #F5F7FA;
}

#FAQ .accordion-item .accordion-button,
#rules-accordion .accordion-item .accordion-button {
    background-color: #F5F7FA;
    text-align: start;
    line-height: 2;
}

#FAQ .accordion-button:not(.collapsed),
#rules-accordion .accordion-button:not(.collapsed) {
    color: #000000;
    background-color: #F5F7FA;
}

#FAQ .accordion h2,
#rules-accordion .accordion h2 {
    color: #000000;
}

#FAQ .accordion .accordion-body,
#rules-accordion .accordion .accordion-body {
    font-size: 14px;
    color: #4c4c4c;
    background-color: #F5F7FA;
    text-align: justify;
}

#FAQ .accordion-button::after,
#rules-accordion .accordion-button::after {
    margin-left: 0 !important;
    margin-right: auto;
}

#footer {
    background: #004E98;
    color: #ffffff;
    margin: 0;
    margin-top: 100px;
    padding: 50px;
    direction: rtl;
    text-align: justify;
}

#footer a {
    color: #ffffff !important;
    text-decoration: unset !important;
    font-size: 14px;
}

#detail {
    margin-top: 50px;
}

#news_detail .col-lg-2:first-child {
    padding: 15px 0;
}

#news_detail .news_description {
    margin-top: 20px;
}

#news_detail .news_properties i {
    color: #89939E;
}

#news_detail .news_properties i span {
    font-family: iranyekan;
    font-weight: 600;
    padding-right: 10px;
    color: #89939E;
}

#news_detail {
    margin: 20px 0;
    text-align: justify;
}

.nav-link .col {
    padding: 0;
}


#counter .counter-item img {
    width: auto;
    height: 100px;
}

#counter .counter-item h3 {
    margin-top: 20px;
    font-size: 32px;
    font-weight: 800;
}

#part-1 i {
    color: #646464;
}

#part-1 h6 {
    text-align: justify;
}

#part-1 .title {
    border-right: 4px solid #FF9505;
}

#part-1 i span {
    color: #636363be;
    font-size: 30px;
}

#part-1 .row {
    margin: 10px 0;
}

#part-1 h1 {
    margin: 20px 0px;
    font-weight: 800;
}

#part-1 .col-4 {
    padding-right: 0;
}

#part-1 img {
    width: 100%;
}

#part-1 p {
    text-align: justify;
    margin-top: 20px;
    font-size: 18px;
}

#part-1 .left-side h5 {
    text-align: justify;
}

#part-1 .row > * {
    padding-left: 0;
}


#part-1 .left-side .card-title {
    margin-top: 5rem !important;
    padding: 4px 2px;
}

#part-1 .left-side .card-title strong {
    color: #ffffff;
    background-color: #FF9505;
    width: 40%;
    padding: 5px;
    right: 0px;
    font-size: 14px;
}


#part-1 .left-side .date span {
    color: #636363be;
    font-size: 14px;
}


#part-1 .left-side .date i {
    padding-right: 20px;
}

#detail a {
    color: #4c4c4c !important;
    text-decoration: none !important;
}

.three-line {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.two-line {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.btn {
    color: white !important;
    text-decoration: unset !important
}

.card-title strong {
    color: #ffffff;
    background-color: #FF9505;
    padding: 3px;
}

.header-banner .login-signup {
    position: absolute;
    top: 40px;
    left: 30px;
}

#counter_body {
    margin-right: 150px !important;
}

@media (min-width: 1280px) {
    .width55{
        width: 55.5% !important;
    }
    .width45{
        width: 44.5% !important;
    }
}
