/*
Theme Name: Capturing Cambridge
Theme URI: http://www.thedistrict.co.uk
Author: The District
Author URI: http://www.thedistrict.co.uk
Description: Official Capturing Cambridge Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capturingcambridge
*/

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

/* ---------------------------------------------------------------------- */

/* hide the side description */
.site-description {
  display: none;
}

/* padding around image comparison */
.wp-block-image-comparison-image-comparison {
    padding-bottom: 32px;
}

/* ---------------------------------------------------------------------- */

/* custom styles */
/*@import url("//hello.myfonts.net/count/2af5ff");*/

@font-face {
    font-family: 'AvenirLTStd-Roman';
    src: url('webfonts/AvenirLTStd-Roman.eot');
    src: url('webfonts/AvenirLTStd-Roman.eot?#iefix') format('embedded-opentype'),
         url('webfonts/AvenirLTStd-Roman.ttf') format('truetype'),
         url('webfonts/AvenirLTStd-Roman.woff') format('woff');
}

/* ---------------------------------------------------------------------- */

body, html {
  width: 100%;
  min-height: 100%;
  font-family: 'Montserrat', sans-serif;
  color: #FFF;
  background-color: #63c9a6;
  padding: 0px 0px 0px 0px;
}

.fade {
  opacity: 0.5;
}

.mobileOnly {
  display: none;
}

* {
  -webkit-touch-callout: none;
  /* prevent callout to copy image, etc when tap to hold */
  -webkit-text-size-adjust: none;
  /* prevent webkit from resizing text to fit */
  -webkit-tap-highlight-color: rgba(0,0,0,0);
 /* prevent tap highlight color / shadow */
  -webkit-user-select: text;
  /* prevent copy paste, to allow, change 'none' to 'text' */;
}

/* ---------------------------------------------------------------------- */
/* spin animation */

.spin {
  -webkit-animation: myfirst 5s;
}

@-webkit-keyframes myfirst {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

/* ---------------------------------------------------------------------- */

html {
  -webkit-font-smoothing: antialiased;
}

body {
}

/* ---------------------------------------------------------------------- */
/* page */
#page {
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}

#intro {
  background-color: rgba(0,0,0,0.8);
  position: absolute;
  z-index: 100;
  top: 10%;
  left: 10%;
  width: 40%;
  padding: 1%;
}

#intro h2 {
  font-size: 3em;
  letter-spacing: 2px;
  margin-bottom: 1em;
  text-transform: uppercase;
}

#intro p {
  line-height: 120%;
  font-size: 0.8em;
}

#intro p a {
  color: #FFF;
}

#intro p a:hover {
  color: #63c9a6;
}

/* ---------------------------------------------------------------------- */

/*containers */
#toolbar,
#firstContainer, #secondContainer,
#sidebar,
#projectContainer, #detailContainer {
  float: left;
  height: 100%;
  background-position: center center;
  background-size: 110% auto;
}

/* ---------------------------------------------------------------------- */
/* toolbar */

#toolbar {
  width: 4%;
  background-color: #63c9a6;
}

#toolbar a {
  display: block;
  width: 60%;
  padding: 25% 20%;
}

#toolbar a:hover {
  opacity: 0.8;
}

#toolbar ul {
  list-style-type: none;
}

#toolbar ul li {
  text-align: center;
}

#toolbar li img {
  width: 80%;
  text-align: center;
}

#toolbar .breakout {
  margin-bottom: 0.3em;
} /* was margin-bottom:2em */
#toolbar li .menuLink img {
  width: 70%;
}

#toolbar .highlight {
  background-color: rgba(255,255,255,0.1);
}

#toolbar #tag {
  text-align: center;
  width: 100%;
}

/* ---------------------------------------------------------------------- */

#quick {
  position: absolute;
  bottom: 0px;
  width: 4%;
}

#quick .breakout {
  margin-bottom: 0px;
}

/* ---------------------------------------------------------------------- */
/* first container */
.page-template-content-homepage #firstContainer {
  background-size: auto;
}

#firstContainer {
  width: 38%;
  /*background-color:#FFF;*/
  overflow: hidden;
  background-size: cover;
}

/* ---------------------------------------------------------------------- */
#slide-window {
  position: absolute;
  width: 38%;
  height: 100%;
  overflow: hidden;
}

#slide-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  height: 100%;
  float: left;
  background-repeat: no-repeat;
  background-size: cover;
  width: 38%;
}

/* ---------------------------------------------------------------------- */

#mainNav,
#mapCanvas {
  width: 38%;
  height: 100%;
  background-color: #63c9a6;
  display: none;
  position: absolute;
  z-index: 101;
  top: 0px;
}

#mainNav {
  z-index: 102;
}

#mapCanvas {
  display: block;
}

#mapZoomControls {
  display: none;
  position: relative;
  z-index: 103;
  list-style-type: none;
  padding: 0px;
  width: 4%;
  bottom: 0px;
  left: 38%;
}

.single #page ul#slideShowControls,
.category #page ul#mapZoomControls,
.page-template-page-templatescontent-project-php #page ul#mapZoomControls,
.page-template-page-templatescontent-archive-php #page ul#mapZoomControls,
.page-template-page-templatesfull-width-php #page ul#mapZoomControls,
.search-results #page ul#mapZoomControls {
  display: none;
}

#mapZoomControls {
  position: absolute;
}

.search-results #page ul#mapZoomControls {
  display: none !important;
}

.single #page ul#mapZoomControls,
.category #page ul#mapZoomControls,
.page-template-page-templatescontent-project-php #page ul#mapZoomControls,
.page-template-page-templatescontent-archive-php #page ul#mapZoomControls,
.page-template-page-templatescontent-archive-php #page ul#mapZoomControls,
.page-template-page-templatesfull-width-php #page ul#mapZoomControls {
  left: 38%;
}

#mapZoomControls  li a, #slideShowControls li a {
  color: #FFF;
  font-size: 200%;
  text-decoration: none;
  background-color: #333334;
  text-align: center;
  font-weight: 400;
  height: 80%;
  display: block;
  width: 60%;
}

#mapZoomControls li a:hover, #slideShowControls li a:hover {
  background-color: #464547;
}

#mapZoomControls .zoomin-box a {
  background-color: #464547;
}

#mapZoomControls a img, #slideShowControls a img {
  width: 50%;
  margin-top: 25%;
}

/* hide my location button */
#mapZoomControls li a.gps {
  display: none;
}

