.wstsm-spinner {
  background: #fff url(../images/spinner.gif) no-repeat;
    background-size: auto;
  background-size: auto;
  background-size: 20px 20px;
  display: inline-block;
  visibility: hidden;
  vertical-align: middle;
  opacity: 1;
  filter: alpha(opacity=70);
  width: 20px;
  height: 20px;
  margin: 0px 10px 0;
    margin-right: 10px;
    margin-left: 10px;
  margin-right: 10px;
  margin-left: 10px;

  border-radius: 20px;
}

.wstsm-spinner.is-active {
  visibility: visible;
}

.wstsm-modal-ui-autocomplete{
	z-index:9999999999999 !important;
}

/* wpiaf tip */
.wpiaf-help-tip {
    color: #666;
    display: inline-block;
    font-size: 1.1em;
    font-style: normal;
    height: 16px;
    line-height: 16px;
    position: relative;
    vertical-align: middle;
    width: 16px;
}
.wpiaf-help-tip:after{
    font-family: Dashicons;
    speak: never;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    text-indent: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    content: "ïˆ£";
    cursor: help;
}
#wpiaftip_holder {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
}

#wpiaftip_holder.tip_top {
    padding-bottom: 5px;
}

#wpiaftip_holder.tip_bottom {
    padding-top: 5px;
}

#wpiaftip_holder.tip_right {
    padding-left: 5px;
}

#wpiaftip_holder.tip_left {
    padding-right: 5px;
}

#wpiaftip_content {
    font-size: 11px;
    color: #fff;
    text-shadow: 0 0 2px #000;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,0.25);
    background-color: rgb(25,25,25);
    background-color: rgba(25,25,25,0.92);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    box-shadow: 0 0 3px #555;
    -webkit-box-shadow: 0 0 3px #555;
    -moz-box-shadow: 0 0 3px #555;
}

#wpiaftip_arrow, #wpiaftip_arrow_inner {
    position: absolute;
    border-color: transparent;
    border-style: solid;
    border-width: 6px;
    height: 0;
    width: 0;
}

#wpiaftip_holder.tip_top #wpiaftip_arrow {
    border-top-color: #fff;
    border-top-color: rgba(255,255,255,0.35);
}

#wpiaftip_holder.tip_bottom #wpiaftip_arrow {
    border-bottom-color: #fff;
    border-bottom-color: rgba(255,255,255,0.35);
}

#wpiaftip_holder.tip_right #wpiaftip_arrow {
    border-right-color: #fff;
    border-right-color: rgba(255,255,255,0.35);
}

#wpiaftip_holder.tip_left #wpiaftip_arrow {
    border-left-color: #fff;
    border-left-color: rgba(255,255,255,0.35);
}

#wpiaftip_holder.tip_top #wpiaftip_arrow_inner {
    margin-top: -7px;
    margin-left: -6px;
    border-top-color: rgb(25,25,25);
    border-top-color: rgba(25,25,25,0.92);
}

#wpiaftip_holder.tip_bottom #wpiaftip_arrow_inner {
    margin-top: -5px;
    margin-left: -6px;
    border-bottom-color: rgb(25,25,25);
    border-bottom-color: rgba(25,25,25,0.92);
}

#wpiaftip_holder.tip_right #wpiaftip_arrow_inner {
    margin-top: -6px;
    margin-left: -5px;
    border-right-color: rgb(25,25,25);
    border-right-color: rgba(25,25,25,0.92);
}

#wpiaftip_holder.tip_left #wpiaftip_arrow_inner {
    margin-top: -6px;
    margin-left: -7px;
    border-left-color: rgb(25,25,25);
    border-left-color: rgba(25,25,25,0.92);
}

/* Webkit Hacks  */
@media screen and (-webkit-min-device-pixel-ratio:0) {  
    #wpiaftip_content {
        padding: 4px 8px 5px 8px;
        background-color: rgba(45,45,45,0.88);
    }
    #wpiaftip_holder.tip_bottom #wpiaftip_arrow_inner { 
        border-bottom-color: rgba(45,45,45,0.88);
    }
    #wpiaftip_holder.tip_top #wpiaftip_arrow_inner { 
        border-top-color: rgba(20,20,20,0.92);
    }
}

/* Paste this css to your style sheet file or under head tag */
/* This only works with JavaScript, 
if it's not present, don't show loader */
.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
  display: block;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: .7;
  background: url('../images/loader.gif') center no-repeat #fff;
}

.wstsm-msg-entry {
    text-align: center;
    padding: 10px;
}

.wstsm-msg-success {
  background-color: green;
  color: #FFFFFF;
}

.wstsm-msg-error {
  background-color: red;
  color: #FFFFFF;
}

/**Accordion css start */
.wstsm-accordion {
  ;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.wstsm-accordion-item {
    display: block;
    width: inherit;
    height: auto;
    line-height: 40px;
    border: 1px solid #000;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 10px;
}

.wstsm-accordion-item:after {
    content: "\002B";
    font-size: 2.1rem;
    right: 20px;
    transition: 0.2s;
    background: #c26a3d;
    color: #fff;
    line-height: 20px;
    text-align: center;
    margin-left: 140px;
    padding-left: 10px;
    padding-right: 10px;
}

.wstsm-accordion-item.active:after {
    transform: rotate(45deg);
}

.wstsm-accordion-item-data {
    display: none;
}
/**Accordion css end */


/*** Tab CSS start ***/
.choose-instructor-tab-wrapper, .fields-main-wrapper .field-control {width: 100%;}
.tab-label-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 40px;
}
.tab-label-wrapper p {margin: 0; font-size: 18px;}
.wstsm-tabs {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  padding-left: 20px;
  flex: 1;
  justify-content: space-evenly;
}

