﻿
/*
  BF Internet HTML boilerplate - an ever-evolving start point for HTML development on BF Internet projects
  This Boilerplate started life as HTML5 Boilerplate [http://html5boilerplate.com]

  It is intended for large groups of styles for pages beyond the home page (contact form, gallery etc.) are separated into a different sheet
  There is no point in every user downloading ALL styles for the whole site, when they only wanted to view the home page

*/

/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}


/*
	Your comments should say WHY the code does what it does, not WHAT it does.
*/


/* Layout ========== */

/* 24 column responsive grid system v3.0 | responsive.gs */
.col { display: block;float: left;width: 100%;}@media ( min-width : 768px ) {.gutters .col {margin-left: 2%;}.gutters .col:first-child { margin-left: 0; }}@media ( min-width : 768px ) {.span_1 { width: 4.16666666667%; }.span_2 { width: 8.33333333333%; }.span_3 { width:12.5%; }.span_4 { width: 16.6666666667%; }.span_5 { width: 20.8333333333%; }.span_6 { width: 25%; }.span_7 { width: 29.1666666667%; }.span_8 { width: 33.3333333333%; }.span_9 { width: 37.5%; }.span_10 { width: 41.6666666667%; }.span_11 { width: 45.8333333333%; }.span_12 { width: 50%; }.span_13 { width: 54.1666666667%; }.span_14 { width: 58.3333333333%; }.span_15 { width: 62.5%; }.span_16 { width: 66.6666666667%; }.span_17 { width: 70.8333333333%; }.span_18 { width: 75%; }.span_19 { width: 79.1666666667%; }.span_20 { width: 83.3333333333%; }.span_21 { width: 87.5%; }.span_22 { width: 91.6666666667%; }.span_23 { width: 95.8333333333%; }.span_24 { width: 100%; }.gutters .span_1 { width: 2.25%; }.gutters .span_2 { width: 6.5%; }.gutters .span_3 { width: 10.75%; }.gutters .span_4 { width: 15.0%; }.gutters .span_5 { width: 19.25%; }.gutters .span_6 { width: 23.5%; }.gutters .span_7 { width: 27.75%; }.gutters .span_8 { width: 32.0%; }.gutters .span_9 { width: 36.25%; }.gutters .span_10 { width: 40.5%; }.gutters .span_11 { width: 44.75%; }.gutters .span_12 { width: 49.0%; }.gutters .span_13 { width: 53.25%; }.gutters .span_14 { width: 57.5%; }.gutters .span_15 { width: 61.75%; }.gutters .span_16 { width: 66.0%; }.gutters .span_17 { width: 70.25%; }.gutters .span_18 { width: 74.5%; }.gutters .span_19 { width: 78.75%; }.gutters .span_20 { width: 83.0%; }.gutters .span_21 { width: 87.25%; }.gutters .span_22 { width: 91.5%; }.gutters .span_23 { width: 95.75%; }.gutters .span_24 { width: 100%; }}
.row {padding-bottom: 5px;} /* set according to preference*/


/*--------------------------------------
------  Primary Website Styles -------
---------------------------------------*/

