/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   ACA Styles
   ========================================================================== */

body {
	background:#050505;
	color:#fff;
}

p,a,nav a,form input, ul.list li {
	font-family: 'Open Sans',helvetica, arial, sans-serif;
	font-size:12.5px;
	color:#fff;
}

p strong {
	font-size:14px !important;
}

.container {
	margin:0 auto;
	width:90%;
	max-width:1200px;
}

ul.list {
	padding-left:10px;
}

ul.list li {
	margin-bottom:10px;
}

/* HEADER STYLES */

a.logo {
	background:url('img/logo.png') no-repeat;
	min-height:91px;
	display:block;
	text-indent: -9999px;
	margin:30px 0;
}

form#search {
	margin:50px 0;
	width:100%;
}

form#search input {
	border:1px solid #fff;
	padding:6px 5%;
	background:none;
	color:#fff;
	width:58%;
	margin-right:2.5%;
	font-size:14px;
}

form#search button {
	background:#fff;
	color:#222;
	font-weight:800;
	padding:8px 4%;
	width:24.5%;
	border:none;
	font-size:14px;
}

/* NAVIGATION STYLES */

#nav {
	padding:0;
}

#nav a {
	text-decoration: none;
	color:#fff;
	display:block;
	margin-bottom:10px;
	text-transform: uppercase;
}

#nav li {
	padding:0;
	list-style:none;
}

#nav li.current_page_parent a, #nav li.current_page_item { font-weight:800; }
#nav li.current_page_parent ul li a { font-weight:300; }
#nav li.current_page_parent ul li.current-menu-item a, #nav li ul li.current-post-ancestor a { font-weight:800; }

body.single-post .container #main-content .col2 .menu-primary-container #nav li.menu-item-has-children a { font-weight:800; }
body.single-post .container #main-content .col2 .menu-primary-container #nav li.menu-item-has-children ul.sub-menu li a{ font-weight:300; }
body.single-post .container #main-content .col2 .menu-primary-container #nav li.menu-item-has-children ul.sub-menu li.current-post-parent a{ font-weight:800 !important; }

#nav li ul.sub-menu {display:none;}
#nav li.current_page_parent ul.sub-menu, #nav li.current_page_item ul.sub-menu {display:block !important; font-weight:300;}
body.single-post .container #main-content .col2 .menu-primary-container #nav li ul.sub-menu {display:block !important; font-weight:300;}

.sub-menu {
	padding-left:15px;
}

#soliloquy-container-615 {
	max-width:970px !important;	
}

.soliloquy-pager {
	bottom:-40px !important;
}

/* FOOTER */

footer#footer {
	margin:50px 0 20px;
	padding:20px 0;
	height:65px;
}

footer#footer .container div{
	position: relative;
	height:65px;
}

footer#footer p, footer#footer a {
	font-size:10px;
	color:#fff;
	text-decoration: none;
}

footer#footer img.riba {
	width:95px;
}

footer#footer p.passivelogo {
	text-align: right;
	clear:both; 
}

footer#footer p.passivelogo img {
	width:135px;
	float:right;
	display:block;
	margin-bottom:15px;
}

footer#footer p.copyright {
	text-align: right;
	position:absolute;
	bottom:0;
	right:0;
}

footer#footer p.passive-copyright {
	text-align: right;
	clear:both;
	padding-bottom:10px;
}

/* PROJECTS */

#cat_list {
	padding:0;
}

#cat_list li {
	list-style: none;
	padding:0;
	margin:0 0 5px;
}

#cat_list li a {
	color:#fff;
	text-transform: uppercase;
	text-decoration: none;
}

.gallery figure img {
	width:100%;
	height:auto !important;
}


.project-thumb {
	margin-bottom:3% !important;
	position: relative;
}


.project-thumb:hover .project-overlay {
	opacity: 1;
	z-index: 9999;
}

.project-thumb .project-overlay {
	position: absolute;
	opacity: 0;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.8);
	
	-webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.project-thumb .project-overlay h2 {
	position: absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	margin:auto;
	height:25px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
}

#map-canvas {
	width:100%;
	height:400px;
	display:block;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* MOBILE STYLES */
