/*
Theme Name:		Popularity Theme V1.1
Theme URI:		http://Popularity.OneMillionProject.com/
Description:	a clean and neat, 2 or 3-columns wordpress theme with customizable and spectacular typography
Version:		1.1
Author:			Eric Koo
Author URI:		http://OneMillionProject.com/
*/

body {
	padding: 0px;
	margin: 20px auto 25px;
	font: 62.5% Georgia, Arial, Helvetica, sans-serif;
	color: #222;
	background-color: #fff;
}

a, a:visited { color: #222; text-decoration: underline; }
a:hover { color: #222; text-decoration: none; }
a img { border: none; }

img.alignleft {
	padding: 4px 4px 4px 0;
	float: left;
	margin-right: 10px;
}
img.alignright {
	padding: 4px 0 4px 4px;
	float: right;
	margin-left: 10px;
}
img.center {
	padding: 4px;
	display: block;
	margin: 5px auto;
	clear: both;
}

h1 { font-size: 2em; line-height: 1.1em; }
h2 { font-size: 2em; line-height: 1.1em; }
h3 { font-weight: normal; font-size: 1.3em; line-height: 1.3em; }


/************************************************
*	core layout elements  									*
************************************************/	

#container {
	width: 960px;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
}

#header { 
	width: 960px;
	margin: 0px;
	padding: 0px;
	text-align: left;
	height: 70px;
}

#contentwrapper {
	width: 960px;
	margin: 10px 0 5px;
	background: url('images/sidebar_bg.gif');
}

#content {
	float: left;
	width: 510px;
	margin: 0px 10px 0px 10px;
}

#sidebars {
	float: right;
	width: 400px;
	height: 100%;
	min-height: 100%;
	background-color: #E4E2D3;
	padding: 10px;
}

#lsidebar {
	float: left;
	width: 205px;
}

#rsidebar {
	float: right;
	width: 195px;
}

#footer {
	width: 950px;
	margin: 0 auto;
	padding: 5px;
	border-top: 2px solid #e5e4e4;
	color: #888;
}
#footer .left {
	float: left;
	width: 480;
}

#footer .right {
	float: right;
	width: 480;
	text-align: right;
}


/************************************************
*	header  									*
************************************************/	

#header #logo {
	float: left;
	width: 750px;
	font: bold 2em Georgia, Arial, Helvetica, sans-serif; 
	letter-spacing: -1px;
}

#header #logo a, #header #logo a:visited { 
	color: #222;
	text-decoration: none; 
}

#header #logo a:hover { 
	color: #CA1717; 
	text-decoration: none; 
}

#header h1 {
	font: normal 0.7em Verdana, Arial, Helvetica, Sans-Serif; 
	padding: 0; 
	color: #999; 
	text-align: left; 
}

#header .rss {
	width: 200px;
	float: right;
}

#header .rss p a {
	text-transform: uppercase;
	font-size: 1.2em;
}

#header .rss p a:hover {
	text-transform: uppercase;
	font-size: 1.2em;
}

#header .rss p {
	margin-right: 20px;
	margin-left: 20px;
	margin-top: 30px;
	margin-bottom: 15px;
	text-align: right;
}

#header .rss p img {
	vertical-align: top;
	margin-right: 5px;
}


/************************************************
*	nav menu  									*
************************************************/

#nav {
	width: 960px;
	margin: 0 auto;
	padding: 0;
	background: #3C71C0; 
	height: 36px;
}

#nav .nav {
	float: left;
	width: 650px;
}

ul#nav{
	background: #3C71C0;
	list-style:none;
}

ul#nav li {
	float: left;
	font: 1.6em Arial, Helvetica, sans-serif;
	line-height: 15px; 
	padding: 0px 5px;
	margin-top: 3px; 
	margin-left: 5px; 
	text-transform: lowercase; 
}

ul#nav li a, ul#nav li a:visited {
	display: block;
	padding: 6px;
	color: #fff; 
	border: #3C71C0 solid 1px;
	text-decoration: none;
}

ul#nav li a:hover {
	display: block;
	padding: 6px;
	background-color: #A0BFE6;
	color: #fff;
	border: #fff solid 1px;  
} 

ul#nav li.current_page_item a, ul#nav li.current_page_item a:visited { 
	cursor: default;
	background: #86BD37;
	border: #fff solid 1px;
}
		
ul#nav li.current_page_item a:hover { 
	text-decoration: none; 
}


/************************************************
*	search  									*
************************************************/	

#nav .search {
	float: right;
	width: 270px;
	padding-right: 10px;
	text-align: right;
}
	
#nav .search .form {
	width: 240px;
	padding: 5px;
	margin-top: 3px;
	border: 1px solid #ddd;
	background-color: #f7f7f7;
	font: 13px Verdana, Arial, Helvetica, sans-serif;
}


/************************************************
*	content  									*
************************************************/

