/*
Theme Name: Capricorn Screens
Theme URI: http://www.capricornscreens.com.au
Description: Capricorn Screens 2010 design
Version: 1.0
Author: Jylan Wynne, Almost Anything Web and Graphic Design
Author URI: http://www.almostanything.com.au
*/

/*
 * COLOURS
 * red					:	ff0000
 * green				:	00ff00
 * blue					:	0000ff
 *
 * based on 960 12 col grid
 * columns 60px
 * column gaps 20px
 *
 * CONTENTS
 * 1.Header and Body
 * 2.Main Content
 * 3.Forms
 * 3.Footer
 * 4.Navigation
 * 5.News
 * 6.Sidebar
 * 7.Homepage
 */

/*
 * 1.Header and Body
 */

body {
    margin: 0;
    padding: 0;
	font-family:Georgia, serif;
	background:transparent url(images/backBg.png) -190px 400px repeat-y;
    color: #000;
	min-width:970px;
}

.outer {
    width: 100%;
	background:transparent url(images/mainBg.png) -190px top no-repeat;
}

#header {
    background:transparent url(images/headerBg.png) 99px 0 no-repeat;
	padding:0 1em 0 1em;
	height:191px;
	overflow:hidden;
    position: relative;
}

#header .widthlimiter {
    background:transparent url(images/headerBg.png) -7px -259px no-repeat;
	height:191px;
}

#header h1 {
	float:left;
    margin: 0;
    padding: 12px 0 0 12px;
	width:392px;
	height:162px;
    font: normal bold 30px/100px sans-serif;
}

#header h1 a{
	color: #fff;
	width:392px;
	height:162px;
	display:block;
	background:transparent url(images/logo.png) no-repeat;
	text-indent:-9999px;
	text-decoration: none;
}

#promotion {
	background:transparent url(images/promotionBg.png) no-repeat;
	-webkit-border-radius:12px 10px;
	-moz-border-radius:10px;
	border-radius:10px;
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.2);
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.2);
	float:right;
	height:134px;
	padding-top:10px;
	width:500px;
	margin:20px 0 0 0;
	font-size:1.2em;
	position:relative;
	overflow:hidden;
}

#promotion p {
	width:300px;
	margin:0 0 .2em .565em;
	color:#fff;
	line-height:1.5em;
}

#promotion em {
    font-size: 70%;
    display: block;
}

#promotion strong{
    font-size: 140%;
    display: block;
	font-weight:100;
}

#promotion span.description {
	position:absolute;
	top:10px;
	width:150px;
	right:14px;
	text-shadow:0 0 5px #fff;
	font-size:1.1em;
}

#promotion span.description span {
	display:block;
	font-size:1.35em;
}

#promotion a {
	color:#fff;
}

#promotion img {
	position:absolute;
	top:0;
	right:0;
	border-left:1px solid #fff;
	-webkit-border-top-right-radius:10px;
	-webkit-border-bottom-right-radius:10px;
	-moz-border-radius:0 10px 10px 0;
	border-radius:0 10px 10px 0;
	padding:0;
}

.widthlimiter{
	position:relative;
}

.mainwidthlimiter {
	overflow:hidden;
	padding:0 0 0 285px;
}

/*
 * 2.Main Content
 */

#content{
    font: normal 1.05em/1.6em Georgia, "Palatino Linotype", serif;
	padding:0 10px 2em 0;
	margin:0 auto;
	width:98%;
	min-width:580px;
	max-width:1280px;
	color:#0e3a56;
}

.homepage #content p {
	font-size:.9em;
}

*::selection {
	background-color:rgba(0,0,0,0.1);
}

*::-moz-selection {
	background-color:rgba(0,0,0,0.1);
}

h1, h2, h3, h4, h5 {
	color: #3b96d0;
	line-height:1.3em;
	font-weight:100;
	margin-bottom:.4em;
	margin-left:-0.4em;
}

#page13 h3 {
	margin-bottom:.7em;
}

#content .googleMap {
	border:3px solid #3b96d0;
	width:95%;
	height:500px;
	font-size:.9em;
	clear:both;
}

#content .googleMap br {
	display:none;
}

#content .googleMap h4  {
	margin:0;
	font-size:1.5em;
}

#content .googleMap form#directions_1 {
	margin-bottom:0 !important;
}

h1 {
	font-size:2.5em;
	margin-bottom:.3em;
}

h2 {
	font-size:1.9em;
}