body, select, input, textarea {
	font: 15px/1.4em Helvetica, Helvetica Neue, Arial, sans-serif;
	/* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
	color: #444;
}

html {
	text-align: center;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	margin: auto;
	width: 100%;
	text-align: left;
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* Differenciate links from body copy with more than just colour. Not everyone can see colours: http://j.mp/i9Wt2E */
a, a:active, a:visited, button:active, button:visited {
    outline: none!important;
    color: inherit;
    text-decoration: none;
}

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

a, button {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

a:after, a:before {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

h1 {
	font-size: 2em;
	color: #F16529;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
	text-transform: uppercase;
}

h4 {
	font-size: 1.4em;
	color: #aaaaaa;
}

h5 {
	font-size: 1.2em;
}

h6 {
	font-size: 1em;
}

h1,h2,h3,h4,h5 {
	font-family: 'Lato', sans-serif;
	/* Top & bottom margin based on font size. */
	margin: 1.5em 0 1em 0;
}

.wrapper {
    margin: 0px auto;
    max-width: 1200px;
}

/*
* Fonts
*/

/*	@font-face {
	    font-family: 'FontName';
	    src: url('/fonts/FontName.eot');
	    src: url('/fonts/FontName.eot?iefix') format('eot'),
	         url('/fonts/FontName.woff') format('woff'),
	         url('/fonts/FontName.ttf') format('truetype'),
	         url('/fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/


/*
* Header
*/

header {
    height: 230px;
    background: #38b5e6 url(../../assets/images/backgrounds/header.png) repeat-x 50% 100%;
}

#logo a {
    display: inline-block;
    float: left;
    text-indent: -99999px;
    width: 271px;
    height: 120px;
    background: url(../../assets/images/backgrounds/logo.png) no-repeat 50%;
}

h1#title,
div#title {
	line-height: 1.1em;
	color: white;
	float: left;
	margin: 0;
	background:#fff;
}

h1#title a,
div#title a {
	display: block;
	color: white;
	text-decoration: none;
	text-indent:-999em;
	height:90px;
	width:260px;
	background:url(../../assets/images/backgrounds/BF_Logo.png) no-repeat center center scroll;
	padding:0.5em 1em;
	margin:0 auto;
}

.lt-ie9 h1#title a,
.lt-ie9 div#title a {
	background:url(../../assets/images/bacgrounds/BF_Logo.png) no-repeat center center scroll;
}

h1#title a:hover,
div#title a:hover {
	color: inherit;
}

/*
* Navigation
*/
.top-nav {
    width: 100%;
    height: 50px;
		padding: 2px 0 0;
    background: #00635E;
}

.top-nav li a {
    display: inline-block;
    font-size: 0.9em;
    text-transform: uppercase;
    color: #bbcac9;
    padding: 1.1em 0.2em 1em 0;
    margin-right: 1.4em;
}

.top-nav a:hover {
    color: #fff!important;
}

.top-nav li ul {
    margin-top: 0!important;
    padding: 1em 0 1em 2em;
    background: #00635e!important;
}

.top-nav li ul li a {
    text-transform: none;
    padding: 0.6em 0;
}

.top-nav .get-in-touch {
    display: inline-block;
    text-transform: uppercase;
    float: right;
}

.top-nav .get-in-touch a {
    display: inline-block;
    font-size: 0.9em;
    color: #bbcac9;
    padding: 1.1em 0.2em 1em 1em;
}

.top-nav .get-in-touch span {
    color: #fff;
}

.top-nav .get-in-touch span:before {
    display: inline-block;
    font-family: "dashicons";
    font-size: 0.9em;
    content: "\f525";
    color: #fff;
    vertical-align: text-bottom;
    margin-right: 0.3em;
		-ms-transform: rotate(105deg); /* IE 9 */
    -webkit-transform: rotate(105deg); /* Chrome, Safari, Opera */
    transform: rotate(105deg);
}

#nav-control, .mobile-icons {
    display: none;
}

nav {
    display: inline-block;
    float: right;
}

nav ul, .top-nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

nav ul {
    position: relative;
    margin-top: 1.6em;
    z-index: 999;
}

nav li, .top-nav li {
	float: left;
}

nav li:first-of-type {
	margin-left: 0;
}

nav a, nav span {
	display: block;
	float: left;
	font-family: 'Lato', sans-serif;
	color: white !important; /* Important for IE6 */
	text-decoration: none !important; /* Important for IE6 */
	text-transform: uppercase;
	font-weight: 600;
	padding: 15px;
	-webkit-transition: 0.3s ease;
	-moz-transition: 0.3s ease;
	-o-transition: 0.3s ease;
	transition: 0.3s ease;
	cursor: pointer;
}

