/*
Theme Name: Mednix child
Template:   mednix
Theme URI: https://mednix.themesht.com/
Author: Themeht
Author URI: https://www.themeht.com
Description: Mednix - Child Theme
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mednix
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, threaded-comments, translation-ready, left-sidebar, custom-background, custom-colors, custom-header, featured-images, sticky-post
*/
@font-face {
    font-family: 'vazir';
    font-display: swap;
    src: url('fonts/vazir.eot?#') format('eot'), url('fonts/vazir.woff') format('woff'), url('fonts/vazir.ttf') format('truetype');
}

@font-face {
    font-family: 'yekan';
    font-display: swap;
    src: url('fonts/yekan.eot?#') format('eot'), url('fonts/yekan.woff') format('woff'), url('fonts/yekan.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: 900;
    src: url('fonts/eot/IRANSansWeb(FaNum)_Black.eot');
    src: url('fonts/eot/IRANSansWeb(FaNum)_Black.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('fonts/woff2/IRANSansWeb(FaNum)_Black.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('fonts/woff/IRANSansWeb(FaNum)_Black.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('fonts/ttf/IRANSansWeb(FaNum)_Black.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: bold;
    src: url('fonts/eot/IRANSansWeb(FaNum)_Bold.eot');
    src: url('fonts/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('fonts/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('fonts/woff/IRANSansWeb(FaNum)_Bold.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('fonts/ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('fonts/eot/IRANSansWeb(FaNum)_Medium.eot');
    src: url('fonts/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('fonts/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('fonts/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: 300;
    src: url('fonts/eot/IRANSansWeb(FaNum)_Light.eot');
    src: url('fonts/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('fonts/woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('fonts/woff/IRANSansWeb(FaNum)_Light.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('fonts/ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: 200;
    src: url('fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot');
    src: url('fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('fonts/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('fonts/woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('fonts/ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url('fonts/eot/IRANSansWeb(FaNum).eot');
    src: url('fonts/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('fonts/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('fonts/woff/IRANSansWeb(FaNum).woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('fonts/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}


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

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

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

@font-face {
    font-family: shabnam;
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url('fonts/shabnam/Shabnam-Bold-FD.eot');
    src: url('fonts/shabnam/Shabnam-Bold-FD.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('fonts/shabnam/Shabnam-Bold-FD.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('fonts/shabnam/Shabnam-Bold-FD.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('fonts/shabnam/Shabnam-Bold-FD.ttf') format('truetype');
}

@font-face {
    font-family: shabnam;
    font-style: normal;
    font-display: swap;
    font-weight: 300;
    src: url('fonts/shabnam/Shabnam-Light-FD.eot');
    src: url('fonts/shabnam/Shabnam-Light-FD.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('fonts/shabnam/Shabnam-Light-FD.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('fonts/shabnam/Shabnam-Light-FD.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('fonts/shabnam/Shabnam-Light-FD.ttf') format('truetype');
}

@font-face {
    font-family: shabnam;
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url('fonts/shabnam/Shabnam-FD.eot');
    src: url('fonts/shabnam/Shabnam-FD.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('fonts/shabnam/Shabnam-FD.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('fonts/shabnam/Shabnam-FD.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('fonts/shabnam/Shabnam-FD.ttf') format('truetype');
}
body {
    font-family: "iranyekan", sans-serif !important;
    direction: rtl;
    font-weight: 400;
	font-size: 16px;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "shabnam", sans-serif !important;
    letter-spacing: -0.2px;
    line-height: 1.4 !important;
}

h1 {
    font-weight: 800 !important;
}

h2 {
    font-weight: 700 !important;
}

h3 {
    font-weight: 600 !important;
}

h4 {
    font-weight: 600 !important;
}

h5 {
    font-weight: 500 !important;
}

h6 {
    font-weight: 500 !important;
}

/* متن‌های المنتوری که نقش تیتر دارند */
.elementor-widget-text-editor {
	font-family: "iranyekan", sans-serif !important;
}
.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3 {
    font-family: "shabnam", sans-serif !important;
}
.elementor-widget.elementor-widget-text-editor{
    font-family: "iranyekan", sans-serif !important;
}
p {
    text-align: justify;
	font-family: "iranyekan", sans-serif !important;
}
h3 {
    letter-spacing: 0em !important;
}
.nav-title {
    font-family: "iranyekan", sans-serif !important;
}
/*menu*/
@media (min-width: 1200px) {
  .main-nav > ul > li.menu-item-has-children > a::after {
    margin-right: 0.3em;
    margin-left: auto;
    vertical-align: -.35em !important;
  }
  body.home div#header-sticky .main-nav>ul>li>a {
      color: var(--themeht-text-color);
  }

  body div.fixed-header .main-nav>ul>li>a {
      color: var(--themeht-white-color) !important;
  }

  body div#header-sticky .main-nav>ul>li>a {
      color: var(--themeht-white-color);
  }
}
.main-nav ul.sub-menu{
    right: 0;
    left: auto !important;
}

/*button*/
.themeht-btn{
    padding-right: 20px;
    padding-left: 4px !important;
}
.themeht-btn .btn-icon i:first-child {
    rotate: 180deg;
}
.themeht-btn .btn-icon i:last-child {
    rotate: 180deg;
}
.header-number svg{
    margin-left: 15px;
    margin-right: 0px;
}
/*box*/
.featured-item.style-1 .featured-number-wrap {
    left: -1px;
    right: auto;
}
.featured-item.style-1 .featured-number-inner {
    border-radius: 0 30px 0 0;
    padding: 10px 10px 0 0;
    background-color: var(--themeht-white-color);
    border-right: 1px solid var(--themeht-border-light-color);
    border-top: 1px solid var(--themeht-border-light-color);
    border-left: 0px !important;
}
.featured-item.style-1 .featured-number-wrap::before{
    left: 0;
    right: auto !important;
    border-left: 0;
    box-shadow: 0 16px 0 0 var(--themeht-white-color) !important;
    rotate: 90deg;
}
.featured-item.style-1 .featured-number-wrap::after {
    right: -29px;
    left: 0;
    box-shadow: 0 16px 0 0 var(--themeht-white-color) !important;
    rotate: 90deg;
}
.shape-item-icon {
    right: auto !important;
    left: -6px;
}
.light-bg .shape-item-icon svg {
    rotate: 90deg;
}
.shape-item-icon .shape-item-icon-link{
    left: 6px;
    right: auto;
}
.shape-item-icon .shape-item-icon-link i{
    rotate: -90deg;
}
.featured-item.style-3 .featured-icon{
    margin-left: 20px;
    margin-right: 0px;
}
/*list*/
.list-icon li i{
    margin-right: 0px;
    margin-left: 10px;
}
.list-unstyled {
    padding-right: 0;
}
/*footer*/
.ht-blob-two{
    filter: blur(7vw) invert(0);
}
/*mobile menu*/
.sub-menu-toggle{
left: 0;
right: auto !important
}
.main-nav .sub-menu-toggle i.bi-chevron-right:before {
rotate: 180deg;
}
.main-nav .sub-menu-toggle i.bi-chevron-up:before {
rotate: 180deg;
}
.breadcrumb i{
	margin-left: 10px;
	margin-right: auto !important;
}
.site-main .post-navigation .nav-links .nav-next .nav-subtitle-arrow i{
    left: 6px;
    top: -3px;
    rotate: 180deg;
}
.site-main .comment-navigation .nav-links .nav-next,
.site-main .posts-navigation .nav-links .nav-next,
.site-main .post-navigation .nav-links .nav-next{
    margin-right: auto;
    margin-left: 0;
}
.site-main .comment-navigation .nav-links .nav-previous .nav-subtitle-arrow i,
.site-main .posts-navigation .nav-links .nav-previous .nav-subtitle-arrow i,
.site-main .post-navigation .nav-links .nav-previous .nav-subtitle-arrow i{
    left: 6px;
    rotate: 0deg;
    transform: rotate(0deg);
    right: -5px;
    top:3px;
}
.site-main .comment-navigation .nav-links .nav-previous a:hover .nav-subtitle-arrow i,
.site-main .posts-navigation .nav-links .nav-previous a:hover .nav-subtitle-arrow i,
.site-main .post-navigation .nav-links .nav-previous a:hover .nav-subtitle-arrow i {
    right: 2px;
}
/*sidebar*/
.widget .widget-title::before,
.widget .wp-block-heading::before,
.wp-block-archives__label::before,
.wp-block-search__label::before{
    right:0;
    left:auto;
}
.widget.widget_categories ul li::before,
.wp-block-categories li::before{
    right: 0;
    left: auto;
}
.widget .widget-title,
.widget .wp-block-heading,
.wp-block-archives__label,
.wp-block-search__label,
.wp-block-archives-dropdown label,
.wp-block-search .wp-block-search__label{
    padding-left:0px;
    padding-right: 30px;
}
.widget_categories li,
.wp-block-categories li{
    padding-left: 0px;
    padding-right: 25px;
}
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button, .search-form button[type="submit"]{
    left:0px;
    right:auto;
}
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button::before{
    left: 0px;
    right: auto;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.widget .widget-title,
.widget .wp-block-heading,
.wp-block-archives__label,
.wp-block-search__label,
.wp-block-archives-dropdown label,
.wp-block-search .wp-block-search__label{
    font-family: "iranyekan", sans-serif !important;
}

.post-single-page .post-bottom li,
.post-card.post-classic .post-bottom li{
    margin-left: 30px;
    margin-right: 0px;
}
.post-single-page .post-bottom li::before,
.post-card.post-classic .post-bottom li::before{
    left: -18px;
    right:auto;
}