/*!
 * Clean Blog v1.0.0 (http://startbootstrap.com)
 * Copyright 2014 Start Bootstrap
 * Licensed under Apache 2.0 (https://github.com/IronSummitMedia/startbootstrap/blob/gh-pages/LICENSE)
 */

/* https://codepen.io/2kool2/pen/ZpLYYo */

/* Set root font sizes, then use rem units. */

/* This example begins from 320px | 20em  to  30px @ 1920px */
@media (min-width: 20em) {
  :root {
    font-size: calc(.6rem + ((1vw - .2em) / 1.37142857));
  }
}

/* 1rem(16px) @ 48em(768px) increasing to 2rem(32px) @ 120em(1920px) */
@media (min-width: 48em) {
  :root {
    font-size: calc(.9rem + ((1vw - 0.48rem) * 1.3889));
    /* Where: * 1.3889 = 100 * font_Size_Difference / viewport_Width_Difference */
  }
}
/* Prevent font scaling beyond this breakpoint */
@media (min-width: 120em) {
  :root {
    font-size: 2rem;
  }
}

/* Define size variables */
:root {
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 1rem;
    /*line-height: calc(1rem + (1.5 - 1.2) * ((100vw - 300px)/(1600 - /*300)));*/
    color: #404040;
    webkit-tap-highlight-color: #0085a1;
}
.bold{
    font-weight:600;
}
p {
    line-height: 1.5;
    margin: 20px 0;
}
p a {
    text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 800;
}
a {
    color: #404040;
}
a:hover,
a:focus {
    color: #0085a1;
}
blockquote {
    color: #808080;
    font-style: italic;
}
hr.small {
    max-width: 100px;
    margin: 15px auto;
    border-width: 4px;
    border-color: white;
}
th, td {
    padding: .2rem;
}
.bmaps-color {
    color: #006428;
}
.bmaps-background {
    background-color: #006428;
}
.navbar-custom {
    background-color:rgba(239,239,239,.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: auto;
    margin:0;
}
.navbar-custom .navbar-brand {
    /*position: fixed;*/
    top: 2px;
    font-weight: 600;
    font-size: 2em;
    color: #006428;
    padding: 3px 3px;
}
.navbar-custom .nav li a {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}
.center{
  text-align:center;
}
.navbar-brand > img{
    height: 48px;
    width: 48px;
    cursor: pointer;
    display: inline;
}

/* The examples: two rows, two columns, alternating pictures, bullet lists. */
.example-container {
        display: grid;
        width: 100%;
        /*height: 75vh;*/
        grid: 1fr 1fr / 1fr 1fr;
        /*grid-gap: 1vw 1vh;*/
        padding-bottom: 1vh;
}

.example-image {
        width: 90%;
        height: auto;
}

.example-text-1 {
        grid-column: 1;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        width:90%;
}

.example-image-1 {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        align-self: center;
}

.example-text-2 {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        align-self: center;
        width: 90%;
}

.example-image-2 {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
        align-self: center;
}

/* The 3 columns of info: CONTACT, MORE, BOLTZMANN MAPS */
.footer-container {
        display: grid;
        width: 100%;
        /*height: 75vh;*/
        grid: 1fr 1fr 1fr;
        /*grid-gap: 1vw 1vh;*/
        padding-bottom: 1vh;
}

.footer-text-1 {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
}
.footer-text-2 {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
}

.footer-text-3 {
        grid-column: 3;
        grid-row: 1;
        justify-self: center;
}

.info{
  display: block;
  padding-right: 10px;
  font-size: .75rem;
  line-height: 1.1;
  font-weight: 700;
}

.info-line {
  margin-bottom: .65rem;
}
ul.info li:not(last-child) {
  padding-bottom: 10px;
}
.col-md-6{
  padding:0;
}

@media only screen and (min-width: 768px) {
  .navbar-custom {
    background-color:rgba(239,239,239,.7);
    border-bottom: 1px solid transparent;
    height: auto;
  }

  .navbar-custom .navbar-brand {
    /*position: fixed;*/
    top: 2px;
    font-weight: 600;
    color: #006428;
    font-size: 32px;
    padding: 3px;
  }
  .navbar-custom .navbar-brand:hover,
  .navbar-custom .navbar-brand:focus {
    color: rgba(64, 64, 64, 0.8);
  }
  .navbar-custom .nav li a {
    color: #4990E2;
    padding: 20px;
    font-size: .75rem;
  }
  .navbar-custom .nav li a.btn {
    color: #FFFFFF;
    padding: 10px 15px;
    font-size: .75rem;
  }
  .navbar-custom .nav li a:hover,
  .navbar-custom .nav li a:focus {
    color: rgba(64, 64, 64, 0.8);
  }
}
.opaque-bkg {
    background-color:rgba(239,239,239,1);
}

/* This is a hack to make the title menu fit until it switches to a bar menu button.*/
@media only screen and (max-width: 872px) {
        .navbar-custom .navbar-brand {
                font-size: 1.5rem;
        }
}

@media only screen and (min-width: 1170px) {
  .navbar-custom {
    background-color:rgba(239,239,239,.7);
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .navbar-custom.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -61px;
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #f2f2f2;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }
  .navbar-custom.is-fixed .navbar-brand {
    color: #404040;
  }
  .navbar-custom.is-fixed .navbar-brand:hover,
  .navbar-custom.is-fixed .navbar-brand:focus {
    color: #0085a1;
  }
  .navbar-custom.is-fixed .nav li a {
    color: #404040;
  }
  .navbar-custom.is-fixed .nav li a:hover,
  .navbar-custom.is-fixed .nav li a:focus {
    color: #0085a1;
  }
  .navbar-custom.is-visible {
    /* if the user changes the scrolling direction, we show the header */
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

/* intro secion */

.intro-header {
  top: calc(6.5vh + 1px);
  background-color: #808080;
  background: no-repeat center center;
  background-attachment: scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  padding: 0 15px;
  margin-left: 0px;
  margin-right: 0px;
}
.intro-header .site-heading,
.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
  font-size: 2rem;
  line-height: 1.4;
  /*font-size: 24px;*/
  /*font-size: calc(24px + (30 - 24) * ((100vw - 300px) / (1600 - /*300)));*/
  /*line-height: calc(1.3em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));*/
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  /*--- these should be variable */
  margin: 10px 5px 0;
  padding: 40px 0 40px 0;
}
.intro-header .site-heading .subheading2,
.intro-header .page-heading .subheading2 {
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
/*
  font-size: 18px;
  line-height: 2;
  font-size: calc(18px + (24 - 18) * ((100vw - 300px) / (1600 - 300)));
  line-height: calc(2em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
*/
  display: inline-block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  position: relative;
  /*--- these should be variable */
  margin: 20px 5px 0;
}
.intro-header .site-heading .subheading3,
.intro-header .page-heading .subheading3 {
  text-align: left;
  font-size: 1rem;
  line-height: 1.3;
/*
  font-size: 18px;
  line-height: 1.4;
  font-size: calc(18px + (24 - 18) * ((100vw - 300px) / (1600 - 300)));
  line-height: calc(1.3em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
*/

  display: inline-block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  position: relative;
  /*--- these should be variable */
  margin: 10px 5px 0;
}

.intro-header .post-heading,
.intro-header .page-heading {
  padding: 50px 0 50px;
  color: #404040;
}
@media only screen and (min-width: 768px) {
  .intro-header .site-heading,
  .intro-header .post-heading,
  .intro-header .page-heading {
  /*--- these should be variable */
  /*padding: 80px 0 80px 0;*/
  }
}
.intro-header .site-heading,
.intro-header .page-heading {
  text-align: center;
}
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 3rem;
}

@media only screen and (min-width: 768px) {
  .intro-header .site-heading h1,
  .intro-header .page-heading h1 {
    font-size: 3rem;
  }
}
.intro-header .post-heading h1 {
  font-size: 2.5rem;
}
.intro-header .post-heading .subheading,
.intro-header .post-heading .meta {
  line-height: 1.1;
  display: block;
}
.intro-header .post-heading .subheading {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2rem;
  margin: 30px 0 30px;
  font-weight: 600;
}
.intro-header .post-heading .meta {
  font-family: 'Lora', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
}
.intro-header .post-heading .meta a {
  color: white;
}
@media only screen and (min-width: 768px) {
  .intro-header .post-heading h1 {
    font-size: 4rem;
  }
  .intro-header .post-heading .subheading {
    font-size: 2rem;
  }
}
.post-preview > a {
  color: #404040;
}
.post-preview > a:hover,
.post-preview > a:focus {
  text-decoration: none;
  color: #0085a1;
}
.post-preview > a > .post-title {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: .9rem;
}
.post-preview > a > .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 10px;
}
.post-preview > .post-meta {
  color: #808080;
  font-size: 1rem;
  font-style: italic;
  margin-top: 0;
}
.post-preview > .post-meta > a {
  text-decoration: none;
  color: #404040;
}
.post-preview > .post-meta > a:hover,
.post-preview > .post-meta > a:focus {
  color: #0085a1;
  text-decoration: underline;
}
@media only screen and (min-width: 768px) {
  .post-preview > a > .post-title {
    font-size: 2.5rem;
  }
}
.section-heading {
  font-size: 2.5rem;
  margin-top: 60px;
  font-weight: 700;
}
.caption {
  text-align: center;
  font-size: 1rem;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
footer {
  padding: 0px 0 15px;
}
footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0;
}
.floating-label-form-group {
  font-size: 1rem;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #eeeeee;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  border: none;
  border-radius: 0;
  font-size: 1.5em;
  background: none;
  box-shadow: none !important;
  resize: none;
}
.floating-label-form-group label {
  display: block;
  z-index: 0;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: 0.85em;
  line-height: 1.764705882em;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
  -webkit-transition: top 0.3s ease,opacity 0.3s ease;
  -moz-transition: top 0.3s ease,opacity 0.3s ease;
  -ms-transition: top 0.3s ease,opacity 0.3s ease;
  transition: top 0.3s ease,opacity 0.3s ease;
}
.floating-label-form-group::not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #eeeeee;
}
.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}
.floating-label-form-group-with-focus label {
  color: #0085a1;
}
form .row:first-child .floating-label-form-group {
  border-top: 1px solid #eeeeee;
}
.btn {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 10px 15px;
  margin: 8px 10px 8px 10px;
}
.started {
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 3vh;
  border-radius: .5rem;
}
.btn-lg {
  font-size: 1rem;
  padding: 25px 35px;
}
.btn-default:hover,
.btn-default:focus {
  background-color: #006428;
  border: 1px solid #006428;
  color: white;
}
.pager {
  margin: 20px 0 0;
}
.pager li > a,
.pager li > span {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 15px 25px;
  background-color: white;
  border-radius: 0;
}
.pager li > a:hover,
.pager li > a:focus {
  color: white;
  background-color: #0085a1;
  border: 1px solid #0085a1;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #808080;
  background-color: #404040;
  cursor: not-allowed;
}
::-moz-selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
::selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}

/**** Spinner from https://codepen.io/MattIn4D/pen/LiKFCZ ****/

/* Absolute Center Spinner */
/* TODO: Allow user to close out the modal dialog at all times */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: .75rem;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
