/**
 * Generic Promobar
 *
 */

 @media(min-width: 1025px) {
    /* admin bar */
    .admin-bar.athemes-generic-promobar-show .athemes-generic-promobar {
        top: 32px;
    }

    /* main nav */
    .admin-bar.athemes-generic-promobar-show.navbar-show .navbar-primary {
        top: 135px;
    }
    
    .athemes-generic-promobar-show.navbar-show .navbar-primary {
        top: 103px;
    }

    /* second nav */
    .admin-bar.athemes-generic-promobar-show.navbar-show .secondNav:not(.nav-up) {
        top: 194px !important;
    }

    .athemes-generic-promobar-show.navbar-show .secondNav:not(.nav-up) {
        top: 162px;
    }

    .athemes-generic-promobar-show {
        padding-top: 108px;
    }

    /* search bar */
    .athemes-generic-promobar-show .cs-search {
        top: 162px !important;
    }

    /* Landing pages only */
    body.sydney.admin-bar.athemes-generic-promobar-show.navbar-show.navbar-sticky .secondNav:not(.nav-up),
    body.botiga.admin-bar.athemes-generic-promobar-show.navbar-show.navbar-sticky .secondNav:not(.nav-up),
    body.merchant.admin-bar.athemes-generic-promobar-show.navbar-show.navbar-sticky .secondNav:not(.nav-up) {
        top: 140px !important;
    }

    body.sydney.athemes-generic-promobar-show.navbar-show.navbar-sticky .secondNav:not(.nav-up),
    body.botiga.athemes-generic-promobar-show.navbar-show.navbar-sticky .secondNav:not(.nav-up),
    body.merchant.athemes-generic-promobar-show.navbar-show.navbar-sticky .secondNav:not(.nav-up) {
        top: 108px !important;
    }
}

@media(max-width: 767px) {
    .athemes-generic-promobar-show .cs-search {
        top: 212px !important;
    }
}

.athemes-generic-promobar-show .athemes-generic-promobar {
    display: block;
    transform: translate3d( 0, 0, 0 );
}

.athemes-generic-promobar {
    position: fixed;
    top: 0;
    left: 0;
    padding: 19px;
    width: 100%;
    font-size: 0.8rem;
    color: #FFF;
    z-index: 999;
    background-color: #4769D8;
    transform: translate3d(0, -100%, 0);
    transition: ease transform 300ms;
    overflow: hidden;
}

@media(max-width: 600px) {
    .athemes-generic-promobar {
        background-position: 277vw 0;
    }
}

.athemes-generic-promobar.hide {
    display: none;
}

.athemes-generic-promobar__container {
    max-width: 1140px;
    margin: 0 auto;
}

@media(max-width: 767px) {
    .athemes-generic-promobar__container {
        padding: 0 15px;
    }
}

.athemes-generic-promobar__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.athemes-generic-promobar__close svg path {
    fill: #FFF;
    opacity: 1;
}

.athemes-generic-promobar__close:hover svg path {
    opacity: 0.7;
}

@media(max-width: 767px) {
    .athemes-generic-promobar__close {
        top: 25px;
        right: 8px;
    }
}

@media(max-width: 1024px) {
    .athemes-generic-promobar {
        position: relative;
        display: none;
        font-size: 0.7rem;
    }
}

.athemes-generic-promobar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.athemes-generic-promobar__content p {
    margin: 0;
}

.athemes-generic-promobar__title strong {
    font-size: 20px;
    line-height: 20px;
}

.athemes-generic-promobar__title strong span {
    text-decoration: underline;
}

.athemes-generic-promobar__title p {
    font-size: 16px;
    line-height: 20px;
    margin: 3px 0 0;
    color: #CFDAFF;
}

.athemes-generic-promobar__title-highlight {
    font-size: 26px;
    line-height: 1;
    margin: 0 10px;
}

.athemes-generic-promobar__cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.athemes-generic-promobar__cta p {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: center;
}

/* Buttons */
.athemes-generic-promobar .btn {
    background-color: #4744E2;
    border-color: #4744E2;
}

.athemes-generic-promobar .btn:hover {
    background-color: #4769d8;
    border-color: #4769d8; 
}

.generic-grab-the-deal {
    font-weight: 500;
    padding: 13px 20px;
    border-radius: 5px;
    background-color: #FFF !important;
    border-color: #FFF !important;
    color: #4769D8 !important;
    font-size: 19px;
    line-height: 1;
    margin-bottom: 4px;
}

.generic-grab-the-deal:hover {
    background-color: #f8f8f8 !important;
    color: #4769D8 !important;
}

/* Countdown */
.generic-countdown-wrapper {
    display: inline-flex;
    position: relative;
}

.generic-countdown-wrapper__countdown {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.generic-countdown-wrapper__countdown-item + .generic-countdown-wrapper__countdown-item {
    margin-left: 10px;
}

.generic-countdown-wrapper__countdown-item-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #3FB28F;
    border: 1px solid #51EEBE;
    border-radius: 5px;
    padding: 9px 5px;
    color: #FFF;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
}

