/*
Theme Name: AFportal
Author: asianfanatics.net
Author URI: http://www.asianfanatics.net/
*/

* {
    margin: 0; padding: 0;
}
body {
    text-align: center;
    font: 12px Verdana;
    color: #808080;
    background:#FFF;
    padding: 0px;
}
a {
    text-decoration: none;
    color: #161668;
}
a:hover {
    text-decoration: underline;
}
img {
    border: 0;
}

.break {
    font-size: 0;
    width: 0; height: 0;
    clear: both;
}
.alignleft {
    float: left;
    margin: 4px 10px 5px 0;
}
.alignright {
    float: right;
    margin: 4px 0 5px 10px;
}
.aligncenter {
    text-align: center;
}
.hidden {
    display: none;
}

#bodywrapper{

    width: 976px;
    margin: 0px auto 0px;
}

/** BEGIN wrapper **/
.wrapper {
    width: 976px;
    margin: 0px auto 0px;
    padding: 0px;
    text-align: left;
    background: url(images/wrapper.gif) repeat-y 0 0;
}
/** END wrapper **/
#topnav {
    background:#161668;
    color:#FFFFFF;
    height:30px;
    margin:0 auto;
    padding:0;
    border-bottom:2px solid #3B3C84;
}


#topnav ul {
    list-style-type: none;
}
#topnav ul li {
    float: left;
    font-size: 0.9em;
}
#topnav ul li a {
    color: #ffffff;
    display: block;
    padding: 9px 12px;
}
#topnav ul li a:hover {
    color: #CCCCCC;
    text-decoration: none;
}
#topnav form {
    width: 279px; height: 21px;
    background: url(images/search.gif) no-repeat 0 0;
    float: right;
    margin: 5px 10px 0 0;
}
#topnav form input {
    border: 0;
    font-size: 1em;
    font-family: Verdana;
    float: left;
    margin: 3px 0;
    width: 252px;
    background-color: transparent;
}
#topnav form button {
    border: 0;
    text-indent: -9999px;
    width: 16px; height: 16px;
    background-color: transparent;
    float: left;
    margin: 2px 3px;
}

/** BEGIN header **/
#header {
    height: 100px;
}
#header h1 {
    float: left;
    font-size: 0;
    background: url(images/logo.gif) no-repeat 0 0;
    margin-left:20px;
}
#header h1 a {
    display: block;
    outline: none;
    text-indent: -9999px;
    width: 400px; height: 100px;
}
#header .headeradd {
    float: right;
    padding: 22px 20px 0;
}
/** END header **/

/************************************************

*	Navbar      								*

************************************************/


#navbar {

    background: #A6A6A7 url(images/nav_bg.gif) ;
    width: 952px;
    height: 26px;
    font-size: 12px;
    font-family: Arial, Tahoma, Verdana;
    color: #FFFFFF;
    font-weight: bold;
    margin: 0 10px;
    padding: 0px;

}

#navbar a, #navbar a:visited {

    color: #FFFFFF;
    font-size: 11px;
    text-decoration: none;
    padding: 0px 0px 0px 3px;

}

#navbar a:hover {

    color: #FFFFFF;
    text-decoration: underline;
    padding: 0px 0px 0px 3px;

}

#nav {

    margin: 0px;
    padding: 0px;
    list-style: none;

}

#nav ul {

    margin: 0px;
    padding: 0px;
    list-style: none;

}

#nav a, #nav a:visited {

    color: #FFFFFF;
    display: block;
    font-weight: bold;
    margin: 0px;
    padding: 6px 10px 6px 10px;

}

#nav a:hover {

    color: #FFFFFF;
    margin: 0px;
    padding: 6px 10px 6px 10px;
    text-decoration: none;

}

#nav li {

    float: left;
    margin: 0px;
    padding: 0px;

}

#nav li li {

    float: left;
    margin: 0px;
    padding: 0px;
    width: 150px;

}

#nav li li a, #nav li li a:link, #nav li li a:visited {

    background: #4776C5;
    width: 150px;
    float: none;
    text-transform: none;
    margin: 0px;
    padding: 7px 10px 7px 10px;
    border-bottom: 1px solid #6E94D2;
    border-left: 1px solid #6E94D2;
    border-right: 1px solid #6E94D2;

}

#nav li li a:hover, #nav li li a:active {

    background: #799CD6;
    padding: 7px 10px 7px 10px;

}

#nav li ul {

    position: absolute;
    width: 10em;
    left: -999em;

}

#nav li:hover ul {

    left: auto;
    display: block;

}

#nav li:hover ul, #nav li.sfhover ul {

    left: auto;

}

/************************************************

*	SubNavbar      								*

************************************************/

#subnavbar {

    background: #161668;
    width: 952px;
    height: 26px;
    color: #FFFFFF;
    margin: 0 10px;
    padding: 0px 0px 0px 0px;

}

/******************************
* Menu
******************************/
ul#menu,ul#menu li ul {
list-style:none;
margin:0;
padding:0;
}

ul#menu {
float:left;
border-left-width:0;
background:transparent;
}