nav li:hover {
    background: #0F8A85;
}


/* dropdown */
nav li ul, .top-nav li ul {
    position: absolute;
    width: 180px;
    left: -999em;
    clear: left;
    margin: 49px 0px 0px 0px;
    background: none;
}

nav li ul {
		width: 243px!important;
    padding: 1.8em 0;
    background: #0f8a85;
}

nav li:hover ul, .top-nav li:hover ul {
	left: auto;
}

nav li ul li {
    width: 100%;
}

nav li ul a {
    display: block;
		text-transform: none;
    font-weight: 500;
    width: 100%;
    padding: 0.6em 2em;
}

nav li ul a:hover {
    background: #00635e;
}

.mobile-toggle-menu {
    display: none;
}


/*
* Search Box/Bar in Header
*/

.search-icon {
    width: 40px;
    height: 30px;
    background: #00635e url(../../assets/images/icons/search.png) no-repeat 50%;
    background-size: 45%;
    margin: 0.8em 0 0 1em;
    cursor: pointer;
}

.search-icon:hover {
    background: #0f8a85 url(../../assets/images/icons/search.png) no-repeat 50%;
    background-size: 45%;
}

#search {
    display: none;
    padding: 0.5em;
    float: right;
    background: #00635e;
}

input[type="search"] {
    width: 210px;
    border: 1px solid #cdcdcd;
    border-radius: 0;
}

#search button {
    background-color: #0f8a85;
}

#search button:hover {
    background-color: #a1d782;
}


/*
* Banner
*/

#banner {
    position: relative;
}

#banner .banner-image {
    height: 300px;
}

#banner .banner-gradient {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(85, 85, 85, 0.2);
}

#banner .banner-caption {}

#banner h1 {
    display: block;
    position: absolute;
    font-size: 3.5vw;
    text-align: center;
    letter-spacing: 0.05em;
    color: #fff;
    white-space: nowrap;
    height: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

#banner h2 {
    font-size: 1.6em;
    color: #fff;
    line-height: 1.8em;
    font-weight: 400;
    max-width: 600px;
    margin: 1.2em 0;
}

#banner h2 p {
	  margin: 0;
}


/*
* Main area
*/

#content {
    width: 72%;
    padding: 1em 0;
    float: right;
}

#content p a {
    color: #549172;
    text-decoration: underline;
}

#content p a:hover {
    text-decoration: none;
}

/* Sidebar */
#sidebar {
    width: 24%;
    float: left;
    padding: 4em 0;
    margin-top: 3em;
    background: url(../../assets/images/backgrounds/sidebar-top.png) no-repeat 50% 0%;
}

#sidebar .sidebar {
    background: #a1d782;
    padding: 1.5em 3em 3em;
    margin: 0;
}

#sidebar li {
    display: none;
    /* padding: 1.5em 0; */
    border-bottom: 1px solid #b9f199;
}

#sidebar li.sel {
		display: block;
}

#sidebar li.sel a {
    display: block;
    color: #444;
    font-size: 1.4em;
    padding: 0.5em 0 0.5em 1em;
}

#sidebar li a:after {
    position: absolute;
    font-family: "dashicons";
    content: "\f345";
    color: #00635e;
    margin-left: 0.4em;
    margin-top: 1px;
}

#sidebar li a:hover:after  {
    margin-left: 0.8em;
}

.page-parent #sidebar li.sel a.sel {
    color: #fff;
}

.page-parent #sidebar li.sel a.sel:after {
    content: "";
}

.page-child #sidebar li.sel a.sel:after {
    content: "";
}

.page-child #sidebar li.sel a.sel:hover {
    color: #007178;
    text-decoration: underline;
}

.page-child #sidebar li.sel ul li.sel a.sel {
    color: #fff;
    background: #00635e;
}

