.wsb-wrapper {
width: 90%;
max-width: 800px;
margin: 4em auto;
text-align: center;
} .wsb-icon {
display: inline-block;
width: 16px;
height: 16px;
vertical-align: middle;
fill: currentcolor;
} .wsb-modal {
position: absolute;
z-index: 999999;
top: 0;
left: 0;
visibility: hidden;
width: 100%;
height: 100%;
}
.wsb-modal.is-visible {
visibility: visible;
}
.wsb-modal-overlay {
position: fixed;
z-index: 10;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: hsla(0, 0%, 0%, 0.5);
visibility: hidden;
opacity: 0;
transition: visibility 0s linear 0.3s, opacity 0.3s;
}
.wsb-modal.is-visible .wsb-modal-overlay {
opacity: 1;
visibility: visible;
transition-delay: 0s;
}
.wsb-modal-wrapper {
position: fixed;
z-index: 9999;
top: 50%;
left: 50%;
width: 100%;
background-color: #fff;
box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
opacity: 1;
transform: translateY(-50%);
transform: translateX(-50%);
height: 100vh;
overflow: scroll;
}
.wsb-modal-transition {
transition: all 0.3s 0.12s;
transform: translateY(-10%);
opacity: 0;
}
.wsb-modal.is-visible .wsb-modal-transition {
transform: translate(-50%, -50%) !important;
opacity: 1;
width: 100%;
}
@media (min-width: 992px) {
.wsb-modal.is-visible .wsb-modal-transition {
width: 900px;
}
}
@media (min-width: 1200px) {
.wsb-modal.is-visible .wsb-modal-transition {
width: 1024px;
}
}
.wsb-modal-header,
.wsb-modal-content {
padding: 1em;
}
.wsb-modal-header {
position: relative;
background-color: #fff;
box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.06);
border-bottom: 1px solid #e8e8e8;
}
.wsb-modal-close {
position: absolute;
top: 0;
right: 0;
padding: 15px;
background: none;
border: 0;
color: inherit;
font-size: 30px;
}
.wsb-modal-close:hover {
color: #ff6029;
background-color: transparent;
}
.wsb-modal-heading {
font-size: 1.125em;
margin: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.wsb-modal-content > *:first-child {
margin-top: 0;
}
.wsb-modal-content > *:last-child {
margin-bottom: 0;
}
.buy-now-woo--button-replace-cart .single_add_to_cart_button {
display: none !important;
}
.buy-now-woo--remove-quantity .cart .quantity {
display: none !important;
}
.wsb-button {
position: relative;
}
.buy-now-woo--button-before_quantity-cart .wsb-button {
float: left;
margin-right: 10px;
}
.buy-now-woo--button-before-cart .wsb-button {
float: left;
margin-right: 10px;
}
.wsb-button.wsb-loading {
cursor: not-allowed;
}
.wsb-button.disabled {
cursor: not-allowed;
opacity: .2;
}
.wsb-button.wsb-loading:before {
content: '';
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
background: #fff;
opacity: 0.5;
}
.wsb-button.wsb-loading:after {
content: '';
display: block;
z-index: 9999;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border: 5px solid #f3f3f3;
border-top: 5px solid #1a1a1a;
border-radius: 50%;
width: 20px;
height: 20px;
-webkit-animation: wsb-spin 1s linear infinite; animation: wsb-spin 1s linear infinite;
} @-webkit-keyframes wsb-spin {
0% {
-webkit-transform: translate(-50%, -50%) rotate(0deg);
}
100% {
-webkit-transform: translate(-50%, -50%) rotate(360deg);
}
}
@keyframes wsb-spin {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
} .buy-now-woo > .select2-container--open .select2-dropdown {
z-index: 999999 !important;
}