h1+*, h2+*, h3+* {
	margin-top:.3em;
}

h1 a {
	text-decoration: none;
}

#content a {
	color: #122d3f;
	border-bottom:1px dotted #fff;
	text-decoration:none;
}

#content a:hover {
	color: #000;
	border-bottom:1px dotted #000;
}

/* the next 3 rules are for the way WP sets its image floats */

#content img.alignleft, #content .alignleft {
	float:left;
	margin:0 0.5em 0.5em 0;
}

#content img.alignright, #content .alignright {
	float:right;
	margin:0 0 1em 1em;
}

#content img.aligncentered, #content .aligncentered {
	text-align:center;
	margin:0 auto;
}

#content p.aligncentered {
    clear:both;
    margin:1.5em 0;
}

p.aligncentered img {
    border:3px solid #3b96d0;
    padding:2px;
}

/* These 2 will make image captions look a bit like polaroids */

.wp-caption{
	background:#ccc;
}

p.wp-caption-text{
	font-size:80%;
	text-align:center;
	padding:0;
	margin:0;
}

/*
 * 3.Forms
 * Override any of the default cforms styles here by prefixing with #content
 * to increase specifity
 */

.linklove {
    display: none;
}

.cform {
    float:left;
    margin:0 1.5em 1.5em 0;
}

.cform ol, .cform li {
	padding:0;
	margin:0;
	list-style:none;
}

.cform .emailreqtxt, .cform .reqtxt {
	display:none;
}

.cform input, .cform textarea {
	background:#fff;
	border:none;
	width:174px;
	padding:.5em 5% .4em 80px;
	color:#333;
	line-height:1.3em;
	font-family:Helvetica, Arial, sans-serif;
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.1);
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.1);
	-webkit-transition:all 250ms linear;
	-moz-transition:all 250ms linear;
	-o-transition:all 250ms linear;
}

.cform textarea {
    padding-top:.6em;
}

.cform li.cf_li_err input, .cform li.cf_li_err textarea {
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.8);
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.8);
}

.cform textarea {
	height:70px;
}

.cform li#li--1 input, .cform li#li--2 input, .cform li#li--3 input {
	padding-left:70px;
	width:184px;
}

.cform input:focus, #sidebar .cform textarea:focus, .cform input:active, .cform textarea:active {
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.3);
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.3);
	outline:0;
}

.cform li#li--4 textarea {
	padding-left:80px;
	width:174px;
	height:45px;
}

.cform li#li--5 textarea {
	padding-left:85px;
	width:169px;
}

.cform li, .cform p.cf-sb {
	position:relative;
	margin:.75em 1em .75em 1em;
}

.cform p.cf-sb {
	margin-top:0;
}

.cform p.cf-sb input {
	width:auto;
	padding:.2em .4em;
	float:left;
	font-family:Georgia, serif;
	font-size:1.4em;
	font-style:italic;
	cursor:pointer;
	background:rgba(255,255,255,0.5);
}

.cform li label {
	position:absolute;
	left:10px;
	top:3px;
	font-size:.8em;
	font-style:italic;
	width:80px;
	color:#144c70;
}

	.cform li#li--7 label {
		left:23px;
		width:auto;
	}

.cform li:hover label {
	color:#2eadff;
}

.cform fieldset.cf_hidden {
    display:none;
}

#usermessagea {
	color:#fff;
	font-size:.8em;
	text-transform:uppercase;
	text-align:center;
}

h2.sidebarCta {
    font-size:1em;
    line-height:1.25em;
    background:url(images/mainBg.png) -74px center;
    border:1px solid rgba(255,255,255,0.2);
    padding:.3em 0 .3em 100px;
    margin:1.5em 0 0 -100px;
    border-radius:4px;
    -moz-border-radius:4px;
    border-top-right-radius:10px 15px;
}

h2#likeOnFacebook {
    margin-top:1.15em;
}

h2.sidebarCta a {
    color:#000;
    text-decoration:none;
    display:block;
    padding:.3em 0 .3em 35px;
    font-style:italic;
    text-shadow:1px 1px 0 rgba(255,255,255,0.25);
}

h2#makeAnAppointment a {
    background:transparent url(images/clock.png) left center no-repeat;
}

h2#likeOnFacebook a {
    background:transparent url(images/facebook.png) left center no-repeat;
}

h2.sidebarCta em {
    font-style:normal;
    text-transform:uppercase;
    text-shadow:none;
    font-size:.9em;
}

