@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;400;700;900&display=swap");
@import url("https://cdn.bayan.ir/blog/templates/shared/css/icons-fa.css");
@font-face {
	font-family: local;
	src: local("vazir"),
	local("sahel"),
	local("tanha"),
	local("estedad"),
	local("samim"),
	local("B yekan");
}

* {
	box-sizing: border-box;
}
h1,h2,h3,h4,h5,h6{
	font-family:'inherit;
}
::selection {
	background: rgba(70, 89, 97, .2);
}

body {
	background: #d8dfe3;
	font-size: 17px;
	overflow-x:hidden;
	color:#000000;
	font-family: Vazirmatn,local;
	
	margin: 0;
}
html{
	scroll-behavior: smooth;
	scrollbar-color: #314148 #00c652;
	scrollbar-width: thin;
	word-wrap: break-word;
}
main {
	display: flex;
	max-width:93%;
	justify-content:center;
	margin:0 auto;
	width: 1200px;
}

a {
	color: inherit;
	text-decoration: none;	
}

img,video,iframe{
	max-width: 100%;
	height: auto;
}

ul{
	list-style: none;
	margin: 0;
}
::-webkit-scrollbar-thumb {
	background: #314148;
}
::-webkit-scrollbar {
	background:#00c652;
	width: 8px;
}

h1:hover,
h2:hover {
	animation: vibr .3s infinite;
}
pre{
	-webkit-user-select: all;
	-ms-user-select: all;
	user-select: all;
	max-width:100%;
	max-height:250px;
	background: #ecf0f1;
	border: none !important;
	border-radius:15px;
	padding: 5px 15px;
	overflow-y:scroll;
	resize: vertical;
}

/*لیست ساید بار و مطالب*/
.sides {
	width: 275px;
	margin-right:10px;
}
.post-list{
	width: calc(100% - 295px);
	margin-left:10px;
}
.box {
	background: #fbfbfb;
	padding: 10px 15px;
	transition: all .3s;
	box-shadow: 0 6px 10px rgba(0, 0, 0, .1);
	margin: 0 auto 20px auto;
}

.box,
aside,
.post,
.comment,
.item_succes,
.item_wrn,
.item_err,
.post .image img,
.post .image,
.post .text img,
.post .edame a{
	border-radius: 13px;
}

.post:hover,
.blog-message:hover,
aside:hover {
	box-shadow: 0 9px 20px rgba(0, 0, 0, 0.2);
}
/* تغییر اس اس پیشفرض بیان*/

.item_success,
.item_wrn,
.item_err {
	border: 2px #55cdf7 solid;
	background: #c5e4fb;
	padding:5px;
	text-align:center;
}
.item_wrn {
	border-color: #55cdf7;
	background: #c5e4fb;
}

.item_err {
	border-color: #f97ba2;
	background: #fdc9d8;
}
.blog-message .item_success{
	background:transparent;
	border:none;
}
.icon {
	display: none;
}

.fa, .fa-brands, .fa-duotone, .fa-light, .fa-regular, .fa-solid, .fa-thin, .fab, .fad, .fal, .far, .fas, .fat {
	font-size: 1.25em;
	vertical-align: middle;
}
/*---header---*/


.navigation {
	background: #fff;
	box-shadow: 0 6px 10px rgba(0, 0, 0, .1);
	margin-bottom: 1rem;
	position: relative;
}

.navigation__container {
	display: flex;
	justify-content: space-between;
	max-width: 75rem;
	margin: auto;
	padding: 0 1rem;
	min-width: max-content;
}

.navigation__title {
	font-size: 1.5rem;
	margin: 0;
	line-height: 250%;
}

.navigation__title--link {
	color: inherit;
	display: inline-block;
	height: 100%;
}

.menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
}

