@font-face {
	font-family: persian;
	src: url('fonts/Nazanin.ttf');
}
html {
    overflow-x: hidden;
    width: 100%;
    padding: 0px;
    margin: 0px;
}
body {
	font-family: "Roboto", Halvetica, Arial, sans-serief;
	font-size: 14px;
	background-color: #161616; /*#161616*/
	color: #333333;
	overflow-x: hidden;
	margin: 0px;
	padding: 0px;
/**	background-image: url(../images/coverphoto.jpg);
	background-repeat: no-repeat;
	background-size: 100% 17%; **/ 
}
@media (min-width: 1445px) {
	body {
		width: 1445px;
		margin: 0px auto;
	}
}
.topnav {
	padding: 0px 20px;
	border-bottom: 1px solid #4f4d4d;
}
#large_logo {
	display: block;
	float: left;
	padding-top: 10px;
	margin: 0;
}
#large_logo img {
	max-height: 40px;
	width: 100%;
}
.dropdown {
	position: relative;
	display: inline-block;
	float: left;
	margin: 0px;
}
.dropbtn {
	background-color: #161616;
	color: #f3f2f2;
	padding: 20px 10px 16px 35px;
	font-size: 16px;
	border: none;
}
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #343232;
	min-width: 250px;
	z-index: 1;
	margin-left: 15px;
}
.dropdown-content a {
	color: #f3f2f2;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}
.dropdown-content a:hover {background-color: #4f4d4d;}
.dropdown:hover .dropdown-content {display: block;}

.subbtn {
	position: relative;
	display: block;
} 
.subcat {
	/*this is a -> has been styled*/
}
.subcat .fa {
	font-size: 15px; 
	display: inline;
	float: right;
	padding: 0px 10px;
}
.sub-dropdown {
	display: none;
	position: absolute;
	background-color: #343232;
	min-width: 250px;
	z-index: 1;
}
.sub-dropdown a {
	color: #f3f2f2;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}
.sub-dropdown a:hover {
	background-color: #4f4d4d;
}
.subbtn:hover .sub-dropdown {
	display: block;
	position: absolute;
	left: 250px;
	top: 0;
}
.subbtn:has(.sub-dropdown:hover) {
	background-color: #4f4d4d;
}

.main-ab {
	display: block;
	float: left; 
	margin: 20px 0px 0px 10px;
}
.main-ab a {
	color: #f3f2f2; 
	text-decoration: none; 
	font-size: 16px;
	padding: 18px 10px 16px 15px;
}
.main-ab a:hover {
	border-bottom: 2px solid #4f4d4d;
}
/*large nemubar ends, small menu begins*/
.small_navbar {
	padding: 0px;
	border-bottom: 1px solid #4f4d4d;
}
.small_navbar .small_logo {
	display: inline;
	float: left;
	margin: 0px 0px 0px 10px;
}
.small_logo img {
	max-height: 40px;
	width: 100%;
}
.menu {
	color: #f3f2f2;
	float: right;
	margin: 10px 15px 10px 20px;
}
.menu i {
  font-size: 20px;
  cursor: pointer;
}

.menu_list {
  position: fixed;
  display: none;
  background-color: #161616;
  color: #f3f2f2;
  top: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  transition: all ease-in-out 200ms;
  z-index: 10;
}
.menu_list div {
	padding: 0px;
}
.menu_list .close {
	float: left;
	font-size: 22px;
	cursor: pointer;
	margin: 10px 20px;
	color: red;
}
.menu_list p {
	float: left;
	font-size: 14px;
	margin: 10px;
}
.menu_cat {
	border-top: 1px solid #f9f9f9;
	text-transform: uppercase;
}
.menu_list ul {
	padding: 5px 10px;
	margin: 0px;
}
.menu_list ul li {
	list-style: none;
	padding: 3px 0px;
}
.menu_list ul li a {
	font-size: 14px;
	color: #f3f2f2;
}
/*small menu toggle ends */
#slider {
	padding: 0px;
	clear: both;
}
#slider #myCarousel {
	height: 570px;
}
#slider #myCarousel .carousel-inner {
	height: 570px;
}
#slider #myCarousel .carousel-inner .item img {
	height: 570px;
	width: 100%;
}
#slider #myCarousel .carousel-inner .item::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 30px;
	background: linear-gradient(to top, #161616, transparent);
}
/*main image ends*/
.akbari_cat {
	padding: 10px 0px;
	margin: 0px;
	color: #f3f2f2;
}
.cat_imgs {
	columns: 3;
	column-gap: 0px;
}
.cat_img {
	width: 100%;
	break-inside: avoid;
	padding: 0px;
}
.cat_img div {
	padding: 5px;
	margin: 0px;
}
.cat_imgs a {
	text-decoration: none;
}
.cat_img div img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.cat_img div img:hover {
	transform: scale(1.01);
}

