/*
Theme Name: yaseresmaeli2
Theme URI: http://www.irnetsoft.com
Author: Kashany
Author URI: http://www.irnetsoft.com/
Description: این قالب بصورتاختصاصی برای آقای یاسر اسماعیلی تهیه و برنامه نویسی شده است.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: yaseresmaeli2

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@font-face {
    font-family: 'B Yekan';
    src: url('fonts/BYekan.eot');
    src: url('fonts/BYekan.eot?#iefix') format('embedded-opentype'),
         url('fonts/BYekan.woff') format('woff'),
         url('fonts/BYekan.ttf') format('truetype');
}
@font-face {
    font-family: 'nassim';
    src: url('fonts/nassim-bold.eot');
    src: url('fonts/nassim-bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/nassim-bold.woff') format('woff'),
         url('fonts/nassim-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'IranNastaliq';
    src: url('fonts/IranNastaliq.eot');
    src: url('fonts/IranNastaliq.eot?#iefix') format('embedded-opentype'),
         url('fonts/IranNastaliq.woff') format('woff'),
         url('fonts/IranNastaliq.ttf') format('truetype');
}

@font-face {
    font-family: 'B Sina';
    src: url('fonts/BSinaBold.eot');
    src: url('fonts/BSinaBold.eot?#iefix') format('embedded-opentype'),
         url('fonts/BSinaBold.woff') format('woff'),
         url('fonts/BSinaBold.ttf') format('truetype');
}


body{
	background: url('images/body-bg.jpg') repeat;
	font-family: tahoma;
	font-size: 12px;
	min-width: 980px;
}

/*************************
**************************
-H-H-H-H-H-H-H-H-H-H-H-H-H
**************************
*************************/
.wrapper{
	width: 980px;
	margin: 0 auto;
}
.main-content{
	padding-top: 7px;
	padding-bottom: 7px;
}

a{
	text-decoration: none;
}


.clear{
	margin: 0;
	height: 0;
	padding: 0;
	clear: both;
}
div#outer-header{
	/* background: url('images/header.jpg') repeat-x; */
	/* background: url('images/header-bg.jpg') repeat-x;*/
	background: url('images/header-bg2.jpg') repeat-x;
	
}
div#header{
	/* background: url('images/header.jpg') center top no-repeat; */
	/* background: url('images/banner.png') center top no-repeat; */
	/* background: url('images/banner2.png') center top no-repeat; */
	background: url('images/banner3.png') right top no-repeat;
	width: 980px;
	/* height: 312px;*/
	height: 464px;
	position: relative;
}

div#frame{
	width: 486px;
	height: 340px;
	background: url('images/frame.png') center center no-repeat;
	position: absolute;
	/* bottom: 45px; */
	top: 25px;
	left: 30px;
}
div#frame-inner{
	width:404px;
	height:271px;
	margin: 34px 41px 36px 41px;
}
/**********************
Top menu Styles - Start
**********************/
li {
display: list-item;
text-align: -webkit-match-parent;
}

.topmenu{
	width: 788px;
	height: 41px;
	background: url('images/top-menu-bg.png') center center no-repeat;
	position: absolute;
	/* bottom: 45px; */
	bottom: 25px;
	left: 20px;
}



a.toclink{
	width:115px;
	height:30px;
	display:block;
	line-height:30px;
	margin-left:1px;
	margin-bottom:1px;
	background:url('images/bac_art.png') no-repeat top right;
	float:right;
	text-align:center;
}
a.active{
	font-weight:normal;
	color:#FFFFFF;
	text-shadow:1px 1px 2px #000;
}

