﻿/* استایل‌های اصلی دکمه‌ها */
.btn {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	user-select: none;
	border: 1px solid transparent;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: .25rem;
	transition: background-color .15s ease-in-out, border-color .15s ease-in-out, color .15s ease-in-out;
}

/* دکمه‌های با رنگ پس‌زمینه مختلف */
.btn-primary {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

	.btn-primary:hover {
		color: #fff;
		background-color: #0056b3;
		border-color: #0056b3;
	}

.btn-secondary {
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d;
}

	.btn-secondary:hover {
		color: #fff;
		background-color: #5a6268;
		border-color: #545b62;
	}

/* دکمه موفقیت */
.btn-success {
	color: #fff;
	background-color: #28a745;
	border-color: #28a745;
}

	.btn-success:hover {
		color: #fff;
		background-color: #218838;
		border-color: #1e7e34;
	}

/* دکمه خطر */
.btn-danger {
	color: #fff;
	background-color: #dc3545;
	border-color: #dc3545;
}

	.btn-danger:hover {
		color: #fff;
		background-color: #c82333;
		border-color: #bd2130;
	}

/* دکمه هشدار */
.btn-warning {
	color: #212529;
	background-color: #ffc107;
	border-color: #ffc107;
}

	.btn-warning:hover {
		color: #212529;
		background-color: #e0a800;
		border-color: #d39e00;
	}

/* دکمه اطلاعات */
.btn-info {
	color: #fff;
	background-color: #17a2b8;
	border-color: #17a2b8;
}

	.btn-info:hover {
		color: #fff;
		background-color: #117a8b;
		border-color: #10707f;
	}

/* دکمه سبک */
.btn-light {
	color: #212529;
	background-color: #f8f9fa;
	border-color: #f8f9fa;
}

	.btn-light:hover {
		color: #212529;
		background-color: #dae0e5;
		border-color: #dae0e5;
	}

/* دکمه تاریک */
.btn-dark {
	color: #fff;
	background-color: #343a40;
	border-color: #343a40;
}

	.btn-dark:hover {
		color: #fff;
		background-color: #23272b;
		border-color: #1d2124;
	}

/* دکمه لینک */
.btn-link {
	color: #007bff;
	text-decoration: none;
	background-color: transparent;
	border: none;
}

	.btn-link:hover {
		color: #0056b3;
		text-decoration: underline;
	}

/* اندازه دکمه‌ها */
.btn-lg {
	font-size: 1.25rem;
	padding: .5rem 1rem;
}

.btn-sm {
	font-size: .875rem;
	padding: .25rem .5rem;
}

/* دکمه کامل (گسترده) */
.btn-block {
	display: block;
	width: 100%;
}

/* دکمه غیرفعال */
.btn.disabled, .btn:disabled {
	opacity: .65;
	pointer-events: none;
}

/* دکمه فعال */
.btn.active {
	background-color: #0056b3;
	border-color: #0056b3;
}

/* دکمه‌های با حاشیه (outline) */
.btn-outline-primary {
	color: #007bff;
	border-color: #007bff;
	background-color: transparent;
}

	.btn-outline-primary:hover {
		color: #fff;
		background-color: #007bff;
		border-color: #007bff;
	}

.btn-outline-secondary {
	color: #6c757d;
	border-color: #6c757d;
	background-color: transparent;
}

	.btn-outline-secondary:hover {
		color: #fff;
		background-color: #6c757d;
		border-color: #6c757d;
	}

.btn-outline-success {
	color: #28a745;
	border-color: #28a745;
	background-color: transparent;
}

	.btn-outline-success:hover {
		color: #fff;
		background-color: #28a745;
		border-color: #28a745;
	}

.btn-outline-danger {
	color: #dc3545;
	border-color: #dc3545;
	background-color: transparent;
}

	.btn-outline-danger:hover {
		color: #fff;
		background-color: #dc3545;
		border-color: #dc3545;
	}

.btn-outline-warning {
	color: #ffc107;
	border-color: #ffc107;
	background-color: transparent;
}

	.btn-outline-warning:hover {
		color: #212529;
		background-color: #ffc107;
		border-color: #ffc107;
	}

.btn-outline-info {
	color: #17a2b8;
	border-color: #17a2b8;
	background-color: transparent;
}

	.btn-outline-info:hover {
		color: #fff;
		background-color: #17a2b8;
		border-color: #17a2b8;
	}

.btn-outline-light {
	color: #f8f9fa;
	border-color: #f8f9fa;
	background-color: transparent;
}

	.btn-outline-light:hover {
		color: #212529;
		background-color: #f8f9fa;
		border-color: #f8f9fa;
	}

.btn-outline-dark {
	color: #343a40;
	border-color: #343a40;
	background-color: transparent;
}

	.btn-outline-dark:hover {
		color: #fff;
		background-color: #343a40;
		border-color: #343a40;
	}

/* دکمه لینک outline */
.btn-outline-link {
	color: #007bff;
	text-decoration: none;
	background-color: transparent;
	border: none;
}

	.btn-outline-link:hover {
		color: #0056b3;
		text-decoration: underline;
	}


/* کلاس برای گرد کردن کامل یک المان (دایره) */
.rounded-circle {
	border-radius: 50% !important;
}

/* کلاس برای گرد کردن ملایم گوشه‌ها */
.rounded {
	border-radius: .25rem !important;
}

/* کلاس برای گرد کردن گوشه‌ها با شعاع کوچک */
.rounded-sm {
	border-radius: .2rem !important;
}

/* کلاس برای گرد کردن گوشه‌ها با شعاع بزرگ‌تر */
.rounded-lg {
	border-radius: .375rem !important;
}

/* کلاس برای گرد کردن فقط گوشه‌های بالایی */
.rounded-top {
	border-top-left-radius: .25rem !important;
	border-top-right-radius: .25rem !important;
}

/* کلاس برای گرد کردن فقط گوشه‌های پایینی */
.rounded-bottom {
	border-bottom-left-radius: .25rem !important;
	border-bottom-right-radius: .25rem !important;
}

/* کلاس برای گرد کردن فقط گوشه‌های چپ */
.rounded-left {
	border-top-left-radius: .25rem !important;
	border-bottom-left-radius: .25rem !important;
}

/* کلاس برای گرد کردن فقط گوشه‌های راست */
.rounded-right {
	border-top-right-radius: .25rem !important;
	border-bottom-right-radius: .25rem !important;
}

/* کلاس برای دکمه‌های دایره‌ای */
.btn-rounded-circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

/* کلاس برای تصویر دایره‌ای پاسخگو (responsive) */
.img-fluid-rounded-circle {
	width: 100%;
	height: auto;
	border-radius: 50%;
}

/* کلاس d-inline-block */
.d-inline-block {
	display: inline-block !important;
}

/* کلاس text-decoration-none */
.text-decoration-none {
	text-decoration: none !important;
}

/* کلاس thumbnail-link */
.thumbnail-link {
	text-align: center;
	cursor: pointer;
	border-radius: 8px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

	.thumbnail-link:hover {
		transform: scale(1.05);
		box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
	}

/* کلاس‌های مربوط به تصویر گرد */
.rounded-circle {
	border-radius: 50% !important;
}

/* دکمه‌های آیکن Font Awesome */
.thumbnail-link i {
	font-size: 24px;
	color: #007bff;
}

/* فاصله از تصویر */
.mt-2 {
	margin-top: 0.5rem !important;
}

/* کلاس‌های مربوط به فشرده‌سازی */
.d-flex {
	display: flex !important;
}

.justify-content-center {
	justify-content: center !important;
}

.align-items-center {
	align-items: center !important;
}

/* کلاس d-inline-block */
.d-inline-block {
	display: inline-block !important;
}

/* کلاس text-decoration-none */
.text-decoration-none {
	text-decoration: none !important;
}

/* کلاس rounded-circle */
.rounded-circle {
	border-radius: 50% !important;
}

/* کلاس bg-light */
.bg-light {
	background-color: #f8f9fa !important;
}

/* کلاس border و border-secondary */
.border {
	border: 1px solid #dee2e6 !important;
}

.border-secondary {
	border-color: #6c757d !important;
}

/* کلاس p-5 (padding) */
.p-5 {
	padding: 3rem !important;
}

/* کلاس text-center */
.text-center {
	text-align: center !important;
}

/* کلاس text-primary */
.text-primary {
	color: #007bff !important;
}

/* کلاس‌های Font Awesome مانند fa-3x */
.fa-3x {
	font-size: 3em;
}

/* کلاس d-inline-block */
.d-inline-block {
	display: inline-block !important;
}

/* کلاس bg-primary */
.bg-primary {
	background-color: #0d6efd !important;
	color: #ffffff; /* برای مطمئن شدن از خوانایی متن */
}

/* کلاس text-white */
.text-white {
	color: #ffffff !important;
}

/* کلاس text-center */
.text-center {
	text-align: center !important;
}

/* کلاس p-3 */
.p-3 {
	padding: 1rem !important;
}

/* کلاس rounded */
.rounded {
	border-radius: 0.375rem !important;
}

/* کلاس shadow-sm */
.shadow-sm {
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* کلاس text-decoration-none */
.text-decoration-none {
	text-decoration: none !important;
}

/* تنظیم گوشه‌های گرد */
.rounded-3 {
	border-radius: 0.375rem !important;
}

/* تنظیم اندازه آیکن‌های Font Awesome */
.fa-2x {
	font-size: 2em !important;
}

/* نمایش به صورت بلوک */
.d-block {
	display: block !important;
}

/* فاصله‌گذاری پایین */
.mb-2 {
	margin-bottom: 0.5rem !important;
}

/* کلاس‌هایی مشابه با .rounded-3 برای گوشه‌های گرد در اندازه‌های مختلف */
.rounded-1 {
	border-radius: 0.125rem !important;
}

.rounded-2 {
	border-radius: 0.25rem !important;
}

.rounded-4 {
	border-radius: 0.5rem !important;
}

.rounded-5 {
	border-radius: 0.75rem !important;
}

.rounded {
	border-radius: 0.25rem !important;
}

/* کلاس‌هایی مشابه برای اندازه فونت آیکن */
.fa-xs {
	font-size: 0.75em !important;
}

.fa-sm {
	font-size: 0.875em !important;
}

.fa-lg {
	font-size: 1.33em !important;
}

.fa-3x {
	font-size: 3em !important;
}

.fa-4x {
	font-size: 4em !important;
}

.fa-5x {
	font-size: 5em !important;
}

.fa-6x {
	font-size: 6em !important;
}

.fa-7x {
	font-size: 7em !important;
}

.fa-10x {
	font-size: 10em !important;
}

/* کلاس‌هایی مشابه با .d-block برای نمایش به صورت بلوک */
.d-inline-block {
	display: inline-block !important;
}

.d-inline {
	display: inline !important;
}

.d-flex {
	display: flex !important;
}

.d-inline-flex {
	display: inline-flex !important;
}

.d-none {
	display: none !important;
}

/* فاصله‌گذاری‌های مختلف */
.mt-1, .my-1 {
	margin-top: 0.25rem !important;
}

.mt-2, .my-2 {
	margin-top: 0.5rem !important;
}

.mt-3, .my-3 {
	margin-top: 1rem !important;
}

.mt-4, .my-4 {
	margin-top: 1.5rem !important;
}

.mt-5, .my-5 {
	margin-top: 3rem !important;
}

.m-1 {
	margin: 0.25rem !important;
}

.m-2 {
	margin: 0.5rem !important;
}

.m-3 {
	margin: 1rem !important;
}

.m-4 {
	margin: 1.5rem !important;
}

.m-5 {
	margin: 3rem !important;
}

/* فاصله‌گذاری افقی و عمودی */
.mx-1 {
	margin-left: 0.25rem !important;
	margin-right: 0.25rem !important;
}

.mx-2 {
	margin-left: 0.5rem !important;
	margin-right: 0.5rem !important;
}

.mx-3 {
	margin-left: 1rem !important;
	margin-right: 1rem !important;
}

.mx-4 {
	margin-left: 1.5rem !important;
	margin-right: 1.5rem !important;
}

.mx-5 {
	margin-left: 3rem !important;
	margin-right: 3rem !important;
}

.my-1 {
	margin-top: 0.25rem !important;
	margin-bottom: 0.25rem !important;
}

.my-2 {
	margin-top: 0.5rem !important;
	margin-bottom: 0.5rem !important;
}

.my-3 {
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
}

.my-4 {
	margin-top: 1.5rem !important;
	margin-bottom: 1.5rem !important;
}

.my-5 {
	margin-top: 3rem !important;
	margin-bottom: 3rem !important;
}

/* کلاس‌های اندازه برای padding */
.p-1 {
	padding: 0.25rem !important;
}

.p-2 {
	padding: 0.5rem !important;
}

.p-3 {
	padding: 1rem !important;
}

.p-4 {
	padding: 1.5rem !important;
}

.p-5 {
	padding: 3rem !important;
}

/* برای اندازه‌های padding افقی و عمودی */
.px-1 {
	padding-left: 0.25rem !important;
	padding-right: 0.25rem !important;
}

.px-2 {
	padding-left: 0.5rem !important;
	padding-right: 0.5rem !important;
}

.px-3 {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

.px-4 {
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
}

.px-5 {
	padding-left: 3rem !important;
	padding-right: 3rem !important;
}

.py-1 {
	padding-top: 0.25rem !important;
	padding-bottom: 0.25rem !important;
}

.py-2 {
	padding-top: 0.5rem !important;
	padding-bottom: 0.5rem !important;
}

.py-3 {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}

.py-4 {
	padding-top: 1.5rem !important;
	padding-bottom: 1.5rem !important;
}

.py-5 {
	padding-top: 3rem !important;
	padding-bottom: 3rem !important;
}

/* تنظیمات برای کانتینر فلکس */
.flex-container {
	display: flex;
	flex-wrap: wrap; /* اعضا در صورت لزوم به خط بعدی می‌روند */
	gap: 10px; /* فاصله بین اعضا */
}

/* تنظیمات برای اعضای داخل کانتینر فلکس */
.flex-item {
	width: 100px; /* عرض ثابت برای هر عضو */
	height: 100px; /* ارتفاع ثابت برای هر عضو */
	background-color: lightblue; /* رنگ پس‌زمینه برای اعضا */
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #ccc; /* حاشیه برای اعضا */
}

.flex-wrap {
	flex-wrap:wrap;
}

/* این کلاس‌ها برای سیستم گرید بوت‌استرپ هستند */
.col-1 {
	width: 8.33333%;
}

.col-2 {
	width: 16.66667%;
}

.col-3 {
	width: 25%;
}

.col-4 {
	width: 33.33333%;
}

.col-5 {
	width: 41.66667%;
}

.col-6 {
	width: 50%;
}

.col-7 {
	width: 58.33333%;
}

.col-8 {
	width: 66.66667%;
}

.col-9 {
	width: 75%;
}

.col-10 {
	width: 83.33333%;
}

.col-11 {
	width: 91.66667%;
}

.col-12 {
	width: 100%;
}

/* برای سیستم گرید بوت‌استرپ، در نسخه‌های خاص ممکن است کلا‌س‌های ریسپانسیو نیز وجود داشته باشد */

@media (min-width: 576px) {
	.col-sm-1 {
		width: 8.33333%;
	}

	.col-sm-2 {
		width: 16.66667%;
	}

	.col-sm-3 {
		width: 25%;
	}

	.col-sm-4 {
		width: 33.33333%;
	}

	.col-sm-5 {
		width: 41.66667%;
	}

	.col-sm-6 {
		width: 50%;
	}

	.col-sm-7 {
		width: 58.33333%;
	}

	.col-sm-8 {
		width: 66.66667%;
	}

	.col-sm-9 {
		width: 75%;
	}

	.col-sm-10 {
		width: 83.33333%;
	}

	.col-sm-11 {
		width: 91.66667%;
	}

	.col-sm-12 {
		width: 100%;
	}
}

@media (min-width: 768px) {
	.col-md-1 {
		width: 8.33333%;
	}

	.col-md-2 {
		width: 16.66667%;
	}

	.col-md-3 {
		width: 25%;
	}

	.col-md-4 {
		width: 33.33333%;
	}

	.col-md-5 {
		width: 41.66667%;
	}

	.col-md-6 {
		width: 50%;
	}

	.col-md-7 {
		width: 58.33333%;
	}

	.col-md-8 {
		width: 66.66667%;
	}

	.col-md-9 {
		width: 75%;
	}

	.col-md-10 {
		width: 83.33333%;
	}

	.col-md-11 {
		width: 91.66667%;
	}

	.col-md-12 {
		width: 100%;
	}
}

@media (min-width: 992px) {
	.col-lg-1 {
		width: 8.33333%;
	}

	.col-lg-2 {
		width: 16.66667%;
	}

	.col-lg-3 {
		width: 25%;
	}

	.col-lg-4 {
		width: 33.33333%;
	}

	.col-lg-5 {
		width: 41.66667%;
	}

	.col-lg-6 {
		width: 50%;
	}

	.col-lg-7 {
		width: 58.33333%;
	}

	.col-lg-8 {
		width: 66.66667%;
	}

	.col-lg-9 {
		width: 75%;
	}

	.col-lg-10 {
		width: 83.33333%;
	}

	.col-lg-11 {
		width: 91.66667%;
	}

	.col-lg-12 {
		width: 100%;
	}
}

@media (min-width: 1200px) {
	.col-xl-1 {
		width: 8.33333%;
	}

	.col-xl-2 {
		width: 16.66667%;
	}

	.col-xl-3 {
		width: 25%;
	}

	.col-xl-4 {
		width: 33.33333%;
	}

	.col-xl-5 {
		width: 41.66667%;
	}

	.col-xl-6 {
		width: 50%;
	}

	.col-xl-7 {
		width: 58.33333%;
	}

	.col-xl-8 {
		width: 66.66667%;
	}

	.col-xl-9 {
		width: 75%;
	}

	.col-xl-10 {
		width: 83.33333%;
	}

	.col-xl-11 {
		width: 91.66667%;
	}

	.col-xl-12 {
		width: 100%;
	}
}
