@font-face {
    font-family: 'yekan';
    src: url('//cdn.bayan.ir/blog/templates/shared/fonts/BYekan.woff?download') format('woff');
    font-weight: normal;
    font-style: normal;
}
/*---body---*/
body {
	 
	font-family: Helvetica;
	font-size: 12px;
	
	   margin:0;
  min-height:100vh;                     /* کل صفحه */
  background:#383838;                      /* رنگ پایه */
  background-image:
    radial-gradient(circle 3px at 3px 3px, #3D3D3D 100%, transparent 0);
  /*   ^^^⁞‌circle 3px → قطر 3 px،   ⁞⁞‌at 3px 3px → مرکز نقطه داخل سلول   */
  background-size:40px 40px;            /* فاصلهٔ بین نقاط */
  background-position:0 0;

}
body a{
	text-decoration: none;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.clear {
	clear: both;
}
#wrp {
	width: 800px;
	margin: auto;
}
/*---header---*/
#header {

    /* background-image: url(https://bayanbox.ir/view/1092472530512261309/attiher4.svg);
    background-repeat: no-repeat;
    background-size: 400px;
    background-position: bottom;
	padding: 10px; */
	text-align: center;
    width: 100%;
    height: 15vh;
	position: relative;

	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 150px;

    
}

.header-img{
	width: 300px;
}
#header a{
	color: #ecebe9;
}
#header h1{
	font-weight: normal;
	font-family: yekan,tahoma;
	font-size: 22px;
	margin: 0;
}
#header h2{
	font-weight: normal ;
	font-family: yekan,tahoma;
	font-size: 12px;
	color: #b9b698; 
	margin: 0;
}
.header-image {
	margin: 10px 0px;
	text-align: center;
}
.header-img-back {
	display: inline-block;
	padding: 2px;
	border: 1px solid #e5e5e5;
}
.header-img-back img{
	width: 120px;
	height: 120px;
}



/* rotated-seperator-line */

.rotated-seperator-line{
	width: 100vw;
	background-color: #8F3515;
	transform: rotate(2deg);
	display: flex;
	justify-content: center;
	align-items: center;
	justify-self: center;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	
	
}

.rotated-seperator-line p{
	font-size: 18px;
	text-wrap: nowrap;
	font-family:  Arial;
	font-weight: 900;
	color:#383838;
}
.rotated-seperator-line-second p{
	font-size: 18px;
	text-wrap: nowrap;
}


.rotated-seperator-line-second{

	width: 100vw;
	background-color: #bd471c3a;
	transform: rotate(-2deg);
	display: flex;
	justify-content: center;
	align-items: center;
	justify-self: center;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;

}

/* rotated-seperator-line */


/* منوی اصلی وبسایت */
/*-- Main Menu --*/
	.main_menu{
		position: fixed;
		top: 1rem;
		height:50px;
		
        background-color: #B5B5B5;
        border-radius: 2rem;
        display: flex;
        /* justify-content: center; */
        align-items: center;
		padding: 0px 16px;
		align-self: center;
	direction:ltr !important;
		
	}
	.main_menu .cnt{
		width:100%;
        display: flex;
        justify-content: center;
        align-items: center;
        
		
        
	}
	.main_menu .cnt ul{
		direction: rtl;
		list-style:none;
        
		
	}
	.main_menu .cnt li{
		direction: rtl;
		float:left;
		cursor:default;
        
		
		
	}
	/* .main_menu .cnt li:last-child{
        
		background-color: #BD461C;
        border-radius: 2rem;
        color: white;
	} */
	.main_menu .cnt a{
		display:block;
		font-family: "b nazanin",Arial,"Times New Roman", Helvetica;
		font-weight:bold;
		font-size:15px;
		color:#383838;
		padding:0px 18px 0px 0px;

	}


   
	.main_menu .cnt a:hover{
		color:#000000;
		
	}
	.main_menu .cnt a.selected{
		color:#000000;
		
	}


