.ai_st_clear
{
  clear:both;
}

.ai_st_center
{
    text-align: center;
}

.ai_st_full_width
{
    width:100%;
}

.ai_st_duration_dia {
    min-height: 75px;
}

.ai_st_slots_main_container figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}



html .at_st_sw_err
{
    position: relative;
    margin: -20px 0px 20px 0px;
}

.ai_st_input_field_group:last-child {
    margin-top: 20px;
}

.ai_st_half_column
{
 width:50%;
 float:left;
}

.ai_st_none
{
  display:none !important;
}

.ai_st_block
{
  display:block !important;
}

.ai_st_user_entry_login_cnt
{

}

html .ai_st_input_field_group input:not([type=checkbox]):not([type=radio])
{
  min-height:45px;
}

.ai_st_input_field_group
{
  padding:10px 0px;
}

.ai_st_half_column:first-child {
    padding-right: 10px;
}

.ai_st_half_column:last-child {
    padding-left: 10px;
}

.ai_st_required_element {
    position: relative;
    text-align: left;
}

.ai_st_required_error,.ai_st_required_validation_error {
    font-size: 12px;
    position: absolute;
    color: red;
}

.ai_st_error_up
{
	top: -14px;
}

.ai_st_half_column .ai_st_error_down
{
  bottom: -12px;
}

.ai_st_error_down
{
	bottom: -25px;
}

.ai_st_after_message_cnt
{
  padding: 4px 10px;
  margin:15px 0px;
  color: #FFF;
  border-radius: 3px;
}

.ai_st_error_result {
    background: #f44336;
}

.ai_st_success_result {
    background: #4caf50;
}

.ai_st_teacher_listing_item {
    display: flex;
    padding: 10px;
    margin: 10px 0px;
    border-radius: 10px;
    width: 100%;
    border: 1px solid #d1d0d0;
    align-items: center;
}

.ai_st_teacher_listing_profile_pic {
    width: 20%;
}

.ai_st_teacher_listing_profile_pic img {
    width: 100%;
}

.ai_st_teacher_listing_details {
    width: 60%;
    padding: 0px 15px;
}

.ai_st_teacher_listing_actions {
    width: 20%;
}

.ai_st_teacher_listing_details p
{
  padding:0px;
  margin:0px;
}

.ai_st_teacher_listing_details h3 {
    margin: 0px;
}

.ai_st_teacher_actions a:first-child {
    background: #101a57;
}

.ai_st_teacher_actions a:last-child {
    background: #c8b59b;
    color: #101a57;
}

.ai_st_teacher_actions a {
    padding: 10px;
    margin: 10px 0px;
    text-align: center;
    display: block;
    border-radius: 10px;
    color: #FFF;
}

.ai_st_teacher_filter_item {
    display: flex;
    background: #FFF;
    border-radius: 20px;
}

.ai_st_manage_teachers_filters_cnt {
    background: #101a57;
    padding: 20px;
    border-radius: 20px;
}


.ai_st_filter_type_cnt {
    flex-grow: 1;
    border-right: 1px solid #FFF;
    flex-basis: 0;
}

html .ai_st_filter_type_cnt:last-child
{
  border:0px;
}