.topmenu ul.menu, .topmenu ul.menu * {
	margin:0;
	padding:0;
	list-style:none;

}
.topmenu ul.menu {
	line-height:1.0;
}
.topmenu ul.menu li {
	float:right;
	position:relative;
	display: block;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	border-radius:5px;
	margin-top:2px;
	margin-right:1px;
}
.topmenu ul.menu a {
	display:block;
	position:relative;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.topmenu ul.menu {
	float:right;
	margin-right: 15px;
}
.topmenu ul.menu a {
	text-decoration:none;
	padding-left:5px;
	padding-right:5px;
}
.topmenu ul.menu a, .topmenu ul.menu a:visited  {
	color:#333333;
	text-shadow:0px 0px 1px #CFA664;
}
.topmenu ul.menu li {
	margin-right:2px;
	 height:29px; 
	 padding: 5px 3px 0px 7px;
	 margin-top: 4px;
	line-height:24px;
	font-family: 'B Yekan';
	font-size: 14px;
	font-weight: normal;
	margin-right: 5px;
	color: 
}
.topmenu ul.menu li li {
	background:#CFA664;
	max-height:24px;
	line-height:24px;
	width:199px;
}
.topmenu ul.menu li:hover, .topmenu ul.menu li.sfHover {
	background:#BD8459;
	box-shadow:1px 1px 3px -2px #000 inset;
	outline:0;
}


.topmenu ul.menu li.current-menu-item{
	background:#BD8459;
	box-shadow:1px 1px 3px -2px #000 inset;
	outline:0;
}






.main-menu a.menu-home {
background-image: url("images/icons/icon-menu-home.png");
background-position: center center;
background-repeat: no-repeat;
width: 28px;
}



/**********************
Top menu Styles - End
**********************/







/****************************
Column Layout Styles - Start
****************************/
.right-2col{
	float: right;
	width: 980px;
}
.col-center{
	width: 710px;
	float: left;
}
.col-right{
	width: 270px;
}
.col-right{
	float: right;
}


/****************************
Column Layout Styles - End
****************************/

/************************
** Start Gallery Style **
************************/
ul#gallery{
	list-style: none;
	margin: 0px;
	padding: 7px;
}
ul#gallery li{
	width: 50%;
	float: right;
	text-align: center;
}
h2.album-title{
	margin-top: 0px;
}
h2.album-title a{
	text-decoration: none;
	color: #660000;
	font-size: 12px;
}


.post-body-inner img{
	-moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -o-border-radius: 10px;
  -khtml-border-radius: 10px;
  border-radius: 10px;
  margin: 6px 9px;
  border: 8px solid #f1f1f1;
}


.gallery.gallery-default {
  text-align: center;
  overflow: hidden;
}
.gallery.gallery-default img {
  -moz-transform: rotate(-3deg);
  -webkit-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -khtml-transform: rotate(-3deg);
  transform: rotate(-3deg);
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -o-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  margin: 10px 15px;
  border: 10px solid #f1f1f1;
}
.gallery.gallery-default a:nth-child(odd) img {
  -moz-transform: rotate(3deg);
  -webkit-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -khtml-transform: rotate(3deg);
  transform: rotate(3deg);
}
.gallery.gallery-default a:hover img {
  -moz-transform: rotate(0);
  -webkit-transform: rotate(0);
  -o-transform: rotate(0);
  -khtml-transform: rotate(0);
  transform: rotate(0);
}

img.aligncenter{
	display: block;
	margin: 0 auto !important;
}
/************************
** End Gallery Style **
************************/



/****************************
Side Boxes Styles - Start
****************************/
.side-box-right{
	width: 270px;
	margin-bottom: 20px;
}

