/*
Theme Name: Headless
Theme URI: http://ozanonay.com/blog/blogging/headless-wordpress-theme
Description: Headless WordPress theme is clean, pixel-perfect and grid-based. Since content is king, the 'header' is placed at the bottom leaving more content above the fold.
Version: 0.9.2
Author: Ozan Onay
Author URI: http://ozanonay.com/
Tags: simple, minimalist, fixed width, two columns, right sidebar, widget ready, valid CSS, valid XHTML, gray, white, gravatars

*************

Released on a Creative Commons GNU GPL license. See http://creativecommons.org/licenses/GPL/2.0/ for more details.

An 18px grid is used for aesthetic purposes. It is strictly adhered to on the vertical axis, and generally adhered to on the horizontal axis. Modifications will have the best result if all sizes (particularly line heights) are kept as multiples of 18. Notice that this can be a bit tricky when divs have borders (so for example where there's a 1px border, padding/margin should be 17/35/53 px).

I haven't styled the calendar, so you should style this before you use it.

*************/

/* Initialisation */
* { margin: 0px; padding: 0px; text-decoration:none; }
.clear, .postmetadata {clear: both;}


/* Core structure */
#page {margin:0 auto; padding-left:20px; width: 940px;}
#content {float:left;padding: 0 0 0px 0px; width: 720px;}
#sidebar{float:right; margin: 0 0 0 0px; padding-bottom:54px; width: 200px; padding-right:20px;}
#footer {margin: 0px auto; clear: both;}