.ai_st_filter_type_cnt .ai_st_input_options select {
    background: #FFF;
    border: none;
    padding-right: 40px;
    padding-left: 12px;
    background-image: url(http://localhost:8888/sealtutors/wp-content/plugins/advanced-custom-fields-pro/assets/images/icons/icon-chevron-down.svg);
    background-position: right 10px top 50%;
    background-repeat:no-repeat;
    background-size: 20px;
}

.ai_st_filter_type_cnt label {
    position: absolute;
    left: 12px;
    top: 18px;
    z-index: 1;
}

.ai_st_filter_type_cnt {
    position: relative;
}

.ai_st_filters_results_info {
    margin: 25px 0px;
}

.tutor-dashboard-left-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 99998;
    height: 100%;
    -webkit-transition: background 0.25s linear;
    transition: background 0.25s linear;
  }
  .tutor-dashboard-left-menu .dashboard-nav-wrapper {
    position: relative;
    z-index: 1;
    width: 320px;
    max-width: 90%;
    height: 100%;
    background: var(--edumall-color-box-white-background);
    box-shadow: 0 2px 15px rgb(51 51 51 / 5%);
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s,-webkit-transform .3s;
    pointer-events: auto;
    cursor: auto;
  }

 .ai_st_profile_content_cnt
 {
    padding-left:320px;
 } 


 #tutor-dashboard-left-menu .branding-logo-wrap a
 {
    float:none;
    margin: 0 auto;
    display: block;
 }

 #tutor-dashboard-left-menu .branding-logo-wrap a img
 {
    margin:0 auto;
 }

 html .ai_st_input_field_group input[type="date"]
 {
    display: block;
    width: 100%;
    border-radius: 5px;
    padding: 16px;
    background: #f8f8f8;
    border: none;
 }

 .ai_st_pro_menu_active_item
 {
    background: #eef0f9;
 }

 .ai_st_teacher_books_cnt {
    padding-left: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.ai_st_teacher_books_cnt .ai_st_manage_user_field {
    margin: 0px;
    padding: 0px;
}

.ai_st_loader
{
    display:none;
    position:fixed;
    left:0;
    background: rgba(255,255,255,.84);
    right:0;
    top:0;
    bottom:0;
    z-index:11111;
    backdrop-filter: blur(8px);
}

.ai_st_loader::before,
.ai_st_loader::after {
    position: absolute;
    top: 50%;
    font-family: Inter, Arial, sans-serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    transform: translate(-50%,-50%);
    z-index: 10;
}

.ai_st_loader::before {
    content: "S";
    left: calc(50% - 23px);
    -webkit-text-stroke: 2px #0b2a63;
    animation: aiStFillS 1.55s cubic-bezier(.22,1,.36,1) infinite;
}

.ai_st_loader::after {
    content: "T";
    left: calc(50% + 23px);
    -webkit-text-stroke: 2px #f5b51b;
    animation: aiStFillT 1.55s cubic-bezier(.22,1,.36,1) .2s infinite;
}

@keyframes aiStFillS {
    0%,12% { color: transparent; transform: translate(-50%,-50%) scale(.94); }
    48%,82% { color: #0b2a63; transform: translate(-50%,-50%) scale(1); }
    100% { color: transparent; transform: translate(-50%,-50%) scale(.94); }
}

@keyframes aiStFillT {
    0%,12% { color: transparent; transform: translate(-50%,-50%) scale(.94); }
    48%,82% { color: #f5b51b; transform: translate(-50%,-50%) scale(1); }
    100% { color: transparent; transform: translate(-50%,-50%) scale(.94); }
}

#ai_st_smart_wizard .tab-content
{
    height:100% !important;
}

.ai_st_additional_errors *
{
    color:#f44336;
}

#ai_st_bookings_wizard .tab-content {
    height: auto !important;
}

.mbsc-ios.mbsc-calendar-cell > div:first-child,.mbsc-timegrid-cell > div:first-child
{
    display:none !important;
}

.complete-payment_body .card {
    border: none;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 1px 1px 6px 2px #e9ecef;
}

.complete-payment_body .heading{
    font-size:23px;
    font-weight:00
}

.complete-payment_body .text{
    font-size:16px;
    font-weight:500;
    color:#b1b6bd
}

.complete-payment_body .pricing{
    border:2px solid #304FFE;
    background-color:#f2f5ff
}
.complete-payment_body .business{
    font-size:20px;
    font-weight:500
}
.complete-payment_body .plan{
    color:#aba4a4
}
.complete-payment_body .dollar{
    font-size:16px;
    color:#6b6b6f
}
.complete-payment_body .amount{
    font-size:50px;
    font-weight:500
}
.complete-payment_body .year{
    font-size:20px;
    color:#6b6b6f;
    margin-top: 19px
}
.complete-payment_body .detail{
    font-size:22px;
    font-weight:500
}
.complete-payment_body .cvv{
    height: 44px;
    width: 73px;
    border: 2px solid #eee
}
.complete-payment_body .cvv:focus{
    box-shadow: none;
    border: 2px solid #304FFE
}
.complete-payment_body .email-text{
    height: 55px;
    border: 2px solid #eee
}
.complete-payment_body .email-text:focus{
    box-shadow: none;
    border: 2px solid #304FFE
}
.complete-payment_body .payment-button{
    height: 70px;
    font-size: 20px
}

.ai_st_payment_cnt {
    max-width: 720px !important;
    margin: 30px 0;
}

html .flatpickr-current-month {
    font-size: 100%;
    line-height: inherit;
    font-weight: 300;
    color: inherit;
    position: absolute;
    width: 75%;
    left: 12.5%;
    top: -15px;
    padding: 0;
    vertical-align: middle;
    line-height: 1;
    height: 50px;
    /* display: inline-block; */
    text-align: center;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

html .flatpickr-calendar {
    width: 330px;
    margin: 20px auto;
    scale: 1.2;
    padding: 15px;
}

.ai_st_slots_main_container figure {
    height: 50px;
    width: 50px;
    padding: 0px !important;
    margin: 0px auto !important;
}

.ai_st_slots_main_container {
    display: flex;
    flex-direction: initial;
    align-items: center;
    text-align: center;
}

.ai_st_all_slots_cnt ul li {
    padding: 4px 4px;
    display: inline-flex;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    margin: 5px 5px;
    background: #f2f2f2;
}

.ai_st_all_slots_cnt ul {
    list-style: none;
    padding: 0px;
}

.book-a-tutor_body .tab-pane h3 {
    text-align: center;
}

.book-a-tutor_body div#step-2,.reschedule-class_body div#step-1 {
    min-height: 500px;
}


.active_slot
{
    background:#101957 !important;
    color:#FFF !important;
}

.ai_st_final_stripe_payment_cnt
{

}

a.ai_st_free_trial_complete_btn {
    font-weight: 500;
    padding: 15px 20px;
    display: inline-block;
    color: #FFF;
    border-radius: 5px;
    background: #101a57;
}


/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
  border-radius: 50%;
}
.spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner:before,
.spinner:after {
  position: absolute;
  content: "";
}
.spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #30d14d;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: loading 2s infinite ease 1.5s;
  animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #30d14d;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: loading 2s infinite ease;
  animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#paymentResponse{
	font-size: 17px;
    border: 1px dashed;
    padding: 10px;
	color: #EA4335;
	margin-top: 0;
	margin-bottom: 10px;
}

