* {
    margin: 0px;
    padding: 0px;
}

/* framework */
html {
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased;
}

.width-70 {
    width: 70% !important;
}

/* header */
.header {
    padding: 0rem 15rem;
    height: 7.8rem;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
}

.header section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 7.8rem;
}

.button_hamburger {
    display: none;
}

.logo_buscamed {
    font-family: "Rubik", sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.2px;
    color: #2dd4ac;
}

.button_cont {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 1rem;
    justify-content: flex-end;
}

.button_cont button {
    width: 13.2rem;
    height: 3.6rem;
    border-radius: 0.24rem;
    font-family: Rubik;
    font-size: 12px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #c9c9c9;
}

.button_cont button:last-child {
    margin-left: 1rem;
}

.button_cont button:hover {
    background-color: #0f70b8;
    color: #ffffff;
    cursor: pointer;
}

/* Con-section */
.cont_section {
    padding: 8.6rem 9.7rem;
}

.section {
    padding: 6.6rem 4.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.06);
    border: solid 1px #d1d1d1;
    background-color: #ffffff;
}

/* Input group */
.inputs_general {
    display: flex;
    border-radius: 4px;
    border: solid 2px #e6e6e6;
    background-color: #ffffff;
    /* margin-bottom: 1.3rem; */
    width: 100%;
}

.inputs_general div {
}

.inputs_general:last-child {
    margin-bottom: 0;
}

.inputs_2 {
    width: 100%;
    padding: 1.8rem;
    border-width: 0;
    font-family: Rubik;
    font-size: 1.4rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #474c4f;
}

#subscribed_card_number {
    display: flex;
    justify-content: space-between;
}

#card_logo {
    height: 25px;
}

.inputs_general span,
.checkbox {
    width: 6.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Rubik", sans-serif;
    font-size: 1.6rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #474c4f;
    background-color: #efefef;
    margin-top: 0;
    margin-bottom: 0;
}

.input-group,
#payments .ss-single-selected {
    width: 100%;
    padding: 1.8rem;
    display: grid;
    grid-template-columns: auto auto auto;
    border-width: 0;
    font-family: Rubik;
    font-size: 1.4rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #474c4f;
}

#payments .ss-single-selected {
    height: 100%;
    padding: 0 1.8rem;
    display: flex;
    grid-template-columns: unset;
}

.cont-card {
    display: grid;
    grid-template-columns: 30% 67%;
    column-gap: 3%;
}

.total {
    padding: 2rem 0 2.3rem 0;
    font-family: "Rubik", sans-serif;
    text-align: end;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #474c4f;
    width: 100%;
}

.total span {
    font-weight: bold;
    letter-spacing: -0.1px;
    color: #0f70b8;
}

/* sec_1 */
.sec_1 {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.sec_1::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #dfdfdf;
}

.sec_1::before {
    content: "";
    width: 100%;
    height: 2px;
    background: #dfdfdf;
}

.sec_1 button {
    margin: 3.3rem 0 5.7rem 0;
}

.cont_button_payment {
    display: flex;
    justify-content: flex-end;
}

.button_payment {
    width: 29.7rem;
    height: 6rem;
    border-radius: 4px;
    background-color: #0f70b8;
    font-family: Rubik;
    font-size: 1.6rem;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #ffffff;
}

.button_payment.btn-primary:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 105, 217);
    border-color: rgb(0, 98, 204);
}

.add-button-modal.btn-primary:hover {
    color: rgb(255, 255, 255);
    background-color: #0069d9;
    border-color: #0062cc;
}

.button_paymant_2 {
    width: 268px;
    height: 60px;
    border-radius: 4px;
    background-color: #2dd4ac;
    font-family: Rubik;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #ffffff;
    border: unset;
}

/* sec_2 */
.sec_2 h1 {
    padding: 5.7rem 0 2.6rem 0;
    font-family: Rubik;
    font-size: 2.2rem;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.2px;
    color: #0f70b8;
}

.pay_method {
    display: flex;
    justify-content: space-between;
}

.delete_pay_method {
    width: 25%;
    /* margin-bottom: 1.3rem; */
}

.footpage {
    margin-bottom: 1.3rem;
    font-weight: bold;
}