#slideShowControls {
  display: block;
  width: 10%;
  left: 37.95%;
  bottom: 0px;
  position: absolute;
  list-style-type: none;
}

.single #slideShowControls {
  display: none;
}

/* ---------------------------------------------------------------------- */

#mainNav strong {
  text-transform: uppercase;
  padding: 3.5% 4%;
  display: block;
  font-size: 1.0em;
  letter-spacing: 2px;
}

#mainNav ul {
  margin-top: 8em;
  margin-left: 4%;
}

#mainNav ul li {
  list-style-type: none;
}

#mainNav ul li a {
  color: #FFF;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 3em;
  transition: all 1s ease;
  font-weight: bold;
}

#mainNav ul li a:hover {
  margin-left: 1em;
  opacity: 0.5;
}

#mainNav .intro {
  margin-left: 4%;
  margin-top: 2em;
  max-width: 80%;
  line-height: 120%;
}

/* ---------------------------------------------------------------------- */
/* second container */

div#secondContainer,
div#projectContainer,
#detailContainer {
  width: 46%;
  background-color: #636466;
}

div#projectContainer {
  background-image: none;
  background-color: #636466;
  width: 58%;
  overflow-y: auto;
}

div#detailContainer {
  background-image: none;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  padding: 0 3% 0 3%;
  width: 40%;
}

#detailContainer img {
  width: 100%;
  margin: auto;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

#detailContainer small,
#detailContainer pre,
#detailContainer p.wp-caption-text,
.gallery dd {
  color: #a1a2a3;
  font-size: 0.8em;
  display: block;
  clear: both;
  margin-top: 0.5em;
  font-family: 'AvenirLTStd-Roman';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#detailContainer pre {
  margin-bottom: 2em;
  display: block;
  clear: both;
  word-wrap: break-word;
}

#detailContainer h2 {
  padding: 3% 10% 20% 0%;
  display: block;
  font-size: 3.0em;
  letter-spacing: 2px;
  line-height: 100%;
  text-transform: uppercase;
}

#detailContainer h3,
#detailContainer h3 a,
#searchResults h3,
#quick-search h3 {
  padding: 0px 20% 0em 0%;
  display: block;
  font-size: 1.0em;
  line-height: 130%;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  margin-bottom: 1em;
}

#detailContainer h3 a:hover {
  text-decoration: underline;
}

/* mark external links */
#detailContainer a:not([rel^="license"])[href^="http"]:not([href*="capturingcambridge.org"]):not([href*="cc.test"])::after {
    content: '\f442';
    display: inline-block;
    font: normal 16px/1 'Genericons';
    vertical-align: top;
}

/* ---------------------------------------------------------------------- */
/* Main page introduction text and logos */

#CCintroText {
  margin-top: 1em;
}

#detailContainer h4,
#CCintroText h4 {
  padding: 0px 20% 2em 0%;
  display: block;
  font-size: 1.0em;
  line-height: 130%;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

#CCintroText h4 span {
  font-weight: 100!important;
}

#CCintroText h4 {
  padding: 0px 10% 2em 5%;
}

#CCintroText p {
  padding: 0px 10% 0em 5%;
}

.hlf {
    /*position: absolute;*/
  bottom: 0;
  left: 0;
  padding: 0px 10% 1.4em 5%;
}

.hlf img {
  height: auto;
}

/* ---------------------------------------------------------------------- */

#detailContainer blockquote {
  padding: 1em 0em;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}

#detailContainer blockquote h3 {
  font-size: 1em;
  text-align: left;
}

#detailContainer blockquote p {
  font-size: 0.9em;
  text-align: left;
}

.page-template-page-templatescontent-archive-php #detailContainer h4 {
  margin-top: 2em;
}

#detailContainer li {
  margin-bottom: 0.3em;
}

#page div.noSidebar h3 {
  padding: 3% 30% 3% 0%;
}

#detailContainer p,
#CCintroText p,
#searchResults {
  display: block;
  font-size: 0.9em;
  line-height: 130%;
  margin-bottom: 2em;
  font-family: 'AvenirLTStd-Roman';
  font-weight: 400;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#detailContainer p a,
#detailContainer li a {
  color: #FFF;
  text-decoration: underline;
  list-style-type: none;
}

#detailContainer p a:hover,
#detailContainer li a:hover {
  color: #63c9a6;
  text-decoration: underline;
}

#detailContainer p a.nounderline {
  text-decoration: none;
}

#detailContainer p a.nounderline:hover {
  text-decoration: underline;
}

#detailContainer #tags, .tags {
  clear: both;
  width: 100%;
}

#page div.noSidebar {
  width: 52%;
}

#detailContainer ul {
  color: #ffffff;
  list-style-type: disc;
  margin-bottom: 2em;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

#detailContainer ul li {
  font-size: 0.9em;
  line-height: 130%;
  font-family: 'AvenirLTStd-Roman';
  font-weight: 400;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  text-decoration: none;
  list-style-type: disc;
  margin-bottom: 1em;
  padding-left: 2em;
}

#detailContainer ol {
  color: #ffffff;
  list-style-type: decimal;
  margin-bottom: 2em;
  width: 90%;
  margin-left: auto;
}

#detailContainer ol li {
  font-size: 0.9em;
  line-height: 130%;
  font-family: 'AvenirLTStd-Roman';
  font-weight: 400;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  text-decoration: none;
  list-style-type: decimal;
  margin-bottom: 1em;
  padding-left: 2em;
}

/* page styles */
.fullWidth strong {
  text-transform: uppercase;
  padding: 3% 4% 2% 4%;
  display: block;
  font-size: 0.8em;
}

/* ---------------------------------------------------------------------- */
/* project container */
#projectIntro {
  width: 100%;
  float: left;
  height: auto;
}

#projectContainer strong {
  text-transform: uppercase;
  padding: 3% 4% 2% 4%;
  display: block;
  font-size: 1em;
  letter-spacing: 2px;
}

#detailContainer strong {
  text-transform: uppercase;
  padding: 6% 4% 4% 0%;
  display: block;
  font-size: 1em;
  letter-spacing: 2px;
}

#detailContainer strong a {
  text-decoration: none;
  color: #FFF;
}

#detailContainer strong a:hover {
  text-decoration: underline;
}

#projectContainer h2 {
  text-transform: uppercase;
  padding: 2% 25% 20% 4%;
  display: block;
  font-size: 3em;
  letter-spacing: 2px;
  line-height: 100%;
}

