/*

Custom Theme CSS
================

Author: Mariska Thomas
Updated: November 2017
Notes: Customise Bootstrap CSS to personalise theme

*/



/*	----------------------------------------------
	layout
	------------------------------------------- */
	body {
		font-family: 'Montserrat', sans-serif;
		font-size: 15px;
		font-weight: 400;
		letter-spacing: 0.01em;
		text-rendering: optimizeLegibility;
		-webkit-font-smoothing: antialiased;
		color: #000;
		background-color: #fff;
	}

	article {
		padding-top: 2.5em;
	}

	article footer a {
		color: #82797b;
	}
	article footer a:hover,
	article footer a:focus {
		color: #000;
	}

	aside {
		font-size: 0.9em;
	}
	
	.row {
		margin-right: 0;
		margin-left: 0;
	}

	.row.match-my-cols {
		overflow: hidden; 
	}

	.row.match-my-cols [class*="col-"]{
		margin-bottom: -99999px;
		padding-bottom: 99999px;
	}

	.container {
		padding-right: 0;
		padding-left: 0;
		margin-right: auto;
		margin-left: auto;
	}
	
	.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
		position: relative;
		min-height: 1px;
		padding-right: 0;
		padding-left: 0;
	}

	.col-xs-5th,
	.col-sm-5th,
	.col-md-5th {
		position: relative;
		min-height: 1px;
		padding-right: 0;
		padding-left: 0;
	}
	
	.col-md-5th {
		width: 20%;
		float: left;
	}

	.panel-default {
		background-color: #f0f1f1;
		border: solid 1px transparent;
		-webkit-border-radius: 0px 10px 10px 0px;
		border-radius: 0px 10px 10px 0px;
	}
	
	.logo-align {
		text-align: left;
	}
	.logo-size {
		width: 250px;
		margin-top: 5px;
		transition: 0.5s ease-in-out;
	}
	
	.diagnostic-border {
		border: solid 2px #ff0000;
	}/*use this as diagnostic to see borders of divs etc*/
	
	.hash-anchor-padding {
		display: inline-block;
		height: 0;
		margin-top: 0;
		visibility: hidden;
	}
	
	.hr-spacer {
		margin-top: 0.5em;
		margin-bottom: 0.5em;
		border: 0;
		border-top: 1px solid transparent;
	}
	
	.padding-content {
		padding: 1em 2em;
	}
	
	.padding-top-20 {
		padding-top: 20px;
	}
	
	.padding-bottom-20 {
		padding-bottom: 20px;
	}
	
	.padding-left-sm-1em {
		padding-left: 1em;
	}
	.padding-right-sm-1em {
		padding-right: 1em;
	}
	
	.padding-left-sm-2em {
		padding-left: 2em;
	}
	.padding-right-sm-2em {
		padding-right: 2em;
	}
	
	.margin-left-sm-1em {
		margin-left: 1em;
	}
	.margin-right-sm-1em {
		margin-right: 1em;
	}
	
	.margin-left-sm-2em {
		margin-left: 2em;
	}
	.margin-right-sm-2em {
		margin-right: 2em;
	}
	
	.shadow {
		-webkit-box-shadow: 0 0 0.7em rgba(0, 0, 0, 0.30);
		box-shadow:         0 0 0.7em rgba(0, 0, 0, 0.30);
		z-index: 9999;
	}
	
	.bg-white {
		background-color: #fff;
	}
	
	.bg-red {
		background-color: #8f172a;
	}

	.bg-grey {
		background-color: #82797b;
	}
	
	.bg-search {
		background-color: transparent;
		padding: 0;
	}

	.bg-gradient {
		background: linear-gradient(180deg, rgba(221, 218, 218, 1.0), rgba(221, 218, 218, 0.0));
	}

	.bg-quick-facts {
		background-image: url(../../imgs/buy-trees/bigbucks-blossoms.png);
		background-position: 100% 30px;
		background-repeat: no-repeat;
		background-size: 300px 592px;
	}
	
	.back-to-top {
		position: fixed;
		bottom: 5.5em;
		right: 0;
		background: rgba(255, 255, 255, 0.8);
		padding: 0.75em 1em 0.5em 1em;
		color: rgba(130, 121, 123, 0.7);
		text-decoration: none;
		margin: 0;
		display: inline;
		z-index: 100;
	}
	.back-to-top i {
		font-size: 4.5em;
		line-height: 0.5;
	}
	.back-to-top:hover {
		color: rgba(143, 23, 42, 1.0);
		background: rgba(255, 255, 255, 0.0);
	}

	#sticky-buy-now-footer {
		display: block;
		position: fixed;
		right: 1em;
		bottom: 0;
		transition: 0.5s ease;
		z-index: 9999;
	}
	#sticky-buy-now-footer:hover,
	#sticky-buy-now-footer:focus {
		-webkit-filter: contrast(170%) grayscale(100%);
		filter: contrast(170%) grayscale(100%);
	}
	
