@charset "utf-8";

/*
Theme Name: Sepnu Branches Theme
Theme URI: http://sepnu.ir/
Description: Sepnu Theme
Version: 1.0
Author: Mani Monajjemi
Author URI:
*/

/* Main Config */

* { padding: 0; margin: 0; }

.alignleft {
	float:left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

body {
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	background-image:url(images/background-main.gif);
	background-position:top center;
	background-attachment: fixed;
	font-family: Tahoma,Arial, Helvetica, sans-serif;
	font-size:95%;
}

p,h1,h2,h3,h4,h5,h6,ul,li,ul li,ul li ul,ul li ul li,cite,blockquote {
	direction: rtl;
	text-align: right;
}

p {
}

p.meta {
	font-size: 0.85em;
	padding: 2px 5px;
	text-align: justify;
}
.clr {
	clear: both;
}

a, a:visited {
	text-decoration: none;
	color:#003399;
}

a:hover {
	color:#CC0000;
	/*text-decoration: underline; */
}

a.whole, a.whole:visited {
	color: black;
}

a.whole:hover {
	color:#CC0000;
}

a.red, a.red:visited {
	color: red;
	font-weight: bold;
}

a.red:hover {
	text-decoration: underline;
}

ul {
	list-style:url(images/li.gif);
	margin-right: 20px;
	padding-right: 20px;
}

ul.mainlist {
	marign:0;
	padding:0;
}

ul.mainlist li {
	direction: rtl;
	text-align: right;
	margin: 18px 0;
	font-size: 0.8em;
}

ul.compact {
	margin-right: 5px;
}
ul li {
	direction: rtl;
	text-align: right;
	margin: 8px 0;
}

ul.compact li {
	font-size: 0.8em;
}

ul li a, ul li a:visited {
	color: black;
	text-decoration: none;
}

ul li a:hover {
	/*text-decoration: underline;*/
	color:#CC0000;
}

h1,h2,h3,h4,h5,h6 {
	font-family: Arial, Helvetica, sans-serif;
}

h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited {
	color: black;
	text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover {
	/*text-decoration: underline;*/
	color:#CC0000;
}

h1 {
	font-size: 0.9em;
}

h2 {
	font-size: 0.8em;
}

h3 {
	font-family: tahoma;
	font-weight: normal;
	font-size: 0.7em;
}

h4 {
	font-size: 0.6em;
	font-weight: normal;
}

h5 {
	font-size: 0.5em;
	font-weight: normal;
}

img, a img {
	border: 0;
}

.even {
	background-color: #EDECEC;
}
.news-headline {
	direction: rtl;
	text-align: right;
	padding: 10px 3px 3px 3px;
	overflow: auto;
}

.news-headline img {
	float: right;
	margin-left: 5px;
	border:1px solid black;
}

/* Layout */

#header {
	width: 900px;
	height: 98px;
	margin:0;
	padding:20px 0 0 0;
	background-color: white;
}

#headbar {
	width: 900px;
	height: 20px; /* header - image */
	background-image:url(images/background-headbar.jpg);
	background-position:top center;
	padding:0;
}

#container {
	margin: 0px;
	width: 900px;
	background-color: white;
}

#footer {
	clear: both;
	width: 900px;
}

#footer p {
	padding: 10px;
	color: black;
	text-align: center;
	font-size: 0.75em;
}

#footer a, #footer a:visited {
	border-bottom:1px dotted black;
	text-decoration: none;
	color: black;
}

#footer a:hover {
	text-decoration: none;
	color: black;
	border-bottom:1px dotted white;
}

#homeright {
	float: right;
	width: 340px;
	margin: 20px 30px 10px 5px;
	padding: 0px;
}

#homecenter {
	float: right;
	width: 245px;
	margin: 20px 0px 10px 5px;
}

#homeleft {
	float: right;
	width: 245px;
	margin: 20px 0 10px 0;
}

