/* General overwrides */
h2, h3, h4, h5, h6 {
  font-weight: 300;
}
   
h2 {
    font: 300 1.45em/1.2 Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}
a:hover h2 {
    color: #228896;
}

.section h2 {
  margin-top: 0.8em; 
}

h3, h4, h5, h6 {
  margin: 30px 0 10px 0;
}
header.fh5co-lead > h4 {
  margin: 5px 0 10px 0;
}

p {
  margin-bottom: 0.5em;
}
.section p {
  margin-bottom: 0;
  margin-top: 0.5em;
}
.section .formula + p {
  margin-top: 0;
}

table {
  border-collapse: collapse; 
  border: 1px solid rgba(0,0,0,0.8); 
  background:white;
  overflow:hidden;
  max-width:1000px; 
  width:100%;
  position:relative;
}
  
td,th {
  padding-left:8px;
  vertical-align: middle;
}

thead tr { 
  height:60px;
  background:#74bac4;
  color: white;
  font-size: 1.1em;
}
  
tbody tr {
  height:48px;
  border-bottom:1px solid #E3F1D5;
  font-size: 1.1em;
}
tbody tr:last-child  {
    border-bottom: 1px solid rgba(0,0,0,0.8);
}
table.footnote tbody tr:last-child {
    border-bottom: 0;
}
.archive h2 {
    margin-bottom: 4px;
}

.fh5co-footer {
    margin-left: 0.4em;
    margin-top: 0.6em;
    margin-bottom: 0.2em;
    display: flex;
    justify-content: center;
}
.fh5co-footer div {
    padding: 0 0.5em;
}
@media screen and (max-width: 1200px) {
    .fh5co-footer div {
        display: flex;
        justify-content: center;
    }
    .fh5co-footer {
        display: block;
        justify-content: none;
    }
}

.fh5co-nav-toggle{
    background: rgba(220,220,220, .9);
    display: flex;
    width: 100%;
    border-bottom: solid thin rgba(34, 136, 150, 0.8);
}
.fh5co-nav-toggle:hover, .fh5co-nav-toggle:active, .fh5co-nav-toggle:focus {
    border-bottom: solid thin rgba(34, 136, 150, 0.8) !important;
}

#fh5co-aside #social {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}


/* about */
.about-image {
    width: 100px;
    border-radius: 50%;
    float: left;
}
/* pages overview */
.overview-link .wrapper .fh5co-feature {
    margin-bottom: 10px;
}

.overview-link .wrapper {
    background: whitesmoke;
    padding: 20px;
    margin-bottom: 30px;
    display:block;
}

.overview-link:hover .wrapper {
    background: #fff;
}

.overview-link .wrapper h3 {
    margin-top: 10px;
}

.overview-link p {
    color: rgba(0, 0, 0, 0.5);
}

.clearfix {
    clear: both;
}

/* Slider overlay tweak */
#fh5co-hero .flexslider .slides .overlay {
  background: rgba(0, 0, 0, 0.45);
}

/* Slider nav paging */
#fh5co-hero .flexslider .flex-control-nav {
  bottom: 60px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 10px 0 0 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
#fh5co-hero .flexslider .flex-control-nav li a {
    background: rgba(255, 255, 255, 0.4);
}
#fh5co-hero .flexslider .flex-control-nav li a.flex-active {
background: rgba(34, 136, 150, 0);
}

/*  Slider tweak to use img tag for images */
#fh5co-hero .flexslider .slides {
max-height: 100vh;
min-height: 510px;
height: 100%;
}
#fh5co-hero .flexslider .slides .container-fluid {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}

/* Slider direction nav */
    
#fh5co-hero .flexslider .flex-direction-nav {
  display: block;
}
@media screen and (max-width: 768px) {
    #fh5co-hero .flexslider .flex-direction-nav {
        visibility: hidden;
    }
}

#fh5co-hero .flexslider .flex-direction-nav a {
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.5em;
  width: 1.5em;
  background-color: white;
  border-radius: 1.5em;
  border: 1px solid black;
}
#fh5co-hero .flexslider .flex-direction-nav a::before {
  font-size: 1.2em;
  color: #228896;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slider pause play button */
#fh5co-hero .flexslider .flex-pauseplay {
  position:relative;
  z-index: 950;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 2.5em;
}
#fh5co-hero .flexslider .flex-pauseplay a {
  position:relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.5em;
  width: 1.5em;
  color: #228896;
  background-color: white;
  border-radius: 1.5em;
  border: 1px solid black;
}
.flex-pauseplay a:before {
  font-family: "icomoon";
  font-size: 1em;
  content: '\e099';
}
}
.flex-pauseplay a .flex-play:before {
  font-family: "icomoon";
  content: '\e098';
}
.flex-play {
  padding-left: 3px;
}
.flex-pause {
  padding-right: 1px;
}

