/**VARIOS*/
main {
    background-color: white !important;
}

/** INICIO ONDA */
#newhome {
    background-color: transparent;
    background-image: linear-gradient(180deg, #F06400 0%, #F2B729 100%);
}

#newhome .wrapper {
    min-height: 300px;
}

#newhome .alternativeright {
    text-align: right;
    z-index: 1;
    margin-top: 75px;
    float: right;
    width: 350px;
    display: flex;
}

#newhome .roundedleft {
    text-align: right;
    z-index: 1;
    height: 190px;
    width: 70%;
}

#newhome .blanco {
    display: inline-block;

    background-color: white;
}

#newhome .restblock {
    width: 30%;
}

#newhome .alternativeright .roundedleft {
    bottom: 0;
    left: 0;
    border-radius: 0 0 0 100%;
    /* Redondear solo la esquina inferior izquierda */
    z-index: 1;
    /* Asegura que esté sobre la imagen */
    margin-right: -1px;
    /*Quita un espacio que aparece en ocasiones al redimensionar en pequeño*/
}

#newhome .infobox {

    position: absolute;
    z-index: 9;
    text-align: center;
    width: 320px;
    padding-left: 80px;
}

.infobox a {
    color: #F06400;
    font-family: "Signika", Sans-serif;
}

.infobox .title {
    font-size: 50px;
    font-weight: 600;
}


.infobox .buttondriven {
    width: 200px;
}


.wrapperbase {
    height: 42px;
    /*Para quitar 1 px que sale donde la ondulación en el movil en línea trasversal*/
}

.base {
    transform: rotate(180deg);
    fill: #fff;
}

.base svg {
    width: calc(142% + 1.3px);
    height: 45px;
}


#newhome .wrapper {
    flex-direction: column;
    justify-content: center;
}

.containerDriven {
    width: 100%;
    display: inline-block;
    position: absolute;
    height: 300px;
    flex-direction: column;
    text-align: center;
    font-family: "Signika", Sans-serif;
    color: #FFFFFF;
}

.containerDriven h1 {
    margin-top: 100PX;
    color: #FFFFFF;
    letter-spacing: 1px;
    font-size: 83px;
    font-weight: 600;
    line-height: 0.6;
}

.containerDriven span {
    letter-spacing: 1px;
    font-size: 43px;
    font-weight: 600;
    line-height: 1.3;
}

@media (min-width: 600px) and (max-width: 1100px) {

    .containerDriven span {
        font-size: 38px;
    }

    .containerDriven h1 {
        font-size: 73px;
    }

    .infobox .title {
        font-size: 40px;
    }
}

@media (min-width: 900px) and (max-width: 1100px) {

    #newhome .infobox {
        padding-left: 60px;
    }

    #newhome .alternativeright,
    #newhome .infobox {
        width: 280px;
    }

}

@media (min-width: 600px) and (max-width: 899px) {

    #newhome .alternativeright,
    #newhome .infobox {
        width: 240px;
    }

    .infobox .buttondriven {
        width: 160px;
        margin-left: 20px;
    }

    #newhome .infobox {
        padding-left: 50px;
    }
}

@media (min-width: 700px) and (max-width: 800px) {
    .containerDriven {
        padding-right: 100px;
    }
}

@media (min-width: 600px) and (max-width: 700px) {
    .containerDriven {
        padding-right: 200px;
    }
}

@media (min-width: 500px) and (max-width: 600px) {

    #newhome .alternativeright,
    #newhome .infobox {
        width: 200px;
    }

    .infobox .buttondriven {
        width: 140px;
        margin-left: 20px;
    }

    .containerDriven h1 {
        font-size: 65px;
    }

    .containerDriven {
        padding-right: 180px;
    }

}

@media (min-width: 000px) and (max-width: 600px) {
    #newhome .infobox {
        padding-left: 30px;
        margin-top: 10px;
    }

    .containerDriven span {
        font-size: 30px;
    }

    .infobox .title {
        font-size: 32px;
    }

}

