/*	Resets */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, input, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}

html{
    text-rendering: optimizeLegibility;
    height: 100%;
    width: 100%;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e0e0e0+100 */
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #ffffff 0%,#e0e0e0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */
}

body{
    height: 100%;
    width: 100%;
    font-family: 'Raleway', sans-serif;
}

h1{
    display: inline-block;
    padding: 20px;
    background-color: #333;
    color: #fff;
    position: absolute;
    font-size: 70px;
    margin: 40px;
    z-index: 100;
}

li{
    list-style: none;
}
ul{
    margin: 20px;
}

address{
    margin-bottom: 20px;
}

a{
    color: rgb(54, 146, 124);
    text-decoration: none;
    font-style: normal;
}

a:after{
    content: "\2192";
    font-family: sans-serif;
    display: inline;
    padding-left: 10px;
}

a:after:hover{
    padding-left: 15px;
}

/* COLOURS LIGHT */

@media (prefers-color-scheme: light) {
    .menu-container{
        float: right;
        right:0;
        width: 35%;
        height: 100%;
        background-color: #FFF;
        position: fixed;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
    .content-container{
        float: left;
        width: 65%;
        max-height: 100%;
        height: 100%;
        background-color: #F5F5F5;
        overflow: hidden;
    }
    .calendar{
        width: 100%;
        background: #fff;
        color: #333;
    }
    .offset-5{
        margin-left: -50vw;
        color: #d1e4df !important;
    }
    html, body{
        background: #ffffff!important;
    }
}

/* COLOURS DARK */

@media (prefers-color-scheme: dark) {
    .menu-container{
        float: right;
        right:0;
        width: 35%;
        height: 100%;
        background-color: #191919;
        position: fixed;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
    .content-container{
        float: left;
        width: 65%;
        max-height: 100%;
        height: 100%;
        background-color: #1f1f1f;
        overflow: hidden;
    }
    .bg-letters{
        color: #fff !important;
    }
    .calendar{
        width: 100%;
        background: none;
        color: #f5f5f5;
    }
    .offset-5{
        margin-left: -50vw;
        color: #5e5e5e !important;
    }
    html, body{
         background-color: #191919 !important;
    }
}

.background-text{
    font-family: 'Raleway', sans-serif;
    position: relative;
    font-size: 12vw;
    font-style: italic;
    font-weight: 900;
    width: 300%;
    display: block;
    height: 200%;
    top: -10vh;
    line-height: 0.8;
    color: #dae3e0;
}

#TJRust{
    position: relative;
    z-index: 10000;
    color: #3b957f !important;
    /*    text-shadow: 0.5vw 0.5vw 0px #f5f5f5;*/
    text-shadow: 0 1px 0 #ccc, 
               0 4px 0 #c9c9c9,
               0 4px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 4px 0 #aaa,
               0 4px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
}

.event-header{
    background-color: rgb(54, 146, 124);
    box-shadow: 0px 10px 38.7px 4.3px rgba(40, 36, 36, 0.3);
    padding: 20px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
     font-style: italic;
    font-weight: 900;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 10000;
}

.offset-1{
    margin-left: -25vw;
    color: #75b5a5;
    opacity: 0.05;
}

.offset-2{
    margin-left: -16vw;
    color: #75b5a5;
    opacity: 0.1;
}

.offset-3{
    margin-left: -45vw;
    color: #75b5a5;
    opacity: 0.15;
}

.offset-4{
    margin-left: -5vw;
    color: #75b5a5;
    opacity: 0.2;
}



.offset-6{
    margin-left: -50vw;
    color: #75b5a5;
    opacity: 0.3;
}

.offset-7{
    margin-left: -20vw;
    color: #75b5a5;
    opacity: 0.35;
}

.offset-8{
    margin-left: -30vw;
    color: #75b5a5;
    opacity: 0.4;
}

.offset-9{
    margin-left: -50vw;
    color: #75b5a5;
    opacity: 0.45;
}

.offset-10{
    margin-left: -15vw;
    color: #75b5a5;
    opacity: 0.5;
}

.offset-11{
    margin-left: -20vw;
    color: #75b5a5;
    opacity: 0.55;
}

.header{
    height: 100%;
    max-height: 70vw;
    width: 100%;
    display: inline-block;
    overflow: hidden;
}



.tj-body{
    background-image: url(images/TJ-Rust-Body.png);
    background-position: center 3vw;
    background-repeat: no-repeat;
    background-size: contain;
    height: 50vw;
    max-height: 600px;
    min-height: 220px;
    width: 100%;
    position: relative;
    bottom: 45vw;
    opacity: 1 !important;
}

.tj-head{
	margin: auto;
    display: block;
    margin-top: -20px;
    width: 18vw;
    max-width: 180px;
    min-width: 70px;
}



.summary{
    display: block;
     font-style: italic;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 20px;
}

li:first-of-type{
    margin-top: 40px;
}

li{
    margin-bottom: 20px;
    border-bottom: 2px solid #dbdbdb;
}
li:last-of-type{
    border:0px;
}


.date{
    display: block;
    margin-bottom: 20px;
    
}

.location{
    display: block;
    margin-bottom: 20px;
}


/*  Social  */

.instagram {
    display: block;
    background: url(images/zimmer-logo.png);
    background-image: url(images/instagram.svg), none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    width: 26px;
    height: 26px;
}

.bio{
    margin: 20px;
    line-height: 1.5;
}


/*STYLES FROM HUB*/



.menu-wrap{
    max-width: 350px;
    width: 60%;
    /*float: left;*/
    margin: 10vh 40px 40px 46px;
}

.content-header{
    float: left;
    width: 65%;
    height:auto;
    position: fixed;
    right:0;
    background-image: -moz-linear-gradient( -180deg, rgb(130,188,0) 0%, rgb(75,106,10) 100%);
    background-image: -webkit-linear-gradient( -180deg, rgb(130,188,0) 0%, rgb(75,106,10) 100%);
    background-image: -ms-linear-gradient( -180deg, rgb(130,188,0) 0%, rgb(75,106,10) 100%);
}



.tj-container{
    float: left;
    width: 65vw;
    height: 110vh;
    overflow: hidden;
    position: absolute;
    top: 6vh;
    z-index: 10000;
}

.tj-container img{
    position: absolute;
    bottom: -1px;
    height: 85vh;
    left: 20vw;
}

.content-wrap{
    max-width: 850px;
    width: 80%;
    margin: 40px;
    float: left;
}

.page-header{
    max-width: 850px;
    width: 80%;
    margin: 10vh 40px 0 40px;
    float: right;
}

/*      Tablet Layout: 640px.
        Inherits styles from: Default Layout.     */

@media only screen and (min-width: 640px) and (max-width: 980px) {

    body {
        height: auto;
    }

    .content-container{
        width: 100%;
        max-height: 70vw;
    }

    .tj-container{
        width: 100%;
        max-height: 70vw;
        top: 20vw;
    }

    .tj-container img{
        left: 35vw;
        position: absolute;
        bottom: 0;
        width: 60vw;
        height: auto;
        max-width: 1000px;
    }

    .menu-container{
        width: 100%;
        position: initial;
        height: auto;
        overflow-y: initial;
    }

    .menu-wrap{
        max-width: fit-content;
        height: fit-content;
        width: 100%;
        float: none;
        margin: auto;
    }

    .background-text{
        font-size: 18vw;
        top: -19vw;
    }

    .event-header{
        width: 100%;
        margin-left: 0px;
    }

    .offset-5 {
        margin-left: -70vw;
    }

}



/*      Mobile Layout: 240px.
        Inherits styles from: Default Layout.    */

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

    body {
        height: auto;
    }

    .content-container{
        width: 100%;
        max-height: 70vw;
    }

    .tj-container{
        width: 100%;
        max-height: 70vw;
        top: 20vw;
    }

    .tj-container img{
        left: 35vw;
        position: absolute;
        bottom: 0;
        width: 60vw;
        height: auto;
        max-width: 1000px;
    }

    .menu-container{
        width: 100%;
        position: initial;
        height: auto;
        overflow-y: initial;
    }

    .menu-wrap{
        max-width: fit-content;
        height: fit-content;
        width: 100%;
        float: none;
        margin: auto;
    }

    .background-text{
        font-size: 18vw;
        top: -19vw;
    }

    .event-header{
        margin-left: 0px;
    }

    .offset-5 {
        margin-left: -70vw;
    }

}