#sidebar li.sel a:hover {
		color: #007178;
}

#sidebar li.sel ul {
    padding: 0;
    border-top: 1px solid #b9f199;
    margin-top: 1em;
}

#sidebar li.sel ul li {
    display: block;
    padding: 1.5em 0;
}

#sidebar li.sel ul li a {
    font-size: 1em;
    /* border-bottom: 1px solid #dadada; */
}

#sidebar li.sel ul li:last-child {
    border-bottom: none;
}

#content h1 {
    font-size: 1.6em;
    text-transform: uppercase;
    color: #444;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e1e1e1;
    padding-bottom: 1.4em;
    margin: 2em 0 1.2em;
}

#content ul {
    padding: 0 1em;
    margin: 0.5em 0px 1.5em;
}

#content ul li {
    margin: 0 0 0.5em 0;
}

/*
* Page Specific
*/
 /* Locations */
 .page-id-98 #content {
    width: 100%;
    padding: 1em 0;
    float: none;
}

 .page-id-98 #sidebar {
    display: none;
}

/* Gravel & Aggregates */
.material {
    width: 31%;
    float: left;
    margin-bottom: 1em!important;
    position: relative;
}

.material:nth-of-type(3n+2) {
    margin: 0 3.5%;
}

.material .material-thumb {
    width: 100%;
    height: 170px;
    background-size: cover!important;
}

.material h3 {
    font-size: 1.2em;
    text-align: center;
    margin: 0.5em 0;
}

.material p {
    text-align: center;
    margin: 0 0 2em;
}

/* Skip Hire pop-up styling */

.skip-view-more {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.skip-view-more span {
    background-color: #444;
    padding: 10px 20px;
    color: #fff;
    font-family: 'Lato';
}

.skip-view-more span:hover {
    cursor: pointer;
}

.material:hover .skip-view-more {
    opacity: 1;
}


/* Case Studies */
.casestudy {
    width: 31%;
    float: left;
    padding: 1.5%;
    border: solid 1px #e1e1e1;
    margin-top: 1em;
    margin-bottom: 1em!important;
}

.casestudy:nth-of-type(3n+2) {
    margin: 1em 3.5%;
}

.casestudy .casestudy-thumb {
    width: 100%;
    padding-bottom: 54%;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain!important;
}

.casestudy h3 {
    font-size: 1.2em;
    text-align: center;
    margin: 0 0 0.5em;
}

.casestudy:hover .casestudy-thumb {
    opacity: 0.85;
}

blockquote {
    margin: 3em 0;
    padding-left: 4em;
    background: url(../../assets/images/icons/top-quote.png) no-repeat;
}

/* Our Board */
.our-board #content h3 {
    display: block;
    clear: both;
    margin-bottom: 0.5em;
}

.our-board #content .alignleft {
    float: left;
    margin-right: 1em;
    margin-bottom: 3em;
}

/* Latest News */
.blog #content h1, .archive #content h1 {
    margin: 2em 0 0;
}

.news-item {
    float: left;
    padding-bottom: 2em;
    border-bottom: 1px solid #e7e7e7;
}

.news-item h3 {
    font-size: 1.3em;
    font-weight: 400;
    margin: 1.6em 0 0;
}

.news-item p {
    line-height: 1.8em;
}

.news-item span {
    display: block;
    margin: 0.8em 0;
}

.news-item .postthumb {
    width: 150px;
    height: 125px;
    float: left;
    background-size: cover!important;
    margin-right: 2em;
}

.news-item .excerpt a {
    display: table;
    color: #fff!important;
    text-decoration: none!important;
    padding: 0.2em 1em;
    background: #00635e;
    margin-top: 1em;
}

.news-item .excerpt a:hover {
    background: #0f8a85;
}

.blog #sidebar li.archive-year, .archive #sidebar  li.archive-year, .single-post #sidebar  li.archive-year {
    font-size: 1.1em;
    padding: 1em;
    padding-left: 0;
    border-bottom: 1px solid #b9f199;
    margin-bottom: 0.5em;
}

