.banner-section {
    min-height: 430px;

    background-image: url("../images/folleteria_mobile.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.box-heading-content {
    margin-bottom: 15px;
}

.box-heading-content h1 {
    color: #363A3E;
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.1;
    margin-bottom: 15px;
}

.box-heading-content p {
    color: #363A3E;
}

.box-share li ul {
    width: 180px;
}
.box-share li ul li.whatsapp a {
    color: #0dc242;
}
.box-share li ul li.whatsapp:hover a {
    color: #fff;
    background: #0dc242;
}

.box-share li ul {
    display: block;
    visibility: visible;
    opacity: 1;
}

.filters-section {
    padding: 30px 0;
}

.filters-container {
    display: flex;
    flex-direction: column;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.title-container h2{
    font-size: 1.3rem;
    font-weight: 600;
}

.title-container h6{
    font-size: 1rem;
    font-weight: 500;
}

.search-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.search-container .right-inner-addon {
    width: 100%;
    position: relative;
}
.search-container .right-inner-addon input {
    height: 39px;
    padding-left: 35px;
    border-radius: 16px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}
.search-container .right-inner-addon i {
    position: absolute;
    left: 0px;
    padding: 10px;
    pointer-events: none;
}

button.disable {
    background: #f2f5f7;
    border: none;
    cursor: not-allowed;
    padding: 11px 25px;
    line-height: 1.1;
    color: #8f9ba0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
    border-radius: 6px;
}

.tabs-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #ffff;
    border-radius: 16px;
}

.tabs-container .tab-btn {
    width: 46%;
    margin: 2%;
    height: 72px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #EDEDED;
}

.tabs-container .tab-btn.active {
    background-color: #CE1336;
}

.tabs-container .tab-btn img {
    width: 25px;
    height: auto;
    margin-bottom: 8px;
}

.tabs-container .tab-btn h6 {
    color: #8C9195;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.tabs-container .tab-btn.active h6 {
    color: #ffff;
    font-weight: 400;
}


.blue {
    background-color: #386ab8;
}

.green {
    background-color: #43a46b;
}

.purple {
    background-color: #73607d;
}

.cards-section {
    padding-top: 10px;
    padding-bottom: 30px;
    background-color: #50545e;
    background: linear-gradient(0deg, #ebedf0, #fff 90%) no-repeat;
}

.cards-section .cards-container {
    display: flex;
    flex-direction: column;
}

.card-new {
    width: 100%;
    height: 312px;
    position: relative;
    background-color: #fff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-radius: 16px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
}

/* .card-new:hover {
    border: 1px solid #CE1336;
} */

.card-new .card-banner {
    width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 5px;
}

.card-new .card-banner img {
    width: 100%;
    height: 100%;
    max-height: 144px;
    border-radius: 16px 16px 0px 0px;
}

.card-new .card-banner span {
    position: absolute;
    right: 12px;
    display: inline-block;
    padding: 5px 15px;
    color: #fff;
    border-radius: 0px 0px 16px 16px;
}
.card-new .card-body{
    padding: 12px 20px;
}
.card-new .card-body p{
    font-size: 1rem;
    color: #8C9195;
    margin: 0px;
}
.card-new .card-body h3 {
    font-size: 1.6rem;
    color: #8C9195;
    font-weight: 500;
    line-height: inherit;
}
.card-new p {
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: left;
}

.card-new .card-footer {
    position: absolute;
    display: flex;
    bottom: 2px;
    width: 100%;
    justify-content: space-between;
    padding: 8px 20px;
}

.card-new .card-footer button.btn-primary{
    width: 30%;
}
button.btn-primary {
    background-color: #bd0f41;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    color: #fff;
    text-align: center;
    font-size: .8rem;
    font-weight: 500;
    display: inline-block;
    border-radius: 30px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

button.btn-primary:active {
    background-color: #790a29c7;
}

button.btn-secondary {
    background-color: #fff;
    border: 1px solid #bd0f41;
    cursor: pointer;
    padding: 10px 20px;
    color: #bd0f41;
    text-align: center;
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-new .card-footer button.btn-card-primary {
    width: 48%;
}
.card-new .card-footer button.btn-card-secondary {
    width: 48%;
}
.card-new .card-footer button.btn-card-secondary img {
    width: 17px;
    margin-right: 8px;
}

.custom-modal-bg {
    position: fixed;
    z-index: 10000;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    flex-direction: column;
    transition: visibility 0s, opacity 0.5s;
}
.custom-bg-active {
    visibility: visible;
    opacity: 1;

}
.custom-modal-bg .custom-msg-modal.show {
    display: flex;
}
.custom-modal-bg .custom-msg-modal {
    display: none;
    align-items: center;
    width: 90%;
    height: 48px;
    background-color: transparent;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 20px;
    position: relative;
}
.custom-modal-bg .custom-msg-modal.fail {
    background-color: #FFEFED;
    color: #CE1336;
}
.custom-modal-bg .custom-msg-modal.success {
    background-color: #E6F2ED;
    color: #1B7935;
}
.custom-modal-bg .custom-msg-modal .custom-msg-close{
    position: absolute;
    right: 20px;
    cursor: pointer;
}
.custom-modal-bg .custom-msg-body {
    display: flex;
    align-items: center;
}
.custom-modal-bg .custom-msg-body p{
    font-size: 0.7rem;
    line-height: normal;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 12px;
}
.custom-modal-bg .custom-msg-body .custom-msg-logo{
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px; 
}
.custom-modal-bg .custom-msg-modal.success .custom-msg-body .custom-msg-logo{
    background-image: url("../images/success.png");
}
.custom-modal-bg .custom-msg-modal.fail .custom-msg-body .custom-msg-logo{
    background-image: url("../images/fail.png");
}
.custom-modal-bg .custom-modal {
    position: relative;
    width: 90%;
    display: flex;
    padding: 52px 32px;
    background-color: #fff;
    border-radius: 16PX;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.custom-modal-bg .custom-modal h2 {
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 1.8rem;
    font-weight: bold;
}

.custom-modal-bg .custom-modal p {
    font-size: 1.1rem;
    text-align: center;
}

.custom-modal-bg .custom-modal button {
    width: 72%;
    font-size: 1.2rem;
}

.custom-modal-bg .custom-modal .modal-email-input {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.custom-modal-bg .custom-modal .modal-email-input label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

.custom-modal-bg .custom-modal .modal-email-input input {
    padding-left: 24px;
    border: 1px solid #D8D8D8;
    border-radius: 16px;
    box-shadow: 0px 4px 15px #EDEDED;
}

.custom-modal-bg .custom-modal .modal-email-input input::placeholder {
    color: #5F6368;
}

.custom-modal-bg .custom-modal .modal-email-input img {
    width: 20px;
    position: absolute;
    bottom: 7px;
    left: 9px;
}

.custom-modal-bg .custom-modal .custom-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-weight: bold;
    cursor: pointer;
}

@media (min-width: 768px) {
    .banner-section {
        min-height: 400px;
        background-image: url("../images/folleteria_desktop.png");
    }

    .box-heading-content {
        width: 45%;
    }

    .box-heading-content {
        margin-bottom: 25px;
    }

    .box-heading-content h1 {
        font-size: 2.8rem;
    }

    .box-heading-content p {
        font-size: 1.1rem;
    }

    .filters-container {
        flex-direction: row;
        justify-content: center;
    }

    .search-container {
        display: none;
    }

    /* .search-container .right-inner-addon {
        width: 400px;
    }

    .search-container button.disable,
    .search-container button.btn-primary {
        width: 150px;
        height: 40px;
        margin-left: 10px;
    } */
    .title-container h2{
        font-size: 1.5rem;
    }
    .tabs-container {
        width: 76%;
        background-color: #EDEDED;
    }
    .tabs-container .tab-btn {
        background-color: transparent;
        width: 25%;
        height: 64px;
        margin: 0;
    }
    .tabs-container .tab-btn img {
        margin-bottom: 10px;
    }
    .tabs-container .tab-btn h6 {
        font-size: 0.9rem;
    }

    .cards-section .cards-container {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .card-new {
        width: 360px;
        height: 328px;
        margin: 10px;
    }

    .card-new .card-banner {
        height: 180px;
    }

    .card-new .card-banner img {
        object-fit: cover;
        max-height: initial;
    }

    .card-new .card-banner span {
        font-size: 1rem;
    }

    .card-new .card-body h3 {
        font-size: 1.4rem;
	    margin-bottom:1px;
    }

    .card-new .card-body p {
        font-size: 0.84rem;
    }

    .custom-modal-bg .custom-modal {
        width: 40%;
        padding: 52px 72px;
    }

    .custom-modal-bg .custom-modal h2 {
        font-size: 2rem;
    }

    .custom-modal-bg .custom-modal p {
        font-size: 0.95rem;
    }

    .custom-modal-bg .custom-modal button {
        width: 50%;
    }
    .custom-modal-bg .custom-msg-modal {
        width: 36%;
    }
}

@media only screen and (max-width: 1170px) {
    .cards-section .container-cards {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (min-width: 1171px) {
    .cards-section .container-cards {
        width: 1148px;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (min-width: 1520px) {
    .cards-section .container-cards {
        width: 1520px;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }
}