body.noscroll {
    overflow-y: hidden;
}

#nfd-global-ctb-container {
    position: absolute;
}

#nfd-global-ctb-container,
.global-ctb-modal-overlay {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}

#nfd-global-ctb-container {
    align-items: center;
    display: flex;
    justify-content: center;
    z-index: 100001;
}

#nfd-global-ctb-container[aria-hidden='true'] {
    display: none;
}

.global-ctb-modal-overlay {
    background-color: rgba(43, 46, 56, 0.9);
}

.global-ctb-modal-content {
    align-items: center;
    background-color: white;
    background: transparent;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-height: 90dvh;
    min-width: 960px;
    max-width: 90vw;
    padding: 0;
    position: relative;
    z-index: 2;
}

.global-ctb-modal iframe {
    background-color: white;
    min-height: 560px;
    height: 100%;
    max-height: 90dvh;
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
    z-index: 1;
}


.global-ctb-modal button {
    cursor: pointer;
}

.global-ctb-loader {
    width: 8px;
    height: 40px;
    border-radius: 4px;
    display: block;
    margin: 20px auto;
    position: relative;
    background: currentColor;
    color: #FFF;
    box-sizing: border-box;
    animation: globalctbloader 0.3s 0.3s linear infinite alternate;
}

.global-ctb-loader::after,
.global-ctb-loader::before {
    content: '';
    width: 8px;
    height: 40px;
    border-radius: 4px;
    background: currentColor;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    box-sizing: border-box;
    animation: globalctbloader 0.3s  0.45s  linear infinite alternate;
}

.global-ctb-loader:before {
    left: -20px;
    animation-delay: 0s;
}

@keyframes globalctbloader {
    0%   { height: 48px} 
    100% { height: 4px}
}

.global-ctb-modal-close {
    align-items: center;
    background: rgb(34, 34, 34);
    border: 1px solid #eee;
    border-radius: 50%;
    color: #eee;
    cursor: pointer;
    display: flex;
    height: 2rem;
    justify-content: center;
    position: absolute;
    right: -1rem;
    text-align: center;
    top: -1rem;
    width: 2rem;
    z-index: 2;
}

@media screen and (max-width: 999px) {
    .global-ctb-modal-content {
        max-height: 100dvh;
        max-width: 100vw;
        min-height: 100dvh;
        min-width: 100vw;
    }
    .global-ctb-modal iframe {
        min-height: 100dvh;
        border-radius: 0;
    }
    .global-ctb-modal-close {
        right: 1rem;
        top: .25rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
        background-color: rgba(34, 34, 34, .75);
    }
}