/*
	Theme Name: Pws Essential Theme
	Description: Pws Essential Theme is a very lightweight and minimalist WordPress theme, to working only With Elementor and Elementor PRO Page Builder
	Author: Parrotto Web Solution
	Author URI: https://parrotto-websolution.it/
	Version: 3.0
	Requires at least: 6.0
	Tested up to: 6.7
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: pwstheme
*/
html {line-height:1.15; -webkit-text-size-adjust:100%}
*, :after, :before {box-sizing:border-box }
body {margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
	font-size:1rem; font-weight:400; line-height:1.5;color:#333;background-color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3,h4,h5,h6 {margin-block-start:.5rem; margin-block-end:1rem; font-family:inherit; font-weight:500;line-height:1.2;color:inherit}
h1 {font-size:2.5rem}
h2 {font-size:2rem}
h3 {font-size:1.75rem}
h4 {font-size:1.5rem}
h5 {font-size:1.25rem}
h6 {font-size:1rem}
input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea{width: 100%;}
button, input, optgroup, select, textarea {font-family: inherit;font-size: 1rem;line-height: 1.5;margin: 0;  }
/*INSERIRE IL CODICE DA QUI*/

/*MENU DASHBOARD*/
.llms-sd-items {display: flex; justify-content: space-between; flex-wrap: wrap}
.llms-sd-items .llms-sep{display: none}
.llms-sd-item {width:16%}
.llms-sd-items .llms-sd-item a{text-align: center;border-radius: 5px;display: block;padding: 7px 15px; background-color: var(--e-global-color-text); color: #fff; font-family:var( --e-global-typography-primary-font-family ), Sans-serif; font-weight: bold}
.llms-sd-items .llms-sd-item.current a, .llms-sd-items .llms-sd-item a:hover {background: var(--e-global-color-primary)}
.llms-sl-menu-item{display: none}
.logged-in .llms-sd-layout-columns {display: block;}

/*SYLLABUS*/
.llms-syllabus-wrapper {display: flex; flex-wrap: wrap; gap:20px; justify-content: space-between}
.llms-section-title, .llms-syllabus-wrapper .llms-icon-free {width:100%}
.llms-syllabus-wrapper .llms-lesson-preview{width: 48%;border: 1px solid var(--e-global-color-primary); border-radius: 10px; overflow: hidden;}
.llms-syllabus-wrapper .llms-section-title + .llms-lesson-preview{border-top:1px solid var(--e-global-color-primary)}
.llms-lesson-preview {background:#fff}

/*LOOP COURSES*/
.llms-loop-item-content .llms-featured-image {height: 250px; object-fit: cover; border-radius: 15px; border: 1px dashed var(--e-global-color-text);}
.llms-loop-list .llms-loop-item { border-radius: 15px; overflow:hidden; }
.llms-loop-item-content{padding: 15px}
.llms-loop-item-content div.llms-author{padding:10px 20px; margin: 0 auto;background: #fff;z-index: 1;position: relative;width: 90%;border-radius: 10px;transform: translateY(-80%);font-size: 22px;
  font-family: var(--e-global-typography-accent-font-family); font-weight: var(--e-global-typography-primary-font-weight); text-rendering: optimizelegibility;}
.llms-loop-item-content .llms-loop-title {color: var(--e-global-color-text); text-align: justify; font-family: var(--e-global-typography-primary-font-family); font-weight: var(--e-global-typography-primary-font-weight); font-size: 22px;}
.llms-loop-item-content .llms-lessons-count{margin-bottom:15px!important}
.llms-loop-item-content .llms-lessons-count p {color: #444;font-size: 16px;font-weight: var(--e-global-typography-primary-font-weight);}
.llms-loop-item-content .llms-lessons-count svg {height: 30px; vertical-align: middle; fill:#444;}
.llms-featured-pricing {width: 50%; float: right; padding-right:15px}
.llms-featured-pricing p{text-align: right; font-size: 26px; margin:0px; font-weight: var(--e-global-typography-primary-font-weight); font-family: var(--e-global-typography-accent-font-family);}
.custom-enrollment-button {width: 50%; float: left;padding-left:15px}
.custom-enrollment-button .elementor-button{font-weight: var(--e-global-typography-primary-font-weight);font-family: var(--e-global-typography-accent-font-family);}
.custom-enrollment-button.not-enrolled .elementor-button{background-color:var(--e-global-color-primary); border-radius: 5px; }
.custom-enrollment-button.enrolled .elementor-button{background-color:var(--e-global-color-text); border-radius: 5px;}

/*SINGLE CORSO*/
.sidebar-corso .llms-meta-info{margin:0px; font-family: var(--e-global-typography-text-font-family);}
.sidebar-corso .llms-lessons-count{font-family: var(--e-global-typography-text-font-family)}
.sidebar-corso .llms-lessons-count .lessons-count{font-weight: bold}
.llms-access-plan-footer {padding:10px 0px;}
.llms-button-action {width: 100%;background: var(--e-global-color-primary);}
.llms-access-plan-title {background: var(--e-global-color-text);}
.llms-button-primary {background: var(--e-global-color-primary); width: 100%; text-align: center;}
.llms-button-action:hover, .llms-button-primary:hover{background: var(--e-global-color-primary);transform: scale(1.1)}
.llms-syllabus-wrapper {margin:0px;}
.llms-lesson-button-wrapper {margin-bottom: 20px;}

.acf-faq-accordion{width: 100%;display: flex;flex-wrap: wrap; gap: 20px;}
.acf-faq-item{border-bottom:1px solid #e5e5e5; width:100%}
.acf-faq-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px;background:0 0;border:1px solid var(--e-global-color-primary);cursor:pointer;text-align:left;border-radius:10px}
.acf-faq-trigger:hover{background:var(--e-global-color-primary);color:#fff;}
.acf-faq-title{font-size:18px;font-weight:600;line-height:1.4}
.acf-faq-icon{flex: 0 0 auto;font-size: 35px;line-height: 0;font-weight: bold;transition: transform .2s;margin-top: -8px;}
.acf-faq-content-inner{font-size: 16px;line-height: 1.7;font-weight: 400;font-family: var(--e-global-typography-text-font-family);}
.acf-faq-trigger[aria-expanded="true"]{background:var(--e-global-color-primary); color:#fff}
.acf-faq-trigger:focus{outline:0}
.acf-faq-trigger:focus-visible{outline:#222 solid 2px;outline-offset:4px}

/*AREA DOWNLOAD*/
#materiali {margin-bottom:50px}
#materiali .corso{display: flex; justify-content: space-between; flex-wrap: wrap; font-family:var(--e-global-typography-accent-font-family)}
#materiali .corso h3{flex-basis:100%; background: #ddd; padding: 15px;}
#materiali .corso .lezione {padding-left: 30px; display: flex; flex-wrap: wrap; width:100%;align-items: center; gap: 15px;}
#materiali .corso .lezione_t{flex-basis: 70%;}
#materiali .corso .download{flex-basis: 25%;; text-align:right;}
#materiali .corso .download a{background: var(--e-global-color-primary);font-weight: bold;}
#materiali .corso .download a svg{width: 20px; vertical-align: middle;}

/*DASHBOARD*/
.llms-student-dashboard .llms-sd-nav, .llms-student-dashboard .llms-sd-header{display:none}
.logged-in .llms-sd-layout-columns{grid-template-columns: unset;}

.llms-groups-list {display: flex; flex-direction: column; gap: 15px;}
.llms-group-item {padding: 15px; border: 1px solid #ddd; border-radius: 6px; background: #fff;}
.llms-meet-link {display: inline-flex; align-items: center; gap: 8px; color: #1a73e8; font-weight: 600; text-decoration: none;}
.llms-meet-link:hover {text-decoration: underline;}
.llms-terminated {display: inline-block; padding: 6px 12px; background: #eee; color: #666; font-size: 14px; border-radius: 20px;font-weight: 600;}

/*QUIZ*/
.llms-quiz-ui{padding: 30px;}
.llms-question-wrapper .llms-question-choices .llms-choice input + label::before{background: #eee;}
#llms-prev-question{margin-top: 20px}
.llms-quiz-results-main li.correct{display:none!important}

/*HELP DESK*/
/* ====== LifterLMS Help Desk - Modern UI ====== */
:root{
  --hd-red: #e1062a;          
  --hd-red-dark: #b80521;
  --hd-bg: #ffffff;
  --hd-muted: #6b7280;
  --hd-text: #111827;
  --hd-border: rgba(17,24,39,.10);
  --hd-shadow: 0 18px 45px rgba(17,24,39,.10);
  --hd-shadow-soft: 0 10px 25px rgba(17,24,39,.08);
  --hd-radius: 18px;
}

/* wrapper */
.lms-helpdesk,
.lms-helpdesk-ticket,
.lms-helpdesk-list{
  color: var(--hd-text);
  font-family: inherit;
}

/* messaggi */
.lms-hd-msg{
  padding: 12px 14px;
  margin: 14px 0;
  border-radius: 14px;
  border: 1px solid var(--hd-border);
  box-shadow: var(--hd-shadow-soft);
  background: #fff;
}
.lms-hd-success{ border-left: 6px solid #16a34a; }
.lms-hd-error{ border-left: 6px solid #dc2626; }

/* form */
.lms-helpdesk-form p{ margin: 12px 0; }

.lms-helpdesk-form label{
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 700;
}

.lms-helpdesk-form input[type="text"],
.lms-helpdesk-form textarea,
.lms-helpdesk-form select,
.lms-helpdesk-ticket textarea{
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid var(--hd-border);
  border-radius: 14px;
  padding: 12px 12px;
  background: #fff;
  outline: none;
  transition: transform .08s ease, border-color .15s ease, box-shadow .15s ease;
}

.lms-helpdesk-form textarea,
.lms-helpdesk-ticket textarea{
  min-height: 140px;
  resize: vertical;
}

.lms-helpdesk-form input[type="text"]:focus,
.lms-helpdesk-form textarea:focus,
.lms-helpdesk-form select:focus,
.lms-helpdesk-ticket textarea:focus{
  border-color: rgba(225,6,42,.45);
  box-shadow: 0 0 0 6px rgba(225,6,42,.12);
}

/* bottoni (generico) */
.lms-helpdesk button,
.lms-helpdesk-ticket button{
  appearance: none;
  border: none;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  background: var(--hd-red);
  color: #fff;
  box-shadow: 0 12px 25px rgba(225,6,42,.20);
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.lms-helpdesk button:hover,
.lms-helpdesk-ticket button:hover{
  background: var(--hd-red-dark);
  box-shadow: 0 14px 30px rgba(225,6,42,.26);
}
.lms-helpdesk button:active,
.lms-helpdesk-ticket button:active{
  transform: translateY(1px);
}

/* card ticket (dettaglio) */
.lms-hd-card{
  background: #fff;
  border: 1px solid var(--hd-border);
  border-radius: var(--hd-radius);
  box-shadow: var(--hd-shadow);
  padding: 18px;
  max-width: 860px;
}
.lms-hd-card h3{
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* stato/priorità in "chip" */
.lms-hd-card strong{
  font-weight: 800;
}
.lms-hd-card hr{
  border: 0;
  height: 1px;
  background: var(--hd-border);
  margin: 14px 0;
}

/* thread */
.lms-hd-thread{
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin-top: 10px;
}
.lms-hd-bubble{
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid var(--hd-border);
  box-shadow: var(--hd-shadow-soft);
  background: #fff;
}
.lms-hd-bubble.staff{
  background: linear-gradient(180deg, rgba(225,6,42,.06), rgba(225,6,42,.02));
  border-color: rgba(225,6,42,.20);
}
.lms-hd-bubble.student{
  background: #fff;
}
.lms-hd-bubble .meta{
  font-size: 12px;
  color: var(--hd-muted);
  margin-bottom: 6px;
}

/* filtri lista */
.lms-hd-filters{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--hd-border);
  background: #fff;
  box-shadow: var(--hd-shadow-soft);
  max-width: 860px;
}
.lms-hd-filters a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--hd-border);
  text-decoration: none !important;
  color: var(--hd-text);
  font-weight: 800;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.lms-hd-filters a:hover{
  background: rgba(225,6,42,.06);
  border-color: rgba(225,6,42,.22);
}

/* lista ticket */
.lms-helpdesk-list ul{
  list-style: none;
  padding-left: 0 !important;
  margin: 14px 0 0;
  max-width: 860px;
}
.lms-helpdesk-list li{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--hd-border);
  background: #fff;
  box-shadow: var(--hd-shadow-soft);
  margin: 12px 0;
}
.lms-helpdesk-list li a{
  text-decoration: none !important;
  color: var(--hd-text);
}
.lms-helpdesk-list li a:hover{
  color: var(--hd-red);
}

/* badge "Nuova risposta" */
.lms-hd-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(225,6,42,.30);
  background: rgba(225,6,42,.08);
  color: var(--hd-red-dark);
}
.lms-hd-badge:before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--hd-red);
}

/* link "torna alla lista" */
.lms-helpdesk-ticket a{
  font-weight: 800;
  color: var(--hd-text);
  text-decoration: none !important;
}
.lms-helpdesk-ticket a:hover{
  color: var(--hd-red);
}

/* responsive */
@media (max-width: 680px){
  .lms-helpdesk-form,
  .lms-hd-card{
    padding: 14px;
    border-radius: 16px;
  }
  .lms-hd-card h3{ font-size: 18px; }
}

/* ===== APP LAYOUT ===== */

.lms-hd-app{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: start;
}

/* sidebar */
.lms-hd-sidebar{
  position: sticky;
  top: 110px; /* altezza header approx */
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* main */
.lms-hd-main{
  min-width: 0;
}

/* desktop → sidebar scroll indipendente */
@media (min-width: 981px){
  .lms-hd-sidebar{
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 6px;
  }
}

/* mobile layout */
@media (max-width: 980px){

  .lms-hd-app{
    grid-template-columns: 1fr;
  }

  /* quando ticket aperto → nascondi sidebar */
  .lms-hd-sidebar.has-ticket{
    display: none;
  }

}

@media screen and (max-width:767px){
	/*SYLLABUS*/
	.llms-syllabus-wrapper .llms-lesson-preview{width: 100%}
	
	/*AREA DOWNLOAD*/
	#materiali .corso .lezione{gap:5px}
	#materiali .corso .lezione_t, #materiali .corso .download{flex-basis: 100%;}
	#materiali .corso .download {text-align:center; margin-bottom:20px}
	
	
}