
#calendario_advento {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #93d9e7;
    background-image: url(/DataJournalism/i/calendario_advento/fundo.svg);
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

    #calendario_advento .lc {
        display: block;
        position: absolute;
        left: 5%;
        bottom: 5%;
        width: 118px;
        height: 240px;
        max-width: inherit;
        background-image: url(/DataJournalism/i/calendario_advento/nptl.gif);
        background-position: left bottom;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 1;
    }

    #calendario_advento .rc {
        position: absolute;
        right: 2%;
        bottom: 30%;
        width: 118px;
        height: 240px;
        max-width: inherit;
        background-image: url(/DataJournalism/i/calendario_advento/nptr.gif);
        background-position: right bottom;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 1;
    }

    #calendario_advento .container {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        position: relative;
        z-index: 2;
    }


        #calendario_advento .container .row .diacalendario {
            min-height: 105px;
            -webkit-box-flex: 0;
            -ms-flex: 0 0 14.2%;
            flex: 0 0 12.2%;
            max-width: 12.2%;
            max-height: 105px;
            position: relative;
            padding-right: 15px;
            padding-left: 15px;
            min-width: 100px;
            margin: 0 7px 25px 7px;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
        }

            #calendario_advento .container .row .diacalendario.itemFuturo {
                opacity: .4;
            }

.modal-open #calendario_advento .container .row .diacalendario.itemFuturo {
    opacity: 1;
}


#calendario_advento .container .row .diacalendario a {
    z-index: 10;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 105px;
}


#calendario_advento .container .row .diacalendario .modal-body .lead a {
    z-index: inherit;
    position: relative;
    left: inherit;
    right: inherit;
    top: inherit;
    bottom: inherit;
    width: inherit;
    height: inherit;
    color: #026362;
    text-decoration: underline;
}

#calendario_advento .container .titulo {
    width: 252px;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-top: 20px;
    display: block;
}

#calendario_advento .container .inicio span {
    width: 336px;
    height: 248px;
    position: absolute;
    left: -100px;
    top: -83px;
}

#calendario_advento .container .fim a {
    width: 200% !important;
    height: 105px;
    left: inherit !important;
}

#calendario_advento .container .fim:after {
    content: "";
    width: 188px;
    height: 237px;
    background-image: url('/DataJournalism/i/calendario_advento/swm.png');
    background-size: cover;
    position: absolute;
    right: -220px;
    bottom: -50px;
}

#calendario_advento .container .fim span {
    width: 218px;
    height: 109px;
    position: absolute;
    right: -7px;
    top: -7px;
}


#calendario_advento .d12 span {
    position: absolute;
    width: 138px;
    height: 160px;
    z-index: 4;
    right: -77px;
    bottom: 57px;
}

#calendario_advento .d13 span {
    position: absolute;
    width: 138px;
    height: 160px;
    z-index: 4;
    right: 56px;
    bottom: 15px;
}

#calendario_advento .fade-scale {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    -webkit-transition: all .300s linear;
    transition: all .300s linear;
}

    #calendario_advento .fade-scale.show {
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

.modal-backdrop {
    background: none !important;
}

    .modal-backdrop.show {
        display: none;
    }

#calendario_advento .modal-dialog {
    max-width: 100%;
    margin: 0;
}




#calendario_advento .modal-body h1 {
    font-weight: 900;
    font-size: 45px;
    line-height: 1.2;
    margin: 35px auto 15px;
    color: #026362;
}

#calendario_advento .modal-body .lead {
    color: #026362;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    margin: 15px auto;
    font-weight: 400;
}

    #calendario_advento .modal-body .lead strong {
        font-size: 20px;
    }

#calendario_advento .modal-body video {
    max-width: 100%;
    max-height: 65vh;
}

#calendario_advento .modal-body .slick-slide img {
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}

#calendario_advento .slick-next {
    right: 25px;
    background:url(/Datajournalism/i/calendario_advento/seta_dir.png) no-repeat scroll center;
    background-size:contain;
}

#calendario_advento .slick-prev {
    left: 25px;
    background: url(/Datajournalism/i/calendario_advento/seta_esq.png) no-repeat scroll center;
    background-size: contain;
}

#calendario_advento .slick-prev,
#calendario_advento .slick-next {
    width: 60px;
    height: 60px;
    top: 40%;
    z-index: 10;
}

    #calendario_advento .slick-prev:before,
    #calendario_advento .slick-next:before {
        color: #026362;
        font-size: 60px;
    }

