/**
* $Id: theme.css 11 2009-08-07 08:58:45Z BitC3R0 $
* ----------------------------
* Magazine-X theme for XOOPS
* @author Eduarco Cortés <i.bitcero@gmail.com>
* @licence: http://creativecommons.org/licenses/by-nc-sa/2.5/mx/
* @version: 1.0
* ----------------------------
*/

body{
	background: #111 url(../images/bg.png);
	margin: 0;
	font-family: "Arabic Transparent", Arial, Helvetica, sans-serif;
	font-size: 15px;
    text-align: right;
}
table {width: 100%}
table td {padding: 0; border-width: 0; vertical-align: top; }

a{
	color: #336699;
	text-decoration: none;
}
a:hover{
	color: #000;
}
a img{
	border: 0;
}

img { max-width: 500px; }

input[type='text']{
	border: 1px solid #CCC;
	padding: 3px;
	font-family: Tahoma, verdana, arial, sans-serif;
	color: #333;
}
input[type='submit']{
	background: #333;
	color: #FFF;
	font-weight: bold;
	border: 1px solid #000;
	padding: 2px;
}

/** Heading **/
h1,h2,h3,h4,h5,h6{ font-family: "Arabic Transparent", "Times New Roman", times, serif; font-weight: normal; }
h1{
	color: #002E53;
	margin: 0 0 3px 0;
}
form{
	margin: 0;
	padding: 0;
}

/**
* Next are specific declarations for Magazine-X Theme.
*/
.hidden{
	display: none;
}
.center{
    text-align: center;
}
div#mx-all-container{
	width: 1040px;
	background: #FFF;
	margin: 0 auto;
	overflow: hidden;
}
div#mx-top-bar{
	padding: 0 15px;
	background: #000;
	color: #FFF;
	font-weight: bold;
	overflow: hidden;
}
div#mx-top-bar a{
	color: #FFF;
	text-decoration: none;
	display: block;
	float: right;
	padding: 12px 15px;
}
div#mx-top-bar a:hover{
	background: #000;
}

#searchform { direction: rtl; float: left; background-color: #dfdfdf; width: 255px; padding: 5px; margin: 10px}

div.mx_search_top{
	float: left;
	width: 255px;
	background: #FFF;
	border: 1px solid #CCC;
	padding: 0px;
}

div.mx_search_top a span{
	display: none;
}
div.mx_search_top input[type="text"]{
	border: 0;
	color: #999;
	font-family: Arial, Helvetica, sans-serif; 	text-align: right;
	background: #fff url(../images/search.png) no-repeat left;
}

div.mx_search_top input[type='submit']{
	background: orange;
	color: #333;
	font-weight: bold;
	border: 1px solid #000;
	padding: 2px 5px 2px 5px;
}

input.focused{
	color: #000;
}

/** Content **/
div.clearer{
	clear: both;
	font-size: 0.1em;
}
div#mx-content-container{
	padding: 20px;
}
div#mx-logo-banner{
	overflow: hidden;
	margin-bottom: 10px;
}
div#mx-logo-banner div.mx_banner{
	float: left;
	padding: 1px;
	border: 1px solid #999;
}
div#mx-logo-banner a.xm_logo{
	display: block;
	width: 362px;
	height: 74px;
	background: url(../images/logo.png) no-repeat right top; float: right;
}
div#mx-logo-banner a.xm_logo span{
	display: none;
}
div#mx-nav-bar{
	overflow: hidden;
	background: url(../images/a_bg.gif) repeat-x;
}

/** Right Blocks **/
div#xm-right-blocks{
	float: right;
	width: 300px;
	padding: 0 0 0 15px;
}

