/*
Theme Name: Brian McDonald 2016
Theme URI: http://www.iambrian.net
Author: Brian McDonald
Author URI: http://www.iambrian.net
Description: Brian McDonald Personal Theme

Version: 1.0

*/

/* =Reset
-------------------------------------------------------------- */
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, 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 {
	border: 0;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}

/* =Global
----------------------------------------------- */
body,
button,
input,
select,
textarea {
	color: #404040;
	line-height: 1.5;
	max-width: 100%;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {

	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	font-family:'sansmed';
	letter-spacing:.06em;
	font-size:20px;
	font-weight:100;
	line-height:1.4em;
	box-sizing:border-box;
	margin:0px auto;
	width:60%;
	background:#f7f7f7;
	padding: 20px 0;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-family: 'sansmed';
	text-transform:uppercase;
	border: 2px solid #182632;
	border-radius: 3px;
	background: #fff;
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 1rem;
	line-height: 1;
	padding: .6em 1em .4em;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background:#0e3542;
	border-color: #182632;
	color:#fff;
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #fff;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	-webkit-appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.thumb {
	border-radius: 100px;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}


/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  

/* =Typography 
----------------------------------------------- */
@font-face {
    font-family: 'slablight';
    src: url('assets/brianstorm_slab_regular-webfont.eot');
    src: url('assets/brianstorm_slab_regular-webfont.eot?#iefix') format('embedded-opentype'), url('assets/brianstorm_slab_regular-webfont.woff2') format('woff2'), url('assets/brianstorm_slab_regular-webfont.woff') format('woff'), url('assets/brianstorm_slab_regular-webfont.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
	-webkit-font-smoothing: antialiased;

}
@font-face {
    font-family: 'sansmed';
    src: url('assets/brianstorm_sans_medium-webfont.eot');
    src: url('assets/brianstorm_sans_medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('assets/brianstorm_sans_medium-webfont.woff2') format('woff2'),
         url('assets/brianstorm_sans_medium-webfont.woff') format('woff'),
         url('assets/brianstorm_sans_medium-webfont.ttf') format('truetype'),
         url('assets/brianstorm_sans_medium-webfont.svg#brianstorm_sansmedium') format('svg');
    font-weight: normal;
    font-style: normal;
	-webkit-font-smoothing: antialiased;

}
@font-face {
    font-family: 'sanslight';
    src: url('assets/brianstorm_sans_narrow-webfont.eot');
    src: url('assets/brianstorm_sans_narrow-webfont.eot?#iefix') format('embedded-opentype'), url('assets/brianstorm_sans_narrow-webfont.woff2') format('woff2'), url('assets/brianstorm_sans_narrow-webfont.woff') format('woff'), url('assets/brianstorm_sans_narrow-webfont.ttf') format('truetype');
    font-style: normal;
	-webkit-font-smoothing: antialiased;

}

body {
	font-family: 'slablight', slab-serif, serif;
	font-size:18px;
	letter-spacing: .03em;
	line-height:24px;

}
strong {
	font-family: 'sansmed', sans-serif;
	font-weight:bold;
}
em {
	font-family: 'slablight';
	font-weight:500;
    -ms-transform:skew(0deg,9deg);
    -webkit-transform:skew(0deg,9deg);
    -webkit-font-smoothing: antialiased;
	transform:skew(0deg,9deg);
}

/* =Links 
----------------------------------------------- */
a, a:link, a:visited { 
	color: #d6492a;	
	-webkit-transition: color .6s ease; 
	-moz-transition: color .6s ease; 
	-o-transition: color .6s ease; 
	transition: color .6s ease;
	text-decoration: none;
}
a:hover {
	color: #005568;
		-webkit-transition: background .2s ease; 
	-moz-transition: background .2s ease; 
	-o-transition: background .2s ease; 
	transition: background .2s ease;
	text-decoration: none;
}
p a:link {
	text-decoration:underline;
}


/* =Layout 
----------------------------------------------- */
body {
	background: #fefefe;
}
#indexpage {
background:url(assets/bmpattern.png);
}
body.mainbtag {
	background:url(assets/bmpattern.png);
}
.wrapper {
	width:80%;
	margin:0px auto;
}
.header {
	position:relative;
	margin-top:20px;
	float:left;
	height:80px;
	width:100%;
	box-shadow:1px 1px 4px 0 rgba(14, 53, 66, 0.6);
	background:#182632 url(assets/bmpattern.png);
	background-repeat: repeat; background-position: center; -webkit-animation: slide 10s linear infinite;
	overflow:visible;
}
.headerm {
	position:relative;
	margin-top:20px;
	float:left;
	height:80px;
	width:100%;
}
@keyframes slide {
from { background-position: 0 0; }
	to { background-position: 123px 0; }
  }
#logo {
	float:left;
	width:323px;
	height:80px;
	padding-left:1em;
}
#logo a{
	display:block;
	height:80px;
	}
