.sava-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}
.sava-col {
    width: 100%;
}
.sava-membership-form label:not(.inline), .sava-membership-form input[type=text],
.sava-membership-form input[type=email], .sava-membership-form input[type=number],
.sava-membership-form textarea, .sava-membership-form select {
    display: block;
    width: 100%;
    max-width: 100%;
}

.mt-2 {
    margin-top: 1em!important;
}
.mt-3 {
    margin-top: 1.4em!important;
}
.mt-5 {
    margin-top: 1.8rem!important;
}
.mr-5 {
    margin-right: 1.8rem!important;
}
.mb-2 {
    margin-bottom: 1em!important;
}
.mb-3 {
    margin-bottom: 1.4em!important;
}
.mb-5 {
    margin-bottom: 1.8rem!important;
}
.ml-5 {
    margin-left: 1.8rem!important;
}
.text-center {
    text-align: center!important;
}
.text-right {
    text-align: right!important;
}

.button-outlined {
    background-color: transparent;
    border: 1px solid;
    color: #0170b9!important;
    padding: 0.4rem;
}
.button-outlined:hover, .button-outlined:focus {
    background-color: transparent;
    border-color: #0170b9;
    color: #0170b9;
}
.button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.sava-message {
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    padding: 1rem 2rem;
    text-align: left;
}
.sava-message.info {
    background-color: #93dbff;
    color: #32455b;
    border-color: #4998c0;
}
.sava-message.success {
    background-color: #93ffa9;
    color: #387244;
    border-color: #39c955;
}
.sava-message.danger {
    background-color: #ffac93;
    color: #6e4032;
    border-color: #ce5f3e;
}
.sava-message.warning {
    background-color: #ffe993;
    color: #6e5d32;
    border-color: #cea53e;
}
#ui-datepicker-div .ui-datepicker-calendar th, #ui-datepicker-div .ui-datepicker-calendar td {
    width: 1%;
}
.select2-selection {
    color: #666!important;
    padding: 0.75em!important;
    height: auto!important;
    border-width: 1px!important;
    border-style: solid!important;
    border-color: #eaeaea!important;
    border-radius: 2px!important;
    background: #fafafa!important;
    box-shadow: none!important;
    box-sizing: border-box!important;
    transition: all .2s linear!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 13px!important;
    right: 10px!important;
}
.select2-dropdown {
    /*margin-top: 31px;*/
}
.sava-membership-totals table {
    margin-bottom: 0;
}
.sava-membership-totals table, .sava-donations-totals table, .sava-separate-totals table {
    border-collapse: collapse;
    width: 100%;
}
.sava-membership-totals table th, .sava-donations-totals table th, .sava-separate-totals table th {
    text-align: left;
}
.sava-membership-totals table td, .sava-donations-totals table td, .sava-separate-totals table td {
    border-bottom: 1px solid rgba(0,0,0,.1)!important;
}
.sava-separate-totals table {
    border-top: none;
}

.sava-membership-form h5 {
    background: #0b3b73;
    padding: 0.4em 0.7em;
    color: white;
    font-weight: bold;
    border-radius: 3px;
}

/* SAVA MODAL */
.sava-membership-modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 9999;
}
.sava-membership-modal {
    width: calc(100% - 1.8em);
    max-width: 768px;
    background: white;
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s ease-in-out;
}
.sava-membership-modal-header, .sava-membership-modal-body {
    padding: 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.sava-membership-modal-header span {
    font-size: 1.6em;
}
.sava-membership-modal-header .sava-membership-modal-close {
    background: transparent;
    border: none;
    color: #a4abaf;
    padding: 0;
    line-height: 30px;
    width: 30px;
    height: 30px;
    float: right;
    font-size: 1.8em;
    transition: color 0.2s ease;
}
.sava-membership-modal-header .sava-membership-modal-close:hover {
    color: #787c7e;
}
.sava-membership-modal-footer {
    padding: 1em;
    text-align: right;
}
.sava-membership-modal .button.button-grey {
    background-color: #9ba1a4;
    transition: background-color 0.2s ease;
}
.sava-membership-modal .button.button-grey:hover {
    background-color: #828688;
}

@keyframes modalFadeIn {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* END SAVA MODAL */

@media all and (min-width: 768px) {
    .sava-row {
        flex-direction: row;
    }
    .sava-col {
        width: 50%;
    }
}

/**
LOADER
 */
.lds-ellipsis-wrap {
    display: flex;
    justify-content: center;
}
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 30px;
    margin: 0 auto;
}
.lds-ellipsis div {
    position: absolute;
    top: 8px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}
@media all and (min-width: 768px) {
    .lds-ellipsis {
        margin: 0;
    }
    .lds-ellipsis-wrap {
        display: flex;
        justify-content: flex-start;
    }
}
/**
END LOADER
 */