/**
* This is a block exclusively for theme
*/
div#xm-right-blocks div#mx-suscribe-block{
	border: 1px solid #ddd;
	background: #EEE;
	padding: 1px;
	color: #666;
}
div#mx-suscribe-block div.mx_block_options{
	background: #DDD;
	overflow: hidden;
}
div#mx-suscribe-block div.mx_block_options a{
	display: block;
	float: right;
	padding: 7px 10px;
	color: #333;
	font-weight: bold;
	font-size: 0.9em;
	margin-left: 2px;
}
div#mx-suscribe-block div.mx_block_options a:hover{
	background: #EEE;
}
div#mx-suscribe-block div.mx_blocks_content{
	padding: 10px 15px;
}
div#xm-right-blocks ul, .bottomcenter ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
div#xm-right-blocks ul li, .bottomcenter ul li{
	list-style: none;
	padding: 5px 16px 5px 5px;
	border-bottom: 1px dotted #CCC;
	background: url(../images/bullet.png) no-repeat 100% 2px;
}
div#mx-suscribe-block div.mx_blocks_content div.bk_item{
	padding: 5px 0;
	border-bottom: 1px dotted #CCC;
	overflow: hidden;
    direction: rtl;
}
div#mx-suscribe-block div.mx_blocks_content label{
	cursor: pointer;
	background: url(../images/email.png) no-repeat right;
	padding: 2px 20px;
	
}
div#mx-suscribe-block div.mx_blocks_content div.bk_item img{
	float: right;
	margin-left: 5px;
}
div#xm-right-blocks h3.block_title, .bottomcenter h3.block_title{
    color: #001e4a;
    font-family: "Arabic Transparent", "Times New Roman", times, serif;
    font-size: 1.25em;
    font-weight: bold;
    padding-bottom: 2px;
    direction: rtl;
}
div#xm-right-blocks h3.block_title span, .bottomcenter h3.block_title span{
    border-bottom: 3px solid #ad8d57;
    display: block;
    padding-bottom: 1px;
}
div#xm-right-blocks div.block_content{
    margin-bottom: 15px;
}
div#mx-bottom-blocks{
    overflow: hidden;
    margin-top: 15px;
}
div#mx-bottom-blocks h3.block_title{
    margin-top: 0;
}
div#mx-bottom-blocks div.bottom_right{
    width: 145px;
    float: right;
}
div#mx-bottom-blocks div.bottom_left{
    width: 145px;
    float: left;
}

div.bottomcenter img{

}

div#mx-left-content{
    float: left;
    overflow: hidden;
    width: 680px;
}

h3.theme_titles{
    color: #001e4a;
    font-family: "Arabic Transparent", "Times New Roman", times, serif;
    font-size: 1.4em;
    padding-bottom: 2px;
    margin-bottom: 5px;
    direction: rtl;
}
h3.theme_titles span{
    border-bottom: 3px solid #ad8d57;
    display: block;
    padding-bottom: 1px;
    font-weight: bold;
    font-size: 0.9em;
}
h3.theme_titles span a{
    font-weight: normal;
}

div#mx-footer{
	background: #000;
	padding: 20px;
	clear: both;
	margin-top: 15px;
	color: #FFF;
	font-size: 0.85em;
	line-height: 160%;
    text-align: center;
}
div#mx-footer a{
	color: #FFF;
	text-decoration: underline;
}

/** Two columns content **/
div.mx-two-columns{
	overflow: hidden;
}
div.mx_two_columns div.right{
	float: right;
	width: 48%;
    margin-bottom: 10px;
}
div.mx_two_columns div.left{
	float: left;
	width: 48%;
    margin-bottom: 10px;
}
div.post_item{
	padding: 8px 0;
	border-bottom: 1px dotted #CCC;
	overflow: hidden;
	color: #666;
}
div.post_item img{
	float: left;
	width: 70px;
	padding: 2px;
	border: 1px solid #ad8d57;
	margin: 0 7px 5px 0;
}
div.post_item a{
	font-family: "Arabic Transparent", "Times New Roman", times, serif;
}
h3.theme_titles span.more{
	float: left;
	border: 0;
    font-family: Tahoma;
    font-size: 12px;  
}
div.mxpagenav{
	padding: 5px;
	margin: 10px 0;
	font-family: "Arabic Transparent", times, serif;
	font-size: 1.3em;
	font-weight: normal;
	overflow: hidden;
}
div.mxpagenav strong{
	float: left;
	display: block;
	padding: 4px;
	background: #CCC;
	color: #000;
	border: 1px solid #999;
	margin-right: 2px;
}
div.mxpagenav a{
	display: block;
	float: left;
	background: #eee;
	border: 1px solid #CCC;
	margin-right: 2px;
	padding: 3px 6px;
	color: #002e53;
}
div.mxpagenav a:hover{
	background: #002e53;
	border: 1px solid #000;
	color: #FFF;
}

/** Module News **/
div.mx_article_info{
	font-size: 0.85em;
	color: #666;
}
div.mx_article_info_bottom{
	padding: 5px 0 0 0;
	font-size: 0.85em;
	color: #666;
}
div.mx_comments{
	padding: 15px;
	background: #eeeeee;
	border: 1px solid #CCC;
}
div.mx_comment_text{
	color: #666;
}
div.mx_comment_text div{
	font-size: 0.9em;
}

/** XOOPS **/
.outer{
	background: #fff;
	border: 1px solid #CCC;
	padding: 5px;
}
table.outer{
	width: 99%;
}
th{
	padding: 4px;
	font-weight: normal;
	font-family: "Arabic Transparent", times, serif;
	font-size: 1.2em;
	border-bottom: 1px dotted #CCC;
}
.head{
	padding: 3px;
	font-weight: bold;
	border-bottom: 1px dotted #CCC;
}
.even, tr.even td,
.odd, tr.odd td{
	padding: 3px;
	border-bottom: 1px dotted #CCC;
}
tr.head td{
	padding: 3px;
	font-family: "Arabic Transparent", times, serif;
	color: #002E53;
	font-weight: normal;
	border-bottom: 1px solid #CCC;
}
.foot, tr.foot td{
	color: #666;
	font-size: 0.9em;
}
.even img {max-width:300px}

