/* _________________________________________________

320 and Up boilerplate extension

Author: Andy Clarke
Version: 0.9b
URL: http://stuffandnonsense.co.uk/projects/320andup/
_____________________________________________________

1.ROOT
2.HEADINGS
3.TYPOGRAPHY
4.LINKS
5.FIGURES & IMAGES
6.TABLES
7.FORMS (See css/mylibs/forms.css)
8.BANNER header[role="banner"]
9.NAVIGATION nav[role="navigation"]
10.CONTENT
11.MAIN div[role="main"]
12.COMPLIMENTARY div[role="complementary"]
13.CONTENTINFO footer[role="contentinfo"]
14.GLOBAL OBJECTS
15.VENDOR-SPECIFIC 
16.TEMPLATE SPECIFICS
17.MODERNIZR

COLOURS 

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin : 0;
padding : 0;
border : 0;
font-size : 100%;
font : inherit;
vertical-align : baseline; }

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display : block; }

abbr[title] { 
border-bottom : 1px dotted; 
cursor : help; }

/* 1.ROOT */

html {
overflow-y : scroll;
background : rgb(255,255,255) /* url(../img/tmp/grid.png) repeat-y 50% 0 */; }

body { 
margin : 0 auto;
padding : 24px 0;
width : 90% /* 252px */;
font : 100%/1.4 Cambria, Georgia, Times, "Times New Roman";
color : rgb(40,40,40); 
background-color : transparent; }

/* 2.HEADINGS */

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
font-family : "Helvetica Neue", Helvetica, Arial;
font-weight : bold; }

h1 { 
margin-bottom : .75em;
font-size : 3em; /* 48 / 16 = 3 */
line-height : 1.2; }

h2 { 
margin-bottom : .75em;
font-size : 2em; /* 36 / 16 = 2 */
line-height : 1.2; }

h3 { 
margin-bottom : 1em;
font-size : 1.5em; /* 24 / 16 = 1.5 */
line-height : 1.3; }

h4 { 
margin-bottom : 1.25em;
font-size : 1.25em; /* 20 / 16 = 1.25 */
line-height : 1.25; }

h5 { 
margin-bottom : 1.5em;
font-size : 1em; /* 16 / 16 = 1 */ }

h6 { 
font-size : 1em; /* 16 / 16 = 1 */ }

/* 3.TYPOGRAPHY */

p, 
ol, 
ul, 
dl, 
address { 
margin-bottom : 1.5em; 
font-size : 1em; /* 16 / 16 = 1 */ }

ul, 
ol { 
margin : 0 0 1.5em -24px; 
padding-left : 24px; }

ul { 
list-style-type : disc; }

ol { 
list-style-type : decimal; }

li ul, 
li ol { 
margin : 0;
font-size : 1em; /* 16 / 16 = 1 */ }

dl, 
dd { 
margin-bottom : 1.5em; }

dt { 
font-weight : normal; }

blockquote  { 
margin : 0 0 1.5em -24px; 
padding-left : 24px; 
border-left : 1px solid rgb(200,200,200);
font-style : italic; }

blockquote:before, 
blockquote:after, 
q:before, 
q:after {
content : '';
content : none; }

b, 
strong	{ 
font-weight : bold; }

i, 
em { 
font-style : italic; }

sup, 
sub { 
position : relative;
font-size : 75%; 
line-height : 0; }

sup { 
top : -.5em; }

sub { 
bottom : -.25em; }

address { 
font-style : normal; }

pre { 
margin-bottom : 1.5em; 
white-space : pre; 
white-space : pre-wrap; 
word-wrap : break-word; }

pre, 
code { 
font : .875em 'andale mono', 'lucida console', monospace; 
line-height : 1.5; }

small {
font-size : 1em; /* 16 / 16 = 1 */ }

/* 4.LINKS */

a, 
a:visited {
outline : none;
color : rgb(23,119,175);
text-decoration : none; }
 
a:hover { 
outline : none;
color : rgb(40,40,40); 
text-decoration : underline; }
 
a:active, 
a:focus { 
outline : none;
color : rgb(0,0,0); }

/* 5.FIGURES & IMAGES */

figure {
margin-bottom : 1.5em; }

figure img,
figure object,
figure embed {
margin-bottom : .75em;
max-width : 100%; }

figcaption {
display : block;
font-weight : normal; }

/* 6.TABLES */

table { 
border-collapse : collapse;
border-spacing : 0;
margin-bottom : 1.4em; 
width : 100%;
font-size : .875em; /* 14 / 16 = .875 */ }

th { 
font-weight : bold; }

th, td, caption { 
padding : .25em 10px .25em 5px; }

tfoot { 
font-style : italic; }

caption { 
background-color : transparent; }

/* 7.FORMS (See css/mylibs/forms.css) */

