/******************* tarjetas *******************/

/* genericos */
.separation-top-bigger {
    margin-top: 60px !important;
}

.color-corp {
    color: #77bd1e !important;
}

.color-black {
    color: black !important;
}

.wrapper-ok {
    margin: 100px auto 100px;
    text-align: center;
}

.wrapper-ok .header__text {
    margin-top: 20px;
    margin-bottom: 60px;
}

.title-middle-corp {
    font-family: Kreon-Bold;
    font-size: 22px;
    line-height: 26px;
    color: #77BD1E;
    margin: 0;
}

.checkout-modal-item--precio {
    color: #77BD1E;
    font-size: 20px;
    font-weight: bold;
}

.btn-width {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
}

.button-title--little {
    max-width: 130px;
    height: 34px;
    position: relative;
    top: 6px;

    display: none;
}

.button-title--little .button__content {
    padding: 0;
}


/* checkout modal */
.wrapper-checkout-modal .checkout-modal:last-child .checkout-modal--item {
    border: none;
}

.checkout-modal {
    margin-top: 30px;
}

.checkout-modal--item {
    border-bottom: 1px solid #DFDFDF;
    padding-bottom: 20px;
    margin-bottom: 15px;
}

.modal-tarjetas {
    height: auto !important;
}

/* form */
.label-text {
    font-family: SourceSansPro-Regular;
    font-size: 16px;
    color: #AFAFAF;
    line-height: 22px;
    margin-bottom: 10px;
    display: block;
}

.text-subform {
    color: #AFAFAF;
}

.text-subform a {
    color: #77BD1E;
    text-decoration: underline !important;
}

.w-half {
    width: 50%;
}

.text-link {
    font-family: SourceSansPro-Regular;
    font-size: 16px;
    color: #B9B9B9;
    text-align: center;
}

.text-parrafo {
    color: #AFAFAF;
}

.text-parrafo span {
    color: black;
}

.text-parrafo a {
    color: #77BD1E;
    text-decoration: underline !important;
}

.text-parrafo ul {
    list-style: circle;
    padding: 0 0 20px 20px;
}

.check--modal .input--radio {
    padding: 0;
    margin-right: 15px;
    top: 2px;
}

.thumb-ver-tarjeta {
    color: #006039;
    text-decoration: underline !important;
}

.wrapper-add-tarjeta .btn-add-tarjeta {
    background: #FFFFFF;
    border: 1px solid #77BD1E;
    border-radius: 10px;
    width: 48%;
    height: 100px;;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.wrapper-add-tarjeta .btn-add-tarjeta img {
    width: 34px;
}

.wrapper-add-tarjeta .btn-add-tarjeta h3 {
    font-family: Kreon-Bold;
    font-size: 16px;
    color: #77BD1E;
    text-align: center;
}

/* especificos */
.border-right--before {
    position: relative;
}

.border-right--before:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    background: #DFDFDF;
    top: 0;
    right: -10%;
}

.wrapper-tarjeta-thumb {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-bottom: 30px;
}

.wrapper-tarjeta-thumb--content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 0;
}

.wrapper-tarjeta-thumb--content + .wrapper-tarjeta-thumb--aplicado {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0 0 0;
}

.wrapper-tarjeta-thumb--aplicado {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    position: relative;
    top: -15px
}

.wrapper-tarjeta-thumb--text {
    padding-right: 30px;
    line-height: 22px;
}

.wrapper-tarjeta-thumb--price {
    font-size: 22px;
    color: #242424;
    font-weight: 700;
    position: relative;
    top: -4px;
}

.tarjetas-box-action {
    padding-bottom: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid #DFDFDF;
}

.tarjetas-box-action + .tarjetas-box-action {
    border: none;
}

.tarjetas-resumen,
.tarjetas-resumen--fixed {
    background-color: #f2f2f2;
    padding: 30px;
    border-radius: 5px;
}

.tarjetas-resumen p,
.tarjetas-resumen--fixed p {
    margin: 0;
    padding: 0;
    color: #A5A5A5;
}

.tarjetas-resumen--qt {
    font-size: 14px;
}

