/*
 Theme Name: mahanatheme
 Theme URI: https://iransite.com/
 Author: IRANSITE
 Author URI: mailto:info@iransite.com
 Description: Powered by IRANSITE company
 Version: 1.0
 License: Free
 Text Domain: iransite
*/
@font-face {
	font-family: 'Dana';
	src: url('fonts/Dana-Regular.woff2') format('woff2'), url('fonts/Dana-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Dana';
	src: url('fonts/Dana-Bold.woff') format('woff2'), url('fonts/Dana-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
:root {
	--bs-primary: #5A6445;
	--bs-secondary: #E7E2D4;
	--bs-body-font-size: 16px;
	--bs-body-color: #222222;
	--bs-light-rgb: 251, 251, 251;
	--bs-dark-rgb: 0, 0, 0;
	--bs-primary-rgb: 90, 100, 69;
	--bs-secondary-rgb: 231, 226, 212;
	--bs-body-font-family: Dana, Arial, tahoma;
	--bs-box-shadow: 0 3px 8px rgba(0,0,0,0.1);
	--bs-border-radius: 0;
}
.lh-xl {
	line-height: 2.5rem !important;
}
body {
	line-height: 2;
}
img {
	max-width: 100%;
}
a {
	text-decoration: none;
	color: #5a6445;
}
.link-primary:focus, .link-primary:hover {
	color: #fff !important;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	line-height: 2;
	color: var(--bs-body-color);
	font-weight: bold;
}
.h1, h1 {
	font-size: 18px;
}
.h2, h2 {
	font-size: 18px;
	font-weight: bold
}
.h3, h3 {
	font-size: 16px;
	font-weight: bold
}
input[type=text], input[type=tel], input[type=number], input[type=email], input[type=password], select, textarea {
	border-radius: 0 !important;
	border: 1px solid #D9D9D9 !important;
	background: #FFFFFF;
	padding: 0 10px !important;
	line-height: 45px !important;
	height: 45px !important;
	font-family: Dana !important;
	outline: 0 !important;
}
textarea {
	display: block;
	height: auto !important;
	min-height: 150px !important;
	line-height: 2em !important;
}
iframe {
	display: block;
	max-width: 100%;
	width: 100%;
}
.text-justify {
	text-align: justify;
}
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: rgba(var(--bs-primary-rgb), 0.7);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #999;
    --bs-btn-disabled-border-color: #666;
	border-radius: 5px;
	border-width: 0; 
	padding: 0 20px;
	height: 45px;
	line-height: 45px;
	transition: all .3s ease-in-out;
}
.btn-secondary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: rgba(var(--bs-secondary-rgb), 0.7);;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #999;
    --bs-btn-disabled-border-color: #666;
	border-radius: 5px;
	border-width: 0; 
	padding: 0 10px;
	height: 45px;
	line-height: 45px;
	transition: all .3s ease-in-out;
}
.btn, button {
	padding: 0 10px;
	height: 45px;
	border-radius: 5px !important;
}

body ::-webkit-scrollbar {
    width: 5px;
	height: 5px
}
body ::-webkit-scrollbar-track {
    background: rgba(var(--bs-primary-rgb), 0.3);
	border-radius: 5px;
}
body ::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
	border-radius: 5px;
}

header {
	padding-top: 1.5rem;
}
.header-inner {
	padding: 20px 36px;
}

.main-menu ul {
	list-style: none;
}
.main-menu ul.menu-l1 > li {
	display: inline-block;
}
.main-menu ul.menu-l1 > li > a {
	padding: 0 20px;
	transition: all .3s ease-in-out;
	position: relative;
	color: var(--bs-secondary);
}
.main-menu ul.menu-l1 > li.active > a, .main-menu ul.menu-l1 > li:hover > a {
	color: #fff !important;
}
.main-menu ul.menu-l1 > li > a.dropdown:after {
	content: url(images/icons/chevron-bottom.svg);
	margin-right: 5px;
}
.main-menu .menu-l2.dropdown-box {
	position: absolute;
	background: var(--bs-primary);
	padding: 10px 0;
	min-width: 160px;
	top: 100%;
	right: -999em;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}
