*, *:before, *:after {
    box-sizing: border-box;
  }
  
  body {
      background: #fff;
      font-family: 'Open Sans',"Helvetica Neue", Helvetica, Arial, sans-serif;
      color: #222;
      padding:0;margin:0;
  }
  strong, b { font-weight: 600 }
  p {
    margin: 0 0 15px;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Asap', 'Open Sans',"Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.3em;
    font-weight: 700;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .item div > p:first-of-type: {
    margin-top: -12px;
  }
  #intro-container {
    height: 100vh;
    background: #000;
  }
  #intro {
    /* opacity:0; */
    /* padding: 0 15px; */
    z-index: 101;
    color: #fff;
    height: 100vh;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: flex-start;
    background: #000 url(../pic/haisla-collins-artist.jpeg) no-repeat right bottom;
    background-size: cover;
    position: relative;
    /* -webkit-transition: opacity 5s cubic-bezier(.44,.01,.36,1);
    -moz-transition: opacity 5s cubic-bezier(.44,.01,.36,1);
    -ms-transition: opacity 5s cubic-bezier(.44,.01,.36,1);
    -o-transition: opacity 5s cubic-bezier(.44,.01,.36,1);
    transition: opacity 5s cubic-bezier(.44,.01,.36,1); */
  }
  #intro-title {
    position: absolute;
    width: 100%;
    /* min-height: calc(100vh - 100px); */
    height: 100%;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    /* padding: 10vh 0 0 10vw; */
    /* margin: 0; */
    /* opacity: 0;
    -webkit-transition: opacity 2s cubic-bezier(.54,.68,.68,1);
    -moz-transition: opacity 2s cubic-bezier(.54,.68,.68,1);
    -ms-transition: opacity 2s cubic-bezier(.54,.68,.68,1);
    -o-transition: opacity 2s cubic-bezier(.54,.68,.68,1);
    transition: opacity 2s cubic-bezier(.54,.68,.68,1); */
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #intro-title-inside { 
    top: 220px;
    transform: rotate(90deg);
    transform-origin: top right;
    width: 200px;
    height: 68px;
    position: absolute;
    right: 10px;
  }
  #intro-title-credits {
    z-index: 999;
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 100px;
    text-align: center;
    color: rgba(255,255,255,.5);
    line-height: 1;
    font-size: 11px;
  }
  #intro-title a:link, #intro-title a:visited {
    color: rgba(255, 255, 255, 0.8);
  }
  #intro-title a:hover {
    color: rgba(255, 255, 255, 0.9);
  }
  #intro.intro-on {
    opacity:1;
  }
  #intro-title.intro-title-on {
    opacity:1;
  }
  
  #intro-title img {
    /* margin-right: 10px; */
    /* max-height: 70vh; */
    width: 200px;
    height: 68px;
  }
  #intro h2 {
    font-weight: normal;
  }
  #intro-video-wrapper {
    opacity:0;
    width: 100%;
    height: 50vh;
    -webkit-transition: opacity .25s cubic-bezier(.54,.68,.68,1);
    -moz-transition: opacity .25s cubic-bezier(.54,.68,.68,1);
    -ms-transition: opacity .25s cubic-bezier(.54,.68,.68,1);
    -o-transition: opacity .25s cubic-bezier(.54,.68,.68,1);
    transition: opacity .25s cubic-bezier(.54,.68,.68,1);
  }
  #intro-video-wrapper .videoWrapper { display: none; }
  #intro-video-wrapper.intro-video-on .videoWrapper { display: block; }
  #intro-video-wrapper.intro-video-on {
    opacity:1;
  }
  #intro-video-wrapper iframe {
    width: 100%;
  /*   min-height: 281px; */
  }
  .sticky-wrapper {
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
    height: 70px;
  }
  #nav-mobile-logo {
    opacity: 0;
    height: 70px;
    line-height: 70px;
    font-weight: 700;
    font-size: 22px;
    position: absolute;
    z-index: 99999;
    left: 50%;
    top: 0;
    width: 200px;
    margin-left: -100px;
    text-align: center;
    -webkit-transition: opacity .6s ease-in;
    -moz-transition: opacity .6s ease-in;
    -ms-transition: opacity .6s ease-in;
    -o-transition: opacity .6s ease-in;
    transition: opacity .6s ease-in;
  }
  .stuck #nav-mobile-logo {
    opacity: 1;
  }
  
  #nav {
    height: 70px;
    opacity: 1;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 18px;
    position: relative;
    background-color: rgba(0,0,0,.5);
    /* background: #000;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.6)));
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); */
    -webkit-transition: opacity .4s ease-in;
    -moz-transition: opacity .4s ease-in;
    -ms-transition: opacity .4s ease-in;
    -o-transition: opacity .4s ease-in;
    transition: opacity .4s ease-in;
  }
  #nav.stuck {
    position:fixed;
    top:0;right:0;left:0;
    background: #11120F;
  }
  #nav.nav-hide {
    opacity: 0;
  }
  #nav.nav-hide.nav-just-clicked {
    opacity: 1;
  }
  #nav-hamburger {
    width: 70px;
    height: 70px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    display:none;
    fill: #FFF;
    position: absolute;
    right: 5px;
    top: 0;
    z-index: 3;
  }
  #nav-hamburger svg {
    margin: auto;
    width: 40px;
    height: 40px;
  }
  #nav-hamburger g {
    margin: auto;
  }
  
  #nav-inner {
    display: none;
    margin: 0 auto;
    height: 70px;
    /* max-width: 850px; */
    justify-content: space-around;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center;
  }
  .nav-item {
    -webkit-flex: 2 1 auto;
    -ms-flex: 2 1 auto;
    flex: 2 1 auto;
    height: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center;
  }
  .nav-item > span {
    margin: auto;
  }
  a.nav-item,
  a.nav-item:visited {
    color: #fff;
    text-decoration: none;
  }
  a.nav-item:hover  {
    background-color: rgba(0,0,0,.5);
  }
  
  
  #nav-hamburger {
    fill: #fff;
  }
  
  .pic-left {
    float: left; 
    max-width: 50%; 
    height: auto; 
    margin-right:6px;
  }
  .pic-right {
    float: right; 
    max-width: 50%; 
    height: auto; 
    margin-left:6px;
  }
  .pic-center {
    width: 100%;
    display:block;
    margin: 0 auto 10px auto;
  }
  
  
  #container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 100vh;
  }
  
  #jots {
    margin-top: 10px;
  }
   
  .item {
    width: 49.9%;
    height: 49.9vw;
    padding: 4px;
    overflow: hidden;
    font-size: 13px;
    color: #444;
  }
  .item-inner {
    overflow: hidden;
    height: 100%;
    padding:12px;
  }
  .item::after {
    content: " ";
    display: block;
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: 0px;
    z-index: 98;
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.98) 83%, rgba(255,255,255,0.98) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(83%,rgba(255,255,255,0.98)), color-stop(100%,rgba(255,255,255,0.98)));
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 83%,rgba(255,255,255,0.98) 100%);
    background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 83%,rgba(255,255,255,0.98) 100%);
    background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 83%,rgba(255,255,255,0.98) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 83%,rgba(255,255,255,0.98) 100%);
  }
  .item.gigante::after {
      display: none
  }
  
  
  .item.w2 { width: 100%; }
  .item.w3 { width: 100%; }
  .item.h2 { height: 100vw ; }
  .item.h3 { height: 100vw; }
  
  
  
  h2.item-title {
    font-weight: 700;
    margin-top:10px;
    font-size: 18px;
    line-height: 1em;
    color: #333;
  }
  
  
  .item.gigante { 
    width: 100%; 
    height: auto; 
    font-size: 16px;
    z-index: 99;
    background-color: #fff;
    border: 1px solid #EAEAEA;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  }
  .item.gigante .item-inner { overflow: auto;}
  
  .item.gigante h2.item-title { 
    color: #FF7E00; 
    height: auto; 
    font-weight: 300;
    font-size: 44px;
    margin: 10px 0 15px;
  }
  
  .item.gigante h3.item-title { 
    height: auto; 
    font-weight: 400;
    font-size: 22px;
  }
  
  
  
  /*
  #item-0 > div { background-color: #CCC; }
  #item-1 > div { background-color: #EEE; }
  #item-2 > div { background-color: #f6f6f6; }
  #item-3 > div { background-color: #ddd; }
  #item-4 > div { background-color: #d7d7d7; }
  #item-5 > div { background-color: #d9d9d9; }
  #item-6 > div { background-color: #e8e8e8; }
  #item-7 > div { background-color: #f8f8f8; }
  #item-8 > div { background-color: #d8d8d8; }
  #item-9 > div { background-color: #ddd; }
  #item-10 > div { background-color: #ccc; }
  #item-11 > div { background-color: #c9c9c9; }
  #item-12 > div { background-color: #f9f9f9; }
  #item-13 > div { background-color: #eee; }
  #item-14 > div { background-color: #e8e8e8; }
  #item-15 > div { background-color: #d9d9d9; }
  #item-16 > div { background-color: #EEE; }
  #item-17 > div { background-color: #c9c9c9; }
  #item-18 > div { background-color: #f2f2f2; }
  */
  
  
  
  /*
  .page-about #container .item:not(.item-about),
  .page-past #container .item:not(.item-past),
  .page-contact #container .item:not(.item-contact) {
    display: block;
  }
  .page-home #container .item-past {
    display: block;
  }
  */
  
  /* .page-home .nav-home span { color: #2FFF2F; } */
  .page-upcoming .nav-upcoming span { color: #2FFF2F; }
  .page-about .nav-about span { color: #2FFF2F; }
  .page-past .nav-past span { color: #2FFF2F; }
  .page-contact .nav-contact span { color: #2FFF2F; }
  
  .post-new-row {
    margin-bottom: 20px;
  }
  
  #footer-picjot {
    height: 70px;
  /*   margin-top: 50px; */
  /*   border-top: 1px dotted #d6d6d6; */
    color: #b7b7b7;
    line-height: 70px;
    overflow: auto;
  }
  .admin-login {
    width: 100px;
    height: 70px;
    float: right;
  /*   border-left: 1px solid #CCC; */
    display:block;
    font-size: 12px;
    text-align: center;
  }
  .admin-login a,
  .admin-login a:visited {
    color: #b7b7b7;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: block;
  }
  .admin-login a:hover {
    color: #333;
    background: #f9f9f9;
  }
  #logout {
    display:block;
    clear: both;
    padding:10px 20px;
    text-align: right;
  }
  #logout a,
  #logout a:visited {
    color: #b7b7b7;
  }
  #logout a:hover {
    color: #fff;
  }
  
  .videoWrapper {
      position: relative;
      padding-bottom: 56.25%; /* 16:9 */
      padding-top: 25px;
      height: 0;
      z-index: 3;
  }
  #container .videoWrapper {
    margin-bottom: 40px;
  }
  .videoWrapper iframe {
      position: absolute;
      z-index: 4;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }
  #container .videoWrapper:after {
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:2;
  }
  .gigante .videoWrapper:after {
    z-index:-1;
  }
  .jot-pic {
    display:inline-block;
  }
  img[data-gallery="true"] {
    display:none;
  }
  
  
  
  
  
  @media only screen and (min-width: 600px) {
  
    #container {
      width: calc(100% - 20px);
      max-width: 1600px;
    }
    #nav-mobile-logo { display:none; } 
    #nav-inner {
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      width: 95%;
    }
    #nav-hamburger { display: none; }
    
    .page-about #container .item:not(.item-about),
    .page-past #container .item:not(.item-past),
    .page-contact #container .item:not(.item-contact) {
      display: none;
    }
    .page-home #container .item-past {
      display: none;
    }
    
    h2.item-title {
      font-size: 33px;
    }
    #intro-text {
      white-space: nowrap;
      padding-left: 15px;
      padding-right: 10px;
    }
      
  /*
    .sticky-wrapper #nav {
      display:none;
    }
  */
    
  }
  
  
  
  
  @media only screen and (min-width: 900px) {
    
    .item {
      width: 24.9%;
      height: 24.9vw;
    }
    .item::after {
      height: 80px;
    }
  
    .item.w2 { width: 49.9%; }
    .item.w3 { width: 74.9%; }
    .item.h2 { height: 49.9vw ; }
    .item.h3 { height: 74.9vw; }
  
    .item.gigante {   
      width: 49.9%;
    }
    
    
  }