/*
Theme Name: Tutorstarter Child
Theme URI: https://example.com/
Description: Minimal clean child theme for Tutorstarter.
Author: Your Name
Author URI: https://example.com/
Template: tutorstarter
Version: 1.0.0
Text Domain: tutorstarter
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: child-theme, lms, tutor, minimal
*/

/* Put your custom CSS below */

/* Μηδενισμός του box περιορισμού για το main content */
.single-lesson .tutor-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0; /* Καταργεί τα auto margins που κεντράρουν το box */
}

/* Το main column (π.χ. col-xl-8) να απλώνει όλο τον διαθέσιμο χώρο */
@media (min-width: 1200px) {
  .single-lesson .tutor-col-xl-8 {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto !important;
  }
}

/* Wrapper μέσα στο lesson να ακολουθεί */
@media (min-width: 1200px) {
.single-lesson .tutor-lesson-wrapper 
{
  max-width: none !important;
  width: 100% !important;
  padding-left: 24px;   /* ή 2rem */
  padding-right: 24px;  /* ή 2rem */
}
}





/* ====== Global Typography for Tutor LMS + Elementor ====== */

/* ====== Body font ====== */
body {
  font-family: 'Noto Sans', 'Roboto', 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;      /* 16px */
  line-height: 1.6;
  color: #333;          /* χρώμα κειμένου */
  margin: 0;
  padding: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* ====== Headings με αποστάσεις ====== */
h1 {
  font-family: 'Noto Sans', 'Roboto', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.8rem;    /* 40px */
  line-height: 1.2;
  margin-top: 1.2em !important;
  margin-bottom: 0.2em;
}
h2 {
  font-family: 'Noto Sans', 'Roboto', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.rem;      /* 32px */
  line-height: 1.3;
  margin-top: 1.2em !important;
  margin-bottom: 0.2em;
}
h3 {
  font-family: 'Noto Sans', 'Roboto', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;    /* 24px */
  line-height: 1.2;
  margin-top: 1.2em !important;
  margin-bottom: 0.2em;
}
h4 {
  font-family: 'Noto Sans', 'Roboto', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.4;
  margin-top: 1.2em !important;
  margin-bottom: 0.2em;
}
h5 {
  font-family: 'Noto Sans', 'Roboto', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;  /* 18px */
  line-height: 1.4;
  margin-top: 1.2em;
  margin-bottom: 0.2em;
}
h6 {
  font-family: 'Noto Sans', 'Roboto', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;      /* 16px */
  line-height: 1.5;
  margin-top: 1.2em !important;
  margin-bottom: 0.2em;
}

/* ====== Responsive fine-tuning ====== */
@media (max-width: 1024px) {
  h1 { font-size: 2rem;   margin: 1em 0 .5em; }
  h2 { font-size: 1.75rem; margin: 1em 0 .5em; }
  h3 { font-size: 1.375rem; margin: .9em 0 .45em; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem;  margin: .9em 0 .45em; }
  h2 { font-size: 1.4rem;  margin: .85em 0 .4em; }
  h3 { font-size: 1.2rem;  margin: .8em 0 .4em; }
}

/* Αν το heading είναι πρώτο στοιχείο, μηδενίζουμε το top margin */
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0 !important;
}

/* Καθαρό 16:9 responsive wrapper */
.slide-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%;     /* 16:9 */
  background: #fff;
  overflow: hidden;
}
.slide-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Fullscreen button */
.slide-embed .slide-fs{
  position: absolute;
  right: .5rem;
  top: .5rem;
  z-index: 2;
  padding: .35rem .5rem;
  border: 0;
  border-radius: .4rem;
  background: rgba(0,0,0,.6);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  font-size: .9rem;
}
.slide-embed .slide-fs:hover{
  background: rgba(0,0,0,.8);
}

.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header .tutor-course-topic-title {
    position: relative;
    font-size: .8rem;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item-title {
    color: var(--tutor-color-secondary);
    transition: all .3s ease-in;
    font-size: .74rem;
}

.tutor-course-single-sidebar-title {
    background-color: #a8c7fa;
    border-bottom: 1px solid #e0e2ea;
    align-items: center;
    height: 60px;
    padding: 8px 16px;
    display: flex;
}

.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
    color: #54595F;
}