#homebottom {
	float: right;
	width: 840px;
	margin: 10px 30px 20px 0;
}

#rightbar {
	float: right;
	width: 245px;
	margin: 20px 30px 10px 5px;
	padding: 0px;
}

#main-single {
	float: right;
	width: 590px;
	margin: 20px 0 10px 0;
}

#main-single-wide {
	float: right;
	width: 840px;
	margin: 20px 30px 10px 0;
}

/* Nav List */

#navcontainer {
	width: 840px;
	margin: 10px 0 0 0;
}

#navcontainer ul
{
	padding: 0;
	margin: 0;
	background-color: #ffcc00;
	color: black;
	float: right;
	width: 840px;
}

#navcontainer li { 
	display: inline;
	float: right; 
	list-style:none; 
	position:relative;
	margin: 0;
	padding: 0;
	padding: 5px 8px;
	border-left: 1px solid #fff;
}

#navcontainer li a
{
	/*display: block;*/
	/*padding: 5px 8px;*/
	background-color: #ffcc00;
	color: black;
	text-decoration: none;
	/*float: right;*/
	/*border-left: 1px solid #fff;*/
	font-size: 0.85em;
}

#navcontainer li:hover
{
	background-color: #E78608;
	color: #fff;
	text-decoration: none;
}

#navcontainer li:hover a
{
	background-color: #E78608;
	color: #fff;
	text-decoration: none;
}

#navcontainer li:hover li, #navcontainer li:hover li a
{
	background-color: #ffcc00;
	color: black;
	text-decoration: none;
}

#navcontainer li:hover li:hover a, #navcontainer li:hover li:hover a:hover {
	text-decoration: underline;
}
#navcontainer li ul
{
	margin:0px;
	padding:0px;
	display:none;
	position:absolute;
	right:0px;
	top:25px;
}


#navcontainer li:hover ul
{
	display:block;
	width:150px;
}

#navcontainer li li
{
	border: none;
	list-style:none;
	display:list-item;
	width: 120px;
}



/*
#navcontainer a:hover
{
	background-color: #E78608;
	color: #fff;
	text-decoration: none;
}

#navcontainer ul li ul li a {
	border: none;
}

#navcontainer ul li ul li a:hover {
	border: none;
	text-decoration: underline;
	background-color: #ffcc00;
	color: black;
}

#navcontainer li ul
{
	margin:0px;
	padding:0px;
	display:none;
	position:absolute;
	right:0px;
	top:25px;
}


#navcontainer li:hover ul
{
	display:block;
	width:150px;
}

#navcontainer li li
{
	list-style:none;
	display:list-item;
	width: 120px;
}

#navcontainer li li a
{
	text-decoration:none;
}

*/

#subpage {
	/* float: left; */
	margin:2px 5px;
}

#subpage ul li, #subpage ul li a {
	font-size: 0.9em;
} 
/* Boxes */

.box {
	overflow:auto;
}

.box .box-head {
	direction: rtl;
	text-align: right;
	height: 22px;
	background-color: #C0C0C0;
	font-size: 0.95em;
	color: black;
	text-align: right;
	padding: 2px 4px 0 0;
	/*
	background-image:url(images/background-box.gif);
	background-repeat: repeat-x;
	background-position: top left;
	border: 1px solid #cccccc;
	*/
	border: 1px solid gray;
}


.box .box-head-border { /* Use with above */
	border: 1px solid gray;
}

.box .box-head-simple { /* Use with above */
	background-image: none;
	background-color: #3c7faf;
	color: white;
	border: none;
}

.box .box-content {
	padding: 3px;
	overflow:auto;
}





.feature-image {
	margin: 0;
	padding: 0;
}

.feature-image img {
	margin: 0;
}

.feature-highlight {
	direction: rtl;
	text-align: center;
	/* background-color: #ffcc00; */
	padding: 10px 30px;
}

.feature-highlight a, .feature-highlight a:visited {
	color: black;
	font-family: Arial;
	font-size: 1.0em;
	font-weight: bold;
	text-decoration: none;
}