.content_inner {
	margin-bottom: 2.5em;
	padding-bottom: 0.5em;
	border-bottom: #ccc dotted 1px;
}

.content_inner .posttitle {
	font-family: Georgia, Arial, Helvetica, sans-serif;
	font-weight: bold;
}

.content_inner .posttitle a, .post_title a:visited {
	color: #222;
	border-bottom: #222 solid 1px;
	text-decoration: none;
} 

.content_inner .posttitle a:hover {
	color: #CA1717;
	border-bottom: #222 solid 1px;
} 

.content_inner h2 {
	margin: 0px;
	font-weight: bold;
	font-size: 28px;
	line-height: 34px;
	margin-bottom: 8px;
}

.content_inner .author_and_date {
	padding: 5px;
	color: #222;
	font-size: 11px;
	background-color:#E4E2D3;
	line-height: 1.7em;
}

.content_inner .author_and_date a, author_and_date a:visited {
	text-transform: uppercase;
	text-decoration: none
}

.content_inner .author_and_date a:hover {
	text-decoration: underline;
}

#content .adsense_box {
	margin-top: 10px;
	margin-bottom: 15px;
}

#content .note_box {
	border: #DDCE93 solid 1px;
	padding: 10px;
	margin-bottom: 15px;
	background: #F7F3E2;
	font-size: 1.3em;
}

.archive_header {
	margin-bottom: 0.8em;
	font-size: 2em;
	border-top: #ccc dotted 1px;
	border-bottom: #ccc dotted 1px;
	padding-top: 10px;
	padding-bottom: 10px;
}


/************************************************
*	content : format text  						*
************************************************/

.format_text { 
	line-height: 1.7em; font-size: 1.3em;
}

.format_text p { 
	margin-bottom: 2em; 
}

.format_text p.note { 
	padding: 6px 11px; 
	background: #eee;
	border: 1px solid #ddd; 
}

.format_text p.alert { 
	padding: 6px 11px; 
	background: #F4F4AA;
	border: 1px solid #DBDB84; 
}

.format_text h3 { margin: 1.5em 0 0 0; }
.format_text h4 { line-height: 2.2em; }

blockquote {
	margin: 0 0 1.58em 0.79em; 
	padding-left: 0.8em; 
	border-left: 1px solid #ddd; 
	color: #666;
}

code { 
	font: 13px Consolas, "Andale Mono", Courier, "Courier New"; 
	color: #3C71C0; 
}

pre { 
	margin-bottom: 20px;
	padding: 8px 13px; 
	font: normal 0.86em/1.5em Consolas, "Andale Mono", Courier, "Courier New"; 
	background: #eee; 
	border: 1px solid #ddd; 
	overflow: auto; 
	clear: both; 
}

abbr, acronym { 
	font-weight: bold; 
	font-size: 12px; 
	line-height: 1em; 
	text-transform: uppercase; 
	letter-spacing: 1px; 
	border-bottom: none; 
	cursor: help; 
}


/************************************************
*	navigation  								*
************************************************/

#navigation {
	background-color: #f4f4f4;
	border-top: 1px dotted #E4E2D3;
	border-bottom: 1px dotted #E4E2D3;
	padding: 8px;
	height: 20px;
	font-size: 1.3em;
}

#navigation .nav_previous {
	float: left;
	width: 50%;
	text-align: left;
}

#navigation .nav_next {
	float: right;
	width: 50%;
	text-align: right;
}



/************************************************
*	sidebar  									*
************************************************/

#sidebars .square_box .margin {
	margin: 0;
	padding: 0;
}

#sidebars .square_box a, .square_box_small a, .square_box a:visited, .square_box_small a:visited {
	text-decoration: none;
}

#sidebars .square_box a:hover, .square_box_small a:hover {
	text-decoration: underline;
}

#sidebars .tabbed_box { 
	display: block; 
	width: 385px; 
	margin-bottom: 10px; 
	padding: 0.5em; 
	background: #fff; 
	border: 1px solid #ddd;
	font-size: 1.3em;
}

#sidebars .square_box { 
	display: block; 
	width: 385px; 
	margin-bottom: 10px; 
	padding: 0.5em; 
	background: #fff; 
	border: 1px solid #ddd;
	font-size: 1.3em;
}

#sidebars .square_box_small { 
	display: block; 
	width: 180px; 
	margin-bottom: 10px; 
	padding: 0.5em; 
	background: #fff; 
	border: 1px solid #ddd;
	font-size: 1.3em;
}

#sidebars .square_box h2, .square_box_small h2 {
	font: bold 1.1em Arial, Helvetica, sans-serif;
	background-color: #F2F0E9;
	padding: 5px;
	margin: 0px;
	border: #ddd solid 1px;
	margin-bottom: 8px;
}

#sidebars ul {
	list-style: none;
	margin: 8px 0px 0px 0px;
	padding: 0px;
}

