﻿.banner-col-12 {
    min-height: 520px;
    position: relative;
    background-position: bottom;
    margin-bottom: 15px;
}

    .banner-col-12.mundial-arvore,
    .banner-col-12.mundial-arvore-xs {
        background: url(/img/fifa_wc_2018_background_v2.jpg);
    }

.mundial-arvore .logo,
.mundial-arvore .taca,
.mundial-arvore-xs .logo,
.mundial-arvore-xs .taca {
    position: absolute;
    width: 100%;
    text-align: center;
}

.mundial-arvore .logo {
    top: 15px;
    opacity: 0.3;
}

    .mundial-arvore .logo.animacao {
        top: 15px;
        opacity: 0;
        animation: logo 5s ease 1s forwards;
    }

.mundial-arvore .taca {
    top: 95px;
    opacity: 0.3;
}

.mundial-arvore .taca.animacao {
    top: 730px;
    opacity: 0;
    animation: taca-top 1000ms ease 3500ms forwards;
}

.box-result {
    width: 115px;
    min-height: 80px;
    background-color: rgba(0, 0, 0, 0.55);
    position: absolute;
    border: 2px solid #FFF;
    border-radius: 2px;
}

    .box-result.large {
        width: 290px;
        height: 150px;
    }

    /*.box-result:not(.col-final) img {
        min-width: 35px;
    }*/

.col-oitavos-1 {
    left: 15px;
}

.col-oitavos-2 {
    right: 15px;
}

.col-quartos-1 {
    left: 150px;
    opacity: 1;
}

.col-quartos-1.animacao {
    opacity: 0;
    animation: show 1000ms ease 2200ms forwards;
}

.col-quartos-2 {
    right: 150px;
    opacity: 1;
}

.col-quartos-2.animacao {
    opacity: 0;
    animation: show 1000ms ease 2200ms forwards;
}

.col-meias-1 {
    left: 285px;
    opacity: 1;
}

.col-meias-1.animacao {
    opacity: 0;
    animation: show 1000ms ease 3400ms forwards;
}

.col-meias-2 {
    right: 285px;
    opacity: 1;
}

.col-meias-2.animacao {
    opacity: 0;
    animation: show 1000ms ease 3400ms forwards;
}

.col-final {
    left: 50%;
    margin-left: -145px;
    top: 47px;
    opacity: 1;
}

.col-final.animacao {
    opacity: 0;
    animation: show 1000ms ease 5000ms forwards;
}

.col-3rd-place {
    left: 50%;
    margin-left: -55px;
    top: 340px;
    opacity: 1;
}

.col-3rd-place.animacao {
    opacity: 0;
    animation: show 1000ms ease 5500ms forwards;
}

.col-final .row:first-child {
    margin-top: 10px;
}

.col-oitavos-1.jogo-1, .col-oitavos-2.jogo-1 {
    top: 25px;
}

.col-oitavos-1.jogo-2, .col-oitavos-2.jogo-2 {
    top: 155px;
}

.col-oitavos-1.jogo-3, .col-oitavos-2.jogo-3 {
    top: 285px;
}

.col-oitavos-1.jogo-4, .col-oitavos-2.jogo-4 {
    top: 415px;
}

.col-quartos-1.jogo-1, .col-quartos-2.jogo-1 {
    top: 90px;
}

.col-quartos-1.jogo-2, .col-quartos-2.jogo-2 {
    top: 350px;
}

.col-meias-1.jogo-1, .col-meias-2.jogo-1 {
    top: 220px;
}

.mundial-arvore .n-jogo {
    position: absolute;
    width: 100px;
}

.mundial-arvore .jogo-1 .n-jogo,
.mundial-arvore .jogo-3 .n-jogo {
    top: -25px;
}

.mundial-arvore .jogo-2 .n-jogo,
.mundial-arvore .jogo-4 .n-jogo {
    bottom: -25px;
}


/* LINHAS  */

.linha-oitavos {
    width: 2px;
    height: 50px;
    position: absolute;
    background-color: white;
}

.linha-oitavos.animacao {
    height: 0px;
    animation: linhas-v-animate-oitavos 500ms ease 1s forwards;
}