#calendario_advento .slick-dots {
    bottom: -35px;
}

    #calendario_advento .slick-dots li {
        width: 35px;
    }

        #calendario_advento .slick-dots li button:before {
            font-size: 30px;
            line-height: 30px;
            width: 30px;
            height: 30px;
            color: #026362;
        }

        #calendario_advento .slick-dots li.slick-active button:before {
            opacity: .75;
            color: #026362;
        }

#calendario_advento .close {
    width: 30px;
    height: 30px;
    color: #026362;
    background: rgba(255,255,255, .9);
    border-radius: 50%;
    line-height: 1;
    font-size: 31px;
    text-shadow: none;
    position: fixed;
    right: 35px;
    top: 20px;
    z-index: 999;
}

    #calendario_advento .close:hover {
        color: #026362;
    }

    #calendario_advento .close:before {
        position: absolute;
        font-size: 14px;
        text-transform: uppercase;
        color: #026362;
        right: 33px;
        top: 15px;
    }

#calendario_advento button:focus {
    outline: none;
}

#calendario_advento .container .row {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 50px;
}

#calendario_advento .container .titulo {
    width: 188px;
    height: 124px;
    padding-top: 0px;
    display: block;
}



#calendario_advento .container .inicio span {
    width: 308px;
    height: 223px;
    position: absolute;
    left: -91px;
    top: -95px;
}

#calendario_advento .container .fim:after {
    background-image: url(/DataJournalism/i/calendario_advento/nswm.gif);
}

#calendario_advento .media img {
    max-width: 100%;
}

#calendario_advento .square {
    border-radius: 25px;
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#calendario_advento .disabled {
    opacity: 0.6;
}

    #calendario_advento .disabled:hover {
        -webkit-animation: none !important;
        animation: none !important;
    }

    #calendario_advento .disabled a {
        pointer-events: none;
        cursor: default;
        opacity: 0.6;
    }

#calendario_advento .itemActivo:hover {
    -webkit-box-shadow: 0px 0px 10px 3px rgba(87, 175, 179, 0.85);
    box-shadow: 0px 0px 10px 3px rgba(87, 175, 179, 0.85);
    /*transform: scale(1.1);*/
}

#calendario_advento .fim {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

/*#calendario_advento .fim:hover {
        animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
        transform: translate3d(0, 0, 0);
        perspective: 1000px;
    }*/

@-webkit-keyframes shake {
    10%, 90% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        -webkit-transform: translate3d(2px, 0, 0);
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        -webkit-transform: translate3d(-2px, 0, 0);
        transform: translate3d(-2px, 0, 0);
    }

    40%, 60% {
        -webkit-transform: translate3d(2px, 0, 0);
        transform: translate3d(2px, 0, 0);
    }
}

@keyframes shake {
    10%, 90% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        -webkit-transform: translate3d(2px, 0, 0);
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        -webkit-transform: translate3d(-2px, 0, 0);
        transform: translate3d(-2px, 0, 0);
    }

    40%, 60% {
        -webkit-transform: translate3d(2px, 0, 0);
        transform: translate3d(2px, 0, 0);
    }
}

#calendario_advento .square .diacalendario {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: inherit;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

#calendario_advento .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    -webkit-transition: -webkit-transform 0.6s;
    transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 1.0s linear;
    transition: all 1.0s linear;
}

    #calendario_advento .flip-card-inner p {
        font-size: 12px;
        text-transform: uppercase;
        padding: 5px;
        text-align: center;
        margin: 0;
        line-height: 1.3;
        display: block;
        max-width: 100%;
        font-weight: 900;
    }

    #calendario_advento .flip-card-inner img {
        max-width: 43px;
    }

#calendario_advento .loadable {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 25px !important;
}

#calendario_advento .dia2 {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-animation: mymoveback 5s infinite;
    animation: mymoveback 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

#calendario_advento .dia2a {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    -webkit-animation: mymove 5s infinite;
    animation: mymove 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

#calendario_advento .dia5 {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-animation: mymoveback 5s infinite;
    animation: mymoveback 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
}

#calendario_advento .dia5a {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    -webkit-animation: mymove 5s infinite;
    animation: mymove 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
}

#calendario_advento .dia14 {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-animation: mymoveback 5s infinite;
    animation: mymoveback 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

#calendario_advento .dia14a {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    -webkit-animation: mymove 5s infinite;
    animation: mymove 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