/*	----------------------------------------------
	typography
	------------------------------------------- */
	h1,
	h2,
	h3,
	h4 {
		font-weight: 300;
		padding-top: 0.3em;
		line-height: 1.1;
	}
	
	h1 {
		font-size: 1.7em;
		margin-bottom: 1em;
		color: #a0989a;
	}
	
	h2 {
		font-size: 1.5em;
		margin-bottom: 1em;
		color: #a0989a;
	}
	
	h3 {
		font-size: 1.25em;
		margin-bottom: 1em;
		color: #a0989a;
	}
	
	h4 {
		font-size: 1.1em;
		margin-bottom: 1em;
		color: #a0989a;
	}
	
	p {
		margin: 0.3em 0 1em 0;
		line-height: 1.5;
		text-align: left;
	}
	
	b {
		font-weight: 600;
	}
	
	i {
		font-style: italic;
	}

	small {
		font-size: 90%;
		line-height: 1;
	}
	
	a {
		color: #a80424;
		font-weight: 400;
		text-decoration: none;
		transition: all 0.3s ease-in-out;
	}
	a:hover,
	a:focus {
		color: #000;
		text-decoration: none;
		outline: 0;
	}

	.highlighter-green {
		font-weight: 400;
		background-color: rgba(30, 255, 0, 0.4);
		padding: 0 0.25em;
		border-radius: 3px;
	}

	.highlighter-blue {
		font-weight: 400;
		background-color: rgba(0, 228, 255, 0.4);
		padding: 0 0.25em;
		border-radius: 3px;
	}
	
	.text-warning {
		color: #d58512;
	}
	
	.text-error {
		color: #a0001e;
	}
	
	.text-muted {
		color: rgba(177, 187, 190, 0.8);
	}
	
	.text-inline {
		display: inline;
		vertical-align: baseline;
	}
	
	.lead {
		font-size: 1.15em;
		font-weight: 400;
		color: #82797b;
	}

	.search-mark {
		color: #333f4b;
		background: rgba(45, 168, 181, 0.50);
		padding: 0 .1em;
	}
	
	.text-white {
		color: #fff;
	}
	
	.text-black {
		color: #000;
	}
	
	.text-red {
		color: #8f172a;
	}
	
	.text-grey {
		color: #82797b;
	}
	
	.text-light-grey {
		color: #c7b8bb;
	}
	
	.label-primary {
		background-color: #ba6d2f;
	}
	
	.gallery-folder-link {
		color: #82797b;
		margin-right: 10px;
	}
	.gallery-folder-selected {
		display: inline-block;
		color: #8f172a;
		padding: 2px 5px;
		margin-right: 10px;
		border: solid 1px;
		border-radius: 2px;
	}
	
	blockquote {
		font-size: 1.25em;
		line-height: 1.5;
		font-weight: 400;
		color: #8f172a;
		padding: 1em 0 1em 0.5em;
		margin: 2em 0;
		border-top: 1px dashed #8f172a;
		border-bottom: 1px dashed #8f172a;
		border-left: none;
	}
	
	blockquote footer {
		height: 47px;
		background-color: transparent;
		font-size: 0.87em;
		padding: 10px 0 0 0;
	}
	
	blockquote footer a {
		background-color: transparent;
		font-style: normal;
	}
	blockquote footer a:hover {
		color: #8f172a;
	}
	
	blockquote.grey {
		font-size: 1.05em;
		line-height: 1.5;
		font-weight: 400;
		color: #7c7477;
		padding: 1em 0 1em 0.5em;
		margin: 2em 0;
		border-top: 1px dashed #7c7477;
		border-bottom: 1px dashed #7c7477;
		border-left: none;
	}

	cite {
		font-size: 0.99em;
		color: #82797b;
	}
	
	/*controlling line-height of <sup> and <sub>*/
	sup {
		vertical-align: -0.2em;
		font-size: 0.7em;
		line-height: 30%;
		padding: 0 0.2em;
	}
	
	sub {
		vertical-align: -0.1em;
		font-size: 0.65em;
		line-height: 30%;
		padding: 0 0.2em 0 0.2em;
	}
	
	ul.custom-ul-li {
		list-style: outside;
		margin-left: -1.5em;
		margin-top: 0.5em;
		margin-bottom: 1.5em;
	}
	ul.custom-ul-li > li {
		list-style-type: none;
		text-indent: 0em;
		padding-left: 0.25em;
		margin-bottom: 0.25em;
	}
	ul.custom-ul-li > li::before {
		content: '\25A0';
		color: #82797b;
		margin-left: -1.25em;
		padding-right: 10px;
		vertical-align: 0.1em;
	}
	
	/*
	style for nested ordered lists
	*/
	ol li > p {
		text-indent: 0.02em;
		margin: 0.5em 0 1em 0;
	}
	
	ol {
		display: block;
		width: 100%;
		margin-left: 0;
		margin-bottom: 1.7em;
		padding: 0;
		list-style: none;
		counter-reset: item;
	}
	ol > li {
		margin-left: 2.2em; /*lines text up on the left within block container above*/
		text-indent: -0.195em; /*move first line of numbered text left: 1.{  }Content*/
		margin-bottom: 0.5em;
	}
	ol > li::before {
		display: inline-block; /*make space after long digits (10.+) even and ..*/
		width: 1.9em; /*.. set fixed width*/ 
		margin-left: -1.8em; /*necessary to preserve spacing of text rows below first line*/
		padding-right: 1.55em; /*spacing after 1.: 1.{  }Content*/
		text-align: left;
		content: counters(item, ".") ".";
		counter-increment: item;
	}
	
	ol ol {
		width: auto;
		margin-left: 0;
		margin-bottom: 0.5em;
		padding: 0.5em 0 0 0;
	}
	ol ol > li {
		margin-left: 2.7em;
		text-indent: -1.35em;
	}
	ol ol > li::before {
		display: inline-block;
		width: 1.3em;
		margin: 0;
		padding: 0;
		content: counters(item, ".") " ";
	}
	ol ol ol > li {
		margin-left: 3.5em;
		text-indent: -1.8em;
	}
	ol ol ol > li::before {
		display: inline-block;
		width: 1.8em;
		margin-left: 0;
	}
	ol ol ol ol > li {
		margin-left: 0;
		text-indent: -1.8em;
	}
	ol ol ol ol > li::before {
		display: inline-block;
		width: 1.8em;
		margin-bottom: 0;
		padding-bottom: 0;
	}
	/*
	end ordered style
	*/
	
