/*
Theme Name: Wild Goose Space 06
Theme URI: http://wildgoosespace.org.uk/
Author: Doc & Tee Ltd
Author URI: https://www.docandtee.com
Description: Custom theme for 2016.
Version: 1.0
Text Domain: wildgoose06
*/


object.svg {
	max-width: 100%;
	height: auto;
}

#masthead {
	padding-top: 20px;
	padding-bottom: 20px;
}

#colophon {    
	background: #398442;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
	margin-top: 30px;
}

#map {
	margin-bottom: 40px;
}

img.facebook {
	display: inline-block;
    margin-right: 5px;
}

/* Typography */

body {
	/*background: url(images/bg.png); */
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	line-height: 1.6;
	color: #231F20;
}

h1, h2, h3 {
	font-family: 'Julius Sans One', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
}

a {
    color: #398442;
}

p {
    margin: 0 0 16px;
}

.home .entry-content {
	font-size: 22px;
    text-align: center;
    font-family: 'Julius Sans One', sans-serif;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 2px dotted #d4d4d4;
}


/* Tribe events */

.tribe-mini-calendar-event,
#cff .cff-item {
    border-bottom: 2px dotted #d4d4d4 !important;
}

#tribe-events-content .tribe-events-calendar td, #tribe-events-content table.tribe-events-calendar {
    border: 1px solid #bbb;
    background: #fff !important;
}


/* Buttons */

.btn-action {
    text-shadow: none;
    background-image: none;
    border: 0;
    background: #398442;
    color: #fff;
    text-transform: uppercase;
}

/* Images*/

.post-thumbnail {
    position: relative;
    width: 200%;
    height: 500px;
    overflow: hidden;
    left: -50%;
	padding-bottom: 30px;
}

.post-thumbnail-wrap {
	padding-bottom: 30px;
}

.post-thumbnail img {
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 50%;
    max-width: none;
}

@media (max-width: 992px) {
	
	.alignright {
		text-align: center;
	}
  
	.post-thumbnail {
		width: 100%;
		left: 0;
	}

	.post-thumbnail img {
		width: 100%;
	}
	
}

@media (max-width: 768px) {
	.post-thumbnail {
		height: auto;
	}
	
	.post-thumbnail img {
		position: relative;
	}
	
	.post-thumbnail-wrap {
		padding-bottom: 0;
	}

}
/* Menu */

.navbar-nav {
	float: none;
}

.navbar-nav>li {
	float: none;
	display: inline-block;
}

.navbar-nav>li>a {
	font-family: 'Julius Sans One', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 16px;
	color: #000;
	padding: 10px;
}

.nav > li > a:hover,
.nav > li > a:focus {
	background-color: transparent;
	text-decoration: none;
	color: #398442;
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
	background-color: transparent;
	text-decoration: underline;
}

.navfont.aligncenter .navbar-nav {
    float: none;
}

.navfont.aligncenter .navbar-nav>li {
    float: none;
	display: inline-block;
}

.nav li.dropdown {
	-o-transition: background-color 0.3s ease;
	-moz-transition: background-color 0.3s ease;
	-webkit-transition: background-color 0.3s ease;
	transition: background-color 0.3s ease;
}
.nav li.dropdown.open {
	background-color: rgba( 255,255,255, 0.8 );
}
.nav li.dropdown > a {
	-o-transition: color 0.3s ease;
	-moz-transition: color 0.3s ease;
	-webkit-transition: color 0.3s ease;
	transition: color 0.3s ease;
}
.nav li.dropdown.open > a {
	color: #231F20 !important;
}
.nav .dropdown-menu {
	border: none;
	background-color: rgba( 255,255,255, 0.8 );
}
.nav .dropdown-menu a {
	color: #231F20 !important;
}

/* Mobile Menu */

#mobile-nav {
	text-align: right;
	padding: 6px 10px 0 10px;
	background-color: #000;
}

