/* MODAL */
.mhp8-body-blackout {
    font-weight: 400;
    position: fixed;
    z-index: 1010;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 161, 59, 0.45);
    display: none;
    opacity: 0;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mhp8-body-blackout.is-blacked-out {
    display: block;
    opacity: 1;
}
.mhp8-body-blackout.is-blacked-out-and-hidden {
    display: none;
    opacity: 0;
}

.mhp8-popup-trigger {
    display: inline-block;
}
.mhp8-popup-trigger.hide-trigger {
    position: absolute;
    display: block;
    top: -9999px;
    left: -9999px;
}

.mhp8-popup-modal {
    font-family: inherit;
    font-weight: 400;
    height: auto;
    max-height: 640px;
    width: 80%;
    max-width: 640px;
    background-color: #fff;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 36px;
    opacity: 0;
    pointer-events: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1011;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.06), 0 15px 12px rgba(0, 0, 0, 0.04);
    overflow-y: auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mhp8-popup-modal.mhp8-popup-modal-bigger {
    width: 100%;
    max-width: 780px;
    max-height: 100%;
    overflow-y: auto;
}

.mhp8-popup-modal.is--visible {
    opacity: 1;
    pointer-events: auto;
}
.mhp8-popup-modal.is--hidden {
    z-index: -20;
    opacity: 0;
    pointer-events: auto;
}

.mhp8-popup-modal.mhp8-popup-modal-bigger.is--visible {
    top: 0;
    transform: translate(-50%, 0%);
}

.mhp8-popup-modal__close {
    background-color: #0ba13b;
    color: white;
    position: absolute;
    font-size: 1.2rem;
    line-height: 64px;
    text-align: center;
    right: 0;
    top: 0;
    width: 64px;
    height: 64px;
    cursor: pointer;
}
.mhp8-popup-modal__close:hover {
    color: #fff;
}