.wstsm-tab {
  background-color: transparent;
  padding-bottom: 10px;
  padding-top: 10px;
  transition-duration: .5s;
  transition-property: all;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 3px solid transparent;
    border-bottom-color: transparent;
  width: 100%;
  text-align: center;
  font-size: 16px;
}
.wstsm-tab:hover {
  color: ;
}
.wstsm-tab-active {
  border-color: #03045e;
  font-weight: 600;
}
/*.wstsm-tabs-contents {
  width: 100%;
  background: #f6f6f6;
  padding: 20px;
  border-radius: 10px;
  border-top: 3px solid #03045e;
  margin-bottom: 40px;
}*/
.wstsm-tab , .wstsm-tab-content {
  padding: 10px 20px;
}

.wstsm-tab-content-hidden {
  display: none !important;
}

/*** Tab css end ***/

/** Modal css start **/

.wstsm-modal-backdrop {
  display: none;
  align-items: center;
  justify-content: center;
}

.wstsm-modal-backdrop .wstsm-modal {
  background-color: white;
  max-height: 80vh;
  overflow-y: auto;
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  padding: 20px;
}
.wstsm-modal-backdrop .wstsm-modal .modal-header-wrapper {
  position: absolute;
  right: 10px;
  top: 10px;
}
.modal-header-wrapper .wstsm-close-modal {
  text-indent: -99999px;
  width: 20px;
  height: 20px;
  padding: 10px;
  background-image: url(/wp-content/uploads/2024/07/close-wht.svg);
  background-repeat: no-repeat;
  display: flex;
  background-color: #4267b2;
  background-size: 15px;
  border-radius: 5px;
  background-position: center center;
}
.modal-header-wrapper .wstsm-close-modal:hover {background-color: #303133;}
.modal-header-wrapper .wstsm-close-modal:focus {
  outline: none;
  border: none;
  box-shadow: none;
}
#wstsm-modal-export-webinar h2 {
  font-size: 24px;
  margin-top: 0;
  color: #4267b2;
}
.export-webinar td {
  width: 100%;
  float: left;
  margin-bottom: 15px;
}
.export-webinar label {
  width: 100%;
  float: left;
  margin-bottom: 5px;
}
.export-webinar select, .export-webinar input {
  width: 100%;
  float: left;
  max-width: 100%;
}
.wstsm-modal-backdrop.live {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

body.wstsm-modal-active {
  height: 100vh;
  overflow-y: hidden;
  position: fixed;
  right: 0;
  Left: 0;
}
#wstsm-modal-confirm-exit-booking {
  max-width: 360px;
  border-radius: 5px;
  padding: 30px;
  font-size: 16px;
}
#wstsm-modal-confirm-exit-booking h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
#wstsm-modal-confirm-exit-booking .button-wrapper {
  justify-content: flex-end;
  gap: 20px;
  font-size: 18px;
  font-weight: 600;
}
/** Modal css end **/


/* Modern Invoice UI CSS */

.paypal-invoice-wrapper {
  background: #fff;
  padding: 30px;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #333;
}

.paypal-invoice-wrapper h2 {
  margin-bottom: 20px;
  font-size: 1.75rem;
  color: #0070ba;
}

.invoice-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.invoice-row input,
.invoice-row, .invoice-top select {
  flex: 1 1 300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.invoice-row input:focus,
.invoice-row select:focus {
  outline: none;
  border-color: #0070ba;
  box-shadow: 0 0 0 3px rgba(0,112,186,0.2);
}

.invoice-items {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.invoice-items th,
.invoice-items td {
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  font-size: 0.95rem;
}

.invoice-items th {
  background-color: #f5f7fa;
  text-align: left;
}

.invoice-items input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#add-item,
#send-invoice {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background: #0070ba;
  color: white;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

#add-item:hover,
#send-invoice:hover {
  background: #005c9a;
}

.remove-item {
  background: #e63946;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.remove-item:hover {
  background: #c62828;
}

.invoice-summary {
  margin-top: 30px;
  text-align: right;
  font-size: 1.1rem;
}

.invoice-summary div {
  margin: 6px 0;
}

.invoice-notes {
  margin-top: 25px;
}

.invoice-notes label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

.invoice-notes textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.2s;
}

.invoice-notes textarea:focus {
  outline: none;
  border-color: #0070ba;
  box-shadow: 0 0 0 3px rgba(0,112,186,0.2);
}

.phone-group {
  display: flex;
  flex: 1 1 300px;
  gap: 8px;
}

.phone-group select,
.phone-group input {
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  flex: 1;
}

.phone-group select {
  max-width: 140px;
  flex: 0 0 120px;
}

.phone-group select:focus,
.phone-group input:focus {
  outline: none;
  border-color: #0070ba;
  box-shadow: 0 0 0 2px rgba(0,112,186,0.2);
}

.invoice-address {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-bottom: 25px;
}

.invoice-address input,
.invoice-address select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.invoice-address input:focus,
.invoice-address select:focus {
  border-color: #0070ba;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,112,186,0.2);
}

h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #0070ba;
}

.invoice-top {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.invoice-field {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.invoice-field label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.invoice-field input {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.invoice-field input:focus {
  border-color: #0070ba;
  box-shadow: 0 0 0 2px rgba(0, 112, 186, 0.2);
  outline: none;
}

.item-description {
    width: 95%;
    min-height: 100px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.2s;
}

.wstim-login-logout-wrapper {
  text-align: right;
  margin: 95px;
  margin-top: 0px;
}

label.error {
    color: red;
}