/* 8.BANNER */
/* 9.NAVIGATION */
/* 10.CONTENT */
/* 11.MAIN */
/* 12.COMPLIMENTARY */
/* 13.CONTENTINFO */

/* 14.GLOBAL OBJECTS */

.clearfix { 
zoom : 1; }

.clearfix:before, 
.clearfix:after { 
content : "\0020"; 
display : block; 
height : 0; 
overflow : hidden; }

.clearfix:after { 
clear : both; }

/* 15.VENDOR-SPECIFIC */

body {
-webkit-text-size-adjust : 100%; 
-ms-text-size-adjust : 100%; }

a:link { 
-webkit-tap-highlight-color : rgb(52,158,219); }

::-webkit-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::-moz-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

/* input[type=search] {
-webkit-appearance : none; }

input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
display : none; } */

::-webkit-input-placeholder {
padding : 10px;
font-size : .875em; 
line-height : 1.4; }

input:-moz-placeholder { 
padding : 10px;
font-size : .875em; 
line-height : 1.4; }

.ie7 img,
.iem7 img { 
-ms-interpolation-mode : bicubic; }

div,
input,
textarea  { 
-webkit-box-sizing : border-box;
-moz-box-sizing : border-box;
-o-box-sizing : border-box;
box-sizing : border-box; }

/* Non-semantic helper classes */

/* Image replacement */
.ir { 
display : block; 
text-indent : -999em; 
overflow : hidden; 
background-repeat : no-repeat; 
text-align : left; 
direction : ltr; }

/* Hide for screenreaders and visual browsers */
.hidden { 
display : none; 
visibility : hidden; }

/* Hide visually */
.visuallyhidden { 
position : absolute;
clip : rect(0 0 0 0); 
overflow : hidden;
margin: -1px;
padding : 0;
height : 1px;      
width : 1px;
border : 0; }

/* Allow an element to be focusable via keyboard  */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { 
position : static;
clip : auto; 
overflow : visible;
height : auto; 
margin : 0;   
width : auto; }

/* Hide but maintain layout */
.invisible { 
visibility : hidden; }

/* 16.TEMPLATE SPECIFICS */

#goog-fixurl ul  {
list-style-type : none; }

#goog-fixurl input  {
margin-bottom : 1.5em; }

/* 17.MODERNIZR */

li {
	list-style: none;
	line-height:0;
}

#main {
	position: relative; 
}

#main ul {
	margin:0;
	padding:0;
}

#canvasContainer {
	/*position: absolute;
	top:0;
	left:0;
	z-index:5;*/
}

body {
	width:100%;
	margin:0;
	padding:0;
}

.ss-canvas {
	position:absolute;
	top:0;
	left:0;
	z-index:10;
}

#preRendersContainer {
	display:none;
}

header {
	position:fixed;
	top:0;
	left:0;
	z-index:20;
	width:100%;
}

#header_content {
	position: absolute;
	width:100%;
	z-index:19;
}

.info {
	font-size:0.7em;
	color:#FFF;
	line-height:1.8em;
}

footer {
	position:fixed;
	z-index:30;
	bottom:0;
	right:0;
	font-size:0.65em;
	padding-left:1.2em;
	padding-right:1.2em;
	padding-top:0.7em;
	padding-bottom:0.7em;
	background:url("../img/header_bg.png") top left;
}

.webinfo {
	line-height:1.5em;
	color:#ffd4e4;
}

body {
	font-family: 'Helvetica Neue', Arial, sans serif;
}

.header_sep {
	height:1px;
	background-color:#FFFFFF;
}

#slider .first {
	z-index:5;
}

.bgCover {
	width:100%;
	height:100%;
	position: absolute;
	left:0;
	top:0;
	z-index:4;
}

.bgCoverOver {
	background-color:#FFF;
}

#header_bg {
	position: relative;
}

#header_bg img {
	position:absolute;
	top:0;
	right:0;
}

a, a:link, a:visited {
	color:#FFF;
	text-decoration: none;
}

a:hover, a:focus {
	text-decoration: none;
}

header a, header a:link, header a:visited, .footerlove a, .footerlove a:link, .footerlove a:visited {
	-webkit-transition: all 0.2s ease-in-out; 
	-moz-transition: all 0.2s ease-in-out; 
	-o-transition: all 0.2s ease-in-out; 
	transition: all 0.2s ease-in-out;
	background:url("../img/link_arrow.jpg") -10px 4px no-repeat;
}

header a:hover, header a:focus, .footerlove a:hover, .footerlove a:focus {
	padding-left:8px;
	background:url("../img/link_arrow.jpg") 0px 4px no-repeat;
}

.footerlove a:hover, .footerlove a:focus {
	background:url("../img/link_arrow.jpg") 0px 3px no-repeat;	
}