/*image detail page*/

/*categories pages*/
.cat_pages {
	padding: 10px 0px;
	margin: 0px;
	color: #f3f2f2;
}
.cat_page_title h2 {
	padding: 10px;
	margin: 0px 0px 10px 0px;
	font-size: 20px;
}
.cat_pagesub {
/*	width: 100%;
	margin: 0px auto; */
	columns: 3;
	column-gap: 0px;
}
.cat_pagesin {
	width: 100%;
	break-inside: avoid;
	margin-bottom: 0px;
}
.cat_pagesin div {
	padding: 5px;
}
.cat_pagesin a {
	text-decoration: none;
	color: #f3f2f2;
}
.cat_pagesin div img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.cat_pagesin div img:hover {
	transform: scale(1.01);
}

/**related and contact pages style**/
.contact_form {
	padding: 0px;
	width: 50%;
	margin: 30px auto;
	border-radius: 10px;
	background-color: #b1b9b5;
	text-transform: uppercase;
}
.log_form {
	padding: 10px;
	margin: 0px;
}
.log_form h3 {
	padding: 0px;
	margin: 0px 0px 10px 0px;
}
.log_form p {
	padding: 0px;
	margin: 0px;
}
.contact_form form {
	padding: 0px 10px;
}
.contact_form form label {
	padding: 0px;
	margin: 10px 0px;
}
.contact_form form textarea {
	height: 200px;
}
.contact_form form .btn {
	padding: 0px;
	margin: 10px 0px;
}