#logo img {
	box-sizing:border-box;
	-webkit-filter:drop-shadow(2px 2px 6px rgba(0,0,0,1));
}
#content {
	display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: space-between;
	width: 100%;
	height:100%;
	margin:20px 0 0 0;
}
.mafoot {
	float:left;
	background:url(assets/bmpattern2.png);
	width:100%;
	height:200px;
}
.fimg {
	background-color:#7A7A7A;
	background:url(assets/bmpattern2.png);
	float:left;
	width:100%;
	max-height:400px;
	border-bottom: solid 1px #e2e4d9;
	overflow:hidden;
}
.fimg img {
	display:block;
	width:100%;
	box-shadow:1px 1px 4px 0 rgba(14, 53, 66, 0.07);
	    -webkit-transition: all 1s ease; /* Safari and Chrome */
  	-moz-transition: all 1s ease; /* Firefox */
  	-o-transition: all 1s ease; /* IE 9 */
  	-ms-transition: all 1s ease; /* Opera */
  	transition: all 1s ease;
}
.ptain .fimg:hover img {
    -webkit-transform:scale(1.05); /* Safari and Chrome */
    -moz-transform:scale(1.05); /* Firefox */
    -ms-transform:scale(1.05); /* IE 9 */
    -o-transform:scale(1.05); /* Opera */
     transform:scale(1.05);
}
.ptain {
	background:#fff;
	width: 23%;
	height:auto;
	margin: 1%;  /*2% right +2% left = 4% margin*/
	padding:10px;
	box-sizing:border-box;
	box-shadow:1px 1px 4px 0 rgba(14, 53, 66, 0.15);
	overflow:hidden;
}
.ptain .post h1{
	font-size:30px;
	margin-bottom:5px;
	line-height:30px;
}
.ptain .post {
    border-bottom: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.ptain .post p {
    width: 80%;
    text-align: center;
    margin: 20px auto;
    line-height: 1.4em;
    font-size: 16px;
}
.post {
	width:100%;
	float:left;
	overflow:hidden;
	margin-top:20px;
	border-bottom:4px solid #eef0e9;
	padding-bottom:20px;
	margin-bottom:20px;
}

.post img {
	-moz-box-sizing: border-box; /* Firefox */
    -webkit-box-sizing: border-box; /* Older Webkit browsers */
	box-sizing: border-box; /* add this */
    border: 10px solid #fff;
	box-shadow:1px 1px 4px 0 rgba(14, 53, 66, 0.1);
	margin:10px auto;
	overflow:hidden;
	-webkit-transition: all 1s ease; /* Safari and Chrome */
  	-moz-transition: all 1s ease; /* Firefox */
  	-o-transition: all 1s ease; /* IE 9 */
  	-ms-transition: all 1s ease; /* Opera */
  	transition: all 1s ease;

	}
	.post a img:hover {
	    -webkit-transform:scale(1.01); /* Safari and Chrome */
    -moz-transform:scale(1.01); /* Firefox */
    -ms-transform:scale(1.01); /* IE 9 */
    -o-transform:scale(1.01); /* Opera */
     transform:scale(1.01);	
	 box-shadow:2px 2px 8px 0 rgba(14, 53, 66, 0.1);
}
.post p {
	display:block;
	line-height: 1.4em;
	width:60%;
	margin:40px auto;
}
.post p a:link {
	color:#924245;
}
.post p a:visited {
	color:#924245;
}
.post p a:hover {
	color:#09586e;
}
p.tags
 {
	font-family: 'sanslight';
	color:#c3c8b0;
	text-transform:uppercase;
	font-size:18px;
	font-weight:500;
	letter-spacing:1px;
	text-align:center;
}
p.tags a:link {
	color:#c3c8b0;
	text-decoration:none;
}
p.tags a:visited {
	color:#c3c8b0;
}
p.tags a:hover {
	color:#693234;
}

p.ptags {
	width:100% !important;
	font-family: 'sanslight';
	color:#b4b8a4;
	text-transform:uppercase;
	font-size:14px;
	font-weight:500;
	letter-spacing:.15em;
	text-align:center;
	margin:5px auto;
}
p.ptags a:link {
	color:#b4b8a4;
	text-decoration:none;
}
p.ptags a:visited {
	color:#b4b8a4;
	text-decoration:none;
}
p.ptags a:hover {
	color:#693234;
	text-decoration:none;
}

.load {
	height:1200px;
}
.load .post {
	border:none;
}
/* =Footer
----------------------------------------------- */
.footer a:link {
	color: #fff;
	text-decoration:none;
}
.footer a:visited {
	color: #fff;
}
.footer a:hover {
	color: #ddd;
}
.footer {
	box-sizing:border-box;
	text-align: center;
	float:left;
	height:200px;
	width:100%;
	background:	url(assets/bmpattern3.png);
	box-shadow:1px 1px 1px rgba(14, 53, 66, 0.1);
	margin:0px auto;
	padding:60px 20px 20px 20px;
}
.footer p {
	display:block;
	box-sizing:border-box;
	margin:0px auto;
	font-family:'sansmed';
	font-size:11px;
	letter-spacing:.1em;
	text-transform:uppercase;
	color:#fff;
}
.footer .stamp {float:right;
}
.footer img {

}
/* =Headers
----------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-family:'sansmed';
	font-weight:100;
	font-size: 36px;
	letter-spacing:.08em;
}
.post h1 a:link, a:visited {
	color:#924245;
}
.post h1 a:hover {
	color:#09586e;
}
.post h3 {
	color:#aaa;
	font-family:'sansmed';
	font-size: 18px;
	line-height:30px;
	text-transform:uppercase;
	text-align:center;
	margin-bottom:20px;
	
}
.post h1 {
	width:100%;
	font-family:'sansmed';
	text-align:center;
	font-weight:100;
	line-height:40px;
	font-size: 40px;
	color:#0e3542;
	text-transform:uppercase;
	margin-bottom:20px;
	display:block;
}

.post h1 span {
  display: inline-block;
  position: relative;  
  height:100%;
  padding:0 20px 0 20px;
}
.post h1 span:before,
.post h1 span:after {
  content: "";
  position: absolute;
  border-top: 4px solid #eef0e9;
  top: 50%;
  width: 200%;
}
.post h1 span:before {
  right: 100%;
}
.post h1 span:after {
  left: 100%;
}

.post h2 {
	width:100%;
	font-family:'sanslight';
	font-size:36px;
	font-weight:100;
	line-height:50px;
	color:#005568;
	text-align:center;
	
}
.indexintro {
	padding:0px 0px 150px 0px;
}
.indexintro p {
	font-size:24px;
	line-height:1.3em;
	width:50%;
	padding:0;
	margin:0 auto;
}
.indexintro h4 {
	font-family:'sansmed';
	font-size:60px;
	line-height:70px;
}
.indexintro h5 {
	font-family:'slablight';
	letter-spacing:-1px;
	font-size:60px;
	line-height:71px;
	padding-bottom:30px;
}
.indexintro span{
	font-family:'sansmed';
	letter-spacing: .01em;
	font-size:24px;
	line-height:1.3em;
}
.indexintro p.caption {
	width:40%;
}
.indexintro p.caption span {
	padding:0;
}
/* =Menu
----------------------------------------------- */
.nav {
	text-transform:uppercase;
	vertical-align:middle;
	float:right;
	font-family: 'sanslight';
	font-size: 20px;
	letter-spacing:.12em;
	color:#fff;
	margin:0px auto;
}
.mainnav .nav a:link {
	border-radius:20px;
	display:inline-block;
	box-sizing:border-box;
	color:#fff;
	padding-left:20px;
	padding-right:20px;
}
.nav ul {
	float:right;
	height:80px;
	width:100%;
	margin:0px auto;
}
.nav li { 
	box-sizing:border-box;
	line-height:80px;
	display:inline-block;
}
.nav a:link {
	display:inline-block;
	box-sizing:border-box;
	color:#fff;
	padding-left:20px;
	padding-right:20px;
}
.nav a:visited {
	color:#fff;
	padding-left:20px;
	padding-right:20px;
}
.nav a:hover {
	color:#693234;
	background:#f7f7f7;
	text-decoration:none;
}

/* =Content
----------------------------------------------- */


/* =Media
----------------------------------------------- */
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	display:block;
	width:60%;
	min-height:50px;
	float:left;
    -moz-box-sizing: border-box; /* Firefox */
    -webkit-box-sizing: border-box; /* Older Webkit browsers */
	box-sizing: border-box; /* add this */
    border: 10px solid #fff;
	box-shadow:1px 1px 4px 0 rgba(14, 53, 66, 0.1);
	background:#fff;
}
p.caption {
	-moz-box-sizing: border-box; /* Firefox */
    -webkit-box-sizing: border-box; /* Older Webkit browsers */
	box-sizing: border-box; /* add this */
    border: 10px solid #fff;
	box-shadow:1px 1px 4px 0 rgba(14, 53, 66, 0.1);
	background:#fff;
	font-family:'sansmed';
}
p.caption img {
	width:100%;
    border:hidden;
	box-shadow:none;
	margin-bottom:10px;
}
p.caption span {
	display:block;
	width:100%;
	box-sizing:border-box;
	padding:10px;
	margin:0px auto;
	height:100%;
	text-align:center;
	font-size: 14px;
	letter-spacing:.04em;
}