.mhp8-popup-modal .header {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.mhp8-popup-modal .header .h4 {
    font-size: 20px;
    line-height: 26px;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mhp8-popup-modal .body {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    padding-top: 50px;
}

@media only screen and (max-width: 768px) {
    .mhp8-popup-modal {
        width: 90%;
        padding: 1.5rem;
        max-height: 80vh;
    }

    .mhp8-popup-modal .body {
        padding-top: 54px;
        font-size: 14px;
        line-height: 18px;
    }
}

@media only screen and (max-width: 520px) {
    .mhp8-popup-modal {
        max-height: 92%;
    }
}

/* TOOLTIP */
.mhp8-tooltip {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(11, 161, 59, 0.05);
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: inline-block;
    text-align: center;
    line-height: 24px;
    /* transform: translate3d(-50%, -50%, 0); */
    -webkit-user-select: none;
    font-size: 10px;
    font-weight: 700;
}
.mhp8-tooltip::before {
    content: attr(data-tool);
    position: absolute;
    min-width: 260px;
    max-width: 260px;
    right: -6px;
    bottom: 100%;
    padding: 12px 16px;
    background: #707070;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    border-radius: 4px !important;
    transition: all 0.2s ease;
    transform: translate3d(0, 5px, 0) scale(0.5);
    font-size: 11px !important;
    font-weight: 400 !important;
    text-align: left !important;
    line-height: 16px !important;
}
.mhp8-tooltip.active::before {
    opacity: 1;
    transform: translate3d(0, -10px, 0) scale(1);
}

/* CHECKBOX */
.mhp8-switch-holder {
    position: relative;
    display: block;
    padding: 32px 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

.mhp8-switch-holder .mhp8-switch {
    position: relative;
    display: block;
    width: 50%;
    height: auto;
    float: left;
    padding: 12px 16px;
    --line: rgba(11, 161, 59, 0.25);
    --dot: #0ba13b;
    --circle: rgba(11, 161, 59, 0.45);
    --duration: 0.3s;
    --text: #3c454c;
    cursor: pointer;
    text-align: left;
}
.mhp8-switch-holder .mhp8-switch input {
    display: none;
}
.mhp8-switch-holder .mhp8-switch input + div {
    position: relative;
}
.mhp8-switch-holder .mhp8-switch input + div:before,
.mhp8-switch input + div:after {
    --s: 1;
    content: "";
    position: absolute;
    height: 4px;
    top: 10px;
    width: 24px;
    background: var(--line);
    transform: scaleX(var(--s));
    transition: transform var(--duration) ease;
}
.mhp8-switch-holder .mhp8-switch input + div:before {
    --s: 0;
    left: 0;
    transform-origin: 0 50%;
    border-radius: 2px 0 0 2px;
}
.mhp8-switch-holder .mhp8-switch input + div:after {
    left: 28px;
    transform-origin: 100% 50%;
    border-radius: 0 2px 2px 0;
}
.mhp8-switch-holder .mhp8-switch input + div span {
    padding-left: 16px;
    line-height: 24px;
    color: var(--text);
}
.mhp8-switch-holder .mhp8-switch input + div span:before {
    --x: 0;
    --b: var(--circle);
    --s: 4px;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 var(--s) var(--b);
    transform: translateX(var(--x));
    transition: box-shadow var(--duration) ease, transform var(--duration) ease;
}
.mhp8-switch-holder .mhp8-switch input + div span:not(:empty) {
    padding-left: 54px;
}
.mhp8-switch-holder .mhp8-switch input:checked + div:before {
    --s: 1;
}
.mhp8-switch-holder .mhp8-switch input:checked + div:after {
    --s: 0;
}
.mhp8-switch-holder .mhp8-switch input:checked + div span:before {
    --x: 28px;
    --s: 12px;
    --b: var(--dot);
}

@media only screen and (max-width: 768px) {
    .mhp8-switch-holder {
        padding: 16px 0 32px;
    }

    .mhp8-switch-holder .mhp8-switch {
        width: 100%;
        font-size: 14px;
    }

    .mhp8-popup-modal .header .h4 {
        font-size: 18px;
        line-height: 24px;
    }

    .mhp8-tooltip::before {
        min-width: 224px;
        max-width: 224px;
    }
}

.mhp8-popup-modal .footer {
    background-color: transparent !important;
    padding: 0 !important;
}

/* BUTTON */
.mhp8-popup-modal .footer .mhp8-button {
    background-color: #0ba13b;
    position: relative;
    display: block;
    width: 100%;
    height: 48px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 100;
    text-align: center;
    line-height: 48px;
    margin-top: 1.5rem;
    outline: 0px none;
    outline: 0px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
    font-weight: 500;
}

.mhp8-popup-modal .footer .mhp8-button:hover {
    opacity: 0.85;
    color: #fff;
}

.mhp8-popup-modal .footer .mhp8-button.save {
    background-color: rgba(11, 161, 59, 0.05);
    color: #3c454c !important;
    margin-top: 0.75rem;
    cursor: pointer;
}

.mhp8-popup-modal .footer .mhp8-button.without-styles {
    background-color: transparent;
    color: #0ba13b;
    margin-top: 0.325rem;
    font-weight: 700;
}

/* LIST */
.mhp8-popup-modal .footer ul.mhp8 {
    list-style-type: none;
    position: relative;
    margin: 0;
    padding: 0;
    margin-top: 0.75rem;
    text-align: center;
}
.mhp8-popup-modal .footer ul.mhp8 li:before {
    display: none;
}
.mhp8-popup-modal .footer ul.mhp8 li {
    position: relative;
    display: inline-block;
    padding: 0 4px;
    margin: 0 4px;
    text-align: center;
}

.mhp8-popup-modal .footer ul.mhp8 li:after {
    background-color: rgba(11, 161, 59, 0.25);
    content: "";
    position: absolute;
    display: block;
    width: 1px;
    height: 12px;
    font-size: 14px;
    top: 11px;
    right: -8px;
}

.mhp8-popup-modal .footer ul.mhp8 li:last-child:after {
    display: none;
}

.mhp8-popup-modal .footer ul.mhp8 li a {
    color: rgba(11, 161, 59, 0.45);
    font-size: 14px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}

.mhp8-popup-modal .footer ul.mhp8 li a:hover {
    color: #0ba13b;
}

.mhp8-popup-modal .footer .powered-by {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
    padding-top: 32px;
    margin-bottom: -24px;
}

.mhp8-popup-modal .footer .powered-by span.text {
    position: relative;
    display: inline-block;
    overflow: hidden;
    float: none;
    color: rgba(11, 161, 59, 0.45);
    font-size: 10px;
    line-height: 26px;
    padding-right: 4px;
}

.mhp8-popup-modal .footer .powered-by span.logo {
    background-color: #0ba13b;
    position: relative;
    display: inline-block;
    overflow: hidden;
    float: none;
    margin: 0 auto;
    width: 26px;
    height: 26px;
    padding: 4px;
    border-radius: 50%;
}

.mhp8-popup-modal .footer .powered-by span.logo img {
    position: relative;
    display: inline-block;
    width: auto;
    height: 18px;
    vertical-align: top;
}

@media only screen and (max-width: 768px) {
    .mhp8-popup-modal .footer .mhp8-button {
        font-size: 13px;
    }

    .mhp8-popup-modal .footer ul.mhp8 li {
        display: block;
        text-align: center;
    }

    .mhp8-popup-modal .footer ul.mhp8 li:after {
        display: none;
    }
}

.mhp8-popup-modal a:focus-visible {
    outline: 2px solid blue !important;
}
.mhp8-popup-modal .mhp8-switch[tabindex]:focus-visible input + div {
    outline: 2px solid blue !important;
}
.mhp8-popup-modal .mhp8-switch[tabindex]:focus-visible {
    outline: none;
}