.main-menu .menu-l2.dropdown-box li {
	position: relative;
}
.main-menu .menu-l2.dropdown-box li:not(:last-child) {
	margin-bottom: 10px;
}
.main-menu .menu-l2.dropdown-box li a {
	font-size: 1rem;
	padding: 0 15px;
	color: var(--bs-secondary);
	font-size: 14px;
}
.main-menu .menu-l2.dropdown-box li:hover a {
	color: #fff;
}
.main-menu li.dropdown:hover .dropdown-box {
	right: 0;
	opacity: 1;
}
.main-menu ul.menu-l3.dropdown-box {
    padding: 10px 15px;
    min-width: 160px;
    position: absolute;
    right: -999em !important;
	opacity: 0 !important;
	transition: opacity 0.3s ease-in-out;
    top: 0;
    background: var(--bs-primary);
}
.main-menu .menu-l2 > li:hover ul.menu-l3.dropdown-box {
    right: calc(100%) !important;
	opacity: 1 !important;
}
.main-menu ul.menu-l2 > li > a {
	display: flex;
	justify-content: space-between;
}
.main-menu ul.menu-l2 > li > a.has-child:after {
	content: url(images/icons/chevron-bottom.svg);
	transform: rotate(90deg) !important;
	margin-right: 5px;
}

header #mobile-menu-toggler {
	width: 35px;
}
header #mobile-menu-toggler .toggler-bar {
	width: 100%;
	height: 2px;
	background: #fff;
	border-radius: 10px;
	display: block;
	margin-bottom: 10px;
}
header #mobile-menu-toggler .toggler-bar:last-child {
	margin: 0;
}

.call-button a {
	padding: 14px;
}
.call-button a:before {
	content: '';
	width: 30px;
	height: 30px;
	background: url(images/icons/headset.svg) no-repeat center center;
	background-size: contain;
	margin-left: 1rem;
}

.service-line {
	padding: 12px 20px;
	margin-bottom: calc(var(--bs-gutter-x) * .5);
}
.service-line:last-child {
	margin-bottom: 0;
}
.service-icon {
	width: 30px;
}
.main-slideshow *:not(.owl-dots) {
	height: 100%;
}
.main-slideshow .slide-item {
	background-position: center center;
    background-size: cover;
}
.main-slideshow .owl-dots {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	padding: 1rem 0;
}
.main-slideshow .owl-dots button {
	width: 16px;
	height: 16px;
	border-radius: 50% !important;
	border: 2px solid #fff;
	padding: 0;
	margin: 0 0.25rem;
	position: relative;
}
.main-slideshow .owl-dots button.active:before {
	content: '';
	width: 9px;
	height: 9px;
	border-radius: 50% !important;
	background: #fff;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.first-tab button {
	border: none !important;
	border-radius: 0 !important;
}
.first-tab button.active {
	font-weight: bold;
	border-bottom: 2px solid #4A4A4A !important;
}

.doctor-info .speciality {
	font-size: 0.85rem;
}

.section-title.title-center {
	text-align: center;
	color: var(--bs-primary);
	position: relative;
}
.section-title.title-center > * {
	padding: 0 1rem;
	z-index: 1;
	position: relative;
	display: inline-block;
	margin: 0;
	color: var(--bs-primary) !important;
}
.section-title.title-center:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background: var(--bs-primary);
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.vertical-tabs .nav {
	flex-basis: 25%;
}
.vertical-tabs .nav button {
	border-radius: 0 !important;
	background: none !important;
	border-bottom: 2px solid #c8c8c8;
	font-weight: normal;
	color: var(--bs-primary);
}
.vertical-tabs .nav button.active {
	font-weight: bold;
	border-bottom-color: var(--bs-primary);
	color: var(--bs-primary);
}

.form-holder {
	background: url(../../uploads/2023/06/moshavereh.jpg) no-repeat center center;
	background-size: cover;
}
.form-inner {
	background: rgba(48, 48, 48, 0.6);
}

#gform_fields_2 {
    align-items: start;
    grid-template-columns: repeat(16,1fr);
}
#gform_submit_button_2 {
    max-width: 160px;
}
#gform_fields_2 .gfield {
    display: flex;
    grid-column: span 4;
    gap: 0 7px;
    align-content: center;
    align-items: center;
}
#gform_fields_2 .gfield.gfield--type-submit {
    grid-column: span 2;
    display: flex;
    justify-content: flex-end;
    line-height: unset !important;
}
div#field_2_4 {
    grid-column: span 5 !important;
}
div#field_2_1 {
    grid-column: span 5 !important;
}
#gform_fields_2 label.gfield_label {
    color: #fff;
    font-weight: normal !important;
    margin: 0;
}
#gform_fields_2 input, #gform_fields_2 select {
    background: #ffffff00 !important;
    border: unset !important;
    border-bottom: 1px solid #fff !important;
    color: #fff;
}
#gform_fields_2 option {
    color: #000;
}