.generic-countdown-wrapper__countdown-item-desc {
    color: #FFF;
    font-size: 8px;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

/* Responsive */
@media(max-width: 989px) {
    .athemes-generic-promobar__content {
        flex-direction: column;
    }
    .athemes-generic-promobar__title {
        margin: 20px 0;
    }
    .athemes-generic-promobar__title strong {
        display: block;
        text-align: center;
    }
    .athemes-generic-promobar__title p {
        display: inline-flex !important;
        font-size: 0.8rem;
        text-align: left;
    }
    .athemes-generic-promobar__title strong {
        margin: 0 5px;
    }
    .generic-countdown-wrapper:before,
    .generic-countdown-wrapper:after {
        content: none;
    }
    .generic-countdown-wrapper__countdown-item-title {
        font-size: 20px;
    }
    .generic-countdown-wrapper__countdown-item-desc {
        font-size: 8px;
    }
    .generic-countdown-wrapper__countdown-item-desc {
        margin-top: 3px;
    }
    .athemes-generic-promobar__title {
        margin-left: 0;
    }
    .generic-grab-the-deal {
        padding: 12px 30px;
        font-size: 14px;
    }
    .athemes-generic-promobar__cta {
        margin-top: 20px;
        margin-left: 0;
        text-align: center;
    }
    .athemes-generic-promobar__title p {
        display: inline-block;
        text-align: center;
        margin-top: 5px;
    }
    .athemes-generic-promobar__title-highlight {
        font-size: 20px;
        margin: 0 4px;
    }
}

/* Copy to clipboard */
.cs-hl-copycode {
    display: flex;
    flex-direction: column;
}

.cs-hl-code-copy {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px dashed #bfbfbf;
    border-radius: 4px;
    padding: 2px 8px;
    cursor: pointer;
    transition: ease border-color 300ms;
}

.cs-hl-code-copy:before {
    content: attr(data-tooltip);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate3d(-50%, -100%, 0);
    background-color: #000;
    color: #FFF;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: ease opacity 300ms, ease visibility 300ms;
}

.cs-hl-code-copy:hover:before {
    opacity: 1;
    visibility: visible;
}

.cs-hl-code-copy:after {
    content: '';
    display: inline-block;
    margin-left: 7px;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='17' viewBox='0 0 20 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_211_4910)'%3E%3Cpath d='M14.75 4.75H18.5L14.75 1V4.75V4.75Z' fill='black'/%3E%3Cpath d='M14.125 19.8273V18.5339H6.50578C5.26111 18.5325 4.25245 17.5153 4.25108 16.2602V4.75H2.16291C1.52065 4.75001 0.999994 5.27506 1 5.92274V19.8273C1 20.4749 1.52065 21 2.16291 21H12.962C13.2705 21 13.5663 20.8765 13.7844 20.6565C14.0025 20.4366 14.125 20.1383 14.125 19.8273V19.8273Z' fill='black'/%3E%3Cpath d='M13.465 5.52487V1H6.53791C5.89565 1.00001 5.37499 1.52506 5.375 2.17274V16.0773C5.37499 16.7249 5.89565 17.25 6.53791 17.25H17.337C17.6455 17.25 17.9413 17.1265 18.1594 16.9065C18.3775 16.6866 18.5 16.3883 18.5 16.0773V6.07534H14.0108C13.8661 6.07535 13.7272 6.01735 13.6249 5.91412C13.5225 5.81088 13.465 5.67086 13.465 5.52487V5.52487Z' fill='black'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_211_4910' x='0' y='0' width='19.5' height='22' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset/%3E%3CfeGaussianBlur stdDeviation='0.5'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_211_4910'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_211_4910' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A");
    width: 15px;
    height: 17px;
    opacity: 0.3;
    transition: ease opacity 300ms;
}

.cs-hl-code-copy:hover {
    border-color: #FFF;
}

.cs-hl-code-copy:hover:after {
    opacity: 0.4;
}

.cs-copy-value {
    display: none !important;
}

/* Promotion Bar Style 2 */
.athemes-generic-promobar-style-2 .athemes-generic-promobar__title {
    display: flex;
    gap: 10px;
}

.athemes-generic-promobar-style-2 .athemes-generic-promobar__cta p {
    margin-top: 0;
}

.athemes-generic-promobar-style-2 .athemes-generic-promobar__title p {
    font-size: 18px;
    line-height: 20px;
    color: #FFF;
}

.athemes-generic-promobar-style-2 .athemes-generic-promobar__title p strong {
    font-size: 1em;
    line-height: 1em;
}

.athemes-generic-promobar-style-2 .cs-hl-copycode {
    display: flex;
    flex-direction: column;
    width: 200px;
}

.athemes-generic-promobar-style-2 .cs-hl-copycode-title {
    font-size: 0.75rem;
    padding: 5px;
    border: 1px dashed rgb(0, 0, 0, 0.5);
    border-radius: 7px 7px 0 0;
    border-bottom: 0;
}

.athemes-generic-promobar-style-2 .cs-hl-code-copy {
    font-size: 0.8rem;
    background-color: #FFF;
    padding: 5px;
    color: #212121;
    justify-content: center;
    border-radius: 0 0 7px 7px;
}

.athemes-generic-promobar-style-2 .cs-hl-code-copy:after {
    margin-left: 11px;
}

@media (max-width: 989px) {
    .athemes-generic-promobar-style-2 .athemes-generic-promobar__title p {
        flex-wrap: wrap;
        gap: 10px;
    }

    .athemes-generic-promobar-style-2 .athemes-generic-promobar__title p strong {
        margin-left: 0;
    }
}