/* ---------------------------------------------------------------------- */
/* archive */
#archive h2 {
  padding: 1em 0px;
}

#archive ul, .attachements {
  border-top: SOLID 1px #FFF;
  width: 100%;
}

.attachments {
  clear: both;
  padding-top: 1em;
}

#archive ul li, #detailContainer .attachments li {
  border-bottom: SOLID 1px #FFF;
  text-decoration: none;
}

#archive ul,#archive ul li {
  list-style-type: none;
}

#detailContainer #archive ul li a,
#detailContainer .attachments li a {
  color: #fff;
  width: 100%;
  display: block;
  padding: 0.5em 0em;
  font-family: 'AvenirLTStd-Roman';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
}

#archive ul li a span, .attachments li a span {
  font-size: 70%;
  float: right;
  line-height: 130%;
  padding-right: 10px;
}

/* sidebar container */
#sidebar {
  width: 12%;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

#sidebar .placeName .padding,
#projectContainer .placeName .padding {
  margin-top: 0px;
  padding: 0px;
  height: 100%;
  width: 100%;
}

/* ---------------------------------------------------------------------- */
/* blocks */
.block {
  width: 100%;
  height: 0px;
  padding-bottom: 100%;
  overflow: hidden;
  position: relative;
}

.block img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  -webkit-filter: grayscale(100%);
  transition: opacity .5s ease;
}

.block h6 {
  position: relative;
  font-size: 1em;
  color: #FFF;
  text-transform: uppercase;
}

.block h6 a {
  color: #FFF;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  padding-top: 50%;
  margin-top: -0.5em;
}

.block h6 a:hover {
  text-decoration: underline;
}

.block:hover img {
  opacity: 0.1 !important;
}

.hoverTitle {
  display: block;
/*opacity:0.8;transition:opacity .5s ease;*/;
}

.related:hover .hoverTitle,
.block:hover .hoverTitle {
  display: block;
  opacity: 1.0;
}

/* non-sidebar */
.related {
  float: left;
  width: 25%;
  height: 0px;
  padding-bottom: 25%;
  overflow: hidden;
  position: relative;
}

.related img {
  transition: opacity .5s ease;
  -webkit-filter: grayscale(100%);
  opacity: 0.5;
  width: 100%;
}

.related:hover img {
  opacity: 0.05 !important;
}

.related h6,
.single .block h6 {
  font-size: 0.9em;
  color: #FFF;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  width: 90%;
  text-align: center;
  z-index: 2;
  max-width: 95%;
  letter-spacing: 1px;
}

/* facts */
.fact {
  float: left;
  width: 25%;
  height: 0px;
  padding-bottom: 25%;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.sidebar-fact {
  float: left;
  width: 100%;
  height: 0px;
  padding-bottom: 100%;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.sidebar-fact a,
#projectContainer a {
  color: #FFF;
  text-decoration: none;
}

.sidebar-fact a img,
#projectContainer a img,
#projectsTiles a img {
  z-index: 1;
  top: 0px;
  left: 0px;
  position: absolute;
  width: 100%;
  height: auto;
  transition: opacity .5s ease;
  -webkit-filter: grayscale(100%);
}

.fact a img.landscape-image,
.sidebar-fact a img.landscape-image,
#projectContainer a img.landscape-image,
#projectsTiles a img.landscape-image {
    width: auto;
    height: 100%;
}

.sidebar-fact:hover a img,
#projectContainer .fact:hover a img {
  opacity: 0.1 !important;
}

.sidebar-fact:hover .iconOverlay,
#projectContainer .fact:hover .iconOverlay {
  opacity: 1.0 !important;
}

#projectContainer .fact {
  float: left;
  width: 25%;
  height: 0px;
  padding-bottom: 25%;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.fact .q,
.sidebar-fact .q,
#projectContainer .fact .q,
.related .q {
  font-size: 100%;
  text-transform: uppercase;
  color: #FFF;
  text-decoration: none;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding: 0;
/*    display: table;
    vertical-align: middle;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;*/
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
}

.fact .q small,
.sidebar-fact .q small,
.page-template-content-homepage .sidebar-fact small {
  font-family: 'AvenirLTStd-Roman';
  letter-spacing: 1px;
  font-size: 0.9em;
  margin-bottom: 1em;
  display: block;
  text-transform: none;
  filter: drop-shadow(2px 2px 2px #999);
}

.page-template-content-homepage .sidebar-fact small,
#projectContainer .fact small,
.page-template-page-templatescontent-archive-php .sidebar-fact small {
  display: block;
  width: 100%;
  font-size: 0.8em;
  z-index: 3;
  text-align: center;
}

.category .fact .q small {
}

.fact .q h6,
.sidebar-fact .q h6 {
  display: block;
  font-size: 0.9em;
  letter-spacing: 2px;
  width: 90%;
  text-align: center;
  padding: 0;
  margin: 0 auto;
  text-transform: uppercase;
  opacity: 1.0;
  filter: drop-shadow(2px 2px 2px #999);
}

.fact .project_description,
.sidebar-fact .project_description {
  display: none;
}

.fact:hover .project_description,
.sidebar-fact:hover .project_description {
  position: absolute;
  bottom: 20%;
  width: 100%;
  text-align: center;
  display: block;
}

.sidebar-fact .iconOverlay,
#projectContainer .iconOverlay {
  width: auto;
  height: 30px;
  bottom: 5%;
  left: 5%;
  position: absolute;
  z-index: 2;
  opacity: 1;
}

.sidebar-fact .iconOverlay img,
#projectContainer .iconOverlay img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

/* place name */
/* need to short for category page */
/* check carousel on single is disabled */
.category #page .placeName {
  background-color: #414142;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 15%;
  padding-bottom: 15%;
}

#filter {
  background-color: #414142;
  background-image: url(images/filter.png);
  background-repeat: no-repeat;
  background-position: center center;
  width: 70px;
  height: 70px;
  position: absolute;
  display: block;
  top: 10px;
  left: -70px;
  background-size: 50% 50%;
}

#filterOptions {
  position: absolute;
  top: 100px;
  left: -300px;
  background-color: #414142;
  width: 300px;
  display: block;
  height: auto;
  display: none;
  padding-bottom: 1.5em;
}

#filterOptions a {
  position: relative;
  top: initial;
  margin: 1.2em 0px 0px 0px;
  height: auto;
}

#filterOptions a:hover {
  text-decoration: underline;
}