/* Universal typography and colors */
body {font-size: 13px; font-family: Segoe UI, Helvetica, Verdana, Arial, Sans-Serif; color: #20306b; text-align: center; background: #fff;}
#page {text-align: left; margin-top:130px;}
#sidebar, .postdetails, .posttags, #footer, .postmetadata, #commentform, .commentmetadata {color:#20306b;} /*this is the lighter, faux-transparent text color */
a {color:#354faf; text-decoration:none;} 
a:hover {color:#A0DAE4; text-decoration:underline;}
#sidebar a, .commentlist a, .postdetails a, .posttags a, #footer a, .postmetadata a, #commentform a {color:#354faf;} /* this is the lighter, faux-transparent anchor color */
#sidebar a:hover, .commentlist a:hover, .postdetails a:hover, .posttags a:hover, #footer a:hover, .postmetadata a:hover, #commentform a:hover {color:#A0DAE4;}
.entry p a {border-bottom: 1px dotted #999;}
small {font-size: 10px; line-height:18px;}


/* Universal header styles */
h1, h2, h3 {font-family: Georgia, Segoe UI, 'Century Gothic', Helvetica, Verdana, Arial, Sans-Serif; font-weight:normal;}
h2, h3 {margin-bottom:14px;}
h1, h1 a {color:#999; font-size: 16px; line-height:36px; text-align: left;}
h1 a:hover {color:#666;}
h2 {font-size: 22px; line-height: 26px; font-weight:bold;}
h3 {font-weight:bold;}
h2, h2 a {color:#20306b;}
h2 a:hover {color:#20306b;}
h4 {
			display:block;
			background:#20306b;
			color:#ffffff;
			font-size:20px;
			font-family:Times New Roman, Georgia, Segoe UI, Verdana;
			font-style:italic;
			text-indent:15px;
			margin-bottom:15px;
		}
		h5 {
			font-size:14px;
			padding-left:25px;
			font-family:Segoe UI;
			font-weight:normal;
			line-height:160%;
		}

/* Content, entries */
.entry p {color:#000;}
.entry ol, .entry ul {padding: 0 0 0 36px; margin:-9px 0px 9px 0px;}
.post {margin: 0 0 36px;}
.post hr {display: block;}
#content .post p {margin:0 0 18px 0;}
#content .smallattachment {text-align: center;float: left;width: 128px;margin: 5px 5px 5px 0px;}
#content .attachment {text-align: center;margin: 5px 0px;}
.postdetails {margin-bottom:18px;}


/* Sidebar */
#sidebar p {margin-bottom:18px;}
#sidebar h2 {font-size: 12px; line-height:18px; margin:0px; font-weight:normal; color:#20306b;}
#sidebar ul {list-style-type: none; color:#ccc;}
#sidebar ul li {list-style-type: none; margin: 0 0 18px 0;}
#sidebar ul ul {list-style-type:none;}
#sidebar ul ul li {list-style-type:disc; margin:0px;}
#sidebar ul ul, #sidebar ul ol {margin: 0 0 0 12px;}
#sidebar ul ul ul, #sidebar ul ol {margin: 0 0 0 12px;}
ol li, #sidebar ul ol li {list-style: decimal outside;}


/* Footer */
#footer {background:#fff;}
#footer #h1, #footer .description {font-family: 'Century Gothic', Helvetica, Verdana, Arial, Sans-Serif}
.description {color:#888;font-size: 14px;}
#footer p a, #footer h1 a, #footer ul a {color:#999;}
#footer p a:hover, #footer h1 a:hover, #footer ul a:hover {color:#fff;}
#footercontainer {background:#fff;}
#footer ul {display:block; padding:0px; margin-top:18px;}
#footer ul li {display:inline; font-weight:bold;}
#footer ul li a {margin-right:18px; border:0px;}


/* Comments */
.commentlist {color:#666; text-align: left;}
.commentlist li {background: #f8f8f8 url('images/headless_respondbg.jpg') repeat-x top; border: 1px solid #eaeaea; margin: 18px 0 0;padding: 17px; list-style: none; font-weight: bold;}
.commentlist li .avatar { float: right; padding:0px 0px 9px 18px;}
.commentlist cite, .commentlist cite a {font-weight: bold;font-style: normal;}
.commentlist p {font-weight: normal; font-size:12px; text-transform: none;}
.commentmetadata {margin: 0;display: block;font-weight: normal;}
.nocomments {text-align: center;margin: 0;padding: 0;}


/* Comments response form */
div#respond {width:620px; background: #f8f8f8 url('images/headless_respondbg.jpg') repeat-x top; padding:17px; margin-top:36px; border:1px solid #eaeaea;}
#commentform input.text {width: 170px; line-height:18px; font-size:18px; margin: 9px 5px 0px 0px; background:#eaeaea url('images/headless_inputbg.jpg') repeat-x top; border:1px solid #dbdbdb;}
#commentform textarea {width: 600px;padding: 8px; background:#eaeaea url('images/headless_inputbg.jpg') repeat-x top; border:1px solid #dbdbdb; font-size: 12px; line-height: 18px; font-family: Helvetica, Verdana, Arial, Sans-Serif; color: #111; margin-bottom:9px;}
#commentform #submit {margin: 0;float: right;}
.entry form { /* This is mainly for password protected posts, makes them look better. */ text-align:center;}
select {width: 130px;}
.submit {position:relative; top:-18px;}


/* Searchbox (designed to be in sidebar but can be included elsewhere)*/
#searchbox { float:right; width: 198px; height: 36px; background: url(images/headless_searchbox.jpg) no-repeat; margin-bottom:18px;}
#searchbox #s { float: left; border: 0; margin:2px 0px 0px 6px; width: 152px; background: none; color:#999999; height:34px; font-size:24px; line-height:34px;}
#searchbox #go { float: right; width:36px; height:36px;  }


/* Images */
p img {max-width: 100%;}
img.centered {display: block;margin-left: auto;margin-right: auto;}
img.alignright {margin: 0 0 2px 18px;display: inline;}
img.alignleft {margin: 0 18px 2px 0;display: inline;}



/* Calendar - this is not intended for the theme and thus not styled */
#wp-calendar #prev a, #wp-calendar #next a {font-size: 9pt;}
#wp-calendar a {text-decoration: none;}
#wp-calendar caption {font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;text-align: center;}
#wp-calendar th {font-style: normal;text-transform: capitalize;}
#wp-calendar {empty-cells: show; margin: 10px auto 0; width: 155px;}
#wp-calendar #next a {padding-right: 10px; text-align: right; }
#wp-calendar #prev a {padding-left: 10px; text-align: left;}
#wp-calendar a {display: block;}
#wp-calendar caption {text-align: center; width: 100%;}
#wp-calendar td {padding: 3px 0; text-align: center;}
#wp-calendar td.pad:hover { /* Doesn't work in IE */ background-color: #fff; }


/* Captions */
.wp-caption {text-align: center;background-color: #f3f3f3;}
/*.wp-caption img {margin: 0;padding: 0;border: 0 none;}*/
.wp-caption p.wp-caption-text {	font-size: 10px; line-height: 18px; margin: 0px !important; color:#999;}


/* Misc. */
.alignright {margin: 0 0 2px 18px; float: right;}
.alignleft {margin: 0 18px 2px 0; float: left}
.aligncenter, div.aligncenter {display: block;margin-left: auto;margin-right: auto;}
code {font-family:'Courier New', Courier, Fixed;}
blockquote {margin: 18px 30px 0 10px;padding-left: 20px;border-left: 5px solid #ddd;}
blockquote cite {margin: 5px 0 0;display: block;}
.center {text-align: center;}
.hidden {display: none;}
hr {display: none;}
a img {border: none;}



/*
Atlantic Credit - http://www.atlanticcredit.org/
by Hyunchul Kwak: hyunchulkwak@gmail.com
*/

.clear {clear:both;}

#header {
	background: #d6d8da;
	width:100%;
	height:25px;
	position:absolute;
	top:0px;
	left:0px;
}
	#header_align {
		width: 960px;
		margin:0 auto;
		text-align:right;
	}
		#header_align div.snslink {
			float:right;
			padding-right:10px;
		}

#container {
	width: 960px;
	margin:0 auto;
}

#top {
	position:relative;
	top:40px;
	height:62px;
	width:960px;
	text-align:left;
}
	#top div.logo {
		float:left;
		width:254px;
	}
	#top div.menu {
		float:left;
		width:706px;
		margin-top:33px;
	}

#body {
	position:relative;
	margin-top:-50px;
}

#left {
	position:relative;
	float:left;
	min-width:200px;
	width:200px;
	text-align:center;
}
	#left ul {
		list-style:none;
		margin-left:-39px;
	}
	#left ul li a:link, #top ul li a:visited{
		display:block;
		text-indent:-999em;
		width:193px;
		height:25px;
	}
	#left ul li.quickstart {
	}
		#left ul li.quickstart a {
		background:url(img/left_menu_00.png) no-repeat 0 0;
		}
	#left ul li.client {
	}
		#left ul li.client a {
		background:url(img/left_menu_01.png) no-repeat 0 0;
		}
	#left ul li.application {
	}
		#left ul li.application a {
		background:url(img/left_menu_02.png) no-repeat 0 0;
		}
	#left ul li.calendar {
	}
		#left ul li.calendar a {
		background:url(img/left_menu_03.png) no-repeat 0 0;
		}
	#left ul li.newsletter {
	}
		#left ul li.newsletter a {
		background:url(img/left_menu_04.png) no-repeat 0 0;
		}
	#left ul li.privacy {
	}
		#left ul li.privacy a {
		background:url(img/left_menu_05.png) no-repeat 0 0;
		}

