/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2020 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/


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

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

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

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

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

div#opfsb-close {
    cursor: pointer;
    font-family: "op_freeshippingbar";
    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#opfsb-close:before {
    content: "\f100";
}

#opfsb-top-bar.top_bar {
    top: 0px;
}

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

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

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

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

/*Style Progress bar CSS3*/
#opfsb-progress.wfsb-effect-1 #opfsb-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);
}

#opfsb-progress.wfsb-effect-1 #opfsb-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*/
#opfsb-top-bar > #opfsb-progress.wfsb-effect-2, #opfsb-top-bar > #opfsb-progress.wfsb-effect-2 > #opfsb-current-progress {
    border-radius: 0;
}

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

}

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

#opfsb-label:before {
    font-family: "op_freeshippingbar";
    content: "\f101";
    position: absolute;
    right: 1%;
    font-size: 90%;
}

.opfsb-gift-box {
    bottom: 0;
    cursor: pointer;
    position: fixed;
    right: 0;
    z-index: 99;
    -moz-animation:myfirst 20s  linear infinite;
-webkit-animation:myfirst 20s  linear infinite;

}
@-moz-keyframes myfirst 
{
	0%   {left:-25%;}
	100% {left:100%;}
} 
@-webkit-keyframes myfirst
{
	0%   {left:-25%;}
	100% {left:100%;}
} 
.wfsb-hidden {
    display: none;
}

.opfsb-gift-box.wfsb-hidden {

    right: -1000px;
}

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

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

.op_freeshippingbar-order {
    margin: 20px 0;
}

.op_freeshippingbar-order .op_freeshippingbar-order-content ,
.op_freeshippingbar-order .op_freeshippingbar-order-text {
    margin: 0 0 10px;
}

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

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

.wfsb-fixed {
    position: fixed;
    transition: top 2s linear;
    top: 100px;
}

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

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