.placeName a {
  display: block;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  position: absolute;
  margin-top: -0.5em;
  font-size: 1em;
  right: 0px;
  width: 100%;
  height: 100%;
  z-index: 2;
  text-align: center;
  top: 50%;
}

.placeName {
  background-image: url(images/logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  display: none;
}

.placeName h1 {
  text-transform: uppercase;
  margin-top: -54px;
  letter-spacing: 3px;
}

#page .placeName img {
  min-height: 200px;
  width: 100%;
  max-height: 100%;
}

/*#projectContainer .block {width:25%;float:left;overflow:hidden;}*/

#footer {
  display: none;
}

/* slideshow */
.gallery img {
  min-width: 100%;
  min-height: 100%;
  height: 100%;
  width: auto;
  z-index: 1;
  cursor: pointer;
}

.cycle-slide {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  top: 0px;
}

/* ---------------------------------------------------------------------- */
/* projects page */
#page #detailContainer .projects h3,
#page #detailContainer .projects h3 a {
  padding-bottom: 0.2em;
  padding-top: 0px;
}

.single #mapZoomControls {
  display: block;
  position: absolute;
}

.gmnoprint {
  z-index: 1;
}

.infoBox {
  margin-left: -122px;
  background-repeat: no-repeat;
  background-position: center bottom;
  margin-bottom: 21px;
  position: absolute;
}

.mapInfo {
  width: 248px;
  padding: 0px;
  background-color: white;
  box-shadow: 5px 5px 20px #AAA;
}

.mapInfo img {
  width: 100%;
  max-width: 248px;
}

.mapInfo p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.2em;
  text-align: center;
  line-height: 120%;
  margin-top: 20px;
  padding-bottom: 20px;
  letter-spacing: 0.01em;
}

.mapInfo p a {
  text-decoration: none;
}

.mapInfo p a:hover {
  text-decoration: underline;
}

#firstContainer .postMap {
  display: block;
}

#firstContainer .fullMap {
  display: block;
  width: 84%;
  z-index: 1;
}

.page-template-content-homepage #mapZoomControls {
  left: 84%;
  display: block;
  bottom: 0px;
  position: absolute;
}

.page-template-content-homepage #firstContainer #mainNav {
  display: block;
  z-index: 2;
}

#firstContainer .smallMap {
  width: 38%;
}

/* ---------------------------------------------------------------------- */
/* search form */
.search-form {
  margin-bottom: 1em;
}

.search-form .screen-reader-text {
  display: none;
}

.search-form .search-field {
  font-size: 2em;
  padding: 0.2em;
  border: none;
  font-family: Montserrat, sans-serif;
  max-width: 80%;
}

.search-form .search-submit {
  font-size: 0px;
  text-indent: -9999px;
  background-image: url(images/search.png);
  background-repeat: no-repeat;
  background-position: center center;
  height: 1.6em;
  width: 1.6em;
  font-size: 2em;
  background-color: #63c9a6;
  border: none;
  background-size: 50%;
}

/* quick search */
#quick-search {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 4%;
  right: 0px;
  height: 100%;
  width: 38%;
  display: none;
  z-index: 104;
  background-color: #63c9a6;
}

#quick-search > div {
  padding: 20px;
}

#quick-search #search-box {
  padding-top: 50px;
}

#quick-search .search-input {
  font-family: Montserrat, sans-serif;
  background-color: transparent;
  border: 3px SOLID #fff;
  font-size: 1.2em;
  text-transform: uppercase;
  text-align: center;
  width: 60%;
  padding: 3% 0em;
  left: 10%;
  position: absolute;
  letter-spacing: 2px;
  color: #FFF;
}

#quick-search button {
  font-family: Montserrat, sans-serif;
  background-color: transparent;
  border: 3px SOLID transparent;
  font-size: 1.2em;
  text-transform: uppercase;
  text-align: center;
  width: 12%;
  padding: 3% 0em;
  left: 75%;
  position: absolute;
  letter-spacing: 2px;
  color: #FFF;
  transition: all 0.5s ease-in-out;
}

#quick-search button:hover {
  border: 3px SOLID #fff;
  color: #FFF;
}

#quick-search small {
  position: absolute;
  top: 50%;
  left: 25%;
  text-align: left;
  width: 50%;
  display: block;
  margin-top: 4em;
  display: none;
}

#quick-search small a {
  text-decoration: none;
  color: #FFF;
}

::-webkit-input-placeholder {
  color: #FFF;
}

/* tag cloud display on search form */

ul.wp-tag-cloud {
  line-height: 1.9;
  margin: 20px 10px 10px 10px;
  text-align: center;
}

ul.wp-tag-cloud li {
  display: inline-block;
  padding-left: 0;
  padding-right: 0;
  list-style-type: none;
  vertical-align: middle;
}

ul.wp-tag-cloud li a {
  background-color: #777;
  border-radius: 3px;
  padding: 5px;
  text-decoration: none;
  color: #eee;
}

ul.wp-tag-cloud li a:hover {
  color: #63c9a6;
}

/* ---------------------------------------------------------------------- */
/* search results */

#searchResults div.search-result {
  width: 60%;
  float: left;
  clear: left;
}

#page div.noSidebar #searchResults h3,
#page div.noSidebar #searchResults h3 a {
  margin: 0px 0px 0.5em 0px;
  padding: 0px;
}

#searchResults .search-image-container {
  width: 20%;
  float: left;
  margin-right: 5%;
}

#searchResults img,
#searchResults .no-search-img {
  width: 100%;
  float: left;
  margin-right: 5%;
}

#searchResults .no-search-img {
  height: 7em;
}

#searchResults div.search-result {
  clear: both;
  margin-bottom: 3em;
  float: left;
}

#searchResults .searchQuote {
  width: 90%;
  text-align: center;
  padding: 5%;
}

#searchResults div.search-result div.search-content {
  text-overflow: ellipsis;
  /*height:3em;*/
  width: 75%;
  float: left;
  /* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
  -ms-word-break: break-all;
  word-break: break-all;
  /* Non standard for webkit */
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

/* ---------------------------------------------------------------------- */

#detailContainer ul.attachments {
  list-style-type: none;
  width: 75%;
  float: right;
  clear: none;
}

#detailContainer ul.attachments li {
  list-style-type: none;
}

#detailContainer #searchResults .attachments li {
  border-bottom: SOLID 1px #FFF;
  text-decoration: none;
  padding-left: 0;
}

