/*
Theme Name: Greisen Medlock
Description: The original Greisen Medlock theme.
Version: 1
Author: Greisen Medlock
*/

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
max-width: 100%; 
height: auto; 
}
.alignleft,
img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}
.alignright,
img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}
.aligncenter,
img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
margin-bottom: 0;
}
.wp-caption {
background: #f1f1f1;
line-height: 18px;
margin-bottom: 20px;
max-width: 632px !important; 
text-align: center;
}
.wp-caption img {
margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
color: #888;
font-size: 12px;
margin: 5px;
}
.wp-smiley {
margin: 0;
}
.gallery {
margin: 0 auto 18px;
}
.gallery .gallery-item {
float: left;
margin-top: 0;
text-align: center;
width: 33%;
}
.gallery-columns-2 .gallery-item {
width: 50%;
}
.gallery-columns-4 .gallery-item {
width: 25%;
}
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
max-width: 92%;
height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
max-width: 84%;
height: auto;
}
.gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 12px;
}
.gallery dl {
margin: 0;
}
.gallery img {
border: 10px solid #f1f1f1;
}
.gallery br+br {
display: none;
}
#content .attachment img {
margin: 0 auto;
}
.content ul, .content ol{margin:20px 0;}
.content ul li, .content ol li{margin:8px 0 8px 20px; line-height:26px;}
input[type="text"], input[type="email"], input[type="tel"], textarea {
	border: 1px solid #cccccc;
	padding: 15px !important;
	background: #eeeeee;
	color: #000000;
	margin: 0 !important;
	transition: all 0.5s;
}
input[type="text"]:hover, input[type="email"]:hover, textarea:hover{
	background: #cccccc;
}
.footerright input[type="text"], .footerright input[type="email"], .footerright input[type="tel"], .footerright textarea {
	background: #124e72;
	color: #ffffff;
}
.footerright input[type="text"]:hover, .footerright input[type="email"]:hover, .footerright textarea:hover{
	background: #124159;
}
input[type="submit"], a.readmore {
	border: 0 none;
	cursor: pointer;
	background: #d87c27;
	margin: 0;
	color: #fff;
	font-size: 16px;
	padding: 10px 25px;
	transition: all 0.5s;
	display: inline-block;
	font-weight:600;
	line-height: 20px;
}
input[type="submit"]:hover, a.readmore:hover {
  background: none repeat scroll 0 0 #484C4B;
  padding: 10px 30px;
  color:#ffffff;
}

*{
padding:0;
margin:0;
}

body.mceContentBody{
background:none;
color:#000000;
}

body,table{
font-family: 'Krub', sans-serif;
font-size:17px;
color:#231f20;
}

img, fieldset{
border:0;
}

table {
	width: 100%;
	border-collapse: collapse;
}
p{
line-height:28px; 
margin-bottom:25px;
}
a{
outline:none;
text-decoration:none;
color:#d87c27;
transition: all 0.5s;
}
a:hover{
color:#2F2A2D;
}

h1{
font-size:39px; 
font-weight:400;
margin-bottom:20px;
font-family: 'Libre Caslon Text', serif;
color:#231f20;
}
h2{
font-size:35px; 
font-weight:400;
margin-bottom:10px;
font-family: 'Libre Caslon Text', serif;
color:#231f20;
}
h3{
font-size:30px; 
font-weight:400;
margin-bottom:10px;
font-family: 'Libre Caslon Text', serif;
color:#231f20;
}
h4{
font-size:25px; 
font-weight:400;
margin-bottom:10px;
font-family: 'Libre Caslon Text', serif;
color:#231f20;
}
h5{
font-size:20px; 
font-weight:600;
font-family: 'Krub', sans-serif;
color:#d87c27;
}
.clear{
clear:both;
}

.admin-bar header{
	margin-top:32px;
}

.wrapper{
width:90%;
margin:0 auto;
max-width:1920px;
}

