.g2-line {
    --g2-font-size: 12px;
    --g2-font-weight: 700;
    --g2-line-height: 16px;
    --g2-color: #fff;
    --g2-color-link: #fff;
    --g2-bg: var(--se-main-color-blue-dark);
    --g2-text-transform: none;
    --g2-text-decoration: underline;
    --g2-close-color: rgba(255, 255, 255, .7);
}

body {
    height: auto;
}

.g2-line-lang-wrapper {
    position: relative;
}

.g2-line {
    position: relative;
    top: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 100px;
    margin: 0 auto;
    overflow: hidden;
    background-color: transparent;
    transition: max-height .24s ease, padding .24s ease, background-color .24s ease, transform .24s linear;
}

.promo-banner-active .g2-line--hidden {
    opacity: 0;
    transform: translateY(-100%) !important;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

html body .header .g2-line.container {
    padding-top: 12px;
}

.header .g2-line.container {
    height: auto;
}

.promo-banner-active.post-type-archive-agencies #header {
    transition: transform 0.24s ease;
}

.post-template-single-api-new .header-scroll .g2-line,
.page-template-api-detail .header-scroll .g2-line,
.page-template-seo-data-product .header-scroll .g2-line{
    transform: none;

}

.promo-banner-active .header-scroll .g2-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
}

.header-scroll .g2-line {
    transform: translateY(32px) translateZ(0);
}

.header-scroll.scrolling-down {
    transform: translateY(calc(-1 * var(--g2-line-height))) translateZ(0);
}

.promo-banner-active.banner-scrolled .single-api__navigation-wrapper,
.promo-banner-active.banner-scrolled .api-current-page {
    top: 0;
    transition: top 0.3s ease;
}

.g2-line_ai-promo .g2-line__link {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 35px 10px 8px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    border-radius: 8px;
    transition: background-color 0.5s ease;
}

.g2-line_ai-promo .g2-line__link.bg-ai-purple {
    background-color: var(--accent-colors-ai-dark);
}

.g2-line_ai-promo:hover .g2-line__link.bg-ai-purple {
    background-color: var(--accent-colors-ai-dark-hover);
}

@keyframes glowMove {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.g2-line_ai-promo .g2-line__link::after {
    position: absolute;
    top: 50%;
    left: -20%;
    z-index: 5;
    display: block;
    width: 30%;
    height: 300%;
    pointer-events: none;
    content: '';
    background: #a017f4;
    filter: blur(60px);
    border-radius: 50%;
    transition: opacity 0.5s linear;
    transform: translateY(-50%);
    animation: glowMove 5s linear infinite;
}

.g2-line_ai-promo:hover .g2-line__link::after {
    opacity: 0;
}

.g2-line__text {
    z-index: 10;
    width: 100%;
    text-align: center;
}

.g2-line_ai-promo .g2-line__link svg {
    margin-left: 8px;
    vertical-align: middle;
}

.g2-line_seranking-planable .g2-line__link {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 35px 10px 16px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    border-radius: 8px;
    transition: background-color 0.5s ease, background 0.5s ease;
    cursor: pointer;
}

.g2-line_seranking-planable .g2-line__link.bg-blue {
    background-color: #4ceaff;
}

.g2-line_seranking-planable:hover .g2-line__link.bg-blue {
    background-color: #2fd8f0;
    text-decoration: none;
}

.g2-line_seranking-planable .g2-line__link::after {
    position: absolute;
    top: 50%;
    left: -20%;
    z-index: 5;
    display: block;
    width: 30%;
    height: 300%;
    pointer-events: none;
    content: '';
    background: #c4f8ff;
    filter: blur(60px);
    border-radius: 50%;
    transition: opacity 0.5s linear;
    transform: translateY(-50%);
    animation: glowMove 5s linear infinite;
}

.g2-line_seranking-planable .g2-line__link:hover {
    text-decoration: none;
}

.g2-line_seranking-planable .g2-line__text {
    color: var(--main-colors-black);
}

.g2-line_seranking-planable .g2-line__bold {
    display: none;
}

.g2-line_seranking-planable svg {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin: 0;
}

.g2-line_seranking-planable svg:nth-child(3) {
    margin-right: 12px;
    margin-left: 12px;
}

.g2-line_seranking-planable .g2-line__close:hover::before,
.g2-line_seranking-planable .g2-line__close:hover::after,
.g2-line_seranking-planable .g2-line__close::after,
.g2-line_seranking-planable .g2-line__close::before {
    background-color: var(--main-colors-black);
}

.g2-line_seranking-planable .g2-line__link:hover .g2-line__close::before,
.g2-line_seranking-planable .g2-line__link:hover .g2-line__close::after {
    opacity: 70%;
}

.g2-line_seranking-planable .g2-line__x {
    display: none;
}

.g2-line_seranking-planable:hover .g2-line__link:after {
    opacity: 0;
}

@media screen and (max-width: 767px) {
    .g2-line_seranking-planable svg {
        display: none;
    }

    .g2-line_seranking-planable .g2-line__x {
        display: inline-block;
        margin-right: 4px;
        margin-left: 4px;
    }

    .g2-line_seranking-planable .g2-line__bold {
        font-weight: 500;
        display: inline-block;
    }
}

@media screen and (max-width: 530px) {
    .g2-line_seranking-planable .g2-line__link:after {
        animation: glowMove 3s linear infinite;
    }

    .g2-line_seranking-planable .g2-line__text {
        text-align: left;
    }
}

.g2-line__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 35px 10px 8px;
    font-family: 'TT Fors', -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    font-size: var(--g2-font-size);
    font-weight: var(--g2-font-weight);
    line-height: var(--g2-line-height);
    color: var(--g2-color);
    text-align: center;
    text-transform: var(--g2-text-transform);
    border-radius: 8px;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'ss01' on, 'ss02' on, 'ss03' on, 'ss04' on, 'ss05' on, 'ss06' on, 'ss07' on;
}

