/*------------------------------------------------CUSTOM------------------------------*/

.cont-title {
    width: 250px;
    -webkit-transform: skew(-16deg);
    -moz-transform: skew(-16deg);
    -o-transform: skew(-16deg);
    background: #E12019;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    font-weight: bold;
    margin: 40px;
}

form {
    width: 50%;
}

.btn-primary {
    width: 100%;
    border-radius: 20px;
    background-color: #E12019;
    border: 0;
}

.footer-form {
    height: 40px;
    background-color: #E12019;
    width: 250px;
    border-top-right-radius: 100px;
    border-top-left-radius: 100px;
    position: absolute;
    bottom: 0;
}

.footer-welcome {
    height: 40px;
    background-color: #E12019;
    width: 250px;
    border-top-right-radius: 100px;
    border-top-left-radius: 100px;
    margin-right: 15%;
}

.foot {
    height: 30px;
    background-color: #E12019;
    width: 100%;
}

#logo-bar {
    position: absolute;
    z-index: 1;
    background-color: #fff;
    padding-left: 40px;
    padding-right: 40px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    margin-left: 10%;
    padding-bottom: 15px;
}

#back-home {
    background-image: url("/assets/images/fondo_cancha.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#title-home {
    color: #fff;
    font-family: "monserrat-medium";
    font-size: 3em;
    text-align: left;
    line-height: 50px;
}

#title-home span {
    font-family: "monserrat-black";
}

#content-anuncio-millas {
    text-align: center;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 30px;
    padding-right: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    line-height: 10px;
    border-radius: 15px;
}

#content-anuncio-millas h1 {
    margin: 0;
}

#content-btn-home {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#content-btn-home a {
    width: 200px;
    -webkit-transform: skew(-16deg);
    -moz-transform: skew(-16deg);
    -o-transform: skew(-16deg);
    background: #E12019;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 8px;
    color: #fff;
    font-weight: bold;
    margin: 10px;
    font-size: 1.5em;
}

#content-btn-home a span {
    background-color: #fff;
    color: #E12019;
    border-radius: 100px;
    padding-right: 13px;
    padding-left: 13px;
}

#content-text-polla {
    text-align: center;
    padding: 3%;
    color: #fff;
}

#content-text-polla {
    background-image: url("/assets/images/fondo_general.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

.ticket {
    height: 80px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #000;
    border-bottom-width: 2px;
    border-bottom-style: dotted;
    border-bottom-color: black;
}

.ticket2 {
    height: 200px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #000;
    border-bottom-width: 2px;
    border-bottom-style: dotted;
    border-bottom-color: black;
}

.ticket21 {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #000;
    border-bottom-width: 2px;
    border-bottom-style: dotted;
    border-bottom-color: black;
}

.ticket3 {
    height: 80px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #000;
}

.ticket3 button {
    width: 110px;
    -webkit-transform: skew(-16deg);
    -moz-transform: skew(-16deg);
    -o-transform: skew(-16deg);
    background: #E12019;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 8px;
    color: #fff;
    font-weight: bold;
    margin: 10px;
}

#gana-title {
    font-family: "monserrat-black";
    font-size: 3em;
}

#text-gana {
    font-size: 2em;
}

#content-title-participa {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    padding-top: 8%;
    padding-left: 9%;
}

.row {
    margin: 0;
}

a:hover {
    text-decoration: none;
}

#back-millas {
    background-color: #F4F4F4;
}

.cont-title-millas {
    width: 440px;
    -webkit-transform: skew(-16deg);
    -moz-transform: skew(-16deg);
    -o-transform: skew(-16deg);
    background: #E12019;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    font-weight: bold;
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
}

#content-title-m {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
}

.title-detalle {
    font-family: "monserrat-black";
}

.title-detalle1 {
    font-family: "monserrat-black";
    font-size: 1.5em;
}

.row {
    padding: 0;
}

