@import url('https://fonts.googleapis.com/css?family=Comfortaa');
@import url('https://fonts.googleapis.com/css?family=Lato');

body {
    font-family: 'Lato', sans-serif;
}


#main {
    min-height:calc(100vh - 150px);
    margin-top:150px;
    margin-left:0px;
    margin-right:0px;
    margin-bottom:0px;
    width:100%;
}

.smallerMain {
    min-height: calc(100% - 75px);
    margin-top:75px;
}
header {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    background-color: #c1272d;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}
#logo {
    display: inline-block;
    height: 150px;
    width: 406px;
    float: left;
    background-size: 406px 150px;
    background-repeat: no-repeat;
    background-image: url('../img/logo-big.png');
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
header nav {
    display: inline-block;
    float: right;
}
header nav a {
    font-family: 'Comfortaa', cursive;
    line-height: 150px;
    margin-left: 10px;
    margin-right: 10px;
    color: white;
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
header nav span {
    font-family: 'Comfortaa', cursive;
    line-height: 150px;
    margin-left: 10px;
    margin-right: 10px;
    color: white;
    font-weight: 700;
    font-size: 24px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;

}
header nav a:hover {
    text-decoration: underline;
}
.smaller {
    height: 75px;
}
.smaller #logo {
    height: 75px;
    width: 75px;
    background-size: 75px 75px;
    background-repeat: no-repeat;
    background-image: url('  ../img/logo-small.png');
}
.smaller nav a {
    line-height: 75px;
}
.smaller nav span {
    line-height: 75px;
}

#homeImage {
    width:100%;
    height:auto;
    overflow: hidden;    
}

.pagination {
    display: inline-block;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

.pagination a.active {
    background-color: #c1272d;
    color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

#map {
    height: 30em;
}

#mapBorder {
    
    padding: 3em;;
}

.redLink {
  float: right;
  padding: .8em 1em;
  background: #c1272d ;
  color: white;
  border-radius: 0.25em;
}

.redLink:visited {
  color: white;
}

.redLink:link {
  color: white;
}

.redLink:hover {
  color: white;
}
.redLink:active {
  color: white;
}
.redLink:hover {
  background-color:#d1373d ;
}

.popupContent {
    min-height: 5em;
}

.biodiv {
    display: inline-block;
    margin: 10px 40px;
    width: 200px;
    height: 200px;
}

.biodiv h3 {
    text-align: center;
}

.biodiv img {
    height: 100px;
    width: auto;
    display: block;
    margin: auto;
}

@media all and (max-width: 800px) {
    header #logo {
        display: block;
        float: none;
        margin: 0 auto;
        height: 100px;
        width: 271px;
        background-size: 271px 100px;
        background-repeat: no-repeat;
        line-height: 100px;
        text-align: center;
    }
    header nav {
        display: block;
        float: none;
        height: 46px;
        text-align: center;
        margin: 0 auto;
    }
    header nav a {
        line-height: 46px;
        font-size: 16px;
        margin: 2px 10px;
    }
    header span a {
        line-height: 46px;
        font-size: 18px;
        margin: 2px 10px;
    }
    .smaller {
        height: 75px;
    }
    .smaller #logo {
        height: 50px;
        width: 50px;
        background-size: 50px 50px;
        background-repeat: no-repeat;
    }
    .smaller nav {
        height: 35px;
    }
    .smaller nav a {
        line-height: 35px;
    }
}