.blog #sidebar li, .archive #sidebar li, .single-post #sidebar li {
    display: list-item!important;
    font-size: 0.9em;
    list-style: none;
    padding: 0.5em 0 0.5em 1em;
    border-bottom: 0;
}

.single-post .postthumb {
    width: 100%;
    padding-bottom: 50%;
    background-size: cover!important;
}

.single-post a.back-to-news {
    display: table;
    color: #fff;
    padding: 0.4em 1.2em;
    background: #00635e;
    margin-top: 1em;
}

.single-post a.back-to-news:hover {
    background: #0f8a85;
}

.pagination .nav-links .page-numbers {
	color: #fff!important;
	text-decoration: none!important;
	padding: 0.2em 1em;
	background: #00635e;
	margin-top: 1em;
	font-weight: 400;
	margin-left: 1em;
	text-transform: none;
	transition: all 0.3s ease;
}

.pagination .nav-links .page-numbers:hover {
	background: #0f8a85;
}

/*
* Footer
*/

#footer-top {
    padding: 9em 0 4em;
    background: #a8d59e url(../../assets/images/backgrounds/footer-top.png) repeat-x 0% 0%;
}

#footer-top .footer-thrid {
    width: 27.3%;
    float: left;
}

#footer-top .footer-thrid:nth-child(2) {
    margin: 0px 9%;
}

/* Latest News */
#footer-top .latest-news h2 { background: url(../../assets/images/icons/news1.png) no-repeat 0% 50% }

#footer-top .footer-thrid img.wp-post-image {
    border: 15px solid #FFF;
    border-radius: 0;
}

#footer-top .latest-news h3 {
    font-size: 1.2em!important;
}

#footer-top .latest-news h3 a {
    color: #444;
    text-transform: none;
    text-decoration: underline;
}

#footer-top .latest-news .excerpt {
    font-size: 0.9em;
}

#footer-top .latest-news .excerpt a {
    display: block;
    text-transform: uppercase;
    color: #444;
    font-weight: 700;
    margin: 1em 0;
}

#footer-top .latest-news .excerpt a:after {
    font-family: "dashicons";
    content: "\f345";
    color: #444;
    vertical-align: bottom;
    margin-left: 0.4em;
}

#footer-top .latest-news .excerpt a:hover:after {
    margin-left: 0.8em;
}

/* Featured Video */
#footer-top .featured-video h2 { background: url(../../assets/images/icons/video1.png) no-repeat 0% 50% }

#footer-top .videoWrapper {
    position: relative;
    padding-bottom: 69.9%;
    padding-top: 25px;
    height: 0;
}

#footer-top .videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 15px solid #FFF;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

#footer-top .videoWrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 15px solid #FFF;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Contact Us */
a.return-button {
    display: table;
    color: #fff!important;
    text-decoration: none!important;
    padding: 0.5em 1.6em;
    background: #00635e;
    margin-top: 1em;
}

a.return-button:hover {
    background: #0f8a85;
}

#footer-top .contact-us h2 { background: url(../../assets/images/icons/email1.png) no-repeat 0% 50% }

#footer-top .footer-thrid h2 {
    font-size: 1.8em;
    color: #444;
    text-transform: uppercase;
    padding-left: 1.6em;
    background-size: contain!important;
}

element.style {
    border: 15px solid #FFF;
    border-radius: 0;
}

#footer-top .footer-thrid h3 {
    font-size: 2.8em;
    color: #fff;
		margin:1em 0;
}

#footer-top .footer-thrid ul {
    list-style: none;
    border-top: 10px solid #BCE6B4;
    padding: 0;
    margin: 0;
}

#footer-top .footer-thrid ul li {
    font-size: 1.1em;
    text-transform: uppercase;
    padding: 2em 0;
}

