/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

.wi-container {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -50%;
    background: #F5F5F5;
    width:  50%;
    height: 100%;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.wi-cart-header {
    background: #F5F5F5;
    padding: 17px 2px;
    font-size: 16px;
    color: #272727;
    position: absolute;
    overflow: hidden;
    left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    width: 70px;
    max-height: 60px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    cursor: pointer;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    text-align: center;
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.wi-cart-header.hascart{
    left: -70px;
}

.wi-inner {
    height: 100%;
    overflow: auto;
    position: relative;
    padding: 30px;
}

.wi-container.panel-open {
    right: 0;
}

.wi-container .cart-collaterals .cart_totals {
    width:  100%;
    float:  left;
}

.wi-container .wc-proceed-to-checkout .button{
    display: inline-block;
}

.wi-container .cart .actions {
    border-top-color: transparent;
}

#wi-checkout-area{
    display: none;
}

#back_to_cart {
    margin-bottom: 15px;
}

#wi-cart-fly{
    position: absolute;
    opacity: 0;
    z-index: 999;
    font-size: 20px;
    line-height: 3;
    width: 40px;
    text-align: center;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.woocommerce-noreviews,
p.no-comments {
  display: none;
}

.woocommerce-error:first-child,
.woocommerce-info:first-child,
.woocommerce-message:first-child,
.woocommerce-noreviews:first-child,
p.no-comments:first-child {
  display: block;
}


/*Bootstrap 4 Checkout Comulmn Fix */
#wi-checkout-area .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
    display: block;
    min-width: 100%;
    padding: 0;
}

#wi-checkout-area .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
    min-width: 100%;
    padding: 0;
}
#wi-checkout-area #customer_details {
    width: 100%;
    float: none;
}

#wi-checkout-area #order_review {
    width: 100%;
    float: none;
}

#wi-checkout-area #payment .place-order .button {
    width: auto;
    display: inline-block;
}

.woocommerce form .form-row label {
    display: block;
    float: none;
    width: 100%;
}

#wi-checkout-area .woocommerce-input-wrapper {
    width: 100%;
}

#wi-checkout-area .shipping_address{
    display: none;
}

#wi-checkout-area .woocommerce-form-coupon-toggle,
#wi-checkout-area .woocommerce-form-coupon{
    display: none !important;
}

/* Cart Design Fixing */
#wi-cart-area table.cart .product-thumbnail img {
    margin: 0 auto;
    max-width: 60px;
    height: auto;
}

/*CSS For Cart Images*/
#wi-toggler img {
    width: 30px;
    height: 30px;
    float: left;
    margin-left: 10px;
}


/*quick view variable product*/
.wi-quick-view {
    display: none;
    width: 260px;
    padding: 25px 15px 15px;
    background: #F5F5F5;
    position: absolute;
    z-index: 990;
    overflow: hidden;
}
.wi-quick-view .close{
    position: absolute;
    top: 0;
    right: 0;
    height: 25px;
    width: 25px;
    cursor: url(../cursor-x.png), crosshair;
    text-align: center;
    font-size: 16px;
    z-index: 1;
    line-height: 20px;
}
.wi-quick-view .close:before {
    content: 'x';
}
.wi-quick-view table tbody td {
    background-color: transparent !important;
    padding: 0;
    text-align: right;
}

.wi-quick-view .quantity {
    float: left;
}

.wi-quick-view .added_to_cart {
    margin-top: 3px;
}

.wi-quick-view .woocommerce-variation-price {
    text-align: center;
    padding: 8px 0;
}

.wi-quick-view .variations {
    margin: 0;
}

.wi-quick-view .woocommerce-Price-amount.amount {
    font-size: 18px;
}

/* Strip payment images */
#wi-checkout-area .payment_method_stripe img {
    max-width: 30px;
}

/*Iframe*/
#wi-iframe {
    width: 100% !important;
    min-height: 320px;
}

span.wi-loader {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 3;
    display:none;
}

@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

span.wi-loader svg {
    width: 50px;
    height: 50px;
    fill: #333;
}

.iframe-loading span.wi-loader{
     display:block;
}

.iframe-loading {
    position: relative;
    overflow: hidden;
}

.iframe-loading:after {
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

/*Scroll Bar*/
.wi-inner::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.wi-inner::-webkit-scrollbar{
    width: 6px;
    background-color: #F5F5F5;
}

.wi-inner::-webkit-scrollbar-thumb{
    background-color: #c1c1c1;
}

/*FF*/
.wi-inner{
    scrollbar-width: thin;
}

.col2-set .form-row-first {
    width: 48%;
    float: left;
}

.col2-set .form-row-last {
    width: 48%;
    float: right;
}

.wi-container.single-step #wi-cart-area,
.wi-container.single-step #wi-checkout-area {
    display: block !important;
}

.wi-container.single-step #back_to_cart,
.wi-container.single-step .cart-collaterals {
    display: none;
}

#close_wi {
    min-width: 130px;
    margin-bottom: 12px;
}

.wi-container.drawer-left #close_wi {
    float: right;
}

/*Bottom to Top*/
.wi-container.drawer-bottom {
    width: 80%;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 100%;
    bottom: -100%;
    top: unset;
}

.wi-container.drawer-bottom .wi-cart-header {
    left: unset;
    right: 0;
    top: 0;
    transform: translate(0,-12px);
    border-radius: 4px;
}

.wi-container.drawer-bottom .wi-cart-header.hascart {
    top: -55px;
}

.wi-container.panel-open.drawer-bottom {
    bottom: 0;
}

/**
 * Responsive Styles
 *
 */
@media(max-width: 767px){
    .wi-container{
        width: 100%;
        right: -100%;
    }
    .wi-cart-header.hascart.open {
        left: 0;
        z-index: 1;
    }
    .wi-quick-view {
        left: 0 !important;
        margin: 0 auto;
        right: 0;
    }
}

@media(max-width: 480px){
    .col2-set .form-row-first,
    .col2-set .form-row-last {
        width: 100%;
        float: none;
    }
}