.ep-woocommerce-product-popup {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
z-index: 99999;
}

/* Modal Content */
.emagic .ep-product-popup-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 100%;
  max-width: 750px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  pointer-events: auto;
  border-radius: 5px;
}



/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.emagic .ep-product-popup-close {
    cursor: pointer;
    font-size: 20px;
}

.emagic .ep-product-popup-header {
    padding: 14px 16px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.ep-product-popup-body {    
    padding: 16px 20px;
}

.emagic .ep-product-popup-content table.ep-product-popup-table {
    margin: 0px;
}

.emagic .ep-product-popup-content table.ep-product-popup-table th,
.emagic .ep-product-popup-content table.ep-product-popup-table td{
    border: 1px solid rgba(150, 150, 150, 0.3);
}


.ep-product-variation-select {
    width: 100%;
}

.ep-product-variation-block {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    align-content: stretch;
}

button.ep-product-variation-block-submit {
    margin-top: 5px;
}

select.ep-product-variation-select {
    margin-bottom: 15px;
}

.ep-product-price-range {
    font-weight: 700;
    padding: 10px 0px;
}

.ep-woo-reset-button {
    width: 100%;
    float: left;
    text-align: right;
    margin: 12px 0px;
}

.ep-choose-woo-btn { cursor: pointer;}

.emagic .ep-woocommerce-checkout-forms {
    border-bottom-width: 1px;
    margin: 50px 0px 11px 0px;
}

.emagic .ep-woocommerce-checkout-forms .ep-woocommerce-billing-address {}
.emagic .ep-woocommerce-checkout-forms .ep-woocommerce-shipping-address {}
.emagic .ep-woocommerce-checkout-forms .ep-woocommerce-address-form {
    box-sizing: border-box;
    border: 1px solid;
    overflow: hidden;
    padding: 0px 30px 30px 30px;
    margin-bottom: 30px;
    float: left;
    width: 46%;
    margin-right: 2%;
    margin-left: 2%;
    border-color: #eae8e8;
}

.emagic .ep-events-list-wrap .ep-view-woocommerce-product {
    padding: 0px 3px;
}

.emagic .ep-view-woocommerce-product {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: stretch;
}

.emagic .ep-view-woocommerce-product span {}

.emagic .ep-view-woocommerce-product{
    margin: 10px auto;
    width: 100%;
    float: left;
    cursor: pointer;
    font-size: 12px;
    color: #767676;
}

.emagic .kf-event-buy-tickets .kf_ticket_price .kf-tickets-button .ep-view-woocommerce-product {
    justify-content: flex-end;
}

table.ep-product-info-table {
    margin-top: 20px;
    border: 0px;
}

table.ep-product-info-table .ep-product-info-table-rows a.remove_product{
    cursor: pointer;
}

.emagic .ep-view-woocommerce-product svg{   
    margin-right: 4px;
}

/*-- Modal CSS--*/

.ep-product-option-popup-content {
    display: block;
    float: left;
    width: 600px;
    background-color: #fff;
    position: fixed;
    top: 10%;
    overflow: hidden;
    z-index: 9999999;
    box-shadow: 0 0 20px #969696;
    box-shadow: 0 0 20px rgb(0 0 0 / 20%);
    left: 30%;
    left: calc(50% - 300px);
    overflow-y: auto;
    max-height: 90%;
}

.ep-product-popup-body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: space-between;
}

.ep-product-popup-overlay{
    background-color: rgb(0 0 0 / 57%);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.ep-product-popup-left {
    width: 50%;
}

.ep-product-popup-right{
    width: 50%;
    box-sizing: border-box;
    padding: 0px 15px;
}

/*---Theme Fixes---*/

.ep-woocommerce-checkout-forms span.woocommerce-input-wrapper {
    width: 100%;
    display: inline-block;
}

.ep-woocommerce-checkout-forms span.woocommerce-input-wrapper input,
.ep-woocommerce-checkout-forms span.woocommerce-input-wrapper select{
    width: 100%;
}

.ep-woocommerce-checkout-forms .ep-woocommerce_form_heading {
    border-bottom-width: 1px;
    -webkit-border-bottom-width: 1px;
    -moz-border-bottom-width: 1px;
    padding: 18px 10px;
    font-weight: 700;
    margin-bottom: 30px;
}

.emagic .ep-woocommerce-product-wrap {
    margin-bottom: 30px;
}

.emagic .ep-woocommerce-summary-head {
    border-width: 1px 1px 0px 1px;
    padding: 14px 10px;
    font-weight: 700;
}

.emagic .ep-product-info-block .ep-woo-reset-button {
    border-width: 0px 1px 1px 1px;
    margin: 0px;
    padding: 10px 10px;
}

.emagic  .ep-woocommerce-product-wrap table.ep-product-info-table {
    margin: 0px;
}

.emagic  .ep-woocommerce-product-wrap table.ep-product-info-table th,
.emagic  .ep-woocommerce-product-wrap table.ep-product-info-table td{
    border: 1px solid rgba(150, 150, 150, 0.3);
}

.emagic .em-pdate-shipping-address-block .em-pdate-shipping-address-row label input {
    margin-right: 6px;
}

/*-- Cart Page--*/

.emagic .ep-cart__item-list .ep-cart-item .ep-woo-product-item {   
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    width: 100%;
}

.emagic .ep-cart__item-list .ep-cart-item .ep-woo-product-item .ep-woo-product-image {
    width: 48px;
    margin-right: 20px;
}