body {
	margin:0; 
    padding:0; 
    font-family: 'Roboto Slab', serif;
}

a {
    color: red;
    text-decoration: none;
}

a:hover {
    color: #222;
}

#footer a {
    color: white;
}

#footer a:hover {
    color: #777;
}

#map {
    top:0; 
    height: 100vh;
    width:100vw;
    position: fixed;
    z-index: -5;
}

#outro-image {
    top:0; 
    height: 100vh;
    width:100vw;
    position: fixed;
    z-index: -5;
    backface-visibility: hidden;
}

#header {
    font-family: 'Playfair Display SC', serif;
    margin: 3vh auto;
    width: 90vw;
    padding: 2vh;
    text-align: center;
}

#nav {
 margin: 3vh auto;
    width: 90vw;
    padding: 2vh;
    text-align: center;
}

#footer {
    width: 100%;
    text-align: center;
    line-height: 25px;
    font-size: 13px;
}

#features {
    padding-top: 10vh;
    padding-bottom: 10vh;
    z-index: 100;
}

.centered {
    width: 50vw;
    margin: 0 auto;
}

.lefty {
    width: 33vw;
    margin-left: 5vw;
}

.righty {
    width: 33vw;
    margin-left: 62vw;
}

.righty2 {
    background-size: cover;
    height: 100vh;
    width: 100%;
    background-image:url(images/rr-outro.jpg);
    box-shadow: 0 -4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.light {
    color: #444;
    background-color: #fafafa;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.dark {
    color: #fafafa;
    background-color: #444;
}

.step {
    padding-bottom: 50vh;
    opacity: 0.25;
}

.step.active {
    opacity: 0.9;
}

.step div {
    padding:  25px 50px;
    line-height: 28px;
    font-size: 14px;
}

.step img {
    width: 100%;
}

#race img {

}

      
/* mapbox gl styles */

.mapboxgl-popup {
    max-width: 400px;
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

       
.a {
 background-size: cover;
 height: 100vh;
 width: 100%;
}

      
#links div {
    padding:  25px 50px;
    line-height: 28px;
    font-size: 14px;
}

#links {
    width: 33vw;
    margin-left: 62vw;
    padding-top: 20vw;
}


#intro {
    background-size: cover;
    height: 100vh;
    width: 100%;
    text-align: center;
    line-height: 62px;
    font-size: 13px;
    background-image:url(images/rr-intro.jpg);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.map-holder {
    padding: 2vh;
    vertical-align: middle;
    height: 100vh;
}

.ric-map {
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    height: 80%;
    background-image:url(images/ric-holc.jpg);
}

.header-bg {
    position: relative;
    vertical-align: middle;
    height: 100%;
    padding-top: 20%;
}

#intro-text {
    font-family: 'Playfair Display SC', serif;
    margin: auto;
    width: 90vw;
    text-align: center;
    padding: 2vh;
    background-color: #f4f4f4;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

nav ul {
    flex-direction: row;
    margin: auto 0;
    padding: 0;
}

nav li {
    padding-left: 10px;
    padding-right: 10px; 
    display: inline-grid;
}

.line-size-1 {
    font-size: 36px;
    height: 80px;
}

#to-top {
 position: fixed;
    display: none;
 right: 10px;
 bottom: 20px;
 z-index: 10;
 width: 28px;
}

#to-top .light {
    background: none;
    border-radius: 20px;
}

#to-top a {
    display: block;
    height: 28px;
    width: 28px;
    text-align: center;
    line-height: 28px;
    font-size: 22px;
    color: #000;
    opacity: 0.6;
    -webkit-border-radius: 2px;
       -moz-border-radius: 2px;
         -o-border-radius: 2px;
            border-radius: 2px;
}

#to-top a:hover,
#to-top a:active {
    opacity: 1;
    color: #000;
}

@media (max-width: 767px) {

	#legend, #legend2, #legend3, #legend4, #legend5, #legend6, #legend7, #legend8 {
		visibility: hidden;
	}

}

