/*
Theme Name: Dwakn Light
Theme URI: http://dwakn.com/
Description: Dwakn Light Theme
Version: 1.0
Author: Gareth Lennox
*/

/* Fonts
------------------------------- */

@font-face { /* for IE */
	font-family: 'LeagueGothicRegular';
	src: url('fonts/league_gothic.eot');	
}

@font-face {
	font-family: 'LeagueGothicRegular';
	src:url(http://:/) format("No-IE-404"), local('League Gothic'), local('LeagueGothic'), url('fonts/league_gothic.woff') format('woff'), url('fonts/league_gothic.ttf') format('truetype'), url('fonts/league_gothic.svg#LeagueGothic') format('svg');
}

/* Main
------------------------------- */

body {
	background: #fff;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
	font-size: 1.2em;
	line-height: 1.4em;
	margin: 0; 
	padding: 0;
	color: #202020;
}

#page {
	width: 960px;
	padding-top: 60px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background: #fff url(images/background_top.gif) top center no-repeat;
}

#content {
	margin-top: 2em;
	clear: both;
	overflow: auto;
	margin-bottom: 1em;
	min-height: 500px;
}

.home #page {
	background-image: url(images/background_top_home.gif);
}

a {
	font-weight: bold;
	color: #de4018;
}

hr {
	color: #fff;
	border: 0 none;
	margin-top: 3em;
}

img.alignright {
	float: right;
	padding-left: 1em;
}

img.alignleft {
	float: left;
	padding-right: 1em;
}

/* Header
------------------------------- */

#headerimg a span {
	display: none;
}

#headerimg h1 {
	margin: 0;
	padding: 0;
}

#headerimg a {
	display: block;
	background: url(images/logo.gif) top left no-repeat;
	width: 392px;
	height: 66px;
	margin-bottom: 2em;
}


/* Navigation
------------------------------- */

#nav {
	padding: 0;
	margin: 0;
	position: absolute;
	right: 0;
	top: 87px;
}

#nav ul, #nav li {
	float: left;
	list-style: none;
	padding: 0;
	margin: 0;
}

#nav li a {
	font-size: 90%;
	float: left;
	display: block;
	padding: 0 0.8em;
	text-transform: lowercase;
	text-decoration: none;
	font-weight: normal;
	color: #202020;
}

#nav li.current_page_item a, #nav li.current_page_parent a {
	font-weight: bold;
}

/* Footer
------------------------------- */

#footer {
	border-top: 4px solid #de4018;
	clear: both;
}

#footer-content {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	font-size: 90%;
	line-height: 1.2;
}

#footer-content p {
	width: 45%;
}

#footer-content .right {
	float: right;
	text-align: right;
	margin: 0;
	padding: 0;
	padding-bottom: 1em;
}

#footer-content .logo {
	display: block;
	height: 32px;
	background: url(images/logo-small.gif) top right no-repeat;
	margin-bottom: 5px;
}

/* Normal content
------------------------------- */

#content h1, #content h2, #content h3 {
	font-family: LeagueGothicRegular;
	font-weight: normal !important;
	
	text-transform: lowercase;
	margin-bottom: 0.4em;
}

#content h1, #content h2.title {
	font-size: 280%;
}

#content h2 {
	font-size: 250%;
}

#content h3 {
	font-size: 200%;
	color: #837d73;
}

/* Inline post (portfolio)
------------------------------- */

.category-portfolio img {
	border: 8px solid #ccc !important;
}

.post_inline h3 a {
	font-weight: normal;
	text-decoration: none;
}

.narrowcolumn .category-portfolio {
	float: left;
	margin-right: 22px;
}

.category-portfolio img.alignright {
	padding-left: 0;
}

.widecolumn .category-portfolio {
	position: relative;
}

.widecolumn .category-portfolio img {
	position: absolute;
	left: 0;
}

.widecolumn .category-portfolio .entry {
	float: right;
	width: 450px;
	clear: right;
}

/* Home page
------------------------------- */

#home-blurb {
	height: 110px;
	background: url(images/home-blurb.gif) top center no-repeat;
}

#home-blurb span {
	margin-left: -10000em;
	font-size: 1px;
}

#home-header .block {
	width: 45%;
}

#home-header h2 {
	font-family: LeagueGothicRegular;
	font-weight: normal !important;
	font-size: 240%;
	text-transform: lowercase;
}

#home-header h2 span {
	color: #de4018;
}

#home-header p {
	font-size: 90%;
}

#home-websites {
	float: left;
	background: url(images/design.gif) bottom right no-repeat;
	height: 300px;
	margin-bottom: 1em;
}

#home-software {
	float: right;
	background: url(images/software.gif) bottom right no-repeat;
	height: 300px;
	margin-bottom: 1em;
}

ul.portfolio, .portfolio li {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.portfolio {
	overflow: hidden;
}

.portfolio li {
	float: left;
	width: 314px;
	height: 201px;
	position: relative;
}

.portfolio a {
	padding: 0;
	margin: 0;
	display: block;
}

.portfolio img { 
	border: 0;
	margin: 10px 0 0 10px;
}

.portfolio span {
	position: absolute;
	top: 0;
	left: 0;
	width: 314px;
	height: 201px;
	background: url(images/portfolio_frame.png) top left no-repeat;
}

/* Form
------------------------------- */

#ml_form ul{list-style:none; margin:0; padding:0; width: 50%; float: right;}
#ml_form ul li{margin-bottom:1em; clear:both}
#ml_form ul ul li{margin-bottom:0; clear:both}
.textile ul{list-style:disc; margin:1em}
.textile ul li{list-style:disc; margin-left:1.5em !important}
.textile ol{list-style:decimal; margin:1em; padding:0}
.textile ol li{list-style:decimal; margin-left:1em; margin-bottom:0 !important; padding:0}
#ml_form .form_title{margin-bottom:1.5em}
#ml_form h1{margin-bottom:0}
#ml_form label{width:100% !important; display:block;}
#ml_form input{width:auto}
#ml_form .tip{color:#999; font-size:90%}
#ml_form .required{font-weight:bold; color:#C00; font-size:140%}
#ml_form .text{width:90%; border:1px solid #CCC; padding:3px}
#ml_form .text_currency{width:87%}
#ml_form .text_small{width:25%}
#ml_form .text_medium{width:50%}
#ml_form .text_large{width:90%}
#ml_form textarea.text{width:90%; height:10em}
#ml_form textarea.text_small{height:4em; width:90%}
#ml_form textarea.text_medium{height:8em; width:90%}
#ml_form select{width:92%; padding:1px}
#ml_form input.file{width:100%}
/* Float fix */
#ml_form ul.horizontal:after{ content:".";  display:block;  height:0;  clear:both;  visibility:hidden}
/* Hides from IE-mac \*/
* html #ml_form ul.horizontal {height: 1%;}
/* End hide from IE-mac */
/* End float fix */
#ml_form ul.horizontal li{float:left; clear:none; width:49%}
#ml_form ul.horizontal .text_large{width:84%}
#ml_form ul.horizontal select{width:88%}
#ml_form .alert{color:#C00; background:#FEC; font-weight:bold; width:93%}
#ml_form input.errored, #ml_form textarea.errored, #ml_form select.errored{border:2px solid rgb(204,0,0) !important}
#ml_form .required{vertical-align:top}
#ml_form input, #ml_form textarea {font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; font-size: 1em;}
