@charset "utf-8";
/* CSS Document - v3.5.0 */

html {
    direction: ltr;
}
@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 {
background-image: url('https://bayanbox.ir/view/2208353835199795869/body.png'), linear-gradient(to bottom right, #ffffff, #ffffff);
    font-family: "Vazirmatn","yekan","tahoma", "arial", "Times New Roman", Times, Arial, serif;
    font-size: 11px;
    margin: 0;
    padding: 0;
    line-height: 1.9em;
	height:100%;
}
.wrapper {
	min-height:100%;
	position:relative;
}
p {
    margin-bottom: 0.5em;
}
hr {
  border: 1px dotted #448aff;
}
pre {
    direction: ltr;
    background-color: #FAFAEE;
    border: 1px solid #DADADA;
    margin: 1em;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px;
}

.clear {
    clear: both;
}

::-webkit-scrollbar {
    background: #f0f0f0;
    width: 12px;
    height: 15px;
}

::-webkit-scrollbar-thumb {
    background: #cdcdcd;
}

::-webkit-scrollbar-corner {
    background: #fff;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: #a6a6a6;
}

::-webkit-scrollbar-thumb:active {
    background: #606060;
}

h1, h2, h3 {
    font-family: "Vazirmatn", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    font-weight: normal;
}

img {
    border: none;
    border-width: 0;
}
/*********************************************/
.actimg
{
	min-width: 256px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 40%;
	transition: transform 1s;
}
.actimg:hover
{
    transform: scale(1.2);
    text-decoration: none;
    cursor: pointer;    
}
/*********************************************/

a {
   
    cursor: pointer;
    text-decoration: none;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}

a:hover {
    color: #c5b2f2;
    text-decoration: none;
    cursor: pointer;
}

a:act
    outline: hidden;
}

/*-- Header --*/
.header {
            background-image: none;
            background-color: #448aff;
            color: #ffffff;	
	    padding-bottom: 100px;
    /*margin-bottom: -100px*/
    position: relative;
    width: 100%;    
    margin: auto;
    direction: rtl;
    height: 100px;
    text-align: right;

}

.header h1 {
	width: 100%;    
	max-width: 1180px;
    font: 29px/1.2em "Vazirmatn", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    color: #967adc;
    margin: auto;
    padding-top: 21px;
    direction: rtl;
	text-align:right;
}

.header h2 {
    font: 15px/1.2em "Vazirmatn", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    color: #9aa1ab;
    margin: 0;
    cursor: default;
}

.header a {	
   color:#fff;
    cursor: pointer;
    text-decoration: none;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}
.header img {
	
    height: 100px;
    width: 100px;
    border-radius: 25px;
    margin-left: 5px;
	margin-right: 20px;
	border: 2px solid #5D9AFF;
	
}

/***********************************/

.main-menu {
    position: relative;
    direction: rtl;
    cursor: default;
    width: 98%;
    max-width: 1100px;
	top:-60px;
	margin-bottom: -40px !important;
	/*margin-right: 5px;
	margin-left: 5px;*/
	height:115px;
	
    margin: auto;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    /*box-shadow: 0 4px 6px -2px #bbb;*/
	    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
}

.main-menu ul li a {
    flex-wrap: wrap;
	list-style-type: none;
    	margin: 5px 15px 2px 15px;	
	padding: 5px 5px 12px 0px;	
	float:right;
	height:60px;
	width:20%;
	max-height: 50px;
	max-width:70x;
        transform: scale(1);
	    background: #fff;
    border-radius: 5px;
    box-shadow: 0  #fff;
	color:black;
}

.main-menu ul li a:hover::before {
	list-style-type: none;
    transition: 0.3s ease;        
color:black;
}
.main-menu  ul li a:hover {
	list-style-type: none;
	background-color: #448aff;
    box-shadow: 0 3px 10px #00000044;
    transform: scale(1.2);
	color:white;
}
/*************************************/
.middle-posts {
    position: relative;
    margin: 30px auto;
    width: 550px;
    height: 150px;
    direction: rtl;
	    border-radius: 15px;
    box-shadow: 0 4px 6px -2px #bbb;

}

.middle-posts ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.middle-post-item {
    position: absolute;
    top: 0;
    width: 266px;
    height: 150px;
    border-radius: 6px;
    box-shadow: 0 4px 6px -2px #bbb;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
    text-align: center;
}