/* Slider text adjustments */
/* Titles */
#fh5co-hero .flexslider .slider-text > .slider-text-inner h1 {
  font-size: 3em;
  font-weight: 200;
}
@media screen and (max-width: 768px) {
  #fh5co-hero .flexslider .slider-text > .slider-text-inner h1 {
    font-size: 2.5em;
    font-weight: 200;
  }
}
/* Normal Text */
#fh5co-hero .flexslider .slider-text > .slider-text-inner h2 {
  font-size: 1.5em;
  text-transform: none;
  font-variant: small-caps;
  line-height: 1.5;
  margin-bottom: 30px;
  font-weight: 400;
}
@media screen and (max-width: 768px) {
  #fh5co-hero .flexslider .slider-text > .slider-text-inner h2 {
    font-size: 1em;
    text-transform: none;
    font-variant: small-caps;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 400;
  }
}

/* pages overview */


/* some fixes */
@media screen and (max-width: 768px) {
    #fh5co-hero .flexslider .slider-text {
       width: 100%;
    }
}

/* search and form */
.search-field {
    width: 205px;
    background: white;

}

.search-submit {
    font-size: 25px !important;
    color: white !important;
    border-radius: 6px;
    height: 54px;
    margin-top: -2px;
}

.search-submit:after, .search-submit:hover:after {
    visibility: hidden !important;
}

/* contact form */
.form-loading {
    background: whitesmoke;
    opacity: 0.5;
    z-index: 10;
    position: absolute;
    width: 100%;
    height: 420px;
    display: none;
}

.form-success {
  color: #3c763d !important;
  padding: 5px;
  padding-left: 20px;
  border-radius: 6px;
  margin-bottom: 15px;
  display: none;
  font-size: 18px;
}

.form-error {
  color: #a94442 !important;
  padding: 5px;
  padding-left: 20px;
  border-radius: 6px;
  margin-bottom: 15px;
  display: none;
  font-size: 18px;
}

.error {
  border: 2px solid #990000 !important;
}

#lastname {
  display: none;
}
@media screen and (min-width: 992px){
  #message {
    height: 190px;
  }
}
.row-flex {
  display: flex;
  align-items: center;
  margin: auto;
  text-align: justify;
}
.row-flex label {
  display: inline;
  font-weight: inherit;
  padding-left: 0.25em;
  margin-bottom: 0.5em;
}
.row-flex .form-check {
  padding-right: 1em;
}
/* laguage navigation */
.language-navigation li a {
  color: #aaa !important;
}
.language-navigation li a.lang-active, .language-navigation li a:hover {
  color: #000 !important;
}
.language-navigation li a:hover:after {
  visibility: hidden !important;
}


/* content styling */

.page-content .container, .article-content .container {
  width: auto !important;

}

.responsive-image {
  padding: 0;
}

.responsive-image img {
  max-width: 100%;
}

.container.float-left {
  float: left;
  padding-left: 0px;
  padding-bottom: 15px;
  padding-right: 15px;
}
.container.float-right {
  float: right;
  padding-right: 0px;
  padding-bottom: 15px;
  padding-left: 15px;
}
.center {
  text-align: center;
}
.col-centered {
  float: none;
  margin-right: auto;
  margin-left: auto;
}
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
        border-left-color: rgb(238, 238, 238);
        border-left-width: 1px;
    border-left-width: 5px;
    border-radius: 3px;
    background-color: white;
}
.bs-callout-info {
    border-left-color: #1b809e;
}
.bs-callout-danger {
    border-left-color: #ce4844;
}
.bs-callout-warning {
    border-left-color: #aa6708;
}

.contactme_ft_center {
    height: 100px;
    display: flex;
    align-items: center;
}

.footnote-background {
    background: inherit;
    font-size: 0.8em;
    margin-top: 0.5em;
    max-width: 95%;
}
.footnote-background + .footnote-background {
    margin-top: 0;
}

.footnote-background > colgroup:nth-child(1) {
width: 0.5em;
}
.footnote-background tbody tr td {
    vertical-align: top;
}

.footnote-background tbody tr td:first-child {
    vertical-align: middle;
}
table.footnote {
  width: inherit;
  border: 0;
}

.map-header {
    padding: 0.5em 3.5%;
    margin-bottom: 0;
    background: #74bac4;
    color: white;
    border-radius: 20px 20px 0 0;
}

h2 + div > h3 {
    margin-top: 0.5em;
}