h2.sidebarCta a:hover {
    color:#fff;
}

/*
 * 3.Footer
 * Text should be a little smaller and more subtle in contrast.
 */

#footer {
	clear: both;
    background: transparent url(images/footerBg.png) 0 -30px repeat-x;
	padding:2em 0 .8em 0;
	font: normal 1em/1.6em Georgia, "Palatino Linotype", serif;
}

#footer p {
	margin:0 0 0 45px;
    color: #725f15;
}
	
	#footer p#serviceArea {
		margin:10px 0 0 45px;
	}

#footer a {
    color: #51440f;
    text-decoration: none;
	border-bottom:1px dotted #51440f;
}

#footer a:hover {
	background:none;
    color: #000;
	border-bottom:1px dotted #fff;
}

/*
 * 4.Navigation
 * Ahhh, the fun part. If you get stuck, ask Jeff Vader. I'm his brother.
 * http://www.youtube.com/watch?v=7tUNNM-Hyu8
 */

/*** ESSENTIAL STYLES ***/
/* don't change these guys too much - unless you've got a really good reason! */
.nav, .nav li {margin:0;padding:0;list-style:none;}
.nav ul {position:absolute;top:-999em;}
.nav ul li {width: 100%;}
.nav li {position:relative;z-index:99;}
.nav a {display:block;}
.nav li:hover li ul, .nav li.sfHover li ul {top:-999em;}
.superfish li:hover ul, .superfish li li:hover ul {top: -999em;}

/*** NAVIGATION SKIN ***/
/* customise this as much as you like... */

.nav {
	padding:0 0 .5em 0;
	margin-top:.6em;
}

.nav li {
	clear:both;
	margin-left:-10px;
}

.nav a {
	color: #fff;
	padding:.2em 0;
	font-style:italic;
	font-size:1.1em;
	text-shadow:1px 1px 2px #3888ff;
	text-decoration:none;
	padding-left:1.5em;
	-webkit-transition:all 250ms linear;
	background:transparent url(images/arrow.png) -20px center no-repeat;
}

.nav li.current_page_item a {
	background:transparent url(images/arrow.png) left center no-repeat;
}

.nav a:focus, .nav a:hover, .nav a:active {
	padding-left:2em;
	background:none;
	background:transparent url(images/arrow.png) -5px center no-repeat;
}

.nav ul {
	display:none !important;
}

.nav li:hover ul, ul.nav li.sfHover ul { /* relative pozzie of dropdown */
	left:0px;
	top:31px;
}
.nav li li:hover ul, ul.nav li li.sfHover ul { /* pozzie of 2nd level dropdown */
	left:125px;
	top:-1px;
}
.nav li li {
	background:#ccc;
}
.nav li li li {
	background:#ccc;
}

/*
 * 5.News
 */

.postdate, .postmetadata{
	font-size:0.8em;
	font-style:italic;
}

/*
 * 6.Sidebar
 */
ul#sidebar{
	width: 226px; /* 300 without the 1 px border & padding - 4 columns */
	margin: 0 0 0 -268px;
	padding:0;
	float:left;
	list-style: none;
	position:relative;
	z-index:100;
}

#sidebar li#text-3 {
	padding:.5em 0 .5em 0;
	margin-left:14px;
}

#sidebar li#cforms-2 {
	padding:0 0 .5em 0;
	margin-left:14px;
}

div.textwidget {
	color:#fff;
	font-size:1.2em;
	margin:.7em .5em 0 .8em;
}

div.textwidget span {
	display:block;
}

div.textwidget span.consultation {
	margin-left:1.5em;
}

div.textwidget span.phone {
	margin-left:3em;
	clear:both;
}

div#content .ngg-galleryoverview {
	clear:none;
	overflow:hidden;
	padding:0;
}

div#content .ngg-navigation a, div#content .ngg-navigation span {
	border:1px solid #ccc;
	padding:3px 7px;
	margin:0 5px 0 0;
}

div#content .ngg-navigation span {
	border:1px solid #999;
}

div#content .ngg-navigation a:hover {
	background:#666;
	background:rgba(0,0,0,0.15);
}

div#content .ngg-galleryoverview .ngg-clear {
	display:none;
}

div#content .ngg-galleryoverview .ngg-gallery-thumbnail a {
	display:block;
	border:none;
}