#footer-top .footer-thrid ul li:nth-child(2) {
    border-top: 1px solid #BCE6B4;
		border-bottom: 1px solid #BCE6B4;
}

#footer-top .footer-thrid ul li a {
    color: #444;
		font-weight: 600;
}

#footer-top .footer-thrid ul li a:hover {
    text-decoration: underline;
}

footer {
    font-family: 'Lato', sans-serif;
    background: #014D49 url(../../assets/images/backgrounds/footer.png) repeat-x 0% 100%;
    color: #FFF;
    border-top: 2.5em solid #549172;
    padding: 2em 0 10em;
}

.logo-section {
	float: left;
}

#footer-logo a {
    display: inline-block;
    text-indent: -99999px;
    width: 200px;
    height: 70px;
    background: url(../../assets/images/backgrounds/logo-white.png) no-repeat 50%;
    background-size: contain;
}

.telephone {
    display: block;
    font-size: 2em;
    font-weight: 600;
    margin-top: 0.4em;
}

.telephone:before {
    display: inline-block;
    font-family: "dashicons";
    font-size: 0.9em;
    font-weight: 100;
    content: "\f525";
    color: #fff;
    vertical-align: top;
    margin-right: 0.2em;
    -ms-transform: rotate(110deg);
    -webkit-transform: rotate(110deg);
    transform: rotate(110deg);
}

.footer-right {
    display: block;
    width: 40%;
    float: right;
    margin-top: 1.5em;
}

.footer-right ul.footer-menu {
    display: inline-block;
    float: right;
    list-style: none;
    margin-top: 2.5em;
}

.footer-right ul.footer-menu li {
	float: left;
}

.footer-right ul.footer-menu li a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1em 0.5em;
}

.footer-right ul.footer-menu li a:hover {
    text-decoration: underline;
}

footer hr {
    clear: both;
    border: none;
    border-bottom: 8px solid #125C4F;
    margin: 11em 0 3em;
}

#ft-details ul {
    margin: 0;
    padding: 0;
}

#ft-details ul li {
    display: block;
    padding: 0px;
    margin: 0.8em 0 0 0;
}

#ft-details ul li a {
	color: #fff;
}

ul.social-media {
	list-style:none;
	margin:0;
	padding:0;
}

.social-media li {
	float: right;
}

.social-media li a {
    width: 42px;
    height: 32px;
    display: block;
    text-indent: -999em;
    margin: 0 0.5em;
}

.social-media li a:hover {
	opacity:0.7;
}

.fb a { background:url(../../assets/images/icons/facebook1.png) no-repeat center center scroll; background-size: contain; }
.tw a { background: url(../../assets/images/icons/twitter1.png) no-repeat center center scroll; background-size: contain; }
.inst a { background: url(../../assets/images/icons/linkedin1.png) no-repeat center center scroll; background-size: contain; }

.lt-ie9 .fb a { background:url(../../assets/images/icons/facebook1.png) no-repeat center center scroll; }
.lt-ie9 .tw a { background:url(../../assets/images/icons/twitter1.png) no-repeat center center scroll; }
.lt-ie9 .inst a { background:url(../../assets/images/icons/linkedin1.png) no-repeat center center scroll; }


ul.footer-mini-menu {
    margin-top: 2.5em;
}

ul.footer-mini-menu li a {
    font-size: 12px;
    color: #89a19d!important;
    float: left;
    margin-right: 0.8em;
}

ul.footer-mini-menu li a:hover {
    color: #fff!important;
}

/*
* Wordpress adds default classes to images as they are inserted. These style those classes, tweak as you wish.
*/

