#fenceLogoWrap {
  display: none;
}

.fence-footer {
  display: none;
}

#fence-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background: #ef9824 url('/wp-content/themes/eventure-child/images/fence-sky.jpg') repeat-x;
}

.fence-at-night {
  background: #2c3671 url('/wp-content/themes/eventure-child/images/fence-sky-night.jpg') repeat-x !important;
  -webkit-transition:background 0.5s linear;
}

#fence-wrapper #content {
  position: relative;
  overflow: hidden;
  height:100%;
}

.fence-viewport {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.the-fence {
  background-image: url('/wp-content/themes/eventure-child/images/fence-railings.png');
  background-repeat: repeat-x;
  background-position: top;
  height: 85%;
  position: absolute;
  width: 10000px;
  cursor: move;
  bottom: 0;
}

.fence-nav {
  position: relative;
  z-index: 100;
  top: 20px;
}

.fence-nav a, .fence-nav .instructions {
  position: absolute;
  opacity: 0.85;
}

.fence-nav a.prev {
  left: 20px;
}

.fence-nav a.next {
  right: 20px;
}

.fence-nav .instructions {
  background-color: #FFF;
  height: 35px;
  line-height: 35px;
  color: #d8013c;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  left: 50%;
  width: 150px;
  margin-left: -75px;
  text-transform: uppercase;
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5);
}

.instructions a {
  position:static;
  color: #d8013c;
  text-decoration: none;
}

.fence-nav a:hover {
  opacity: 1;
}

.fence-nav a.disabled {
  display: none;
}

.fence-item {
  float: left;
  display: block;
  margin: 0 20px;
  height: 100%;
  list-style: none;
}

.fence-item.first {
  margin-left: 100px;
}

.fence-item.fence-image a {
  display: block;
  height: 60%;
  position:relative;
  top:20%;
}

.fence-item.fence-image img {
  position: relative;
  height: 100%;
  max-height: 100%;
  width: auto;
}

.parallax-layers {
  position: absolute;
}

.parallax-layers .big-polygon {
  position: absolute;
  width: 161px;
  height: 150px;
  top: 160px;
  left: 300px;
  background-image: url('/wp-content/themes/eventure-child/images/fence-polygon.png');
}

.parallax-layers .small-polygon {
  position: absolute;
  width: 57px;
  height: 54px;
  top: 60px;
  left: 1000px;
  background-image: url('/wp-content/themes/eventure-child/images/fence-polygon-sm.png');
}

.fence-item.first p, .fence-item.first a, .fence-item.first h2 {
  color: #FFFFFF;
}

.fence-item.first a {
  text-decoration: none;
}

.fence-item.first .sign-post {
  background-image: url('/wp-content/themes/eventure-child/images/fence-sign.png');
  width: 230px;
  height: 105px;
  background-repeat: no-repeat;
  margin-top: 50px;
  padding: 5px 40px 5px 10px;

}

.fence-item.first .sign-post h1 {
  color: #FFF;
  text-transform: none;
  margin: 0;
  font-size: 28px;
}

.fence-item.first .sign-post p {
  font-weight: bold;
  font-style: italic;
  font-size: 1.2em;
}

.fence-item.first .sign-post p span {
  color: #d8013c;
}

.fence-item.first .social {
  background-color: #000000;
  width: 225px;
  margin-top: 40px;
  padding: 5px 5px 10px 10px;

}

.fence-item.first .social h3 {
  color: #fff;
  font-size: 14px;
  text-transform: none;
  margin: 10px 0 10px;
  line-height: 1;
}

.fence-item.first .social .socialButton {
  margin-bottom: 0px;
}

.fence-item.first .submit-event {
  background: url('/wp-content/themes/eventure-child/images/pink-striped-bg.png') #d8013c;
  width: 240px;
  text-align: center;
  margin-top: 40px;
  padding: 40px 0;
}

.fence-item.first .submit-event a {
  background: #000;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  padding: 10px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.fence-item.first .submit-event a:hover {
  padding: 20px;
}

.fence-item.last {
  position: absolute;
  right: -77px;
  width: 77px;
  height: 100%;
  margin: 0;
  background-image: url('/wp-content/themes/eventure-child/images/fence-railings-end.png');
}

.fence-item.last .fence-end {
  width: 200px;
  height: 150px;
  background-color: #d8013c;
}

.fence-link-wrapper {
  height: 60%;
}


#fence-wrapper #wpadminbar {
  position: fixed !important;
  top: 0px !important;
}

#fence-wrapper #toppanel {
  display: none;
}

@media screen and (max-width:440px) {

  #fenceLogoWrap {
    display:block;
  }

  #fenceLogoWrap .innerWrap #header {
    margin:0 auto;
    padding: 0 0 10px 0;
  }

  #fenceLogoWrap h1 {
    margin-bottom: 0;
  }

  #fenceLogoWrap .innerWrap #logo {
    width: 95%;
    padding-left: 5%;
    margin-top: 5px;
  }
  .fence-logo {
    position: relative;
  }

  .fence-wrapper {
    height:auto;
  }

  .fence-viewport {
    overflow: visible;
    position: static;
  }

  #fence-wrapper #content {
    overflow: visible;
    height: auto;
  }

  .parallax-layers {
    display:none;
  }

  .visible-phone {
    display: block;
  }

  .visible-desktop,
  .post-snippet a.date,
  #navigationStickyWrapper,
  #toppanel,
    /*#slider,*/
  .flex-control-nav,
  a#logo, #logob, /* TEMP TO HIDE THE DAMN LOGO TO ALLOW WIDTH FIX */
  #filter h3, #filter ul,
  .home-page-secondary-content .article .pic,
  #logoWrap .innerWrap
  .parallax-layers,
  .fence-nav {
    display: none;
  }

  .fence-item {
    /*height: 200px;*/
  }

  #fence-wrapper {
    height: auto;
    border-top: 5px solid #d8013c;
    background: #2c3671 url('/wp-content/themes/eventure-child/images/fence-sky-night.jpg') repeat-x !important;
  }

  .the-fence {
    background-image: none;
    width: 100% !important;
    left: 0px !important;
    height: auto;
    position: static;
    cursor: default;
  }

  .fence-item h2, .fence-item h4 {
    color: #FFFFFF;
    font-style: normal;
  }

  .fence-item {
    height: auto;
    float: none;
    width: 90%;
    margin: 0 5% 45px;
  }

  .fence-item.first {
    margin: 0 5% 20px;
  }

  .fence-item.last {
    display: none;
  }

  .fence-item.last {
    display: none;
  }

  .fence-item.fence-image a {
    height: auto;
    position: static;
  }
  .fence-item.fence-image img {
    height: auto;
    position: static;
  }

  .fence-footer {
    display: block;
  }

}