.description {
	float:left;
}

.wp-caption-text {
	display:block;
	float:left;
	font-family:'RobotoLight';
	color:#aaa;
	font-size: 13px;
	font-size: 1.3rem;
	line-height: 1.6em;
}
p.wp-caption-text  {
	text-align:right;
	width:100%;
}
.vidcontainer {
	width:60%;
	margin:20px auto;
}
.vidresponse {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.vidresponse iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
.gallery-columns-4 .gallery-item {
}
.gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Comments
----------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/* Comments
----------------------------------------------- */
h2.comments-title {	
	margin: 1em 0;
}
h2.comments-title,
h3#reply-title {
	font-size: 18px;
	font-size: 1.8rem;
}
#comments {
	clear:left;
	width:80%;
	margin:0px auto;
}
.bypostauthor {
}
#comments footer {
	float: left;
	width: 24.4444444%; /* 220 / 900 */
}
#comments footer p {
	margin: 0;
	padding: 0.25em 0;
}
.comment-content {
	float: right;
	width: 66.666667%; /* 600 / 900 */
}
.reply {
	clear: left;
}
.avatar {
	border-radius: 100px;
	margin: 0 auto 0 auto;
}
.comment-meta a {
	color: #404040;
}		
.comment-list {
	padding: 1em 0;
}
ol.comment-list, ol.comment-list li {
	list-style: none;
	margin: 0; 
	padding: 0;
}
ol.comment-list li {	
	border-top: 1px solid #ddd;
	margin: 0;
	padding: 15px 10px; 
}
ol.comment-list ul li,
ol.comment-list ol li {
	border: none;
}
ol.comment-list ul li{
	list-style: disc;
	margin: 5px 0; 
	padding: 5px;
	border: none;
}
ol.comment-list ol li {
	list-style: decimal;
	margin: 0; 
	padding: 5px 0;
}
ol.comment-list ul.children {
	margin: 0 0 0 25px;
	padding: 0;
}
ol.comment-list ul.children li {
	border-top: 1px solid #ddd;
}
ol.comment-list li p {
	padding: 6px 0;
}
ol.comment-list li blockquote p {
	font-size: 18px;
	line-height:1.5em;
}
ol.comment-list li.pingback {
	background: #eee;
	border-left: 5px solid #ddd;
	padding: 5px 10px;
	margin: 0;
}
li.pingback .edit-link {
	margin-top: 5px;
	display: block;
}
#commentform {
	padding: 1em 0;
}
#commentform input[type="text"] {
	display: block;
}
.form-allowed-tags {
	display: none;
}

