﻿/*
Author:      Alireza Roshanaie
Author URI:  https://mihanjs.com/
*/
@font-face {
	font-family: "IRANYekan";
	src: url(../fonts/iranyekan700/IRANYekan.eot?#iefix) format("embedded-opentype"),
		url(../fonts/iranyekan700/IRANYekan.ttf) format("truetype"),
		url(../fonts/iranyekan700/IRANYekan.woff) format("woff"),
		url(../fonts/iranyekan700/IRANYekan.woff2) format("woff2");
	font-weight: 700;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


body {
	direction: rtl;
	background-color: #c8c8c8;
	font-family: "IRANYekan";
	font-style: normal;
	font-size: 14px;
	font-weight: normal;
	text-align: right;
	padding-top: 220px;
	overflow-x: hidden !important;
}

a,
a:hover {
	text-decoration: none;
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
}


button,
button:focus {
	border: 0;
	outline: none;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

header.page-header {
	background-color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	z-index: 100;
}

.container {
	max-width: 1366px;
}

header.page-header .bottom-page-header {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	background-color: #fff;
	padding: 10px 0;
	position: relative;
	z-index: 100;
}

header.page-header .bottom-page-header .site-logo {
	margin-left: 45px;
}

header.page-header .bottom-page-header .site-logo a {
	display: block;
}

header.page-header .bottom-page-header .site-logo a img {
	max-width: 100%;
}

.float-left {
	float: left;
	font-size: 14px;
	margin-top: 10px;
}

.modal-content .modal-body {
	margin-top: 20px;
}

.modal .modal-header .close {
	float: left;
	padding: 1px 5px;
	text-align: center;
}

.full-modal {
	padding: 0 !important;
	background: rgba(255, 255, 255, 0.8);
}

.full-modal .modal-content {
	border-radius: 0;
	border: none;
}

.full-modal .modal-dialog {
	width: 90%;
	height: 100%;
	margin: auto;
	padding: 0 !important;
}

.full-modal .modal-content {
	min-height: 98%;
}

.full-modal.modal .close {
	font-size: 36px;
	outline: none !important;
}

.full-modal .input-group input.form-control {
	height: 41px;
}

.modal .modal-header .close {
	border-radius: 25px;
	border: 1px solid #d2d2d2;
	color: #999;
	width: 32px;
	height: 32px;
	line-height: 34px;
	font-size: 20px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

.modal .modal-header .close:hover,
.modal .modal-header .close:focus {
	background: #ff5a5f;
	color: #fff;
}

#cities-map {
	display: block;
	position: relative;
	direction: rtl;
	text-align: right;
	padding: 0;
	font-size: 13px;
	width: 100%;
	/* float: right; */
}

#cities-map .map {
	display: block;
	float: left;
	width: 60%;
	text-align: left;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

#cities-map .map svg {
	height: auto;
	width: 90%;
}

#cities-map .map .border path,
#cities-map .map .island path {
	fill: #fff;
}

#cities-map .map .province path {
	fill: #d2d2d2;
}

#cities-map .map .sea path,
#cities-map .map .lake path {
	fill: #6caed8;
}

#cities-map .map .province path:hover,
#cities-map .map .island path:hover,
#cities-map .map .province path.hover,
#cities-map .map .island path.hover {
	fill: #54caff !important;
	cursor: pointer;
}

#cities-map .map .province path.active {
	fill: #03a9f4 !important;
}

#cities-map .list {
	display: block;
	float: right;
	width: 40%;
}

#cities-map .list ul {
	padding: 0;
}

#cities-map .list>ul {
	margin-left: 10px;
}

#cities-map .list li {
	list-style: none;
}

#cities-map .list span {
	background: #242424;
	color: #ecf0f1;
	display: block;
	margin: 0 2px;
	padding: 0 8px;
	line-height: 26px;
	margin-top: 10px;
	margin-bottom: 2px;
}

#cities-map .list li ul li {
	display: inline-block;
	float: right;
	width: 49.9999999%;
}