.alignleft {
	float: left;
    margin-right: 1em;
}
.alignright {
    float: right;
    margin-left: 1em;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.wp-post-image {
	/* Add fancy borders to all WordPress-added images */
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.wp-image {
  border: 3px solid red;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.dt-image {
  border: 3px solid black;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}  
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #757575;
}
dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}




/*
	Default form element styling
*/

button, input, textarea, select {
	-webkit-border-radius: 2px;
	border-radius: 2px;
	vertical-align: middle;
}
/* <button>s get a white border in IE6/7. Fix is at: http://stackoverflow.com/a/4159455 */


input, textarea, select {
	border: 1px solid #cdcdcd;
	color: #444;
	padding: 0.5em 0.8em;
}

input.watermark, textarea.watermark { /* For jquery.watermark */
	color: #aaa;
}

input:hover, textarea:hover, select:hover {
	border: 1px solid #cdcdcd;
	color: #444;
}

input:focus, textarea:focus, select:focus {
	border: 1px solid #cdcdcd;
	color: #000;
}

button:hover, button:focus, button:active,
input:focus, input:active,
select:focus, select:active,
textarea:focus, textarea:active {
	/*-webkit-box-shadow: #444 0 0 7px;
	box-shadow: #444 0 0 7px;*/
}

input[type="file"]:focus, input[type="file"]:active,
input[type="radio"]:focus, input[type="radio"]:active,
input[type="checkbox"]:focus, input[type="checkbox"]:active {
  -webkit-box-shadow: none;
  box-shadow: none;
}

fieldset, legend {
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.lt-ie8 legend { margin-left: -7px; }

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.lt-ie8 input[type="checkbox"] { vertical-align: baseline; }
.lt-ie7 input { vertical-align: text-bottom; }

input.checkbox, input.radio {
	width: auto !important;
	background: transparent; /* ie6 */
	border: none !important; /* ie6 */
    margin: 0 10px 0 0;
}

button, input[type="submit"] {
    padding: 0.8em 1em;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    border: 0;
    background-color: #00635e;
    -webkit-border-radius: 0;
    border-radius: 0;
}





/*
 * Garlands Asylum GA footer link
 */

 p#ga {
     font-size: 11px;
     font-weight: normal;
     padding: 4px 0 0 0;
     text-align: right;
     margin-top: 6em;
     margin-bottom: 0;
 }

p#ga a {
	border-bottom: none;
	font-weight: bold;
	text-decoration: none;
	padding-right: 0;
	background: none;
}

p#ga a:hover {
	text-decoration: underline;
}

p#ga span a,#ga span a:hover {
	font-weight: normal;
	text-decoration: none;
}

p#ga, p#ga a, p#copyright {
	color: #89a19d;
}

p#ga a:hover {
	color: #fff;
}

p#copyright {
	text-align:center;
	font-size: 11px;
}

/* Tweaks */
.fancybox-slide>* {
    padding: 5%!important;
}

.fancybox-close-small:after {
    outline: 0!important;
}

.fancybox-enabled {
    overflow: auto!important;
}




 /*
 * Non-semantic helper classes
 */

.align-center {text-align: center;}

.align-right {text-align: right;}

.float-right {float: right;}

.float-left {float: left;}

.uppercase {text-transform: uppercase;}

/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers:   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Micro Clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ */
.cf:before,.cf:after{content:"";display:table;}.cf:after{clear:both;}.cf{*zoom:1;}


/* For when the clearfix won't do - use as <br class="clear"> */
.clear { clear: both; }



/*
 * print styles, compressed
 */
@media print {*{background:transparent !important;color:#444 !important;text-shadow:none !important;}a,a:visited{color:#444 !important;text-decoration:underline;}a:after{content:" (" attr(href) ")";}abbr:after{content:" (" attr(title) ")";}.ir a:after{content:"";}pre,blockquote{border:1px solid #999;page-break-inside:avoid;}thead{display:table-header-group;}tr,img{page-break-inside:avoid;}@page{margin:0.5cm;}p,h2,h3{orphans:3;widows:3;}h2,h3{page-break-after:avoid;}}
