html {
  overflow-x: hidden;
}

body {
  background: #1d1d1d;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  margin: 0;
}

@media only screen and (max-width: 1400px) {
  body {
      overflow-x: hidden;
      position: absolute;
      width: 100vw;
  }
}

.listenHeader {
  margin: 0 auto;
  width: 100%;
  max-height: 250px;

  text-align: center;
}

.listenHeader img {
  max-width: 400px;
  width: 100%;
}

   /* centre the content in the parallax layers */
.hero-feature {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.listenFeature {
  width: 100%;
  background-color: silver;
  text-align: center;
}

.featureItem {
  width: 100%;
  height: auto;
  max-height: 800px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.featuredPiece {
  text-align: left;
  background: url(img/van2.jpg) center center no-repeat;
  background-size: cover;
  height: 500px;
  position: relative;

}

@media only screen and (min-width: 900px) {
  .featuredPiece {
    text-align: left;
    background: url(img/van2.jpg) center top no-repeat;
    background-size: cover;

  }
}

@media only screen and (min-width: 1200px) {
  .featuredPiece {
    text-align: left;
    background: url(img/van1.jpg) center center no-repeat;
    background-size: cover;

  }
}

.featurePieceControls {
  bottom: 0;
  position: absolute;
  background-color: rgba(77, 77, 77, 0.6);
  padding: 15px;
  padding-bottom: 25px;
  color: white;
}

.featuredPiece h2 {
  font-size: 24px;
}

.featuredPiece p {
  font-size: 18px;
}

.latest {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.latest h2 {
  padding: 15px;
}

/* GHOST BUTTON */

.ghost-button {
  border: 2px solid;
  border-color: white;
  color: white;
  text-decoration: none;
  padding: 8px;
  padding-top: 10px;
  font-size: 18px;
}

.ghost-button:hover {
  border: 2px solid;
  border-color: white;
  color: white;
  text-decoration: none;
  padding: 8px;
  padding-top: 10px;
  font-size: 18px;
  cursor: pointer;
  background-color: #787878;
}

.ghost-button i {
  padding-right: 7px;
}

.ghost-button-small {
  color: white;
  text-decoration: none;
  padding: 4px;
  padding-top: 5px;
  font-size: 16px;
  transition: 0.2s;
}

.ghost-button-small:hover {
  color: white;
  text-decoration: underline;
  padding: 4px;
  padding-top: 5px;
  font-size: 16px;
  cursor: pointer;
}

.ghost-button-small i {
  padding-right: 6px;
}



.podcast-wrapper {
  padding: 5vw;
}
.playlist-item {
  border-top: 1px solid #666;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  color: #ccc;
  white-space: nowrap;
}
.playlist-item:hover, .playlist-item.active {
  background: #333;
}
.playlist-inner {
  display: flex;
}
.playlist-play {
  position: relative;
  margin-right: 2em;
}
.icon-play2, .icon-pause {
  position: absolute;
  font-size: 2em;
  color: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 10;
  cursor: pointer;
}
.playlist-item:hover .icon-play2, .playlist-item:hover .icon-pause {
  opacity: 1;
}
.playlist-item:hover .icon-play2 + .playlist-duration, .playlist-item:hover .icon-pause + .playlist-duration {
  opacity: 0;
}
.playlist-duration {
  min-width: 4.1em;
  text-align: center;
}
.playlist-title {
  color: #fff;
}



   /*  SECTIONS  */
   .section {
   	clear: both;
   	padding: 0px;
   	margin: 0px;
   }

   /*  COLUMN SETUP  */
   .col {
   	display: block;
   	float:left;
   	margin: 1% 0 1% 1.6%;
   }
   .col:first-child { margin-left: 0; }

   /*  GROUPING  */
   .group:before,
   .group:after { content:""; display:table; }
   .group:after { clear:both;}
   .group { zoom:1; /* For IE 6/7 */ }

   /*  GRID OF FOUR  */
.span_4_of_4 {
	width: 100%;
}
.span_3_of_4 {
	width: 74.6%;
}
.span_2_of_4 {
	width: 49.2%;
}
.span_1_of_4 {
	width: 23.8%;
}

/*  GO HALF WIDTH BELOW 800 PIXELS */
@media only screen and (max-width: 800px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 50%; }
  .card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    text-align: left;
    background-color: #282828;
    max-width: 99%;
  }
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 100%; }
}

/*LATEST SECTION */
.latestgroup {
  padding: 15px;
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  text-align: left;
  background-color: #282828;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.interviews {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 15px;
  display: block;
  float: left;
}

.flip-card {
  display: block;
  float: left;
  background-color: transparent;
  margin-right: 15px;
  margin-bottom: 15px;
  width: 100%;
  height: 100%;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: dodgerblue;
  color: white;
  transform: rotateY(180deg);
}

/* Column Grid */
.res_g_col {
  width: 100%;
  max-width: 1500px;
  text-align: left;
  margin: 0 auto;
}

.res_g_col_6 {
  display: block;
  float: left;
  width: 16.33%;
  margin: 1.6%;
}

