/*
Theme Name: Simalam
Theme URI: http://www.simalam.com/
Description: A WordPress theme for Simalam Media.
Version: 1.0
Author: Trevor Kerr
Author URI: http://www.simalam.com
Tags: orange, white, fixed width, three columns
*/

/* Begin Typography & Colors */

body {
	font-size: 75%; /* Resets 1em to 12px */
	font-family: Arial, Helvetica, Sans-Serif;
	background: white;
	color: #2d2d2d; /* default text color is a web safe dark grey*/
	text-align: center;
	}

#page {
	background-color: white;
	text-align: left;
	}

#content {

	}

#content h1 {
	color: #ffac34;
	font-size: 200%;
	font-weight: normal;
	margin-top: 20px;
	margin-bottom: 20px;
}

#content h2 {
	color: #ffac34;
	font-size: 200%;
	font-weight: normal;
	margin-top: 20px;
	margin-bottom: 20px;
}

#content h3 {
	color: #221f72;
	font-size: 125%;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 10px;
}

#sidebar h3 {
	color: #221f72;
	font-size: 1.5em;
	font-weight: bold;
	margin-top: 10px;
	margin-left: 0px;
	margin-bottom: 10px;
}

#sidebar a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 15px;
}

#contactfield, #contacttext, .quotefield {
	background: #eee;
	
}

#content p {
	line-height: 1.7;
	margin-bottom: 1em;
	margin-left: 5px;
}

#content ul {
	margin-top: 15px;
	margin-bottom: 15px;
}

#content li {
	margin-top: 5px;
	margin-bottom: 5px;
}

#footer {
	background: #f7f6fc url('images/layout/footer_bg.jpg') repeat;
	}

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	}

h1 {
	font-size: 4em;
	}

h2 {
	font-size: 1.6em;
	}

h3 {
	font-size: 1.3em;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

a, h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

p.keywords {
	color: #999;	/* Keywords in footer are a lighter grey so as to blend with the background */
}

/* End Typography & Colors */



/* Begin Structure */

/* Begin Sticky Footer by Ryan Fait (http://ryanfait.com/sticky-footer/) */

* {
	margin: 0;
}
html, body {
	height: 100%;
}
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -150px; /* the bottom margin is the negative value of the footer's height */
}
.footer, .push {
	height: 150px; /* .push must be the same height as .footer */
}

/* End Sticky Footer */

body {
	margin: 0;
	padding: 0;
	}

#page {
	background-color: white;
	margin: 0 auto;
	padding: 0;
	width: 976px;
	}

#header {
	background: #fcc87f url('images/layout/header_bg.jpg') repeat-x;
	margin: 0;
	padding: 0;
	text-align: center;
	height: 124px;
	width: 100%;
	}

.orange {
	color: #fcc87f;
}

#headerdetails {
	width: 958px;
	margin: 0 auto;
}

#headerleft {
	background: url('images/layout/header_left.jpg');
	float: left;
	height: 124px;
	width: 194px;
}

#headerleftmiddle {
	background: url('images/layout/header_left2.jpg');
	float: left;
	height: 124px;
	width: 6px;
}

#headermiddle {
	background: url('images/layout/header_middle.jpg');
	float: left;
	height: 124px;
	width: 380px;
}

#headermiddleright {
	background: url('images/layout/header_middle2.jpg');
	float: left;
	height: 124px;
	width: 6px;
}

#headerright {
	background: url('images/layout/header_right.jpg');
	float: left;
	height: 124px;
	width: 358px;
}

#headerfarright {
	background: url('images/layout/header_right2.jpg');
	float: left;
	height: 124px;
	width: 14px;
}

.narrowcolumn, .widecolumn {
	float: left;
	background: #fff url('images/layout/contentbg.gif') repeat-y;
	margin: 0;
	text-align: left;
	width: 370px;
	padding-left: 25px;
	padding-right: 25px;
	}

#promo {
	float: right;
	text-align: left;
	/*background: #fff url('images/splash/4.jpg') no-repeat;*/
	padding: 0;
	margin: 0;
	/* height: 462px; */	/* debug value. gallery will display random promo image, resize accordingly */
	width: 360px;
	min-height: 485px;
	background: url('images/layout/promobg.gif') repeat-y;
	}

.clear {
	clear: both;
}

#footer {
	padding: 0;
	margin: 0 auto;
	width: 100%;
	clear: both;
	}

#footercopy {
	margin: -20px 0;
}

#footer p {
	text-align: center;
	}
	
#contentfade {
	background: url(images/layout/footer_1.jpg) repeat-x;
	height: 55px;
	width: 100%;
}

#footerfade {
	background: url(images/layout/footer_2.jpg) repeat-x;
	height: 45px;
	width: 100%;
}

#loginout {
	float: right;
	margin-right: 15px;
}

#validate {
}

/* End Structure */



/*	Begin Headers */

/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */



/* Begin Lists */

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	color: #fcc87f;
	}

#sidebar ul li {
	list-style-type: square;
	margin-left: 55px;
	margin-bottom: 5px;
	color: #fcc87f;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	border: 1px solid #000033;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */


input {
	border: 1px solid #000066;
	background: #eee;
	margin-top: 5px;
	margin-bottom: 5px;
	
}

textarea {
	border: 1px solid #000066;
	background: #eee;
	margin-top: 5px;
	margin-bottom: 5px;
}


/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	float: left;
	background: #fff;
	padding: 0;
	margin: 0;
	width: 194px;
	}

.contactinfo {
	text-align: right;
	margin-right: 38px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 15px;
}

#nav {
	margin-left: 35px;
	margin-top: 10px;
}

#sidebar form {
	margin: 0;
	}

#logo {
	height: 66px;
	width: 176px;
	background: url('images/layout/logo.gif') no-repeat;
}

#logo a {
	display: block;
	height: 100%;
	width: 100%;
}

/* End Sidebar */


/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 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;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/* Showcase */

div#content img.showcase_thumb {
	border: 1px solid black;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
}

div#content img.showcase_thumb:hover {
	border: 3px solid #fcc87f;
	margin-left: 3px;
	margin-right: 3px;
	margin-bottom: 3px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
text-align:left; /* center by default */
}