.dtmenu {
	font-size: 15px;
}
.dtmenu,
.dtmenu a {
	color: #FFF;
}
.dtmenu .scrtxt {
	display: none;
}
.dtmenu .mc-wrap {
	position: relative;
	color: #FFF;
	font-size: 2em;
	z-index: 99999999999999999;
}
.dtmenu.menu-open .mc-wrap {
	color: #FFF;
}
.dtmenu .menu-wrap {
	position: fixed;
	display: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba( 0, 0, 0, 0.9 );
	overflow: auto;
	z-index: 999999;
}
.dtmenu .menu-wrap > div {
	position: relative;
	display: table;
	width: 100%;
	height: 100%;
}
.dtmenu .menu-wrap > div > div {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 0 10%;
}

.dtmenu .mttl {
	padding-bottom: 20px;
	margin: 0;
	border-bottom: 1px solid #FFF;
	font-weight: 700;
}

.dtmenu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.dtmenu li {
	margin: 0;
	padding: 5px 0;
}
.dtmenu li:hover {
	background-color: rgba( 0, 0, 0, 0.8 );
}
.dtmenu .toplvl > li {
	padding: 20px 0;
	border-bottom: 1px solid #FFF;
}
.dtmenu .toplvl > li > a {
	font-size: 1.3em;
}

/* Alignments */

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.alignright {
	text-align: right;
}
	
.aligncenter {
	text-align: center;
}

.table-wrap {
	display: table;
	height: 100%;
	width: 100%;
}

.cell-wrap {
	display: table-cell;
	vertical-align: middle;
}


/* Images */

img {
	height: auto;
    max-width: 100%;
}
.nojs img.lazy {
	display: none;
}

/* Google Maps */

#map-container {
	margin-bottom: 20px;
}

#map-archive {
	height: 500px;
	margin-top: 20px;
}
#map-archive img {
	max-width: none;
}

#mapping {
	position: relative;
	width: 100%;
	height: 100%;
	margin: auto;
	
}
#mapping #map-archive {
	position: relative;
	z-index: 100;
}
#mapping .loading {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba( 0,0,0, 0.4 );
	z-index: 200;
	display: none;
}
#mapping .loading .loadimg {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

@media ( max-width: 768px ) {
	
	#mapping {
		width: 80%;
	}
	
	#map-archive {
		height: 350px;
	}
	
}

/* Admin bar */

body.admin-bar {
	padding-top: 32px;
}

/* Isotope filters. */

#filter-area {
	margin-left: -2px;
	margin-right: -2px;
}
#filter-area .filter-col {
	padding-left: 2px;
	padding-right: 2px;
}

#post-filters {
	width: 100%;
	margin-bottom: 30px;
}

#filter-dropdowns {
	position: relative;
	width: 100%;
}

#filter-dropdowns > legend {
	position: relative;
	width: 100%;
	background-color: #E25A2C;
	border: none;
	padding: 8px 52px 8px 15px;
	color: #FFF;
	border-radius: 5px 5px 5px 5px;
	cursor: pointer;
	margin: 0;
}
#filter-dropdowns.expanded > legend {
	border-radius: 5px 5px 0 0;
}

#filter-dropdowns > legend:after {
	position: absolute;
	width: 22px;
	height: 21px;
	top: 12px;
	right: 15px;
	content: '';
	background: transparent url( 'images/plus-white.png' ) no-repeat center center;
}
#filter-dropdowns.expanded > legend:after {
	background-image: url( 'images/minus-white.png' );
}

#filters-inner {
	padding: 0 10px;
	border-left: 1px solid #E25A2C;
	border-right: 1px solid #E25A2C;
	border-bottom: 1px solid #E25A2C;
}

#filter-dropdowns .filter {
	padding-top: 20px;
	padding-bottom: 20px;
}

#filter-dropdowns .filter .filter-label,
#filter-dropdowns .filter .filter-dropdown {
	width: 100%;
}

#filter-controls {
	padding-bottom: 20px;
}

#filter-controls #filter-submit {
	display: none;
}

#filtered-posts #loading-wrapper {
	position: relative;
}
#filtered-posts #the-isotope {
	position: relative;
	z-index: 100;
}
#filtered-posts #filtered-loading {
	position: absolute;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba( 0,0,0, 0.4 ) url( 'images/loading.gif' ) no-repeat center center;
	z-index: 900;
}

/* Isotope grid & map. */

