/*
Theme Name: Bruno Silvestre Architecture
Author: Somerton Computing
Author URI: http://www.somertoncomputing.co.uk
Description: The custom template used for the Bruno Silvestre website.
Version: 1.0
*/

@charset "utf-8";

/* IMPORTS */
@import url("css/normalize.css");
@import url("css/clearfix.css");

/* FONTS */
@font-face {
    font-family: 'eb_garamond12_regular';
    src: url('css/fonts/ebgaramond12-regular-webfont.eot');
    src: url('css/fonts/ebgaramond12-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/ebgaramond12-regular-webfont.woff2') format('woff2'),
         url('css/fonts/ebgaramond12-regular-webfont.woff') format('woff'),
         url('css/fonts/ebgaramond12-regular-webfont.ttf') format('truetype'),
         url('css/fonts/ebgaramond12-regular-webfont.svg#eb_garamond12_regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* STRUCTURE */
html, body {
    height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}
body {
	background-color: #fff;
}
.home body {
	background-color: #ddd;	
}

/* HEADER */
#page-header {
	margin: 15px auto 0 auto;
	max-width: 1140px;
}
#page-header img {
	margin: 0 0 70px 20px;
	position: fixed;
}

/* NAVIGATION */
#nav1 {
	width: 175px;
	position: fixed;
	margin: 115px 20px 0 20px;
	height: 100%;
}
#nav1 ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 100%;
}
#nav1 ul li {
	height: 30px;
	width: 175px;
}
#nav1 ul li:first-child {
}
#nav1 ul li:last-child {
	position: fixed;
	bottom: 0;
	height: 90px;
	width: 175px;
}
#nav1 ul li a {
	text-decoration: none;
	color: #000;
	line-height: 30px;
	font-family: 'eb_garamond12_regular', Times, "Times New Roman", serif;
}
#nav1 a:hover {
	text-decoration: underline;
}
#nav1 .active {
	color: #000;
}
.page .current-menu-item a, .blog .current-menu-item a  {
      color: #8E0713 !important;
}
.nav1 input[type="checkbox"] {
	display: none;
	visibility: hidden;
}
.home .whole-container {
	position: absolute;
	width: 100%;
	height: 100%;	
}
.home .skip {
	position: absolute;
	height: 100%;
	width: 100%;
}
.home body {
	overflow: hidden !important;	
}
.rsUni .rsArrowIcn {
	background: none !important;	
}
.rsUni .rsArrow {
	width: 50% !important;	
}

/* MAIN */
main {
	margin: 0 auto;
	max-width: 1140px;
}
#content-container {
	width: calc(100% - 235px);
	float: right;
	margin: 107px 20px 0 0;
}
.left-col {
	width: calc(50% - 40px);
    float: left;
}
.right-col {
	width: calc(50% - 40px);
    float: left;
    padding-left: 20px;
}
iframe {
	
}
.post-361, .post-364, .post-367, .post-370 {
   pointer-events: none !important;
   cursor: default;	
}

/*  ROYAL SLIDER */
.rsContent, .rsUni, .rsUni .rsOverflow, .rsUni .rsSlide, .rsUni .rsVideoFrameHolder, .rsUni .rsThumbs {
    background: #fff !important;
}
#project .rsUni .rsGCaption {
	width: 100%;
	text-align: center;
	left: auto;
	padding: 0;
	color: #000;
	top: 590px;
	background: none;
	font-family: 'eb_garamond12_regular', Times, "Times New Roman", serif;
	font-size: 90%;
}

/* FOOTER */


/* TEXT FORMATTING */

h1, h2, h3, p, li, label, button, input, textarea, label {
	font-family: 'eb_garamond12_regular', Times, "Times New Roman", serif;
	font-size: 100%;
	word-spacing: 0.25em;
	line-height: 125%;
	color: #000;
}
a,a:visited {
	color: #000;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1 {
	font-size: 105%;
	font-weight: lighter;
}
h2 {
	font-size: 105%;
	font-weight: lighter;
	margin-top: 50px;
}
h3 {
	font-weight: lighter;
}
p {
	font-size: 100%;
}


/* STANDARD PAGE */

#standard {
}

/* NEWS PAGE */

#news {
}
#news .news-article {
	width: 100%;
	margin: 0 0 40px 0;
	display: inline-block;
}
#news .news-article .column1 {
	float: left;
	width: 25%;
}
#news .news-article .column1 p {
	margin: 12px 0 0 0;
	padding: 0;
}
#news .news-article .column2 {
	float: left;
	width: 75%;
}
#news .news-article .column2 img {
	width: 50%;
	height: auto;
}