#contEquiposA,
#contEquiposB,
#contEquiposC,
#contEquiposD,
#contEquiposE,
#contEquiposF,
#contEquiposG,
#contEquiposH {
    background-image: url("/assets/images/tabla_grupos.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 250px;
    color: #000;
    margin-bottom: 10px;
    margin-top: 10px;
}

#octavosEquiposA,
#octavosEquiposB,
#octavosEquiposC,
#octavosEquiposD,
#octavosEquiposE,
#octavosEquiposF,
#octavosEquiposG,
#octavosEquiposH {
    background-image: url("/assets/images/tabla_seleccion.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 250px;
    color: #000;
    margin-bottom: 10px;
    margin-top: 10px;
}

#tercerEquipo {
    background-image: url("/assets/images/tabla_seleccion.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 290px;
    color: #000;
    margin-bottom: 10px;
    margin-top: 10px;
}

.encuentros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}

.test {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 70% 15% 15%;
    grid-row: 1/-1;
}

.octavos {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 100%;
    height: 68%;
    justify-items: center;
    align-items: center;
}

.checks1 {
    transform: scale(2, 2);
    justify-self: left;
    margin-top: -6;
    margin-left: -18;
}

.checks2 {
    transform: scale(2, 2);
    justify-self: right;
    margin-top: -6;
    margin-left: 35;
}

#guardarGrupos {
    width: 110px;
    -webkit-transform: skew(-16deg);
    -moz-transform: skew(-16deg);
    -o-transform: skew(-16deg);
    background: #E12019;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 8px;
    color: #fff;
    font-weight: bold;
    margin: 10px;
}

.swal2-close {
    background-color: #E12019;
    color: #fff;
    border-radius: 100px;
    font-size: 25px;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border: .25em solid rgba(255, 0, 24, 0.3);
}

.swal2-icon.swal2-success [class^="swal2-success-line"] {
    background-color: #E12019;
}

.grayBtn {
    background: #757373 !important;
}

input[type=checkbox] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(2);
    /* IE */
    -moz-transform: scale(2);
    /* FF */
    -webkit-transform: scale(2);
    /* Safari and Chrome */
    -o-transform: scale(2);
    /* Opera */
    transform: scale(2);
}

.align-derecha {
    margin-right: 25px;
}

.align-izquierda {
    margin-left: 35px;
}

.final {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}

.octavos-semi {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 80% 12%;
    height: 198px;
    justify-items: center;
    align-items: center;
}

#millas-disponibles {
    position: absolute;
    right: 7%;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    font-size: 10px;
}

#content-tercer .final,
#content-final .final {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#content-tercer #tercerEquipo,
#content-final #tercerEquipo {
    width: 390px;
}

.content-terminos {
    text-align: justify !important;
}

.content-terminos h1 {
    text-align: center !important;
}


/*------------------Responsive-------------------------*/