#cities-map .list li ul li a {
	color: #575757;
	display: block;
	padding: 0 10px;
	line-height: 26px;
	margin: 2px 2px;
	text-decoration: none;
	border-radius: 25px;
	border: 1px solid #d2d2d2;
}
/*....................................................*/
#cities-map .list li ul li a:hover,
#cities-map .list li ul li a.hover {
	background: #ee384e;
	color: #fff;
}

#cities-map .list li ul li a.active {
	background: #ee384e;
	color: #fff;
	font-weight: bold;
}
/*....................................................*/
#cities-map .list ul:before,
#cities-map .list ul:after {
	display: table;
	content: " ";
}

#cities-map .list ul,
#cities-map .list ul:after {
	clear: both;
}

#cities-map .city {
	clear: both;
	padding: 10px 0;
}

#project-box {
    margin-top: 40px;
    text-align: center;
    background: #fdfdfd; /* رنگ پس‌زمینه برای زیبایی */
    padding: 20px;
    border-radius: 12px; /* گوشه‌های گرد */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); /* سایه برای جعبه */
}

#province-title {
    font-size: 28px; /* اندازه فونت بزرگتر */
    font-weight: bold;
    margin-bottom: 30px;
    color: #0056b3; /* رنگ آبی تیره */
    text-transform: uppercase; /* تبدیل به حروف بزرگ */
    letter-spacing: 1.5px; /* فاصله بین حروف */
    position: relative;
    display: inline-block;
}

#province-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 100px;
    height: 3px;
    background-color: #ff6b6b; /* خط رنگی زیر عنوان */
    border-radius: 5px;
}

.table {
    margin: 0 auto;
    width: 90%; /* عرض بیشتر برای جدول */
    border-collapse: separate; /* فاصله‌های مجزا برای سلول‌ها */
    border-spacing: 0 15px; /* فاصله بین ردیف‌ها */
}

.table th, .table td {
    padding: 12px 20px; /* فاصله بیشتر درون سلول‌ها */
    text-align: center;
    border: none; /* حذف حاشیه برای سبک تمیزتر */
    background: #fff; /* پس‌زمینه سفید */
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05); /* سایه ملایم برای سلول‌ها */
    border-radius: 12px; /* گوشه‌های گرد برای سلول‌ها */
    transition: all 0.3s ease; /* انیمیشن تغییرات */
}

.table th {
    background-color: #0056b3; /* رنگ پس‌زمینه سرستون */
    color: #fff; /* رنگ سفید برای متن سرستون */
    font-weight: bold;
    text-transform: uppercase; /* حروف بزرگ برای سرستون */
    letter-spacing: 1px;
}

.table tr:hover td {
    background-color: #f1f5f9; /* تغییر رنگ ردیف‌ها هنگام هاور */
    transform: scale(1.02); /* بزرگنمایی ردیف‌ها هنگام هاور */
}

.table tr:nth-child(even) td {
    background-color: #f9fbfd; /* رنگ ملایم برای ردیف‌های زوج */
}

.table tr:nth-child(odd) td {
    background-color: #ffffff; /* رنگ سفید برای ردیف‌های فرد */
}

.province-name {
    font-size: 14px; /* اندازه فونت */
    fill: black; /* رنگ متن */
    text-anchor: middle; /* مرکز متن */
    dominant-baseline: middle; /* مرکز یابی عمودی متن */
}


@media(max-width: 930px) {
	#cities-map .list {
		width: 50%;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	#cities-map .list {
		width: 40% !important;
	}

	.modal-dialog.modal-lg {
		width: 760px;
	}
}

@media (max-width: 767px) {

	#cities-map .map,
	#cities-map .list {
		width: 100%;
	}
}
@media(max-width: 745px) {
	#cities-map .list li ul li {
		width: 50%;
	}
}


@media (min-width: 576px) {
	.modal-dialog {
		max-width: 98%;
	}
}

@media(max-width: 515px) {
	#cities-map .list,
	#cities-map .map {
		width: 100%;
	}

	#cities-map .list li ul li {
		width: 33.33333333333333%;
	}

	#cities-map .list li ul li a {
		font-size: 12px !important;
	}
	#cities-map .list li ul li {
		width: 50%;
	}
}

@media(max-width: 250px) {
	#cities-map .list li ul li {
		width: 100%;
	}
}