/* PHOTO MOSAIC */
.royalSlider > * {
	float: right !important;	
}
#mosaic {
	display: inline-block;
}
#mosaic .mosaic-article {
	width: calc((100% - 60px) / 4);
	margin: 0 20px 40px 0;
	padding: 0;
	display: inline-block;
	float: left;
}
#mosaic span.mosaic-article.last {
	margin: 0 0 40px 0;
}
#mosaic .mosaic-article img {
	width: 100%;
	height: auto;
}
#mosaic .mosaic-article-text {
	height: 65px;
	display: block;
}
#mosaic .mosaic-article h1 {
	width: 100%;
	margin: 20px 0 0 0;
}
#mosaic .mosaic-article h2 {
	font-size: 95%;
	margin: 0;
}

/* PROJECT PAGE */

#project {
	display: inline-block;
	font-size: 110%;
	width: 100%;
}
#project .project-information {
	max-width: 750px;
	height: 75px;
	display: block;
	margin: 20px auto 0 auto;	
}
#project .project-information .link {
	font-family: 'eb_garamond12_regular', Times, "Times New Roman", serif;
	width: 10%;
	float: left;
}
#project .project-information .caption {
	width: 80%;
	float: left;
}
#project .project-information .caption p {
	text-align: center;
	margin: 0;
}
#project .project-information .caption small {
	font-size: 90%;
}
#project .rsSlideCount {
	font-family: 'eb_garamond12_regular', Times, "Times New Roman", serif;
	text-align: left;
	width: auto;
	margin-right: 75px;
	color: #000;
	margin-top: 20px;
}
#hidden_content {
	display: none;
    position: relative;
	margin: 0 auto -595px auto;
    bottom: 595px;
    padding: 20px;
	height: 460px;
    opacity: 0.9;
    background-color: #fff;
	width: calc(100% - 40px);
    max-width: 710px;
	font-size: 90%;
	font-family: 'eb_garamond12_regular', Times, "Times New Roman", serif;
	line-height: 125%;
}
#hidden_content .align-bottom {
	bottom: 20px;
	display: block;
    position: absolute;
}
.home .rsImg {
	width: 100%;	
}
.home .rsVideoContainer {
    width: 100%;
    height: 100%;
    line-height: 0;
    position: relative;
}
.home .rsOverflow {
	height: 100%;
}
.home .royalSlider {
	height: 100%;	
}
.home .rsContainer {
	width: 100%;
	height: 100%;
}
.home #page-header {
	
}
.home .nav1 {
	display: none;
}
html.home  {
	margin-top: 0px !important;	
}
.home h1 a {
	color: #666 !important;
}
video#bgvid { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url('https://bs-architecture.co.uk/wp-content/uploads/2016/10/bruno-intro.jpg') no-repeat;
    background-size: cover; 
}
video#bgvid {
    transition: 1s opacity;
}
.stopfade { 
	opacity: .5; 
}
/* ABOUT */
.page-id-6 #standard img {
	width: 100%;
	height: auto;
}

@media (max-width:1000px) {
	#button {
		visibility: hidden;
	}
	#hidden_content {
		display: block;
		position: static;
		padding: 20px 0;
		width: 100%;
		max-width: none;
		height: auto;
		bottom: initial;	
	}
	#hidden_content .align-bottom {
		bottom: initial;	
		margin-right: 20px;
		padding-bottom: 20px;
	}
	#project .rsSlideCount {
		margin-right: 0;	
	}
	#project .project-information .caption {
		width: 100%;	
	}
	#project .project-information {
		height: 110px;	
	}
	#project .rsUni .rsGCaption {
		display: none;
	}
}

@media (max-width:800px) {

	#news .news-article .column1 {
		width: 100%;
	}
	#news .news-article .column1 p {
		margin-bottom: 0;
	}
	#news .news-article .column2 {
		width: 100%;
	}
	#mosaic .mosaic-article {
		width: calc((100% - 20px) / 2);
	}
	#mosaic span.mosaic-article.last {
		margin: 0 0px 40px 0;
	}
	#mosaic span.mosaic-article.media {
		margin: 0 0 40px 0;
	}
	#mosaic .mosaic-article-text {
		height: 80px;
	}
}

