.opc-progress-bar {
  text-align: center;
}

.opc-progress-bar-item._active:before, .opc-progress-bar-item._active > span:before  {
  background-color:#961b1e !important;
}
.opc-block-summary > span:after, .payment-methods .step-title:after {
  content: " ";
  display: none;
}
.modal-content {
  padding-bottom: 20px;
}
#checkoutSteps button.action.primary.checkout:not(#iv_continuecart) {
  display: none;
} 
/*  SHIPPING   */

#shipping {
    background: #f5f5f5;
    padding: 22px 30px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.16);
            box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.16);
    margin: 0 0 20px;
}

.iverr {
  color: red;
}
#shipping > .step-title {
    border-bottom: unset;
    padding-bottom: unset;
    text-transform: uppercase;
}

#shipping > .step-title:before {
    content: "2";
    width: 37px;
    height: 37px;
    float: left;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    color: white;
    background: #333;
    font-size: 16px;
    padding: 6px 15px;
    margin-right: 20px;
    display: block;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.9;
    cursor:pointer;
}
#iv_continuecart {
  background-image: none;
  background: #333333;
  color: #ffffff;
  line-height: 2.2rem;
  padding: 15px 17px;
  font-size: 1.8rem;
  float: right;
}
#checkoutSteps .step-title:after {
    font-family: ThemeIcons;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    /* width: 37px; */
    height: 37px;
    content: "\e261";
    float: right;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: white;
    background: #333;
    font-size: 16px;
    padding: 6px 10.5px;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.9;
    cursor:pointer;
}
#checkoutSteps .step-title.open:after {
  content: "\e262";
}
#shipping > .step-title::before:hover,
#shipping > .step-title::after:hover {
    opacity: 1;
    cursor:pointer;
}
/* SHIPPING METHOD */
#opc-shipping_method {
    background: #f5f5f5;
    padding: 22px 30px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.16);
            box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.16);
    margin: 0 0 20px;
}


#opc-shipping_method   .step-title {
    border-bottom: unset;
    padding-bottom: unset;
    text-transform: uppercase;

}

#opc-shipping_method  .step-title:before {
    content: "3";
    width: 37px;
    height: 37px;
    float: left;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    color: white;
    background: #333;
    font-size: 16px;
    padding: 6px 15px;
    margin-right: 20px;
    display: block;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.9;
    cursor:pointer;
}


#opc-shipping_method  .step-title::before:hover,
#opc-shipping_method  .step-title::after:hover {
    opacity: 1;
    cursor:pointer;
}




/*  CHECKOUT LAYOUT  */

#checkout > .opc-wrapper {
    width:100%;
    padding-right:0;
}

#checkoutSteps > .opc-sidebar {
    width:100%;
    margin-bottom:20px;
    float:unset;
    background: #f5f5f5;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.16);
            box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.16);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

#checkoutSteps > .opc-sidebar .opc-block-summary > .title {
    border-bottom: unset;
    padding-bottom: unset;
    text-transform: uppercase;
}


#checkoutSteps > .opc-sidebar .opc-block-summary > .title:before {
    content: "1";
    width: 37px;
    height: 37px;
    float: left;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    color: white;
    background: #333;
    font-size: 16px;
    padding: 6px 15px;
    margin-right: 20px;
    display: block;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.9;
    cursor:pointer;
}

#checkoutSteps > .opc-sidebar .opc-block-summary > .title:after {
    font-family: ThemeIcons;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    content: "\e261";
    height: 37px;
    float: right;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    color: white;
    background: #333;
    font-size: 16px;
    padding: 6px 10.5px;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.9;
    cursor:pointer;
}

#checkout-step-shipping,
#checkout-step-shipping_method,
#opc-sidebar > .opc-block-summary  > .block.items-in-cart {
    display:none;
}

#opc-sidebar > .opc-block-summary {
    margin-bottom:0;
}

.opc-wrapper {
    margin-bottom: 0;
}


@media screen and ( max-width:767px ) {
  .checkout-payment-method .payment-option, #checkout-payment-method-load {
    max-width: 95%;
}
    .counter.qty {
        background-color:#961b1e !important ;
    }

    /* CART MENU */
     #opc-sidebar span.title:after {
         display: none;
     }

     aside header button.action-close {
         margin:0 !important;
     }

     aside.opc-sidebar {
         padding-right: 40px;
     }
}