ul#myTab {
    border:none;
}

ul#myTab li {
    padding: 0px;
    margin: 0px 10px 0px 0px;
}

ul#myTab button {
    border: 1px solid #101958;
    padding: 10px !important;
    line-height: 1;
    min-width: 100px;
}
ul#myTab button.active 
{
    background: #101958;
    color: #FFF;
}

.ai_st_class_user {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai_st_class_user figure {
    max-width: 50px;
}

div#myTabContent {
    margin-top: 40px;
}

div#myTabContent table thead {
    background: #101958;
}

div#myTabContent table thead th {
    color: #FFF;
    border: none;
}

div#myTabContent table td,div#myTabContent table tr
{
    border: none;
}

.ai_st_class_table_actions a {
    border-radius: 5px;
    border: 1px solid #101958;
    padding: 5px 10px;
    display: inline-block;
}

div#myTabContent table tr {
    border-bottom: 1px solid #E0E0E0;
    padding:10px 0px;
}

.ai_st_teacher_listing_profile_pic img {
    display: block;
    border-radius: 5px !important;
}

.ai_st_teacher_listing_profile_pic {
    padding: 10px;
}

html span.bp-verified-badge {
    background-color: #43A047 !important;
}

a.fc-event.fc-event-start.fc-event-end.fc-event-future.fc-daygrid-event.fc-daygrid-dot-event {
    background: #101958;
    color: #FFF;
}

