html, body {
    width: 100%;
    margin: 0;
    /*background-color: #f1f1f1;*/
    /*background-color: #626262;*/
    background-color: #f6f6f3;
    font-family: "Montserrat", sans-serif;
}
/* header */
header {
    background-color: white;
    height: 64px;
    position: sticky;
    z-index: 1000;
    display: flex;
    top: 0;
    width: 100%;
    font-size: 26px;
    box-shadow: #a9a9a9 0 1px 8px 3px;
}
header a {
    /*color: #f3f3f3;*/
    color: #131313;
    font-weight: 700;
}
header nav {
    flex: 4;
    text-align: center;
}
/* footer */
footer {
    background-color: #3e3e3e;
    color: #dedede;
    height: 36px;
}
footer a {

}
/* header/footer commons */
.horizontal-list-wrapper nav {
    display: inline-block;
    height: 100%;
}
.horizontal-list-wrapper nav ul   {
    list-style: none;
    margin: 0;
    height: 100%;
}
.horizontal-list-wrapper nav ul li {
    display: inline-block;
    height: 100%;
}
.horizontal-list-el-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.horizontal-list-wrapper nav ul li a{
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: auto;
    border-radius: 5px;
    transition: 0.3s ease all;
    height: 85%;
    font-size: 1em;
}
header nav ul li a:hover{
    /*background-color: #7a7a7a;*/
    background-color: #eaeaea;
}

.logo-wrapper {
    display: inline-block;
    flex:1;
    padding: 5px;
}
.logo {
    max-height: 100%;
}

/* Acutal page content */
main {
    text-align: center;
}
.section {
    display: inline-block;
    width: 70%;
    text-align: left;
}
h3 {
    text-align: center;
    font-size: 1.6rem;
}
.p-wrapper, .downloadable-link {
    font-size: 1.2rem;
}
.main-image-wrapper {
    text-align: center;
}
.main-image {
    width: 100%;
}

/* gallery styles */
.gallery {
    position: relative;
    /*background-color: #e7e7e7;*/
    background-color: #eeeeeb;
}
.current-slide {
    height: 70vh;
}
.gallery-slide {
    justify-content: center;
    align-items: center;
    display: none;
    height: 100%;
}
.gallery-slide img {
    height: 100%;
    width: auto;
}
.gallery-slide img {
    height: auto;
    width: 100%;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 32px 16px;
    margin-top: -50px;
    color: #2f2f2f;
    font-weight: bold;
    font-size: 20px;
    user-select: none;
}
.prev {
    border-radius: 0 4px 4px 0;
}
.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}
.prev:hover,
.next:hover {
    background-color: rgba(74, 74, 74, 0.8);
    color: white;
}

/* gallery previews styles */
.gallery-previews {
    display: flex;
    justify-content: center;
    align-items: center;
}
.gallery-previews:after {
    content: "";
    display: table;
    clear: both;
}
.gallery-preview-wrapper {
    float: left;
    width: 20%;
    display:none;
    height: 100%;
}
.gallery-preview {
    display: inline-block;
    vertical-align: middle;
    opacity: 0.6;
    width: 100%;
    height: auto;
}
.current .gallery-preview, .current .gallery-preview:hover{
    cursor: default;
    opacity: 1;
}
.gallery-preview:hover {
    cursor: pointer;
    opacity: 1;
}

#map {
    margin-top: 50px;
}

.pdf-icon {
    color: red;
    font-size: 2.0rem;
}

#wrapper{
    position: relative
}

.video-with-label-wrapper {
    width: 100%;
}
.video-with-label-wrapper video {
    position: relative;
    z-index: 100;
    width: 80%;
}
.video-with-label-wrapper p {
    color: white;
    font-size: 2.9rem;
    text-shadow: -1px -1px 0 #444, 1px -1px 0 #444, -1px 1px 0 #444, 1px 1px 0 #444;
    position: absolute;
    text-align: center;
    display: block;
    z-index: 150;
    width: 80%;
    margin: 20% 10%;
    left: 10px;
}
@media (max-width: 1000px) {
    .video-with-label-wrapper video {
        width: 100%;
    }
    .video-with-label-wrapper p {
        width: 100%;
        margin: 20% 0;
    }
}
	