#sidebars .square_box_small ul li, .square_box ul li {
	list-style: none;
	margin-bottom: 0.5em; 
	padding-left: 1.54615em;
	background: url('images/bullet.png') 0 0.15154em no-repeat;
}


/************************************************
*	footer  									*
************************************************/

#footer p {
	margin: 0px;
	font-size: 11px;
	padding: 0px;
	color: #222;
}

#footer p a {
	color:#222;
	border-bottom: 0.083em solid #ccc;
	text-decoration: none;
}

#footer p a:hover {
	color:#222;
	border-bottom: none;
}


/************************************************
*	comments  									*
************************************************/

ol.commentlist {
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: 1.3em;
}

.commentlist li {
	padding: 10px;
}

ol.commentlist .commentcount {
	float: right;
	font: 16px Arial, Helvetica, sans-serif;
	font-weight: bold;
}

ol.commentlist .commentcount a, .commentcount a:visited {
	text-decoration: none;
	color: #ccc;
}

ol.commentlist .commentcount a:hover {
	text-decoration: underline;
}

.alt1 {
	border: #ccc dotted 1px;
	margin-bottom: 3px;
}

.alt2 {
	border: #ccc dotted 1px;
	margin-bottom: 3px;
}

#comments {
	font: 1.8em Helvetica, Arial, sans-serif;
	font-weight: bold;
	padding: 8px;
	color: #222;
	margin-bottom: 15px;
}

.commenttext {
	line-height: 1.57em; 
	padding-right: 0.79m;
	padding: 10px;
}


.commentauthor_date {
	color: #aaa;
}

.leavecomment {
	font: 18px Helvetica, Arial, sans-serif;
	font-weight: bold;
	color: #222;
	margin-top: 50px;
	padding-bottom: 5px;
	border-bottom: #ddd dotted 1px;
}

.fillcomment {
	font-size: 1.3em;
}

.commentsblock textarea {
	padding: 5px;
	border: 1px solid #aaa;
	background-color: #eee;
	font: 13px Verdana, Arial, Helvetica, sans-serif;
	margin-bottom: 5px;
	width: 495px;
}

div.allowed {
	width: 495px;
	font-size: 12px;  
	padding: 5px; 
	line-height: 1.66667em; 
	background: #f9f7e4; 
	border: 1px dotted #DDCE93;
}

.commentsblock input {
	width: 240px;
	padding: 3px;
	margin-top: 2px;
	border: 1px solid #aaa;
	background-color: #eee;
}

.commentsblock input.form_submit {
	width: 150px;
	font-weight: bold; 
	background: #eee; 
	border: 3px double #999; 
	border-top-color: #ccc; 
	border-left-color: #ccc; 
	color: #222; 
	cursor: pointer; 
}
	
.commentsblock input.form_submit:hover { 
	color: #CA1717; 
}

.commentsblock input:focus, textarea:focus {
	background-color: #fff;
}


/************************************************
*	css tabber  									*
************************************************/
		
ul.domtabs {
	height: 35px;
	margin: 0;
	padding: 0;
}

ul.domtabs li {
	float:left;
	padding-right: 5px;
	list-style-type: none;
	
}

ul.domtabs a:link,
ul.domtabs a:visited,
ul.domtabs a:active,
ul.domtabs a:hover {
	width: 7.2em;
	padding: 5px;
	margin: 0;
	display: block;
	background: #fff;
	color: #222;
	font: bold 1.1em Arial, Helvetica, sans-serif; 
	border: #eee solid 1px;
	text-decoration: none;
}

ul.domtabs a:hover {
	background:#fff;
	border: #222 solid 1px;
	text-decoration: none;
}

div.domtab div {
	clear: both;
	padding: 2px 10px 4px 10px;
	margin: 0;
	border: #ddd 1px solid;
}

div.domtab div ul li {
	list-style: none;
	margin-bottom: 0.5em; 
	padding-left: 1.54615em;
	background: url('images/bullet.png') 0 0.15154em no-repeat;
}

div.domtab div ul li a, div.domtab div ul li a:visited, div.domtab a, div.domtab a:visited {
	text-decoration: none;
}

div.domtab div ul li a:hover, div.domtab div a:hover {
	text-decoration: underline;
}

ul.domtabs li.active a:link,
ul.domtabs li.active a:visited,
ul.domtabs li.active a:active,
ul.domtabs li.active a:hover {
	background: #F2F0E9;
	border: #ddd solid 1px;
}

#wpcf label {
	clear: both;
	display: block;
	float: left;
	width: 150px;
}
#wpcf input {
	float: left;
	width: 200px;
	padding: 1px;
	margin: 2px 5px 2px 0;
}
#wpcf textarea {
	width: 350px;
	height: 100px;
	padding: 1px;
	margin: 0 5px 10px 0;
}
#wpcf #contactsubmit {
	margin-left: 250px;
	width: 100px;
}