/*
Theme Name: oghab talaei
Theme URI: http://silverweb.ir
Description: oghab talaei co themes
Author: Mehdi Ordooei
Author URI: http://silverweb.ir
Version: 1.0
*/
@font-face {
font-family: 'Vazir-FD-WOL';
src: url('fonts/Vazir-FD-WOL.eot?#') format('eot'),  /* IE6?8 */
url('fonts/Vazir-FD-WOL.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('fonts/Vazir-FD-WOL.ttf') format('truetype');  /* Saf3?5, Chrome4+, FF3.5, Opera 10+ */
}
@font-face {
font-family: 'BNarm';
src:
url('fonts/BNarm.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('fonts/BNarm.ttf') format('truetype');  /* Saf3?5, Chrome4+, FF3.5, Opera 10+ */
}
body{
	font-family: Vazir-FD-WOL;
	font-size: 10pt;
	direction: rtl;
	background: #f8e4d7;
	margin: 0;
}
img{
	max-width: 100%;
}
h1,h2,h3{
	font-weight: 100;
}
blockquote{
	border-right: 5px solid #eee;
}
a{
    text-decoration: none;
    color:#354582;
}
img{
	height: auto;
}
#wrap{
	width: 100%;
	max-width: 1366px;
	min-height: 500px;
	padding: 0;
	margin: 0 auto;
}
.vasat{
	margin: 0 auto;
	width: 100%;
	float: none;
	max-width: 1024px;
}
#header{
	color: #333;
	padding: 0;
	margin: 0 0 100px;
	background-image: url(image/header.png);
	background-position: top;
	background-size: 900px;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #8d0d0d;
}
#header hr{
	background: rgba(0,0,0,0);
	border-top-color: yellow;
	margin: 0;
	position: relative;
	top: 40px;
}
#logo{
	width: 30%;
	float: right;
	position: relative;
	top: 40px;
	display: inline-block;
}
#logo img{
	display: block;
}
#menub{
	display: none;
	font-size: 2.2em;
	color: #fff;
	background: #333;
	padding: 4px;
	border-radius: 4px;
	text-align: center;
	margin: 0 auto 20px;
	cursor: pointer;
	clear: both;
	position: absolute;
	top: 10px;
	left: 10px;
	width: 50px;
	z-index: 999999;
	border: solid;
}
#main-menu{
	background: #fff;
	float: left;
	border-radius: 8px;
	position: relative;
	top: 70px;
	width: 70%;
	z-index: 99999;
	box-shadow: 0 0 3px #444;
}
#main-menu i{
	padding-left: 7px;
	font-size: 9pt;
	margin-right: -2px;
	color: #ccc;
}
#main-menu ul{
	margin:0;
	padding: 0;
	list-style: none;
}
#main-menu > ul > li{
	float: right;
}
#main-menu ul li a{
	color: #333;
	padding: 12px 15px;
	display: inline-block;
	font-size: 11pt;
	position: relative;
	z-index: 3;
}
#main-menu ul li a:hover{
	color: #CD1515;
}
#main-menu ul li a:before{
	content: " ";
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	background: #86DCA8;
	z-index: -1;
	width: 1px;
		border-radius: 8px;