#detailContainer #searchResults .attachments li a {
  color: #fff;
  width: 100%;
  display: block;
  padding: 0.5em 0em;
  font-family: 'AvenirLTStd-Roman';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
}

#detailContainer #searchResults .attachments li a span {
  font-size: 70%;
  float: right;
  line-height: 130%;
  padding-right: 10px;
}

/* ---------------------------------------------------------------------- */
/* contact form */

.wpcf7-form ::-webkit-input-placeholder {
  color: #AAA;
}

.wpcf7-form input,
.wpcf7-form textarea {
  font-family: Montserrat, sans-serif;
  font-size: 1em;
  border: 0;
  padding: 4%;
  width: 100%;
  box-sizing: border-box;
}

.wpcf7-form .wpcf7-submit {
  background-color: #63c9a6;
  color: #FFF;
  text-transform: uppercase;
  border: 2px SOLID #63c9a6;
}

.wpcf7-submit:focus,
.wpcf7-submit:hover {
  background-color: transparent;
}

.open {
  display: block;
}

/* ---------------------------------------------------------------------- */
/* audio-video player */

/*#mep_0 {
  margin-top: -1em;
}*/

.mejs-container {
  margin-top: 0.5em;
  margin-bottom: 1em;
  max-height: 1em;
}

.mejs-inner .mejs-controls .mejs-button button:focus {
  outline: 0;
}

.mejs-container .mejs-inner .mejs-controls {
  background: #333;
}

.mejs-inner .mejs-controls .mejs-time-rail .mejs-time-total {
  background: #333;
}

.mejs-inner .mejs-controls .mejs-time-rail .mejs-time-current {
  background: #63c9a6;
}

.mejs-inner .mejs-controls .mejs-time-rail .mejs-time-loaded {
  background: #333;
}

.mejs-inner .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
  background: #ccc;
}

.mejs-inner .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
  background: #fff;
}

.mejs-inner .mejs-controls div.mejs-time-rail {
}

.fallback {
  margin-top: 1em;
  display: block;
}

/* ---------------------------------------------------------------------- */
/* Breadcrumbs */

#detailContainer ul#breadcrumbs,
#projectContainer ul#breadcrumbs {
  list-style: none;
  margin: 0;
  overflow: hidden;
  text-transform: uppercase;
  font-size: 1.0em;
  padding: 3em 0 4% 0%;
  display: block;
  letter-spacing: 2px;
  width: 100%;
}

#projectContainer ul#breadcrumbs {
  padding: 3em 3% 4% 3%;
  width: 91%;
}

#detailContainer #breadcrumbs li,
#detailContainer #breadcrumbs li a,
#projectContainer #breadcrumbs li,
#projectContainer #breadcrumbs li a {
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
  padding: 0;
}

#breadcrumbs strong {
  font-weight: normal;
  font-size: 100%;
}

#breadcrumbs li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.2em;
}

#breadcrumbs li:last-child {
  margin-right: 0;
}

#detailContainer #breadcrumbs li.separator,
#projectContainer #breadcrumbs li.separator {
/*    font-size:18px; */
  font-weight: 100;
  color: #fff;
  text-decoration: none;
}

/* END of Breadcrumbs */

/* ---------------------------------------------------------------------- */

#simplemodal-overlay {
  background-color: #000;
}

#simplemodal-container {
  background-color: #333;
  border: 8px solid #444;
  padding: 12px;
}

/* END of MODAL */

/* ---------------------------------------------------------------------- */
/* IE fixes */

/* IE 7 */
.ie7 body {
  overflow: auto;
}
.ie7 body #sidebar {
  position: relative;
}

.ie7 #searchResults img {
  width: 120px;
  float: left;
}

.ie7 #searchResults div {
  width: 100%;
  display: block;
}

.ie7 .placeName {
  display: none;
}

.ie7 #projectIntro {
  width: 100%;
}

.ie7 #projectContainer {
  overflow-x: hidden;
}

.ie7 #projectContainer h2 {
  padding-bottom: 1em;
}

.ie7 .tags {
  height: 40px;
  display: block;
}

.ie7 #projectContainer.related img {
  width: 100%;
  top: initial;
  left: initial;
}

.ie7 .iconOverlay {
  display: none;
  width: 0px;
}

/* IE 8 */
.ie8 #detailContainer {
  padding-bottom: 100px;
}

.ie8 .mejs-container {
  margin-top: 0px;
  margin-bottom: 5px;
}

/* ---------------------------------------------------------------------- */
/* largest layout */

@media all and (min-width: 1600px) {
  #mainNav ul {
    margin-top: 9em;
  }

  .fact .q h6,
  .sidebar-fact .q h6 {
    font-size: 1.3em;
  }

  .related h6,
  .single .block h6 {
    font-size: 1.6em;
  }

  .page-template-content-homepage .sidebar-fact small,
  #projectContainer strong,
  #detailContainer strong {
    font-size: 1em;
  }

  #projectContainer h2,
  #detailContainer h2 {
    font-size: 4em;
  }
}

/* ---------------------------------------------------------------------- */
/* large layout */

@media all and (min-width: 1380px) and (max-width: 1600px) {
  body #sidebar .block {
    max-height: 285px;
  }

  body .placeName a {
    top: 50%;
    font-size: 2em;
  }

  #mainNav ul {
    margin-top: 7em;
  }

  #projectContainer h2,
  #intro h2 {
    font-size: 3.5em;
  }
}

/* ---------------------------------------------------------------------- */
/* large layout */

@media all and (max-width: 1380px) {
  #mainNav ul {
    margin-top: 6.4em;
  }

  #filter {
    width: 50px;
    height: 50px;
    left: auto;
    top: 8px;
  }

  #filterOptions {
    top: 50px;
  }

  #projectContainer .tags {
    display: none;
  }

  #projectIntro {
    width: 100%;
  }

  div.quote .padding {
    margin-top: 4em;
  }

  #projectContainer h2,
  #intro h2 {
    font-size: 3.0em;
  }

  #mainNav ul {
    margin-top: 3.5em;
  }

  #sidebar {
    width: 12%;
  }

  body #intro {
    left: 4%;
    width: 78%;
    top: 0%;
  }

  div#secondContainer {
    width: 46%;
  }

  div#detailContainer {
    width: 40%;
  }

  div#projectContainer {
    width: 58%;
  }

  #searchResults div.search-result {
    width: 85%;
  }

  #detailContainer strong {
    width: 100%;
    float: left;
  }

  .sidebar-fact .iconOverlay,
  #projectContainer .iconOverlay {
    height: 20px;
  }

  .sidebar-fact .iconOverlay img,
  #projectContainer .iconOverlay img {
    width: 20px;
    height: 20px;
  }
}

