@font-face {
    font-family: "woocommerce-free-shipping-bar";
    src: url("../fonts/woocommerce-free-shipping-bar.eot");
    src: url("../fonts/woocommerce-free-shipping-bar.eot?#iefix") format("embedded-opentype"),
    url("../fonts/woocommerce-free-shipping-bar.woff") format("woff"),
    url("../fonts/woocommerce-free-shipping-bar.ttf") format("truetype"),
    url("../fonts/woocommerce-free-shipping-bar.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    @font-face {
        font-family: "woocommerce-free-shipping-bar";
        src: url("../fonts/woocommerce-free-shipping-bar.svg") format("svg");
    }
}

#wfspb-top-bar {
    z-index: 9999999;
    position: relative;
    width: 100%;
    padding: 10px 0;
    display: inline-block;
    justify-content: space-between;
    margin: 0;
    line-height: 1;
    transition: 0.4s;
}

#wfspb-top-bar .wfsb-hidden {
    display: none;
}

#wfspb-top-bar p {
    margin: 0;
    flex-grow: 1;
    text-align: center;
    padding: 0 15px 5px 0;
}

div#wfspb-close {
    cursor: pointer;
    font-family: "woocommerce-free-shipping-bar";
    font-size: 20px;
    text-align: center;
    padding: 0;
    line-height: 20px;
    z-index: 2;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    margin: 0;
    top: 10px;
    right: 10px;

}

div#wfspb-close:before {
    content: "\f100";
}

#wfspb-top-bar.top_bar {
    top: 0;
}

#wfspb-top-bar.top_bar.wfsb-fixed {
    position: fixed;
    animation-name: scrollDown;
    animation-duration: 1s;
}

#wfspb-top-bar.bottom_bar {
    position: fixed;
    bottom: 0;
}

@keyframes scrollDown {
    0% {
        top: -50px
    }
    100% {
        top: 0
    }
}

#wfspb-progress {
    width: 100%;
    background-color: #C9CFD4;
    z-index: 12;
    /*position: absolute;*/
    /*left: 0px;*/
    margin-bottom: -10px;
    margin-top: 10px;
}

#wfspb-progress * {
    box-sizing: border-box;
}

#wfspb-current-progress {
    height: 20px;
    background-color: #0D47A1;
}

/*Style Progress bar CSS3*/
#wfspb-progress.wfsb-effect-1 #wfspb-current-progress {

    -webkit-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
}

#wfspb-progress.wfsb-effect-1 #wfspb-current-progress:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: -webkit-gradient(linear, 0 0, 100% 100%,
    color-stop(.25, rgba(255, 255, 255, .2)),
    color-stop(.25, transparent), color-stop(.5, transparent),
    color-stop(.5, rgba(255, 255, 255, .2)),
    color-stop(.75, rgba(255, 255, 255, .2)),
    color-stop(.75, transparent), to(transparent)
    );
    background-image: -moz-linear-gradient(
            -45deg,
            rgba(255, 255, 255, .2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, .2) 50%,
            rgba(255, 255, 255, .2) 75%,
            transparent 75%,
            transparent
    );
    z-index: 1;
    -webkit-background-size: 50px 50px;
    -moz-background-size: 50px 50px;
    -webkit-animation: wfsb-move 2s linear infinite;
    -webkit-border-top-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-bottomright: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    -webkit-border-top-left-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}

@-webkit-keyframes wfsb-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/*Progress bar Border effect*/
#wfspb-top-bar > #wfspb-progress.wfsb-effect-2, #wfspb-top-bar > #wfspb-progress.wfsb-effect-2 > #wfspb-current-progress {
    border-radius: 0;
}

#wfspb-top-bar > #wfspb-progress.wfsb-effect-2 {
    border: 1px solid #fff;
    outline: 1px solid #eee;

}

#wfspb-label {
    text-align: center;
    line-height: 20px;
    color: #FFFFFF;
    font-size: 11px;
    position: relative;
}

#wfspb-label:before {
    font-family: "woocommerce-free-shipping-bar";
    content: "\f101";
    position: absolute;
    right: 1%;
    font-size: 90%;
}

.wfspb-gift-box {
    bottom: 0;
    cursor: pointer;
    position: fixed;
    right: 0;
    z-index: 99;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;

}

.wfsb-hidden {
    display: none;
}

.wfspb-gift-box.wfsb-hidden {

    right: -1000px;
}

#wfspb-main-content {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: 300;
    z-index: 1;
    line-height: 1.3;
}

/*Free shipping bar on cart and checkout page*/

.woocommerce-free-shipping-bar-order {
    margin: 20px 0;
    display: inline-block;
    width: 100%;
}

.woocommerce-free-shipping-bar-order .woocommerce-free-shipping-bar-order-content {
    margin: 0 0 10px;
}

.woocommerce-free-shipping-bar-order .woocommerce-free-shipping-bar-order-bar {
    width: 100%;
    height: 6px;
    background: #ccc;
    border-radius: 3px;
}

.woocommerce-free-shipping-bar-order .woocommerce-free-shipping-bar-order-bar .woocommerce-free-shipping-bar-order-bar-inner {
    height: 100%;
    background: #212121;
    border-radius: 3px;
}

/*Mobile Responsive*/
@media screen and (max-width: 768px) {
    #wfspb-progress {
        display: none !important;
    }
}

@media (max-width: 380px) {
    div#wfspb-close {
        right: 5px;
    }
}

#wfspb-top-bar ~ #wrapper header#header .header-wrapper.stuck {
    top: 36px;
}

@media only screen and (max-width: 768px) {
    #wfspb-top-bar ~ #wrapper header#header .header-wrapper.stuck {
        top: 50px;
    }
}