.accordion-item {
	border: none;
	padding: 0.75rem;
}
.accordion-item:not(:first-child) {
	margin-top: 20px;
}
.accordion-button {
	background: none !important;
}
.accordion-button:after {
	display: none;
}
.accordion-body-inner {
	font-size: 0.85rem;
	color: #6c6c6c;
	padding-right: 60px;
}
.faq-number {
	width: 50px;
	height: 50px;
	color: var(--bs-primary);
	background: var(--bs-secondary);
	color: var(--bs-primary);
	margin-left: 10px;
	text-align: center;
	line-height: 50px;
}

.blog-item {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	padding: 20% 0;
	position: relative;
}
.blog-item:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.4;
	z-index: 1;
}
.blog-item .readmore {
	display: inline-flex;
	align-items: center;
}
.blog-item .readmore:after {
	content: url(images/icons/chevron-left.svg);
	margin-right: 1rem;
}

.single-content img {
	margin: 0 auto;
	display: block;
}

.paginate .page-numbers {
	color: var(--bs-primary);
	width: 30px;
	height: 30px;
	line-height: 30px;
	display: inline-block;
	border-radius: 0;
}
.paginate .page-numbers.current, .paginate .page-numbers:hover {
	background-color: var(--bs-secondary);
}

.contact-box {
	flex-basis: 25%;
}
.map {
	margin-top: -100px;
}

footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer a {
	color: var(--bs-body-color);
}
footer .footer-links {
	height: 192px;
	overflow-y: auto;
}

@media only screen and (max-width: 767px) {
	body.mobile-menu-active {
		overflow-y: hidden;
	}
	body.mobile-menu-active header #mobile-menu-toggler .toggler-bar {
		background: var(--bs-secondary);
	}
	body.mobile-menu-active:before {
		content: '';
		position: fixed;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.5);
		z-index: 2;
	}
	header {
		padding: 10px 0;
		z-index: 10000 !important;
	}
	header .logo {
		width: 45%;
		order: 2;
	}
	header .main-menu {
		width: 10%;
		order: 1;
	}
	header .call-button {
		width: 45%;
		order: 3;
	}
	header .call-button a {
		padding: 7px;
	}
	.header-inner {
		padding: 10px;
	}
	header .main-menu .menu-l1 {
		position: fixed;
		right: -100%;
		top: 90px;
		width: 70%;
		height: calc(100% - 90px);
		transition: all .3s ease-in-out;
		background: var(--bs-secondary);
		overflow-y: auto;
	}
	header .main-menu .menu-l1.menu-active {
		right: calc(var(--bs-gutter-x) * .5);
	}
	.main-menu ul.menu-l1 > li {
		display: block;
	}
	.main-menu ul.menu-l1 > li > a {
		padding: 10px 25px;
		color: #000;
	}
	.main-menu ul.menu-l1 > li.active > a, .main-menu ul.menu-l1 > li:hover > a {
		color: var(--bs-primary);
	}
	.main-menu .menu-l2.dropdown-box {
		background: rgba(var(--bs-primary-rgb), 0.2);
	}
	.main-menu ul.menu-l1 > li > .dropdown {
		display: flex;
		justify-content: space-between;
	}
	.main-menu .menu-l2.dropdown-box {
		position: relative;
		opacity: 1;
		right: unset;
		top: unset;
		border-radius: 0;
		box-shadow: none;
		padding: 10px 25px;
		overflow: hidden;
	}
	.main-menu .menu-l2.dropdown-box li a {
		color: #000;
	}
	.main-menu ul.menu-l1 > li > a:before {
		display: none;
	}
	body .main-menu .menu-l2 > li ul.menu-l3.dropdown-box, body .main-menu .menu-l2 > li:hover ul.menu-l3.dropdown-box {
		position: relative !important;
		opacity: 1 !important;
		right: unset !important;
		top: unset !important;
		border-radius: 0;
		box-shadow: none;
		padding: 10px 25px !important;
		overflow: hidden;
		margin-top: 15px;
		background: rgba(var(--bs-primary-rgb), 0.2) !important;
	}
	
	.main-slideshow {
		height: 200px !important;
		margin-bottom: calc(var(--bs-gutter-x) * .5);
	}
	.vertical-tabs .nav {
		width: 100%;
		margin-bottom: 2rem;
	}
	
	#gform_fields_2 {
		grid-template-columns: repeat(1,1fr);
		grid-row-gap: 40px;
	}
	#gform_fields_2 .gfield {
		flex-direction: column;
		align-items: unset;
	}
	
	.contact-box {
		margin-bottom: 0.5rem
	}
	.map {
		margin-top: 1rem
	}
	
	.single-content img {
		height: auto;
	}
}