/*!
Theme Name: Brum Web Engineer 1.0
Theme URI: https://www.brumdesign.uk/themes
Author: Phillip Dews
Author URI: https://www.phillipdews.com
Description: This is a bespoke WordPress theme designed and developed from the ground up for Phillip Dews' 
BRUM DESIGN website using custom graphics and code.
Version: 1.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Copyright: © 2005 - 2015 Phillip Dews. All rights reserved
Tags: light, orange, right-sidebar, left-sidebar, responsive-layout, full-width-template, editor-style
*/

/* Body and Main Elements */
a, button {
	outline:none;
	border:none;
	text-decoration:none;
}
body {
	border:0;
	padding:0;
	background:url('assets/mainBg.png');
	background-repeat:repeat;
}
blockquote {
	margin:1.5em 10px;
	padding:0.5em 10px;
	quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
	color:#cacad9;
	content:open-quote;
	font-size:4em;
	line-height:0.1em;
	vertical-align:-0.4em
}
blockquote p {
	display:inline;
}
.clearfix {
	width:100%;
	clear:both;
}
.mainwrap {
	margin:0;
	padding:0;
	top:0;
	left:0;
	position:absolute;
	height:100%;
	width:100%;
}
#sidenav, #cp {
	background:url('assets/sideBr.png');
}
#sidenav {
	float:left;
	height:100%;
	width:80px;
	position:fixed;
	background-repeat:repeat;
	z-index:100;
}
.nav-icon {
	top:0;
	left:0;
	width:50px;
	height:25px;
	position:fixed;
	background:#000;
	background:rgba(0,0,0,.9);
	border-radius:5px;
	margin:15px 0 0 15px;
	padding:5px 6px 0 6px;
	box-shadow:0 1px 1px rgba(0,0,0,.4)inset, 0 1px 0 rgba(255,255,255,.2);
	cursor:pointer;
}
.nav-icon:hover div {background:#FFA144}
.nav-icon div {
	width:100%;
	height:3px;
	background:#999;
	margin:0 0 3px 0;
	box-shadow: #000 0 1px 1px;
	transition:.3s linear 0s;
	border-radius:4px;
}
.sml-logo {
	bottom:0;
	left:0;
	width:60px;
	height:60px;
	position:fixed;
	margin:0 0 20px 10px;
}
#cp{
	position: fixed;
	left: -340px;
	top: 0;
	width: 340px;
	height: 100%;
	transition: left 0.3s linear 0s;
	cursor: pointer;
	z-index:90
}
#cp-inner {
	width:230px;
	height:auto;
	float:left;
	margin: 10px 0 10px 90px;
	background:#121212;
	background:rgba(18,18,18,.9);
	box-shadow:2px 2px 1px 0 rgba(0,0,0,.9)inset, 1px 1px 1px 0 rgba(64,64,64,.8);
	border-radius:4px;
}
#social {
	position:absolute;
	bottom:0;
	float:left;
	width: 240px;
	height:43px;
	text-align:center;
	margin: 0 0 120px 90px;
}
.icons {
	background:url(assets/social.png);
	width:54px;
	height:43px;
	border:none;
	outline:none;
	cursor:pointer;
	margin: 0 2px 0 0;
	text:-9000px;
}
#fb_btn {background-position: 0 0;}
#fb_btn:hover {background-position:0 -43px}
#gp_btn {background-position: -54px 0;}
#gp_btn:hover {background-position: -54px -43px;}
#li_btn {background-position: -108px 0;}
#li_btn:hover {background-position: -108px -43px;}
#tw_btn {background-position: -162px 0;}
#tw_btn:hover {background-position: -162px -43px;}
#afflinks {
	position:absolute;
	bottom:0;
	float:left;
	width: 230px;
	height:60px;
	text-align:center;
	margin: 0 0 40px 90px;
}
#afflinks p {
	font-size:11px;
	font-weight:600;
	color:#ccc;
	line-height:12px;
	text-shadow: 1px 1px 0 rgba(0,0,0,.7)
}
#afflinks div {
	width:115px;
	height:22px;
	float:left;
}
#footey {
	position:absolute;
	bottom:0;
	float:left;
	width: 230px;
	height: 20px;
	text-align:center;
	margin: 0 0 20px 90px;
}
.side-footer {
	font-size:11px;
	font-weight:600;
	color:#ccc;
	margin:0 0 40px 0;
	text-shadow: 1px 1px 0 rgba(0,0,0,.7)
}
.nav-menu {
	width: 100%;
	height: auto;
	float: left;
}
.nav-link {
	width:100%;
	height:32px;
	line-height:32px;
	font-size:14px;
	color: #ccc;
	font-weight:600;
	cursor:pointer;
	display:block;
	float:left;
	padding: 0 0 0 20px;
	margin: 0 0 5px 0;
	transition:.3s linear 0s;
	border:none;
}
.nav-link:hover {
	text-decoration:none;
	color:#FFA144;
	padding: 0 0 0 40px;
	outline:none;
}
#home1 {
	width:100%;
	height:900px;
	display:block;
	background:url('assets/bg2.jpg');
	background-size:cover;
	background-repeat:no-repeat;
	margin-top:-20px;
}
#homebox {
	position:relative;
	min-height:200px;
	width:50%;
	top:100px;
	left:20%;
	border-radius:5px;
	padding: 0 15px 0 15px;
	color: #DBDBEA;
	text-shadow: 1px 1px 0 rgba(0,0,0,.6);
}
.button {
	width: 200px;
	height:40px;
	font-size:14px;
	line-height:14px;
	padding: 5px;
	color: #FFA144;
	text-align:center;
	background:#fff;
	border: 2px solid #FFA144;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	-o-border-radius:4px;
	border-radius:4px;
	transition:.3s linear 0s;
}
.button:hover {
	color:#FFF;
	background: #FFA144;
	text-decoration:none;
	border: 1px solid #FFA144
}
#portBtn, #testsBtn {
	width: 230px;
	height: 50px;
	font-size:25px;
	line-height:25px;
	color: #FFA144;
	font-weight:800;
	text-align:center;
	background:transparent;
	border: 2px solid #FFA144;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	-o-border-radius:8px;
	border-radius:8px;
	margin-right:5px;
	text-shadow: 1px 1px 0 rgba(0,0,0,.6);
	transition:.3s linear 0s;
}
#portBtn:hover, #testsBtn:hover {
	color:#FFF;
	background: #FFA144;
	border: 1px solid #FFA144
}
#topBtn {
	width:120px;
	height: 30px;
	font-size: 15px;
	line-height: 15px;
	text-align:center;
	font-weight:800;
	background:transparent;
	color: #FFA144;
	border: 2px solid #FFA144;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	margin: 10px 0 0 100px;
	transition:.3s linear 0s;
}
#topBtn:hover {
	color:#FFF;
	background: #FFA144;
	border: 2px solid #FFA144
}
#home2 {
	width:100%;
	height: auto;
	min-height:900px;
}
.container-port {
	float: left;
	width: 90%;
	margin: 10px 10px 10px 100px;
}
.port-title {
	text-align:center;
	font-size:40px;
	font-weight:700;
}
.grid {
	padding: 10px;
	max-width:1300px;
	margin: 0 auto;
	list-style:none;
	text-align: center;
	float:left;
}
.grid li {
	display: inline-block;
	width: 300px;
	margin:0;
	padding:20px;
	text-align:left;
	position:relative
}
.grid figure {
	margin: 0;
	position:relative;
}
.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
}
.grid figcaption {
	position:absolute;
	top:0;
	left:0;
	padding:20px;
	background:#2c3f52;
	color:#ed4e6e;
}
.grid figcaption h3 {
	margin:0;
	padding:0;
	color:#fff;
}
.grid figcaption span:before {
	content: 'by ';
}

