body {
	direction: rtl;
	font: 12px b yekan,tahoma;
	background: #ffffff url('http://rullplug-caspian.ir/wp-content/uploads/2018/02/1-3.jpg') top center ;
	margin: 0 auto;
}
p {
	line-height: 25px;
	color: #8f8f8f;
}
.textright{text-align:right}
.textleft{text-align:left}
.textcenter{text-align:center}



img {
	border: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-family: BYekan;
	font-weight: normal;
}
::-webkit-input-placeholder {
color:#acacac;
}
::-moz-placeholder {
color:#acacac;
} /* firefox 19+ */
:-ms-input-placeholder {
color:#acacac;
} /* ie */
input:-moz-placeholder {
color:#acacac;
}
h1 {
	font-size: 36px;
	font-weight:normal;
}
h2 {
	font-size: 22px;
	font-weight:normal;
}
h3 {
	font-size: 17px;
	font-weight:normal;
}
h4 {
	font-size: 16px;
	font-weight:normal;
}
h5 {
	font-size: 14px;
	font-weight:normal;
}
h6 {
	font-size: 11px;
	font-weight:normal;
}
a {
	text-decoration: none;
	color: #696969;
}
@font-face {
	font-family: 'BYekan';
	src: url('fonts/BYekan.ttf') format('truetype'), url('fonts/BYekan.eot?#') format('eot'), url('fonts/BYekan.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
	table tr{
	margin:5px;
	display:table;
	float:right;
	}
	table tr td{
	background-color:#eee;
	width:340px;
	
	line-height:25px;
	font-size:12px;
	font-family:Tahoma;
	padding-right:10px;
}


.clear {
	clear: both;
}
.fr {
	float: right;
}
.fl {
	float: left;
}
.fivepx{padding:5px;}

.middle {
	width: 94%;min-width:573px;max-width:900px;
	margin: 0 auto;;
}

#header{
	background:#fff url(bgtooop.png) top center repeat-x;
	height:140px;
	border-top:4px solid #efefef;
	
}

#header .logo{
	float:right;
	margin-top:20px;
	background:url(../images/logo.png) no-repeat;
	height:115px;
	width:325px;
}

#header .ads{
	float:left;
	margin-top:50px;
	width:468px;
	height:60px;
	box-shadow:#eee 1px 1px 1px 1px ;
}

#nav{
	background:#42405c;
	height:38px;
}


#nav ul li{
	list-style:none;
	float:right;
	padding:11px 15px 10px 15px;
	font-family:tahoma;
	font-size:13px;
	border-left:1px solid #53507d;
}

#nav ul li a{
	color:#b3b2bd;
}

#main{
	
}

#main #content{
	float:left;
	width:69%;min-width:398px;max-width:690px;
	margin-top:10px;
		margin-left:5px;display:block;

}

#main #sidebar{
	float:left;
	min-width:120px;
	max-width:210px;
	width:21%;
	margin-left:15px;
	margin-top:10px;
	padding:5px;
	border:1px solid #e7e7e7;
		border-top:4px solid #cc0000;
		border-bottom:4px solid #ddd;
	border-radius:0px;	background:#fafafa;
display:block;
}

#sidebar img{
	margin:2px auto;
	display:block;
}

.lnk a:link{display:block;padding:3px 3px 3px 0px;}
.lnk a:hover{display:block;padding:3px 3px 3px 0px;background:#eee;color:#000000;}
.lnk a:visited{display:block;padding:3px 3px 3px 0px;}

#main #content .box{
	float:right;
	width:98%;
	margin:0px -10px 15px 10px;
	padding:10px 0 10px 0;
	background:#fafafa;
	border-radius:0px;
	border-top:4px solid #cc0000;
	border-bottom:4px solid #ddd;

}



#main #content .box:nth-child(2n){
	margin-left:0;
}

#main #content .box h2{margin-right:15px;color:#4d488d;text-shadow:#fff 1px 1px;}
#main #content .box ul li{
	padding:3px 18px 3px 8px;
	background:url(../images/arrow.png) right 5px no-repeat;
	border-bottom:1px solid #f1f1f1;
	transition: all 0.5s ease;
}

#main #content .box ul li:hover{
	background:#f1f1f1 url(../images/arrow.png) right 5px no-repeat;
}

	
#footer{
	background:#525071;
	color:#a8a6b7;
	border-bottom:#312f47 1px solid;
	}

#footer .blocks{
	float:right;
	width:94%;
	margin:10px 0 20px 26px;
}
#footer .blocks form{margin-top:8px;}
#footer .blocks input[type=email]{
	padding:8px;
	box-shadow:inset 5px 5px 5px #eee;
	border-radius:5px;
	border:1px solid #e7e7e7;
	font-family:tahoma;
	width:90%;
}

#footer .blocks input[type=submit]{
	transition: all 0.5s ease;
	padding:8px;
	border-radius:5px;
	border:1px solid #649f19;
	font-family:tahoma;
	color:#fff;
	background:#7fbb31;
	display:block;
	margin-top:5px;
	background-image: linear-gradient(#7fbb31, #6ca91d);
	
}
#footer .blocks input[type=submit]:hover{
	background-image: linear-gradient(#6ca91d, #7fbb31);
}
#footer .blocks ul li a{color:#a8a6b7;}
#footer .blocks ul li{
	padding:5px;
	border-bottom:1px solid #67648f;
}

#footer .blocks:last-child{margin-left:0;}
#footer .blocks p{text-align:justify;}

#copyright{
	background:#42405c;
	color:#726f91;
	height:40px;
}

#copyright p{padding-top:5px;}

#copyright a{color:#8581aa;}
.tooltip{
   			display: inline;
    		position: relative;
		}
		
		.tooltip:hover:after{
    		background: #333;
    		background: rgba(0,0,0,.8);
    		border-radius: 5px;
    		bottom: 26px;
    		color: #fff;
    		content: attr(title);
    		right: 20%;
    		padding: 5px 15px;
    		position: absolute;
    		z-index: 98;
    		width: 220px;
		}
		
		.tooltip:hover:before{
    		border: solid;
    		border-color: #333 transparent;
    		border-width: 6px 6px 0 6px;
    		bottom: 20px;
    		content: "";
    		right: 50%;
    		position: absolute;
    		z-index: 99;
		}