.menu__link,
.mobile-menu__link {
	padding: 1rem;
	display: inline-block;
	color: inherit;
	height: 100%;
	line-height: 2rem;
	position: relative;
}
.menu__link::before,
.mobile-menu__link::before {
	content: "";
	position: absolute;
	bottom: 0;
	right: 1rem;
	width: calc(100% - 2rem);
	height: 0.25rem;
	background: currentColor;
	border-radius: 0.5rem 0.5rem 0 0;
	opacity: 0;
	transform: rotateY(90deg);
	transition: all 250ms ease-in-out;
}
.menu__link:hover, .menu__link:focus,
.mobile-menu__link:hover,
.mobile-menu__link:focus {
	color: #00c652;
}
.menu__link:hover::before, .menu__link:focus::before,
.mobile-menu__link:hover::before,
.mobile-menu__link:focus::before {
	opacity: 1;
	transform: translateY(0);
}

.mobile-menu__link {
	width: 100%;
}
.mobile-menu__link::before {
	right: 0;
	top: 1rem;
	height: calc(100% - 2rem);
	width: 0.25rem;
	border-radius: 0.5rem 0 0 0.5rem;
	transform: rotateX(90deg);
}

.mobile-menu__list {
	position: absolute;
	top: 100%;
	right: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	background: #fff;
	color: transparent;
	box-shadow: 0px 8px 16px -4px rgba(0, 0, 0, 0.1);
	transform: rotateX(90deg);
	transform-origin: top;
	transition: transform 250ms ease, color 250ms ease;
	transition-delay: 0s, 250ms;
}

.mobile-menu__button {
	width: 1em;
	height: 1em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	list-style: none;
	font-size: 2em;
	margin: 0.5em 0;
}

.mobile-menu[open] > .mobile-menu__button {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}
.mobile-menu[open] > .mobile-menu__list {
	transform: translateX(0);
	color: inherit;
}

@media (max-width: 50rem) {
	.menu {
		display: none;
	}
}
@media (min-width: 50rem) {
	.mobile-menu {
		display: none;
	}
}
/*---پست ها---*/
.post {
	background: #fbfbfb;
	margin-bottom:20px;
	transition: all .3s;
	box-shadow: 0 2px 4px 2px rgba(0, 0, 0, .1);
}

/*تصویر مطلب*/
.post .image {
	transition: 1s all;
	padding:10px 10px 0 10px;
	overflow:hidden;
}

.post .image img {
	width:100%;
}
.post:hover .image img{
	animation:scale .75s;
}
/*عنوان مطلب*/
.post h2.title {
	padding:10px 10px  0 10px ;
	font-weight: 900;
}

/*محتوای مطلب*/
.post .text {
	padding: 0 15px 10px 15px;
	line-height: 35px;
	font-size:16px;
	text-align:justify;
}
/*دکمه ادامه*/
.post .edame a {
	background: #00c652;
	color: #fff;
	padding: 5px 10px;
	margin: auto;
	transition: all .1s;
}

.post .edame a:hover {
	animation:scale .5s;
}

.post .edame {
	display: flex;
}

/*توضیحات مطلب (نویسنده و بازدید و */
.meta {
	display:flex;
	justify-content:space-around;
	flex-wrap: wrap;
}
.rate-up, span.rateup{
	color:#00c652;
}

.meta-icon{
	color:#00c652;
}
/*اشتراک گذاری*/
.share-box{
	display: flex;
	justify-content: center;
	align-items: center;
}
.share-title {
	font-weight: 900;
	display: inline;
}
.share-links {
	margin: 0 1rem;
}
.share-button {
	background: #00c652;
	padding: .25em;
	border-radius: 8px;
	text-align: center;
	width: 2em;
	display: inline-block;
	color: #fff;
	line-height: 1.5;
	transition: 250ms ease;
}
.share-button:hover{
	background: #00c65233;
	color: #00c652;
}
.share-link{
	background: #00c65233;
	color: #00c652;
	padding: .25em;
	border-radius: 8px;;
	padding: .25em;
	border-radius: 8px;
	user-select: all;
}
/*کلمات کلیدی*/
.tags .atag {
	background: rgba(0, 0, 0, 0.1);
	padding: 5px;
	margin: 5px;
	display: inline-block;
	line-height: 1em;
	color: #afafaf;
	border-radius: 5px;
}