div#content .ngg-galleryoverview .ngg-gallery-thumbnail img {
	background:none;
	-webkit-transition:all 150ms linear;
	-moz-transition:all 150ms linear;
	-o-transition:all 150ms linear;
	padding:1px;
	border:1px solid #d8cfab;
	-webkit-transform:scale(.95);
	-moz-transform:scale(.95);
}

div#content .ngg-galleryoverview .ngg-gallery-thumbnail img:hover {
	-webkit-box-shadow:0 0 6px rgba(0,0,0,0.3);
	-moz-box-shadow:0 0 6px rgba(0,0,0,0.3);
	-webkit-transform:scale(1);
	-moz-transform:scale(1);
	-o-transform:scale(1);
}

div#content table#subpages {
	padding:0;
	width:502px;
	margin:1em auto;
	position:relative;
	left:-1.5em;
	table-layout:fixed;
}

div#content table#subpages td {
	margin:0 2em 2em 0;
	width:147px;
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.2);
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.2);
	-webkit-transition:all 100ms linear;
	-moz-transition:all 100ms linear;
	-o-transition:all 100ms linear;
	border:none;
	opacity:.85;
	background:#09f url(images/subpageListBg.png) center center no-repeat;
	text-align:center;
	height:140px;
	width:150px;
	overflow:hidden;
	zoom:1;
	border:2px solid #fff;
	padding:0;
	vertical-align:top;
}

div#content table#subpages td:hover {
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.4);
	opacity:1;
	z-index:99;
}

div#content table#subpages td a {
	font-size:.8em;
	color:#fff;
	background:transparent url(images/50transparentBg.png) 0 -7px repeat-x;
	padding:.4em .7em;
	text-transform:uppercase;
	line-height:1.3em;
	height:100%;
	margin-bottom:-150px;
	display:block;
	border:none;
	position:relative;
	z-index:9999;
}

div#content table#subpages td a.fancybox {
	display:block;
	padding:0;
	position:relative;
	z-index:10;
	margin:0;
	overflow:hidden;
	height:auto;
	width:150px;
}

div#content table#subpages td a img {
	border:none;
	background:#fff;
	padding:0;
}

div#ctasection {
	margin:1em auto 1em auto;
	width:603px;
	padding-top:10px;
	overflow:hidden;
}

#content #manufacturerLogos {
	background:transparent url(images/manufacturerLogoBg.png) repeat-x;
	clear:both;
	width:583px;
	margin:0 auto;
	overflow:hidden;
	-webkit-border-top-left-radius:7px;
	-webkit-border-top-right-radius:7px;
	-moz-border-radius:7px 7px 0 0;
	border-top-right-radius:7px 7px 0 0;
	border-top-left-radius:7px 7px 0 0;
}

#content #manufacturerLogos img {
	display:block;
	padding:1em 12px 1em 13px;
	border:none;
}
#manufacturerLogos img#luxaflex {
	float:left;
	margin-left:100px;
}

#manufacturerLogos img#crimsafe {
	float:right;
	border-left:20px solid #fff;
}

div.cta {
	background:#fff;
	border:1px solid #e9e0bf;
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.1);
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.1);
	-webkit-transition:all 250ms linear;
	-moz-transition:all 250ms linear;
	-o-transition:all 250ms linear;
	float:left;
	margin-bottom:1em;
}

div.cta:hover {
	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.25);
	-moz-box-shadow:0 0 10px rgba(0,0,0,0.25);
	border:1px solid #d8d0b1;
}

#cta1 {
	margin-left:10px;
}

#cta2, #cta3 {
	margin-left:20px;
}

div.cta h2 {
	margin:0;
	padding:0;
	text-align:center;
}

#content div.cta h2 a {
	color:#8b856e;
	text-decoration:none;
	border:none;
	display:block;
	padding:217px 7px 10px 7px;
	width:165px;
	-webkit-transition:color 250ms linear;
	-moz-transition:color 250ms linear;
	-o-transition:color 250ms linear;
	border-bottom:none;
}

#content div.cta h2 a:hover {
	color:#6e6957;
	border-bottom:none;
}

#cta1 h2 {
	background:transparent url(/wp-content/uploads/interiorBg.jpg) 50% 7px no-repeat;
}

#cta2 h2 {
	background:transparent url(/wp-content/uploads/exteriorBg.jpg) 50% 7px no-repeat;
}

#cta3 h2 {
	background:transparent url(/wp-content/uploads/securityBg.jpg) 50% 7px no-repeat;
}