/*	----------------------------------------------
	nav: main and footer and hash menus
	------------------------------------------- */
	
	.navbar-collapse {
		padding-right: 0;
		padding-left: 0;
	}
		
	.navbar {
		margin: 0;
		border: none;
	}
	
	.navbar .navbar-nav {
		min-height: 50px;
		padding-left: 5px;
		margin: 0;
	}

	.navbar-default {
		background-color: rgba(255, 255, 255, 0.0);
		border-color: rgba(255, 255, 255, 0.0);
	}

	.navbar-default .navbar-nav > li {
		background-color: rgba(143, 23, 42, 0.0);
		margin: 0 4px;
	}
	.navbar-default .navbar-nav > li > a {
		font-size: 0.925em;
		color: #8f172a;
		padding: 65px 5px 7px 5px;
	}
	.navbar-default .navbar-nav > li > a:hover,
	.navbar-default .navbar-nav > li > a:focus {
		color: #000;
		background-color: transparent;
	}

	.navbar-default .navbar-nav > li.active {
		background-color: rgba(143, 23, 42, 0.0);
	}
	.navbar-default .navbar-nav > li.active:hover,
	.navbar-default .navbar-nav > li.active:focus {
		background-color: rgba(0, 0, 0, 0.0);
	}
	.navbar-default .navbar-nav > .active > a {
		color: #c7b8bb;
		font-weight: 500;
		text-transform: uppercase;
		background-color: rgba(143, 23, 42, 1.0);
		padding-left: 0.7em;
		padding-right: 0.6em;
		margin-left: 0.75em;
		-webkit-transform: skew(-19deg);
		-moz-transform: skew(-19deg);
		-ms-transform: skew(-19deg);
		-o-transform: skew(-19deg);
		transform: skew(-19deg);
		transition: 0.5s;
	}
	.navbar-default .navbar-nav > .active > a:hover,
	.navbar-default .navbar-nav > .active > a:focus {
		color: #c7b8bb;
		background-color: rgba(0, 0, 0, 1.0);
		-webkit-transform: skew(-19deg);
		-moz-transform: skew(-19deg);
		-ms-transform: skew(-19deg);
		-o-transform: skew(-19deg);
		transform: skew(-19deg);
		transition: 0.5s;
	}

	span.nav-unskew-text {
		-webkit-transform: skew(19deg);
		-moz-transform: skew(19deg);
		-ms-transform: skew(19deg);
		-o-transform: skew(19deg);
		transform: skew(19deg);
		font-weight: 600;
	}

	.dropdown-menu {
		padding: 0;
		margin: 0 0.5em 0 0;
			margin-top: 0;
		font-size: 0.9em;
		background-color: #fff;
		border: none;
		border-top: 5px solid #8f172a;
		border-radius: 1px;
			border-top-left-radius: 0;
			border-top-right-radius: 0;
		-webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
		box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
	}

	.dropdown-menu > li > a {
		font-weight: 400;
		padding: 7px 17px;
	}

	.dropdown-menu > .active > a,
	.dropdown-menu > .active > a:hover,
	.dropdown-menu > .active > a:focus {
		color: #fff;
		text-decoration: none;
		background-color: rgba(143, 23, 42, 1.0);
		outline: 0;
	}

	.navbar-default .navbar-nav > .open > a,
	.navbar-default .navbar-nav > .open > a:hover,
	.navbar-default .navbar-nav > .open > a:focus {
		background-color: rgba(255, 255, 255, 0.0);
	}

	.nav .open > a,
	.nav .open > a:hover,
	.nav .open > a:focus {
		background-color: rgba(255, 255, 255, 0.0);
		border-color: #fff;
	}

	.navbar-toggle {
		padding: 0;
		margin-top: -10px;
		margin-right: 30px;
		background-image: none;
		border-radius: 0;
		border: none;
	}
	.navbar-toggle:hover,
	.navbar-toggle:focus {
		outline: 0;
	}
	.navbar-toggle .icon-bar {
		display: block;
		width: 40px;
		height: 5px;
		border-radius: 0;
	}
	.navbar-toggle .icon-bar + .icon-bar {
		margin-top: 5px;
	}
	
	footer {
		font-size: 1em;
		padding: 0;
		background: transparent;
	}
	
	footer h4 {
		color: #094c76;
		font-size: 1.2em;
		margin: 0 0 0.5em 0;
		letter-spacing: 0.02em;
	}
	
	footer h6 {
		color: rgba(132, 140, 153, 0.40);
		font-size: 0.6em;
		letter-spacing: 0.05em;
		line-height: 1.5;
	}
	
	footer a {
		color: #8f172a;
		font-size: 0.95em;
		line-height: 1.5;
		text-decoration: none;
		border: none;
		background-color: transparent !important;
	}
	
	footer a:hover,
	footer a:focus {
		color: #000;
	}
	
	.footer-credits {
		display: block;
		max-width: 1170px;
		font-size: 0.8em;
		text-align: left;
		line-height: 1.5;
		color: #c7b8bb;
		padding: 1em 0;
		margin: 2em auto 5em auto;
	}

	