.btn_delete_method {
    height: 100%;
    width: 100%;

    font-family: Rubik;
    font-size: 1.6rem;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.1px;
    color: #ffffff;

    border-radius: 4px;
}

.max-width-144 {
    max-width: 144rem;
    margin: auto;
}

/*=========== modal ========= */
/* form {
    display: unset;
} */

.black-modal {
    display: none;
}
.modal-header-modification {
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#payments .close-modification {
    margin: -1rem -1rem -1rem auto;
    padding: 1rem 1rem;
}

.modal-content-modificaition {
    border-radius: 4px;
}

.modal-title-modification,
.add-button-modal,
.close--modal {
    font-size: 1.6rem;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.2px;
    white-space: inherit;

    margin-top: auto;
    margin-bottom: auto;
}

.add-button-modal {
    padding: 2rem;
    color: white;
}

.modal-input,
.add-button-modal,
.cont-cedula input {
    border-radius: 4px;
}

#number,
#date {
    padding-left: 9px;
}

#number {
    background-size: 55px;
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: center;
}

.modal-input,
.cont-cedula input {
    border: solid 2px #e6e6e6;
}

.modal-title-modification {
    margin-left: 2rem;
    color: #0f70b8;
}

.modal-dialog-modification {
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
    margin: auto;
}

.close span {
    font-size: 4rem;
    margin: 0;
    font-family: -webkit-pictograph;
}

.modal-body-modification {
    display: flex;
    flex-direction: column;
    /* padding: 3rem 6rem; */

    border-width: 0;
    font-family: Rubik;
    font-size: 1.4rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    height: 780px;
}

.modal-body-modification input {
    padding: 1rem 1.8rem;
    margin-bottom: 1.3rem;
}

.modal-input,
.cont-cedula,
.add-button-modal {
    margin-top: 1.5rem;
}

.modal-input:first-child {
    margin-top: 0;
}

.cont-cedula {
    display: grid;
    grid-template-columns: 60% 37%;
    column-gap: 3%;
}

#payments .width-70.preferrend {
    border-color: #2dd4ac;
}

#payments .checkbox.preferrend {
    background-color: #2dd4ac;
}

/* #submit {
    position: absolute;
    top: 56%;
} */

.termsConditions {
    margin-top: 1rem;
}

#subscriptionSuccess {
    height: auto;
    font-family: Rubik;
    font-weight: bold;
    font-size: 20px;
    color: #2dd4ac;
    letter-spacing: 1px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ss-main .ss-single-selected {
    border: unset;
    height: 100%;
    padding: 0 22px;
}

.dots-container {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.dots {
    width: 14.5em;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}

.dots div {
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background-color: #2dd4ac;
    animation: fade 0.8s ease-in-out alternate infinite;
}

.dots div:nth-of-type(1) {
    animation-delay: -0.4s;
}

.dots div:nth-of-type(2) {
    animation-delay: -0.2s;
}

@keyframes fade {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#loader {
    font-family: Rubik;
    text-align: center;
    font-size: 25px;
    /* margin-bottom: 5rem; */
}

/* #form_pay_app span {
    font-weight: bold;
} */

#form_pay_app .invoice_field {
    margin-bottom: 1.5rem;
    font-family: Rubik;
    font-size: 15px;
}

#form_pay_app .add-button-modal,
.close--modal {
    margin-top: 0;
    padding: 0.5rem 2rem;
}

/* MODAL PAYMENT */
#makePay .modal-dialog,
#exampleModal .modal-dialog {
    width: 400px;
}

#makePay .modal-content {
    border-radius: unset;
}

#makePay .modal-header {
    border-bottom: unset;
    text-align: center;
}

#greenArea {
    background-color: #2dd4ac;

    font-family: Rubik;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    color: #ffffff;
    text-align: center;
}

#greenArea .title {
    font-size: 22px;
    letter-spacing: -0.35px;

    padding: 20px 0px 25px;
}

#greenArea .amount {
    font-size: 60px;
    letter-spacing: -0.95px;
}

.amount sup {
    font-size: 20px;
    letter-spacing: -0.32px;
    top: -1.2em;
}

#greenArea .doctor {
    font-size: 22px;
    letter-spacing: -0.35px;

    margin-top: -10px;
    padding-bottom: 70px;
}