.ai_st_manage_chat_custom_bookings a {
    text-align: center;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    display: BLOCK;
    background: #101a57;
    color: #FFF;
}

#ai_st_calendar .fc-even
{
    cursor:pointer;
}

.ai_st_teacher_hourly_price_info {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}



.member-review-stars.member-no-review-yet span {
    color: #d6d6d6 !important;
}

.ai_st_profile_reviews_cnt {
    display: flex;
    align-items: center;
}

.ai_st_profile_reviews_cnt i,.ai_st_profile_bio_cnt i {
    padding-right:10px;
}

.complete-payment_body .business i,.ai_st_teacher_listing_details i  {
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
}

.ai_st_class_user p {
    padding-left: 10px;
}

.ai_st_suggested_resc_time
{
    display:block;
}

.ai_st_mobile_menu_init
{
    display:none;
    font-family: 'Font Awesome 5 Pro';
    position: absolute;
    right: 10px;
    top: 25%;
    font-size: 20px;  
}

.ai_st_mobile_menu_close_init {
    display: none;
    position: absolute;
    right: 10px;
    top: 15px;
    z-index: 1000;
}

.ai_st_mobile_menu_close_init i {
    font-family: 'Font Awesome 5 Pro';
    font-size: 24px;
    color: #000;
}

html .dashboard-info-cards i
{
    font-family: 'Font Awesome 5 Pro';   
}

.messages_body a.wcFunctional.wcRecentTrigger {
    display: none;
}



body.profile div#cover-image-container {
    margin-bottom: 30px;
}

body.profile div#item-header-cover-image {
    display: flex;
    align-items: center;
    justify-items: left;
    justify-content: left;
}

div#ai_st_profile_tutor_contact_info_cnt a {
    border-radius: 2px;
    padding: 16px;
    background: #101a57;
    display: inline-block;
    color: #FFF;
}

div#ai_st_profile_tutor_contact_info_cnt h4 {
    padding: 0px;
    margin: 0px 0px 15px 0px;
	font-size: 20px;
}

div#ai_st_profile_tutor_contact_info_cnt {
    background: #fff9c0;
    padding: 15px;
}

.ai_st_discount_code_cnt
{
    width:100%;
    margin-bottom: 20px;
}

.ai_st_discount_form_cnt {
    display: flex;
    width: 100%;
    flex-direction: row;
}

.ai_st_discount_form_cnt a {
    width: 50%;
}

a.ai_st_discount_code_btn {
    margin-left: 20px;
    color: #FFF;
    text-align: center;
    padding: 12px 15px;
    background: #101958;
    border-radius: 5px;
}

.ai_st_discount_form_after_message {
    background: green;
    color: #FFF;
    padding: 10px;
    text-align:center;
    display:none;
}

.ebooks_body
{

    pointer-events: all;   
}