#calendario_advento .dia07 {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-animation: mymoveback 5s infinite;
    animation: mymoveback 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}

#calendario_advento .dia07a {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    -webkit-animation: mymove 5s infinite;
    animation: mymove 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}

#calendario_advento .dia19 {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-animation: mymoveback 10s infinite;
    animation: mymoveback 10s infinite;
    position: absolute !important;
    -webkit-animation-delay: 8s;
    animation-delay: 8s;
}

#calendario_advento .dia19a {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    -webkit-animation: mymove 10s infinite;
    animation: mymove 10s infinite;
    position: absolute !important;
    -webkit-animation-delay: 8s;
    animation-delay: 8s;
}

#calendario_advento .dia22 {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-animation: mymoveback 5s infinite;
    animation: mymoveback 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 7s;
    animation-delay: 7s;
}

#calendario_advento .dia22a {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    -webkit-animation: mymove 5s infinite;
    animation: mymove 5s infinite;
    position: absolute !important;
    -webkit-animation-delay: 7s;
    animation-delay: 7s;
}


/* Chrome, Safari, Opera */

@-webkit-keyframes mymove {
    40% {
        -webkit-transform: rotateY(0deg);
    }

    50% {
        -webkit-transform: rotateY(180deg);
    }

    90% {
        -webkit-transform: rotateY(180deg);
    }

    100% {
        -webkit-transform: rotateY(0deg);
    }
}

@-webkit-keyframes mymoveback {
    40% {
        -webkit-transform: rotateY(-180deg);
    }

    50% {
        -webkit-transform: rotateY(0deg);
    }

    90% {
        -webkit-transform: rotateY(0deg);
    }

    100% {
        -webkit-transform: rotateY(-180deg);
    }
}

@keyframes mymove {
    40% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    50% {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

    90% {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

    100% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }
}

@keyframes mymoveback {
    40% {
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }

    50% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    90% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    100% {
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }
}

#calendario_advento .branco {
    background-color: #ffffff;
    color: #03A6A3;
}

#calendario_advento .verde {
    background-color: #03A6A3;
}

#calendario_advento .rosa {
    background-color: #FF6860;
}

/*#calendario_advento  .trs2 {
    transform: rotate(2deg);
}

#calendario_advento .trs-2 {
    transform: rotate(-2deg);
}

#calendario_advento .trs3 {
    transform: rotate(3deg);
}

#calendario_advento .trs-3 {
    transform: rotate(-3deg);
}*/

#calendario_advento .film01 {
    background-image: url('/DataJournalism/i/calendario_advento/d01.gif');
    background-size: cover;
}

#calendario_advento .film06 {
    background-image: url('/DataJournalism/i/calendario_advento/d06.gif');
    background-size: cover;
}

#calendario_advento .film24 {
    background-image: url('/DataJournalism/i/calendario_advento/d24.gif');
    background-size: cover;
}

#calendario_advento .film1 {
    background-image: url('/DataJournalism/i/calendario_advento/nd03.gif');
    background-size: cover;
}

#calendario_advento .film2 {
    background-image: url('/DataJournalism/i/calendario_advento/nd07.gif');
    background-size: cover;
}

#calendario_advento .film3 {
    background-image: url('/DataJournalism/i/calendario_advento/nd20.gif');
    background-size: cover;
}


#calendario_advento .film11 {
    background-image: url('/DataJournalism/i/calendario_advento/d11.gif');
    background-size: cover;
}

#calendario_advento .film19 {
    background-image: url('/DataJournalism/i/calendario_advento/d19.jpg');
    background-size: cover;
}

#calendario_advento .d12 span {
    right: -95px;
    bottom: 55px;
}

#calendario_advento .modal {
    padding: 0 !important;
}


#calendario_advento .modal-content {
    background-color: #72c5d6;
    background-image: url(/DataJournalism/i/calendario_advento/fundo.svg);
    height: inherit;
    min-height: 100vh;
    background-size: cover;
    border: none;
    border-radius: 0;
    background-clip: border-box;
}

#calendario_advento .modal-body {
    text-align: center;
    background: url(/DataJournalism/i/calendario_advento/nswm.png) 100% 95% no-repeat, url(/DataJournalism/i/calendario_advento/nptl.png) 2% 80% no-repeat;
}


    #calendario_advento .modal-body h2 {
        font-size: 35px;
        margin: 15px auto;
        text-transform: uppercase;
        color: #026362;
    }

    #calendario_advento .modal-body h1,
    #calendario_advento .modal-body .media,
    #calendario_advento .modal-body h2,
    #calendario_advento .modal-body .lead {
        max-width: 900px;
        margin-right: auto;
        margin-left: auto;
    }

        #calendario_advento .modal-body .lead a {
            color: #026362;
            text-decoration: underline;
        }