#centerArea {
    width: 322px;
    height: 197px;
    border-radius: 4px;
    box-shadow: 0 1px 7px 3px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;

    font-family: Rubik;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.25px;

    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    margin: auto;
}

#centerArea span {
    font-size: 14px;
    letter-spacing: -0.22px;
    color: #a6a6a6;
}

#centerArea .values {
    font-size: 16px;
    letter-spacing: -0.25px;
    color: #6a6a6a;
}

#centerArea .date {
    border-bottom: solid 1px #ededed;
}

#centerArea .date,
#centerArea .card {
    padding: 25px 20px;
}

#bottomArea {
    /* margin-top: 45%; */
    display: grid;
    padding: 0 25%;
    row-gap: 20%;
    justify-content: center;
    position: absolute;
    top: 60%;
    left: 0;
    right: 0;
    margin: auto;
}

#bottomArea .btn,
#greenContainer .btn,
#form_add_card .btn {
    font-family: Rubik;
    font-size: 19px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.3px;

    width: 322px;
    height: 67px;
}

#bottomArea .add-button-modal,
#greenContainer .close--modal {
    border-radius: 3px;
    background-color: #0f70b8;

    color: #ffffff;
}

#greenContainer .close--modal,
#form_add_card .close--modal {
    display: flex;
    justify-content: center;
    align-items: center;

    width: auto;
    height: 100%;
}

#bottomArea .close--modal,
#form_add_card .close--modal {
    border-radius: 3px;
    border: solid 1px #dadada;
    background-color: #ffffff;

    color: #949494;

    display: flex;
    justify-content: center;
    align-items: center;
}

#greenContainer {
    background-color: #2dd4ac;
    height: 600px;
    padding: 25% 40px;

    display: grid;
}

#paymentSuccess {
    font-family: Rubik;
    font-size: 31px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.06;
    letter-spacing: -1.6px;
    color: #ffffff;

    display: grid;
    grid-template-columns: 20% 70%;
    column-gap: 5%;

    margin-bottom: 30px;
}

#paymentSuccess .checked {
    width: 57px;
    height: 57px;

    background-image: url("/assets/new_images/checked.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

#amount {
    width: 265px;
    height: 62px;
    border-radius: 3px;
    border: solid 2px rgba(255, 255, 255, 0.37);

    font-family: Rubik;
    font-size: 25px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.4px;
    color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: auto;
}

#greenContainer .notes {
    font-family: Rubik;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.25px;
    color: #ffffff;
    text-align: center;

    margin-top: 15px;
}

#form_add_card label {
    font-family: Rubik;
    font-size: 15px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.77px;
    color: #6a6a6a;
}

#form_add_card .inputElements {
    margin-bottom: 5%;
}

#form_add_card .inputElements .modal-input {
    width: 100%;
    height: 53px;
    border-radius: 4px;
    border: solid 2px #dedede;
    background-color: rgba(255, 255, 255, 0.1);

    margin-top: 0;
    padding-left: 20px;
    padding-right: 20px;

    font-family: Rubik;
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.93px;
    color: #9c9c9c;
}

#form_add_card .inputElements .ss-main.modal-input {
    padding-left: 0;
    padding-right: 0;
}

#form_add_card #date {
    text-align: center;
}

#containerForm {
    padding: 25px 25px;
}

#containerForm .title {
    font-family: Rubik;
    font-size: 25px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.32;
    letter-spacing: -1.29px;
    color: #0f70b8;

    margin-bottom: 40px;
}

/* #form_add_card .ss-open {
    width: 318px;
    margin: -1px 0 0 -2px;
    border: solid 2px #dedede;
    border-top: solid 1px #dedede;
} */

#form_add_card .add-button-modal {
    width: 100%;
    height: 67px;
    border-radius: 3px;
    background-color: #0f70b8;

    font-family: Rubik;
    font-size: 19px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.3px;
    color: #ffffff;

    margin-bottom: 25px;
}

#form_add_card .close--modal {
    width: 100%;
    height: 67px;
}

#terms {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: solid 1px #979797;
    margin-right: 5px;
}

#containerForm .termsConditions {
    font-family: Rubik;
    font-size: 15px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.77px;
    color: #6a6a6a;

    display: flex;
    align-items: baseline;
}

#containerForm .termsConditions a {
    color: #0f70b8;
}

#payments .modal-body-modification {
    padding: 0;
}
