@charset "utf-8";

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

/* 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 {
}

.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 li {
	direction: rtl;
	text-align: right;
	margin: 8px 0;
}

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

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

ul.compact {
	list-style: none;
	list-style-image: none;
	margin-right: 5px;
	padding-right: 5px;
}

ul.news {
	list-style:url(images/li-simple.jpg);
	margin: 0px;
}

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;
}
/* Layout */

#header {
	width: 840px;
	height: 98px;
	margin:0;
	padding:0;
}

#headbar {
	width: 840px;
	height: 40px; /* header - image */
	padding:0;
}

#container {
	width: 840px;
	background-color: white;
}

#leftbar {
	width: 252px;
	margin:5px 2px;
	float: left;
	
}

#rightbar {
	width: 200px;
	margin:5px 2px;
	float: right;
}

#main {
	width: 580px;
	margin: 5px 1px 5px 2px;
	float: right;
}

#main-single {
	width: 630px;
	margin: 5px 1px 5px 2px;
	float: left;
}

#navigation-menu, #navigation-menu-wide {
	float: right;
	width: 135px;
	margin:0 0 5px 0;
}

#navigation-menu-wide {
	width: 200px;
}

#bigbox {
	float:left;
	width: 440px;
	margin:0 1px 5px 0;
}

#bigbox div.coloumn {
	float: right;
	width: 140px;
	margin: 0;
	padding: 0;
	text-align: center; 
}

#innercol-left {
	float:left;
	width: 356px;
	margin:0 2px 5px 0;
}

#innercol-right {
	float: right;
	width: 215px;
	margin:0 5px 5px 2px;
}
#footer {
	clear: both;
	width: 100%;
	background-color: #3c7faf;
}

#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: white;
	border-bottom:1px dotted white;
}

/* Navigation Menu */

#navigation-menu ul, #navigation-menu-wide ul {
	list-style: none;
	list-style-image: none;
	padding: 0;
	margin: 0;
}

#navigation-menu ul li, #navigation-menu-wide ul li {
	float: right;
	margin: 0;
}

#navigation-menu ul li a, #navigation-menu ul li a:visited {
	height: 23px;
	line-height: 22px;
	width: 130px;
	display: block;
	border-bottom: 1px dotted gray;
	color: black;
	text-decoration: none;
	text-align: center;
	font-size: 0.75em;
}

#navigation-menu-wide ul li a, #navigation-menu-wide ul li a:visited {
	height: 23px;
	line-height: 22px;
	width: 200px;
	display: block;
	border-bottom: 1px dotted gray;
	color: black;
	text-decoration: none;
	text-align: center;
	font-size: 0.75em;
}

#navigation-menu ul li a:hover, #navigation-menu-wide ul li a:hover {
	background-image:url(images/background-box.jpg);
	background-repeat:repeat-x;
}

/* Header */

#headbar p {
	color: white;
	font-size: 0.7em;
	padding:2px 4px;
	margin:0;
}


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

#headbar a:hover {
	color:#b0b7f3;
}

/* Box */

.box {
	margin:0 0 5px 0;
	border:1px solid #b0b7f3;
	overflow:auto;
}

.box-simple { /* Use with above */
	border:none;
}


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

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

.box .box-head-news { /* Use with above */
	background-image: none;
	background-color: #ffcc00;
	color: black;
	border: none;
	font-family: arial;
	font-weight: bold;
}


.box .box-content {
	padding: 3px;
	font-size: 0.75em;
	overflow:auto;
}

.box .box-content-blue {
	padding: 3px;
	font-size: 0.75em;
	background-image:url(images/background-innerbox.jpg);
	background-repeat: repeat-x;
	overflow:auto;
	height: 120px;
}

.redbox {
	margin:0 0 5px 0;
	border:1px solid #ff9933;
}

