/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html, body {
    width: 100%;
    height: 100%;
    font-family: 'Lato', sans-serif;
    -webkit-text-size-adjust: none;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

a:hover, form:hover {
    transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    opacity: 0.6;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

p {
    color: #4E4E4E;
}

html {
    font-size: 1rem;
    line-height: 1.6;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2rem 0;
    background: #ccc;
    color: #000;
    padding: 0.2rem 0;
}

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

/*******************************************************************************************************************
Body
*******************************************************************************************************************/
.container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    position: relative;
}

.wrapper {
    margin-top: 53px !important;
    width: 100%;
    height: auto;
    max-width: 950px;
    margin: auto;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
}

.top {
    margin-top: 6.5%;
    margin-bottom: 11%;
}

.top img {
    max-width: 100%;
    width: 100%;
}
a, a:visited {
color: #4E4E4E;
font-weight: 600;
text-decoration: none;

}

nav > ul > li > a {
font-size: 14.5px;
letter-spacing: 0.25px;
}

.float-clear {
    overflow: hidden;
    width: 100%;
}

.left {
    float: left;
    max-width: 47%;
    width: 100%;
}

.right {
    float: right;
    max-width: 47%;
    width: 100%;
}

.press-info {
    position: absolute;
    top: 24%;
    left: 8%;
}
.press-info h1 {
    color: gray;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}
.press-info p {
    color: #000;
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
}
.dvd-info {
    position: absolute;
    top: 24%;
    left: 8%;
    max-width: 290px;
    width: 100%;
}
.dvd-info h1 {
    color: #fff;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}
.dvd-info p {
    color: #fff;
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
}

.dvd-buttons-wrapper{
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    font-size: 0;
}

.paypal {
    max-width: 33%;
    width: 100%;
    display: inline-block;
    font-size: 0.9rem;
    vertical-align: top;
}

.sh {
    font-size: 0.7rem;
}

.price {
    font-size: 1.1rem;
}

.plain-a {
    font-weight: 400;
}

.underline {
    text-decoration: underline;
}

.dvdsales-img {
margin: 69px 0 0 0;
}

.contact-info {
    max-width: 290px;
    width: 100%;
}
.contact-info h1 {
    color: gray;
    font-size: 0.9rem;
}
.contact-info p {
    color: #000;
    font-size: 0.9rem;
    margin: 0;
}
.contact-info a {
    font-size: 0.9rem;
    margin: 0;
}

.episodes-info {
    font-size: 0;
}
.ep-ul {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.ep-ul li {
    display: inline-block;
    list-style: none;
    max-width: 33%;
    width: 100%;
    max-height: 100px;
    height: 100%;
    margin: 1% 0;transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
}
.ep-ul li:hover {
    opacity: 0.6;
}

.ep-content {
    max-width: 300px;
    width: 100%;
    display: inline-block;
    font-size: 0;
    max-height: 100px;
    height: 100%;
}

.ep-content img {
    max-width: 100px;
    max-height: 100px;
    width: 100%;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}
.ep-content p {
    margin: 0;
    font-weight: normal;
}

.ep-box {
    vertical-align: middle;
    display: inline-block;
    max-width: 50%;
    width: 100%;
    padding: 0 5%;
    font-size: 0.8rem;
}

.ep-box span {
    font-weight: bold;
}


.snippet {
    color: gray;
    margin: 2em 0;
}

.episodes {
    margin: 2% 0;
    font-size: 0.9rem;
}

.sm-font {
    font-size: 0.9rem;
}

.fluid-width-video-wrapper {
  overflow: hidden;
}

.about-img {margin: 0 0 38px; 0}

.trailer, .trailerone, .trailertwo, .trailerthree, .trailerfour {margin-bottom: 4%;}

.italic {
    font-style: italic;
}

.homecredits {
    margin: 35px 0px 20px;
}

.partnerlogos-wrap {
    max-width: 100%;
    width: 100%;
    margin-top: 40px;
    
}

.partnerlogos {
    display: inline-block;
    max-width: 33%;
    text-align: center;
    margin: 20px 0px;
    width: 100%;
}

.partnerlogos img{
    max-width: 50%;
    width: 100%
}

/******************************************************************************************************************
Menu
*******************************************************************************************************************/

.menu {
    font-size: 0.8rem;
}
.menu-logo {
    vertical-align: center;
    max-width: 132px;
}

.current {
    color: #000 !important;
}

nav {
    float: right;
}
nav, nav ul {
    display: inline-block ;
}

nav li+li:before
{
  content: '| ';
  padding: 3px;
}

.nav-collapse a:hover {
  opacity: 0.6;
  transition: all .5s;
  -moz-transition: all .5s;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
}

.bottom-logo {
    float: right;
}

.right-clear {
    overflow: hidden;
    display: inline-block;
    float: right;
}
.left-clear {
    overflow: hidden;
    display: inline-block;
    margin-right: 26px;
}

.js .nav-collapse-0.opened {
  margin-bottom: 20px;
}

/*******************************************************************************************************************
Footer
*******************************************************************************************************************/
footer {
    display: inline-block;
}

footer p {
    margin: 0;
}
footer p a {
    text-indent: -9999px;
    /*margin: 0 auto;*/
    width: 24px;
    height: 23px;
    display: block;
    cursor: pointer;
    position: relative;
    bottom: 5px;
    right: 0;
    overflow: hidden;
    border-top-left-radius: 20px;
    -webkit-border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    opacity:0.3;
    filter:alpha(opacity=30);
}
footer p a:hover {
    opacity:1;
    filter:alpha(opacity=100);
    width: 162px;
}
footer a .credit-small {
    width: 24px;
    height: 23px;
    display: block;
    background: url('../img/credit-v-white.png') no-repeat left;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 600;
}
footer a .credit-full {
    width: 128px;
    height: 18px;
    display: block;
    background: url('../img/credit-text.png') no-repeat right;
    position: absolute;
    top: 3px;
    right: 0;
    z-index: 500;
    transition: all 2s;
    -moz-transition: all 2s;
    -webkit-transition: all 2s;
    -o-transition: all 2s;
    opacity:0;
    filter:alpha(opacity=0);
}
footer a:hover .credit-full {
    opacity:1;
    filter:alpha(opacity=100);
    }


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 770px) {
    .press-info, .dvd-info {
        position: relative;
        margin: 11% 0 0 0;
        top: 0;
        left: 0;
        max-width: 100%;
    }
    .dvd-info p, .dvd-info h1 {
        color: #000;
    }

/*Menu*/
    .menu {
        font-size: 1rem;
        line-height: 2;
    }

    nav {
        float: right;
    }
    nav, nav ul {
        display: block;
        width: 100%;
        text-align: right;
    }
    nav li+li:before
    {
      content: '';
    }

    .nav-collapse li {
      width: 100%;
    }

    .nav-toggle {
        background: url(../img/menu.png) no-repeat center center;
        background-size: contain;
        text-indent: -999px;
        height: 20px;
        width: 20px;
        cursor: pointer;
    }
    nav {
        cursor: pointer;
    }
/*Detailed episode page text*/
    .left, .right {
        max-width: 100%;
        width: 100%;
    }

    .homecredits p:first-child {
        margin-bottom: 10px;
    }

    .partnerlogos-wrap {
        max-width: 100%;
        width: 100%;
        margin-top: 40px;
        
    }

    .partnerlogos {
        display: inline-block;
        max-width: 49%;
        text-align: center;
        margin: 20px 0px;
        width: 100%;
    }

    .partnerlogos img{
        max-width: 50%;
        width: 100%
    }
}



@media only screen and (min-width: 400px) and (max-width: 770px) {

/*BODY*/
    .ep-ul li {
        max-width: 50%;
        width: 100%;
        max-height: none;
        height: 170px;
        vertical-align: top;
        margin: 2% 0;
    }

    .ep-content img {
        display: block;
        margin: 0 auto;
    }

    .ep-box {
        display: block;
        margin: 0 auto;
        text-align: left;
    }
}

@media all and (max-width: 400px) {

    .ep-ul li {
        max-width: 100%;
        width: 100%;
        max-height: none;
        height: auto;
        vertical-align: top;
        margin: 5% 0;
    }

    .ep-content {
        max-width: 100%;
        max-height: none;

    }
    .ep-content img {
        display: block;
        margin: 0 auto;
        max-height: none;
        max-width: 100%;
        height: auto;
    }

    .ep-box {
        display: block;
        margin: 0 auto;
        text-align: left;
        max-width: 100%;
        font-size: 1rem;
        padding: 5% 5%;
    }
}

@media only screen and (max-width: 500px) {
    .dvd-buttons-wrapper{
        overflow: hidden;
        max-width: 100%;
        width: 100%;
        font-size: 0;
    }

    .paypal {
        max-width: 100%;
        width: 100%;
        display: block;
        font-size: 0.9rem;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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