/*
 __            __  __                        __  __                        __
|  |          |  ||  |                      |  ||  |                      |  |
 |  |        |  |  |  |        ____        |  |  |  |        ____        |  |
  |  |      |  |    |  |      |    |      |  |    |  |      |    |      |  |
   |  |    |  |      |  |    |  ||  |    |  |      |  |    |  ||  |    |  |
    |  |  |  |        |  |  |  |  |  |  |  |        |  |  |  |  |  |  |  |
     |  ||  |          |  ||  |    |  ||  |          |  ||  |    |  ||  |
      |____|            |____|      |____|            |____|      |____|
	  
Copyright (C) 2019 Vanparijs Wim Websites www.vanparijswimwebsites.com
*/

/******************
 *                *
 * Basic elements *
 *                *
 ******************/

h2 {
    font-weight: 700;
    border-left: solid 0.2em #90D68D;
    padding: 0.9em 1em;
    margin: 0;
}

p {
    line-height: 1.75em;
    margin-top: 1.75em;
}

a {
    font-weight: bold;
    color: #90D68D;
    text-decoration: none;
}

/***************
 *             *
 * Bg & Header *
 *             *
 ***************/

#bg1 {
    top: -5em;
    left: 50%;
    transform: translateX(-50%);
    min-width: 115%;
    max-width: none;
    transform-origin: top left;
}

#bg2 {
    left: -5em;
    bottom: -200px;
    width: 1800px;
    max-width: none;
    transform: none;
    transform-origin: center left;
}



/***************
 *             *
 * Video Popup *
 *             *
 ***************/

#video-popup{
    display: none;
}
  
#video-popup .b-close{
    display: block;
    position: absolute;
    top: -15px;
    right: -15px;
    width: 32px;
    height: 32px;
    background-image: url("/static/icons/close.png");
    cursor: pointer;
}



/***********
 *         *
 * Sub Nav *
 *         *
 ***********/

#sub-nav {
    padding: 3em 0;
    position: relative;
	min-height: 24em;
	margin: 0;
	width: 120%;
	left: -10%;
}

#sub-nav .production {
    position: absolute;
    padding-top: 2em;
    transform: translateX(-50%);
}

#sub-nav .production.active {
    padding-top: 0;
    z-index: 75;
    left: 50%;
}

#sub-nav .production:not(.active)::after {
    position: absolute;
    display: block;
    content: '';
    top: 2em;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url(/static/images/production_overlay.png);
    background-size: 100%;
    background-repeat: no-repeat;

    filter: blur(2px);
    transition: filter 150ms linear;
}

#sub-nav .production:hover::after {
    filter: none;
}

#sub-nav .production img {
    height: 16em;
    width: auto;

    filter: blur(2px);
    transition: filter 150ms linear;
}

#sub-nav .production:hover img {
    filter: none;
}

#sub-nav .production.active img {
    height: 19em;
    filter: none;
    width: auto;
}

#current-details {
    position: absolute;
    top: 23em;
    left: 0;
    width: 100%;
    text-align: center;
}

#current-details #current-name {
    font-size: 1.25em;
    font-weight: bold;
}

#current-details #release-year {
    font-size: 1.1em;
}



/****************
 *              *
 * Page Content *
 *              *
 ****************/

#page-content {
   padding-bottom: 5em;
}

#page-content.production--1 {
    padding-bottom: 5em;
}

#page-content #production-image .wrapper{
    text-align: center;
    padding-top: 2em;
    padding-right: 1em;
}

#page-content #production-details {
    padding-top: 3em;
}

#page-content #production-details h3 {
    font-size: 2em;
    margin-left: 1em;
}

#page-content #actions {
    text-align: right;
}

#page-content #actions .wrapper {
    padding-right: 3em;
}

#page-content #actions a {
    display: inline-block;
    text-decoration: none;
    padding: 0 1em;
}

#page-content #actions img {
    max-height: 4.5em;
}

.past-production-side-image {
    display: inline-block;
    padding-right: 1em;
    text-align: center;
    font-size: 1.2em;
}



/**********
 *        *
 * quotes *
 *        *
 **********/

