/* CSS Framework Import */
@import url("framework/core.css");
@import url("framework/plugins/helpers.css");

/*Site specific styles and structure begin here*/

body {
	background: #ECECEC url(../images/layout/bg.jpg) center top repeat-y;
	font-size: .9em;
	margin: 0;
}
body.alt {
	
}

h2 {
	color: #D94243;
	font-size: 1.5em;
}
h3, .post h3 a {
	color: #555;
}
h3 {
	font-size: 1.4em;
}
h4 a, h5 a, h6 a {
	color: #000;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1em;
}
h6 {
	font-size: 1em;
}

a {
	color: #D94243;
}

#header, #header h1 a {
	height: 65px;
}

#header h1 a {
	display: block;
	background: transparent url(../images/layout/logo.jpg) 30px 16px no-repeat;
}
#header h1 a span {
	display: none;
	margin-left: -20000px;
}

#nav {
	padding: 0 30px 10px 30px;
	text-align: right;
}
#nav a {
	color: #555;
	text-decoration: none;
}
#nav li.current a {
	color: #888;
}

#nav a:hover {
  color: #C24A2F;
}

#nav ul {
	margin: 0;
	font-size: 1.125em;
}

#nav li {
	list-style: none;
	display: inline;
	padding-left: .5em;
}

.container {
	width: 960px;
	text-align: center;
}

#content, #footer {
	margin: 0 auto;
}

#content {
	text-align: left;
	background: #F5F5F5 url(../images/layout/content-bg.jpg) top left repeat-y;
	border-top: 1px solid #D5D5D5;
	border-bottom: 1px solid #E5E5E5;
}
.primary {
	background-image: none !important;
}

#footer {
	margin-top: 10px;
	margin-bottom: 3em;
	font-size: .9em;
	width: 900px;
	text-align: right;
    color: #777;
}

.clearer {
	clear: both;
}

.pagerContainer {
	text-align: center;
}
ul.yiiPager {
	display: block;
	margin: 1.5em auto !important;
	font-size: .85em !important;
}
ul.yiiPager li {
	display: inline !important;
	padding: 0 .25em !important;
}
ul.yiiPager a {
	color: #555 !important;
	border: 1px solid #AAA !important;
	padding: .25em .5em !important;
	background-color: #DDD !important;
	text-decoration: none !important;
}
ul.yiiPager a:hover {
	color: #333 !important;
	background-color: #FFF !important;
}
ul.yiiPager li.hidden {
	display: none !important;
}
ul.yiiPager li.selected a {
	color: #222 !important;
	background-color: #BBB !important;
	border-color: #999 !important;
}
ul.yiiPager li.selected a:hover {
	color: #000 !important;
	background-color: #CCC !important;
}
ul.yiiPager a:link,
ul.yiiPager a:visited {
	font-weight: normal;
}

/** ------------------------------
    BREADCRUMBS
    ------------------------------ */
	.breadcrumbs {
		margin: 10px 30px 0 30px;
		font-size: .85em;
		color: #555;
	}
	.breadcrumbs li {
		list-style: none;
		display: inline;
		padding-right: .25em;
	}

/** ------------------------------
    HOME
    ------------------------------ */
	.recent_projects {
		height: 200px;
		border-bottom: 1px solid #D5D5D5;
	}
	.recent_projects h2 {
		position: relative;
/*		color: #FFF;*/
		top: -200px;
		text-align: right;
		padding: 5px 30px 5px 30px;
		background: transparent url(../images/layout/translucent-white.png) left top repeat;
	}
	.recent {
		float: left;
		width: 320px;
		height: 200px;
		background-color: #DDD;
	}
	.recent.first {
		background-color: #CCC;
	}
	.recent.last {
		background-color: #EEE;
	}
	.news, .promo {
		float: left;
	}
	.news {
		width: 580px;
		margin-right: 30px;
		padding: 30px 0 30px 30px;
	}
	.date {
		color: #888;
		font-size: .9em;
		margin-bottom: .25em;
	}
	.post {
		margin-bottom: 2.5em;
	}
	.post h3 a {
		text-decoration: none;
	}
	.post h3 a:hover {
		text-decoration: underline;
	}
	.promo {
		color: #555;
		font-size: 1.3em;
		line-height: 1.75em;
		height: 600px;
	}
	.promo a {
		width: 320px;
		height: 600px;
		display: block;
		background: transparent url(../images/layout/promo-bg.jpg) left top no-repeat;
	}
	.promo a:hover {
		background: transparent url(../images/layout/promo-bg.jpg) -320px top no-repeat;
	}
	.promo a span {
		display: none;
		margin-left: -20000px;
	}