#right {
	position:relative;
	padding-top:15px;
	float:left;
	width:760px;
}
	#right div.home01 {
		position:relative;
		height:300px;
	}
	#right div.home02 {
		position:relative;
		float:left;
		height:60px;
		top:15px;
		left:30px;
	}
	#right div.home03 {
		position:relative;
		float:left;
		height:80px;
		top:15px;
		left:50px;
	}
		#right div.contents {
			padding-left:15px;
			position:relative;
			text-align:left;
		}
		#right div.apply {
			padding-top:20px;
			padding-left:80px;
			position:relative;
			text-align:left;
		}
				#right div.apply td {
					padding:5px;
				}
		#right div.contents h1, h2, h3 {
			margin: 0;
			padding: 0;
			font-weight: normal;
			color: #20306b;
		}
		#right div.contents span {
			font-weight: bold;
			font-size:15px;
			color: #20306b;
		}

		#right div.contents h1 {
			display:block;
			background:#20306b;
			color:#ffffff;
			font-size:20px;
			font-family:Times New Roman, Georgia, Segoe UI, Verdana;
			font-style:italic;
			text-indent:15px;
		}
		#right div.contents h2 {
			font-size:14px;
			padding:25px;
			font-family:Segoe UI;
			line-height:160%;
		}
		#right div.contents h4 {
			font-size:17px;
			font-family:Times New Roman, Georgia, Segoe UI, Tahoma;
			line-height:160%;
			padding-left:25px;
			font-style:italic;
		}
		#right div.contents h5 {
			font-size:14px;
			font-family:Segoe UI;
			line-height:160%;
			font-weight:normal;
			padding-left:50px;
		}
			#right div.contents h2 a {
				color:#20306b;
			}
			#right div.contents h2 a:hover {
				color:#A0DAE4;
			}
			#right div.contents span.bookmark {
				display:block;
				background:#20306b
				color:#ffffff;
			}
		#right div.contents h3 {
			font-size:14px;
			padding-left:50px;
			font-family:Segoe UI;
			line-height:140%;
		}
		#right div.contents h3 a {
			color:#20306b
		}
		#right div.calendar {
			padding-left:17px;
			min-height:420px;
		}

#bottom {
	height:50px;
	margin-top:50px;
	background: url(img/bottom_bg.gif) repeat-x 0px 0px;
}
	#bottom_align {
		padding-right:25px;
		padding-bottom:15px;
		width: 960px;
		margin:0 auto;
		text-align:right;
	}
		#bottom_align div.fb {
			padding-top:14px;
			float:right;
			width:170px;
			overflow:hidden;
			margin-right:-160px;
		}
		#bottom_align div.twit {
			padding-top:14px;
			float:right;
			width:380px;
			overflow:hidden;
			margin-right:0px;
		}
		#bottom_align div.g1 {
			padding-top:14px;
			float:right;
			width:35px;
			overflow:hidden;
			padding-right:10px;
		}
		#bottom_align a {
			text-decoration: none;
			color: #20306b;
		}
		#bottom_align a:hover {
			text-decoration: underline;
			color: #A0DAE4;
		}
		#bottom_align div.logos {
		margin-top:-20px;
		padding-right:40px;
		float:left;
		width:480px;
		text-align:left;
		}
		#bottom_align div.address {
		padding-top:10px;
		margin-right:10px;
		width:430px;
		float:left;
		}