/* ---------------------------------------------------------------------- */
/* medium layout */

@media all and (max-width: 980px) {
  div#firstContainer {
    width: 24%;
  }

  div#detailContainer {
    width: 54%;
  }

  div#secondContainer {
    width: 60%;
  }

  div#sidebar {
    width: 12%;
  }

  .fact .q,
  .sidebar-fact .q,
  #projectContainer .fact .q {
    font-size: 0.7em;
  }

  body #intro {
    right: 17%;
    width: 77%;
  }

  .single #page ul#mapZoomControls,
  ul#slideShowControls {
    left: 24%;
  }

  #projectLabel {
    width: 24%;
    right: 0px;
  }

  div#projectContainer,
  #page div.noSidebar {
    width: 66%;
  }

  #firstContainer .smallMap {
    width: 24%;
  }

  #searchResults {
    float: right;
    width: 80%;
  }

  #searchResults div.search-result {
    width: 100%;
  }

  #detailContainer strong {
    width: 100%;
    float: right;
  }

}

/* ---------------------------------------------------------------------- */
/* non-phone layout */

@media all and (min-width: 768px) {
  #mainNav {
    margin-left: -1px;
  }

  #mapZoomControls li a.gps {
    display: block;
  }
}

/* ---------------------------------------------------------------------- */
/* phone layout */

@media all and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .single #page ul#mapZoomControls {
    display: none;
  }

  #mapZoomControls .gps {
    max-height: 32px;
    max-width: 32px;
  }

  #mapZoomControls a img,
  #slideShowControls a img {
    width: 32px;
  }

  body #intro {
    left: 0%;
    right: 0%;
    width: 98%;
  }

  div#toolbar,
  div#quick {
    width: 6%;
  }

  div#firstContainer {
    width: 100%;
    background-size: 0px 0px;
    background-position: -99999px;
  }

  #projectContainer .fact,
  .related {
    width: 25%;
    height: 0px;
    padding-bottom: 25%;
  }

  .fact .q,
  .sidebar-fact .q,
  #projectContainer .fact .q {
    font-size: 1em;
  }

  div#detailContainer {
    width: 41%;
    top: 0px;
    position: absolute;
    z-index: 100;
  }

  div#secondContainer,
  ::-webkit-scrollbar,
  ::-webkit-scrollbar-track {
    display: none;
  }

  div#projectContainer {
    width: 69%;
    top: 0px;
    position: absolute;
    z-index: 100;
  }

  div#sidebar {
    width: 23%;
  }

  #page div.noSidebar {
    width: 64%;
  }

  ul#mapZoomControls,
  ul#slideShowControls {
    width: 23%;
  }

  #mapZoomControls li a,
  #slideShowControls li a {
    padding: 20% 22%;
  }

  .page-template-content-homepage .sidebar-fact small,
  #projectContainer .fact small,
  .page-template-page-templatescontent-archive-php .sidebar-fact small {
    width: 100%;
  }

  #projectLabel {
    width: 35%;
    right: -2px;
  }

  body #projectContainer h2 {
    font-size: 1.5em;
    max-width: 80%;
  }

  #mainNav ul li a {
    font-size: 2em;
  }

  .search-results .open,
  .attachments {
    min-width: 0px;
    min-height: 0px;
    left: -9999px !important;
  }

  .page-template-content-homepage .sidebar-fact small,
  #projectContainer .fact small,
  .page-template-page-templatescontent-archive-php .sidebar-fact small {
    display: none;
  }

  #page {
    overflow: visible;
    height: 100%;
  }

  #page:after {
    content:;
  }

  .mobileOnly,
  .related .hoverTitle {
    display: block;
  }

  #page div.mobileHidden {
    display: none;
  }

  #toolbar #tag,
  #toolbar #quick,
  div#sidebar,
  .desktopOnly,
  div#mainNav {
    display: none;
  }

  #mapZoomControls .zoomIn,
  #mapZoomControls .zoomOut,
  ul#slideShowControls {
    display: none;
  }

  ul#slideShowControls {
    left: -300%;
  }

  #mapZoomControls .gps {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 2em;
    height: 2em;
    padding: 0.5em;
    display: none;
  }

  #page div#firstContainer {
    display: block;
  }

  div#projectContainer {
    overflow: visible;
  }

  #projectContainer h2 {
    padding-right: 4%;
    font-size: 1.5em;
    padding-bottom: 1em;
  }

  #projectLabel {
    width: 51%;
    right: -5px;
    min-height: 17%;
  }

  div#detailContainer,
  #page div.noSidebar {
    width: 94%;
  }

  #page div#secondContainer,
  div#projectContainer {
    width: 100%;
    background-size: 100% auto;
  }

  #detailContainer h2,
  #detailContainer h3 {
    font-size: 1.5em;
  }

  #detailContainer p {
    font-size: 1em;
    width: 90%;
  }

  div#toolbar {
    position: fixed;
    bottom: 0px;
    left: 0px;
    height: 4em;
    width: 100%;
    z-index: 105;
  }

  div#toolbar .breakout {
    width: 15.6em;
    margin: auto;
  }

  div#toolbar a {
    width: 5.2em;
    padding: 1.2em 0px;
  }

  div#toolbar ul li {
    width: 5.2em;
    float: left;
  }

  div#toolbar li img,
  #toolbar li .menuLink img {
    width: 32px;
  }

  .page-template-content-homepage #toolbar .mapLink {
    opacity: 1;
  }

  div#mainNav,
  div#mapCanvas,
  #firstContainer div#mapCanvas,
  .cycle-slideshow #mainNav,
  .cycle-slideshow #mapCanvas,
  #page #quick-search {
    width: 100%;
    left: 0px;
  }

  #mainNav ul {
    margin-top: 0px;
  }

  #footer {
    display: inline-block;
    width: 100%;
    height: 4em;
  }

  #quick-search .search-input {
    width: 60%;
    left: 5%;
  }

  #quick-search #close-search {
    right: 10px;
    top: 10px;
    font-size: 1.5em;
  }

  #filter {
    top: 6px;
  }

  #filterOptions a {
    font-size: 1em;
  }

  #page #searchResults {
    max-width: 100%;
  }
}