ul#menu li {
width:85px;
float:left;
background:100% 0 no-repeat;
}

ul#menu li a {
    color: #FFFFFF;
    display: block;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0px;
    height:25px;
    line-height:24px;
    color:#fff;
    white-space:nowrap;
    padding:3px 5px 0;
    border-left:1px solid #fff;
}

#menu li li a, #menu li li a:link, #menu li li a:visited {

    background:  #315591;
    width: 140px;
    float: none;
    margin: 0px;
    border-top: 1px solid #FFFFFF;

}

ul#menu li ul {
position:absolute;
margin-top:-1px;
margin-left:-1px;
display:none;
border-bottom-width:0;
background-color:#315591;
}

ul#menu li ul li {
float:none;
border-left-width:0;
}

ul#menu li ul li ul {
margin-top:-18px;
margin-left:110px;
}

ul#menu li:hover>ul {
display:block;
}

ul#menu li a:hover {
    background:  #323F56;
    margin: 0px;
}

/** END subnav **/
/** BEGIN body **/
#body {
    clear: both;
}
/** END body **/

/** BEGIN content **/
#content {
    width: 658px;
    float: left;
    margin:5px 0 0 0;
    padding: 0 0 20px 15px;
}
#content p {
    margin-bottom: 10px;
}
#content h3 {
    margin-bottom: 5px;
    font-size: 1.5em;
    font-weight: normal;
}
#content blockquote {
    margin-bottom: 10px;
    padding: 10px 10px 5px;
    background-color: #eeeeee;
    border-width: 1px 0;
    border-style: solid;
    border-color: #D9FF87;
}
#content ul {
    margin: 0 0 10px 18px;
}
#content ol {
    margin: 0 0 10px 16px;
    padding-left: 10px;
}
#content li {
    padding: 2px 0;
}
#content .title {
    font-size: 0.9em !important;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 10px;
}
#content .posts {
    border: 1px solid #A6A6A7;
    float: left;
    padding: 10px 4px 0;
}
#content .post {
    padding: 5px;
    margin-right:4px;
    margin-bottom: 12px;
    background: url(images/post_bg.gif) no-repeat 0 0;
    width: 300px; height: 300px;
    float: left;
}
#content .post h2 {
    margin-bottom: 10px;
    font-size: 1.3em;
}
#content .post .thumbnail {
    float: left;
    margin: 0 10px 5px 0;
    width: 125px;
}
#content .post .date {
    font-size: 0.9em;
    color: #161668;
}
#content .details {
    float: right;
    font-size: 0.8em;
}
#content .details a {
    float: left;
    padding: 7px 12px;
    margin-left: 4px;
}
#content .recent h3 ,
#content .post h3 {
    margin-bottom: 2px;
    font-size: 1em;
}
#content .recent {
    border: 1px solid #A6A6A7;
    width: 644px; height: auto;
    background: #fff;
}
#content .recent h2 {
    font-size: 1.6em;
}
#content .messages{
    border-top: 1px solid #ccc;
    margin:3px 0;
    padding:5px;
    text-align:center;
}
#stats {
	float:right;
	border:1px solid #ccc;
	margin:0px 0px 10px 10px;
	padding:4px;
	text-transform:uppercase;
	font:0.8em Arial;
	}

#stats span {
	border-bottom:1px dotted #ccc;
	padding: 8px 4px 8px 4px;
	}

#stats span a {
	color:#333;
	}

.pagenav{padding:5px 0;
text-align:center;
}

.left, .alignleft {
	float:left;
	}

.right, .alignright {
	float:right;
	}
/** END content **/

/** BEGIN sidebar **/
#sidebar {
    float: right;
    width: 280px;
    margin:5px 2px 0 0;
    padding: 0 15px 20px 0;
}
#sidebar h2,
#sidebar h2 a{
    font-size: 1em;
    text-transform: uppercase;
    color:#fff;
    background:  #161668;
    padding: 5px 10px;
    margin-top: 10px;
    border-width: 0 1px;
    border-style: solid;
    border-color: #A6A6A7;
}
#sidebar ul {
    list-style-type: none;
    border: 1px solid #A6A6A7;
}
#sidebar ul li {
    line-height: 1.4em;
    padding: 5px 7px;
    border-bottom: 1px dotted #DADADA;
}
#sidebar ul li a {
    color: #808080;
}
#sidebar .l {
    float: left;
    width: 135px;
}
#sidebar .r {
    float: right;
    width: 135px;
}
#sidebar .ads {
    border: 1px solid #A6A6A7;
    padding: 6px 0;
    text-align: center;
}
#sidebar .ads img {
    margin: 3px;
}
#sidebar .subscribe {
    padding: 10px 10px 2px;
    border: 1px solid #A6A6A7;
    background: url(images/subscribe.gif) no-repeat 10px 10px;
    height: 67px;
    font-size: 0.9em;
}
#sidebar .subscribe a {
    color: #808080;
    display: block;
    float: left;
    padding: 2px 0 0 20px;
}
#sidebar .subscribe input {
    border: 0;
    float: left;
    margin: 18px 0 0 10px;
    width: 165px;
}
#sidebar .subscribe button {
    border: 0;
    text-indent: -9999px;
    float: right;
    background-color: transparent;
    width: 64px; height: 64px;
    margin-top: -10px;
}
#sidebar .tags {
    padding: 10px;
    border: 1px solid #A6A6A7;
}
#sidebar .tags a {
    color: #808080;
}
#sidebar .tags a:hover {
    color: #161668;
    text-decoration: none;
}