.fbarea {
	margin-top:0.8em;
	/*margin-bottom:-1.5em;*/
}

.emailsmall {
	display:none;
}

.footersep {
	color:#FFF;
	display:inline;
	position: relative;
	margin-left:0.5em;
	margin-right:0.5em;
	color:#ffd4e4;
}

#ssControls {
	display:none;
}

.ssBut {
	display:block;
	text-indent: -9999px;
	float:left;
}

#ssPrev {
	width:14px;
	height:7px;
	background:url("../img/sscontrols.jpg") 0px 0px no-repeat;
	position:relative;
	top:0.4em;
	margin-right:0.8em;
}

#ssCur {
	width:9px;
	height:9px;
	background:url("../img/sscontrols.jpg") 0px -25px no-repeat;
	position:relative;
	top:0.3em;
	margin-right:0.8em;
}

.ssPlay {
	background:url("../img/sscontrols.jpg") 0px -16px no-repeat !important;
}

#ssNext {
	width:14px;
	height:7px;
	background:url("../img/sscontrols.jpg") 0px -8px no-repeat;
	position:relative;
	top:0.4em;
	margin-right:0.4em;
}

.loader {
	width:150px;
	height:76px;
	padding-top:12px;
	left:50%;
	margin-left:-75px;
	text-align:center;
	position:absolute;
	top:0;
	left:50%;
	z-index:50;
	background:url("../img/loaderbg.png") no-repeat;
	color:#FFF;
	font-size:0.7em;
	display:none;
}

::-moz-selection {
    background:#FFF;
    color:#ef2064;
}

::selection {
	background:#FFF;
    color:#ef2064;
}

/*If haz js*/

html.js {
	overflow-x:hidden;
	overflow-y:hidden;
}

.js li {
	position:absolute;
	top:0;
	left:0;
}

.js header, .js footer {
	position:absolute;
}

/* MEDIA QUERIES */

/*Print __________________________________________________________________________________________________________ */
@media print {
* { 
background : transparent !important; 
color : black !important; 
text-shadow : none !important; 
filter : none !important;
-ms-filter : none !important; } 

a, a:visited { 
color : #444 !important; 
text-decoration : underline; }

a[href]:after { 
content : " (" attr(href) ")"; }

abbr[title]:after { 
content : " (" attr(title) ")"; }

a[href^="javascript:"]:after, 
a[href^="#"]:after { 
content : ""; }
  
pre, blockquote { 
border : 1px solid #999; 
page-break-inside : avoid; }

thead { 
display : table-header-group; }

tr, img { 
page-break-inside : avoid; }

@page { 
margin : .5cm; }

p, h2, h3 { 
orphans : 3; 
widows : 3; }

h2, h3 { 
page-break-after : avoid; }
}/*/mediaquery*/

/*480px __________________________________________________________________________________________________________ */
@media only screen and (max-width: 1023px) {

#header_bg {
	width:240px;
	height:240px;
}

#logo {
	position:relative;
	width:240px;
}

#logo img {
	width:135px;
}

#header_content {
	padding-left:10px;
	padding-top:10px;
}

.info {
	margin-top:10px;
	width:100px;
}

.header_sep {
	width:15px;
	margin-top:10px;
	margin-bottom:10px;
}

.header_sep2, .webinfo, .fbarea, .emailbig {
	display:none;
}

.emailsmall {
	display:block;
}

footer a {
	font-size:0.6em !important;
}

.loader {
	display:none !important;
}

}/*/mediaquery*/

/*1024px __________________________________________________________________________________________________________ */
@media only screen and (min-width: 1024px) {

#header_bg {
	width:450px;
	height:450px;
	overflow:hidden;
}

#logo {
	position:relative;
	width:450px;
}

#logo img {
	width:240px;
}

#header_content {
	padding-left:25px;
	padding-top:25px;
}

.info {
	margin-top:10px;
	width:100px;
}

.header_sep {
	width:15px;
	margin-top:17px;
	margin-bottom:17px;
}

.ajax-loader {
	width:16px;
	height:16px;
	background:url("http://buensalidoarchitects.com/wp-content/plugins/workingdirectory/img/ajax-loader.gif");
	margin:0 auto;
	margin-top:5px;
}

}/*/mediaquery*/

/*1440px __________________________________________________________________________________________________________ */
/*@media only screen and (min-width: 1441px) {

#header_bg {
	width:450px;
	height:450px;
	overflow:hidden;
}

#logo {
	position:relative;
	width:450px;
}

#logo img {
	width:285px;
}

#header_content {
	padding-left:10px;
	padding-top:10px;
}

.info {
	margin-top:10px%;
	width:100px;
}

.header_sep {
	width:15px;
	margin-top:10px;
	margin-bottom:10px;
}

}*//*/mediaquery*/