.elementor-2697 .elementor-element.elementor-element-3e44c1e5 .tutor-accordion-item-header {

    font-family: "Noto Sans", Sans-serif;
    font-size: 1rem;
    color: #41454f !important;
    border-radius: 5px 5px 5px 5px;
    padding: 15px 50px 15px 20px !important;
}

/*
 Theme Name: Tutor Starter Child
 Template: tutorstarter
 Version: 1.0.0
*/

/* Κρατάμε το ύψος όπως το parent */
.header-default .navbar .navbar-brand img { max-height: 50px; }
@media (max-width: 991.98px) {
  .header-default .navbar .navbar-brand img { max-height: 30px; }
}

/* Εναλλαγή desktop/mobile με ισχυρή ειδικότητα */
.header-default .navbar .navbar-brand a > img.desktop-logo { display: inline-block !important; }
.header-default .navbar .navbar-brand a > img.mobile-logo  { display: none !important; }

@media (max-width: 991.98px) {
  .header-default .navbar .navbar-brand a > img.desktop-logo { display: none !important; }
  .header-default .navbar .navbar-brand a > img.mobile-logo  { display: inline-block !important; }
}

/* Ασφάλεια διαστάσεων */
.header-default .navbar .navbar-brand a > img.desktop-logo,
.header-default .navbar .navbar-brand a > img.mobile-logo {
  height: auto !important;
  width: auto !important;
  vertical-align: middle;
}

/* Footer Padding*/
section.footer-widgets {
    padding: 20px
}
section.footer-widgets .container {
    padding:0;
}

.footer-widgets {
  margin-top: 160px; /* απόσταση σελίδας πριν το footer */
}

.footer-widgets {
  box-shadow: 0 -5px 8px rgba(0,0,0,0.1); /* σκιά προς τα πάνω */
  position: relative;
  z-index: 2;
}



/* === Footer custom styling === */

/* --- Κεντράρισμα με CSS Grid (desktop/tablet) --- */
.footer-bottom-container {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
}

/* Τοποθέτηση των 3 blocks στις 3 στήλες */
.footer-bottom-container .site-info { grid-column: 1; justify-self: start; }
.footer-bottom-container .copyright-container { grid-column: 2; justify-self: center; }
.footer-bottom-container .footer-menu { grid-column: 3; justify-self: end; }

/* Κρατάμε το styling των links/copyright όπως πριν */
.footer-bottom-container .copyright,
.footer-bottom-container .footer-links,
.footer-bottom-container .footer-links a {
  color: #ffffff;
  font-size: 14px;
}
.footer-bottom-container .footer-links a {
  margin-left: 8px;
  text-decoration: none;
  transition: opacity .2s ease-in-out;
}
.footer-bottom-container .footer-links a:first-child::before {
  content: "|";
  margin-right: 8px;
  color: #ffffff;
}
.footer-bottom-container .footer-links a:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  color: #ffffff;
}
.footer-bottom-container .footer-links a:hover {
  opacity: .8; text-decoration: underline;
}

/* --- Mobile: 3 καθαρές γραμμές, χωρίς διαχωριστικά --- */
@media (max-width: 768px) {
  .footer-bottom-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px;
  }
  .footer-bottom-container .site-info,
  .footer-bottom-container .copyright-container,
  .footer-bottom-container .footer-links {
    width: 100%;
    padding: 8px 0;
    border: none !important;
  }
  .footer-bottom-container .footer-links a:first-child::before,
  .footer-bottom-container .footer-links a:not(:last-child)::after {
    content: none;
  }
}

/* Στοίχιση στο κέντρο για το row με τα logos */
.footer-widgets .row.align-top {
  align-items: center !important; /* flex κάθετο κέντρο */
  }


/* Spacing ανάμεσα σε παραγράφους μέσα στο EAEL accordion */
.eael-accordion-content p { margin: 0 0 10px !important; line-height: 1.7; }
.eael-accordion-content p:last-child { margin-bottom: 0 !important; }


/* Πλευρική Στήλη Μαθήματος ένδειξη 2/3 κτλ */
.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header .tutor-course-topic-summary {
    color: #54595F !important;
    font-size: 12px;
}

.tutor-btn[disabled], .tutor-btn.disabled {
    pointer-events: none;
    color: #54595F !important;
}

.tutor-color-muted {
    color: #54595F;
}

.tutor-btn-ghost {
    color:#54595F;

}

.tutor-color-success {
    color: #3e64de;
}