/* =Widgets
----------------------------------------------- */
#secondary h3 {
	font-size: 22px;
	font-size: 2.2rem;
	line-height: 1.5;
	margin-bottom: 0.625em;
}
#secondary .widget-area {
	float:left;	
	margin: 1.25em 0;
	width: 32%;
}
#secondary .middle 	{
	margin: 1.25em 2%;
}
#secondary .widget-area ul {
	list-style: none;
	margin: 0;
	margin-bottom: 1em;
	padding: 0;
}
#secondary .widget-area ul ul {
	list-style-type: disc;
	margin: 0 2%;
	padding: 0 5%;
}
/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}
/* Search widget */
.widget_search .submit {
	display: none;
}
.contact {
	float:left;
	width:100%;
	margin-bottom:20px;
}
.contact ul { 
	max-width:400px;
    margin: 0 auto; 
    padding: 0; 
}
.contact ul li { 
    list-style: none; 
    list-style-type: none;
	box-sizing:border-box;
	margin:20px; 
    padding: 0; 
    float: left; 
    display: inline-block; 
    width:400px;
	height:200px;
	line-height:200px; 
	text-align:center;
	font-family:'sansmed';
	font-size: 26px;
}
.contact ul li a { 
    height:200px; 
	display: block;
	 color: #0e3542!important; 
	background:#fff;
    text-decoration: none;
	box-shadow:
	1px 1px 4px 0 rgba(14, 53, 66, 0.15),
    inset 0 0 0 10px #fff,
    inset 0 0 0 12px #0e3542; 
}

