html {
    width: 100%;
    height: 100%;
}

body {
    background: black url(background.jpg) center top no-repeat fixed;
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    margin: 0; 
    padding: 0; 
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    text-align: center;
    color: white;
}

section#main {
    width: 980px;
    margin: 0 auto 0 auto;
}

section#leftpanel {
    width: 240px;
    position: fixed;
    float: left;
    min-height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.7);
    box-shadow: 0 0 10px rgba(0,0,0,1);
}

@media all and (max-height: 500px) {
    section#leftpanel {
        position: absolute;
    }
}

header.titletext {
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(255,255,255,0.7);
    line-height: 40px;
    margin: 24px auto 0 auto;
}

header.titletext2 {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    margin: 2px auto 44px auto;
}

nav {
    margin-bottom: 50px;
}

nav ul {
    width: 240px;
    padding: 0;
}

nav li {
    list-style-type: none;
    height: 40px;
    line-height: 40px;
    font-size: 18px;	
    font-weight: bold;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
}

nav a:hover {
    background-color: rgb(67,72,82);
    background-color: rgba(203,220,255,0.15);
}

section#rightpanel {
    width: 720px;
    float: left;
    min-height: 100%;
    position: absolute;
    margin-left: 260px;
    background: url(header-background-1.png) top no-repeat;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
    z-index: 1;
}

section#rightpanel header {
    width: 660px;
    margin: 224px 31px 0 27px;
    text-align: left;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(255,255,255,0.7);
}

article {
    width: 660px;
    margin: 20px 30px 50px 30px;
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
    line-height: 22px;
}

article a {
    color: white;
    text-decoration: underline;
}

article img {
    outline: solid 1px white; 
    margin: 30px 0 10px 0;
    max-width: 660px;
}

article img.email {
    border: 0;
    outline: 0;
    display: block;
    margin: -8px 0 0 0;
}

article p.mail {
    margin-top: 30px;
}

article h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 50px auto 12px auto;
}

article h1.upcoming {
    margin-top: 44px;
    font-weight: 400;
}

article h1.upcoming em {
    font-weight: 700;
}

article h2 {
    font-size: 14px;
    font-weight: 400;
    margin-top: 4px;
}

article p {
    margin: auto auto 14px auto;
}

article section {
    margin-bottom: 20px;
}

article section ul {
    list-style: circle outside;
    padding-left: 28px;
}

article section li {
    margin-top: 4px;
}

.slideshow {
    position: relative;
    height: 440px;
    width: 660px;
    margin: 40px 0 50px 0;
}

.slideshow li {
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.slideshow li:first-child {
    display: block;
    padding: 0;
}

.slideshow li img {
    margin: 0;
    outline: solid 1px white; 
}

#gallery-menu {
    margin: 0;
}

#gallery-menu ul {
    width: 660px;
}

#gallery-menu li {
    height: 100px;
    width: 660px;
    margin: 30px 0 0 0px;
    outline: solid 1px white;
}

#gallery-menu li p {
    position: absolute;
    margin: 66px 0 0 12px;
    line-height: 20px;
    font-size: 24px;	
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0,0,0,1);
}

#gallery-menu a {
    display: block;
    width: 660px;
    height: 100px;
    background-color: rgba(0,0,0,0.25);
}

#gallery-menu a:hover {
    background-color: transparent;
}

iframe {
    display: block;
}

.video {
    background: black;
    position: relative;
    width: 660px;
    /*max-height: 495px;*/
    overflow: hidden;
    outline: solid 1px white; 
    margin: 30px 0 10px 0;
}

.video-caption {
    font-size: 12px;
    margin: -6px auto 0 auto;
}

.photo-caption {
    font-size: 12px;
    margin: -12px auto 0 auto;
}

.pw img {
    margin: 24px 0 0 0;
}

.pw .video {
    margin: 24px 0 0 0;
}

.pw .photo-caption {
    font-size: 12px;
    margin: -2px auto 0 auto;
}

hr {
    height: 1px;
    background: none;
    border: 0;
    margin: 30px 0 70px 0;
}

hr.intro {
    margin: 10px 0 40px 0;
}

span.back {
    margin: 30px auto auto auto;
    display: block;
    text-align: left;
}

.back a {
    color: white;
    text-decoration: underline;
}


#mobile {
    width: 100%;
    display: none;
    background-color: rgba(0,0,0,0.6);
    text-align: center;
    position: relative;
    top: 0;
}

#mobile p {
    display: block;
}

p.titletext-mobile {
    font-size: 64px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
    text-align: center;
    width: calc(100% - 20px);
    padding: 30px 10px 0 10px;
}

p.titletext2-mobile {
    font-size: 32px;
    font-weight: 300;
    margin-top: 16px;
}

#mobile ul {
    width: calc(100% - 20px);
    padding: 30px 10px;
}

#mobile li {
    display: inline-block;
    list-style-type: none;
    line-height: 36px;
    font-size: 18px;	
    font-weight: 700;
    padding: 0 10px;
}

#mobile li a {
    text-decoration: none;
    color: white;
    border-bottom: solid white 1px;
}

#mobile li a:hover {
    text-decoration: none;
    text-shadow: 0 0 7px rgba(255,255,255,1.0);
}


@media only screen and (max-width: 1000px) {

    section#main {
        width: 100%;
        margin: 0;
    }

    section#rightpanel {
        width: 100%;
        margin: 0;
        float: none;
        left: 0;
        right: 0;
        box-shadow: none;
        background-size: contain;
        overflow: visible;
    }

    section#rightpanel header {
        width: auto;
        margin: 48px 16px 0 16px;
    }

    section#leftpanel {
        display: none;
    }

    section#mobile {
        display: block;
    }

    article {
        width: auto;
        font-size: 16px;
        line-height: 24px;
        margin-left: 16px;
        margin-right: 16px;
        text-align: left;
    }

    article h2 {
        font-size: 16px;
    }

    nav#gallery-menu ul,nav#gallery-menu li,nav#gallery-menu a {
        width: 100%;
    }

    nav#gallery-menu li {
        background-size: cover;
    }

    img {
        width: 100% !important;
        height: auto;
    }

    article img {
        max-width: 100%;
    }

    img.email {
        width: auto;
    }

    .video {
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
        overflow: hidden;
        position: relative;
    }

    iframe {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .slideshow {
        width: 100%;
        height: calc(100vw * (2/3));
    }

    .slideshow li {
        width: 100%;
        height: auto;
    }

}