.avatar{
	width: 40px;
	height: 40px;
	border-radius: 5rem;
	background-color: rgb(230, 230, 230);
	position: relative;
	overflow: hidden;
	margin-right: 20px
}

.avatar img{
	height: 100%;
	width: 100%;
	margin-top: 5px;
}



/*---block-post---*/
#block-post {
	
	width: 500px;
	display: flex;
    flex-direction: column;
    justify-self: center;
	
	
	
}
/*---block-message---*/
.align {
	margin-bottom: 10px;
}
.messages {
	background: #383838;
	box-shadow: 0px 0px 4px 2px #ededed;
	padding: 1px 10px;
	text-align: center;
}
.messages h2{
	font-family: yekan,tahoma;
	font-weight: normal;
	font-size: 16px;
}
/*---post---*/
.post {
	margin-top: 55px;
	margin-bottom: 20px;
	border: 1px solid #4e4e4e;
	border-radius: 1.5rem;
	padding: 1.5rem;
	background-color: #383838;
}
.post img{
	max-width: 100%;
	height: inherit;
}
.post audio{
	max-width: 100%;
	height: inherit;
}
.post video{
	max-width: 100%;
	height: inherit;
}
.post-title {
	padding: 2px 10px;
	
	
}
.post-title a{
	color: #ecebe9 !important;
	font-size: 20px;
}
.post-title a:hover{
	color: #755a43;
}
.post a{
	color: #f29340;
}
.post a:hover{
	color: #e17314;
}
.post-title h2{
	font-size: 12px;
	font-family: yekan,tahoma;
	font-weight: normal;
	margin: 0;
	padding: 0;
}
.post-content {
	line-height: 1.7;
	padding: 5px 10px 5px 10px;
	margin: 4px 0px;
    color: #B5B5B5;
	font-family: yekan,tahoma;
	margin-bottom: 1.5rem;
	
}
.read-more {
	text-align: center;
	margin-bottom: 10px;
}
/*---post-detail---*/
.post-detail {
	border-top: 2px solid #4b4b4b;
	font-family: Yekan, Arial;
	padding: 16px 6px 6px 6px;
}
.post-detail li{
	display: inline-block;
	padding: 0px;
}
.post-detail li:after {
	content: "|";
	color: #e5e5e5;
}
.post-detail li:last-child:after {
	content: "";
}
.post-detail-right {
	float: right;
}
.post-detail-right span{
	padding: 0px 2px;
	color: #999999;
}
.post-detail-left span {
	color: #999999;
}
.post-detail-left {
	float: left;
}
.post-detail-left a{
	color: #B5B5B5;
}
.rate-box:hover .fa-heart-o:before {
	content:"\f004";
	transition-duration: .5s;
}
.rate-box.rated .fa-heart-o:before {
	content:"\f004";
	transition-duration: .5s;
}
.post-tags {
	background-color: #0000001f;
	border-radius: 2rem;
	padding: 0.5rem;
}
.post-tags a{
	color: #b0aa96;
	border: none !important; 
}
.post-tags a:hover{
	color: #f29340;
}
.post-tags-title {
	

	margin-bottom: 4px;
	border-radius: 2px;
	color: #7d7d7d;
}
/*----comment-----*/
.comment-count-box {
	text-align: center;
	margin-top: 10px;
	padding: 8px 0px;
	background: transparent;
	font-family: yekan;
	background-color: #8F3515;
	border-top-left-radius: 1.5rem;
	border-top-right-radius: 1.5rem;
	font-family: Yekan, Tohama, Arial;

}
.comment-count-box a{
	color: #B5B5B5;
	font-size: 20px;
	text-transform: uppercase;
	font-family:Arial, Helvetica, sans-serif ;
	letter-spacing: 5px;
	text-align: center;
}
.cm-body {
	background: #0000001f;
	border-radius: 1.5rem;
	margin-right: 56px;
	padding-bottom: 1px;
	border-top-right-radius: 0;
	font-family: Yekan, Tohama;
}
.cm-main {
	margin-top: 10px;
	
}
.cm-avatar {
	float: right;
	
}
.cm-av {
	width: 50px;
	border-radius: 50%;
	
}
.comment-details {
	padding: 6px;
	
	overflow: hidden;
	border-top-right-radius: 2px;
	border-top-left-radius: 2px;
}
.cm-name {
	margin-right: 5px;
	float: right;
	color: #B5B5B5;
}

