/*! HTML5 Boilerplate v5.0 | MIT License | https://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */




body {
    font-family: 'Roboto', sans-serif;
    color:#8c8c8c;
    font-size: 15px;
    width:100%;
    background-color: #ebeeef;
}

#container {
    margin:35px;
    padding: 0;
    overflow:auto;
}

p {
    margin-bottom: 0.7em;
    margin-top: 0.7em;
}

.dark-text {
    color:#000000;
}

.selected {
    color:#000000; 
}

.small-text {
    font-size: 12px;
}

a, a:link {
    color:#8c8c8c;
    text-decoration: none;
}

a:hover{
    color:#000000; 
    text-decoration: none;
}

a:focus {
    outline: 0;
}

.overlay-title {
    margin-top:-3px;
    padding-top: 0;
}
.site-title {
    padding:0;
    margin:0;
    cursor: default;
    opacity: 1;
    transition: opacity 3s ease-in-out;
    -moz-transition: opacity 3s ease-in-out;
    -webkit-transition: opacity 3s ease-in-out; 
}

.button {
    cursor: pointer;
     transition: color 0.4s ease-in-out;
    -moz-transition: color 0.4s ease-in-out;
    -webkit-transition: color 0.4s ease-in-out; 

    transition: opacity 3s ease-in-out;
    -moz-transition: opacity 3s ease-in-out;
    -webkit-transition: opacity 3s ease-in-out; 
}

.button:hover {
    color:#000000;
}

ul.artist-list {
    padding: 32px 0px 0px 0px;
    margin:0;
    list-style: none;
}

.artist-list li{
    margin: 0px;
    padding: 0px;
}


.close-but {
    position: fixed;
    top:30px;
    left:700px;
    display: none;
    cursor: pointer;
}

#film-button {
    cursor: pointer;
    padding-left: 25px;
}

.bottom-links {
    padding-top:10px;
}

.overlay {
    position:absolute;

    max-width: 800px;

    width: calc(100% - 255px - 70px);

    /* 3 columns of 75px + 3 gutters of 10px */
    margin-left: 255px;

    margin-top: 33px;
    margin-right: 35px;

    top:0px;
    left:0px;

   opacity: 0;
   transition: opacity 1.5s ease-in-out;
   -moz-transition: opacity 1.5s ease-in-out;
   -webkit-transition: opacity 1.5s ease-in-out;
   
}

img.artist{
    margin-bottom: 18px;
}

.overlay p{
        /* 5 columns of 75px + 4 gutters of 10px */
    max-width: 415px;
}

#blank {
    position:fixed;

    width:100%;
    height:100%;

    display: block;
    background-color: white;
    top:0px;
    left:0px;

    transition: opacity 1.5s ease-in-out;
   -moz-transition: opacity 1.5s ease-in-out;
   -webkit-transition: opacity 1.5s ease-in-out;
   
}

.level1 {
    z-index: 100;
}

.level2 {
    z-index: 200;
}

.level3 {
    z-index: 300;
}

.level4 {
    z-index: 400;
}

.level5 {
    z-index: 500;
}

.level6 {
    z-index: 600;
}

.level7 {
    z-index: 700;
}

.review {
    margin-bottom:20px;
}

.author {
    margin-top:0;
    padding-top:0;
}

.fadeIn {
    opacity: 1.0;
}

.fadedOut {
    opacity: 0.0!important; 
}

.nav {
    position: fixed;
    top:30px;
    left:35px;
}

#bottom-panel {
    position:absolute;
    top:100%;
    overflow: auto;
    background-color: white;
    width: 100%;
    height: 235px;
    padding-top:20px;
}

#down-arrow {
    display: block;
   position:absolute;
   top:100%;
   margin-top:-45px;
   margin-left:35px;
   opacity: 1.0;
       transition: opacity 3s ease-in-out;
    -moz-transition: opacity 3s ease-in-out;
    -webkit-transition: opacity 3s ease-in-out; 
}

#about {
    max-width: 340px;
    float:left;
    margin-left: 95px;
}

#left-panel {
    float:left; 
    width:200px;
    margin-left:35px;
}

video#bgvid, .gradient, .video-still {
    position: absolute;
    top: 0px;
    right: 0px;
    min-height: 100%;
    max-height:100%;
    width: auto;
    height: auto;
    z-index: -100;
 /*   -webkit-transform: translateX(-100%) translateY(-50%);
    transform: translateX(-100%) translateY(-50%);*/

}

.gradient {
    z-index: 0;
}


.funders {
    margin-left: -3px;
    position: absolute;
    top: 134px;
    background-repeat: no-repeat;
    width:220px;
}
.funder-link-1  {
    background-image: url('../img/funders.jpg');
    width:130px;
    height:32px;
    display: block;
}