@media (min-width: 440px) and (max-width: 500px) {
    .containerDriven h1 {
        font-size: 58px;
    }
}

@media (min-width: 000px) and (max-width: 500px) {

    #newhome .alternativeright,
    #newhome .infobox {
        width: 170px;
    }

    .infobox .buttondriven {
        width: 120px;
        margin-left: 15px;
    }

    .containerDriven {
        padding-right: 160px;
    }
}

@media (min-width: 000px) and (max-width: 440px) {

    .containerDriven h1 {
        font-size: 42px;
    }

    .containerDriven span {
        font-size: 25px !important;
    }


}

/** FIN  ONDA */

/** INICIO TARJETAS */

/*Stilos del switch*/
.div-switch {

    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    font-family: sans-serif;
}

.ejta-switch-button {
    background: rgba(240, 100, 0, 1);
    /*background: rgba(240, 100, 0, 0.56);*/
    border-radius: 30px;
    /*border: 1px solid #555555;*/
    box-shadow: 0px 0px 5px 0px #000000;
    overflow: hidden;
    width: 210px;
    text-align: center;
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff;
    padding-right: 100px;
    position: relative;
    height: 30px;
}

.premium .ejta-switch-button:before {
    content: "Consejos" !important;
}

.ejta-switch-button:before {
    content: "Premium";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;

}

.ejta-switch-button-checkbox {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;

}

.ejta-switch-button-checkbox:checked+.ejta-switch-button-label:before {
    transform: translateX(100px);
    transition: transform 300ms linear;
}

.ejta-switch-button-checkbox+.ejta-switch-button-label {
    position: relative;
    padding: 2px 0;
    display: block;
    user-select: none;
    pointer-events: none;
}

.ejta-switch-button-checkbox+.ejta-switch-button-label:before {
    content: "";
    /*background: #f06400;*/
    background: #c25200;
    /*border: 1px solid #555555;*/
    box-shadow: 0px 0px 5px 0px #000000;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 30px;
    transform: translateX(0);
    transition: transform 300ms;
    height: 28px;
}

.ejta-switch-button-label-span {
    position: relative;
}


/*Estilos de la tarjeta*/


.card {
    perspective: 1000px;
    height: 100%;
    position: relative;
    margin: 10px auto;
    background-color: transparent !important;

}

@media (min-width: 395px) {
    .card {
        width: 350px;
    }
}

@media (min-width: 375px) and (max-width: 590px) {
    .card-back .card-footer .col-md-9 {
        padding-right: 4px !important;
        padding-left: 4px !important;
    }
}

@media (min-width: 375px) and (max-width: 395px) {
    .card {
        width: 325px;
    }


    .card-back .card-footer .col-md-3 {
        padding-right: 0px !important;
    }
}