.side-box-right .body{
color: #000;
direction: rtl;
padding-top: 5px;
border-top: 0;
/*
border: 1px solid #b7b7b7;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…IgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, #e4e4e4 0%, #ffffff 80%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4e4e4), color-stop(80%,#ffffff));
background: -webkit-linear-gradient(top, #e4e4e4 0%,#ffffff 80%);
background: -o-linear-gradient(top, #e4e4e4 0%,#ffffff 80%);
background: -ms-linear-gradient(top, #e4e4e4 0%,#ffffff 80%);
background: linear-gradient(to bottom, #e4e4e4 0%,#ffffff 80%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4e4e4', endColorstr='#ffffff',GradientType=0 );
*/
}
.side-box-right .body ul li{
	list-style: none;
}
.side-box-right .body ul{
	padding: 0px;
	margin:0px;
	margin-right: 50px;

}
.side-box-right .body ul li{
	line-height: 20px;
	font-size: 14px;
	font-family: 'IranNastaliq';
	font-family: 'B Yekan';
	font-size: 14px;
}
.side-box-right .body ul a{
	color: #6C300E;
	
}
.side-box-right .body ul a:hover{
	color: #990000;
}
.side-box-right .header{
	color: #6c300e;
	background: url('images/box-bg-header.png') no-repeat center center;
	text-align: right;
	padding: 5px 50px 8px 5px;
	line-height: 24px;
	font-family: 'B Yekan';
	font-size: 16px;
}
/****************************
Side Boxes Styles - End
****************************/


/***************************
  Start Post Section Styles
***************************/

article.post{
	width: 608px;
	margin: 0px;
	padding: 0px;
	margin: 0 auto;
	margin-bottom: 20px;
	/* background: url('images/post-header.png') no-repeat center top; */
	background: url('images/post-bg.jpg') repeat-y;
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius:10px;
	border-radius: 10px;
	float: right;
	margin-right: 15px;
	position: relative;
	box-shadow: 2px 2px 5px #888888;
}

article.post div.post-bg-half{
	width: 87px;
	height: 173px;
	background: url('images/post-bg-half.png') center center no-repeat;
	position: absolute;
}

article.post .post-header{
	/* width: 532px; */
	/* height: 43px; */
	text-shadow:1px 1px 2px #999999;
}
article.post .post-header h1,article.post .post-header h2,article.post .post-header h3{
	/*background: url('images/post-header-icon.png') no-repeat right 10px;*/
	color: #6C300E !important;
	display: block;
	direction: rtl;
	margin: 0px;
	/* margin-right: 7px; */
	padding: 0px;
	padding: 7px 14px 0px 10px;
	font-family: 'B Yekan';
	font-size: 15px;
	font-family: 'B Sina';
	font-size: 16px;

	padding-bottom: 8px;
	background: url("images/post-header-bg.jpg") 90px bottom no-repeat;
	
}
article.post .post-header h1 a,article.post .post-header h2 a,article.post .post-header h3 a{
	color: #6C300E !important;
	display: block;
	direction: rtl;
	margin: 0px;
	/* margin-right: 7px; */
	font-family: 'B Sina';
	font-size: 16px;
}
article.post .post-header h1 a:hover,article.post .post-header h2 a:hover,article.post .post-header h3 a:hover{
	color: #990000 !important;
	
}
article.post .post-body{
	/* background: url('images/post-body-bg.png') repeat-y; */
	
	overflow: hidden;
}
article.post .post-body .post-body-inner{
	padding: 7px 15px;
	direction: rtl;
}
article.post .post-body .post-body-inner img{
	max-width: 540px;
	width:540px;
	display:block;
	margin:5px auto;
}

article.post .post-body .post-body-inner img:hover{
	max-width: 540px;
	width:540px;
}

article.post .post-body .post-body-inner p{
	font-family: tahoma;
	font-size: 13px;
	text-align: justify;
	text-shadow:1px 1px 1px #CCCCCC;
	margin:4px 0px;
	margin-bottom: 8px;
	line-height:20px;
}

article.post .post-footer{
	background: url('images/post-footer.png') no-repeat center center;
	width: 532px;
	height: 10px;
}

.postmeta{
	line-height: 19px;
	margin-top: 10px;
	color: #6C300E !important;
	font-style: italic;
}


ul.check > li {
    background: url("images/list_check.png") no-repeat scroll right center rgba(0, 0, 0, 0);
    font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
    line-height: 19px;
    margin-top: 5px;
    padding: 5px 25px 0 0;
    text-align: justify;
}