.contact ul li a:hover { 
    color: #d9e2db!important;  
	background:#0e3542;
	box-shadow:
    inset 0 0 0 10px #0e3542,
    inset 0 0 0 12px #fff;
}



/* =Responsive (Mobile) Design
-------------------------------------------------------------- */


@media screen and (max-width: 5000px) {
.wrapper {		
	margin: 0 auto;
	max-width: 1200px;
	padding:0 20px 0 20px;
		
}  
p.wp-caption-text {
	margin-bottom:0;
}
}
@media screen and (max-width: 1600px) {
	.ptain {
	width: 48%;
}
}
@media screen and (max-width: 1200px) {
.wrapper {		
	margin: 0 auto;
	width: 960px;
	padding:0;
}  
}
@media screen and (max-width: 1000px) {
.wrapper {		
	margin: 0 auto;
	width: 90%;
} 
.post p {
	width:75%;
}
.vidcontainer {
	width:75%;
}
p.intro2 p.introl {
	width:75%;
}
wp-caption-text {
	margin-bottom:0;
}
p.wp-caption-text {
	text-align:right;
	width:100%;
	margin:0;
}
}
@media screen and (max-width: 960px) {
	.indexintro p.caption {
	width:50%;
}

.wrapper {		
	margin: 0 auto;
	width: 100%;
}  
.header {
	margin-top:0px;
	
}
.post-title {
	margin:10px 0px 10px 10px;
}
.post p {
	width:70%;
	padding:0;
}
.vidcontainer {
	width:70%;
}
p.wp-caption-text {
	text-align:right;
	width:100%;
	margin:0;
}
}
@media screen and (max-width:900px) {
.ptain {
	width: 100%;
	padding:0;
    margin: .5em;
}
.indexintro p {
	font-size:20px;
	line-height:25px;
}
.indexintro h4 {
	font-size:50px;
	line-height:61px;
}
.indexintro h5 {
	font-size:50px;
	line-height:60px;
	padding-bottom: 20px
}
.indexintro h5 span{
	font-size:50px;
	line-height:60px;
}
.post p{
	width:65%;
	padding:0;
}
.ptain .post {
	margin-bottom:10%;
}
.vidcontainer {
	width:65%;
}
p.intror p.intro2 {
	width:75%;
}
p.wp-caption-text {
	width:100%;
	margin:0;
}
.indexintro p.caption {
	width:60%;
}
}
@media screen and (max-width: 600px) {
.wrapper {		
	margin: 0 auto;
	width: 100%;
}  
#logo {
	padding-left:1em;
}
.post p {
	width:80%;
	padding:0;
}
.ptain .post p {
	margin: 10px auto;
}
.vidcontainer {
	width:80%;
}
strong.intro {
	font-size:32px;
}
.post .wp-caption {
	display:inline-block;
	width:100%;
	margin:0 120px 0 100px;

}
.indexintro p.caption {
	width:80%;
}
.contact ul li {
	width:90%;
}

}
@media screen and (max-width: 580px) {
.wrapper {		
	margin: 0px auto;
	width: 100%;
}  
.header {
	height:130px;
	text-align:center;
}
#logo {
	float:left;
	padding-left:0px;
	width:100%;
}
#logo img {
		height:80px;
}
.nav { 
	height:50px;
	background:#182632;
	width:100%;
	vertical-align:middle;
	font-size: 18px;
	color:#fff;
}
.nav ul {
	width:100%;
	float:right;
	margin:0px auto;
}
.nav li {
	width:50%;
	line-height:50px;
	display:inline-block;
}
.nav a {
	width:100%;
	display:inline-block;
	color:#b6c3b9;
	padding:0 1em 0 1em;
}
.nav a:hover {
	color:#693234;
	background:#f7f7f7;
	text-decoration:none;
}
#content {
	margin:20px 0 0 0;
}
.contact {
	float:none;
	margin:0px auto;
	width:300px;
}
blockquote {
	width:80%;
}
}
@media screen and (max-width: 480px) {


.post {
	padding:0;
}
.footer {
	width: 100%;
}
.post .wp-caption {
	margin:0 60px 0 40px;
}
.ptain .post {
	margin-bottom:5%;
}

}

@media screen and (max-width: 350px) {
#logo img {padding:5px;
}
}
@media screen and (max-width: 325px) {
.post .wp-caption {
	margin:0;
}
}