.res_g_col_6 h4 {
  font-size: 16px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.res_g_col_6 img {
  width: 100%;
}

@media only screen and (max-width: 800px) {
  .res_g_col_6 {
    display: block;
    float: left;
    width: 29%;
    margin: 1.6%;
  }
}

@media only screen and (max-width: 615px) {
  .res_g_col_6 {
    display: block;
    float: left;
    width: 44%;
    margin: 1.6%;
  }
  .res_g_col_6 h4 {
    font-size: 14px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  h2 {
    font-size: 20px !important;
  }
  .interviews h2, ul {
    padding-right: 14px !important;
  }
}

@media only screen and (max-width: 268px) {
  .res_g_col_6 {
    display: block;
    float: left;
    width: 90%;
    margin: 0 auto;
  }

  .res_g_col_6 h4 {
    font-size: 14px !important;
  }
}

@media only screen and (max-width: 195px) {
  .res_g_col_6 {
    display: block;
    float: left;
    width: 80%;
    margin: 0 auto;
  }
}

/* Add some padding inside the card container */
.container {
  padding: 2px 16px;
  height: 200px;
  position: relative;
  z-index: 1;
}

.container h3 {
  margin-bottom: 7px;
}

.container p {
  margin: 0;
}

.latest-button {
  position: absolute;
  bottom: 15px;
}

/* YouTube Button */

.latest-button-right {
  position: absolute;
  bottom: 15px;
  left: 120px;
  height: 20.5px;
}

.latest-button-right p, .latest-button-right i {
  display: block;
  float: left;
  font-size: 18px !important;
}

.latest-button-right p {
  padding-top: 2px;
}

/* Responsively Resize YouTube Button */

@media only screen and (max-width: 968px) and (min-width: 801px) {
  .latest-button-right p {
    display: none;
  }
  .latest-button-right, .latest-button-right:hover {
    padding-right: 2px;
  }
}

i {
  padding-right: 5px;
}

.card h3 {
  font-size: 22px;
}

.card p {
  font-size: 16px;
}

/* YouTube Player Modal */

.Modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.Modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
}
.Modal-box > .video-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: 177.78vh;
  height: 56.25vw;
  max-height: 100vh;
  margin: auto;
  overflow: hidden;
}
.Modal-box > .video-container > iframe,
.Modal-box > .video-container > object,
.Modal-box > .video-container > embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.Modal-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 9001;
  padding: 5px 10px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.85);
}

.Modal-cancel-overflow {
  overflow: hidden;
}


/* Responsively Resize Feature Cards */

@media only screen and (max-width: 1440px) and (min-width: 1050px) {
  .container p {
    font-size: 14px;
  }
  .container h3 {
    font-size: 18px;
  }
}

@media only screen and (max-width: 1049px) and (min-width: 826px) {
  .container p {
    font-size: 12px;
  }
  .container h3 {
    font-size: 17px;
  }
}

@media only screen and (max-width: 825px) and (min-width: 801px) {
  .container p {
    font-size: 12px;
  }
  .container h3 {
    font-size: 15px;
  }
}

@media only screen and (max-width: 586px) and (min-width: 481px) {
  .container p {
    font-size: 15px;
  }
  .container h3 {
    font-size: 16px;
  }
}

@media only screen and (max-width: 374px) and (min-width: 250px) {
  .container p {
    font-size: 15px;
  }
  .container h3 {
    font-size: 16px;
  }
}

@media only screen and (max-width: 249px) and (min-width: 196px) {
  .container p {
    font-size: 12px;
  }
  .container h3 {
    font-size: 15px;
  }
}

@media only screen and (max-width: 195px) and (min-width: 100px) {
  .container p {
    display: none;
  }
  .container h3 {
    font-size: 15px;
  }
}

/* Make room for player */

#bottom {
  height: 200px;
}



/* Contain a new section */

.box-capsule {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}

/* Category Filter */

::selection {
    background: #fff;
    color: #FFF;
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background:#eee;
    border: thin solid lightgray;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1) inset;
}

::-webkit-scrollbar-thumb {
    background:#999;
    border: thin solid gray;
}

.category-container {
    width: 100%;
    margin: 0 auto;
    -webkit-transform: translateZ(0);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 50px 0;
    text-align: center;
}

nav ul li {
    display: inline;
    cursor: pointer;
    margin-right: 10px;
    color: #666;

    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
}

nav ul li:hover {
    color: #fff;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li:after {
    margin-left: 10px;
    content: '/';
    color: #bbb;
}

nav ul li:hover:after {
    color: #bbb;
}

nav ul li:last-child:after {
    content: '';
}

.work {
    margin: 20px 0;
}

.work figure {
    float: left;
    margin: 20px;
    width: 200px;
    height: 200px;
    background: #ccc;
    line-height: 200px;
    position: relative;
    padding: 0 !important;

    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);

    transition: 0.6s;
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    -o-transition: 0.6s;
    -ms-transition: 0.6s;
}

.work figure a img {
    height: 100%;
    width: 100%;
}

.work figure dl {
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    padding: 20px;
    margin: 0;
    line-height: 2.5;
    background: rgba(0, 0, 0, 0.8);
    color: white;

    transition: 0.6s;
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    -o-transition: 0.6s;
    -ms-transition: 0.6s;
}

.work figure:hover dl {
    opacity: 1;
}

.work figure dl dt {
    text-transform: uppercase;
    font-family: 'PT Sans Narrow';
    font-size: 12px;
    margin-bottom: -16px;
}

.work figure dl dd {
    margin-left: 0;
}

figure:hover {
  cursor: pointer;
}

.current {
    -webkit-filter: sepia(0) !important;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}
.not-current {
    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    -o-transform: scale(0.75);
    -ms-transform: scale(0.75);
    transform: scale(0.75);

    -webkit-filter: grayscale(1) !important;
  display: none;
}

.current-li {
    color: #fff;
}