@media (max-width:800px){
	
	#content-container {
		width: calc(100% - 40px);
		margin: 55px 0 0 0;
		padding: 0 20px;
	}
	#page-header img {
		position: relative;
		margin-bottom: 0;
	}
	.left-col {
		width: calc(100% - 0px);	
	}
	.right-col {
		width: calc(100% - 0px);
		padding-left: 0;
	}
	
	/*  MOBILE MENU  */
	
	.nav1 {
		width: 0 ;
	}
	.nav1, .nav1 * {
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.nav1 input[type="checkbox"] {
		position: absolute;
		right: 0;
		top: 0;
		visibility: hidden;
	}
	.nav1 > label {
		z-index: 100;
		display: block;
		position: absolute;
		font-size: 10px;
		width: 31px;
		height: 31px;
		top: 20px !important;
		right: 20px;
		text-indent: -1000px;
		border: 0.3em solid #666;
		border-width: 0.3em 0;
		cursor: pointer;
		-moz-transition: all 0.3s ease-in;
		-webkit-transition: all 0.3s ease-in;
		transition: all 0.3s ease-in;
		margin-left: 20px;
		z-index: 10000;
	}
	.nav1 > label::before, .nav1 > label::after {
		content: "";
		display: block;
		position: absolute;
		width: 100%;
		height: 3px;
		top: 50%;
		margin-top: -2px;
		left: 0;
		background: #666;
		-moz-transform: rotate(0);
		-webkit-transform: rotate(0);
		transform: rotate(0);
		-moz-transition: all 0.3s ease-in;
		-webkit-transition: all 0.3s ease-in;
		transition: all 0.3s ease-in;
	}	
	#nav1 ul {
		display: block;
	}
	#nav1 ul li {
		height: auto;
		float: none;
		display: block;
		width: 100%;	
	}
	.nav1 #nav1 {
		margin: 0;
		padding: 0;
		position: fixed;
		width: 50%;
		font-size: 100%!important;
		height: 100%;
		left: -50%;
		top: 0;
		z-index: 10000;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		background: #fff;
		-moz-transition: all 0.3s ease-in;
		-webkit-transition: all 0.3s ease-in;
		transition: all 0.3s ease-in;
	}
	.nav1 ul {
		list-style: none;
		margin: 20px 0 0 0;
		padding: 0;
		display: block;
	}
	#nav1 ul {
		margin-top: 10px;
	}
	.nav1 ul li {
		display: block;
		margin: 0;
		width: 100%;
	}
	#nav1 ul li:first-child {
    	padding: 0;
	}
	#nav1 ul li:last-child {
    	padding: 0;
	}
	.nav1 ul li a {
		display: block;
		padding: 0 0 0 20px;
		text-align: left;
		font-size: 100%;
		float: none;
		color: #bbb;
		width: 100%;
		height: 50px;
	}
	#nav1 ul li a {
		line-height: 50px;
	}
	#nav1 ul li a.contact {
		position: relative;
		bottom: 0;
		height: auto;
		width: 100%;
	}
	.nav1 ul li a:hover {
		color: #fff;
		background: rgba(256, 256, 256, 0.5) 
	}
	.nav1 #nav1 label {
		cursor: pointer;
		position: absolute;
		text-transform: lowercase;
		right: 0;
		top: 0;
		-moz-border-radius: 0 0 0 40px;
		-webkit-border-radius: 0 0 0 40px;
		border-radius: 0 0 0 40px;
		width: 40px;
		height: 30px;
		background: none;
		text-align: center;
	}
	.nav1 .overlay {
		position: fixed;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
		opacity: .5;
		background: #fff;
		z-index: 1001;
		visibility: hidden;
	}
	.nav1 .overlay label {
		width: 100%;
		height: 100%;
		position: absolute;
	}
	.nav1 #nav1 label:hover::after {
		-moz-transform: rotatey(180deg);
		-ms-transform: rotatey(180deg);
		-webkit-transform: rotatey(180deg);
		transform: rotatey(180deg);
	}
	.nav1 input[type="checkbox"]:checked ~ label {
		border-color: transparent;
	}
	.nav1 input[type="checkbox"]:checked ~ label::before {
		transform: rotate(-45deg);
	}
	.nav1 input[type="checkbox"]:checked ~ label::after {
		transform: rotate(45deg);
	}
	.nav1 input[type="checkbox"]:checked ~ #nav1 {
		left: 0;
	}
	.nav1 input[type="checkbox"]:checked ~ div.overlay {
		visibility: visible;
	}
	<!--[if lte IE 8]>
	.nav1 > label{
		border: 6px solid black;
		background: #eee;
		height: 30px;
	}
	
	<script>
	 // ie 8 menu compatibility code:
	document.createElement("nav")
	window.onload = function(){
		var mobilemenunav = document.getElementById("mnav1")
		var mobilemaintoggler = document.getElementById("maintoggler")
		var mobilenavtoggler = document.getElementById("navtoggler")
		mobilemaintoggler.onclick = function(){
			mobilemenunav.style.left = 0
		}
		mobilenavtoggler.onclick = function(){
			mobilemenunav.style.left = '-100%'
		}
	}
	</script>
	<![endif]-->
	
	#mosaic .mosaic-article {
		width: calc((100% - 20px)/2);
	}
	#mosaic .mosaic-article:nth-child(2n) {
		margin: 0 0 40px 0;
	}
		
}

/* Microsoft Edge */
@supports (-ms-ime-align:auto) {
	#hidden_content {
		max-width: 711px;
	}
}