ol, ul {
    list-style: none outside none;
}


.basetags{
	font-family:tahoma;
	font-size:12px;
	padding-right:10px;
	line-height:27px;
	margin-bottom:10px;
}
.basetags a {
	background: none repeat scroll 0 0 #c39c5d;
	border-radius: 10px 10px 10px 10px;
	font: 12px tahoma;
	padding: 5px 7px;
	color:#333333;
}
.basetags a:hover{
	background:#CC0000;
	color:#FFF
}
	

/***************************
  End Post Section Styles
***************************/



/********************
 Start Footer Styles 
********************/

#footer{
	width: 980px;
	background: url('images/footer.jpg') center top no-repeat;
	-webkit-border-top-left-radius: 10px;
	-moz-border-top-right-radius: 10px;
	border-top-right-radius:10px;
	border-top-left-radius: 10px;
	height: 100px;
	margin-top: 15px;
	padding-top: 15px;
}

.copy-right{
	text-align: center;
	padding-top: 15px;
}

.copy-right a{
	text-decoration: none;
}
.copy-right,.copy-right a,span.copy-right-author{
	color: #6C300E !important;
	text-shadow:1px 1px 2px #555555;
	font-size: 15px;
	font-family: "B Yekan";
}
span.copy-right-author,span.copy-right-author a{
	font-size: 10px;
	font-family: tahoma;
	font-style: italic;
}
span.copy-right-author{
	padding-top: 15px;
	display: block;
}

/********************
 End Footer Styles 
********************/




/******************************
Start Avaye Bale Kabootar Style
******************************/

.post-entry {
    color: #555555;
    float: right;
    height: 100%;
    margin: 8px 0;
    margin-top: 15px;
}
.postimg {
    text-align: center;
    padding-right: 10px;
    float: right;
}

div.postimg a img{
	background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #999999;
    border-radius: 5px;
    
    height: 110px;
    margin: 0;
    padding: 4px;
    width: 140px;
}

.entry-latest, .entry-latest-search {
    float: right;
    line-height: 18px;
    margin: 0;
    padding: 0;
    text-align: justify;
    width: 423px;
    text-align: justify;
    direction: rtl;
    color: #000000;
}

.post-entry .title h2 {
    color: #6C300E !important;
    direction: rtl;
    display: block;
    font-family: 'B Sina';
    font-size: 16px;
    margin: 0;
}

.title h2 a{
    color: #6C300E !important;
    direction: rtl;
    display: block;
    font-family: 'B Sina';
    font-size: 16px;
    margin: 0;

}
.title h2 a:hover, .title h2 a:visited {
    color: #990000 !important;
    direction: rtl;
    display: block;
    font-family: 'B Sina';
    font-size: 16px;
    margin: 0;
}

.post-entry .postmeta {
    border-bottom: 1px dashed #999999;
    direction: rtl;
    float: right;
    font-size: 10px;
    margin: 0 0 6px;
    padding: 3px 0 5px;
    text-align: right;
    width: 100%;
}

.post-entry .author {
    background: url("images/user.png") no-repeat scroll right center rgba(0, 0, 0, 0);
    color: #444444;
    float: right;
    padding: 2px 15px 2px 5px;
}

.post-entry .author a {
    color: #444444;
    text-decoration: none;
}
.post-entry .clock {
    background: url("images/clock.png") no-repeat scroll right center rgba(0, 0, 0, 0);
    color: #444444;
    float: right;
    padding: 2px 15px 2px 5px;
}

div.clear{
	margin: 0;
	padding: 0;
	clear: both;
}

img.avaye-bale-kabootar-logo{
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	width:250px !important;
	box-shadow:0 0 3px 1px #555555;
}

.wp-pagenavi {
    text-align: center;

}
.wp-pagenavi span{
	margin: 2px 3px !important; 
}
.wp-pagenavi a{
	color: #6c300e;
}
/******************************
 End Avaye Bale Kabootar Style
******************************/