@media (max-width: 375px) {
    .card {
        width: 300px;
    }

    .card-back .card-footer .col-md-9 {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .card-back .card-footer .col-md-3 {
        padding-right: 0px !important;
    }
}


.card-inner {
    width: 100%;
    height: 410px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    border-radius: 30px;
    /*border: 1px solid black;*/


}



/*.card-front,.card-back {
    background-color: #fff;
    color: #f06400;
    border-radius: 30px;
    box-shadow: 0px 0px 10px 0px #000000;
}*/

.card.is-flipped .card-front {
    box-shadow: 0px 0px 0px 0px;
    /*Saca firefox dos veces la sombra*/
}



.card-front,
.card-back {
    width: 100%;
    /*height: 100%;*/
    position: absolute;
    text-align: center;
    backface-visibility: hidden;
    border-radius: 30px;
    box-shadow: 0px 0px 10px 0px #000000;
}

.card-front img {
    border-radius: 0 0 30px 30px;
}

.card-back {
    transform-style: preserve-3d;
    transform: rotateY(180deg);
    /*background-color: #f06400;*/
    background-image: linear-gradient(180deg, #FF830A 0%, #FFF0D3 100%);
    text-align: center;
    height: calc(100% + 5px);
    /*Para que no se vea la parte de atrás en Firefox*/
}

@media (min-width: 768px) {
    .premium .card-back {
        height: calc(100% + 40px);
        /*Para que no se vea la parte de atrás en Firefox Mejoramos tu consejos para que quepa*/
    }
}

@media (min-width: 395px) and (max-width: 768px) {
    .premium .card-back {
        height: calc(100% + 55px);
        /*Para que no se vea la parte de atrás en Firefox Mejoramos tu consejos para que quepa*/
    }
}

@media (max-width: 395px) {
    .premium .card-back {
        height: calc(100% + 65px);
        /*Para que no se vea la parte de atrás en Firefox Mejoramos tu consejos para que quepa*/
    }
}

.card-back .buttondriven2 small {
    color: black;
    font-weight: 600;
}

.card-back .buttondriven2 .title {
    line-height: 0.8;
}

.card-back li .buttondriven2 {
    width: 94%;
}

.card.back2 {
    backface-visibility: visible;
}

.card-front2 {
    backface-visibility: hidden;
}

/* Bug chome safari ipad*/
.is-flipped .card-front .iconbutton,
.card:not(.is-flipped) .card-back .nuevos-consejos,
.is-flipped .card-front .ribbon-caducidad,
.card:not(.is-flipped) .card-back .punto-progreso,
.card:not(.is-flipped) .card-back .texto-escritura::after {
    display: none !important;
    transform: none !important;
    animation: none !important;
}


/* Bug Firefox, se ve la solapa más grande la parte de atrás */
@supports (-moz-appearance: none) {
    .card:not(.is-flipped) .card-inner {
        backface-visibility: inherit;
        transition: transform 150ms linear;
    }

    .card.is-flipped .card-inner {
        backface-visibility: hidden;
    }
}

.card.is-flipped .card-inner {
    transform-style: preserve-3d;
    transform: rotateY(180deg);
}

.card.is-flipped .card-front {}

.card.is-flipped .card-back {}

.div-title {
    padding-top: 30px;
    text-align: center;
}

.img-container {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    text-align: center;
}

.card-front {
    background-image: linear-gradient(180deg, #FF830A 0%, #FFF0D3 100%);
}

.card-icon {
    height: 168px;
    padding-top: 20px;
}

.card-icon img {
    width: 130px;

    transition: width 0.3s ease;
}

.card-icon-small {
    padding: 7px 7px 0px 0px;
}

.card-icon-small img {
    width: 70px;
    transition: width 0.3s ease;
}

.card-icon-small i {
    position: absolute;
    padding: 2px;
    top: 59px;
    right: 15px;
    color: #f06400;
    border: 1px;
    border-color: #f06400;
    background-color: white;
    font-size: 18px;
    border-width: 2px 2px 2px 2px;
    border-radius: 16px 16px 16px 16px;
    border-style: solid;
}

/*.card-icon-small img:hover{
    width: 90px;
    transition: width 0.3s ease;
}*/

.card-icon-medium i {
    position: relative;
    padding: 2px;
    top: -30px;
    color: #f06400;
    background-color: white;
    font-size: 25px;
    border-radius: 16px 16px 16px 16px;
    border-style: solid;
    left: 40px;
}

.card-icon img:hover {
    width: 156px;
}

.card-front h2,
.card-front h3,
.card-back h2,
.card-back h3 {

    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: 600;
    font-size: 1.65rem;
}

.box-tu-profesor {
    font-size: 0.9em;
    line-height: 1em;

}


.card-front h2 {
    /*color: #F06400;*/
    color: #8F3E00;
}

.card-front h3 {
    /*color: #0A7CAC;*/
    color: #0A648A;
}

.card-back h3,
.card-back .iconcontainer,
.user h3,
.user .iconcontainer {
    /*color: white;*/
    color: #424242;
}

.card-back .line,
.user .line {
    /*background-color: white;*/

    background-color: #424242;
}

.line {
    height: 2px;
    width: 30px;
    /*background-color: #0A7CAC;*/
    background-color: #0A648A;

    margin: 0 10px;
}

.iconbutton {
    font-size: 20px;
}

/*.iconbuttonabsolute{
    font-size: 20px;
    position: absolute;
    padding-left: 5px;
}*/
.iconcontainer {
    color: #0A648A;
    /*color:#0A7CAC;*/
}

.mt-neg-8 {
    margin-top: -8px;
}

.card-footer {
    /*background-color: #F06400!important;*/
    background-color: #c25200 !important;
    height: 65px;
    border-radius: 0px 0px 30px 30px !important;


}

.card-back .card-footer {
    position: absolute;
    width: 100%;
    top: calc(100% - 65px);
}




@media (min-width: 1160px) {
    .grid-card-home {
        max-width: 1140px;
    }

    .col-lg-dr-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        margin-bottom: 4rem;
    }
}

@media (min-width: 900px) and (max-width: 1160px) {
    .grid-card-home {
        max-width: 850px;
    }

    .col-lg-dr-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 4rem;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .grid-card-home {
        max-width: 740px;
    }

    .col-lg-dr-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 4rem;
    }
}

.grid-card-home {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 767.5px) {
    .col-lg-dr-4 {
        /*-ms-flex: 0 0 90%;*/
        flex: 0 0 100%;
        /*max-width: 90%;*/
        margin-bottom: 8rem;
    }

    .card-front .card-footer .row {
        margin-top: -6px;
    }

}

@media (min-width: 767.5px) {
    .card-front .card-footer .row {
        margin-top: -4px;
    }

}

.card-back .card-footer .row {
    margin-top: -4px;
}

@media (max-width: 767.6px) {

    .card-front .card-footer,
    .premium .card-back .card-footer {
        height: 115px !important;
    }
}


.esquinar {
    margin-left: -15px;
    margin-top: 5px;
}

.caracteristicas li {
    padding: 0.3em;

}

.caracteristicas {
    width: auto;
}

.caracteristicas ul {
    list-style: none;
    padding: 0;

}

.caracteristicas em {
    font-weight: 600;
}

.caracteristicas li:nth-of-type(2n+1) {
    /*background-color: rgba(102, 45, 145, 0.06);*/
    background-color: rgba(250, 250, 230, .33);
}

.card-back .card-footer .col-md-9 {
    flex: 0 0 77% !important;
    max-width: 77% !important;
}

.card-back .card-footer .col-md-3 {
    -ms-flex: 0 0 23% !important;
    flex: 0 0 23% !important;
    max-width: 23% !important;
}

/** FIN  TARJETAS */

/** USUARIO **/
.micanvascontainer {
    background: white;
    margin-left: 15px;
    margin-right: 15px;
    height: 115px;
    border-radius: 16px 16px 16px 16px;
}

.micanvascontainer h4 {
    color: #f06400;
    font-size: 1.3rem;
    font-weight: 600;
}

.micanvas {
    margin-top: -20px;
}

.prev-footer {
    /*background-color: #f06400;*/
    background-color: #c25200;
    font-size: 1.25rem;
    color: white;
    font-family: "Signika", Sans-serif;
    font-weight: 600;
}

.user .card-front .card-footer,
.premium .card-footer {
    border-top: 0px !important;
}

.prev-footer2 {
    /*background-color: #f06400;*/
    background-color: #c25200;
    font-size: 1.25rem;
    color: white;
    font-family: "Signika", Sans-serif;
    font-weight: 600;
    position: absolute;
    width: 100%;
    bottom: 60px;
}

.premium a em {
    color: #343a40;
    text-decoration: underline;
}

.user .card-icon {
    margin-bottom: -15px;
}

.mt-custom-25 {
    margin-top: -25px;
}

.mt-custom-30 {
    margin-top: -30px;
}



@media (min-width: 768px) {
    .card-back .card-footer .padding-recortar {
        padding-right: 10px;
        padding-left: 10px;
    }
}