#listgrid.partner {
	padding-top: 8px;
	text-align: center;
}
@media ( max-width: 768px ) {
	#post-filters {
		margin-bottom: 20px;
	}
	#listgrid.partner {
		padding-top: 0;
		margin-bottom: 20px;
	}
}
#listgrid.standalone {
	margin-bottom: 20px;
	text-align: right;
}
#listgrid .scr {
	display: none;
}
#listgrid .glyphbutton {
	color: #E25A2C;
	font-size: 1.6em;
}
#listgrid .glyphbutton:not( :last-of-type ) {
	margin-right: 10px;
}

.isotope {
	margin-right: -15px;
	margin-left: -15px;
}
.isotope .box {
	padding-right: 15px;
	padding-left: 15px;
	padding-bottom: 30px;
}
.isotope .box a {
	text-decoration: none;
}

.isotope.grid-view .box {
	width: 33.33333333333333%;
	word-wrap: break-word;
}
.isotope.grid-view .box h4 {
	color: #FFF;
}
.isotope.grid-view .box .excerpt {
	display: none;
}
.isotope.grid-view .box .box-inner {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
}
.isotope.grid-view .box .box-thumb {
	width: 100%;
	height: auto;
	-o-transition: transform 0.3s ease;
	-ms-transition: transform 0.3s ease;
	-moz-transition: transform 0.3s ease;
	-webkit-transition: transform 0.3s ease;
	transition: transform 0.3s ease;
}
.isotope.grid-view .box .box-wrap-1 {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.isotope.grid-view .box .box-wrap-2 {
	display: table;
	width: 100%;
	height: 100%;
}
.isotope.grid-view .box .box-wrap-3 {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 10px 5%;
	background-color: rgba( 0,0,0, 0.3 );
	-o-transition: background-color 0.3s ease;
	-ms-transition: background-color 0.3s ease;
	-moz-transition: background-color 0.3s ease;
	-webkit-transition: background-color 0.3s ease;
	transition: background-color 0.3s ease;
}

.isotope.grid-view .box:hover .box-thumb {
	transform: scale( 1.1 );
}
.isotope.grid-view .box:hover .box-wrap-3 {
	background-color: rgba( 0,0,0, 0.1 );
}

.isotope.list-view .box {
	width: 100% !important;
	padding-bottom: 20px;
}
.isotope.list-view .box a:hover,
.isotope.list-view .box a:focus,
.isotope.list-view .box a:active {
	text-decoration: none;
}
.isotope.list-view .box h4 {
	margin-top: 0;
}
.isotope.list-view .box .excerpt a {
	font-weight: 400;
	color: #000;
}
.isotope.list-view .box .box-wrap-1 {
	position: relative;
	float: right;
	width: 80%;
	padding-left: 3%;
}

@media ( min-width: 550px ) {
	.isotope.list-view .box .boximg {
		position: relative;
		float: left;
		width: 20%;
		height: 0;
		overflow: hidden;
		padding-bottom: 12%;
	}
	.isotope.list-view .box .box-thumb {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		margin: auto;
	}
}
@media ( min-width: 550px ) and ( max-width: 1024px ) {
	.isotope.list-view .box .boximg {
		width: 30%;
	}
	.isotope.list-view .box .box-wrap-1 {
		width: 70%;
	}
	.isotope.list-view .box .boximg {
		padding-bottom: 16%;
	}
}
@media ( min-width: 550px ) and ( max-width: 992px ) {
	.isotope.list-view .box .boximg {
		padding-bottom: 21%;
	}
}
@media ( max-width: 550px ) {
	.isotope.list-view .box .boximg {
		width: 100%;
		float: none;
		clear: both;
	}
	.isotope.list-view .box .box-wrap-1 {
		width: 100%;
		float: none;
		clear: both;
		margin-top: 20px;
		margin-bottom: 20px;
		text-align: center;
	}
}


/* Isotope gallery. */

.isotope-gallery {
	margin-right: -8px;
	margin-left: -8px;
}
.isotope-gallery .gallery-box {
	padding: 8px;
	width: 33.33333333333333%;
}
.isotope-gallery .imgbox img {
	width: 100%;
}

/* Custom Bootstrap Container Width Override */

@media (min-width: 768px) {
  .container {
    width: 750px !important;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px !important;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px !important;
  }
}

@media (min-width: 1500px) {
  .container {
    width: 1400px !important;
  }
}


@media (max-width: 992px) {
	
	.alignright {
		text-align: center;
	}
}