#usermenu a, #mainmenu a {display: block; border-bottom: 1px dotted #CCC; padding: 5px; margin: 0;}

/** Top nav with jQuery **/

ul#topnav {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	font-size: 1.1em;
}
ul#topnav li{
	margin: 0;
	padding: 0;
	overflow: hidden;  /*--Important - Masking out the hover state by default--*/
	float: left;
	height:40px;
}
ul#topnav a, ul#topnav span { /*--The <a> and <span> share the same properties since the <span>  will be a duplicate of the <a> tag--*/
	padding: 10px 20px;
	float: left;
	text-decoration: none;
	color: #fff !important;
	font-weight: bold;
	clear: both;
	height: 20px;
	line-height: 20px; /*--Vertical alignment of text--*/
}
ul#topnav a{ /*--This is basically the hover state of navigation--*/
	color: #555;
	background-position: left bottom;
}
ul#topnav span{ /*--Default state of navigation--*/
	background-position: left top;
}

#header {
    margin :                0;
    padding :               0;
    height:                 90px;
    background-color:       #fff;
    padding:                2px;
    color:                  #fff;
}
#headerlogin { width: 272px; background-color: #000 }
#headerlogo { vertical-align: middle; text-align:center; color: #fff; font-weight: bold; font-size: 24px }

#headerbar { width: 1000px; height: 50px; background-image: url(../images/hbar.gif);}
#topnavbar { }

#navigation {
	margin:0;
	padding: 0;
	clear:both;
    width: 1000px;
	height:30px;
	background: #555 url(../images/topnav-bg.gif) repeat-x left center;
}
#navigation a { width: 100px; padding: 5px; color: #fff; background: url(../images/separator.gif) no-repeat right center; font-size: 16px; font-weight: bold; float: right; display: block; text-align: center;}
#navigation a:hover { background: url(../images/topnav-bg-hover.gif) repeat-x left center; font-size: 16px; float: right; display: block;}

#videoblock { width: 270px; border: 1px solid #ad8d57; margin-top: 8px; margin-bottom: 8px }
#latestblock { width: 208px; height: 236px; border: 1px solid #ad8d57; margin: 8px; }
#sliderblock     { width: 500px; height: 236px; border: 1px solid #ad8d57; margin-top: 8px; margin-bottom: 8px }

#tabsblock { width: 688px; height: 250px; margin-left: 8px; margin-bottom: 8px }
#ad_300_block { float: left; width: 300px; height: 250px; border: 1px solid #ad8d57; margin-bottom: 8px }

.blockTitle {padding: 8px; background-color: #eee; color: #000; font-weight: bold;}
.blockContent {padding: 8px;}

ul.tabs {
	margin: 0;
	padding: 0;
	float: left;
	list-style: none;
	height: 26px;
	border-bottom: 1px solid #ad8d57;
	border-left: 1px solid #ad8d57;
	width: 100%;
}
ul.tabs li {
	float: left;
	margin: 0;
	padding: 0;
	height: 25px;
	line-height: 25px;
	border: 1px solid #ad8d57;
	border-left: none;
	margin-bottom: -1px;
	background: #eee;
	overflow: hidden;
	position: relative;
}
ul.tabs li a {
	text-decoration: none;
	color: #000;
	display: block;
	font-size: 15px;
	padding: 0 20px;
	border: 1px solid #fff;
	outline: none;
}
ul.tabs li a:hover {
	background: #ccc;
}	
html ul.tabs li.active, html ul.tabs li.active a:hover  {
	background: #fff;
	border-bottom: 1px solid #fff;
}
.tab_container {
	border: 1px solid #ad8d57;
	border-top: none;
	clear: both;
	float: left; 
	width: 100%;
    height: 224px;
	background: #fff;
	-moz-border-radius-bottomright: 5px;
	-khtml-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-khtml-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
}
.tab_content {
	padding: 10px;
    font-size: 14px;
}
.tab_content h2 {
	font-weight: bold;
	padding-bottom: 5px;
	border-bottom: 1px dashed #ddd;
	font-size: 1.2em;
}
.tab_content h3 a{
	color: #254588;
}
.tab_content img {
	float: right;
	margin-left: 10px;
    margin-bottom: 5px;
	border: 1px solid #ddd;
	padding: 5px;
}
.tab_content li {
	margin-right: 15px;
}
