.top-sentence-wrap {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    height: 21px;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 21px;;
    border-bottom: 1px solid #ebebeb;

}

.top-sentence {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    text-align: center;
    font-family: 'apercu-mono',sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 11px;
    padding: 3px 0 7px 0;
    color: #fff !important;
    width: 100%;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


.top-sentence.active {
    top: 0;
    transition: top 0.6s linear;
}

.top-sentence.disable {
    top: -100%;
    transition: top 0.6s linear;
}

.top-sentence a {
    color: #fff !important;
}

.top-sentence-popup {
    position: fixed;
    left: 0%;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.top-sentence-popup-overlay {
    background-color: rgba(199, 199, 199, 0.6);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.4s;
    opacity: 0;
}

.top-sentence-popup-wrap {
    width: 640px;
    background-color: #fff;
    position: absolute;
    top: 0;
    height: 100%;
    padding: 40px;
    right: -101%;
    transition: all 0.5s;
    visibility: hidden;
    box-sizing: border-box;
    overflow: auto;
}

.top-sentence-popup.opened-popup {
    opacity: 1;
    left: 0;
    visibility: visible;
}

.top-sentence-popup.opened-popup .top-sentence-popup-wrap {
    right: 0;
    visibility: visible;
}

.top-sentence-popup.opened-popup .top-sentence-popup-overlay {
    opacity: 1;
}

.top-sentence-popup-title {
    margin-bottom: 30px;
    font-size: 20px;
    padding-left: 64px;
}

.top-sentence-popup-text {
    font-size: 14px;
    line-height: 1.7;
}

.top-sentence-close {
    position: absolute;
    cursor: pointer;
    left: 40px;
    top: 40px;
}

.top-sentence-close svg {
    display: block;
}

@media screen and (max-width: 768px) {
    .top-sentence-popup-wrap {
        width: 100%;
    }
}