.bComForm .sendbutton.hasCheckbox{
	background-color: #BD461C;
	padding: 1rem;
	margin: 1rem;
	width:80%;
	font-family: Yekan, Arial;
	border: none !important;
	border-radius: 1.5rem;
	color: #B5B5B5;
}


.post-detail-top li{
	margin-bottom: 16px;
	
}




.cm-name a{
	color: #a3a3a3;
}
.cm-name a:hover{
	color: #858585;
}
.comment-matn {
	padding: 10px;
	line-height: 1.7;
	overflow: hidden;
	color: #B5B5B5;
}
.comment-link {
	width: 15px;
	height: 15px;
}
.cm-reply-main {
	overflow: hidden;
	padding: 0px 10px 10px 10px;
}
.comment-reply {
	margin-right: 40px;
	margin-left: auto;
	padding: 8px;
	
	background: #272727;
	line-height: 1.7em;
	color: #B5B5B5;
	border: none ;
	border-radius: 1rem;
	border-top-right-radius: 0;
}
.comment-reply-page {
	padding: 8px;
	border: 1px solid #e5e5e5;
	background: #fafafa;
	line-height: 1.7em;
	color: #000;
	border-radius: 6px;
}
.reply-av {
	width: 35px;
	float: right;
	border-radius: 50%;
}
.comment-add-form {
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 10px;
	background: #fff;
	color: #000;
	border: 1px solid #e5e5e5;
}
.bComForm .sendbutton.hasCheckbox:hover {
	background: #e0e0e0;
	transition-duration: .3s;
}
input[type=button], input[type=text], input[type=password], input[type=submit], button, textarea, select, .inputBox, input.text, a.btn, a.btn:hover, a.btn:visited {
	background-color: #f7f7f7;
	border: 1px solid #e5e5e5;
	color: #454545;
	border-radius: 0px;
}
.htmlbox {
	border: 1px solid #dedede !important;
	background: #fff;
}
.bComForm .sendbutton.hasCheckbox {
	background: #fafafa;
	border: 1px solid #e5e5e5;
	cursor: pointer;
	margin-top: 0;
	width: 100px;
	border-radius: 2px;
	color: #000;
}
.bComForm .sendbutton.hasCheckbox:hover {
	background: #f7f7f7;
	transition-duration: .3s;
}
/*--cm-detail-top--*/
.post-detail-top {
	padding: 2px 0px;
	

	border-bottom: 1px solid #ebebeb3a;
	color: #707070;
	cursor: default;
	font-size: 12px;
}
.post-detail-top a {
	color: #787878;
	cursor: default;
}
.post-detail-top ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
.post-detail-top li{
	border-left: 1px solid #e0e0e0;
	display: inline-block;
	padding: 0px 5px;
}
.post-detail-top li:last-child {
	border-left: 0px;
}
/*---pagingation---*/
.pagingation {

	
	text-align: center;
	padding: 4px 6px;
}
.pagesList {
	display: inline-block;
}
.pagingation li{
	display: inline-block;
}
.pagingation li:after{
	content: "|";
	color: #e5e5e5;
}
.pagingation li:last-child:after{
	content: "";
}
.pagingation a{
	padding: 8px 8px;
	color: #B5B5B5;
	background-color: #8F3515;
	border-radius: 0.5rem;
	font-family: Yekan;

}
.pagingation a:hover{
	filter:brightness(1.3);

}
/*---block-left---*/
#block-left {
	width: 190px;
	float:left;
	line-height: 1.6em;
	color: #666;
	background: #fff;

	padding: 10px;
	margin-top: 40px;
}
#block-left .left-box {
	background: #fff;
	margin-bottom: 10px;
	cursor: default;
}
#block-left .left-detail {
	margin: 4px 0px;
	border: 1px solid #e5e5e5;
}
#block-left .left-title {
	background: #2d291f;
	padding: 4px 6px;
	font-family: yekan,tahoma;
	color: #ecebe9;
}
#block-left a{
	color: #000;
}
#block-left a:hover {
	color: #f29340;
}
#block-left .left-detail li{
	border-bottom: 1px solid #e5e5e5;
	padding: 4px 6px;
}
#block-left .left-detail li:last-child{
	border-bottom: 0px;
}
.left-detail li:hover {
	background: #fafafa;
}
.left-detail a{
	display: block;
}
/*---about-me---*/
.about-me {
	padding: 0px 10px 10px 10px;
	border: 1px solid #e5e5e5;
}
.blog-image {
	text-align: center;
}
.about-me img{
	width: 170px;
	margin-top: 10px;
}
.blog-description {
	padding-top: 10px;
}
/*---follow-box---*/
.followBx {
	margin-top: 10px;
	background: #fff;
	border-radius: 0px;
	border-top: 1px solid #e5e5e5;
	
}
.followThis.followed {
	background: #8F3515;
	/* padding: 10px; */
	display: flex;
	/* justify-content: center; */
	align-items: center;
	text-align: center;

}