/** ------------------------------
    PORTFOLIO
    ------------------------------ */
	.clients, .contact, .primary .page {
		padding: 30px 0;
	}
	.clients h2, .contact h2, .primary .page h2 {
		padding-left: 30px;
		padding-right: 30px;
	}
	.page .message, .page .success {
		margin-left: 30px;
		margin-right: 30px;
	}
	.client_details, .contact_form, .primary .details {
		padding: 0 30px;
		margin-bottom: 30px;
	}
	.type {
		border-bottom: 1px solid #E5E5E5;
		margin-bottom: 30px;
	}
	.subtype h4 {
		margin-bottom: .5em;
	}
	.type.last {
		border-bottom: none !important;
		margin-bottom: none !important;
	}
	.projects {
		margin-bottom: 10px;
	}
	.subtype .projects {
		margin-bottom: 30px;
	}
	.projects a {
		display: table-cell;
		width: 207px;
		height: 207px;
		background-color: #FFF;
		text-align: center;
		vertical-align: middle;
		border: 5px solid #DDD;
	}
	.projects a:hover {
		border-color: #888;
	}
	.projects img {
		display: inline;
	}
	.projects a.last {
		margin-right: 0;
	}
	.cover, .last_cover, .preview {
		float: left;
	}
	.thumb_preview {
		float: right;
		margin-left: 5px;
		margin-top: 5px;
	}
	.cover {
		margin-right: 10px;
	}
	.last_cover {
		margin-right: 0;
	}
	.project_previews {
		float: left;
		text-align: right;
		width: 270px;
		margin-right: 30px;
	}
	.project_previews a {
		display: table-cell;
		width: 260px;
		height: 260px;
		background-color: #FFF;
		text-align: center;
		vertical-align: middle;
		border: 5px solid #DDD;
	}
	
	.project_previews .actions, .project_flash .actions {
		margin: 3px 0 3px 0;
	}
	
	.project_previews .actions {
		text-align: right;
	}
	
	.project_flash .actions {
		text-align: left;
	}
	
	.project_previews .actions a, .project_flash .actions a {
		display: inline;
		width: auto;
		height: auto;
		border: none;
	}
	
	.project_previews .actions li, .project_flash .actions li {
		display: inline;
	}

	
	.project_previews a.thumb {
		width: 50px;
		height: 50px;
	}
	
	.project_previews a:hover {
		border-color: #888;
	}
	.project_flash {
		float: left;
		margin-right: 30px;
	}
	.project_flash object {
		border: 5px solid #DDD;
	}
	.project_info {
		float: left;
		width: 600px;
	}
	.project_flash_info {
		float: left;
	}
	.project_info .meta, .project_flash_info .meta {
		margin-left: 0;
		margin-right: 0;
	}
	.project_info .meta label, .project_flash_info .meta label {
		width: auto;
	}
	.project_info .meta li, .project_flash_info .meta li {
		display: inline;
		list-style: none;
		padding-right: 1em;
	}
	.meta li label {
		margin-right: .5em;
	}
	.project_copyright {
		text-align: center;
		color: #888;
		font-size: .85em;
		margin: 2em 0;
	}

/** ------------------------------
    CLIENTS
    ------------------------------ */
	ul.client_listing  {
		margin-left: 0;
		margin-right: 0;
	}
	.client_listing li {
		list-style: none;
	}
	.client_listing label {
		width: auto;
		margin-right: 0;
	}
	.client_projects li {
		float: left;
		padding-right: .5em;
		padding-bottom: .5em;
	}
	.project_thumb img {
		vertical-align: middle;
	}
	a.project_thumb {
		display: table-cell;
		width: 50px;
		height: 50px;
		text-align: center;
		vertical-align: middle;
		border: 5px solid #DDD;
		background-color: #FFF;
		margin: 0 .5em .5em 0;
	}
	
	a.project_thumb:hover {
		border-color: #888;
	}