.funder-link-2  {
    background-image: url('../img/funders.jpg');
    width:150px;
    height:38px;
    display: block;
    background-position: 0px -37px;
}

.funder-link-3  {
    position: relative;
    left: 160px;
    top: -63px;
    background-image: url('../img/funders.jpg');
    width:64px;
    height:64px;
    display: block;
    background-position: -155px -11px;
}

.funder-link-4  {
    margin-top:-55px;
}

.funder-link-1:hover {
    background-position: -220px 0px;
}

.funder-link-2:hover {
  background-position: -220px -37px;
}

.funder-link-3:hover {
  background-position: -375px -11px;
}

.video-arrow {
    position: absolute;
    background-image: url('../img/video-arrow.png');
    background-position: center;
    background-repeat: no-repeat;
    width:100%;
    height:100%;
}

.video-arrow:hover {
    background-position: 0px -280px;
    cursor: pointer;
}

.vimeo-thumb {
    cursor: pointer;
}

img.vimeo-poster {
    width:100%;
    height:auto;
    cursor: pointer;
    margin-bottom: 18px;
}

.vimeo-container {
  width:100%;
  margin-bottom: 29px;
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
}

.mobile-image {
    display: none;
    margin-top: 45px;
}

.burger-icon, .burger-close {
    display:none;
}

.iframe-wrapper {

  margin-bottom: 1em;
}

.vimeo-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-height: 800px), (max-width: 900px){

    img.artist{
        width:225px;
        height:210px;
    }

}

@media (max-height: 850px){

    .overlay {
       max-width: 500px;
    }

}

@media (max-height: 450px){

    .nav {
        position: absolute;

    }

}

@media (max-width: 670px){

    #about {
            margin-left: 35px;
    }

}

@media (max-width: 610px){

    .video-still, .gradient, #down-arrow {

        display: none;

    }

    #bottom-panel {
        top:auto;
    }

    ul.artist-list {
       opacity: 0; 
       position: absolute;
       left:0px;
       margin: 0px;
       background-color: white;
       width:calc(100% - 13px);
       padding-left: 13px;
       padding-bottom: 13px;
    }

    body {

        background-color: white;
    }

    .mobile-image {
        display: block;
        width:100%;
        height: auto;
    }

    #container {
        margin:0;

    }

    .funders {
        position:relative;
        top:0px;
    }

    #about {
        position:static;
        margin-top: -420px;
        margin-left: 13px;

    }

    #left-panel {
        width: 100%;
        margin-left:13px;
        margin-top:200px;
    }

    #bottom-panel {
        position:static;
        height: auto;
        padding-top:15px;
    }

    .nav {
        position: absolute;
        top:auto;
        left:auto;
        margin:13px 13px 10px 0px;
        width:100%;
    }

    .vimeo-container {

        margin-bottom: 13px;
    }

    .overlay {
        position:absolute;
        width:100%;
        height:auto;
        min-height: 100%;
        margin-left: 0px;
        margin-top: 45px;

        background-color: white;
        top:0px;
        left:0px;
    }


    .overlay img{
        width:100%;
        height:auto;
    }

    .overlay p{
        max-width: auto;
        margin-left: 13px;
        margin-right: 13px;
    }

    .overlay img{
        width:calc(100% - 26px);
        margin-top: 120px;
        margin-bottom: 0px;
        margin-left: 13px;
        margin-right: 13px;
    }


    .artist-list span.fadedOut {
        opacity: 1.0 !important; 
    }

    .burger-icon {
        display:block;
        position:absolute;
        right:10px;
        top:14px;
        width:30px;
        height:19px;
        cursor: pointer;
        z-index: 3000;
    }

    .burger-close {
        display:block;
        position:absolute;
        right:10px;
        top:14px;
            width:30px;
        height:19px;
        cursor: pointer;
        z-index: 3001;
    }

    .visible {
        display: block!important;
        opacity: 1!important;
    }
    .artist-list {
        transition: opacity 1.5s ease-in-out;
       -moz-transition: opacity 1.5s ease-in-out;
       -webkit-transition: opacity 1.5s ease-in-out;
       z-index: 2000;
    }

    img.vimeo-poster {
        margin-top: 0px!important;
    }

    .button, .site-title  {

        transition: opacity 0s ease-in-out;
        -moz-transition: opacity 0s ease-in-out;
        -webkit-transition: opacity 0s ease-in-out; 
    }

    .site-title  {
        margin-left: 13px;
    }

    .video-arrow {
        width:100%;
    }

}

/* ==========================================================================
   Media Queries
   ========================================================================== */


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
