/* 

Theme Name: Mike Scruton Marine
Description: CMS
Date: July 2015
Author: Barber & Veri (Jenna Cooke)
Author URI: http://www.barberveri.com 

*/ 

/* Reset

------------------------------------------------------------ */

* { margin: 0; padding: 0; }
/*html { overflow-x: hidden;}*/
body { background:#ffffff; 
	color: #000;
 font-size: 12pt;
font-family: 'Roboto', sans-serif;}
ul { list-style: none; margin: 0;}
ul li { margin: 0; padding: 0;}
h1 { margin-bottom: 10px; color: #111111;}	
p { margin: 0 0 10px; line-height: 1.4em;}
img{ border:none;}
em{font-family: 'Roboto', sans-serif;
font-style: italic;}
strong{

}
ol {
	list-style-position: inside;
}
ol li {
	margin-bottom: 0.5em;
}
ol ol {
	list-style-type: lower-alpha;
	margin-left: 1em;
}
a{
color: #000;
}
hr {
	margin: 1em 0;
}

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


/* Structure */
html {
	background: #fff;
	color: #333;
	background-repeat: no-repeat;
	min-height: 100%;
}
body {
	width: 100%;
	height: 100%;
}
#wrapper {
	max-width: 1250px;
	margin: 100px auto 2em;
	height: 100%;
	overflow-x: hidden; 
}
h1,h2,h3,h4,h5,h6, strong, th {
	font-family: 'Roboto', sans-serif; 
	font-weight: 700;
}
a {
	color: #d5100a;
	text-decoration: none;
}
img {
	width: 100%;
}
.leftContent {
	width: 49%;
	margin-right: 5%;
	display: inline-block;
	vertical-align: top;
}
.rightContent {
	width: 45%;
	display: inline-block;
	vertical-align: top;
}
/* Header styles */
header {
	position: fixed;
	z-index: 9999;
	width: 100%;
	margin-top: 0;
	top: 0;
	background: url(header-bg.jpg) 50% 0% #000;
	background-repeat: repeat-x;
	/*background-size: 100%;*/
	color: #fff;
	height: 130px;
	-moz-box-shadow: 2px 0 8px #666;
	-webkit-box-shadow: 2px 0 8px #666;
	box-shadow: 2px 0 8px #666;
}
	header h1 {
		background: url(/assets/msm-logo.png) no-repeat 10px 10px;
		padding-top: 10px;
		height: 202px;
		text-indent: 9999px;
	  	white-space: nowrap;
	  	overflow: hidden;
	  	position: absolute;
	  	top: 0px;
	  	width: 184px;
	  	z-index: 99999999;
	}
	header nav {
		position: relative;

	}
	header .phoneNum {
		position: absolute;
		right: 10px;
		top: 30px;
		font-size: 1.7em;
	}
	header .phoneNum a {
		color: #fff;
	}
