/**
 * Since 2015 Ewonta
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 wesite only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses. 
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 *  @author     Ewonta <support@ewonta.ru>
 *  @copyright  Since 2015 Ewonta
 *  @license    Valid for 1 website (or project) for each purchase of license
 */
 
@media (max-width: 790px) {
  .st-checkout {
    width: 100% !important;
  }
}
.st-pusher {
    position: relative;
    left: 0;
    -webkit-transition: -webkit-transform 0.5s;
    transition: all 0.5s;
  }
  
  .st-overlay, .st-overlay-checkout {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    overflow-y: scroll;
  }
  
  .st-menu-open .st-overlay {
    display: block;
    z-index: 1000;
  }
  
  .st-checkout-open .st-overlay-checkout {
    display: block;
    z-index: 1000;
  }
  
  .st-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    visibility: hidden;
    width: 300px;
    height: 100%;
    overflow: auto;
    background: #ffffff;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    padding-bottom: 30px;
  }
  
  .st-menu::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    content: '';
    opacity: 1;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
  }
  
  .st-checkout {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    visibility: hidden;
    width: 50%;
    height: 100%;
    overflow: auto;
    background: #ffffff;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  .st-menu-right {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    visibility: hidden;
    width: 500px;
    height: 100%;
    overflow: auto;
    background: #ffffff;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  .st-menu-right .page-loading-cart {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    background: #ffffff96;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .st-menu-right::after, .st-checkout::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    content: '';
    opacity: 1;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
  }
  
  .st-menu-open, .st-checkout-open {
    overflow: hidden;
  }
  .st-checkout-open .modal-backdrop {
    display: none;
  }
  .modal-open .st-checkout {
    overflow: hidden;
  }
  .st-checkout-open .modal{
    background: #00000094;
  }
  .st-menu-open .st-wrapper, .st-checkout-open .st-wrapper {
    overflow-y: scroll;
  }
  
  .st-menu-open .st-menu::after, .st-checkout-open .st-checkout::after {
    width: 0;
    height: 0;
    opacity: 0;
    -webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
    transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
  }
  
  .st-menu-close, .st-checkout-close {
    position: absolute;
    top: 11px;
    right: 0;
    cursor: pointer;
    z-index: 3;
    padding: 8px;
   
  }

  .st-menu-right .st-menu-close, .st-checkout-right .st-checkout-close {
    right: auto;
    right: 0;
  }
  
  .st-menu-title, .st-checkout-title {
    padding: 20px;
    font-size: 18px;
    color: #222;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #efefef;
    margin-bottom: 20px;
    cursor: pointer;
  }
  .st-menu-title, .st-checkout-title h4 {
    text-align: left;
    font-weight: 400;
    font-size: 1.125rem;
    margin-bottom: 0;
  }
  /* Individual effects */
  
  .st-effect-left.st-menu {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  
  .st-effect-left.st-menu-open .st-effect-left.st-menu {
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  
  .st-effect-left.st-menu::after {
    display: none;
  }
  
  .st-effect-right.st-menu-right, .st-effect-right.st-checkout {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  
  .st-effect-right.st-menu-open .st-effect-right.st-menu-right, .st-effect-right.st-checkout-open .st-effect-right.st-checkout  {
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  
  .st-effect-right.st-menu-right::after, .st-effect-right.st-checkout::after {
    display: none;
  }
  
  /* Fallback example for browsers that don't support 3D transforms (and no JS fallback) */
  .no-csstransforms3d .st-pusher,
  .no-js .st-pusher {
    padding-left: 300px;
  }
  