/*	----------------------------------------------
	carousel
	------------------------------------------- */
	.carousel-inner {
		position: relative;
		width: 100%;
		overflow: hidden;
	}
	
	.carousel-caption {
		display: block;
		font-size: 1.5em;
		font-weight: 400;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		text-align: center !important;
		padding: 0.2em;
		margin-bottom: -0.5em;
		text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.90);
	}
	
	.carousel-caption .caption-title {
		font-size: 1.1em;
		letter-spacing: 0.05em;
		text-align: center !important;
		text-transform: uppercase;
		line-height: 0.5;
		color: #fff;
		border: solid 1px #fff;
		background-color: rgba(255, 255, 255, 0.40);
		padding: 0.25em 0.7em 0.4em 0.7em;
	}

	.carousel-control {
		width: 5%;
  		opacity: .0;
	}

	.carousel-control:hover,
	.carousel-control:focus {
		opacity: .1;
	}

	.carousel-indicators {
		color: rgba(255, 255, 255, 0.10);
		font-size: 0.8em;
		bottom: 0.25em;
		display: inline;
		width: 100%;
		left: 0;
		margin: 0 auto;
		cursor: pointer;
		background-color: transparent;
		border: none;
	}
	.carousel-indicators .active {
		color: rgba(255, 255, 255, 1.00);
		margin: 0 auto;
		background-color: transparent;
		border: none;
	}
	
	/*set the margin-height for the slider here and in @media (max-width: 480px)*/
	.slider-margin {
		margin-top: 0;
	}

	/* Carousel Fading slide */
	.carousel-fade .carousel-inner { background: #fff; }
	.carousel-fade .carousel-control { z-index: 2; }  
	.carousel-fade .item {
		opacity: 0;
		-webkit-transition-property: opacity;
		-moz-transition-property: opacity;
		-o-transition-property: opacity;
		transition-property: opacity;
	}

	.carousel-fade .next.left,
	.carousel-fade .prev.right,
	.carousel-fade .item.active { opacity: 1; }

	.carousel-fade .active.left,
	.carousel-fade .active.right {
		left: 0;
		opacity: 0;
		z-index: 1;
	}

	.carousel-fade .carousel-inner > .item.next,
	.carousel-fade .carousel-inner > .item.active.right {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
			  transform: translate3d(0, 0, 0);
	}
	.carousel-fade .carousel-inner > .item.prev,
	.carousel-fade .carousel-inner > .item.active.left {
		opacity: 0;
		-webkit-transform: translate3d(0, 0, 0);
			  transform: translate3d(0, 0, 0);
	}
	.carousel-fade .carousel-inner > .item.next.left,
	.carousel-fade .carousel-inner > .item.prev.right,
	.carousel-fade .carousel-inner > .item.active {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
			  transform: translate3d(0, 0, 0);
	}


	
/*	----------------------------------------------
	global styles
	------------------------------------------- */
	.form-control {
	  background-color: #efefef;
	  border: 1px solid rgba(255, 255, 255, 0.0);
	  border-radius: 4px;
	  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.0);
			  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.0);
	}
	.form-control:focus {
	  border-color: rgba(255, 255, 255, 0.0);
	  background-color: rgba(255, 255, 255, 0.0);
	  outline: 0;
	  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(130, 121, 123, 0.6);
			  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(130, 121, 123, 0.6);
	}
	.form-control::-moz-placeholder {
		font-size: 1em;
		color: rgba(0, 0, 0, 0.40);
		opacity: 1;
	}
	.form-control::-webkit-input-placeholder {
		font-size: 1em;
		color: rgba(0, 0, 0, 0.40);
	}

	.form-group {
		margin-bottom: 5px;
	}

	input[type="text"] {
		border-radius: 0px;
	}

	input[type="email"] {
		border-radius: 0px;
	}

	textarea[type="text"] {
		border-radius: 0px;
	}

	input[type="checkbox"] {
		vertical-align: text-bottom;
		margin: 4px 0 0;
		margin-top: 1px;
		line-height: 1;
	}
	.checkbox-inline input[type="checkbox"] {
		position: absolute;
		margin-top: 4px;
		margin-left: -18px;
	}
	.checkbox {
		margin-top: 5px;
		margin-bottom: 5px;
	}
	.checkbox label {
		min-height: 20px;
		padding-left: 18px;
		padding-right: 15px;
		margin: 0;
		font-weight: 400;
		cursor: pointer;
	}
	.checkbox-inline {
		padding-left: 0;
		margin: 0;
	}
	.checkbox-inline + .checkbox-inline {
		margin-left: 0;
	}
	
	.input-search {
		width: 100%;
		height: 1.667em;
		padding: 5px 10px;
		font-size: 0.9em;
		color: #000;
		line-height: 1;
		border: none;
		border-radius: 0;
		background-color: #d3d7dd;
	}
	.btn-icon {
		color: #b3b7bc;
		font-size: 1.5em;
		text-decoration: none;
		margin: -0.22em 0 0 0;
		background-color: transparent;
		border: none;
	}
	.btn-icon:hover {
		color: #f15a22;
	}
	
	fieldset {
		padding: 0em 1.0em .05em;
		margin: 0 0 10px 0;
		border: 2px solid #cdd0d6;
	}
	
	legend {
		font-size: 1.2em;
		letter-spacing: 0.01em;
		color: #82797b;
		margin-bottom: 0.7em;
		width: auto;
		padding: 0 0.5em;
		border: 0;
		text-transform: capitalize;
	}
	
	label {font-size: 1em;
		font-weight: 400;
		color: #000;
	}
	
	hr {
		border-top: none;
		border-left: none;
		border-right: none;
		border-bottom: solid 2px #e5e1e1;
		background-color: transparent;
		margin: 20px 0;
	}
	
	.btn-default {
		display: block;
		font-size: 1em;
		font-weight: 400;
		color: #82797b;
		background-color: #fff;
		padding: 6px 10px 5px 10px;
		border: solid 2px rgba(130, 121, 123, 0.40);
		transition: 0.5s ease-out;
		border-radius: 0px;
	}
	.btn-default:hover,
	.btn-default:focus {
		color: #fff;
		background-color: #8f172a;
		border: solid 2px rgba(143, 23, 42, 1.00);
	}
	
	.btn-red {
		display: block;
		font-size: 1em;
		color: #8f172a;
		background-color: #fff;
		padding: 6px 10px 5px 10px;
		margin-top: 1em;
		border: solid 2px rgba(143, 23, 42, 1.00);
		transition: 0.5s ease-out;
		border-radius: 0px;
	}
	.btn-red:hover,
	.btn-red:focus {
		color: #fff;
		background-color: #8f172a;
		border: solid 2px rgba(143, 23, 42, 1.00);
	}
	
	.drawing {
		width: 100%;
	}

	.page-image {
		width: auto;
		margin: 1em 0;
		text-decoration: none !important;
	}

	@media (min-width: 768px) and (max-width: 991px) {

		.page-image {
			width: auto;
		}
	}

	@media (min-width: 320px) and (max-width: 767px) {

		.page-image {
			width: 100%;
		}
	}

	figure img {
		width: 100%;
		text-align: center;
		border: solid 5px #cec4c7;
		outline: solid 2px #cec4c7;
		overflow: hidden;
		transition: 0.7s ease;
	}
	figure img:hover,
	figure img:focus {
		border: solid 5px #fff;
		-webkit-filter: contrast(150%) grayscale(40%);
		filter: contrast(150%) grayscale(40%);
	}

	figcaption {
		font-size: 1.1em;
		color: #a0989a;
		margin: 1em 0;
	}
	
	a.thumbnail {
		display: table-cell;
		background-color: #fff;
		border: solid 5px #cac0c3;
		outline: solid 2px #cac0c3;
		padding: 0;
		border-radius: 0;
	}
	a.thumbnail:hover,
	a.thumbnail:focus,
	a.thumbnail.active {
		border: solid 5px #fff;
		outline: solid 2px #cec4c7;
		-webkit-filter: contrast(150%) grayscale(40%);
		filter: contrast(150%) grayscale(40%);
	}

	.thumbnails {
		margin-bottom: 0;
		margin-left: 0;
		padding: 0;
		list-style: none;
		transform: scale(1);
		transform-origin: 0 0;
	}
	
	.thumbnails::before,
	.thumbnails::after {
		display: inline;
		line-height: 0;
		content: "";
	}
	
	.thumbnails::after {
		clear: both;
	}
	
	.row-fluid .thumbnails {
		margin: 0;
	}
	
	.thumbnails > li {
		float: left;
		margin-bottom: 20px;
		margin-left: 0;
	}
	
	.gallery-span {
		padding-right: 20px;
		margin: 0;
	}
	
	.pagination {
	margin: 20px 0;
	border-radius: 4px;
	}
	
	.pagination > li > a,
	.pagination > li > span {
	color: #82797b;
	padding: 3px 12px;
	background-color: rgba(255, 255, 255, 0.50);
	border: 1px solid rgba(255, 255, 255, 0.70);
	}
	
	.pagination > li > a:hover,
	.pagination > li > span:hover,
	.pagination > li > a:focus,
	.pagination > li > span:focus {
	z-index: 2;
	color: #82797b;
	background-color: rgba(255, 255, 255, 1.00);
	border-color: #fff;
	}
	
	.pagination > .active > a,
	.pagination > .active > span,
	.pagination > .active > a:hover,
	.pagination > .active > span:hover,
	.pagination > .active > a:focus,
	.pagination > .active > span:focus {
	z-index: 3;
	color: #fff;
	cursor: default;
	background-color: #82797b;
	border-color: #bbc3c8;
	}
	
	.pagination > .disabled > span,
	.pagination > .disabled > span:hover,
	.pagination > .disabled > span:focus,
	.pagination > .disabled > a,
	.pagination > .disabled > a:hover,
	.pagination > .disabled > a:focus {
	color: rgba(100, 112, 120, 0.50);
	background-color: rgba(255, 255, 255, 0.50);
	border-color: rgba(255, 255, 255, 0.30);
	margin-top: -1px;
	}
	
	caption {
		font-size: 1.4em;
		line-height: 1;
		padding-top: 0.8em;
		padding-bottom: 0.5em;
		color: #004fa2;
		text-align: left;
	}
	caption > small {
		font-size: 80%;
		letter-spacing: 0em;
	}
	
	/* simple table layout with no lines
	--------------------------------- */
	.table-simple {
		font-size: 0.9em;
		margin-bottom: 1em;
		border-top: solid 2px rgba(255, 255, 255, 0.0);
		border-bottom: solid 2px rgba(255, 255, 255, 0.0);
	}
	
	.table-simple > thead > tr > th,
	.table-simple > tbody > tr > th,
	.table-simple > tfoot > tr > th,
	.table-simple > thead > tr > td,
	.table-simple > tbody > tr > td,
	.table-simple > tfoot > tr > td {
		padding: 7px 0;
		line-height: 1.3;
		text-indent: 0;
		vertical-align: top;
		border-top: none;
	}
	
	.table-simple > tbody > tr > td:first-child {
		padding-right: 2em;
	}
	/* end simple table
	--------------------------------- */
	
	.table {
		font-size: 0.9em;
		margin-bottom: 1.5em;
		border-top: solid 2px #c7b8bb;
		border-bottom: solid 2px #c7b8bb;
	}
	
	.table > thead > tr > th,
	.table > tbody > tr > th,
	.table > tfoot > tr > th,
	.table > thead > tr > td,
	.table > tbody > tr > td,
	.table > tfoot > tr > td {
		padding: 10px 5px;
		line-height: 1.3;
		text-indent: 0;
		vertical-align: top;
		border-top: solid 1px #c7b8bb;
	}
	
	.table > thead > tr > th,
	.table > thead > tr > td {
		font-weight: 400;
		color: #000;
		border-bottom: solid 2px #c7b8bb;
	}
	
	.table-hover > tbody > tr:hover {
		background-color: rgba(228, 219, 218, 0.20);
	}
	
	.table > thead > tr > td.active,
	.table > tbody > tr > td.active,
	.table > tfoot > tr > td.active,
	.table > thead > tr > th.active,
	.table > tbody > tr > th.active,
	.table > tfoot > tr > th.active,
	.table > thead > tr.active > td,
	.table > tbody > tr.active > td,
	.table > tfoot > tr.active > td,
	.table > thead > tr.active > th,
	.table > tbody > tr.active > th,
	.table > tfoot > tr.active > th {
		background-color: rgba(226, 219, 218, 0.60);
	}
	.table-hover > tbody > tr > td.active:hover,
	.table-hover > tbody > tr > th.active:hover,
	.table-hover > tbody > tr.active:hover > td,
	.table-hover > tbody > tr:hover > .active,
	.table-hover > tbody > tr.active:hover > th {
		background-color:rgba(226, 219, 218, 0.20);
	}
	
	.tooltip-inner {
		background-color: #475059;
	}
	
	.no-padding {
		padding: 0;
	}