.tarjetas-resumen--total {
    font-size: 14px;
    border-top: 1px solid #DFDFDF;
    padding-top: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.tarjetas-resumen--total span {
    font-size: 22px;
    font-weight: 700;
    color: #77bd1e;
    margin-left: 10px;
}

.tarjetas-resumen--descuento p {
    color: #77bd1e;
}

/* tarjeta item comun */
.tarjeta-thumb {
    min-height: 150px;
    margin: 20px 20px 10px 20px;
    padding: 20px;
    text-align: center;
    background-image: url("../img/background_tarjeta.png");
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    position: relative;
}

.tarjeta-thumb.sidebar {
    margin: 0;
    min-height: 180px;
}

.tarjeta-thumb.sidebar .tarjeta-thumb--info {
    margin: 22px 0 0 0;
}

.tarjeta-thumb--logo {
    width: 40px;
}

.tarjeta-thumb--info {
    font-family: Kreon, serif;
    color: white;
    margin-top: 22px;
}

.tarjeta-thumb--info-numero {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 5px 30px;
    margin: 5px auto;
    width: max-content;
}

.tarjeta-thumb--info-numero span {
    position: relative;
    top: 3px;
    margin: 0 5px;
}

.tarjeta-thumb--info-numero span:last-child {
    position: relative;
    top: 0;
}

.tarjeta-thumb--info {
    color: white;
}

.tarjeta-thumb--info-saldo {
    font-size: 22px;
    height: 33px;
}

.tarjeta-thumb--bottom {
    position: relative;
    left: 20px;
    font-size: 14px;
    padding-right: 20px;
}

.tarjeta-thumb--bottom span {
    color: #AEAEAE;
}

.btn--tarjeta-remove {
    position: absolute;
    top: -15px;
    right: -15px;
    background-image: url("../img/icon-remove.svg");
    background-position: 9px 8px;
    background-repeat: no-repeat;
    background-size: auto;
    width: 30px;
    height: 30px;
    background-color: #006039;
    border-radius: 50%;
}

.banner--restricciones {
    background-color: rgba(229, 245, 255, 0.7);
    border: 1px solid #BAE4FF;
    padding: 5px 10px;
    border-radius: 3px;
    text-align: center;
    font-size: 13px;
}

.banner--restricciones a {
    color: black;
    text-decoration: underline !important;
}

.banner--ok {
    background-color: #FFFACC;
    border: 1px solid #FFE075;
    padding: 15px;
    border-radius: 3px;
    text-align: center;
    font-size: 16px;
    line-height: 22px;
}

.w-bold {
    font-weight: bold;
}

.arrow-go {
    font-family: SourceSansPro-Bold;
    font-size: 20px;
    color: #242424;
    text-align: right;
    line-height: 12px;
    padding-right: 20px;
    background-image: url("../../../../../../../../../../Downloads/tarjetas-hiperdino/img/icon-arrow-go.svg");
    background-position: top 6px right;
    background-size: auto;
    background-repeat: no-repeat;
}

/* slider*/
.sldier-tarjetas-wrapper {
    position: relative;
}

/*.sldier-tarjetas-wrapper::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 1px;*/
/*    height: 100%;*/
/*    background-color: rgba(115, 115, 115, 0.17);*/
/*    top: 0;*/
/*    right: 35px;*/
/*}*/

.sldier-tarjetas {
    position: relative;
    left: -20px;
}

.slider {
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 1020px) {
    .slider {
        padding-right: 10%;
        padding-left: 10%;
    }
}

.slick-slide {
    margin: 0px;
}

.slick-slide img {
    width: 100%;
}

.slick-prev:before,
.slick-next:before {
    color: black;
}

/*.slick-list {*/
/*    padding-left: 0px !important;*/
/*}*/

.slick-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slick-dots li {
    margin: 0 4px;
}

.slick-dots li button {
    text-indent: -99999px;
    width: 10px;
    height: 10px;
    background: #77BD1E;
    border-radius: 50%;
}

.slick-dots li.slick-active button {
    text-indent: -99999px;
    width: 10px;
    height: 10px;
    background: #006039;
    border-radius: 50%;
}

/* movimientos */
.wrapper-movimientos {
    margin-top: 20px
}

.title-movimientos {
    margin-top: 20px;
    margin-bottom: 20px;
}

.title-movimientos h4 {
    font-family: Kreon-Bold;
    font-size: 22px;
    color: #77BD1E;
    margin: 0;
}

.title-movimientos h5 {
    font-family: Kreon-Bold;
    font-size: 26px;
    color: #006039;
    margin: 0;
}

.item-movimientos {
    border-bottom: 1px solid #DFDFDF;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.items-movimientos {
    max-height: 200px;
    overflow: auto;
    padding-right: 10px;
}

.items-movimientos .item-movimientos:last-child {
    border: none;
}

.mas-movimientos {
    text-align: center;
    margin-top: 30px;
}

.mas-movimientos a {
    font-family: SourceSansPro-Regular;
    font-size: 20px;
    color: #AFAFAF;
    text-align: center;
    line-height: 12px;
}

/* modal */
.wrapper-modal--center {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 60px;
}

.wrapper-modal--center.modal--big {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px;
}

/* añadimos elemetnos FIXED en mobile */
/* al BODY añadimos la class FIXED-ELEMENTS para funciones fixed */
.tarjetas-resumen--fixed {
    display: none;
}

@media (max-width: 767px) {
    /* cambiamos el orden de los elementos */
    .wrapper--tarjetas-resumen .wrapper--tarjetas-resumen-col1 {
        order: 2;
    }

    .wrapper--tarjetas-resumen .wrapper--tarjetas-resumen-col2 {
        order: 1;
        margin-bottom: 30px;
    }

    .fixed-elements {
        padding-bottom: 0;
        float: flex;
    }

    .tarjetas-resumen--fixed {
        display: block;
        position: sticky;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
    }

    .btn-width {
        max-width: 100%;
        margin: 0 !important;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .btn-width .button__complex.has-margin-bottom {
        margin: 0;
    }

    .tarjetas-resumen {
        background-color: transparent;
        padding: 0;
        border-radius: 0;
        border-bottom: 1px solid #DFDFDF;
        padding-bottom: 20px;
    }

    .tarjetas-resumen .tarjetas-resumen--total,
    .tarjetas-resumen .tarjetas-resumen--action {
        display: none;
    }

    .tarjetas-resumen--fixed {
        border-top: 2px solid #C9C9C9;
        border-radius: 0;
        padding: 15px;
    }

    .tarjetas-resumen--fixed .tarjetas-resumen--item,
    .tarjetas-resumen--fixed .tarjetas-resumen--qt {
        display: none;
    }

    .tarjetas-resumen--fixed .tarjetas-resumen--total {
        border: none;
        margin-top: 0;
        padding-top: 0;
        margin-bottom: 15px;
    }

    .tarjetas-resumen--fixed .tarjetas-resumen--total span {
        font-family: Kreon-Bold;
        font-size: 22px;
        color: #77BD1E;
        text-align: right;
    }

    /* boton Continuar */
    .sticky-element {
        position: sticky;
        width: 100%;
        max-width: 100%;
        bottom: 0;
        left: 0;
        border-top: 2px solid #C9C9C9;
        background-color: #f2f2f2;
        border-radius: 0;
    }

    .wrapper-thumbs--little {
        max-width: 240px;
        margin: 0 auto;
    }

    .wrapper-thumbs--little .wrapper-tarjeta-thumb {
        padding-bottom: 15px;
    }

    .wrapper-tarjeta-thumb {
        padding-bottom: 60px;
    }

    .wrapper-thumb--border .wrapper-tarjeta-thumb:before {
        content: '';
        position: absolute;
        width: calc(100% - 30px);
        height: 1px;
        background-color: #DFDFDF;
        bottom: 30px;
        left: 15px;
    }

    .wrapper-modal--center.modal--big {
        padding: 15px;
    }

    .button-title--little {
        display: flex;
    }
}


@media (max-width: 991px) {
    .border-right--before:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        background: #DFDFDF;
        top: initial;
        bottom: -8%;
        right: 0;
    }

    .wrapper-modal--center {
        padding: 20px;
    }

    /* slider */
    .sldier-tarjetas-wrapper {
        padding-right: 0;
    }

    .sldier-tarjetas-wrapper::after {
        content: none;
    }

    /*.sldier-tarjetas-wrapper::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #DFDFDF;
        bottom: 0;
        left: 0;
    }*/

    .slick-slider {
        left: 0;
    }

    .tarjeta-thumb {
        margin: 20px 20px 10px 0;
    }

    .tarjeta-thumb--bottom {
        left: 0;
    }
}


/* fin */

@media (max-width: 600px) {
    .user-account__first-heading h2 {
        text-align: center;
    }
}

@media (max-width: 67.19rem) {
    .page-micauenta__bienvenida {
        padding: 3.125rem 0;
    }

    .page-micauenta__bienvenida-overlayer,
    .page-micuenta__bienvenida-links {
        padding: 0 15px;
    }
}

@media screen and (max-width: 1262px) and (min-width: 992px) {
    .thumb-list-item {
        max-width: 50%;
    }
}

@media screen and (max-width: 992px) {
    .thumb-list-item {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    .type-select .mr-4 {
        margin-right: 0;
    }
}

@media screen and (max-width: 767.98px) {

    .top-bar-menu__item-btn {
        display: block;
    }

    .top-bar-menu-left {
        display: none;
    }

    .top-bar-menu-right {
        position: absolute;
        top: 7px;
        right: 0;
        padding: 0;
    }

    .top-bar-menu-left {
        position: absolute;
        top: 40px;
        background-image: linear-gradient(270deg, #7ac01f, #1c752c);
        width: 100%;
        padding: 22px;
        z-index: 999;
        display: none;
    }

    .top-bar-menu-left > div {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .top-bar-menu__item-clock {
        display: none;
    }

    .top-bar-menu-left .top-bar-menu__item {
        padding: 5px 0;
    }

    .thumb-list-item-details {
        flex-direction: column;
    }

    .page-recetas__info-item-prices {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .price-kg,
    .unidad {
        font-size: 16px;
    }

    .price-kg {
        margin-left: 5px;
    }

    .unidad-box .button {
        margin-left: 5px;
    }

    .page-recetas__header-date {
        text-align: left !important;
        padding-top: 0;
    }

    .img_rounded {
        margin-bottom: 30px;
        margin-right: 0;
    }
}

@media screen and (max-width: 428px) {
    .thumb-list-item {
        max-width: 100%;
    }
}

@media screen and (max-width: 395.98px) {
    .top-bar-menu__item .menu__text {
        display: inline-block !important;
    }
}