#quotes {
    position: relative;
    margin-top: 7.5em;
    padding-top: 2.5em;
    padding-bottom: 30em;
}

#quotes.quotes-3 {
    padding-bottom: 47.5em;
}

#quotes.quotes-4 {
    padding-bottom: 60em;
}

.quote {
    position: absolute;
    max-width: 25em;
    top: 5em;
    right: 3em;
    background-image: url(/static/images/speech_bubble_right.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 4.5em 4.5em 6em 4.5em;

    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 300;
    font-style: italic;
}

/* Second quote */
.quote:nth-child(3) {
    background-image: url(/static/images/speech_bubble_left.png);
    top: 23em;
    right: 16em;
}

/* Third quote */
.quote:nth-child(4) {
    top: 35em;
    right: 0em;
}

/* Fourth quote */
.quote:nth-child(5) {
    background-image: url(/static/images/speech_bubble_left.png);
    top: 50em;
    right: 13em;
}

.quote .author {
    display: block;
    font-weight: bold;
    margin-top: 1em;
}



/**********
 *        *
 * Images *
 *        *
 **********/

.fancybox {
    display: block;
    text-align: center;
    height: 12em;
    padding: 5px;
}

.fancybox img {
    opacity: 0.9;
    transition: opacity 500ms;
    max-height: 100%;
    width: auto;
}

.fancybox img:hover {
    opacity: 1;
}



/**********
 *        *
 * Footer *
 *        *
 **********/

footer#credits {
    padding-top: 4em;
    min-height: 7em;

    background-image: url(/static/images/bg/footer_production.png);
    background-position-x: -7.5em;
    background-repeat: no-repeat;
    background-size: 110% 100%;
    background-color: transparent;
}

footer#credits div {
    text-align: left;
    padding-bottom: 2em;
    margin-left: 5em;
    max-width: 50%;
}



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

/* >= 1600px */
@media screen and (min-width: 100em) {
    #bg1 {
        top: -15em;
    }
}

/* <= 1280px */
@media screen and (max-width: 80em) {
    #quotes {
        padding-top: 0;
    }
    
    footer#credits {
        background-size: 130% 100%;
    }
}

/* <= 1024px */
@media screen and (max-width: 64em) {
    #bg1 {
        top: 0;
    }

    #sub-nav .production:not(.active)::after {
        display: none;
    }

    #page-content #actions .wrapper {
        padding-right: 0;
    }

    #page-content #actions a {
        padding: 0 0.5em;
    }
}

/* <= 768px */
@media screen and (max-width: 48em) {
    #bg1{
        width: 1500px;
        left: 0;
    }

    #sub-nav {
        margin: 0;
        padding-bottom: 16em;
        padding-top: 5em;
        min-height: 0;
    }

    #sub-nav .production {
        display: inline-block;
        position: initial;
        transform: none;
        width: 30%
    }

    #sub-nav .production.active {
        z-index: 10;
        bottom: 2em;
        display: block;
        position: absolute;
        width: 90%;
        transform: translateX(-50%);
        text-align: center;
    }

    #sub-nav .production img {
        height: auto;
        filter: none;
    }

    #sub-nav .production.active img {
        width: auto;
        height: 12.5em;
    }

    #sub-nav #current-details {
        top: auto;
        bottom: -1.5em;
    }

    #page-content {
        margin: 0 0.75em;
    }

    #page-content #actions {
        text-align: center;
    }

    #quotes, #quotes.quotes-3, #quotes.quotes-4 {
        margin-top: 2.5em;
        padding-bottom: 0;
    }

    .quote {
        position: initial;
    }

    footer#credits {
        padding-top: 60px;
        background-image: url(/static/images/bg/footer_production_small.png);
        background-size: contain;
        background-position-x: 0;
    }

    footer#credits.no-content {
        padding-top: 0;
        min-height: 25px;
        background-size: 130% 100%;
    }

    footer#credits div {
        margin: 0;
        padding: 0 0.75em 1em 0.75em;
        max-width: none;
        background-color: #000;

        position: relative;
        top: 0.1em;
    }

    footer#credits.no-content div {
        display: none;
    }
}
