/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; }

:root {
    --blue:     #50A7D3;
    --dark-blue: #4751ad;
    --green:     #3FA23C;
    --purple:   #6D3498;
    --orange:   #E3540A;
    --yellow:    #FFED00;
}

html, body, * {
    scroll-behavior: smooth;
}

*, html, body, div, h1, h2, h3, p {
    font-family: 'Ubuntu', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
}

.anchor {
    margin-top: -130px;
    padding-top: 130px;
}

.lightbox {
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 888;
}

.lightbox iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.lightbox-box {
    width: calc(100% - 200px);
    height: calc(100% - 100px);
    position: fixed;
    top: 50px;
    bottom: 50px;
    right: 50px;
    left: 50px;
    background-color: var(--yellow);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    padding: 50px;
    display: table;
    vertical-align: middle;
}

.lightbox-audio .lightbox-box {
    width: calc(100% - 200px);
    height: calc(230px - 100px) !important;
    top: calc(50% - 115px);
    color: var(--purple);
}

.lightbox-audio .episodio-titulo {
    width: 100% !important;
}

.lightbox-audio audio {
    width: calc(100%);
}

.lightbox-audio .lightbox-close {
    top: calc(50% - 130px);
}

.lightbox-box-content {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.lightbox-close {
    background-image: url(./images/layout/button-close.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    z-index: 999;
    width: 50px;
    height: 50px;
    top: 45px;
    right: 45px;
    background-color: var(--orange);
    position: fixed;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    cursor: pointer;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--yellow);
    z-index: 666;
}

.loading .loading-flower {
    width: 150px;
    height: 150px;
    background-image: url(./images/layout/loading-flower.png);
    background-size: contain;
    top: 50%;
    left: 50%;
    margin-top: -95px;
    margin-left: -75px;
    position: absolute;
    -webkit-animation: rotating 3s linear infinite;
    -moz-animation: rotating 3s linear infinite;
    -ms-animation: rotating 3s linear infinite;
    -o-animation: rotating 3s linear infinite;
    animation: rotating 3s linear infinite;
}

.loading .loading-flower-face {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    margin-top: -95px;
    margin-left: -75px;
    position: absolute;
    background-image: url(./images/layout/loading-flower-face.png);
    background-size: contain;
    z-index: 888;
    text-align: center;
    font-weight: bold;
}

.loading .loading-flower-face div { 
    margin-top: 170px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--purple);
}

