* {
	box-sizing: border-box !important;
}
@font-face {
	font-family: 'btitrbold_0';
	src: url('../font/b titr bold_0.ttf') format('truetype');
}
@font-face {
	font-family: "koodak";
	src: url("../font/koodak.ttf");
}

@font-face {
	font-family: "iran-sans";
	src: url("../font/irsans.ttf");
}

body {
	min-height: 100vh !important;
	justify-content: space-between !important;
	font-family: "iran-sans" !important;
}

p {
	margin: 0 !important;
}

.menu-button {
	width: 100%;
	padding: 0.8rem 0;
	display: block;
	color: white;
	border: none;
	border-radius: 6px;
	background: linear-gradient(to top right, #ffd107, #ffa107, #ffd107);
	box-shadow: 0px 8px 16px #cccccc;
	transition: all 0.2s ease-in-out;
	margin: 0 auto;
}
.menu-button:hover {
	box-shadow: 0px 8px 16px #bbbbbb;
}
.footer-icons {
	width: 12px;
	fill: gray;
}

.footer-details {
	margin-right: 8px !important;
	font-size: 14px;
	cursor: pointer;
}

.footer-copyright-text {
	font-size: 14px;
}

footer div:last-child p:first-child {
	font-size: 12px !important;
	margin: 4px 0 !important;
}

@media (min-width: 769px) {
	.main-links {
		width: 72%;
		height: 42;
		margin: auto;
	}
	.main-links .link {
		font-size: 16px !important;
	}
	.login-container {
		width: 52vw !important;
		height: 50% !important;
	}
}
@media only screen and (max-width: 600px) {
	.login-container {
		height: 50%;
    }
}

@media only screen and (min-width: 600px) {
	.login-container {
		height: 50%;
    }
}
.menu-btn {
	background-color: #4b4d50 !important;
}

/* Forms */
main h1 {
	font-size: 18px !important;
}

form label,
form p {
	font-size: 14px !important;
}

form {
	margin: auto;
}

textarea {
	min-height: 80px !important;
	max-height: 140px;
}

input[type="radio"],
input[type="checkbox"] {
	appearance: unset;
	width: 12px;
	height: 12px;
	border: 1px solid #aaaaaa;
	border-radius: 50%;
	margin-top: 4px;
}

input[type="radio"]:checked,
input[type="checkbox"]:checked {
	background-color: #7e1526;
	border: 1px solid #7e1526;
	transition: background 0.15s ease-in-out;
}

input[type="checkbox"] {
	border-radius: 2px;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus {
	outline: none !important;
	border: 1px solid #7e1526 !important;
	transition: border-color 0.15s ease-in-out;
}

input[type="text"],
input[type="number"] {
	padding: 0.375rem 0.75rem;
}

input[type="file"] {
	direction: inherit;
}

.form-control {
	direction: rtl;
	padding: 0.35rem 0.75rem !important;
}

.form-control:focus {
	box-shadow: none;
}

button,
input[type="checkbox"],
input[type="radio"] {
	cursor: pointer;
}

.input-group-text {
	height: 37px !important;
	border-radius: 0.375rem 0 0 0.375rem !important;
}

hr {
	border-top: 2px dashed #ff0000 !important;
}

article {
	max-width: 100vw !important;
	font-family: "koodak";
}

.result:nth-child(4n + 1) {
	background-color: #ff029e28;
}

.result:nth-child(4n + 2) {
	background-color: #4797c251;
}

.result:nth-child(4n + 3) {
	background-color: #c7de2f75;
}

.result:nth-child(4n + 4) {
	background-color: #ea646454;
}

/* Form Validation */

.was-validated .form-control {
	padding-right: 1.6rem !important;
}

.was-validated input:valid {
	border-color: #00800066 !important;
	background-size: 12px;
}

.was-validated input:invalid {
	border-color: #d9171766 !important;
	background-size: 16px;
}

/* Sweet Alert */

.swal-modal .swal-title {
	font-size: 20px;
}

.swal-modal .swal-text {
	font-size: 16px;
	text-align: center;
	line-height: 1.4rem;
}

.swal-modal .swal-button {
	background-color: #35c755;
	padding: 0.4rem 1.2rem;
	font-family: sans-serif;
}

.swal-modal .swal-button:hover {
	filter: brightness(94%);
	background-color: #35c755;
}

/* Province/City selection */
.address-container {
	margin-bottom: 2rem;
}

select {
	padding: 0.6rem 0.75rem !important;
}

select:focus {
	outline: none !important;
}

select,
option {
	font-size: 12px !important;
}

option {
	background-color: #fdfdfd;
}
.back-btn {
	margin-left: 1rem;
	width: 1.4rem ;
	height: 1.4rem ;
}
@media (max-width: 769px) {
	header h5 {
		font-size: 16px;
	}
	footer .admin-contact {
		width: 240px !important;
	}
}
.form-submit-result {
	width: 400px !important;
	min-height: 400px;
	background-color: white;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 2rem 0;
}

.form-submit-result div:first-child {
	width: 100%;
}
.form-submit-result div:first-child ul {
	width: 100% !important;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.form-submit-result div:first-child ul li {
	width: 100%;
	height: 2.3rem;
	background-color: #eeeeee;
	border-radius: 6px;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: start;
	padding: 0 1rem;
	cursor: pointer;
}
.form-submit-result div:nth-child(2) {
	width: 80%;
	margin: 1rem auto;
}
.form-submit-result div:nth-child(2) p {
	font-size: 14px !important;
}
.form-submit-result div:last-child {
	display: flex;
	align-items: center;
	gap: 1rem;
	justify-content: space-between;
}
.form-submit-result div:last-child div {
	display: flex;
	align-items: center;
	font-size: 13px;
	gap: 0.2rem;
}
.form-submit-result div:last-child div p:first-child {
	color: #dc1414;
}
.form-submit-result div:last-child div img {
	width: 22px;
	height: 22px;
}
/* --------------- */
.photo-container label:first-child::before {
	content: "تصویر اصلی";
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 24px;
	text-align: center;
	color: #ffffff;
	background-color: #312f2f8e;
	font-size: 10px;
}

/* Footer */
footer #admin-contact {
	display: none;
}
footer .admin-contact {
	width: 400px;
}

/* Results */
.results p {
	font-size: 18px;
}
.results p span {
	color: #7e1500;
	font-weight: light;
	font-size: 15px;
}
.results .properties span {
	color: #7e1500;
	padding: 0.2rem 1rem;
	border: 3px dashed #7e1500;
	border-radius: 10px;
}

/* Hidden image */
.hidden-img-container {
	width: 100vw;
	height: 100vh;
	top: 0 !important;
	left: 0 !important;
	position: fixed !important;
	background-color: #00000099;
	display: none;
	align-items: center;
	justify-content: center;
    z-index: 99999999;
}
.hidden-img {
	min-width: 40%;
	max-width: 100%;
	box-shadow: 0px 0px 48px 6px #000000;
}
.hidden-img-container svg {
	position: absolute;
	top: 2rem;
	left: 1rem;
	cursor: pointer;
}
.btn3d {
    position: relative;
    top: -6px;
    border: 0;
    transition: all 40ms linear!important;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
}

.btn3d:active:focus,
.btn3d:focus:hover,
.btn3d:focus {
    -moz-outline-style: none;
    outline: medium none;
}

.btn3d:active,
.btn3d:focus:active,
.btn3d.active {
    top: 2px;
}


	.btn3d.btn-danger:focus,
	.btn3d.btn-danger {
		box-shadow: 0 0 0 1px #de9c96 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #de9c96, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
	}
		.btn3d.btn-danger:focus:active,
		.btn3d.btn-danger:active:focus,
		.btn3d.btn-danger:active,
		.btn3d.btn-danger.active {
			box-shadow: 0 0 0 1px #de9c96 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
		}
	.btn3d.btn-info:focus,
	.btn3d.btn-info {
		box-shadow: 0 0 0 1px #0d6efd inset, 0 0 0 2px rgba(13, 110, 253, 1) inset, 0 8px 0 0 #0d6efd, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
	}
		.btn3d.btn-info:focus:active,
		.btn3d.btn-info:active:focus,
		.btn3d.btn-info:active,
		.btn3d.btn-info.active {
			box-shadow: 0 0 0 1px #0d6efd inset, 0 0 0 1px rgba(13, 110, 253, 1) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
		}

.btn3d.btn-default {
    box-shadow: 0 0 0 1px #666666 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #666666, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
}

.btn3d.btn-default:active,
.btn3d.btn-default.active {
    color: #666666;
    box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1);
}
.btn3d.btn-menu-default:focus,
.btn3d.btn-menu-default {
    box-shadow: 0 0 0 1px #4b4d50 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #4b4d50, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
}

.btn3d.btn-menu-default:focus:active,
.btn3d.btn-menu-default:active:focus,
.btn3d.btn-menu-default:active,
.btn3d.btn-menu-default.active {
    box-shadow: 0 0 0 1px #4b4d50 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
}
.btn3d.btn-menu-Info:focus,
.btn3d.btn-menu-Info {
    box-shadow: 0 0 0 1px #0d6efd inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #0d6efd, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
}

.btn3d.btn-menu-Info:focus:active,
.btn3d.btn-menu-Info:active:focus,
.btn3d.btn-menu-Info:active,
.btn3d.btn-menu-Info.active {
    box-shadow: 0 0 0 1px #0d6efd inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3);
}
.border-blulitht {
	border-color: #87b7ef !important;
	box-shadow: 0 0 0 1px #87b7ef inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #87b7ef, 0 8px 8px 1px rgba(0, 0, 0, 0.5) !important;
}

	.border-blulitht:active {
		box-shadow: 0 0 0 1px #87b7ef inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3) !important;
	}