@media all and (max-width: 768px) {

  #mainNav ul li a:hover {
    margin-left: 0;
  }

  div#detailContainer,
  #page div.noSidebar {
    width: 94%;
  }

  div#firstContainer {
    width: 100%;
    left: -100%;
    min-height: 110%;
    background-size: 0px 0px;
    background-position: -99999px;
    padding-bottom: 5em;
    position: relative;
    z-index: 104;
    overflow: scroll;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  body.page-template-content-homepage div#firstContainer {
    left: 0;
  }

  div#mainNav {
     /*display:block;*/;
  }

  div#mainNav {
    overflow: visible;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  div#mainNav {
    width: 100%;
    height: 100%;
    background-size: 0px 0px;
    background-position: -99999px;
    margin-bottom: 5em;
  }

  #searchResults {
    /*background-color: green;*/
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    float: left;
    width: 100%;
  }

  #searchResults div.search-result {
    /*background-color: purple;*/;
  }

  #searchResults div.search-result div.search-content {
    /*background-color: blue;*/
    float: right;
    width: 75%;
  }

  #detailContainer h3,
  #detailContainer h3 a,
  #searchResults h3,
  #searchResults h3 a {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  #searchResults h3,
  #searchResults h3 a {
    float: left;
    width: 75%;
    font-size: 1.0em;
  }

  #detailContainer h3,
  #detailContainer h3 a,
  #searchResults h3,
  #searchResults h3 a,
  #detailContainer #archive ul li a,
  #detailContainer .attachments li a,
  #page div.noSidebar #searchResults h3,
  #page div.noSidebar #searchResults h3 a {
    /* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
    -ms-word-break: break-all;
    word-break: break-all;
    /* Non standard for webkit */
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  #detailContainer ul#breadcrumbs,
    #projectContainer ul#breadcrumbs {
    padding-left: 1.5em;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  #detailContainer h2 {
    /*background-color: pink;*/;
  }

  #detailContainer h4 {
    /*background-color: purple;*/;
  }

  #detailContainer strong {
    /*background-color: red;*/
    width: 94%;
    float: none;
  }

  #archive ul,
  .attachements {
    /*background-color: green;*/
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    float: left;
  }

  #detailContainer #searchResults ul.attachments {
    margin-bottom: 0;
  }

  #quick-search #search-box {
    padding-top: 10px;
  }

  /* better positioning for popup infobox */
  .mapInfo {
      width: 148px;
  }

  .mapInfo img {
      max-width: 148px;
  }

  .infoBox {
      margin-left: -22px;
      margin-bottom: -10px;
  }
}

/* ---------------------------------------------------------------------- */
/* phone portrait layout */

@media all and (max-width: 568px) {
  #projectContainer .fact,
  .related {
    width: 50%;
    height: 0px;
    padding-bottom: 50%;
  }
}

/* ---------------------------------------------------------------------- */

#mapCanvas {
  opacity: 1;
}

#firstContainer .smallMap {
    /*width: 37.99%;*/;
}

.single #page ul#mapZoomControls, .category #page ul#mapZoomControls, .page-template-page-templatescontent-project-php #page ul#mapZoomControls, .page-template-page-templatescontent-archive-php #page ul#mapZoomControls, .page-template-page-templatescontent-archive-php #page ul#mapZoomControls, .page-template-page-templatesfull-width-php #page ul#mapZoomControls {
    /*left: 37.99%;*/;
}

body.page-template-content-homepage #secondContainer {
    /*display:none;*/;
}

.hidden {
  position: absolute;
  top: 0;
  height: 0px;
  overflow: hidden;
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
  #mainNav ul.menu {
    margin-top: 1em;
  }
}

/* ---------------------------------------------------------------------- */
/* sharing icons */

div.sharedaddy h3.sd-title:before {
  display: none !important;
}

#detailContainer div.sharedaddy ul li {
  padding-left: 0;
}

/* ---------------------------------------------------------------------- */
/* customisations for archive pagges */

#archive li small {
  margin-top: 0;
}

#detailContainer #archive ul li a {
  margin: 0.5em 0;
  padding: 0;
}

/* ---------------------------------------------------------------------- */
/* tags display on post */

#detailContainer #tags ul {
  list-style: none;
  display: block;
  text-transform: uppercase;
  font-size: 1.0em;
  margin-left: 0;
}

#detailContainer #tags li {
  display: inline-block;
  padding: 0.25em 1em 0.25em 0;
}

#detailContainer #tags li a,
#detailContainer #breadcrumbs .navpill a {
  background-color: #777;
  border-radius: 3px;
  padding: 5px;
  text-decoration: none;
}

#detailContainer #breadcrumbs .navpill {
  display: inline-block;
  padding: 0 0 0 0.5em;
}

#detailContainer #breadcrumbs .navpills {
  float: right;
}

/* ---------------------------------------------------------------------- */
/* contribute line at bottom of post */

.single #contribute {
  margin-top: 2em;
}

/* CC license block */
.single #license img {
    width: auto;
}

/* ---------------------------------------------------------------------- */
/* gallery */

.gallery dl.gallery-item {
    float: left;
    padding: 5px;
}

/* ---------------------------------------------------------------------- */

/* new landing page */

.home #welcomeContainer {
    overflow-y: scroll;
    height: 100%; /* required for scrolling to work */
    background-color: #FCFCFC;
    color: black;
}

.home .flexRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1em;
}

@media all and (min-width: 768px) {
    .home .flexRowItem50 {
        flex-basis: 50%;
    }
    .home .supportUsLeft {
        flex-basis: 80%;
    }
    .home .supportUsRight {
        flex-basis: 10%;
    }
}

@media all and (max-width: 768px) {
    .home .flexRowItem50 {
        flex-basis: 100%;
    }
    .home .supportUsLeft {
        flex-basis: 100%;
    }
    .home .supportUsRight {
        flex-basis: 100%;
    }
}

.home .welcomeRow {
    margin-top: 1em;
}
.home #bannerRow.welcomeRow {
    margin-top: 0;
}

.home #menuRow {
    background-color: #63c9a6;
}

.home #supportedByRow img {
    margin: 0 16px;
}

.home #supportUsRow .flexRow,
.home #featuredRow .flexRow,
.home #mocRow .flexRow {
    align-items: center;
}

.home #projectsItem a {
    color: white;
    text-decoration: none;
}

.home .floatLeft {
    float: left;
}

.home #projectsTilesOuter {
    position: relative;
    margin: 10px 8px 0 8px;
}