.linha-oitavos-h {
    height: 2px;
    width: 79px;
    position: absolute;
    background-color: white;
}

.linha-oitavos-h.animacao {
    width: 0px;
    animation: linhas-h-animate-oitavos 1000ms ease 1.5s forwards;
}

    /*vertical*/
    .linha-oitavos.l-1,
    .linha-oitavos.l-2,
    .linha-oitavos-h.l-1,
    .linha-oitavos-h.l-2 {
        left: 71px;
    }

    .linha-oitavos.r-1,
    .linha-oitavos.r-2,
    .linha-oitavos-h.r-1,
    .linha-oitavos-h.r-2 {
        right: 71px;
    }

.linha-oitavos.l-1,
.linha-oitavos.r-1 {
    top: 105px;
}

.linha-oitavos.l-2,
.linha-oitavos.r-2 {
    top: 365px;
}

/*horizontal*/
.linha-oitavos-h.l-1,
.linha-oitavos-h.r-1 {
    top: 129px;
}

.linha-oitavos-h.l-2,
.linha-oitavos-h.r-2 {
    top: 389px;
}

.linha-quartos {
    width: 2px;
    height: 180px;
    top: 170px;
    position: absolute;
    background-color: white;
}

    .linha-quartos.animacao {
        height: 0px;
        animation: linhas-v-animate-quartos 700ms ease 2500ms forwards;
    }

    .linha-quartos.l-1 {
        left: 207px;
    }

    .linha-quartos.l-2 {
        right: 207px;
    }

.linha-quartos-h {
    height: 2px;
    width: 79px;
    position: absolute;
    background-color: white;
    top: 259px;
}

    .linha-quartos-h.animacao {
        width: 0px;
        animation: linhas-h-animate-quartos 700ms ease 3000ms forwards;  
    }

    .linha-quartos-h.l-1 {
        left: 207px;
    }

    .linha-quartos-h.l-2 {
        right: 207px;
    }

/*.linha-meias-h {
    height: 2px;
    position: absolute;
    background-color: white;
    top: 216px;
    left: 399px;
    right: 399px;
}*/

.linha-meias-h-l,
.linha-meias-h-r {
    height: 2px;
    position: absolute;
    background-color: white;
    top: 259px;
}

.linha-meias-h-l {
    left: 399px;
    right: 50%;
}

    .linha-meias-h-l.animacao {
        right: 100%;
        animation: linhas-animate-meias-l 1800ms ease 2800ms forwards;
    }

.linha-meias-h-r {
    left: 50%;
    right: 399px;
}

    .linha-meias-h-r.animacao {
        left: 100%;
        animation: linhas-animate-meias-r 1800ms ease 2800ms forwards;
    }

.linha-final {
    width: 2px;
    height: 63px;
    position: absolute;
    background-color: white;
    bottom: 260px;
    left: 50%;
}

    .linha-final.animacao {
        height: 0px;
        animation: linhas-animate-final 700ms ease 4500ms forwards;
    }

.tablet {
    display: none;
}

.dsk {
    display: block;
}

    .dsk #penaltysFinal {
        position: absolute;
        top: 70px;
        width: 100%;
        left: 0;
        line-height: 16px;
    }

#penaltysTablet {
    margin-top: -10px;
}

.hidden-xs .penaltys {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 12px;
}

.hidden-xs .col-3rd-place {
    min-height: 100px;
}

    .hidden-xs .col-3rd-place .penaltys {
        position: relative;
    }

.col-xs-12 .penaltys {
    font-size: 12px;
    text-align: center;
}

/*animacao linhas*/
@keyframes logo {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.3;
    }
}

@keyframes taca-top {
    0% {
        top: 830px;
        opacity: 0;
    }

    100% {
        top: 95px;
        opacity: 0.3;
    }
}

