html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

img {text-decoration: none; border: 0px}

/* Text */

p {
    color: #545454;
    font-family: 'Vollkorn';
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.2px;
}

#credits {
    position: absolute;
    left: 50px;
    bottom: 0px;
    z-index: 1;
}

#credits p {
    color: white;
    font-family: 'Vollkorn';
    font-size: 15px;
    font-weight: 400;
}

#credits a {
    color: white;
    font-family: 'Vollkorn';
    font-size: 15px;
    font-style: italic;
    font-weight: 400i;
    text-decoration: none;
    letter-spacing: 0.25px;
}

h1 {
    color: white;
    font-family: 'Arvo';
    font-weight: 400;
    font-size: 22px;
    margin-top: 10px;
    letter-spacing: -0.25px;
}

h2 {
    color: black;
    font-family: 'Arvo';
    font-weight: 400;
    font-size: 20px;
    margin-top: 10px;
    letter-spacing: -0.25px;
}

h3 {
    color: white;
    font-family: 'Vollkorn';
    font-weight: 400;
    font-size: 16px;
    margin-top: 16px;
    letter-spacing: -0.25px;
    opacity: 0.8;
}

#title {
    position: absolute;
    left: 50px;
    z-index: 1;
}

#strapline {
    position: absolute;
    left: 370px;
    z-index: 1;
}

/* Menu */

#menu {
    position: absolute;
    margin: 0px;
    padding: 0px;
    top: 50px;
    left: 0px;
    z-index: 1;
}

#menu ul {
    padding: 0px;
    margin: 0px;
    margin-left: 10px;
    list-style: none;
}

#menu li {
    padding: 0px;
    margin: 0px;
    margin-bottom: 10px;
}

#menu li img {
    height: 30px;
    width: 30px;
}


#menu li a {
    opacity: 0.8;
}

#menu li a :hover {
    background-color: rgba(255,255,255,0.5);
    opacity: 1;
}

.active {
    border: 2px;
    border-color: white;
    border-style: solid;
}

.active {
    height: 26px !important;
    width: 26px !important;
}

/* Fancybox */

.fancybox-slide--iframe .fancybox-content {
    max-width  : 100%;
    max-height : 100%;
    margin: 0;
}

.fancybox-bg {
    background: black !important;
}

.fancybox-is-open .fancybox-bg {
    opacity: 1 !important;
}

.fancybox-caption {
    font-family: 'Vollkorn';
    font-size: 26px !important;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.fancybox-infobar {
    font-family: 'Arial';
    font-size: 18px !important;
    font-weight: 400;
}

/* Map */

#map {
    margin: 50px;
    height: calc(100% - 100px);
    width: calc(100% - 100px);
}

#container {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: black;
    margin: 0;
    padding: 0;
}

.corner {
    position: fixed;
    display: block;
    z-index: 10;
    width: 180px;
    height: 180px;
    pointer-events: none;
}

.corner-container {
    pointer-events: none;
}

.top-left {
    top: 40px;
    left: 40px;
}

.top-right {
    top: 40px;
    right: 40px;
}

.bottom-left {
    bottom: 40px;
    left: 40px;
}

.bottom-right {
    bottom: 40px;
    right: 40px;
}

/* About */

#about, #list, #images {
    background-color: white;
    margin: 50px;
    height: calc(100% - 100px);
    width: calc(100% - 100px);
    overflow-y: scroll;
    overflow-x: hidden;
}

#about-copy {
    padding: 30px;
    margin-right: 20%;
    overflow-y: hidden;
    overflow-x: hidden;
}

/*
#about::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

#about::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

#about::-webkit-scrollbar-thumb
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}
*/


/* Contact */

#contact-link {
    margin-top: 30px;
    width: 300px;
}

#contact-link p {
    font-style: italic;
    font-weight: 400i;
    letter-spacing: 0.25px;
    margin-top: 10px;
}

#contact-link a {
    text-decoration: none;
}

#contact-button {
    width: 60px;
}

#contact-button:hover {
    background-color: #d3d3d3;
}

/* List */