#sidebar div.head {
    background-color: #FFFFCB;
    border: 1px solid #CDCCCA;
    padding: 10px 5px;
}
#sidebar div.head h2 {
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
#sidebar div.head .rss {
    font-size: 0.9em;
    padding: 2px 0 2px 24px;
    background: url(images/rss.gif) no-repeat 0 0;
}

#sidebar ul.head {
    list-style-type: none;
    border: 1px solid #cccccc;
    border-width: 1px 1px 0 0;
    height: 20px;
}
#sidebar ul.head li {
    float: left;
    text-transform: uppercase;
    font-weight: bold;
    border-left: 1px solid #cccccc;
}
#sidebar ul.head li a {
    color: #343434;
    display: block;
    padding: 2px 2px;
}
#sidebar ul.head li a:hover {

}
#sidebar ul.body {
    clear: both;
    list-style-type: none;
    border: 1px solid #cccccc;
    padding: 10px;
    margin-bottom: 10px;
}
#sidebar ul.body li {
    font-size: 0.9em;
    border-bottom: 1px dotted #313131;
    padding: 6px 0;
}
#sidebar ul.body li a {
    color: #323232;
}
#sidebar ul.body li a:hover {
    font-weight: bold;
    color: #006490;
}
/** END sidebar **/

/** BEGIN footer **/
#footer {
    background-color: #161668;
    color: #ffffff;
    font-size: 0.9em;
    padding: 20px 0 60px;
    line-height: 1.7em;
}
#footer .wrapper {
    background: none;
}
#footer a {
    color: #ffffff;
}
#footer .l {
    float: left;
    padding-left: 20px;
}
#footer .r {
    float: right;
    padding: 16px 20px 0 0;
}
/** END footer **/

/** BEGIN miscellaneous **/
.postnav {
    clear: both;
    padding: 20px 25px 0;
    font-size: 0.9em;
}
.postnav a {
    border: 1px solid #cccccc;
    padding: 3px 8px;
    color: #999999;
}
.postnav a:hover {
    border: 1px solid #000000;
    color: #000000;
    text-decoration: none;
}
#comments {
    clear: both;
    border-top: 1px solid #eeeeee;
}
#comments h2 {
    margin: 20px 0 5px;
    font-size: 1.5em;
    font-weight: normal;
}
#comments p {
    margin-bottom: 10px;
    line-height: 1.5em;
}
#comments form {
    padding-top: 20px;
}
#comments form p {
    margin-bottom: 5px;
}
#comments form input, textarea {
    border: 1px solid #cccccc;
    font-size: 0.9em;
    font-family: Verdana;
    padding: 4px;
    background-position: 4px 4px;
    background-repeat: no-repeat;
}
#comments form input {
    width: 260px;
    border: 1px solid #cccccc;
}
#comments form textarea {
    width: 350px;
    padding: 4px 4px !important;
    border: 1px solid #cccccc;
}
#comments form button {
    border: 1px solid #909090;
    background-color: #cccccc;
    font-size: 0.9em;
    font-family: Verdana;
    width: 120px; height: 23px;
}
.commentdetails {
    margin-top: 25px;
}
.commentauthor {
    margin-bottom: 5px !important;
    font-weight: bold;
}
.commentdate {
    font-size: 0.8em;
    margin-bottom: 5px;
    color: #909090;
}
.required {
    color: #ff0000;
}
.posts .title {
    padding: 5px 10px;
}
.notfound {
    padding: 40px;
}
.notfound h2 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
}
/** END miscellaneous **/

/** BEGIN wordpress 2.7 comments **/
#comments ol {
    list-style-type: none;
    clear: both;
    padding: 0;
    margin: 0;
}
#comments ol li {
    padding: 10px;
    border: 1px solid #e9e9e9;
    margin-bottom: 10px;
}
#comments ol li .avatar {
    float: right;
}
#comments ol li .comment-author {

}
#comments ol li .comment-author .fn {
    font-weight: bold;
    font-size: 1.2em;
}
#comments ol li .comment-meta {
    font-size: 0.9em;
    color: #999999;
    margin: 5px 0 10px;
}
#comments ol li .reply {
    font-size: 0.9em;
    font-weight: bold;
    padding-bottom: 10px;
}
#comments .children {
    list-style-type: none;
}
#comments .navigation {
    padding: 10px 0 20px;
    font-size: 0.9em;
}
#comments .navigation a {
    color: #999999;
    padding: 3px 8px;
    border: 1px solid #cccccc;
}
#comments .navigation a:hover {
    color: #000000;
    border-color: #000000;
    text-decoration: none;
}
/** END wordpress 2.7 comments **/