@media (max-width: 480px) {
    #title-home {
        color: #fff;
        font-size: 2em;
        line-height: 30px;
    }
    #content-title-participa {
        padding-top: 25%;
        padding-left: 5%;
        padding-right: 5%;
    }
    form {
        width: 90%;
        margin-bottom: 50px;
    }
    .footer-welcome {
        margin-right: 18%;
    }
    .cont-title-millas {
        width: 300px;
        margin-left: 15px;
        margin-right: 15px;
    }
    .cont-title-millas h2 {
        font-size: 1.3em;
    }
    #banner {
        padding-top: 65px;
    }
    #content-text-polla {
        background-position: top left;
    }
    .title-pais {
        width: 50%;
    }
    .bandera-pais {
        width: 25%;
    }
    .check-pais {
        width: 25%;
    }
    #contEquiposA,
    #contEquiposB,
    #contEquiposC,
    #contEquiposD,
    #contEquiposE,
    #contEquiposF,
    #contEquiposG,
    #contEquiposH {
        height: 290px;
    }
    #octavosEquiposA .cont-title-llave,
    #octavosEquiposB .cont-title-llave,
    #octavosEquiposC .cont-title-llave,
    #octavosEquiposD .cont-title-llave,
    #octavosEquiposE .cont-title-llave,
    #octavosEquiposF .cont-title-llave,
    #octavosEquiposG .cont-title-llave,
    #octavosEquiposH .cont-title-llave {
        margin-left: 90px !important;
    }
    .align-derecha {
        margin-right: 0px;
    }
    .align-izquierda {
        margin-left: 8px;
    }
    .cont-ticket {
        margin-bottom: 20px;
    }
    .nav-tabs .nav-link {
        font-size: 10px;
    }
    #cont-home .cont-title-millas {
        margin: 0;
    }
    #menu2 {
        padding: 0;
    }
    #cont-home #content-title-m {
        padding: 0;
    }
    #cont-home .container {
        padding: 0;
    }
    #prueba {
        display: none;
    }
    .final {
        display: flex;
        flex-direction: column;
    }
    #tercerEquipo>p {
        margin-left: 60px !important;
    }
    #octavosEquiposA>p,
    #octavosEquiposB>p,
    #octavosEquiposC>p,
    #octavosEquiposD>p {
        margin-left: 70px !important;
    }
    #millas-disponibles {
        position: inherit;
        margin-top: 15px;
    }
    #content-tercer #tercerEquipo,
    #content-final #tercerEquipo {
        width: 340px;
    }
}

@media (max-width: 812px) and (orientation: landscape) {
    #content-title-participa {
        padding-top: 15%;
    }
    form {
        margin-bottom: 50px;
    }
    #banner {
        padding-top: 10px;
    }
    #content-text-polla {
        background-position: top left;
    }
    .title-pais {
        width: 50%;
    }
    .bandera-pais {
        width: 25%;
    }
    .check-pais {
        width: 25%;
    }
    #contEquiposA,
    #contEquiposB,
    #contEquiposC,
    #contEquiposD,
    #contEquiposE,
    #contEquiposF,
    #contEquiposG,
    #contEquiposH {
        height: 235px;
        width: 250px;
    }
    .nav-tabs .nav-link {
        font-size: 12px;
    }
    .cont-ticket {
        margin-bottom: 20px;
    }
    #cont-home .cont-title-millas {
        margin: 0;
    }
    #menu2 {
        padding: 0;
    }
}

@media (min-width: 481px) and (max-width: 1024px) {
    #cont-home .container,
    #content-text-polla .container {
        padding: 0;
    }
    #cont-home .container,
    #content-text-polla .container {
        max-width: 100%;
    }
    .ticket2 {
        font-size: 11px;
    }
    .ticket2 .col-md-6 p {
        font-size: 9px !important;
    }
    .title-pais p {
        font-size: 10px;
    }
    #contEquiposA p,
    #contEquiposB p,
    #contEquiposC p,
    #contEquiposD p,
    #contEquiposE p,
    #contEquiposF p,
    #contEquiposG p,
    #contEquiposH p {
        margin-left: 20px !important;
    }
}

@media screen and (max-width: 500px) {
    .checks1 {
        transform: scale(5, 2.5);
        border: solid 1px transparent;
        justify-self: left;
        margin-top: -5;
        margin-left: -18;
    }
    .checks2 {
        transform: scale(5, 2.5);
        border: solid 1px transparent;
        justify-self: right;
        margin-top: -5;
        margin-left: 35;
    }
}

@media screen and (max-width: 900px) {
    .encuentros {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
        gap: 12px;
    }
    .checks1 {
        transform: scale(2, 2);
        border: solid 1px transparent;
        justify-self: left;
        margin-top: -6;
        margin-left: 2;
    }
    .checks2 {
        transform: scale(2, 2);
        border: solid 1px transparent;
        justify-self: right;
        margin-top: -6;
        margin-left: 10;
    }
}