#calendario_advento .slick-prev {
    left: 60px;
}

#calendario_advento .slick-next {
    right: 60px;
}

#calendario_advento .b-lazy {
    -webkit-transition: opacity 250ms ease-in-out;
    transition: opacity 250ms ease-in-out;
    max-width: 100%;
    opacity: 0;
}

    #calendario_advento .b-lazy.b-loaded {
        opacity: 1;
    }

@media screen and (max-width: 1025px) {
    #calendario_advento .container .fim:after {
        right: -134px;
    }
}

@media screen and (max-width: 991px) {
    #calendario_advento .container {
        padding: 0px 7%;
    }

        #calendario_advento .container .fim:after {
            right: -208px;
            bottom: -73px;
        }

    #calendario_advento .d12 span {
        right: 50px;
        bottom: 30px;
        -webkit-transform: scaleX(-1);
        -ms-transform: scaleX(-1);
        transform: scaleX(-1);
    }

    #calendario_advento .d13 span {
        right: -100px;
        bottom: 40px;
        -webkit-transform: scaleX(-1);
        -ms-transform: scaleX(-1);
        transform: scaleX(-1);
    }

    #calendario_advento .slick-prev,
    #calendario_advento .slick-next {
        bottom: -50px;
        top: inherit;
    }

    #calendario_advento .modal-body .lead {
        padding: 0 100px;
    }

    #calendario_advento {
        padding-top: 60px;
    }

        #calendario_advento .container .row .d12 span {
            display: none;
        }

        #calendario_advento .container .row .d13 span {
            display: none;
        }

        #calendario_advento .container .row .d10 span {
            display: block;
            right: -93px;
            bottom: 0px;
            position: absolute;
        }

        #calendario_advento .container .row .d11 span {
            display: block;
            right: 44px;
            bottom: -2px;
            position: absolute;
        }

        #calendario_advento .modal-body {
            padding-bottom: 242px;
            background: url(/DataJournalism/i/calendario_advento/nswm.png) 80% bottom no-repeat;
        }

        #calendario_advento .modal-content {
            background-size: 280%;
            background-repeat: no-repeat;
            background-color: #b2ecf7;
        }

        #calendario_advento .modal-body .lead {
            padding: 0 15px;
        }

        #calendario_advento .social_copy {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            margin-right: auto;
            margin-left: auto;
        }
}

@media screen and (max-width: 767px) {
    #calendario_advento {
        height: inherit;
    }

        #calendario_advento .container .fim:after {
            right: 10px;
            bottom: -85px;
        }

        #calendario_advento .d12 span {
            right: -44px;
            bottom: 44px;
            -webkit-transform: scaleX(1);
            -ms-transform: scaleX(1);
            transform: scaleX(1);
        }

        #calendario_advento .d13 span {
            right: 30px;
            bottom: 10px;
            -webkit-transform: scaleX(1);
            -ms-transform: scaleX(1);
            transform: scaleX(1);
        }

        #calendario_advento .lc {
            max-width: 100%;
            background-position-y: 0px;
        }

        #calendario_advento .container {
            padding: 0 15px 200px 15px;
        }

            #calendario_advento .container .row diacalendario {
                -webkit-box-flex: 0;
                -ms-flex: 0 0 33.33333%;
                flex: 0 0 33.33333%;
                max-width: 100px;
                max-height: 105px;
            }

            #calendario_advento .container .inicio {
                -webkit-box-flex: 0 !important;
                -ms-flex: 0 0 100% !important;
                flex: 0 0 100% !important;
                max-width: 100% !important;
                margin-top: 90px !important;
                margin-bottom: 40px !important;
            }

                #calendario_advento .container .inicio span {
                    left: 0px;
                    right: 0;
                    margin-right: auto;
                    margin-left: auto;
                }

            #calendario_advento .container .fim {
                -webkit-box-flex: 0 !important;
                -ms-flex: 0 0 100% !important;
                flex: 0 0 100% !important;
                max-width: 100% !important;
                margin-bottom: 80px !important;
            }

                #calendario_advento .container .fim span {
                    left: 7px;
                }

        #calendario_advento .modal-body .lead {
            padding: 0;
        }

    #calendario_advento {
        background-size: 600%;
        background-position: bottom;
        background-repeat: no-repeat;
        padding-top: 30px;
    }

        #calendario_advento .container {
            padding: 50px 15px 70px 15px;
            margin-top: 0;
        }

            #calendario_advento .container .inicio span {
                left: 0;
            }

            #calendario_advento .container .fim:after {
                right: -20px;
                bottom: -120px;
            }

        #calendario_advento .lc {
            bottom: 5px;
        }

        #calendario_advento .container .row .d10 span {
            display: none;
        }

        #calendario_advento .container .row .d11 span {
            display: none;
        }

        #calendario_advento .container .row .d12 span {
            right: -93px;
            bottom: 0px;
            display: block;
        }

        #calendario_advento .container .row .d13 span {
            right: 44px;
            bottom: -2px;
            display: block;
        }

        #calendario_advento .social_copy {
            position: relative;
            bottom: -50px;
            left: 0;
            right: 0;
            margin-right: auto;
            margin-left: auto;
        }


        #calendario_advento .modal-body h1 {
            font-size: 32px;
            margin-top: 40px;
        }

        #calendario_advento .close {
            top: 10px;
            right: 15px;
        }
}