.ai_st_main_ebooks_cnt
{
    display: flex;
    align-items: center;
    min-height: 500px;
    height: 100%;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding: 50px;
    box-sizing: border-box;
}


  .ai_st_bookshelf {
    margin: 12em 0em;
    max-width: 1000px;
    width: 80%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    height: 0px;
    box-sizing: border-box;
    border-bottom: 16px solid #f3f3f3;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    pointer-events: all;
  }
  .ai_st_bookshelf::before {
    content: "";
    position: absolute;
    top: 16px;
    background: linear-gradient(90deg, #fafafa 0%, #ffffff 100%);
    height: 26px;
    width: calc(100% + 40px);
    box-shadow: 0px -1px 6px rgba(0, 0, 0, 0.05), 0px 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 2;
  }
  .ai_st_bookshelf::after {
    content: "";
    height: 80px;
    width: calc(100% + 40px);
    position: absolute;
    top: 42px;
    display: block;
    background: linear-gradient(180deg, #f3f3f3 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 97% 100%, 3% 100%);
            clip-path: polygon(0% 0%, 100% 0%, 97% 100%, 3% 100%);
    z-index: -1;
  }
  
  .ai_st_ebooks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10%;
    width: 80%;
    margin: auto;
    transform: translateY(-100%);
    padding: 0 0 2px;
    position: relative;
    top: 15px;
  }
  
  .ai_st_ebook {
    --bg-image: url("https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1581128232l/50214741.jpg");   
    width: 100%;
    border-radius: 3px 0.5px 0.5px 3px;
    aspect-ratio: 115/180;
    position: relative;
    margin-bottom: -10px;
    cursor:pointer;
  }
  .ai_st_ebook:hover::before, .ai_st_ebook:hover::after {
    transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .ai_st_ebook:hover::before {
    transform: translate(0, -70px) skew(3deg, -3deg) scale(1.35);
  }
  .ai_st_ebook:hover::after {
    transform: translate(0, -70px) skew(3deg, -3deg) scale(1.275);
  }
  .ai_st_ebook:hover:nth-of-type(even)::before {
    transform: translate(0, -70px) skew(-3deg, 3deg) scale(1.35);
  }
  .ai_st_ebook:hover:nth-of-type(even)::after {
    transform: translate(0, -70px) skew(-3deg, 3deg) scale(1.275);
  }
  .ai_st_ebook::before, .ai_st_ebook::after {
    position: absolute;
    width: 100%;
    display: block;
    content: " ";
    transition: all 300ms ease-out;
    background: var(--bg-image) center center/cover no-repeat, #f3f3f300;
  }
  .ai_st_ebook::before {
    height: 100%;
    
  }
  .ai_st_ebook::after {
    height: 102%;
    filter: blur(10px);
    z-index: -1;
    opacity: 1;
  }

  .ai_st_common_payments_summary_cnt
  {
    margin-bottom:20px;
  }

.bp-user .page-content>.container
{
    max-width:800px;
}

div#ai_st_profile_tutor_contact_info_cnt a {
    border-radius: 10px;
    padding: 0px 15px;
    background: #101a57;
    display: inline-block;
    color: #FFF;
}

div#ai_st_profile_tutor_contact_info_cnt h4 {
    padding: 0px;
    margin: 0px 0px 15px 0px;
	font-size: 20px;
}

div#ai_st_profile_tutor_contact_info_cnt {
    background: #efefef;
    padding: 15px;
}

.bp-user .page-sidebar.page-sidebar-left {
    display: none;
}

.bp-user div#page-main-content {
    max-width: 100%;
    flex: 100%;
}

.bp-user div#item-header-content {
    display: none;
}

#buddypress #header-cover-image
{
    background-image: url('https://sealtutors.co.uk/wp-content/uploads/2023/02/seal-tutor-auth-bg.png');
}

.ai_st_sessions_price {
    border-radius: 5px;
    background: #FFF;
    right: 5px;
    top: 5px;
    padding: 5px 10px;
    z-index: 111;
    position: ABSOLUTE;
}

html .bp-user #buddypress #item-header-cover-image #item-header-avatar img {
    display: block;
    float: none;
    margin: 0;
    object-fit: cover;
    width: 180px;
    height: 180px;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 32px rgba(0,0,0,.13);
}

button#wp-user-profile-avatar-add {
    color: #000;
    line-height: 1;
    border: 1px solid #101958 !important;
}

html .sgpb-popup-dialog-main-div-theme-wrapper-1 {
    width: 100% !important;
    max-width: 800px;
}