.middle-post-readmore{
    position: absolute;
    display: block;
    width: 31px;
    height: 31px;
    background: url(//cdn.bayan.ir/blog/templates/53176/readmore.png) no-repeat center;
    opacity: 0.7;
    bottom: 25px;
    left: 45%;
}

.middle-post-readmore:hover{
    opacity: 1;
}

.middle-posts ul li:nth-child(1) {
    left: 0;
    background: #4fc0e8;
}

.middle-posts ul li:nth-child(2) {
    right: 0;
    background: #ac92ec;
}

.middle-post-item:hover {
    box-shadow: 0 4px 6px -2px #777;
}

.middle-post-item h2 {
    margin: 18px 15px;
}

.middle-post-item h2 a {
    margin: 0;
    color: #fff;
    font-size: 19px;
    line-height: 1.6em;
}

.middle-post-item h2 a:hover {
    color: #eee;
}

/*-- Content --*/
.content-wrp {
    direction: rtl;
    width: 97%;
    max-width: 1100px;
    margin: 15px auto 15px;
    position: relative;
}

.block-content {
}

.block-content-view {
    width: 100%;
}

.block-content .messages {
    cursor: default;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 6px -2px #bbb;
}

.block-content .messages .messages-content {
    padding: 5px 15px;
    color: #999;
}

.block-content .messages .messages-content h2 {
    color: #9aa1ab;
    font: 17px "Vazirmatn", "Times New Roman", Times, Arial, serif;
    text-align: center;
    cursor: default;
    margin: 0 0 7px;
}

.block-content .messages .messages-content h2 a.comment_count {
    color: #967adc;
}

.block-content .messages .messages-content h2 a.comment_count:hover {
    color: #9aa1ab;
    cursor: pointer;
}

/*-- Content-post --*/
.block-content .post {
    position: relative;
    padding: 0;
    margin-bottom: 30px;
    font-family: "Vazirmatn", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 6px -2px #bbb;
    border-radius: 15px;

}

.post-list-home-right {
    float: right;
}

.post-list-home-right .post-image {
    overflow: hidden;
    width: 140px;
    border: 1px solid #78858a;
    margin: 20px 20px 5px;
}

.post-image {
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-image a img {
    -ms-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.post-image a:hover img {
    -ms-transform: scale(1.04);
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}

.block-content .post .post-title {
    padding: 20px 20px 15px;
}

.block-content .post h2 {
    margin: 0;
}

.block-content .post h2 a {
    line-height: 1.7em;
    font-size: 20px;
    color: #967adc;
}

.block-content .post h2 a:hover {
    color: #4fc0e8;
}

.post-content {
    color: #6b828e;
    margin: 0 20px;
    padding-bottom: 20px;
    text-align: justify;
    font: 14px "Vazirmatn", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
	
}

.post-content a {
    color: #967adc;
}

.post-content a:hover {
    color: #d5e6ec;
}

.post-content ul li {
    margin-right: 5px;
    line-height: 1.9em;
}

.post-content img {
    max-width: 98%;
    height: auto;
}

.post-readmore {
    margin: 0px 20px 25px;
}

.post-readmore a {
    font-size: 14px;
    line-height: 1em;
    padding: 0 15px 3px;
    color: #fff;
    background: #967adc;
    border-radius: 3px;
}

.post-readmore a:hover {
    color: #fff;
    background: #b9a5ed;
}

/*-- Content-post-details --*/
.post-details {
	height:50px;
	border-radius:0px 0px 15px 15px;
	background-color: #448aff10;
	box-shadow: 0 0 0 1px #448aff33;
    	font: 14px "Vazirmatn", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    	color: #b0c5cd;
    	cursor: default;
    	position: relative;
	margin:0px 0px 500px 0px;
}

.post-details a {
    color: #b0c5cd !important;
}

.post-details a:hover {
    color: #967adc !important;
}

.post-details.over {
    position: absolute;
    z-index: 9;
}

.post-details.over .post-details-date {
    margin: 0 0 2px;
    padding: 1px 10px 5px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.post-details.over .post-details-author {
    margin: 0 0 2px;
    padding: 1px 10px 5px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.post-details.bottom {
    margin-top: 15px;
    padding: 5px 10px;
    border-top: 1px solid rgba(172, 186, 192, 0.2);
}

.post-details.bottom.nobg {
    background: none;
}

.post-details.custom {
    margin-top: 10px;
    padding: 10px 20px;
}

.post-details-right {

}

.post-details-left {
    float: left;
}

.post-details-date {
    border-left: 1px solid rgba(172, 186, 192, 0.2);
    padding: 0 10px;
    margin-left: 3px;
}

.post-details-date.none {
    padding: 0;
    margin: 10px 0 0;
    background: none;
    border-left: 0;
    display: block;
}

.post-details-comment {
    border-left: 1px solid rgba(172, 186, 192, 0.2);
    padding: 0 10px;
    margin-left: 1px;
}

img.rateimg, img.rateup, img.ratedn {
    background: url(//cdn.bayan.ir/blog/templates/53176/pd_ico_rate.png) no-repeat center left;
    width: 16px;
    height: 28px;
    vertical-align: top;
}

.rate-down img.rateimg, img.ratedn {
    background-position: 0 -17px;
}

.rate-up img.rateimg, img.rateup {
    background-position: 0 3px;
}

.rate-up {
    margin: 0 10px;
}

/*-- keywords --*/
.post-details .post-details-tags {
    cursor: default;
}

.post-details .post-details-tags h3 {
    margin: 0;
    display: inline-block;
    font: 14px/1.3em "Vazirmatn", "tahoma", "arial", "Times New Roman", Helvetica;
    color: #fff;
    background: #b9a5ed;
    border-radius: 3px;
}

.post-details .post-details-tags h3 a {
    color: #fff !important;
    padding: 1px 7px 4px;
    display: inline-block;
    border-radius: 3px;
}

.post-details .post-details-tags h3 a:hover {
    color: #fff !important;
    background: #4fc0e8;
}

.post-details .post-details-tags h3:first-child {
}

.post-details .post-details-tags h3:last-child {
    margin: 0;
}

/*-- Post Comments --*/
.post-comments {
    font: 14px "Vazirmatn", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    margin-bottom: 15px;
}

.post-comment {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 6px -2px #bbb;
}

.comment-details {
    background: #f9f9f9;
    padding: 0;
    cursor: default;
    border-radius: 6px 6px 0 0;
}

.comment-details a {
    color: #A4CACF;
    cursor: pointer;
    vertical-align: bottom;
    margin-right: 5px;
    -moz-transition-duration: .0s;
    -webkit-transition-duration: .0s;
    -o-transition-duration: .0s;
    -khtml-transition-duration: .0s;
}

.comment-details-left {
    padding: 4px 0 0 5px;
    float: left;
}

.comment-details-right {
}

.comment-avatar img {
    width: 34px;
    height: auto;
}

.comment-name {
    color: #888;
    cursor: default;
    padding: 0 5px;
}

.comment-body {
    padding: 10px;
}

.comment-body-content {
    color: #555;
}

.comment-date {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
}

.comment-website {
    background: url(//cdn.bayan.ir/blog/templates/53176/details_ico_cmt.png) center -102px no-repeat;
    width: 18px;
    height: 23px;
    display: inline-block;
}

.comment-website:hover {
    background-position: center -125px;
    cursor: pointer;
}

.comment-email {
    background: url(//cdn.bayan.ir/blog/templates/53176/details_ico_cmt.png) center -60px no-repeat;
    width: 18px;
    height: 23px;
    display: inline-block;
}

.comment-email:hover {
    background-position: center -79px;
    cursor: pointer;
}

/*-- Reply --*/
.comment-reply {
    margin-bottom: 15px;
    border: 1px solid #6ec2e5;
    background-color: #e5f7ff;
    color: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    box-shadow: 0 4px 6px -2px #cbe2eb;
}

.comment-reply-details {
    padding: 5px 10px 0;
}

.comment-reply-date {
    float: left;
    color: #31ace0;
    cursor: default;
}

.comment-reply-name {
    color: #31ace0;
    cursor: default;
}

.comment-reply-body {
    color: #31ace0;
    padding: 10px;
}

/*-- add Comment --*/
.comment-add-form {
    color: #aaa;
    padding: 10px;
    margin-bottom: 30px;
    font: 14px "Vazirmatn", "tahoma", "arial", "Times New Roman", Helvetica;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 6px -2px #bbb;
}

.comment-add-form input.sendbutton {
    color: #fff;
    border: none;
    background: #b9a5ed;
    padding: 0 30px 2px;
    cursor: pointer;
    font: 15px "Vazirmatn", "tahoma", "arial", "Times New Roman", Helvetica;
    -webkit-appearance: button;
    border-radius: 3px;
}

.comment-add-form input.sendbutton:hover {
    color: #fff;
    border: none;
    background: #4fc0e8;
}

.comment-add-form iframe {
    background: #FFF;
}

/*-- Pagination --*/
.block-content .pagination {
    cursor: default;
    display: block;
    text-align: center;
    margin-bottom: 0;
    font: 13px "Vazirmatn", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
}

.block-content .pagination .left {
    margin-left: -3px;
}

.block-content .pagination a {
    padding: 2px 12px 2px;
    margin-left: 3px;
    cursor: pointer;
    color: #fff;
    background: #b9a5ed;
    border-radius: 3px;
}

.block-content .pagination a:hover {
    background: #4fc0e8;
}

.block-content .pagination a.current {
    background: #4fc0e8;
}

.block-content .pagination .spacer {
    float: right;
    padding: 1px 8px;
    color: #999;
}

.pagination {
    padding-top: 0;
}

/*-- Sidebar --*/
.block-sidebar {
    margin-top: 30px;
}

.sb-left {
    float: left;
}

.sb-right {
    float: right;
}

.sb-left, .sb-right {
    width: 265px;
}


/*-- Footer --*/

.footer {
	position:sticky;	
    	direction: rtl;
    	cursor: default;    	  	
    	background-color: #448aff;
    	color: #fff;       
    	margin-top: 40px;
	padding-top: 5px;	
	left:0;	
    	bottom: 0;
	height: 52px;      
    	width: 100%;	
	font-size:200%;
	text-align: center;
box-shadow: 1px -4px 12px -3px rgba(0,0,0,0.75);
-webkit-box-shadow: 1px -4px 12px -3px rgba(0,0,0,0.75);
-moz-box-shadow: 1px -4px 12px -3px rgba(0,0,0,0.75);
}