@-webkit-keyframes rotating {
    from {
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes rotating {
    from {
      -ms-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -ms-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

a {
    color: inherit;
    text-decoration: none;
}

p {
    line-height: 20px;
}

strong {
    font-weight: bold;
}

i {
  font-style: italic;
  font-weight: lighter;
}

h2 {
    width: 100%;
    text-align: center;
    font-size: 35px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 50px;
}

header {
    background: rgba(255, 235, 56, 0.9);
    position: fixed;
    z-index: 555;
    left: 0;
    right: 0;
    top: 0;
    height: 80px;
    text-align: center;
    overflow: hidden;
}

header h1 {
    background-image: url(./images/layout/logo-pirimbim.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    text-indent: -1000000%;
    height: 80px;
    width: 280px;
    float: left;
    margin-left: 50px;
}

header ul {
    margin-left: 25px;
    height: 80px;
    width: auto;
    float: left;
    vertical-align: middle;
}

header ul li {
    float: left;
    margin-top: 28px;
    margin-left: 25px;
    font-size: 20px;
    font-weight: bold;
    color: var(--purple);
    text-transform: uppercase;
    vertical-align: middle;
}

section {
    padding-top: 75px;
    padding-bottom: 75px;
    clear: both;
    display: table;
    width: 100%;
}

.sec-home {
    padding: 0;
    background-image: url(./images/layout/bg-hero-01.jpg);
    background-size: cover;
    background-position: center bottom;
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: var(--green);
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
}

.sec-home button {
    z-index: 444;
    position: absolute;
    right: 0;
    top: 50%;
    border: 0;
    background-image: url(./images/layout/button-audio-trailer.svg);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -100000%;
    overflow: hidden;
    height: 80px;
    width: 200px;
    cursor: pointer !important;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.sec-home .img {
    background-image: url(./images/layout/bg-hero-01.png);
    background-size: cover;
    background-position: center bottom -50px;
    background-repeat: no-repeat;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.sec-sinopse {
    margin-top: calc(80vh - 1px + 80px);
    background-color: var(--green);
    font-size: 20px;
    color: white;
}

.sec-sinopse strong {
    color: var(--yellow);
}

.sec-sinopse .wrapper {
    width: 450px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.sec-sinopse .wrapper p {
    margin-bottom: 25px;
}

.sec-sinopse .wrapper p:last-child {
    margin-bottom: 0;
}

.sec-episodios {
    background-image: url(./images/layout/bg-vic.svg);
    background-position: center;
    background-attachment: fixed;
    background-color: var(--dark-blue);
    color: white;
    text-align: center;
}

.sec-episodios ol li, .sec-episodios ol a {
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 25px;
    width: calc(80% - 50px);
    border: 1px solid white;
    font-weight: bold;
    color: var(--yellow);
    padding: 25px;
    font-size: 25px;
    -webkit-border-radius: 38.5px;
    -moz-border-radius: 38.5px;
    border-radius: 38.5px;
    text-align: left;
    background-image: url(./images/layout/button-arrow.svg);
    background-repeat: no-repeat;
    background-position: right 25px center;
    background-size: 30px;
    background-color: var(--dark-blue);
    cursor: pointer !important;
}

.sec-episodios ol, .sec-episodios ol a:last-child {
    margin-bottom: 75px;
}

.sec-episodios .creditos-orelo, .sec-episodios .creditos-youtube {
    width: 150px;
    height: auto;
    margin-top: 25px;
}

.sec-episodios span, .sec-episodios .episodio-conteudo {
    display: none;
}

.sec-episodios .episodio-aberto span {
    display: inline;
}

.sec-episodios .episodio-aberto {
    background-image: none;
}

.sec-episodios .episodio-aberto .episodio-conteudo {
    display: block;
}

.sec-episodios .episodio-aberto .episodio-close {
    background-image: url(./images/layout/button-close-blue.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    z-index: 999;
    width: 50px;
    height: 50px;
    background-color: var(--yellow);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    cursor: pointer;
    float: right;
    margin-top: -60px;
    margin-right: -10px;
    pointer-events: visible;
}

.episodio-conteudo p {
    color: white;
    width: 80%;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 25px;
    font-weight: normal;
}

.episodio-tipo {
    display: table;
    width: 100%;
    clear: both;
    pointer-events: all;
}

.episodio-libras {
    margin-right: calc(25px / 2);
}

.episodio-audio {
    margin-left: calc(25px / 2);
}

.episodio-libras, 
.episodio-audio {
    width: calc(50% - (25px / 2));
    float: left;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    overflow: hidden;
    pointer-events: all;
    background-color: transparent;
}

.episodio-libras img, 
.episodio-audio img{
    width: 100%;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    margin: 0;
    margin-top: 4px;
}

.sec-quem-fez {
    background-image: url(./images/layout/bg-leafs.svg);
    background-position: center;
    background-color: var(--purple);
    color: white;
}

.sec-quem-fez .column-25 {
    font-weight: bold;
}

.sec-quem-fez p {
    margin-bottom: 25px;
}

.sec-quem-fez p:last-child {
    margin-bottom: 0;
}

.sec-quem-fez a {
    display: block;
    margin-bottom: 25px;
}

.sec-quem-fez .creditos-ocultos {
    display: none;
    font-size: 14px;
    line-height: 18px;
    font-weight: lighter;
}

.sec-sinopse, .sec-episodios, .sec-quem-fez {
    padding-right: 75px;
    padding-left: 75px;
    width: calc(100% - 75px - 75px)
}

.column-25 {
    width: 25%;
    float: left;
}

footer {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
    color: white;
    background-color: black;
    vertical-align: middle;
}

footer p div, footer p img {
    display: inline;
    vertical-align: middle;
}

footer p img {
    width: 150px;
    margin-left: 25px;
    margin-right: 100px;
    padding-left: 15px;
}

footer p img:last-child {
    margin-left: 0;
}





@media only screen and (max-width: 950px) {
    
    .anchor {
        margin-top: -140px;
        padding-top: 140px;
    }

    .lightbox-box {
        width: calc(100% - 100px);
        height: calc(100% - 100px);
        top: 25px;
        bottom: 25x;
        right: 25px;
        left: 25px;
        -webkit-border-radius: 25px;
        -moz-border-radius: 25px;
        border-radius: 25px;
        padding: 25px;
    }
    
    .lightbox-close {
        z-index: 999;
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
        background-color: var(--orange);
        position: fixed;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        cursor: pointer;
    }

    .lightbox-audio .lightbox-box {
        width: calc(100% - 100px);
    }
    
    .lightbox-audio audio {
        width: calc(100%);
    }
    
    .lightbox-audio .lightbox-close {
        top: calc(50% - 130px);
    }

    h2 {
        margin-bottom: 25px;
    }

    header {
        height: 90px;
        padding-bottom: 5px;
    }
    
    header h1 {
        height: 80px;
        width: 100%;
        background-size: 250px;
        float: left;
        margin-left: auto;
        margin-right: auto;
        margin-top: -5px;
        margin-bottom: -10px;
    }
    
    header ul {
        margin-bottom: 0;
        margin-left: 0;
        height: 80px;
        width: auto;
        float: none;
        text-align: center;
        vertical-align: middle;
        display: inline-flex;
        letter-spacing: -2px;
    }

    header ul li {
        margin-bottom: 0;
        margin-top: 0;
    }

    header ul li:nth-child(2) {
        margin-left: 0;
    }
    
    header ul li:nth-child(3) {
        margin-right: 25px;
        margin-left: 25px;
    }

    header ul li:last-child {
        margin-left: 0;
    }

    header ul li:first-child {
        display: none;
    }


    .sec-sinopse, .sec-episodios, .sec-quem-fez {
        width: calc(100% - 50px);
        padding-right: 25px;
        padding-left: 25px;
    }
    
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .sec-home {
        top: 0;
        height: 50vh;
        overflow: visible;
        background-size: cover;
        background-attachment: initial;
        background-position: top 95px center;
    }
    
    .sec-home button {
        top: 36%;
        height: 60px;
        width: 100px;
        background-image: url(./images/layout/button-audio-trailer-mobile.svg);
    }
    
    .sec-home .img {
        height: 50vh;
        background-position: center bottom -10px;
    
    }
    
    .sec-sinopse {
        margin-top: calc(50vh - 1px);
        background-color: var(--green);
        font-size: 20px;
        color: white;
    }
    
    .sec-sinopse strong {
        color: var(--yellow);
    }
    
    .sec-sinopse .wrapper {
        margin-top: -5px;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
    
    .sec-sinopse .wrapper p {
        margin-bottom: 25px;
    }
    
    .sec-sinopse .wrapper p:last-child {
        margin-bottom: 0;
    }

    .sec-episodios {
        background-image: none;
    }
    
    .sec-episodios ol li,  .sec-episodios ol a {
        width: calc(100% - 30px);
        font-size: 20px;
        padding: 15px;
    }

    .sec-episodios ol li:last-child, .sec-episodios ol li:last-child a {
        margin-bottom: 50px;
    }

    .sec-episodios .episodio-aberto {
        -webkit-border-radius: 25px;
        -moz-border-radius: 25px;
        border-radius: 25px;
    }

    .episodio-titulo {
        width: 80%;
    }

    .sec-episodios .creditos-orelo, .sec-episodios .creditos-youtube {
        width: 130px;
    }

    .sec-episodios .episodio-aberto .episodio-close {
        margin-top: -90px;
        margin-right: -25px;
    }
    
    .episodio-conteudo p {
        width: 100%;
        font-size: 18px;
        line-height: 22px;
    }
    
    .episodio-libras {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .episodio-audio {
        margin-left: 0;
    }
    
    .episodio-libras, 
    .episodio-audio {
        width: 100%;
        float: none;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
    }
    
    .episodio-libras img, 
    .episodio-audio img{
        width: 100%;
    }    

    .sec-quem-fez .wrapper {
        display: table;
        text-align: center;
    }
    
    .column-25:nth-child(1), .column-25:nth-child(2) {
        width: 50%;
        float: left;
    }

    .column-25:nth-child(3), .column-25:nth-child(4) {
        display: inline-block;
        margin-top: 25px;
        width: 100%;
        float: none;
    }

    .sec-quem-fez a {
        margin-bottom: 15px;
    }

    footer {
        text-align: center;
        padding-top: 25px;
        padding-bottom: 25px;
        color: white;
        background-color: black;
        vertical-align: middle;
    }
    
    footer p div, footer p img {
        display: inline;
        vertical-align: middle;
    }
    
    footer p {
        width: 280px;
        margin-right: auto;
        margin-left: auto;
    }
    
    footer p img {
        width: 150px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 25px;
        padding-left: 15px;
    }
    
    footer p img:last-child {
        margin-left: 0;
        margin-bottom: 0;
    }

}