.grid figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 2px;
	display: inline-block;
	background: #ed4e6e;
	color: #fff;
	font-weight:600;
}
.grid figcaption a:hover {
	text-decoration:none;
	color: #ccc;
}
.cs-style-3 figure {
	overflow: hidden;
}

.cs-style-3 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(-50px);
	-moz-transform: translateY(-50px);
	-ms-transform: translateY(-50px);
	transform: translateY(-50px);
}

.cs-style-3 figcaption {
	height: 100px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-3 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}
#home3 {
	width:100%;
	min-height:900px;
	background:url('assets/dark_dotted2.png');
	background-repeat:repeat
}
.testimonials-port {
	float: left;
	width: 92%;
	min-height:200px;
	margin: 10px 0 10px 100px;
}
.testsHeader {
	text-align:center;
	color:#ccc;
	font-weight:400;
}
.vid-test {
	margin: 10px 0 10px 10px;
	padding: 0 10px 0 0;
	height:249px;
	width: 77%;
	background: #fff;
	clear:both;
	float:left;
	color:#cacad9;
}
.vidinnertest {
	float:left;
	height:250px;
	width:444px;
	margin: 0 10px 0 0;
	padding:0
}
.testtitle {
	text-align:center;
	color:#ffA144;
	font-size:25px;
	margin: 10px 0 0 0;
	line-height:25px;
}
.vid-test > h3 {
	font-size:19px;
	margin:5px 0 0 0;
	color:#cacad9;
}
.quote-box {
	max-height: 150px;
	position:relative;
	overflow:hidden;
	max-width: 400px;
	float:left;
}
.quote-box .read-more {
	position:absolute;
	bottom:0;left:0;
	width:100%;
	text-align:center;
	margin:0; padding: 120px 0 10px 0;
	background-image:linear-gradient(to bottom, transparent, white);
}
.text-test {
	float:left;
	width: 260px;
	min-height: 350px;
	margin: 0 10px 10px 10px;
	background: #fff;
}
.headshot {
	width: 260px;
	height:auto;
}
.text-quote {
	width: 260px;
	position:relative;
	overflow:hidden;
}
.text-quote .rd-more {
	position:absolute;
	bottom:0;left:0;
	width:100%;
	text-align:center;
	margin: 0;
	padding: 200px 0 30px 0;
	background-image: linear-gradient(to bottom, transparent, white);
}
hr.style-eight { padding: 0; border: none; border-top: medium double #cacad9; color: #cacad9; text-align: center; } 
hr.style-eight:after { 
	content: "§"; 
	display: inline-block; 
	position: relative; 
	top: -0.7em; 
	font-size: 1.5em; 
	padding: 0 0.25em; 
	background: white;
	margin-top:5px !important;
	margin-bottom:5px !important;
}