/* SDB website v.6 stylesheets

author: Steven Booth
website: http://www.stevenboothdesign.co.uk */

/*--------------------------- Reset styles -----------------------------*/

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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	vertical-align: baseline;
}

body {
	line-height: 1.8em;
	color: #ffffff;
}
ol, ul {
	list-style: none;
}


blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}




/*--------------------------- Page layout -----------------------------*/



#wrapper {
	clear: both;
	color: #ffffff;	
	min-height: 100%;
	margin-right:auto;
	margin-left:auto;
	position: relative;
	width:80%;
}

a {
	color: #ffda47;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}


html { 
	background: #b0741b url(images/sbd_bg_02.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/*------------------------------------- Header of web page (masthead) ----------------------------*/

#header {
	height: 60px;
	background: rgba(75,48,5,0.6);
	font-family: "bistro-script-web","freight-sans-pro",sans-serif;
	color: #ffffff;
	border-bottom: rgba(255,255,255,0.3) 1px solid;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
}
#header h1 {
	float: right;
	padding: 16px 40px 0 0;
	font-family: "freight-sans-pro",sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5em;
}
@media(max-width: 713px) {
  #header {
    height: 110px;
  }
}
@media(max-width: 400px) {
  #header {
    height: 140px;
  }
}
/*------------------------------------- main navigation ----------------------------*/

#globalnav {
	font-size: 200%;
	display: inline;
	}
	

#globalnav a {
	color: #ffffff;
	text-decoration: none;
	float: left;
	margin: 14px 20px 0 20px;
	-webkit-transition: color 0.25s ease-in; /*safari and chrome */
	-o-transition: color 0.25s ease-in; /* opera */
	}
	
#globalnav a:hover, #globalnav a:active, #globalnav a.selected {
	color: #f2da4c;
	}
	


/*------------------------------------- content tint panel ----------------------------*/

#contentPanel {
	background: rgba(33,20,6,0.7);
	border: rgba(255,255,255,0.3) 1px solid;
	padding: 20px;
	margin: 150px 0 50px 0;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}
	
/*------------------------------------- main page content ----------------------------*/
#maincontent p.intro {
	padding: 150px 0;
	font-family: "freight-sans-pro",sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 40px;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
	line-height: 1.8em;
}
#maincontent p.intro span {
	font-family: "freight-sans-pro",sans-serif;
	font-weight: 600;
}

#maincontent h1 {
	position: -100px;
}
#maincontent h2 {
	font-family: "freight-sans-pro",sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 340%;
	padding: 0 0 20px 0;
}
#maincontent h3 {
	font-family: "bistro-script-web","freight-sans-pro",sans-serif;
	font-size: 190%;
	padding: 20px 0 5px 0;
}
#maincontent p {
	font-family: "freight-sans-pro",sans-serif;
	font-style: normal;
	font-weight: 400;
	padding: 0 0 15px 0;
}
#maincontent a {
	font-weight: 600;
}
#maincontent dd {
	font-family: "freight-sans-pro",sans-serif;
	font-style: normal;
	font-weight: 400;
	background-image: url('images/bulletArrow.png');
	background-repeat: no-repeat;
	background-position: 0 .5em;
	background-size: 14px;
	padding: 0 0 0 16px;
}
#maincontent dt {
	font-family: "freight-sans-pro",sans-serif;
	font-style: normal;
	font-weight: 600;
	padding: 15px 0 0 0;
}
#maincontent dl {
	padding: 0 0 15px 0;
}

img.mugshot {
	border: 10px solid white;
	float: left;
	margin: 0 1.2em 0 0;
	height: 30%;
	width: 30%;
	max-height: 250px;
	max-width: 250px;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
}
img.mugshot:hover {
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
}
/*------------------------------------- testimonials ----------------------------*/

#testimonials {
	padding: 0 0 30px 0;
}
#testimonials blockquote q {
	font-family: "freight-sans-pro",sans-serif;
	font-style: italic;
	font-weight: 300;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
	font-size: 160%;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
	line-height: 1.8em;
}
#testimonials blockquote p {
	font-family: "freight-sans-pro",sans-serif;
	font-weight: 600;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
	width: 90%;
	margin-right:auto;
	margin-left:auto;
	position: relative;
}
#testimonials blockquote {
	padding: 20px 0 30px 0;
	border-bottom: rgba(255,255,255,0.3) 1px solid;
}
.quoter {
	float: right;
}
/*------------------------------------- Contact Form styling ----------------------------*/

label {
	font-family: "freight-sans-pro",sans-serif;
	font-style: italic;
	font-weight: 300;
}
input {
	padding: 3px 6px;
	margin: 0 0 15px 0;
	height: 30px;
	background-color: #fffac9;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	font-family: "freight-sans-pro",sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 120%;
	color: #5c3f0f;
}
textarea {
	padding: 3px 6px;
	margin: 0 0 15px 0;
	background-color: #fffac9;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	font-family: "freight-sans-pro",sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 120%;
	color: #5c3f0f;
	line-height: 1.6em;
}
#maincontent .formButton {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fad644), color-stop(1, #e3a62d) );
	background:-moz-linear-gradient( center top, #fad644 5%, #e3a62d 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fad644', endColorstr='#e3a62d');
	background-color:#fad644;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #fccb68;
	display:inline-block;
	color:#594015;
	font-family: "bistro-script-web","freight-sans-pro",sans-serif;
	font-style: normal;
	font-size: 160%;
	height: 40px;
	padding: 4px 20px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffe991;
}
#maincontent .formButton:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e3a62d), color-stop(1, #fad644) );
	background:-moz-linear-gradient( center top, #e3a62d 5%, #fad644 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e3a62d', endColorstr='#fad644');
	background-color:#e3a62d;
	cursor:pointer;
}
#maincontent .formButton:active {
	position:relative;
	top:1px;
}	
	
	
	
/*------------------------------------- footer of web page (footer) ----------------------------*/

#footerContainer {
	font-family: "freight-sans-pro",sans-serif;
	font-size: 80%;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
	color: #ffffff;
	clear: both;
	width: 100%;
	margin: 70px 0 0 0;
	height: 50px;
}
#footer a {
	font-weight: 600;
}
#footerContainerPortfolio {
	position: absolute;
	bottom: 10px;
	left: 20px;
	font-family: "freight-sans-pro",sans-serif;
	font-size: 80%;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
	color: #ffffff;
	clear: both;
	width: 100%;
}