@media only screen and (min-width: 320px) {
	
	/* MAIN STYLES */
	
	.onerow .col1,.onerow .col2,.onerow .col3,.onerow .col4,.onerow .col5,.onerow .col6,.onerow .col7,.onerow .col8,.onerow .col9,.onerow .col10,.onerow .col11,.onerow .col12 {
		/* padding:15px 0;
		border-bottom:1px solid #333; */
	}
	
	#header .col5 {
		display:none;
	}
	
	form#search {
		margin:0 0 30px;
	}
	
	/* PROJECT STYLES */
	
	.gallery figure {
		float:left;
		width:48%;
		margin:0 1% 2%;
	}
	
}

/* TABLET STYLES */
@media only screen and (min-width: 760px) {
	
	.onerow .col1,.onerow .col2,.onerow .col3,.onerow .col4,.onerow .col5,.onerow .col6,.onerow .col7,.onerow .col8,.onerow .col9,.onerow .col10,.onerow .col11,.onerow .col12 {
		padding:0;
		border-bottom:none;
	}
	
	.page-id-23 header#header .col5, .page-id-23 footer#footer .col5 {padding:0 !important;border:none !important;}
	
	.page-id-23 .onerow .col10, .page-id-23 .onerow .col5 {
		/* border-bottom:1px solid #333; */
	}
	
	/* .page-id-23 .onerow .col10 { padding:15px 0; }
	.page-id-23 .onerow .col5 { padding:0 0 15px 0; } */
	
	form#search {
		width:113%;
		margin:50px 0;
	}
	
	#header .col5 {
		display:block;
	}
	
	/* PROJECT STYLES */
	
	.gallery figure {
		width:30.7%;
		margin:0 1.3% 2.6%;
	}

}

/* DESKTOP STYLES */
@media only screen and (min-width: 960px) {
	

	body.home .entry-content p {
		width:100% !important;
	}
	
	.projects .entry-content p {
		width:90% !important;
	}
	
	.entry-content p {
		width:80%;
	}
	
	
}




@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

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

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

    .ir a:after,
    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;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

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

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

/* GRID */


/* *********************************************************************************************************************
 * Main container for all
 */
.onepcssgrid-1000, .onepcssgrid-1200 {
	margin: 0 auto;
	padding: 0 0 0 1%; /* THAT'S THE NAME ;) */
}

.onepcssgrid-1200 {
	max-width: 1220px;
}

.onepcssgrid-1000 {
	max-width: 1020px;
}

.onerow {
	clear: both;
	padding: 0 10px;
}





/* *********************************************************************************************************************
 * Common columns definitions
 */
.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12 {
	float: left;
	margin: 0 3% 0 0;
}

.col1.last, .col2.last, .col3.last, .col4.last, .col5.last, .col6.last, .col7.last, .col8.last, .col9.last, .col10.last, .col11.last, .col12 {
	margin: 0;
}

.col1 { width: 5.5%; }
.col2 { width: 14%; }
.col3 { width: 22.5%; }
.col4 { width: 31%; }
.col5 { width: 39.5%; }
.col6 { width: 48%; }
.col7 { width: 56.5%; }
.col8 { width: 65%; }
.col9 { width: 73.5%; }
.col10 { width: 82%; }
.col11 { width: 90.5%; }
.col12 { width: 99%; margin: 0; }

.entry-content img, .col1 img, .col2 img, .col3 img, .col4 img, .col5 img, .col6 img, .col7 img, .col8 img, .col9 img, .col10 img, .col11 img, .col12 img {
	width: 100%;
	height: auto;
	display: block;
}





/* *********************************************************************************************************************
 * Disable padding left/right 10px if I'm 1024 or gibber - correct percentage math
 */
@media all and (min-width: 1024px) {
	.onepcssgrid-1000 {
		max-width: 1000px;
	}

	.onepcssgrid-1000 .onerow {
		padding: 0;
	}
}





/* *********************************************************************************************************************
 * Small devices
 */
@media all and (max-width: 768px) {
	.onerow {
	}

	.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11 {
		float: none;
		width: 99%;
	}
}



.vegas-loading{border-radius:10px;background:#000;background:rgba(0,0,0,.7);background:url(images/loading.gif) no-repeat center center;height:32px;left:20px;position:fixed;top:20px;width:32px;z-index:0}.vegas-overlay{background:transparent url(overlays/01.png);opacity:.5;z-index:-1}.vegas-background{-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality;max-width:none!important;z-index:-2;}.vegas-overlay,.vegas-background{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}

/* OPACITY FIX 

.vegas-background {
	zoom: 1;
	filter: alpha(opacity=15);
	opacity: 0.15;
}
*/

.home.page #footer
{
margin-top:25%;
}