@keyframes show {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes linhas-h-animate-oitavos {
    0% {
        width: 0px;
    }

    100% {
        width: 79px;
    }
}

@keyframes linhas-v-animate-oitavos {
    0% {
        height: 0px;
    }

    100% {
        height: 50px;
    }
}

@keyframes linhas-h-animate-quartos {
    0% {
        width: 0px;
    }

    100% {
        width: 79px;
    }
}

@keyframes linhas-v-animate-quartos {
    0% {
        height: 0px;
    }

    100% {
        height: 180px;
    }
}

@keyframes linhas-animate-meias-l {
    0% {
        right: 100%;
    }

    100% {
        right: 50%;
    }
}

@keyframes linhas-animate-meias-r {
    0% {
        left: 100%;
    }

    100% {
        left: 50%;
    }
}

@keyframes linhas-animate-final {
    0% {
        height: 0;
    }

    100% {
        height: 63px;
    }
}

@media only screen and (max-width: 1060px) {
    .col-final {
        left: 50%;
        margin-left: -90px;
        top: 77px;
    }

    .box-result.large {
        width: 180px;
        height: 120px;
    }

    .col-meias-1 {
        left: 250px;
    }

    .col-meias-2 {
        right: 250px;
    }


    .linha-quartos-h {
        height: 2px;
        width: 0px;
        position: absolute;
        background-color: white;
        top: 259px;
    }

    .linha-meias-h {
        height: 2px;
        position: absolute;
        background-color: white;
        top: 216px;
        left: 364px;
        right: 364px;
    }


    .tablet {
        display: block;
    }

    .dsk {
        display: none;
    }

    .linha-meias-h-l {
        left: 365px;
    }

    .linha-meias-h-r {
        right: 365px;
    }

    @keyframes linhas-h-animate-quartos {
        0% {
            width: 0px;
        }

        100% {
            width: 44px;
        }
    }
}

@media only screen and (min-width: 768px) {
    #SeccaoA.margem-topo {
        margin-top: 0px;
    }
}

/*Arvore para mobile*/
@media only screen and (max-width: 767px) {
    .mundial-arvore-xs .logo {
        top: 145px;
        opacity: 0.3;
    }

    .mundial-arvore-xs .box-result .col-xs-5 .ml-3 {
        margin-left: 3px;
    }

        .mundial-arvore-xs .logo.animacao {
            opacity: 0;
            animation: logo 5s ease 1000ms forwards;
        }

    .mundial-arvore-xs .logo img {
        width: 290px;
    }

    .mundial-arvore-xs .taca {
        top: 205px;
        opacity: 0.3;
    }

        .mundial-arvore-xs .taca.animacao {
            top: 730px;
            opacity: 0;
            animation: taca-top 1s ease 3500ms forwards;
        }

    .mundial-arvore-xs .taca img {
        width: 70px;
    }

    @keyframes taca-top {
        0% {
            top: 730px;
            opacity: 0;
        }

        100% {
            top: 205px;
            opacity: 0.3;
        }
    }

    #SeccaoA.margem-topo {
        margin-top: 0px;
    }

    .row.banner-col-12,
    .row .banner-col-12 {
        margin-top: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .mundial-arvore-xs > [class^="col-"],
    .mundial-arvore-xs > [class^=" col-"] {
        padding-right: 0;
        padding-left: 0;
    }

    .mundial-arvore-xs .box-result {
        width: 90%;
        max-width: 80px;
        position: relative;
        margin: 0 auto;
        color: #fff;
        min-height: 85px;
    }

        .mundial-arvore-xs .box-result.final {
            max-width: 130px;
            position: relative;
        }

        .mundial-arvore-xs .box-result.final .col-xs-2.mt-5 {
            margin-top: 15px;
        }

        .mundial-arvore-xs .box-result.place-3-4 {
            position: absolute;
            top: 5px;
            left: 73%;
        }

    .mundial-arvore-xs > .col-xs-12 {
        margin: 15px 0;
    }

    .line-v {
        position: absolute;
        left: 50%;
        background-color: #fff;
        height: 17px;
        width: 2px;
    }

    .line-h {
        position: absolute;
        left: 50%;
        background-color: #fff;
        height: 2px;
        width: 50%;
    }

    .jogo-xs-2 .line-h,
    .jogo-xs-4 .line-h {
        right: 50%;
        left: 0;
    }

    .line-bottom {
        bottom: -15px;
    }

    .line-h-top {
        bottom: 0;
        top: -17px;
    }

    .line-top {
        top: -17px;
    }

    .mundial-arvore-xs img.flag {
        width: 80%;
    }

}