.ai_st_user_entry_login_cnt input:not([type=checkbox]):not([type=radio]) {
    width: 100%;
}

.ai_st_user_entry_login_cnt .ai_st_input_field_group {
    clear: both;
}

.ai_st_user_entry_login_cnt {
    text-align: center;
}

div#ai_st_bookings_wizard .ai_st_input_field_group.ai_st_required_element {
    max-width: 800px;
    margin: 40px auto;
}

div#ai_st_bookings_wizard {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

div#ai_st_bookings_wizard select
{
    width:100%;
}

.ai_st_lightbox_cnt
{
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    align-items: center;
    display: none;
    right: 0;
    bottom: 0;
    background: #474747a6;
}

.ai_st_display_flex
{
    display: flex;
}

.ai_st_lightbox_inner_cnt {
    color: #FFF;
    width: 60vw;
    min-height: 60vh;
    height:auto;
    border-radius: 0;
    background: #FFF;
    justify-content: center;
    flex-direction: column;
    display: flex;
    padding: 2vw;
    margin: 0 auto;
    position: relative;
}

a.ai_st_lightbox_close {
    position: absolute;
    right: 0;
    background: #000;
    color: #FFF;
    padding: 0px 8px;
    top: 0;
}

html body .ai_fm_cursor{
    position: fixed;
    width: 2vw;
    height: 2vw;
    font-size:0.5vw;
    border-radius: 50%;
    background-color: #000000;
    pointer-events: none;
    z-index: 9999999;
    transition: height 0.2s,width 0.2s,font-size 0.2s;
  }
 

html body .ai_fm_cursor_active 
{
    width:10vw;
    height:10vw;
    text-align: center;
    font-size:2vw;
    line-height: 10vw;
} 

html body .ai_st_lightbox_content .ai_st_all_slots_cnt ul li
{
    color: #000;
}

.ai_st_form_fields_cnt {
    display: block;
    clear: both;
    margin: 30px 0px;
}

.ai_st_form_fields_cnt label {
    font-weight:bold;
}

.ai_st_form_fields_cnt textarea
{
    float:none;
}

.ai_st_form_fields_cnt .wpcf7-radio .wpcf7-list-item
{
    margin-right:15px;
}

.teacher-feedback_body .screen-reader-response p {
    line-height: normal;
    background: green;
    color: #FFF;
    padding: 15px;
}

div#ai_st_pro_my_profile label {
    display: block;
}

div#ai_st_pro_my_profile input,div#ai_st_pro_my_profile select {
    width: 100%;
}


#tutor-dashboard-left-menu .dashboard-nav-content-inner.ps-container.ps-theme-default
{
    height:100% !important;
}

button#stsi-cancel-sub-btn,#stsi-cancel-ebook-btn {
    margin-top: 30px;
}

/* =========================================================
   Seal Tutors Booking Wizard - Correct Mobile Popup Fix
   Replace previous popup CSS with this
========================================================= */

/* Do not let page/background scroll while popup is open */
body:has(.ai_st_lightbox_wrap) {
    overflow: hidden !important;
}

/* Fix SmartWizard inline tab height */
#ai_st_bookings_wizard .tab-content,
#ai_st_bookings_wizard .tab-content[style] {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* Desktop: keep mostly normal, only improve button visibility */
@media (min-width: 992px) {

}