/*	----------------------------------------------
	media queries
	------------------------------------------- */

/*portrait and landscape phone*/
@media (min-width: 320px) and (max-width: 767px) {
	
	main {
		padding: 0 1em;
	}

	article {
		padding-top: 0;
	}
	
	.navbar-collapse {
		padding-right: 15px;
		padding-left: 15px;
	}
	
	.row {
		margin-right: 0;
		margin-left: 0;
	}
	
	.col-xs-5th,
	.col-sm-5th {
		width: 100%;
		float: left;
	}
	
	.navbar .navbar-nav {
		min-height: 50px;
		padding-left: 0;
		margin: 0;
	}

	.navbar-default .navbar-nav > li {
		margin: 0 0;
	}
	.navbar-default .navbar-nav > li > a {
		padding: 10px;
	}

	.navbar-default .navbar-nav > .active > a {
		-webkit-transform: skew(0deg);
		-moz-transform: skew(0deg);
		-ms-transform: skew(0deg);
		-o-transform: skew(0deg);
		transform: skew(0deg);
	}
	.navbar-default .navbar-nav > .active > a:hover,
	.navbar-default .navbar-nav > .active > a:focus {
		-webkit-transform: skew(0deg);
		-moz-transform: skew(0deg);
		-ms-transform: skew(0deg);
		-o-transform: skew(0deg);
		transform: skew(0deg);
	}
	
	/* .logo-align {
		text-align: center;
	} */
	.logo-size {
		width: 65%;
		margin-top: 30px;
		margin-bottom: 2em;
		margin-left: 30px;
		transition: 0.5s ease-in-out;
	}

	.bg-quick-facts {
		background-image: none;
	}
	
	.carousel-inner > .item > img,
	.carousel-inner > .item > a > img {
		max-width: 120%;
		margin-left: -7.5%;
	}
	
	.slider-margin {
		margin-top: 0;
	}
	
	.hash-anchor-padding {
		display: inline-block;
		height: 0;
		margin-top: 0;
		visibility: hidden;
	}
	
	.bg-search {
		background-color: #8f172a;
		padding: 0 1em .5em 1em;
	}
	
	/*style to move td's below one another on mobiles*/
	.table > thead > tr > th,
	.table > thead > tr > td {
		display: block;
		width: 100%;
		text-align: left;
		text-indent: 0;
		padding: 0.75em;
		border-top: none;
		border-bottom: none;
	}
	.table > tbody > tr > th,
	.table > tbody > tr > td {
		display: block;
		width: 100%;
		text-align: left;
		padding: 0.5em;
		border-top: solid 1px rgba(199, 184, 187, 0.50);
		border-bottom: none;
	}
	.table > thead > tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	.table > tbody > tr {
		border-bottom: solid 2px #c7b8bb;
	}
	
	.table-stack > tbody > tr > td::before {
		content: attr(title) "\A";
		white-space: pre-wrap;
		font-size: 1em;
		line-height: 1.3;
		color: #82797b;
		letter-spacing: 0em;
	}
	
	img {
		width: auto;
		text-align: center;
	}
	
	.drawing {
		width: 70%;
	}
	
	.padding-content {
		padding: 1em 1.25em;
	}
	
	.padding-left-sm-1em {
		padding-left: 0;
	}
	.padding-right-sm-1em {
		padding-right: 0;
	}
	
	.padding-left-sm-2em {
		padding-left: 0;
	}
	.padding-right-sm-2em {
		padding-right: 0;
	}
	
	.margin-left-sm-1em {
		margin-left: 0;
	}
	.margin-right-sm-1em {
		margin-right: 0;
	}
	
	.margin-left-sm-2em {
		margin-left: 0;
	}
	.margin-right-sm-2em {
		margin-right: 0;
	}
	
	.back-to-top i {
		font-size: 3em;
		border: none;
	}
	
	.footer-credits {
		text-align: left;
		border-top: solid 2px #e8e1e2;
		margin: 2em 1.35em 9em 1.35em;
	}
	
	
	/*style to hide certain content elements from mobile view*/
	.hide-content {
		display: none;
	}
	
	ul.custom-ul-li {
		list-style: outside;
		margin-left: -1.4em;
		margin-top: 0.5em;
		margin-bottom: 1em;
	}
	ul.custom-ul-li > li {
		list-style-type: none;
		text-indent: 0em;
		padding-left: 0.25em;
		margin-bottom: 0.25em;
	}
	ul.custom-ul-li > li::before {
		content: '\25A0';
		color: #82797b;
		margin-left: -1.2em;
		padding-right: 10px;
		vertical-align: 0.1em;
	}
	
	ol {
		width: 90%;
		margin-left: 0.25em;
	}
	ol > li {
		margin-left: 1.5em; /*lines text up on the left within block container above*/
		text-indent: -0.5em; /*move first line of numbered text left: 1.{  }Content*/
		margin-bottom: 1em;
	}
	ol > li::before {
		width: 1em; /*.. set fixed width*/
		margin-left: -0.8em; /*necessary to preserve spacing of text rows below first line*/
		padding-right: 1.25em; /*spacing after 1.: 1.{  }Content*/
	}
	ol ol {
		width: auto;
	}
	ol ol > li {
		margin-left: 0;
		text-indent: -0.75em;
	}
	ol ol > li::before {
		width: 2.95em;
		margin: 0 0 0 -2.2em;
	}
	ol ol ol > li {
		margin-left: 0.03em;
		text-indent: -1.875em;
	}
	ol ol ol > li::before {
		width: 1.85em;
	}
	ol ol ol ol > li {
		margin-left: -0.03em;
		text-indent: -1.875em;
	}
	ol ol ol ol > li::before {
		width: 1.85em;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	
	main {
		padding: 0 2em;
	}
	
	row {
		margin-right: 0;
		margin-left: 0;
	}
	
	.col-md-5th {
		width: 50%;
		float: left;
	}
	
	.logo-align {
		text-align: center;
	}
	.logo-size {
		width: 340px;
		margin-top: 2em;
		margin-bottom: 4em;
		transition: 0.5s ease-in-out;
	}
	
	.navbar {
		margin: 0 auto;
	}
	
	.navbar .navbar-nav {
		min-height: 50px;
	}

	.carousel-caption {
		font-size: 1em;
	}
	
	.carousel-caption .caption-title {
		font-size: 1.3em;
	}
	
	.footer-credits {
		border-top: solid 2px #e8e1e2;
		margin: 2em 3em 9em 3em;
	}
}

/*	----------------------------------------------
	flash gala colour buttons
	------------------------------------------- */

	.btn-flash-gala-red {
		display: inline-block;
		font-size: 1em;
		color: #fff;
		background-color: rgba(143, 23, 42, 1.00);
		padding: 6px 10px 4px 10px;
		margin-top: 0.7em;
		margin-right: 0.5em;
		border: solid 2px rgba(143, 23, 42, 1.00);
		transition: 0.5s ease-out;
		border-radius: 0px;
	}
	.btn-flash-gala-red:hover,
	.btn-flash-gala-red:focus {
		color: rgba(143, 23, 42, 1.00);
		background-color: #fff;
		border: solid 2px rgba(143, 23, 42, 1.00);
	}

	.btn-flash-gala-black {
		display: inline-block;
		font-size: 1em;
		color: #fff;
		background-color: rgba(0, 0, 0, 1.00);
		padding: 6px 10px 4px 10px;
		margin-top: 0.7em;
		margin-right: 0.5em;
		border: solid 2px rgba(0, 0, 0, 1.00);
		transition: 0.5s ease-out;
		border-radius: 0px;
	}
	.btn-flash-gala-black:hover,
	.btn-flash-gala-black:focus {
		color: rgba(0, 0, 0, 1.00);
		background-color: #fff;
		border: solid 2px rgba(0, 0, 0, 1.00);
	}

	.btn-flash-gala-green {
		display: inline-block;
		font-size: 1em;
		color: #fff;
		background-color: rgba(65, 173, 73, 1.00);
		padding: 6px 10px 4px 10px;
		margin-top: 0.7em;
		margin-right: 0.5em;
		border: solid 2px rgba(65, 173, 73, 1.00);
		transition: 0.5s ease-out;
		border-radius: 0px;
	}
	.btn-flash-gala-green:hover,
	.btn-flash-gala-green:focus {
		color: rgba(65, 173, 73, 1.00);
		background-color: #fff;
		border: solid 2px rgba(65, 173, 73, 1.00);
	}


/*	----------------------------------------------
	cookie popup styles
	------------------------------------------- */

.consent {
	display: none;
}

.js .consent {
	display: block;
} /* show bar only if JS enabled */

.consent {
	/*display: block;*/
	position: fixed;
	left: 0;
	bottom: 85px;
	width: 100%;
	text-align: center !important;
	background-color: #000;
	padding: 15px 30px;
	-webkit-animation: fadeBar 1s 1s both;
	animation: fadeBar 1s 1s both;
}

.consent p,
.consent span {
	display: inline;
	font-size: 14px;
	font-weight: 400;
	text-align: center !important;
	line-height: 1 !important;
	color: #8ac340;
}

.consent a {
	font-weight: 400;
	text-transform: uppercase;
	text-decoration: none;
	color: #8ac340;
	letter-spacing: 0.05em;
	padding: 6px 10px 5px 10px;
	margin-left: 5px;
	border: solid 1px #8ac340;
}
.consent a:hover,
.consent a:focus {
	color: #fff;
	border: solid 1px #fff;
}

.consent button {
	padding: 8px 20px;
	font-weight: bold;
	color: #000;
	background-color: #8ac340;
	margin-left: 5px;
	border: none;
}

.consent button:hover {
	background: #fff;
	cursor: pointer;
}

@media (max-width: 767px) {

	.consent p {
		margin-bottom: 20px !important;
	}

	.consent span {
		display: block;
		margin-top: 20px;
	}

	.consent button {
		margin-top: 20px;
		margin-bottom: 20px;
	}
} 

@-webkit-keyframes fadeBar {
	0% { opacity:0; -webkit-transform:translateY(100%); transform:translateY(100%) }
	100% { opacity:1; -webkit-transform:none; transform:none }
	}
@keyframes fadeBar {
	0% { opacity:0; transform:translateY(100%) }
	100% { opacity:1; transform:none }
	}