#list {
    border: 1px;
    border-style: solid;
    border-color: white;
}

#all-list {
    margin: 0px;
    padding: 0px;
    width: 100vw;
    overflow-y: scroll;
    overflow-x: hidden;
}

/*
#list::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

#list::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

#list::-webkit-scrollbar-thumb
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}
*/

h4 {
    color: white;
    font-family: 'Arvo';
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.25px;
    margin: 0px;
}

.h4sub {
    font-size: 14px;
    font-family: 'Vollkorn';
    letter-spacing: -0.1px;
    opacity: 0.65;
}

.list-item {
    background-color: #686868;
    height: 38px;
    margin-top: 0px;
    padding: 0px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    
    border: 1px;
    border-right: 0px;
    border-left: 0px;
    border-style: solid;
    border-color: #505050;
    
    cursor: pointer;
    overflow: hidden;
}

.list-item:hover {
    background-color: black;
    border: 1px;
    border-right: 0px;
    border-left: 0px;
    border-style: solid;
    border-color: white;
}

.list-bullet{
    width: 12px;
    display: block;
    margin-left: 10px;
    margin-top: 10px;
    float: left;
}

.bullet {
    width: 12px;
}

.list-title{
    display: block;
    margin: 0px;
    margin-left: 30px;
    margin-top: 9px;
    padding: 0px;
}

.list-separator {
    background-color: black;
    height: 22px;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
}

.list-separator p {
    color: white;
    font-family: Arial;
    font-size: 13px;
    padding: 0px;
    margin: 0px;
    margin-left: 30px;
}

/* Images */

#images {
    overflow-y: scroll !important;
    overflow-x: hidden;
    background-color: black;
}

#imageFrame {
    width: calc(100vw - 70px);
    height: 100%;
    margin: 0px;
    padding: 0px;
    border: 0px;
    overflow-y: hidden;
    overflow-x: hidden;
    display:block;
}

.imageContent {
    background-color: black;
    overflow-y: hidden;
    overflow-x: hidden;
    display:block;
}

/* Responsive */

@media only screen and (max-width: 800px) {
    
    #strapline {
        left: 50px;
        top: 25px;
    }
    
    #map, #about, #list, #images {
        margin-top: 70px;
        height: calc(100% - 120px);
    }
    
    #menu {
        margin-top: 20px;
    }
    
    .h4sub {
        display: none;
    }
    
    .list-title {
        margin-top: 10px;
    }
    
    h4 {
        font-size: 14px;
    }
    
}

@media only screen and (max-width: 600px) {
  
    #map, #about, #list {
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 110px;
        width: 100%;
        height: calc(100vh - 160px);
    }
    
    #images {
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 110px;
        width: 100vw;
        height: calc(100% - 160px);
    }
    
    #imageFrame {
        width: 100vw;
    }
    
    #list {
        border-left: 0px;
    }
    
    .corner {
        z-index: 10;
        width: 140px;
    }

    .top-left {
        left: 0px;
    }

    .top-right {
        right: 0px;
    }

    .bottom-left {
        left: 0px;
        height: 110px;
    }

    .bottom-right {
        right: 0px;
        height: 110px;
    }
    
    #menu {
        top: 50px;
        left: 30px;
    }
    
    #menu ul {
        margin-left: 0px;
    }
    
    #menu ul li {
        display: inline;
        margin-right: 12px;
    }
    
    #about-copy {
        padding: 30px;
        margin-right: 0%;
    }
    
    #title, #credits, #strapline {
        left: 30px;
    }
    
    h3 {
        font-size: 14px;
    }
}


/* Mobile fixes */

@media screen and (max-device-width: 480px) and (orientation: portrait) {
    
/*
    #imageMenu {
        display: none !important;
    }   
*/
    
    #credits {
        display: none !important;
    }
    
    .corner-container {
       display: none !important; 
    }
    
}

@media screen and (max-device-width: 640px) and (orientation: landscape) {
/*
    #imageMenu {
        display: none !important;
    } 
*/
    
    .fancybox-caption {
        display: none !important; 
    }
}