.redbox .box-head {
	direction: rtl;
	text-align: right;
	height: 16px;
	background-color: #ffd8b0;
	/*
	border-top: 1px solid white;
	border-bottom:1px solid #b0b7f3;
	*/
	font-size: 0.72em;
	color: black;
	text-align: right;
	padding: 1px 4px;
}

.redbox .box-content {
	padding: 3px;
	font-size: 0.75em;
	color: red;
	overflow:auto;
}

/* Content */

.main-header {
	margin:5px 8px 5px 0;
	border:1px solid #b0b7f3;
}

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

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

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

.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;
}
/*‌ Forms */

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

#searchform #s {
	border: 1px solid black;
	width: 180px;
	height: 18px;
	color: gray;
}
/* Special */

.quartet {
	float: right;
	height: 140px;
	width: 140px;
	margin: 5px;
	padding:0;
}

.quartet img {
	width: 70px;
	height: 70px;
	padding:0;
	margin:0;
}

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

.feature-image img {
	margin: 0;
}

.feature-highlight {
	direction: rtl;
	text-align: right;
	background-color: #ffd200;
	padding: 3px;
}

.even {
	background-color: #ebf3fb;
}
.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;
}

.autoscroll { overflow: hidden; }

.paused { overflow: hidden; }

.divcolright {
	width: 150px;
	float: right;
	margin-bottom: 5px;
}

.divcolright p {
	text-align: right;
}

.divcolright img {
	margin-left: 5px;
}

.divcolleft {
	width: 150px;
	float: left;
	margin-bottom: 5px;
}

.divcolleft p {
	text-align: left;
}

.divcolleft img {
	margin-right: 5px;
}


/* Banners */

ul.banners  {
	list-style: none;
	list-style-image: none;
	margin-right: 0px;
	padding-right: 0px;	
}

ul.banners li {
	text-align: center;
}

table.fourcol td {
	padding:5px 2px;
}

table.fourcol td a, table.fourcol td a:visited{
	color: black;
}

table.fourcol td a:hover {
	color: #CC0000;
}

/* Tabs in Homepage */


#tab-links ul {
	clear: both;
	padding: 0;
	margin:0;
}

#tab-links {
	list-style: none;
    padding: 0px;
    margin: 0px;
}

#tab-links li, #tab-links li a {
	float: right;
	padding-left: 15px;
	margin: 0px;
	cursor: pointer;
}

#tab-links li.selected, #tab-links li.selected a {
	color: red;
}

#tab-content{
	list-style: none;
}

#tab-content-2,
#tab-content-3,
#tab-content-4,
#tab-content-20,
#tab-content-30,
#tab-content-40 {
	display: none;
}

/* Comments */

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

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

#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.95em;
	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: 350px;
	height: 200px;
	margin-top: 3px;
	border: 1px solid gray;
	background-color: #f4f4f4;
	padding: 2px;
	font-family: tahoma;
	font-size: 0.95em;
}

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

/* News Template */

#ne_leftbar {
	width: 130px;
	margin:5px 3px 5px 2px;
	float: left;
}

#ne_leftcol {
	width: 275px;
	margin:5px 5px;
	float: left;
	background-color: #EBF3FB;
}

#ne_rightcol {
	width: 295px;
	margin:5px 5px;
	float: left;
}

#ne_rightbar {
	width: 110px;
	margin:5px 2px 5px 3px;
	float: left;
}

.excerpt {
	margin-top: 4px;
}
.excerpt p {
	direction: rtl;
	text-align: right;
	font-family: tahoma;
	font-size: 8pt;
	
}

#marqwrapper {
	height: 20px;
	padding: 0px;
	background-image:url(images/green.jpg);
	background-position:0 0;
	font-family: tahoma;
	font-size: 8pt;
	margin-bottom: 5px;
}

.marq {
	font-family: tahoma;
	font-size: 8pt;
	padding-top:2px;
	margin:0;
}

.marq a, .marq a:visited {
	margin:0;
	padding:0;
	color: white;
}

.marq a:hover {
	margin:0;
	padding:0;
	color: red;
}