/** ------------------------------
    FORMS
    ------------------------------ */

	form {
		background-color: #EEE;
		padding: 1em;
	}

	fieldset {
		border: 1px solid #CCC;
		padding: .5em;
	}

	legend {
		margin-left: 2em;
		position: relative;
	}

	textarea {
		vertical-align: top;
		width: 450px;
		height: 75px;
	}
	textarea.big {
		height: 30em;
	}
	select {
		vertical-align: top;
	}

	label {
		display: inline-block;
		margin-right: .25em;
		width: 7em;
		text-align: right;
		color: #444;
	}

	.action {
		margin-left: 6em;
	}
	.action label {
		text-align: left;
	}

	.submit {
		margin-top: .5em;
	}

	.submit, .indent {
		padding-left: 6.25em;
	}

	.wide {
		width: 27em;
	}
	.wider {
		width: 45em;
	}

	.narrow {
		width: 4em;
	}

	.errorSummary {
		background-color: #FBE3E4;
		text-align: center;
		border: 1px solid #FBC2C4;
		color: #8A1F11;
		padding: .5em;
		margin-bottom: 1em;
	}
	.errorSummary ul {
		margin-right: 0;
	}
	.errorSummary li {
		list-style: none;
	}
	.errorSummary p {
		font-weight: bold;
	}
	span.required {
		color: #D94243;
	}

	label.error {
		padding: 0;
		background-color: transparent;
		border: 0;
	}
	input.error {
		padding: 1px;
		border-width: 1px;
	}	
	
/** ------------------------------
    TABLES
    ------------------------------ */

	.admin_data {
		width: 770px;
		background-color: #EEE;
		border: 1px solid #DDD;
		margin: .5em 0;
	}

	th {
		background-color: #DDD;
	}

	td, th {
		padding: .25em .5em;
		text-align: center;
	}

	.odd {
		background-color: #FFF;
	}

/** ------------------------------
    TABS
    ------------------------------ */

	.tabs {
		display: inline;
		margin: 0;
	}
	.tabs li {
		display: inline;
		list-style: none;
		padding-right: .25em;
	}

/** ------------------------------
    BUTTONS
    ------------------------------ */

	.action_form {
		display: inline;
		background-color: transparent;
		border: none;
		padding: 0;
	}

	.action_button {
		border-radius: 4px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		background: #EEE;
		border: 1px solid #999;
		font-size: 1em;
		vertical-align: middle;
		padding: 0 .25em;
		margin-right: .125em;
	}
	.action_button, a.action_button {
		text-decoration: none;
		color: #333;
	}
	.action_button:hover {
		background: #FFF;
		text-decoration: underline;
		cursor: pointer;
	}

/** ------------------------------
    SIDEBAR
    ------------------------------ */
	.sidebar {
		float: left;
		text-align: right;
		width: 100px;
		margin-right: 30px;
	}
	.sidebar li {
		list-style: none;
	}
	
/** ------------------------------
    MISCELLANEOUS
    ------------------------------ */
	.left {
		float: left;
	}
	.right {
		float: right;
	}
	
	.message, .success {
		padding: .5em;
		text-align: center;
		margin-bottom: 1em;
	}
	
	.message {
		background-color: #E1FFE1;
		border: 1px solid green;
		color: green;
	}
	
	.success {
		background-color: #E1E1FF;
		border: 1px solid blue;
		color: blue;
	}
	.warning {
		color: red;
	}
	
	.inline {
		display: inline;
	}
	
	div.captcha {
		text-align: center;
		margin-right: .35em;
	}
	div.captcha img {
		border: 1px solid #BBB;
	}
	
	.instructions {
		font-size: .85em;
	}
	.alt {
		color: #555;
	}
	.label {
		font-weight: bold;
	}
/** ------------------------------
    ADMIN
    ------------------------------ */
	.ad_preview {
		width: 260px;
		height: 163px;
		padding: 5px;
		background-color: #DDD;
	}