.home #projectsTiles {
    overflow-y: scroll;
    height: 300px;
}

.home #projectsTilesOverlay {
    background: linear-gradient(transparent, #000);
    position: absolute;
    width: 100%;
    height: 30%;
    z-index: 2;
    bottom: 0;
    left: 0;
}

.dropshadow {
    filter: drop-shadow(2px 2px 2px #666);
}    

.home h1 {
    background-color: #63c9a6;
    color: #EEE;
    padding: 16px 0.5em 12px 32px;
    font-size: 36px;
}

.home h2 {
    background-color: #63c9a6;
    color: #EEE;
    padding: 0.25em 0.5em 12px 24px;
    margin: 0 8px 6px 8px;
    font-size: 26px;
    line-height: 32px;
    filter: drop-shadow(2px 2px 2px #666);
}

/* override h2 above to bleed main title to edges */
.home #menuRow h2 {
    margin-left: 0;
    margin-right: 0;
    padding-left: 32px;
}

.home h3 {
    padding-top: 0.5em;
    font-size: 24px;
    font-weight: normal;
}

.home p {
    padding-top: 0.5em;
    line-height: 1.2em;
}

.home .textPad {
    padding: 0.25em 0.5em 12px 24px;
    margin: 0 8px 6px 8px;
}

/* buttons */
.home div.button {
    background-color: #EE7324;
    border-radius: 32px;
    min-width: 100px;
    padding: 4px 34px;
    line-height: 40px;
    height: 40px;
    text-align: center;
    margin-top: 10px;
}

.home .button a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

/*
 * Menu implementation below taken from Themegrill Spacious
 * Theme URI: https://themegrill.com/themes/spacious
 * License: GNU General Public License v2 or later
 */

/* =NAVIGATION
----------------------------------------------- */
nav li > ul {
    margin: 0;
    list-style: none;
}
.main-navigation {
    float: left;
    padding-top: 5px;
    padding-bottom: 10px;
}
.main-navigation li {
    float: left;
    position: relative;
    padding: 0 0 0 32px;
}
.main-navigation ul li a {
    font-size: 18px;
    text-decoration: none;
    filter: drop-shadow(2px 2px 2px #666);
}
.main-navigation li.default-menu,
li.default-menu {
    display: none;
}
.main-navigation a {
    color: #eee;                /* brighten as bg now dark*/
    display: block;
    float: left;
    padding: 8px 0 0;           /* reduce padding so solid bg works */
    height: 30px;
    font-weight: bold;
}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a {
    color: #0FBE7C;
}

.main-navigation li:hover {
    //background: none repeat scroll 0 0 rgba(0,0,0, 0.7);
}

/* =DROP DOWN
----------------------------------------------- */
.main-navigation ul li ul,
.main-navigation ul li:hover ul ul,
.main-navigation ul ul li:hover ul ul,
.main-navigation ul ul ul li:hover ul ul,
.main-navigation ul ul ul ul li:hover ul ul {
    display:none;
    z-index: 9999;
}
.main-navigation ul li:hover ul,
.main-navigation ul ul li:hover ul,
.main-navigation ul ul ul li:hover ul,
.main-navigation ul ul ul ul li:hover ul,
.main-navigation ul ul ul ul ul li:hover ul {
    display:block;
}
.main-navigation ul li ul {
    position: absolute;
    background: none repeat scroll 0 0 rgba(0,0,0, 0.7);
    border-top: 1px solid #0FBE7C;
    top: 38px;
    left: 0;
    width: 150px;
}
.main-navigation ul li ul li {
    float: none;
    border-bottom: 1px solid #666;
    padding: 0;
}
.main-navigation ul li ul li a,
.main-navigation ul li.current-menu-item ul li a,
.main-navigation ul li ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor ul li a,
.main-navigation ul li.current-menu-ancestor ul li a,
.main-navigation ul li.current_page_item ul li a {
    float: none;
    line-height: 21px;
    font-size: 13px;
    font-weight: normal;
    height: 100%;
    padding: 6px 10px;
    color: #eee;
}

.main-navigation ul li ul li a:hover,
.main-navigation ul li ul li:hover > a,
.main-navigation ul li.current-menu-item ul li a:hover {
//	background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
//	color: #0FBE7C;
}
.main-navigation ul li ul li ul {
    left: 150px;
    top: -1px;
}
.main-navigation select {
    display: none;
}

/* =SMALL MENU
----------------------------------------------- */
.menu-toggle {
    display: none;
    cursor: pointer;
}
.site-header .menu-toggle {
    background: #3A3A3A;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    padding: 5px 22px;
    margin: 0;
    text-align: center;
}
.site-header .menu-toggle:hover {
    background: #0FBE7C;
}
.site-header .menu-toggle:before {
    content: '\2261';
    margin-right: 10px;
}
.main-small-navigation {
    float: none;
    padding-top: 0;
    background-color: #000000;
    margin-top: 5px;
}
.main-small-navigation ul {
    margin: 0;
    list-style: none;
}
.main-small-navigation a {
    display: block;
    color: #FFFFFF;
    padding: 10px 40px;
    text-decoration: none;
}
.main-small-navigation li {
    background: #3A3A3A;
}
.main-small-navigation li:hover {
    background: #0FBE7C;
}
.main-small-navigation ul ul a {
    padding-left: 60px;
}
.main-small-navigation ul ul ul a {
    padding-left: 80px;
}
.main-small-navigation ul > .current_page_item,
.main-small-navigation ul > .current-menu-item {
    background: #0FBE7C;
}

/* =SECONDARY MENUS
----------------------------------------------- */
.small-menu {
    float: right;
}
.small-menu li {
    float: left;
    position: relative;
}
.small-menu li.default-menu,
li.default-menu {
    display: none;
}
.small-menu a {
    color: #666666;
    display: block;
    float: left;
    font-size: 10px;
    height: 21px;
    padding: 5px 0 0 16px;
    font-size: 12px;
}
.small-menu a:hover,
.small-menu ul li.current-menu-item a,
.small-menu ul li.current_page_ancestor a,
.small-menu ul li.current-menu-ancestor a,
.small-menu ul li.current_page_item a,
.small-menu ul li:hover > a {
    color: #0FBE7C;
}

/* ---------------------------------------------------------------------- */

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

/* ---------------------------------------------------------------------- */
/* Gallery */

/* make the back button white */
.bwg_back {
    color: #fff !important;
}