.main_menu .cnt a{
	text-align: center;
	display: flex;
	/* justify-content: center; */
	align-items: center;
	padding: 0 5px;
}
.followThis {
	background: #8F3515;
	border-radius: 1rem;
	font-family: yekan,tahoma;
	font-size: 14px;
	color: #B5B5B5 !important;
	
}

.followThis:hover{
	filter: brightness(1.3);
}
#followInBx #followersLs .followImg {
	border-radius: 50%;
}
/*---stat---*/
.left-stat {
	border: 1px solid #e5e5e5;
	margin: 4px 0px;
}
.left-stat li{
	padding: 4px 6px;
	border-bottom: 1px solid #e5e5e5;
}
.left-stat li:last-child{
	border-bottom: 0px;
}
.stat-value {
	float: left;
}
/*---category---*/
.left-category {
	border: 1px solid #e5e5e5;
	margin: 4px 0px;
}
.left-category li{
	padding: 4px 6px;
}
.count {
	color: #bdbdbd;
}
.left-category li a{
	padding-right: 12px;
	background-image: url(//bayanbox.ir/view/8661660237688751606/category-right.png);
	background-repeat: no-repeat;
	background-position: right center;
	display: inline-block;
}
.left-category .category-child a{
	padding-right: 12px;
	background-image: url(//bayanbox.ir/view/4955324527815090542/category-child-right.png);
	background-repeat: no-repeat;
	background-position: right center;
	display: inline-block;
}
/*---recent-comments---*/
.recent-cm-main {
	overflow: hidden;
}
.recent-cm-main img{
	width: 30px;
	float: right;
	border-radius: 50%;
	margin-top: 3px;
}
.recent-cm-detail {
	margin-right: 35px;
}
.recent-cm-name {
	color: #f29340;
}
.recent-cm-matn {
	color: #000;
}
/*---recent-post---*/
.left-detail a:hover{
	color: #666;
}
/*---tags---*/
.left-tag {
	padding: 4px 0px;
}
.tags a{
	border: 1px solid #e5e5e5;
	padding: 4px 6px;
	margin: 2px 0px;
	display: inline-block;
}
/*---footer---*/
.footer {
	
	background-color: #8F3515;
	height: 200px;
	width: 100%;
	margin-top: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: #B5B5B5;
}
.footer a{
	text-align: center;
	color: #f29340;
}
footer a:hover {
	color: #e87e21;
}
.atti {
	
}
.bayan {
	
}

@media (max-width: 840px) {
  * {
    box-sizing: border-box;
  }





  .wrp,
  #wrp,
 
 
  .cnt,
  .header .hdr-cnt,
  .head_wrp,
  #wrp .box1 .bx_center .post {
    max-width:90%;
  }
  .main_menu,
   .main_menu .cnt,
  #wrp .main_menu {
    
    max-width: 90%;
	font-size: 8px;
	flex-wrap: nowrap;
	display: flex;
	flex-direction: row;

  }

    .main_menu{
		padding-left:8px;
		padding-right:8px;
	}
/*   .main_menu:after {
    content: "";
    display: table;
    clear: both;
  } */
  .box1 {
    display: flex;
    flex-direction: column-reverse;
  }
  .bx_center,
  #wrp .box1 .bx_center,
  #wrp .box1 .bx_right,
  #wrp .box1 .bx_left.right,
  #wrp .box1 .bx_left,
  #wrp .box1 .bx_left .sidebar,
  #wrp .box1 .bx_left .sidebar.left,
  #wrp .box1 .bx_left .sidebar.right {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
  .footer_contain .content .bx {
    float: none;
    display: block;
    width: 100%;
  }
  #wrp .header,
  .header {
    height: unset;
  }
  #wrp .header .hdr_right,
  #wrp .header .hdr_left,
  .header .hdr_left,
  .header .hdr_right,
  .footer .ftr_right,
  .footer .ftr_left,
  .footer .links,
  .footer .icons {
    float: none;
  }
  .footer span.icons {
    display: block;
    padding: 0;
  }
  .footer .cnt {
    height: unset;
    text-align: center;
  }
  .footer .icons:after {
    content: "";
    display: table;
    clear: both;
  }
  .footer .icons a {
    display: inline-block;
    float: none;
  }
  .content,
  #wrp_bg {
    max-width: 100%;
  }
  #block-post,
  #block-left {
    max-width: 100%;
    float: none;
  }
  #wrp .box1 {
    width: 100%;
    margin: 0;
    padding: 15px;
    float: none;
  }
  #wrp .box1 .mod_both .title,
  #wrp .box1 .bx_left .mod_left .title,
  #wrp .box1 .bx_right .mod_right .title,
  #wrp .box1 .bx_left .mod_left .title h3,
  #wrp .box1 .bx_left .mod_left .title .txt,
  #wrp .box1 .bx_right .mod_right .title .txt,
  #wrp .box1 .bx_right .mod_right .title,
  #wrp .box1 .bx_left .mod_left .title .cnt,
  #wrp .box1 .bx_right .mod_right .title h3 {
    height: unset;
  }
  .mini_icon {
    display: none;
  }


  /*👇 ادمهٔ کد واکنش‌گرایی*/

  /*☝️ ادمهٔ کد واکنش‌گرایی*/


  #header {

    /* background-image: url(https://bayanbox.ir/view/1092472530512261309/attiher4.svg);
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: bottom;
	padding: 10px; */
	text-align: center;
    width: 100%;
    height: 30vh;
	position: relative;
	padding-top: 200px;

    
}

.pagingation a{
	padding: 4px;
	font-size: 10px;

}



.comment_count{
	text-overflow: hidden;

}

.comment-count-box{
	overflow: hidden;
}



}


@media  (max-width: 380px) {

	  #header {

		height: 50vh;
	  }

	  .rate-button{
		margin-left: 0 !important;
	  }

	  .post{
		padding: 0.5rem;
	  }


	  .main_menu{
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		padding: 0;
		
		width: 90%;
		
		
		
	  }

	  .menu-lists{
		flex-direction: row;
		display: flex;
		justify-content: center;
		align-items: center;
		direction: ltr !important;
		
	  }

	  


	  #followThis{
		text-wrap: nowrap ;
	
	  }

	  .avatar{
		margin-right: 10px;

	  }

	
	
}