.feature-highlight a:hover {
	text-decoration: underline;
}

/* Content */

.main-header {
	margin:0px 0px 5px 0;
	border:1px solid gray;
}

.main-header-meta {
	direction: rtl;
	text-align: right;
	height: 16px;
	background-image:url(images/background-box.gif);
	background-repeat: repeat-x;
	background-position: top left;
	border-top: 1px solid #cccccc;
	border-bottom:1px solid gray;
	font-size: 0.72em;
	color: black;
	text-align: right;
	padding: 0 4px;
}

.main-header-title {
	padding: 5px;
	width: 540px;
	float: right;
	text-align: right;
}

.main-header-title h1 {
	display: inline;
	font-size: 1.1em;
	width: 400px;
}

.main-header-title h2 {
	font-size: 1.0em;
	margin: 5px 0 8px 0;
}


#main-header-excerpt p {
	margin-top: 10px;
	font-size: 0.85em;
}

.titleimage {
	float: left;
	padding: 5px;
}

.next { float: left}
.prev { float: right}

.metalinks {
	direction: rtl;
	text-align: right;
	font-size: 0.75em;
	margin: 0 5px 5px 0;
	width: 580px;
	float: right;
}
#content {
	padding: 8px;
	font-size: 0.9em;
	line-height: 1.4em;
}

#content p {
	text-align: justify;
	font-size: 0.9em;
	line-height: 1.4em;
	margin-bottom: 10px;
	
}

#content img {
	margin-right: 5px;
	margin-bottom: 2px;
}

.main-header-meta a, main-header-meta a:visited {
	color: gray;
}

.main-header-meta a:hover {
	color: black;
}

/*‌ Forms */

input {
	font-family: Tahoma,"Times New Roman", Times, serif;
	direction: rtl;
	text-align: right;
}

#searchform #s {
	border: 1px solid black;
	width: 230px;
	height: 18px;
	color: gray;
}

/* Comments */

#commentssection {
	font-size: 0.90em;
	line-height: 1.4em;
}

#commentssection h1, #commentform h1{
	direction: rtl;
	font-size: 1.1em;
	margin-bottom: 10px;
}

#comment-form-wrapper {
	width: 700px;
}

#comment-right {
	width:300px;
	float: right;
}

#comment-left {
	width:400px;
	float: right;
}

#commentlist {
	direction: rtl;
	text-align: right;
	margin-top: 5px;
}

.comment {
	margin: 3px 0;
	padding: 3px;
	/*border: 1px dotted gray;*/
	background-color: white;
}

.oddcomment {
/*	background-color: #f4f4f4; */
}

.commentlead {
	font-size: 0.7em;
}
.commenttext {
	font-size: 0.9em;
	margin: 5px 10px 3px 0;
	border-right: 2px solid gray;
	padding-right: 5px;
}

#commentform {
	direction: rtl;
	text-align: right;
}

#commentform p {
	font-size: 0.8em;
}

#commentform #author, #commentform #email, #commentform #url{
	width: 250px;
	height: 18px;
	margin-top: 3px;
	border: 1px solid gray;
	background-color: #f4f4f4;
}

#commentform textarea {
	width: 300px;
	height: 150px;
	margin-top: 3px;
	border: 1px solid gray;
	background-color: #f4f4f4;
	padding: 2px;
	font-family: tahoma;
	font-size: 0.95em;
}

#commentform #submit {
	text-align: center;
}

/* Marque */

#marq {
	direction: rtl;
	border:1px solid gray;
	background-color: #EDECEC;
	font-family: tahoma;
	font-size: 0.8e5m;
	text-align: right;
	padding: 2px;
}

#marq marquee {
	direction: rtl;
	font-family: tahoma;
	width: 730px;
}

#marq a, #marq a:visited {
	color: black;
}

#marq a:hover {
	text-decoration: underline;
}