.bg-dark-blue {
    background-color: var(--se-main-color-blue-dark);;
}

.g2-line__content a {
    font-weight: 700;
    color: var(--g2-color-link);
    text-decoration: var(--g2-text-decoration);
}

.g2-line__content a:hover,
.g2-line_ai-promo .g2-line__link:hover {
    color: #fff;
    text-decoration: none;
}

.g2-line__link,
.g2-line__content .g2-line__link {
    font-size: var(--g2-font-size);
    font-weight: var(--g2-font-weight);
    line-height: var(--g2-line-height);
    color: var(--g2-color-link);
    text-align: center;
    text-decoration: none;
}

.g2-line_ua .g2-line__text {
    display: flex;
    justify-content: space-between;
}

.g2-line_ua .g2-line__link {
    margin: 0 auto;
}

.g2-line_ua .g2-line__link:hover {
    text-decoration: underline;
}

.g2-line__text-value.coupon {
    padding-right: 12px;
    margin: 0 auto;
    background-image: url('/blog/wp-content/plugins/se-g2-line/assets/image/white-arrow.svg');
    background-repeat: no-repeat;
    background-position: right;
}

.g2-line__text-value_no-bg.coupon {
    padding-right: 0;
    background: none;
}

.g2-line__close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    width: 12px;
    min-width: 35px;
    height: 100%;
    padding: 0 8px 0 15px;
    margin-left: 0;
    cursor: pointer;
}

.g2-line__close:before,
.g2-line__close:after {
    position: relative;
    top: 0;
    display: block;
    width: 2px;
    height: 16px;

    content: '';
    background-color: var(--g2-close-color);
    transition: .24s;
}

.g2-line__close:hover::before,
.g2-line__close:hover::after {
    background-color: #fff;
}

.g2-line__close:before {
    right: -2px;
    transform: rotate(45deg);
}

.g2-line__close:after {
    right: 0;
    transform: rotate(-45deg);
}

.g2-line-logged,
.g2-line_d-none,
.g2-line_banner-hide {
    display: none;
}

.promo-banner-active.banner-scrolled.page-template-moz-alternative-template .thead {
    top: 70px;
}

.promo-banner-active.api-template-single-api .header-scroll .g2-line {
    transform: none;
}

@media screen and (max-width: 1199px) {
    .g2-line,
    .header-scroll .g2-line {
        transform: none;
    }

    .post-type-archive-agencies .header-scroll.scrolling-down .g2-line,
    .agencies-template-single-agencies .header-scroll.scrolling-down .g2-line {
        pointer-events: none;
        opacity: 0;
    }

    .promo-banner-active.banner-scrolled .overview-block__sidebar {
        top: 70px;
    }

    .promo-banner-active.banner-scrolled .single-api__navigation {
        top: 96px;
    }

    .promo-banner-active.banner-scrolled.page-template-moz-alternative-template .thead {
        top: 70px;
    }

    .promo-banner-active.page-template-subscription .fix.header-scroll.scrolling-down {
        transform: translateY(calc(-1 * var(--g2-line-height))) translateZ(0);
    }
}

@media screen and (max-width: 1023px) {
    .promo-banner-active.banner-scrolled .single-api__navigation-wrapper,
    .promo-banner-active.banner-scrolled .api-current-page {
        top: 74px;
    }

    .promo-banner-active.api-template-single-api.banner-scrolled .api-current-page {
        transition: top 0.3s ease;
        top: 70px;
    }
}

@media screen and (max-width: 767px) {
    .g2-line__content {
        text-align: start;
    }

    .promo-banner-active.banner-scrolled .single-api__navigation-wrapper,
    .promo-banner-active.banner-scrolled .api-current-page {
        top: 78px;
    }

    .promo-banner-active.api-template-single-api.banner-scrolled .api-current-page {
        transition: top 0.3s ease;
        top: 70px;
    }

    .g2-line__close {
        top: 12px;
        height: auto;
    }
}

@media screen and (max-width: 575px) {
    .g2-line__link,
    .g2-line__content .g2-line__link {
        text-align: start;
    }

    .mobile-hidden {
        display: none;
    }

    .g2-line_ai-promo .g2-line__text::first-letter {
        text-transform: uppercase;
    }

    .g2-line_ai-promo .g2-line__link:after {
        animation: glowMove 3s linear infinite;
    }

    .page-template-backlinks-monitoring-new.promo-banner-active .header .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .promo-banner-active.api-template-single-api.banner-scrolled .api-current-page {
        transition: top 0.3s ease;
        top: 75px;
    }
}