@media screen and (max-width: 321px) {
    #calendario_advento .container {
        padding: 0 50px 200px 50px;
    }

        #calendario_advento .container .inicio span {
            left: -55px;
        }

    #calendario_advento .d12 span {
        right: -100px;
    }

    #calendario_advento .container .fim:after {
        right: -71px;
        bottom: -182px;
    }
}

@media screen and (min-width: 1400px) {
    #calendario_advento .modal-body {
        background: url(/DataJournalism/i/calendario_advento/nswm.png) 90% 60% no-repeat, url(/DataJournalism/i/calendario_advento/nptl.png) 10% 70% no-repeat;
    }
}

#calendario_advento .contentHidden {
    background: url(/DataJournalism/i/calendario_advento/modais/bg_off.jpg) #FEF6E1 center bottom no-repeat scroll;
    background-size: contain;
}

@media screen and (max-width: 767px) {

    #calendario_advento .contentHidden {
        background: url(/DataJournalism/i/calendario_advento/modais/bg_off_m.jpg) #FEF6E1 center bottom no-repeat scroll;
        background-size: contain;
    }
}

#calendario_advento .contentHidden .close {
    margin-left: auto;
}

#calendario_advento .videoanim {
    background-image: url('/DataJournalism/i/calendario_advento/d9.gif');
    background-position: center center;
}

#calendario_advento .fotoanim {
    background-image: url('/DataJournalism/i/calendario_advento/d17.gif');
    background-position: center center;
}

#calendario_advento .anim_04 {
    background-image: url('/DataJournalism/i/calendario_advento/d4.gif');
    background-position: center center;
}

#calendario_advento .anim_10 {
    background-image: url('/DataJournalism/i/calendario_advento/d10.gif');
    background-position: center center;
}

#calendario_advento .anim_14 {
    background-image: url('/DataJournalism/i/calendario_advento/d14.gif');
    background-position: center center;
}

#calendario_advento .anim_20 {
    background-image: url('/DataJournalism/i/calendario_advento/d20.gif');
    background-position: center center;
}


#calendario_advento .snowflakes {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
}

#calendario_advento .snowflake {
    color: #fff;
    font-size: 2em;
    font-family: Arial;
    opacity: 0.65;
}

@-webkit-keyframes snowflakes-fall {
    0% {
        top: -10%
    }

    100% {
        top: 100%
    }
}

@-webkit-keyframes snowflakes-shake {
    0% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px)
    }

    50% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px)
    }

    100% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px)
    }
}

@keyframes snowflakes-fall {
    0% {
        top: -10%
    }

    100% {
        top: 100%
    }
}

@keyframes snowflakes-shake {
    0% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px)
    }

    50% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px)
    }

    100% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px)
    }
}