/* Mobile + tablet popup app layout */
@media (max-width: 991px) {
    .ai_st_lightbox_wrap {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: rgba(12, 18, 35, 0.72) !important;
        z-index: 999999 !important;
        display: block !important;
    }

    .ai_st_lightbox_content {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        background: #ffffff !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .ai_st_lightbox_close {
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 9999999 !important;
        width: 38px !important;
        height: 38px !important;
        background: #000000 !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
    }

    #ai_st_bookings_wizard {
        width: 100% !important;
        height: 100dvh !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Step navigation fixed at top */
    #ai_st_bookings_wizard > .nav {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 14px 46px 10px 12px !important;
        background: #ffffff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
        overflow: hidden !important;
    }

    /* IMPORTANT: this is the scrollable middle area */
    #ai_st_bookings_wizard .tab-content,
    #ai_st_bookings_wizard .tab-content[style] {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: 100% !important;
        max-height: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 22px 18px 24px !important;
        background: #ffffff !important;
    }

    #ai_st_bookings_wizard .tab-pane {
        min-height: auto !important;
        padding-bottom: 0 !important;
    }

    #ai_st_bookings_wizard h3 {
        margin: 0 0 22px !important;
        font-size: 28px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    /* Bottom buttons fixed at bottom */


    #ai_st_bookings_wizard .sw-toolbar-elm .btn,
    #ai_st_bookings_wizard .sw-toolbar-elm button {
        min-height: 44px !important;
        padding: 10px 18px !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        line-height: 1 !important;
        border: 0 !important;
    }

    /* Progress must not create extra layout issue */
    #ai_st_bookings_wizard > .progress {
        flex: 0 0 4px !important;
        height: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}

/* Mobile portrait spacing */
@media (max-width: 767px) and (orientation: portrait) {
    #ai_st_bookings_wizard > .nav {
        padding-top: 14px !important;
        padding-bottom: 8px !important;
    }

    #ai_st_bookings_wizard.sw-theme-dots > .nav .nav-link {
        font-size: 12px !important;
        color:#FFF;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    #ai_st_bookings_wizard.sw-theme-dots > .nav .nav-link .num {
        width: 34px !important;
        height: 34px !important;
        line-height: 34px !important;
        font-size: 16px !important;
    }

    #ai_st_bookings_wizard .tab-content,
    #ai_st_bookings_wizard .tab-content[style] {
        padding: 26px 18px 24px !important;
    }

    #ai_st_bookings_wizard h3 {
        font-size: 28px !important;
        margin-bottom: 26px !important;
    }

     #ai_st_bookings_wizard  .sw-theme-dots>.nav .nav-link::after {
        top: 3px;
        left: -5px;
        color: #FFF;
        right: unset;
        text-align: center;
    }
}

/* Rotated phone / landscape fix */
@media (max-width: 991px) and (orientation: landscape), (max-height: 560px) {
    #ai_st_bookings_wizard > .nav {
        min-height: 54px !important;
        padding: 7px 48px 4px 12px !important;
    }

    #ai_st_bookings_wizard.sw-theme-dots > .nav .nav-link {
        padding-top: 0px !important;
        font-size: 11px !important;
        color: #FFF !important;
    }

    #ai_st_bookings_wizard.sw-theme-dots > .nav .nav-link .num {
        width: 27px !important;
        height: 27px !important;
        line-height: 27px !important;
        font-size: 12px !important;
    }

    #ai_st_bookings_wizard .tab-content,
    #ai_st_bookings_wizard .tab-content[style] {
        padding: 12px 18px 12px !important;
    }

    #ai_st_bookings_wizard h3 {
        font-size: 17px !important;
        margin-bottom: 0px !important;
    }

 

    #ai_st_bookings_wizard .sw-toolbar-elm .btn,
    #ai_st_bookings_wizard .sw-toolbar-elm button {
        min-height: 40px !important;
        padding: 8px 16px !important;
        font-size: 13px !important;
    }

    #ai_st_bookings_wizard > .progress {
        height: 3px !important;
        flex-basis: 3px !important;
    }

    /* Time slots compact in landscape */
    .ai_st_slots_main_container {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 10px !important;
        max-height: 48vh;
    }

    .ai_st_duration {
        padding: 10px !important;
        border-radius: 14px !important;
    }

    .ai_st_duration_dia {
        margin-bottom: 8px !important;
    }

    .ai_st_all_slots_cnt ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .ai_st_all_slots_cnt li {
        min-height: 28px !important;
        padding: 6px 5px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
    }
}