/*نظرات*/
/*نظر*/
.comment {
	background: #fbfbfb;
	margin: 0 0 20px auto;
	padding: 5px 15px;
	transition: all .3s;
	box-shadow: 0 6px 10px rgba(0, 0, 0, .1);
	border-top-right-radius: 0;
	width: 85%;
	position: relative;
}
.comment::before {
	content: "";
	position: absolute;
	left: 100%;
	top: 0;
	border: 8px solid;
	border-color: #fbfbfb transparent transparent #fbfbfb;
}
/*نوویسنده و تاریخ*/
.comment .cm-author {
	display: flex;
	align-items: center;
}

.cm-author * {
	margin: 0 5px;
}

/*پروفایل*/
.comment .cm-author img {
	width: 40PX;
	height: 40px;
	border-radius: 45%;
}

/*پاسخ*/
.comment-reply {
	width: 85%;
	margin: 0 auto 20px 0;
	border-right: 1px solid #314148;
}

/*متن نظر*/
.cm-txt {
	margin: 0 auto 0px auto;
	padding: 5px 15px;
	transition: all .3s;
}

/*سایدبار*/
aside {
	border-top: 6px solid #314148;
	background: #fbfbfb;
	padding: 5px 15px;
	transition: all .3s;
	box-shadow: 0 6px 10px rgba(0, 0, 0, .1);
	margin: 0 auto 20px auto;
	width: 100%;
}
aside.blog-info{
	padding:0;
	overflow:hidden;
}
/*عنوان سایدبار*/
aside .title {
	font-size: 20px;
	font-weight: 900;
	color: #314148;
}

/*محتوای سایدبار*/
aside nav li {
	transition: all .3s;
	line-height: 2em;
	color: #545454;
}

aside ul{
	padding: 0;
}

aside nav a li:hover,
aside nav a li.selected {
	background: rgba(0, 0, 0, 0.1);
	padding-right: 5px;
}

/*توضیح کنار محتوای سایدبار*/
aside nav li span {
	color: #aeaeae;
	padding-right: 5px;
}
aside nav a li span {
	font-size: 12px;
}
aside .tags .selected{
	color: #465961;
}
aside nav li.stat{
	color:#545454 !important;
}
.blog-description h4{
	font-weight:normal;
	text-align:center;
	padding:20px;
	color:#545454;
}
.search-box .submit,.followThis{
	background-color:#00c652;
}
.search-box{
	box-shadow: inset rgba(0,0,0,0.2) 0 0 3px;
	margin: 0;
	height: 40px;
	line-height: 40px;
}
.search-wrapper > input{
	height: 40px;
	line-height: 40px;
}

.search-box .submit {
	width: 40px;
	height: 40px;
	background-repeat: no-repeat;
	background-position: 0px 2px;
	background-size: 40px;
}

.followBx, .followThis,.search-box input.text{
	font-family:inherit;
	font-weight:900;
}
.followBx{
	background:transparent;
}
.trx{
	transform: translateX(-15px);
}
/*flags*/
.flag-list{
	margin: 5px auto;
	box-shadow: 0px 2px 6px rgba(0,0,0,.1);
	display:flex;
	width: 100%;
	flex-direction: column;
	height: 250px;
	overflow: hidden;
	flex-wrap: wrap;
	direction: rtl;
}
.flag-list .post-card{
	display: block;
	border-radius: 0px;
	animation: 15s slider infinite;
	left: 0;
	overflow: hidden;
	width:100%;
	box-shadow: 0px 2px 6px rgba(0,0,0,.1);
	z-index:4;
	position: relative;
}
.flag-list .post-card .p-img{
	border-radius: 0px;
	width:100%;
	height: 250px;
	background-color: #00c652;
}
.flag-list .post-card .p-img img{
	min-height: 100%;
	min-width: 100%;
	height: auto;
	width: auto;
}
.flag-list .post-card h2{
	position: absolute;
	font-size: 30px;
	text-align: center;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg,rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0));
	color: #ffffff;
	text-shadow: 0 0 30px rgba(0,0,0,.9);
	transition: all 0.3s;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 5px;
	margin: 5px 5px 0 0;
}
/*صفحه بندی*/
.pages{
	text-align: center;
	margin-bottom: 20px;
}
.pages a{
	background: #fbfbfb;
	padding: 2px 10px;
	border-radius: 13px;
	margin: 0 10px;
	box-shadow: 0 2px 2px rgba(0, 0, 0, .08);
}
.pages a:hover{
	transform: translateX(4px);
}
/*فوتر*/
footer {
	background: #314148;
	box-shadow: 0 -4px 10px rgba(49, 65, 72, .3);
	text-align: center;
	line-height: 2.5em;
}

