/*
Theme Name:   Eduma Child
Theme URI:    http://educationwp.thimpress.com/
Description:  Eduma Child Theme
Author:       ThimPress
Author URI:   http://thimpress.com
Template:     eduma
Version:      1.0.0
Text Domain:  eduma-child
*/

/* === Course Sidebar Box === */
.course-sidebar-box {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 25px;
}
/* === Sidebar Sessions: Three Columns === */
.sidebar-session-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}

.sidebar-session-row > div {
  flex: 1;
  text-align: center;
}

.session-city {
  text-align: left;
}

.session-register .register-btn {
  display: inline-block;
  margin-bottom: 6px;
  background-color: #0073aa;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
}

.session-register .register-btn:hover {
  background-color: #005f8c;
}

.alverton-schedule-table {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}

.schedule-city {
  width: 48%;
  font-weight: 600;
  color: #333;
}

.schedule-date {
  display: block;
  font-weight: normal;
  margin-top: 4px;
  color: #666;
}

.schedule-action {
  width: 48%;
  text-align: right;
}

.schedule-action .btn {
  padding: 6px 12px;
  font-size: 13px;
}

.schedule-fee {
  display: block;
  margin-top: 6px;
  font-weight: 600;
  color: #28a745;
}

.brochure-download {
  margin-top: 20px;
  text-align: center;
}

/* === Course Session === */
.course-session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
}

.course-session div {
  flex: 1;
  text-align: center;
}

.session-register .register-btn {
  padding: 6px 12px;
  background-color: #0073aa;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.session-register .register-btn:hover {
  background-color: #005f8c;
}

/* === Registration Block === */
.alverton-register-block {
  margin: 30px 0;
  padding: 30px 20px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  scroll-margin-top: 80px;
}

.alverton-register-heading {
  max-width: 800px;
  margin: 0 auto 20px;
}

.alverton-register-heading h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #222;
}

.alverton-register-heading p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.alverton-register-heading p strong {
  color: #005bac;
}

/* === Registration Buttons === */
.alverton-register-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.alverton-register-buttons button,
.lp-button,
.learn-press-course-buttons button {
  background-color: #005bac;
  color: #fff;
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  min-width: 180px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.alverton-register-buttons button:hover,
.lp-button:hover,
.learn-press-course-buttons button:hover {
  background-color: #004080;
}

.alverton-register-buttons button:focus {
  outline: 2px dashed #005bac;
  outline-offset: 2px;
}

/* === Special Button: Request In-house Training === */
.request-inhouse-btn,
.isolated-inhouse-btn {
  margin-top: 24px;
  margin-bottom: 16px;
  flex-basis: 100%;
  max-width: 100%;
}

/* === Forms === */
.alverton-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

.alverton-form .form-row label {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  font-weight: 500;
}

.alverton-form .form-submit {
  margin-top: 20px;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden;
  }

  .alverton-form .form-row label,
  .alverton-buttons-wrapper,
  .alverton-register-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .alverton-btn,
  .alverton-register-buttons button {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .course-session,
  .schedule-row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .schedule-city,
  .schedule-action {
    width: 100%;
    text-align: center;
  }

  .course-summary,
  .content-single,
  .alverton-register-block {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
  }

  .request-inhouse-btn,
  .isolated-inhouse-btn {
    width: 100%;
    margin-top: 20px;
  }
}
.visible-course-info {
  font-size: 15px;
  background: #f3f5f7;
  border-left: 5px solid #0073aa;
  padding: 12px 18px;
  margin-bottom: 25px;
  border-radius: 5px;
}
/* Hide price and cart buttons */
.course-item-price,
.lp-button,
.wrap-btn-add-course-to-cart,
.course-payment {
    display: none !important;
}
/* Hide the bottom price and Add to Cart section */
.thim-course-landing-button {
    display: none !important;
}
