.ybk-popup-hint-element-loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9;
    top: 0;
    display: flex;
}

.ybk-popup-hint-element-loading_theme-default {
    background-color: rgba(255, 255, 255, 0.9);
}

.ybk-popup-hint-element-loading__content {
    color: white;
    margin-bottom: 20px;
}

.ybk-popup-hint-element-loading__content_theme-default {
    font-size: 16px;
}

.ybk-popup-hint-element-loading__content {
    display: flex;
    height: max-content;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    padding: .5em 2em;
}

.ybk-popup-hint-element-loading {
    display: flex;
    align-items: center;
    bottom: initial;
    height: max-content;
    width: max-content;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
}

.ybk-popup-hint-element-loading_theme-default {
    background-color: transparent;
}

.ybk-popup-hint-element-loading_theme-default[data-ybk-hint-state="expanded"] {
    animation: ybk-popup-hint-animation-appear-slide-up 1s ease-out;
    animation-fill-mode: forwards;
}

.ybk-popup-hint-element-loading_theme-default[data-ybk-hint-state="collapsed"] {
    animation: ybk-popup-hint-animation-fade-slide-down 1s ease-out;
    animation-fill-mode: forwards;
}

.ybk-popup-hint-element-loading-content__preloader_theme-default:after {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    border-bottom: 2px solid rgb(30, 115, 190);
    border-radius: 50%;
    top: 0;
    left: 0;
    margin: auto;
    z-index: 2;
    animation: ybk-popup-hint-animation-spin 1s infinite linear;
    box-sizing: border-box;
    position: absolute;
    right: initial;
    bottom: initial;
}

.ybk-popup-hint-element-loading__content_theme-default {
    border-width: 2px;
    border-style: solid;
    font-size: 17px;
    border-color: white;

    background-color: rgb(30, 115, 190);
    border-radius: 2em;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.ybk-popup-hint-element-loading__content {
    padding: .5em 1.5em;
    display: flex;
    align-items: center;
}

.ybk-popup-hint-element-loading-content__preloader {
    position: relative;
    overflow: visible;
    height: 1em;
    width: 1em;
    box-sizing: border-box;
    font-size: 1.2em;
    border-radius: 50%;
}

.ybk-popup-hint-element-loading-content__text + * {
    margin-left: 1em;
}

.ybk-popup-hint-element-loading-content__text_theme-default {
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    will-change: opacity;
}

.ybk-popup-hint-element-loading-content__text_theme-default[data-ybk-hint-state-pending] {
    animation: ybk-popup-hint-animation-blink 1s infinite ease-in-out;
}

.ybk-popup-hint-element-loading__content {
    padding: 1em 1.5em;
}



/*customize*/
.ybk-popup-hint-element-loading__content_theme-default {
    border-color: transparent;
    background-color: #e72c4b;
    border-radius: 0;
}

.ybk-popup-hint-element-loading-content__text_theme-default {
    font-size: 16px;
    letter-spacing: .3em;
    text-transform: uppercase;

    animation: ybk-popup-hint-animation-blink 1s ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

.ybk-popup-hint-element-loading-content__preloader_theme-default::after {
    border-bottom: 2px solid white;
}

.ybk-popup-hint-element-loading-content__preloader {
    margin-right: 17px;
}

.ybk-popup-hint-element-loading {
    max-width: 90%;
}

@keyframes ybk-popup-hint-animation-spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes ybk-popup-hint-animation-blink {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

@keyframes ybk-popup-hint-animation-appear-slide-up {
    0% {
        bottom: -2em;
        opacity: 0;
    }
    100% {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes ybk-popup-hint-animation-fade-slide-down {
    0% {
        opacity: 1;
    }
    100% {
        bottom: -2em;
        opacity: 0;
    }
}

@media (max-width: 700px) {
    .ybk-popup-hint-element-loading-content__text_theme-default {
        font-size: 3vw;
    }

    .ybk-popup-hint-element-loading-content__text.--m-text-center {
        text-align: center;
    }
}