;
}
#main-menu ul li a:hover:before{
	top: 0;
	right: 0;
	transition: 0.2s;
	width: 100%;
}
#main-menu > ul > li > a:hover i,#main-menu ul li.current-menu-item a i{
	color: #444;
}
#main-menu ul li .sub-menu{
	position: absolute;
	margin-right: 0;
	z-index: 100000;
	visibility: hidden;
	margin-top: 20px;
	transition: 0.2s;
	opacity: 0;
}
#main-menu ul li:hover > .sub-menu{
	visibility: visible;
	margin-top: 2px;
	opacity: 1;
}
#main-menu ul li .sub-menu li{
	float: none;
}
#main-menu ul li .sub-menu li a{
	display: block;
	width: 200px;
	text-align: center;
	border-bottom: solid 1px rgb(218, 218, 218);
	padding: 12px 2px;
	color: #333;
	background: rgba(255,255,255,0.88);
	font-size: 10pt;
}
#main-menu ul li .sub-menu li a:hover{
	background: rgba(255,255,255);
	color: #CD1515;
}
#main-menu ul li .sub-menu .sub-menu{
	margin-right: 100%;
	margin-top: -47px;
}
#ejt img{
	width: 28px;
	margin: 2px 4px;
	float: left;
	transform: rotate(-25deg);
	-webkit-transform: rotate(-25deg);
	transition: 0.2s;
}
#ejt img:hover{
	transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
}
#slider{
	position: relative;
	margin: -150px auto 0;
	display: inline-block;
	top: 70px;
}
#slider li{
	min-width: 30% !important;
}
#sb-slider{
	padding: 0;
	margin: 0;
}
.titr{
	margin: 0 0 15px;
	position: relative;
	color: #444;
	font-size: 15pt;
	font-family: Bnarm;
}
.titr span{
	background: #f8e4d7;
	position: relative;
	z-index: 1;
	padding-left: 15px;
	font-size: 13pt;
}
.titr span i{
	font-style: normal;
	margin-left: 5px;
}
.titr:after{
	content: " ";
	display: block;
	position: absolute;
	left: 0;
	border-bottom: solid 1px #888;
	top: 17px;
	width: 80%;
}
#khabar > span{
	margin-right: 30px;
}
#khabar i{
	margin-right: -35px;
	font-size: 18pt;
	position: absolute;
	margin-top: -6px;
}
#khabar ul,#akh,#akhc li{
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
}
#khabar ul li,#akh li,#akhc li{
	margin-bottom: 7px;
	padding: 0 6px;
	border-radius: 4px;
	transition: 0.4s;
	min-height: 90px;
	border-bottom: dashed 1px #ccc;
	padding-bottom: 2px;
}
#khabar ul li:last-of-type,#akh li:last-of-type,#akhc li:last-of-type{
	border: 0;
}
#akh{
	margin-bottom: 20px;
}
#akh li,#akhc li{
	min-height: auto;
	padding: 1px 0;
}
#khabar ul li:hover{
	box-shadow: -2px 2px 2px #ccc
}
#akh li a h2{
	font-size: 10pt;
	color: #333;
}
#akh li a h2 span{
	float: left;
	font-size: 8.5pt;
	color: #666;
}
#akhc li img{
	margin-bottom: 3px;
	border-radius: 50%;
	float: right;
	width: 20%;
}
#akhc li div{
	float: left;
	width: 77%;
	text-align: justify;
	word-spacing: -1px;
	line-height: 27px;
}
#akhc ul{
	background: #b9a989;
	border-radius: 15px;
	padding: 5px 15px;
	color: #fff;
}
#akhc a{
	display: block;
	width: 120px;
	text-align: center;
	color: #fff;
	background: #333;
	border-radius: 4px;
	margin: 4px 0;
	float: left;
	clear: left;
}
#khabar .cat div{
	line-height: 29px;
}
#khabar a{
	color: #333;
}
#khabar li img{
	float: right;
	border-radius: 5px;
	margin: 6px 0 10px;
}
#khabar li div{
	float: left;
	width: 80%;
	font-size: 9pt;
	color: #666;
	line-height: 22px;
}
#khabar h2{
	text-align: right;
	font-size: 10pt;
	margin: 0;
	font-weight: 100;
	margin: 2px 0;
	color: #222;
}
#akharin{
	margin: 20px auto 60px;
	clear: both;
	padding: 0 40px;
}
#akharin img{
	border-radius: 7px;
	display: table;
	margin: 5px auto;
	border: solid 1px #eee;
	width: 100%;
	border: solid 5px #f9f9f9;
}
#akharin .bx-prev{
	left: -40px;
}
#akharin .bx-next{
	right: -40px;
}
#akharin li{
	direction: rtl;
	text-align: right;
}
#akharin li h2{
	font-size: 13pt;
	color: #d11602;
}
#akharin li p{
	text-align: justify;
	word-spacing: -1px;
	color: #444;
}
#akharin li a{
	display: block;
	width: 120px;
	border-radius: 4px;
	text-align: center;
	float: right;
	background: linear-gradient(#ae0e0e,#560f0f);
	background: -webkit-linear-gradient(#ae0e0e,#560f0f);
	color: #fff;
	font-size: 10pt;
	padding: 3px;
}
#akharin li a:hover{
	background: linear-gradient(#560f0f,#ae0e0e);
	background: -webkit-linear-gradient(#560f0f,#ae0e0e);
}
#matlab{
	width: 90%;
	margin: 10px auto 40px;
	text-align: justify;
	line-height: 25px;
	clear: both;
}
#matlab footer{
	clear: both;
	opacity: 0.8;
	font-size: 8pt;
	font-style: italic;
}
#matlab footer ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
#matlab .onvan,#comments,.contact-header,#reply-title,.cattitle{
	font-weight: 100;
	font-size: 20pt;
	padding: 3px 0px 6px;
	border-bottom: solid 2px #555;
	margin-bottom: 20px;
	text-shadow: 0 1px 0 #eee, 0 2px 0 #eee, 0 3px 0 #eee, 0 4px 0 #eee, 0 5px 0 #eee, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgb(255, 255, 255), 0 3px 5px rgb(255, 255, 255), 0 5px 10px rgb(255, 255, 255), 0 10px 10px rgb(255, 255, 255), 0 20px 20px rgb(255, 255, 255);
	font-family: BNarm;
	color: #444;
	padding-bottom: 15px;
}
#matlab .onvan span{
	float: left;
	font-size: 12pt;
}
#matlab .imgk{
	float: left;
	width: 28%;
	height: auto;
}
.matnm{
	float: right;
	width: 70%;
	margin-bottom: 20px;
}
#comments{
	font-size: 10pt;
}
#didgah{
	margin: 0 auto 100px;
	width: 90%;
}
#matlab .alignleft{
	float: left;
	padding-bottom: 10px;
	padding-right: 10px;
}
#matlab .aligncenter{
	margin: 0 auto;
	display: table;
	padding: 10px;
}
#matlab .alignright{
	float: right;
	padding-left: 10px;
	padding-bottom: 10px;
}
#wrap #didgah .comment-author {
	float: right;
	margin-top: -4px;
	background: #faffc6;
	padding: 0 0 0 13px;
}
#wrap #didgah .comment-author img{
	margin-left: 10px
}
#wrap #didgah .comment-meta{
	float: left;
}
#wrap #didgah .comment-meta a {
	color: #2C2A2A;
	font-size: 10pt;
	background: #faffc6;
	padding: 0 6px;
}
#wrap #didgah .comment-meta ~ p{
	clear: both;
	padding-top: 5px;
	font-size: 14px;
	font-family: Vazir-FD-WOL;
	color: #444
}
#wrap #didgah .commentlist{
	padding: 2px;
}
#wrap #didgah .commentlist li {
	border: 1px solid rgb(248, 241, 241);
	padding: 20px;
	background: #fefefe;
	list-style: none;
	margin-top: 7px;
}
#wrap #didgah .commentlist li:hover{
	background: #f9f9f9
}
#wrap  #didgah ul.children .reply{
	display: none;
}
#wrap #didgah .reply a {
	background: #333;
	color: #eee;
	font-size: 10pt;
	padding: 0 5px;
}
#wrap #respond input[type="text"],#respond textarea,#wrap #email{
	border: solid 1px #999;
	width: 450px;
	padding: 2px;
}
#wrap #respond input#submit{
	background: rgb(238, 238, 238);
	font-family: BNarm;
	border: 1px solid;
	cursor: pointer;
	font-size: 11pt;
	font-weight: 100;
	padding: 4px 10px;
	background-color: #f9f9f9
}
#wrap #respond input#submit:hover{
	background-color: #111;
	color: #eee;
}
#commentform p label{
	display: block;
}
#commentform p a{
	color: #333;
}
.nocomments{
	display: none;
}
#footer{
	min-height: 300px;
	color: #fff;
	clear: both;
	background: #8d0d0d;
	position: relative;
}
#footer .widget-title{
	width: 100%;
	padding: 10px 10px 15px;
	margin: 10px 0;
	font-size: 11pt;
	background: url(image/title.png) no-repeat;
	background-position: right 6px;
}
#footer .widget{
	width: 30%;
	margin-right: 2.5%;
	float: right;
    min-height: 215px;
    font-size: 10pt;
}
#footer .widget ul{
	margin: 0;
	padding: 0;
	list-style: none;
}
#footer .widget ul li{
	padding: 4px;
}
#footer .widget ul a{
	color: #fff;
}
#footer .widget ul a:hover{
	color: rgb(15, 113, 240);
}
#footer .widget .sub-menu{
	display: none;
}
.textwidget{
	padding: 6px;
	text-align: justify;
	line-height: 27px;
}
.imgf{
	position: absolute;
	left: 0;
	top: -80px;
}
.batop{
	cursor: pointer;
	position: fixed;
	bottom: 23px;
	right: 20px;
	width: 50px;
	height: 50px;
	display: none;
	z-index: 9999;
}
.commentlist .comment-awaiting-moderation {
	background: #FF084E !important;
	color: #fff;
	padding: 0 10px;
	margin-right: 12px;
}
div.pagination {
 margin: 20px 0;
 float: right;
 width: 100%;
 text-align: center;
}
div.pagination a, div.pagination span {
 box-shadow: 0 0 2px #ccc;
 border-radius: 2px;
 color: #333;
 font-weight: normal;
 padding: 5px 10px;
}
div.pagination a:hover {
 background: #333;
 color: #FFF;
}
div.pagination span {
 background: #333;
 color: #FFFFFF;
}
#edame{
	clear: both;
	background: #353535;
	color: #fff;
	display: block;
	width: 100px;
	text-align: center;
	padding: 4px 4px 3px;
	float: left;
	margin: -40px 2px;
	border-radius: 6px;
	font-size: 10pt;
}
#container ~ #sidebar{
	display: none;
}
#footer input[type="text"],#footer input[type="search"],#footer input[type="email"]{
	border: solid 1px #999;
	border-radius: 4px;
	color: #444;
}
#footer input[type="submit"]{
	border: solid 1px #999;
	border-radius: 4px;
	padding: 1px 5px;
	color: #555;
}
#footer form{
	display: table;
	margin: 10px auto
}
#footer #wp-calendar{
	text-align: center;
	margin: 0 auto
}
#footer #wp-calendar caption{
	text-align: center;
}
#footer #wp-calendar th, #footer #wp-calendar td{
	padding: 8px;
	border: dashed 1px #2A2A2A;
}
.clear{
	display: block;
	position: relative;
	clear: both;
}
.clear:after,.matnm:after,#matlab article:after,.vasat:after{
	content: " ";
	display: block;
	clear: both;
}
.footer{
	background: #770707;
	height: 32px;
	color: #fff;
	padding: 0 5px;
	line-height: 30px;
}