#calendario_advento .snowflake {
    position: fixed;
    top: -10%;
    z-index: 9999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    -webkit-animation-name: snowflakes-fall, snowflakes-shake;
    -webkit-animation-duration: 10s, 3s;
    -webkit-animation-timing-function: linear, ease-in-out;
    -webkit-animation-iteration-count: infinite, infinite;
    -webkit-animation-play-state: running, running;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running
}

    #calendario_advento .snowflake:nth-of-type(0) {
        left: 1%;
        -webkit-animation-delay: 0s, 0s;
        animation-delay: 0s, 0s
    }

    #calendario_advento .snowflake:nth-of-type(1) {
        left: 10%;
        -webkit-animation-delay: 1s, 1s;
        animation-delay: 1s, 1s
    }

    #calendario_advento .snowflake:nth-of-type(2) {
        left: 20%;
        -webkit-animation-delay: 6s, .5s;
        animation-delay: 6s, .5s
    }

    #calendario_advento .snowflake:nth-of-type(3) {
        left: 30%;
        -webkit-animation-delay: 4s, 2s;
        animation-delay: 4s, 2s
    }

    #calendario_advento .snowflake:nth-of-type(4) {
        left: 40%;
        -webkit-animation-delay: 2s, 2s;
        animation-delay: 2s, 2s
    }

    #calendario_advento .snowflake:nth-of-type(5) {
        left: 50%;
        -webkit-animation-delay: 8s, 3s;
        animation-delay: 8s, 3s
    }

    #calendario_advento .snowflake:nth-of-type(6) {
        left: 60%;
        -webkit-animation-delay: 6s, 2s;
        animation-delay: 6s, 2s
    }

    #calendario_advento .snowflake:nth-of-type(7) {
        left: 70%;
        -webkit-animation-delay: 2.5s, 1s;
        animation-delay: 2.5s, 1s
    }

    #calendario_advento .snowflake:nth-of-type(8) {
        left: 80%;
        -webkit-animation-delay: 1s, 0s;
        animation-delay: 1s, 0s
    }

    #calendario_advento .snowflake:nth-of-type(9) {
        left: 90%;
        -webkit-animation-delay: 3s, 1.5s;
        animation-delay: 3s, 1.5s
    }

#calendario_advento .social_copy {
    padding: 15px;
    background: rgba(178, 236, 247, 0.8);
}

#calendario_advento .copyright {
    text-align: center;
    font-size: 12px;
    line-height: 1.3;
    color: #03A6A3;
    font-weight: 400;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #calendario_advento {
        background-size: 200%;
        background-repeat: no-repeat;
        background-position: center -100px;
    }

        #calendario_advento .modal-content {
            background-size: 200%;
            background-repeat: no-repeat;
            background-position: center -100px;
        }

        #calendario_advento .square .flip-card-front {
            margin-left: -63% !important;
        }

        #calendario_advento .square .flip-card-back {
            margin-left: -63% !important;
        }

        #calendario_advento .container .row .d10 .diacalendario,
        #calendario_advento .container .row .d11 .diacalendario,
        #calendario_advento .container .row .d12 .diacalendario,
        #calendario_advento .container .row .d13 .diacalendario {
            padding-top: 30px;
        }
}


#calendario_advento .refDia {
    display: none;
}

#calendario_advento .mainModal_content {
    display: block;
}

#calendario_advento .contentHidden .mainModal_content {
    display: none;
}

#calendario_advento .mainModal_hidden {
    display: none;
}

#calendario_advento .contentHidden .mainModal_hidden {
    display: block;
}

#calendario_advento .itemFuturo {
    pointer-events: none;
}

    #calendario_advento .itemFuturo:before {
        display: block;
        width: 14px;
        height: 16px;
        background: url(/Datajournalism/i/calendario_advento/lock.png) no-repeat center scroll;
        background-size: contain;
        content: "";
        position: absolute;
        z-index: 10;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        bottom: 15px;
    }


#calendario_advento #modald02 .media img {
    position: relative;
    bottom: -60px;
}

#calendario_advento #modald04 .lead img {
    margin-top: 10px;
}

#calendario_advento .fim:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
}


@media screen and (max-width: 767px) {
    #calendario_advento #modald02 .media img {
        bottom: -20px;
    }

    #calendario_advento #modald04 .lead img {
        position: relative;
        max-width: calc(100% + 40px);
        left: -20px;
    }
}

@media screen and (min-width: 1100px) {

    #calendario_advento .social_copy {
        margin-left: -100px;
        margin-right: -100px;
    }
}

.header_interativo .header_canais {
    display: none !important;
}

.header_interativo .header_logo, .scrollingPage .header_interativo .header_logo {
    background: rgba(1,1,1,.4);
    border-bottom: none;
}

.modal-open .header_interativo {
    z-index: 2;
}