/*منوی فوتر*/
footer .ftr-menu ul a li {
	color: #ffffff;
	display: inline;
	padding: 0 10px;
	line-height: 25px;
	transition: all .2s;
	position: relative;
}

footer .ftr-menu ul a li:before{
	content:'';
	position: absolute;
	top:100%;
	right:0;
	height:3px;
	width:100%;
	transform: rotateY(90deg);
	transition: all .3s;
	border-radius: 1.5px;
}
footer .ftr-menu ul a li:hover:before{
	background: #fbfbfb;
	transform: rotateY(0deg);
}
/*کپی رایت فوتر*/
footer .copyright div,
footer .copyright a {
	padding: 0 20px;
}

footer .copyright {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	background: rgba(0,0,0,0.2);
}
/*فرم نظر*/
.formField2 .fldcontent{
	margin-right:0;
}
.formField2 label{
	float:none;
	font-size:13px;
}
select,.formField2 input.text, .formField2 textarea{
	width:100%;
	padding:8px;
	appearance:none; -moz-appearance:none; -webkit-appearance:none;
	border:none;
	background:#E1E2E1;
	font-size:15px;
	font-family:inherit;
}
select:focus,.formField2 input.text:focus, .formField2:focus textarea:focus{
	outline:none;
}
div.inputFix{
	padding:0;
}
.in .formField2{
	width:calc(33% - 1px);
	clear:none;
	display: inline-block;
}
.bComForm .hasComment{
	margin-left:0;
}
.bComForm .commentAvatar,.bComForm .commentAvatar img{
	border:none;
	float:none;
	padding:0;
	border-radius:40%;
}
.bComForm .sendbutton{
	float:none;
	width:100%;
	background:#00c652;
	border:none;
	padding:5px 0;
	border-radius:10px;
	font-family:inherit;
	color:#ffffff;
}
/*انیمیشن h1 h2*/
@keyframes vibr {
	
	0%,
	60% {
		transform: translateX(4px);
	}
	
	10%,
	70% {
		transform: translatey(-4px);
	}
	
	30%,
	50% {
		transform: translatez(4px);
	}
	
	20%,
	80% {
		transform: translateY(4px);
	}
	
	90% {
		transform: translateX(-4px);
	}
	
	40% {
		transform: translateZ(-4px);
	}
}
/*انیمیشن دکمه هدر*/
@keyframes bottom{
	50%{
		transform: translateY(100%);
	}
}
@keyframes scale{
	50%{
		transform: scale(1.3);
		box-shadow: 0 9px 20px rgba(0, 0, 0, .1);
	}
}
@keyframes slider{
	0%,10%{
		left: 0;
	}
	20%,30%{
		left: 100%;
	}
	40%,50%{
		left: 200%;
	}
	60%,70%{
		left: 300%;
	}
	80%,90%{
		left: 400%;
	}
}
@keyframes heartScale{
	50%{
		transform:scale(1.25);
	}
} 
/*موبایل*/
@media (max-width:52rem) {
	main{
		flex-flow: column wrap;
	}
	.post-list,
	.sides {
		width: 100%;
		margin: 0 auto 0 auto;
	}
	aside,.post{
		width:100%;
	}
	.in .formField2{
		width:100%;
		clear:both;
	}
	.share-box{
		flex-direction: column
	}
	.share-links {
		margin: 1rem 0;
	}
}
rate-button-box.rated{
	--fa-secondary-opacity: 1;
		animation: heartScale 250ms ease;
	}