.flexslider {
	border: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.flexslider .slides li {
	position: relative;
}
.flexcaption {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    background:rgba(255, 255, 255,0.6);
    z-index:1;
    padding:10px;
    font-size: 1.2em;
 }
label {
	width: 100px;
	display: inline-block;
	margin-bottom: 1em;
	vertical-align: top;
}
#main, #contact {
	width: 95%;
	margin: 3em auto 2em;
	padding-top: 2em;
	min-height: 400px;
}
#main p, #main h2, #main h3 {
	/*text-align: justify;*/
	margin: 0 auto 0.7em;
}
#contact input, #contact textarea{
	padding: 2px;
	width: 70%;
	background: #eee;
	border: 1px solid #ccc;
	-webkit-border-radius: 0;
	  -moz-border-radius: 0;
	  border-radius: 0;
	  padding: 5px;
}
#contact input:focus, #contact textarea:focus {
	border: 1px solid #59C9EE;
	outline: none;
}
#contact input[type="submit"]{
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  color: #ffffff;
  background: #007cc4;
  text-decoration: none;
  border: none;
  padding: 10px;
  font-size: 16px;	
  cursor: pointer; 	
  width: 72%;
}
.center {
	text-align: center;
}
#main ul.bullet {
	list-style-type: disc;
	list-style-position: inside;
	margin-left: 2%;
	margin-bottom: 1em;
}
#main ul.bullet li {
	margin-bottom: 0.5em;
}
footer {
	padding: 10px;
	background: #666;
	background: rgba(102,102,102, 0.95);
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
}
footer p {
	font-family: 'Humanist-Light', sans-serif;
	color: #fff;
	display: inline-block;
	margin-bottom: 0;
	line-height: 1;
	vertical-align: top;
}
footer #siteby {
	text-align: right;
	display: inline-block; 
	float: right;
	font-family: 'Humanist-Light', sans-serif;
}
footer a {
	color: #fff;
}
#notfound {
	margin-top: 10em;
	padding-top: 2em;
	padding-bottom: 50px;
}
#notfound p {
	margin: 50px;
	text-align: center;
}
.iframeWrapper {
	max-width: 600px;
}
.iframeWrapper iframe {
	width: 100%;
}
.success {
	color: #109909;
}
.eighty {
	width: 70%; 
	margin: 1em auto;
}
.eighty section {
	background: url(assets/anchor.png) 10px 10px no-repeat;
	background-size: 50px 50px;
	padding-left: 100px;
	margin-bottom: 2.5em;
	min-height: 70px;
}
.eighty section h2 {
	font-size: 2.2em; 
	margin-bottom: 1em;
}
.eighty section h3 {
	font-size: 1.5em;
	margin-bottom: 1em;
}
.largefont {
	font-size: 1.2em;
}
#loginForm {
	padding-top: 2em;
}
/* #Media Queries ================================================== */


@media all and (min-width: 1535px) and (max-width: 1830px){
	/*#main, #contact {
		margin-top: 5.5em;
	}*/
}
@media all and (min-width: 1535px){
	header h1 {
		left: 10%;

	}
}
@media only screen and (min-width: 1000px) {
	header section p {
		font-size: 4em;
	}
	
}
@media all and (min-width: 800px) and (max-width: 1450px){
	#main, #contact {
		margin-top: 5em;
	}
}

@media only screen and (max-width: 800px) {
	#main {
		width: 90%;
		margin: 2em auto 1em;
	}
	header {
		/*height: 200px;*/
	}
	footer p, footer #siteby {
		display: block;
		text-align: left;
		float: none;
	}
	.leftContent, .rightContent {
		width: 100%;
		margin: 0 auto 1em;
	}
	header > section.topNav {
		margin-top: 0;
	}

	#wrapper {
		margin-top: 140px;
	}
	#main, #contact{
		padding-bottom: 2em;
	}
	.largefont {
		font-size: 1em;
	}
	
}
@media all and (min-width: 600px) and (max-width: 800px){
	header h1 {
		background-size: 100%;
		background-position: 0 0;
		width: 15%;
	}
}


@media only screen and (max-width: 600px) {
	header h1 {
		width: 150px;
		  background-size: 65%;
	}
	header {
		/*height: 160px;*/
	}
	header h1 {
		background-size: 100%;
		background-position: 0 0;
		width: 20%;
	}
}

@media only screen and (max-width: 479px) {
	header h1 {
		background-size: 100%;
		background-position: 0 0;
		width: 25%;
	}
	.leftSide {
		width: 100%;
		margin-right: 0;
		margin-bottom: 1em;
	}
	.rightSide {
		width: 100%;
	}
	footer p, footer #siteby {
		display: block;
		text-align: left;
		float: none;
	}
	#wrapper {
		margin-top: 165px;
		width: 100%;
	}
	header > section.topNav {
		/*text-align: center;*/
	}
	header .social{
		margin-right: 0;
		margin-bottom: 0.5em;
	}
	footer p{
		text-align: center;
		font-size: 0.8em;
		line-height: 1.4;
	}
	footer #siteby {
		text-align: center;
		float: none;
		display: block;
	}
	#wrapper {
		margin-top: 120px;
	}
	.eighty {
		width: 100%;
	}
}    