.related_p {
	margin: 20px;
	padding: 0px;
}
.related_body {
	color: #ffffff;
	font-family: "Times New Roman", Arial, Halvetica, sans-serief;
	text-align: justify;
	margin-bottom: 30px;
}
.related_body h6 {
	font-size: 20px;
	line-height: 25px;
	text-transform: uppercase;
}
.related_body p {
	padding: 5px 10px;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
	word-spacing: 3px;
}
/*footer styles*/
.footer {
	background: #03050b;
	color: #f3f2f2;
	padding: 20px 20px 40px 20px;
	border-top: 2px solid #4f4d4d;
}
.footer ul {
	list-style: none;
	padding: 0px;
}
.footer ul li {
	padding: 3px 0;
}
.footer h6 {
	font-size: 14px;
	font-weight: bold;
}
.footer ul a,
.footer ul p {
	color: #d3ddfa;
	text-decoration: none;
	font-size: 14px;
	margin: 0px;
}
.footer ul a:hover,
.footer ul p:hover {
	color: #f3f2f2;
	font-size: 15px;
}
.footer .social {
	text-align: left;
}
.footer .social a {
	margin: 0;
	display: inline-block;
	width: 30px;
	height: 30px;
	border-radius: 15px;
	line-height: 30px;
	text-align: center;
	vertical-align: bottom;
	background-color: #ffffff;
}
.footer .social a:hover {
	line-height: 32px;
}
.footer form {
	margin-top: 15px;
}
.footer form input {
	margin-top: 15px;
	background-color: #f3f2f2;
}
.copyright {
	background-color: #02040a;
	color: #ecf0fe;
	border-top: 0.1px solid #202020;
	color: #f3f2f2;
	padding: 0px;
}
.copyright p {
	font-size: 14px;
	padding: 10px 20px;
	margin: 0;
}
@media (min-width: 1145px) {
	
}
@media (max-width: 1045px) {
	#main_title {
		font-size: 18px;
	}
}
@media (max-width: 900px) {
	#slider #myCarousel {
		height: 390px;
	}
	#slider #myCarousel .carousel-inner {
		height: 390px;
	}
	#slider #myCarousel .carousel-inner .item img {
		height: 390px;
	}
}
@media (max-width:767px) {
	#slider #myCarousel {
		height: 290px;
	}
	#slider #myCarousel .carousel-inner {
		height: 290px;
	}
	#slider #myCarousel .carousel-inner .item img {
		height: 290px;
		width: 100%;
	}
	.pro_path {
		margin-top: 0px;
	}
	.pro_path video {
		width: 100%;
	}
	.pro_detail h1 {
		font-size: 22px;
	}
	.pro_detail p {
		font-size: 14px;
	}

	.cat_pages {
		padding: 10px;
	}
	.cat_pagesub {
		columns: 2;
	}
	.cat_pagesub_vid {
		grid-template-columns: auto auto;
	}

	.footer div {
		margin-top: 25px;
	}

	.cat_imgs {
		display: initial;
		columns: 2;
		margin: 0px;
	}
	.cat_img {
		width: 100%;
		break-inside: avoid;
	}
	.cat_img div img {
		object-fit: contain;
		padding: 0px;
	}
}
@media (max-width: 545px) {
	.contact_form {
		width: 95%;
	}
}
@media (max-width: 420px) {
	#slider #myCarousel {
		height: 160px;
	}
	#slider #myCarousel .carousel-inner {
		height: 160px;
	}
	#slider #myCarousel .carousel-inner .item img {
		height: 160px;
		width: 100%;
	}
	.aghaz_main {
		height: 200px;
	}
	.aghaz_main>div>h1 {
		font-size: 20px;
		padding: 60px 0px 10px 20px;
	}
	.aghaz_main>div>p {
		padding: 0px 0px 0px 20px; 
		font-size: 14px;
		margin: 0px;
	}
	
	.cat_pages {
		padding: 10px 5px;
	}
	.cat_page_title h2 {
		padding: 0px;
		margin-top: 10px;
		font-size: 14px;
	}
	.cat_pagesub {

	}
	.cat_pagesub_vid {
		grid-template-columns: auto;
	}
	.cat_pagesin div a h1,
	.cat_pagesin_vid div a h1 {
		font-size: 14px;
		padding: 0px;
		line-height: 20px;
	}

	.akbari_cat {
		padding: 0px;
	}
	.cat_imgs {
		padding: 3px;
	}
	.cat_img div {
		padding: 3px;
	}

	.pro_path img {
		height: 240px;
	}
	.pro_detail h1 {
		font-size: 20px;
	}
	.pro_detail p {
		font-size: 14px;
	}
}
@media (max-width: 320px) {
	#slider #myCarousel {
		height: 120px;
	}
	#slider #myCarousel .carousel-inner {
		height: 120px;
	}
	#slider #myCarousel .carousel-inner .item img {
		height: 120px;
	}
	.aghaz_main {
		height: 150px;
	}
	.aghaz_main>div>h1 {
		font-size: 18px;
		padding: 50px 0px 8px 15px;
	}
	.aghaz_main>div>p {
		padding: 0px 0px 0px 15px; 
		font-size: 12px;
		margin: 0px;
	}
	.pro_path img {
		height: 200px;
	}
	.pro_detail h1 {
		font-size: 18px;
	}
	.pro_detail p {
		font-size: 13px;
	}
}