body {
    margin: 0;
    padding: 0;
    background: #000;
    font-family: 'Darwin Pro';
    font-weight: 200;
    font-style: normal;

    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

/* Let's get this party started */
::-webkit-scrollbar {
    width: 8px;
}
 
/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 0px;
    border-radius: 0px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background: rgba(0, 0, 0, 0);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    transition: background-color 0.5s ease-in-out; 
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(68, 68, 68, 0.8);
}



#window {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
}

#ribbon {
    position: absolute;
    left: -58px;
    bottom: 46px;
    width: 300px;
    height: 35px;
    background: #9e0000;
    z-index: 9999;
    line-height: 34px;
    text-align: center;
    color: #f3f3f3;
    text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
    transform: rotateZ(32deg) translateX(-300px);
    box-shadow: 0px 0px 4px 0px #00000094, inset 0px 0px 2px 0px #ffb2b2;
    transition: transform 2s cubic-bezier(0, 0, 0.23, 1);
    cursor: pointer;
    border-radius: 2px;
}

#slideshow {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
#content {
    position: absolute;
    top: 0px;
    left: 50px;
    right: 50px;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#zoomSlider {
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
}

#whiteBar {
    position: absolute;
    top: 60px;
    height: 1px;
    background: white;
    width: 0%;
    transition: width 1.5s ease;
}
#whiteBlock {
    position: absolute;
    top: 51px;
    height: 10px;
    width: 0px;
    background: white;
    transition: width 1.5s ease;
}
#headerText {
    display: none;
    position: absolute;
    top: 62px;
    width: 368px;
    background: rgba(0, 0, 0, 0.5);
    padding: 0px 8px;
    box-sizing: border-box;
    font-family: 'Darwin Pro';
}
#welcomeTitle {
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 0px;
}
#welcomeText {
    color: #afafaf;
    font-size: 20px;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 0px;
    padding-bottom: 4px;
}

#menuBig {
    display: none;
    position: absolute;
    top: 200px;
    color: white;
    font-size: 20px;
}

.menuLink {
    padding: 3px 8px 0px 8px;
    margin-bottom: 3px;
    width: 120px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}
.menuLink:hover {
    background: rgba(0, 0, 0, 0.5);
}
.menuLink.active {
    border-bottom: 1px solid #ffffff8c;
}

#photoid {
    position: absolute;
    right: -400px;
    bottom: 80px;
    padding: 10px 15px;
    padding-right: 60px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid black;
    border-right: none;
    color: #484848;
    width: max-content;
    transition: right 2s cubic-bezier(0.38, 0.75, 0.6, 1);
    z-index: 1;;
}

.photodesc {
    color: white;
    padding-bottom: 2px;
    margin-bottom: 4px;
    border-bottom: 1px solid #6b6b6b;
}

.photoLD, .photoCredit, .photorole, .photoAss  {
    color: grey;
    margin-left: 5px;
}
#Assdiv {
    display: none;
}


#about, #cv, #links, #contact {
    display: none;
    position: absolute;
    width: 60%;
    height: 65%;
    top: 50%;
    left: 50%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 20px;
    border: 1px solid #232323;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}
.pageScroll {
    position: absolute;
    top: 68px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    overflow-x: hidden;
    overflow-y: auto;
}


.pageClose {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    opacity: 0.8;
}
.pageClose:hover {
    opacity: 1;
}

.pageheader {
    padding-left: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #484747;
    color: white;
    font-size: 25px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.pagecontentHeader {
    color: white;
    font-size: 18px;
    text-decoration: underline;
    margin-top: 15px;
    padding: 5px 8px;
}
.pagecontent {
    color: white;
    font-size: 16px;
    margin-top: 6px;
    padding: 5px 8px;
}

.aboutimg {
    width: 40%;
    float: right;
    padding-left: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
}
#cvLink {
    position: absolute;
    top: 25px;
    right: 40px;
    cursor: pointer;
}
#cvLink:hover {
    text-decoration: underline;
}

.credit {
    padding-left: 40px;
    padding-bottom: 5px;
    color: #d0d0d0;
}
.credit:before {
    content: "-";
    position: relative;
    left: -12px;
    color: #5d5d5d;
}

.contentHolder {
    margin-top: 8px;
}

.linkBlock {
    cursor: pointer;
    border-bottom: 1px solid transparent;
    margin-bottom: 12px;
}
.linkBlock:hover {
    border-bottom: 1px solid #505050;
}

.linkName {
    font-size: 18px;
    color: white;
}

.linkDesc {
    font-size: 14px;
    color: #aaaaaa;
}



@media only screen and (max-height: 500px) {
    #photoid {
        display: none !important;
    }
    #ribbon {
        display: none !important;
    }
    #menuBig {
        top: 150px;
    }
    #about, #cv, #links, #contact {
        width: 100%;
        position: absolute;
        top: 0px;
        bottom: 0px;
        height: auto;
        transform: none;
        left: 0px;
        max-height: none !important;
    }
}


@media only screen and (max-width: 760px) {
    .aboutimg {
      display: none;
    }
}

@media only screen and (max-width: 600px) {
    #about, #cv, #links, #contact {
        width: 100%;
    }
}

@media only screen and (max-width: 467px) {
    #about, #cv, #links, #contact {
        width: 100%;
        position: absolute;
        top: 60px;
        bottom: 0px;
        height: auto;
        transform: none;
        left: 0px;
        max-height: none !important;
    }
    #content {
        left: 0px;
        right: 0px;
    }
    #whiteBlock {
        display: none;
    }
    #whiteBar {
        top: 0px;
        width: 100%;
    }
    #headerText {
        top: 1px;
        width: 100%;
    }
    #welcomeTitle {
        font-size: 25px;
    }
    #welcomeText {
        font-size: 16px;
    }
    #menuBig {
        top: 100px;
    }
    #photoid {
        display: none !important;
    }
}











.spinner {
    font-family: 'Darwin Pro';
    font-weight: 200;
    font-style: normal;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    width: 40px;
    height: 40px;
    background-color: #9e9e9e;
  
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
  }
  
  @-webkit-keyframes sk-rotateplane {
    0% { -webkit-transform: perspective(120px) }
    50% { -webkit-transform: perspective(120px) rotateY(180deg) }
    100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
  }
  
  @keyframes sk-rotateplane {
    0% { 
      transform: perspective(120px) rotateX(0deg) rotateY(0deg);
      -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
    } 50% { 
      transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
      -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
    } 100% { 
      transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
      -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
  }