.header {
	background: #ffffff;
	z-index: 9999;
	position: relative;
	padding-bottom: 10px;
}
header {
	background: #ffffff;
	width: 100%;
	height: 215px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	-ms-transition: height 0.3s;
	-o-transition: height 0.3s;
	transition: height 0.3s;
}
.logo, .header, .nav, .number {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.headerheight {
    height: 215px;
}
header.smaller {
	height: 215px;
}
.topheader {
	border-bottom: 1px solid #cccccc;
	box-shadow: 1px 1px 5px #cccccc;
	padding: 10px 0;
	font-size: 16px;
}
.topheader a i{
	margin:0 3px;
	font-size:18px;
	color:#6d6e70;
}
.topheader a i:hover{
	color:#d87c27;
}
.topheader p{
	margin:0;
}
.topleft {
	float: left;
	margin-top:5px;
}
.topright {
	float: right;
}
.topright .readmore {
	margin-left: 20px;
}
.logo {
	padding: 15px 0;
	text-align: center;
}
.nav {
	width: 950px;
	margin: 0 auto;
}
.caption h3 {
	font-size: 37px;
	line-height: 45px;
	color:#ffffff;
}
.caption h4 {
	font-size: 22px;
	font-family: 'Krub', sans-serif;
	line-height: 36px;
	color:#ffffff;
}
.banner .metaslider .caption-wrap {
	bottom: auto;
	background: none;
	opacity: 1;
	text-align: center;
	top: 10%;
}
.banner .metaslider .caption {
	width: 75%;
	margin: 0 auto;
}
.content {
	padding: 80px 0;
	overflow: hidden;
}
.bottom {
	display: flex;
	flex-wrap: wrap;
}
.metoobg {
	background: url(images/me-too.jpg) 50% 50% no-repeat;
	background-size: cover;
}
.bottom .mission.widget {
	background: #0f3355;
	color: #fff;
	padding: 50px;
	box-sizing: border-box;
}
.bottom .widget {
	width: 50%;
}
.bottom h3, .bottom h4{
	color:#ffffff;
	font-weight:400;
}
.bottom h3{
	font-size:39px;
}
.bottom h4{
	font-size:23px;
}
.awards {
	text-align: center;
	padding: 50px 0;
}
.footer {
	background: #0f3355;
	color: #fff;
	padding: 50px 0;
	line-height: 28px;
}
.footer a:hover{
	color:#ffffff;
}
.footerleft {
	float: left;
	width: 45%;
}
.footerright {
	float: right;
	width: 45%;
}
.footer h3{
font-size:27px;
color:#ffffff;
}
.blogsmain {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.blogsmain .post {
	width: 32%;
	margin: 0 1% 20px 0;
	background: #E9E3E7;
	padding: 20px;
	box-sizing: border-box;
}
.blogsmain .post:nth-child(odd) {
	background: #EEEEEE;
}
.post-meta > div {
	display: inline-block;
	margin: 0 5px 0 0;
}
.post-meta {
	margin-bottom: 20px;
	line-height: 28px;
}
.blogsmain .eb-post-category.comma-seperator {
	width: 100%;
}
.blogsmain h2.storytitle {
	font-size: 20px;
}
a.mobilemodule.readmore{
	display:none;
}
img{
max-width:100%;
height:auto;
}


@media all and (max-width: 1220px){
.caption h3 br, .caption h5 br{
	display:none;
}
.banner .metaslider .caption-wrap {
	top: 5%;
}
.caption h3 {
	font-size: 30px;
	line-height: 40px;
}
.caption h4 {
	font-size: 16px;
	line-height: 28px;
}
}
@media all and (max-width: 1020px){
.caption h3 {
	font-size: 20px;
	line-height: 30px;
	margin-bottom: 5px;
}
.banner .metaslider .caption-wrap {
	top: auto;
	position: relative;
	background: #0F3355;
	padding: 10px 0;
}
.bottom .mission.widget {
	padding: 30px;
}
.content {
	padding: 30px 0;
}
.footerleft, .footerright{
	width:100%;
	float:none;
}
.footerright{
	margin-top:20px;
}
.bottom .widget {
	width: 100%;
}
.metoobg {
	background: none;
}
.logo {
	float: left;
}
.nav {
	width: auto;
	float:right;
	margin-top: 15px;
}
.header, .headerheight, header {
	height: 148px;
	padding: 0;
}
.logo img {
	max-width: 400px;
}
}
@media all and (max-width: 767px){
.logo img {
	max-width: 300px;
}
.topleft {
	float: none;
	text-align: center;
}
.topright {
	float: none;
	text-align: center;
	margin-top: 10px;
}
.header, .headerheight, header{
	position:relative;
	height:auto;
}
.admin-bar header {
	margin-top: 0;
}
	.desktopmodule{
	display:none;
}
a.mobilemodule.readmore{
	display:inline-block;
}
}

@media all and (max-width: 500px){
.logo img {
	max-width: 250px;
}
}