/* Enasarco Academy – stili grafici (prima nel campo "HTML aggiuntivo"). Ordine dei blocchi invariato. */

/* ===== ea-corsi-aperti ===== */
body.category-13.pagelayout-coursecategory { --ea-navy:#083b63; --ea-blue:#1d71b8; --ea-gold:#ebc66c; --ea-ink:#083b63; --ea-line:#e3e9f0; --ea-soft:#f7f8fa; } body.category-13.pagelayout-coursecategory:has(.ea-cat-hero) .page-header-headings { display: none; } body.category-13.pagelayout-coursecategory:has(.ea-cat-hero) #region-main > div:has(> .course_category_tree) { display: flex; flex-direction: column; } body.category-13.pagelayout-coursecategory:has(.ea-cat-hero) #region-main .generalbox.info, body.category-13.pagelayout-coursecategory:has(.ea-cat-hero) #region-main .generalbox.info > .no-overflow { display: contents; } body.category-13.pagelayout-coursecategory .ea-cat-hero { order: -2; } body.category-13.pagelayout-coursecategory:has(.ea-cat-hero) #action_bar { order: -1; } body.category-13 .ea-cat-hero { position: relative; overflow: hidden; isolation: isolate; margin: 4px 0 24px; padding: 36px clamp(22px, 4vw, 44px) 32px; background: var(--ea-navy); color: #fff; border-radius: 12px; } body.category-13 .ea-cat-hero::after { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: 300px; height: 210px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 210'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='14'%3E%3Cpath d='M30 240a240 240 0 0 1 300-232'/%3E%3Cpath d='M75 240a195 195 0 0 1 255-186'/%3E%3Cpath d='M120 240a150 150 0 0 1 210-138'/%3E%3Cpath d='M165 240a105 105 0 0 1 165-88'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom / contain; } body.category-13 .ea-cat-hero .ea-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ea-gold); } body.category-13 .ea-cat-hero h1 { margin: 0; color: #fff; font-size: 34px; line-height: 1.15; font-weight: 700; } body.category-13 .ea-cat-hero .ea-sub { margin: 12px 0 22px; max-width: 62ch; color: #d6e2ee; font-size: 17px; line-height: 1.55; } body.category-13 .ea-cat-hero .ea-chips { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; } body.category-13 .ea-cat-hero .ea-chips li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #fff; } body.category-13 .ea-cat-hero .ea-chips li::before { content: "\2713"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ea-gold); color: var(--ea-navy); font-size: 12px; font-weight: 700; } body.category-13 .ea-cat-hero .ea-cat-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; } body.category-13 .ea-cat-hero .ea-cat-pills a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 6px; font-weight: 700; font-size: 16px; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.75); transition: background .2s, border-color .2s; } body.category-13 .ea-cat-hero .ea-cat-pills a:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; } body.category-13 .ea-cat-hero .ea-cat-pills a.is-active { background: var(--ea-blue); border-color: var(--ea-blue); } body.category-13.pagelayout-coursecategory #action_bar { background: var(--ea-soft); border: 1px solid var(--ea-line); border-radius: 12px; padding: 18px 20px; margin-bottom: 22px; } body.category-13.pagelayout-coursecategory #action_bar .row { margin: 0; align-items: center; gap: 12px; } body.category-13.pagelayout-coursecategory:has(.ea-cat-pills) #action_bar .navitem:has(.urlselect) { display: none; } body.category-13.pagelayout-coursecategory #action_bar .navitem:has(.simplesearchform) { flex: 1 1 320px; padding: 0; margin: 0; } body.category-13.pagelayout-coursecategory #action_bar .simplesearchform, body.category-13.pagelayout-coursecategory #action_bar .simplesearchform form, body.category-13.pagelayout-coursecategory #action_bar .simplesearchform .input-group { width: 100%; } body.category-13.pagelayout-coursecategory #action_bar .custom-select, body.category-13.pagelayout-coursecategory #action_bar .form-select { height: 46px; border-radius: 6px; border-color: var(--ea-line); color: var(--ea-navy); font-weight: 600; } body.category-13.pagelayout-coursecategory #action_bar .simplesearchform input[type="text"] { flex: 1 1 auto; height: 46px; border-radius: 6px 0 0 6px; border-color: var(--ea-line); background: #fff; color: var(--ea-ink); font-size: 16px; padding-left: 16px; } body.category-13.pagelayout-coursecategory #action_bar .simplesearchform input[type="text"]:focus { border-color: var(--ea-blue); box-shadow: 0 0 0 3px rgba(29,113,184,.18); } body.category-13.pagelayout-coursecategory #action_bar .simplesearchform .btn { height: 46px; min-width: 54px; border-radius: 0 6px 6px 0; background: var(--ea-blue); border-color: var(--ea-blue); color: #fff; } body.category-13.pagelayout-coursecategory #action_bar .simplesearchform .btn:hover { background: #175e9c; border-color: #175e9c; } body.category-13.pagelayout-coursecategory .generalbox.info .no-overflow > p { color: var(--ea-ink); font-size: 16px; line-height: 1.6; margin: 0 0 22px; max-width: 72ch; } body.category-13.pagelayout-coursecategory .generalbox.info:not(:has(.ea-cat-hero)) { margin: 8px 0 22px; padding: 0 !important; } body.category-13.pagelayout-coursecategory .courses.category-browse { display: flex; flex-direction: column; gap: 18px; } body.category-13.pagelayout-coursecategory .courses .coursebox { position: relative; display: grid; grid-template-columns: 240px 1fr; grid-template-rows: auto 1fr; column-gap: 24px; row-gap: 10px; align-items: start; margin: 0; padding: 16px; background: #fff; border: 1px solid var(--ea-line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; } body.category-13.pagelayout-coursecategory .courses .coursebox:hover { border-color: #c9d6e3; box-shadow: 0 10px 24px -16px rgba(8,59,99,.4); } body.category-13.pagelayout-coursecategory .courses .coursebox > .content, body.category-13.pagelayout-coursecategory .courses .coursebox > .content > .d-flex { display: contents !important; } body.category-13.pagelayout-coursecategory .courses .coursebox .courseimage { grid-column: 1; grid-row: 1 / span 2; width: 100%; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; border-radius: 8px; background: var(--ea-navy); } body.category-13.pagelayout-coursecategory .courses .coursebox .courseimage img { width: 100%; height: 100%; max-width: none; max-height: none !important; object-fit: cover; display: block; transition: transform .5s ease; } body.category-13.pagelayout-coursecategory .courses .coursebox:hover .courseimage img { transform: scale(1.04); } body.category-13.pagelayout-coursecategory .courses .coursebox > .info { grid-column: 2; grid-row: 1; float: none; width: auto; margin: 0; padding: 2px 0 0; display: flex; align-items: flex-start; gap: 10px; } body.category-13.pagelayout-coursecategory .courses .coursebox .coursename { font-size: 18px; line-height: 1.35; font-weight: 700; margin: 0; flex: 1; } body.category-13.pagelayout-coursecategory .courses .coursebox .coursename a { color: var(--ea-navy); text-decoration: none; } body.category-13.pagelayout-coursecategory .courses .coursebox .coursename a::after { content: ""; position: absolute; inset: 0; z-index: 1; } body.category-13.pagelayout-coursecategory .courses .coursebox:hover .coursename a { color: var(--ea-blue); } body.category-13.pagelayout-coursecategory .courses .coursebox .moreinfo:empty { display: none; } body.category-13.pagelayout-coursecategory .courses .coursebox .enrolmenticons { flex: none; display: flex; gap: 6px; margin: 0; padding: 0; position: relative; z-index: 2; } body.category-13.pagelayout-coursecategory .courses .coursebox .enrolmenticons .icon { width: 30px; height: 30px; margin: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--ea-line); color: var(--ea-navy); font-size: 13px; } body.category-13.pagelayout-coursecategory .courses .coursebox .content .flex-grow-1 { grid-column: 2; grid-row: 2; padding: 0; margin: 0; } body.category-13.pagelayout-coursecategory .courses .coursebox .customfields-container { margin: 0; padding: 0; } body.category-13.pagelayout-coursecategory .courses .coursebox .customfield { display: inline-block; font-size: 14px; color: var(--ea-ink); } body.category-13.pagelayout-coursecategory .courses .coursebox .customfield .customfieldname { color: var(--ea-navy); } @media (max-width: 575px) { body.category-13 .ea-cat-hero { padding: 28px 20px 26px; } body.category-13 .ea-cat-hero h1 { font-size: 28px; } body.category-13 .ea-cat-hero::after { width: 200px; height: 140px; opacity: .7; } body.category-13 .ea-cat-hero .ea-cat-pills a { flex: 1 1 100%; justify-content: center; } body.category-13.pagelayout-coursecategory .courses .coursebox { grid-template-columns: 1fr; grid-template-rows: auto; } body.category-13.pagelayout-coursecategory .courses .coursebox .courseimage { grid-row: 1; } body.category-13.pagelayout-coursecategory .courses .coursebox > .info { grid-column: 1; grid-row: 2; } body.category-13.pagelayout-coursecategory .courses .coursebox .content .flex-grow-1 { grid-column: 1; grid-row: 3; } }

/* ===== ea-pagine ===== */
body.pagelayout-frontpage .course-content .section-item, body.pagelayout-frontpage .course-content li.section, body.pagelayout-frontpage .sitetopic .section-item { border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) { --ea-navy:#083b63; --ea-blue:#1d71b8; --ea-gold:#ebc66c; --ea-ink:#083b63; --ea-line:#e3e9f0; --ea-soft:#f7f8fa; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) .page-header-headings :is(h1, h2) { color: var(--ea-navy); font-weight: 700; font-size: 34px; line-height: 1.15; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) #region-main .block.card, :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) #block-region-content .block.card { border: 1px solid var(--ea-line); border-radius: 12px; box-shadow: none; background: #fff; overflow: hidden; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) .block.card > .card-body { padding: 22px 24px !important; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin) .block .card-title, :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) .block h3.card-title { color: var(--ea-navy); font-weight: 700; font-size: 20px; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) .btn { border-radius: 6px; font-weight: 700; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) .btn-primary { background: var(--ea-blue); border-color: var(--ea-blue); color: #fff; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) .btn-primary:hover { background: #175e9c; border-color: #175e9c; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) :is(.btn-secondary, .btn-outline-secondary, .btn-outline-primary) { background: #fff; color: var(--ea-navy); border: 1px solid #c9d6e3; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) :is(.btn-secondary, .btn-outline-secondary, .btn-outline-primary):hover { background: var(--ea-soft); border-color: var(--ea-navy); color: var(--ea-navy); } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) :is(.form-control, .custom-select, .form-select) { border-radius: 6px; border-color: var(--ea-line); } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.pagelayout-admin, body.path-course-index) :is(.form-control, .custom-select, .form-select):focus { border-color: var(--ea-blue); box-shadow: 0 0 0 3px rgba(29,113,184,.18); } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.path-course-index) .simplesearchform .btn-primary, :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.path-course-index) .simplesearchform .btn-submit { border-radius: 0 6px 6px 0; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses, body.path-course-index) .simplesearchform input[type="text"] { border-radius: 6px 0 0 6px; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) .dashboard-card, :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) .course-card { border: 1px solid var(--ea-line); border-radius: 12px; overflow: hidden; box-shadow: none; transition: border-color .2s, box-shadow .2s, transform .2s; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) .dashboard-card:hover, :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) .course-card:hover { border-color: #c9d6e3; box-shadow: 0 12px 26px -18px rgba(8,59,99,.45); transform: translateY(-2px); } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) :is(.dashboard-card, .course-card) .card-img-top, :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) :is(.dashboard-card, .course-card) .card-img { border-radius: 0; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) :is(.dashboard-card, .course-card) .card-body { padding: 16px 18px 10px; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) :is(.dashboard-card, .course-card) .card-footer { background: #fff; border-top: 0; padding: 0 18px 14px; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) :is(.dashboard-card, .course-card) a.coursename, :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) :is(.dashboard-card, .course-card) .coursename { color: var(--ea-navy); font-weight: 700; font-size: 17px; line-height: 1.35; text-decoration: none; white-space: normal; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) :is(.dashboard-card, .course-card) a.coursename:hover { color: var(--ea-blue); } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) :is(.dashboard-card, .course-card) .categoryname, :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) :is(.dashboard-card, .course-card) .text-muted { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5a6b78 !important; } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) .progress { height: 6px; border-radius: 3px; background: var(--ea-line); } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) .progress-bar { background: var(--ea-gold); } :is(body.pagelayout-mydashboard, body.pagelayout-mycourses) .course-listitem { border: 1px solid var(--ea-line); border-radius: 12px; margin-bottom: 12px; } body.pagelayout-mydashboard .calendarwrapper .current .calendar-header { color: var(--ea-navy); } body.pagelayout-mydashboard .calendarmonth th { color: var(--ea-navy); font-weight: 700; border-color: var(--ea-line); } body.pagelayout-mydashboard .calendarmonth td { border-color: var(--ea-line); } body.pagelayout-mydashboard .calendarmonth td.today .day-number-circle { background: var(--ea-blue); color: #fff; } body.pagelayout-mydashboard .calendarmonth h2, body.pagelayout-mydashboard .calendar-controls .current { color: var(--ea-navy); font-weight: 700; } body.pagelayout-mydashboard .block_timeline hr, body.pagelayout-mydashboard .block_timeline .border-bottom { border-color: var(--ea-line) !important; } body.path-course-index:not([class*="category-"]) .course_category_tree > .content > .subcategories > .category, body.path-course-index.category-0 .course_category_tree > .content > .subcategories > .category { border: 1px solid var(--ea-line); border-radius: 12px; background: #fff; padding: 14px 18px; margin: 0 0 12px; transition: border-color .2s, box-shadow .2s; } body.path-course-index .course_category_tree > .content > .subcategories > .category:hover { border-color: #c9d6e3; box-shadow: 0 10px 22px -18px rgba(8,59,99,.45); } body.path-course-index .course_category_tree .category > .info .categoryname { font-size: 18px; font-weight: 700; margin: 0; } body.path-course-index .course_category_tree .category > .info .categoryname a { color: var(--ea-navy); text-decoration: none; } body.path-course-index .course_category_tree .category > .info .categoryname a:hover { color: var(--ea-blue); } body.path-course-index .course_category_tree .collapsible-actions a { color: var(--ea-blue); font-weight: 700; } body.path-course-index #action_bar { background: var(--ea-soft); border: 1px solid var(--ea-line); border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; } body.path-course-index #action_bar .row { margin: 0; align-items: center; } body.path-course-index #action_bar .simplesearchform .btn { background: var(--ea-blue); border-color: var(--ea-blue); color: #fff; } body.pagelayout-admin #region-main h2, body.pagelayout-admin #region-main h3 { color: var(--ea-navy); font-weight: 700; } body.pagelayout-admin .nav-tabs { border-bottom-color: var(--ea-line); } body.pagelayout-admin .nav-tabs .nav-link { color: var(--ea-ink); font-weight: 600; border: 0; border-bottom: 3px solid transparent; } body.pagelayout-admin .nav-tabs .nav-link:hover { color: var(--ea-blue); border-bottom-color: var(--ea-line); } body.pagelayout-admin .nav-tabs .nav-link.active { color: var(--ea-navy); background: transparent; border-bottom-color: var(--ea-blue); } body.pagelayout-admin .admin_colourpicker, body.pagelayout-admin .form-item { border-color: var(--ea-line); } body.pagelayout-admin #region-main a:not(.btn):not(.nav-link) { color: var(--ea-blue); } body.pagelayout-admin .adminsearchform { background: var(--ea-soft); border: 1px solid var(--ea-line); border-radius: 12px; padding: 16px 18px; } body.pagelayout-admin #region-main :is(h2, h3, h4) a { color: var(--ea-navy) !important; text-decoration: none; } body.path-course-index #action_bar .navitem { margin-bottom: 0; } body.path-course-index:not(.category-13) .courses.category-browse { display: flex; flex-direction: column; gap: 16px; } body.path-course-index:not(.category-13) .courses .coursebox { position: relative; display: grid; grid-template-columns: 220px 1fr; grid-template-rows: auto 1fr; column-gap: 24px; row-gap: 8px; align-items: start; margin: 0; padding: 16px; background: #fff; border: 1px solid var(--ea-line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; } body.path-course-index:not(.category-13) .courses .coursebox:hover { border-color: #c9d6e3; box-shadow: 0 10px 24px -16px rgba(8,59,99,.4); } body.path-course-index:not(.category-13) .courses .coursebox > .content, body.path-course-index:not(.category-13) .courses .coursebox > .content > .d-flex { display: contents !important; } body.path-course-index:not(.category-13) .courses .coursebox .courseimage { grid-column: 1; grid-row: 1 / span 2; width: 100%; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; border-radius: 8px; background: var(--ea-navy); } body.path-course-index:not(.category-13) .courses .coursebox .courseimage img { width: 100%; height: 100%; max-width: none; max-height: none !important; object-fit: cover; display: block; transition: transform .5s ease; } body.path-course-index:not(.category-13) .courses .coursebox:hover .courseimage img { transform: scale(1.04); } body.path-course-index:not(.category-13) .courses .coursebox:not(:has(.courseimage))::before { content: ""; grid-column: 1; grid-row: 1 / span 2; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #083b63 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.28' stroke-width='1.6'%3E%3Cpath d='M70 90a90 90 0 0 1 90-90'/%3E%3Cpath d='M95 90a65 65 0 0 1 65-65'/%3E%3Cpath d='M120 90a40 40 0 0 1 40-40'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom / cover; } body.path-course-index:not(.category-13) .courses .coursebox > .info { grid-column: 2; grid-row: 1; float: none; width: auto; margin: 0; padding: 2px 0 0; display: flex; align-items: flex-start; gap: 10px; } body.path-course-index:not(.category-13) .courses .coursebox .coursename { font-size: 18px; line-height: 1.35; font-weight: 700; margin: 0; flex: 1; } body.path-course-index:not(.category-13) .courses .coursebox .coursename a { color: var(--ea-navy); text-decoration: none; } body.path-course-index:not(.category-13) .courses .coursebox .coursename a::after { content: ""; position: absolute; inset: 0; z-index: 1; } body.path-course-index:not(.category-13) .courses .coursebox:hover .coursename a { color: var(--ea-blue); } body.path-course-index:not(.category-13) .courses .coursebox .moreinfo:empty { display: none; } body.path-course-index:not(.category-13) .courses .coursebox .enrolmenticons { flex: none; display: flex; gap: 6px; margin: 0; padding: 0; position: relative; z-index: 2; } body.path-course-index:not(.category-13) .courses .coursebox .enrolmenticons .icon { width: 30px; height: 30px; margin: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--ea-line); color: var(--ea-navy); font-size: 13px; } body.path-course-index:not(.category-13) .courses .coursebox .content .flex-grow-1 { grid-column: 2; grid-row: 2; padding: 0; margin: 0; } body.path-course-index:not(.category-13) .courses .coursebox .summary { margin: 0 0 8px; color: var(--ea-ink); font-size: 15px; line-height: 1.55; } body.path-course-index:not(.category-13) .courses .coursebox .summary p:last-child { margin-bottom: 0; } body.path-course-index:not(.category-13) .courses .coursebox .customfields-container { margin: 0; padding: 0; } body.path-course-index:not(.category-13) .courses .coursebox .customfield { display: inline-block; font-size: 14px; color: var(--ea-ink); } body.path-course-index:not(.category-13) .courses .coursebox .customfield .customfieldname { color: var(--ea-navy); } body.path-course-index:not(.category-13) .generalbox.info { margin: 4px 0 20px; padding: 0 !important; color: var(--ea-ink); max-width: 72ch; } @media (max-width: 575px) { body.path-course-index:not(.category-13) .courses .coursebox { grid-template-columns: 1fr; grid-template-rows: auto; } body.path-course-index:not(.category-13) .courses .coursebox .courseimage, body.path-course-index:not(.category-13) .courses .coursebox:not(:has(.courseimage))::before { grid-row: 1; } body.path-course-index:not(.category-13) .courses .coursebox > .info { grid-column: 1; grid-row: 2; } body.path-course-index:not(.category-13) .courses .coursebox .content .flex-grow-1 { grid-column: 1; grid-row: 3; } } .ea-home a[href="#"], .ea-footer a[href="#"] { display: none !important; } #page-footer { background: transparent !important; padding: 0 !important; min-height: 0; } #page > .ea-footer { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); } .ea-footer .ea-inner { max-width: 1080px; margin: 0 auto; } @media (max-width: 767px) { .ea-ecobar .ea-ecobar-inner > span:first-child { white-space: nowrap; overflow-x: auto; scrollbar-width: none; } .ea-ecobar a { margin-right: 14px; } } .ea-band .ea-inner > div { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.85); } .ea-band .ea-inner > div > strong { display: block; font-size: 32px; line-height: 1.1; font-weight: 700; color: #ebc66c; margin-bottom: 6px; } body.path-course-index #page.drawers .main-inner, body.path-course-index.limitedwidth #page.drawers .main-inner, body.path-course-index #page-header.header-maxwidth, body.path-course-index .header-maxwidth { max-width: 1240px !important; } body.path-course-index .courses .coursebox { grid-template-columns: 300px 1fr !important; } body.category-13 .ea-cat-hero .ea-sub { max-width: 70ch; } body.path-course-index #page-navbar .breadcrumb { padding-left: 0; margin-left: 0; } @media (max-width: 575px) { body.path-course-index .courses .coursebox { grid-template-columns: 1fr !important; } } body.pagelayout-frontpage #page-header.header-maxwidth, body.pagelayout-frontpage #page-header { width: 100vw; max-width: none !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; padding-left: max(20px, calc((100vw - 1080px) / 2)) !important; padding-right: max(20px, calc((100vw - 1080px) / 2)) !important; } body.pagelayout-frontpage #page-header .page-context-header { justify-content: flex-start; } body.pagelayout-frontpage #page-header .page-header-headings { text-align: left; }

/* ===== ea-allineamento ===== */
@media (min-width: 768px) { .navbar.fixed-top > .container-fluid { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; } } .ea-ecobar .ea-ecobar-inner { max-width: 1120px; } .ea-footer h4 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; } .ea-footer a { font-size: 14px; margin-bottom: 7px; } .ea-footer .ea-payoff { font-size: 13.5px; } .ea-footer { border-top: 1px solid rgba(255,255,255,.18); } .ea-band .ea-inner, .ea-cta .ea-inner { padding-left: 0; padding-right: 0; } body.pagelayout-frontpage #page.drawers .main-inner { padding-bottom: 0 !important; margin-bottom: 0 !important; } body.pagelayout-frontpage #page-content { padding-bottom: 0 !important; } body.pagelayout-frontpage .course-content, body.pagelayout-frontpage .course-content ul.topics, body.pagelayout-frontpage .course-content li.section, body.pagelayout-frontpage #region-main .summarytext, body.pagelayout-frontpage #region-main .my-3 { margin-bottom: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; } body.pagelayout-frontpage .course-content .section-item { margin-bottom: 0 !important; } body.pagelayout-frontpage #region-main > div > br { display: none; }

/* ===== ea-v3-fix ===== */
/* Correzioni v3 (interim via HTML aggiuntivo) — Casaleggio Associati 26/10/2026.
   Replicate anche nel tema enasarco_academy v0.3.0: con il tema aggiornato
   questo blocco si può rimuovere. */
body.pagelayout-frontpage:not(.editing) #page-header { display: none; }
body.pagelayout-frontpage:not(.editing) .secondary-navigation { display: none; }
body.pagelayout-frontpage #page-header { padding: 0; margin: 0; }
body.pagelayout-frontpage #page-header .page-header-headings { display: none; }
body.pagelayout-frontpage .ea-home > div { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
body.pagelayout-frontpage { overflow-x: visible !important; }
body.path-mod-scorm #region-main h2:first-of-type { display: none; }
body.pagelayout-frontpage.notloggedin .drawer-right-toggle,
body.pagelayout-frontpage.notloggedin .drawer-toggles { display: none; }
.navbar .logo { max-height: 44px; }
/* Icona attivita SCORM in stile brand (al posto del cubo arancione) */
.modtype_scorm .activityiconcontainer, .path-mod-scorm #page-header .activityiconcontainer { background: rgba(29,113,184,.13) !important; }
.modtype_scorm img.activityicon, .path-mod-scorm #page-header img.activityicon { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23083b63' stroke-width='1.8'/%3E%3Cpath d='M10 8.6 L15.8 12 L10 15.4 Z' fill='%23ebc66c' stroke='%23083b63' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E"); filter: none !important; }
/* Moodle 4.5: colonna della home a tutta larghezza (il limite sta su #topofscroll.main-inner) */
body.pagelayout-frontpage #topofscroll.main-inner, body.pagelayout-frontpage .main-inner { max-width: none !important; padding: 0 !important; margin-top: 0 !important; }
body.pagelayout-frontpage #page.drawers { padding-left: 0 !important; padding-right: 0 !important; }
body.pagelayout-frontpage #region-main, body.pagelayout-frontpage #region-main > div { padding: 0 !important; border: 0; background: transparent; }
body.pagelayout-frontpage #page-content { padding-bottom: 0 !important; }

/* ===== ea-v4-allineamento ===== */
:root { --ea-col: 1440px; --ea-gut: 48px; }
@media (max-width: 991.98px) { :root { --ea-gut: 20px; } }
/* Barra ecosistema + banda logo */
.ea-ecobar .ea-ecobar-inner { max-width: var(--ea-col) !important; padding-left: var(--ea-gut) !important; padding-right: var(--ea-gut) !important; margin-left: auto !important; margin-right: auto !important; }
@media (min-width: 768px) {
  .navbar.fixed-top { padding-left: 0 !important; padding-right: 0 !important; }
  .navbar.fixed-top > .container-fluid { max-width: var(--ea-col) !important; padding-left: var(--ea-gut) !important; padding-right: var(--ea-gut) !important; margin-left: auto !important; margin-right: auto !important; }
}
/* Home e footer: stessa colonna */
.ea-hero-inner, .ea-home .ea-inner, .ea-footer .ea-inner { max-width: calc(var(--ea-col) - 2 * var(--ea-gut)) !important; }
@media (min-width: 768px) {
  .ea-hero, .ea-home .ea-section, .ea-band, .ea-cta, .ea-footer { padding-left: var(--ea-gut) !important; padding-right: var(--ea-gut) !important; }
}
/* Pagine interne (catalogo, corsi, moduli): colonna allineata al logo, titoli a sinistra */
@media (min-width: 768px) {
  body:not(.pagelayout-frontpage) #page.drawers { padding-left: var(--ea-gut) !important; padding-right: var(--ea-gut) !important; }
  body:not(.pagelayout-frontpage) #page.drawers .main-inner,
  body.limitedwidth:not(.pagelayout-frontpage) #page.drawers .main-inner,
  body:not(.pagelayout-frontpage) .header-maxwidth,
  body:not(.pagelayout-frontpage) #page-header.header-maxwidth { max-width: calc(var(--ea-col) - 2 * var(--ea-gut)) !important; margin-left: auto !important; margin-right: auto !important; padding-left: 0 !important; padding-right: 0 !important; }
  body:not(.pagelayout-frontpage) #region-main,
  body:not(.pagelayout-frontpage) #region-main > div { padding-left: 0 !important; padding-right: 0 !important; }
  body:not(.pagelayout-frontpage) #page-navbar .breadcrumb { padding-left: 0 !important; margin-left: 0 !important; }
  body:not(.pagelayout-frontpage) .secondary-navigation .navigation { padding-left: 0 !important; padding-right: 0 !important; margin-left: -16px !important; }
  body:not(.pagelayout-frontpage) .secondary-navigation .navigation .nav-tabs { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; justify-content: flex-start !important; }
  body:not(.pagelayout-frontpage) #page > .ea-footer { width: auto !important; margin-left: calc(-1 * var(--ea-gut)) !important; margin-right: calc(-1 * var(--ea-gut)) !important; }
}
.page-context-header, .page-header-headings, #page-header h1, .activity-header { text-align: left !important; justify-content: flex-start !important; margin-left: 0 !important; }
/* SCORM: niente albero dei contenuti (es. "CYB6_MOD1_LEZ3_...") accanto al video */
body.path-mod-scorm #scorm_toc, body.path-mod-scorm #scorm_toc_toggle { display: none !important; }
body.path-mod-scorm #scorm_content { width: 100% !important; left: 0 !important; margin-left: 0 !important; }
/* Pagine con l'indice del corso aperto: banda in alto allineata ai testi dell'indice */
@media (min-width: 768px) { body:has(#page.show-drawer-left) .navbar.fixed-top > .container-fluid, body:has(#page.show-drawer-left) .ea-ecobar .ea-ecobar-inner { max-width: none !important; padding-left: 17px !important; } }
/* Banda in alto più alta e ariosa: barra ecosistema 42px + barra logo 80px */
:root { --ea-eco-h: 42px; --ea-nav-h: 80px; --ea-head: calc(var(--ea-eco-h) + var(--ea-nav-h)); }
.ea-ecobar { height: var(--ea-eco-h) !important; font-size: 14px !important; }
body:not(.pagelayout-popup) .navbar.fixed-top { top: var(--ea-eco-h) !important; height: var(--ea-nav-h) !important; min-height: var(--ea-nav-h) !important; }
.navbar.fixed-top .navbar-brand .logo, .navbar .logo { max-height: 58px !important; }
.navbar.fixed-top > .container-fluid { height: 100%; }
.navbar.fixed-top .primary-navigation, .navbar.fixed-top .primary-navigation .navigation, .navbar.fixed-top .primary-navigation .nav-link { height: calc(var(--ea-nav-h) - 1px) !important; }
.navbar.fixed-top .primary-navigation .nav-link { font-size: 15px; }
body:not(.pagelayout-popup) #page, body:not(.pagelayout-popup) #page.drawers { margin-top: var(--ea-head) !important; }
body:not(.pagelayout-popup) .drawer-left, body:not(.pagelayout-popup) .drawer-right, body:not(.pagelayout-popup) [data-region="right-hand-drawer"].drawer { top: var(--ea-head) !important; height: calc(100vh - var(--ea-head)) !important; }
.drawer-toggles .drawer-toggler { top: calc(var(--ea-head) + 0.7rem) !important; }
.navbar .popover-region-container { top: var(--ea-nav-h) !important; }
.navbar.fixed-top .dropdown .dropdown-menu { max-height: calc(100vh - var(--ea-head)) !important; }
html { scroll-padding-top: var(--ea-head); }
/* Card corsi in home: niente cerchi fini sovrapposti a destra della miniatura (restano quelli bianchi della foto) */
.ea-course-thumb::after { display: none !important; }

/* ===== ea-brandbook ===== */
:root {
  --ea-navy:#083b63; --ea-grigio:#e2e2e2; --ea-blue:#1d71b8; --ea-gold:#ebc66c; --ea-brown:#936037;
  --ea-ink:#083b63; --ea-line:#e2e2e2; --ea-soft:#ffffff;
  --bs-body-color:#083b63; --bs-emphasis-color:#083b63; --bs-secondary-color:#083b63; --bs-tertiary-color:#083b63;
  --bs-heading-color:#083b63; --bs-border-color:#e2e2e2; --bs-link-color:#1d71b8; --bs-link-hover-color:#083b63;
}
/* Testi su chiaro: navy (slide 7). Niente grigi/blu di risulta di Moodle */
body, #region-main, .text-body, .text-dark, .text-muted, .text-secondary, .dimmed_text, .small.text-muted,
.navbar.fixed-top .nav-link, .navbar.fixed-top .usermenu, .drawer, .courseindex .courseindex-link,
.ea-home p, .ea-home .ea-meta, .ea-course-body p, .activity-item, .activity-item .activityname,
.block, .block .card-title, .breadcrumb-item.active, .secondary-navigation .nav-link, .page-header-headings h1 { color: var(--ea-navy) !important; }
.courseindex .courseindex-link.dimmed, .courseindex .dimmed { color: var(--ea-navy) !important; opacity: .55; }
/* Testi su navy: bianco */
.ea-hero p, .ea-hero span, .ea-band .ea-inner > div, .ea-cta p, .ea-footer a, .ea-footer span, .ea-footer em, .ea-cat-hero .ea-sub, .ea-ecobar a, .ea-ecobar span { color: #ffffff !important; }
/* Separatori, bordi e fondi neutri: grigio #e2e2e2 o bianco */
.ea-section--soft, .tertiary-navigation, #action_bar, .adminsearchform, .drawer, .drawer-left { background-color: #ffffff !important; }
.ea-section--soft { border-top: 1px solid var(--ea-grigio); border-bottom: 1px solid var(--ea-grigio); }
.navbar .divider, .card, .block.card, .coursebox, .course-card, .dashboard-card, .ea-course, .border, .border-top, .border-bottom, .border-start, .border-end, hr,
.secondary-navigation .nav-tabs, .tertiary-navigation, #action_bar, .form-control, .custom-select, .form-select, .btn-secondary, .btn-outline-secondary { border-color: var(--ea-grigio) !important; }
.navbar .divider { background-color: var(--ea-grigio) !important; }
.userinitials { background-color: var(--ea-grigio) !important; color: var(--ea-navy) !important; }
/* Bottoni: azzurro, hover navy (niente blu derivati) */
.btn-primary, .btn-primary:focus { background-color: var(--ea-blue) !important; border-color: var(--ea-blue) !important; color: #fff !important; }
.btn-primary:hover, .btn-primary:active, .simplesearchform .btn:hover { background-color: var(--ea-navy) !important; border-color: var(--ea-navy) !important; color: #fff !important; }
.btn-secondary, .btn-outline-secondary { background-color: #fff !important; color: var(--ea-navy) !important; }
.btn-secondary:hover, .btn-outline-secondary:hover { background-color: var(--ea-grigio) !important; color: var(--ea-navy) !important; }
.btn-icon, .btn-icon:hover { background-color: transparent !important; }
a:hover, a:focus { color: var(--ea-navy); }
:focus-visible, .form-control:focus, .form-select:focus { box-shadow: 0 0 0 3px var(--ea-gold) !important; outline: none; }
/* Scala tipografica: H1 34 · H2 28 · H3 18 · corpo 14 */
#page-header h1, .page-header-headings h1, .ea-hero h1, .ea-cat-hero h1, #region-main h1 { font-size: 34px !important; line-height: 1.15 !important; }
.ea-home h2, #region-main h2:not(.sr-only):not(.visually-hidden) { font-size: 28px !important; line-height: 1.2 !important; }
.ea-home h3, .ea-course-body h3, #region-main h3, .course-section .sectionname, .course-section h3.sectionname, .block .card-title, h3.card-title, .block h3, .calendar-controls .current, .coursebox .coursename { font-size: 18px !important; line-height: 1.35 !important; }
body, #region-main p, #region-main li, #region-main td, .ea-home p, .ea-course-body p { font-size: 14px; }
.ea-hero p, .ea-cat-hero .ea-sub { font-size: 16px !important; }
/* Icone: un solo set lineare, navy, senza fondi colorati */
.activityiconcontainer, .modtype_scorm .activityiconcontainer, .path-mod-scorm #page-header .activityiconcontainer { background: transparent !important; border: 1px solid var(--ea-grigio) !important; }
.activityiconcontainer img.activityicon, .activityiconcontainer .icon, img.activityicon { filter: brightness(0) invert(18%) sepia(30%) saturate(2400%) hue-rotate(178deg) brightness(100%) !important; }
.modtype_scorm img.activityicon, .path-mod-scorm #page-header img.activityicon { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23083b63' stroke-width='1.8' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M10 8.6 L15.8 12 L10 15.4 Z'/%3E%3C/g%3E%3C/svg%3E") !important; filter: none !important; }
/* Archi come pattern d'angolo: bianco pieno, orientamento originale */
body.category-13 .ea-cat-hero::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 210'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='14'%3E%3Cpath d='M30 240a240 240 0 0 1 300-232'/%3E%3Cpath d='M75 240a195 195 0 0 1 255-186'/%3E%3Cpath d='M120 240a150 150 0 0 1 210-138'/%3E%3Cpath d='M165 240a105 105 0 0 1 165-88'/%3E%3C/g%3E%3C/svg%3E") !important; opacity: 1 !important; }
/* I token ea-* definiti sulle pagine convergono sulla palette */
html body { --ea-line:#e2e2e2 !important; --ea-ink:#083b63 !important; --ea-soft:#ffffff !important; --ea-navy:#083b63 !important; --ea-blue:#1d71b8 !important; --ea-gold:#ebc66c !important; color:#083b63; }
.ea-ecobar, .ea-ecobar-inner { color:#ffffff !important; }
.btn, .btn-secondary, .btn-outline-primary, .btn-outline-secondary, .icon-no-margin { border-color: var(--ea-grigio) !important; }
.coursebox:hover, .course-card:hover, .dashboard-card:hover, .ea-course:hover, .category:hover { border-color: var(--ea-navy) !important; }
.btn-outline-light { color:#ffffff !important; border-color:#ffffff !important; }
.btn-outline-light:hover { background:#ffffff !important; color:#083b63 !important; }
.ea-hero *:not(.btn):not(.ea-eyebrow):not(h1), .ea-band *:not(strong):not(b), .ea-cta *:not(.btn):not(h2) { color:#ffffff !important; }
.ea-quote { background:#ffffff !important; border-top:1px solid #e2e2e2; border-bottom:1px solid #e2e2e2; }
.ea-quote cite, .ea-home cite { color:#083b63 !important; }
.dropdown-item, .sectionname a, .course-section .sectionname, .course-section-header a, .aalink, .activityname a, .instancename { color:#083b63 !important; }
.dropdown-item:hover, .dropdown-item:focus { background-color:#e2e2e2 !important; color:#083b63 !important; }
.dropdown-item.active, .dropdown-item:active { background-color:#1d71b8 !important; color:#ffffff !important; }
#region-main .btn.btn-icon, .drawer .btn.btn-icon, .btn.icon-no-margin, .btn-sm { background-color:transparent !important; border-color:#e2e2e2 !important; }
.availabilityinfo, .isrestricted { background-color:#ffffff !important; border:1px solid #e2e2e2 !important; color:#083b63 !important; }
.section-item, .course-section, .course-content .section, li.activity, .activity-item { border-color:#e2e2e2 !important; }
.btn-sm, .btn.btn-sm { color:#083b63 !important; }
.ea-band b, .ea-band strong { color:#ebc66c !important; }
/* Titolo della home su due righe */
.ea-hero h1 { max-width: 32ch !important; text-wrap: balance; }
/* Immagini dei corsi rettangolari, senza angoli arrotondati */
.ea-course-thumb, .ea-course-thumb img, .courses .coursebox .courseimage, .courses .coursebox .courseimage img, .coursebox:not(:has(.courseimage))::before { border-radius: 0 !important; }
/* Copertine nella sezione Introduzione dei corsi: rettangolari come nella home */
li.course-section[data-number="0"] .summarytext img.img-fluid, li.course-section[data-number="0"] .summarytext img { border-radius: 0 !important; }

/* ===== ep-brand-2026 ===== */
/* === Enasarco: grafica allineata a Brand Book e Community (nov 2026) === */
body{font-family:"Titillium Web","Segoe UI",Arial,sans-serif!important;color:#083b63}
a{color:#1d71b8}
.ea-ecobar{background:#083b63!important}
nav.navbar{background:#fff!important;border-bottom:1px solid #e2e2e2!important;box-shadow:none!important}
nav.navbar .primary-navigation .nav-link{color:#083b63!important;font-size:16px!important;font-weight:600!important;border-bottom-color:transparent!important}
nav.navbar .primary-navigation .nav-link.active,nav.navbar .primary-navigation .nav-link:hover{border-bottom:3px solid #ebc66c!important}
nav.navbar .usermenu .login a{display:inline-block;border:1px solid #083b63;border-radius:6px;padding:6px 16px;font-size:15px;font-weight:700;color:#083b63!important;text-decoration:none}
nav.navbar .usermenu .login a:hover{background:#083b63;color:#fff!important}
.btn{border-radius:6px!important;font-weight:700!important}
.btn-primary{background:#1d71b8!important;border-color:#1d71b8!important;color:#fff!important}
.btn-primary:hover{background:#165d98!important;border-color:#165d98!important}
.ea-home .btn-outline-light{border:2px solid #fff!important}
.ea-home .btn-outline-light:hover{background:#fff!important;color:#083b63!important}
.ea-home{font-size:16px;line-height:1.55}
.ea-home p{font-size:16px!important;line-height:1.55!important}
.ea-home .ea-card p,.ea-home .ea-course p,.ea-home .ea-step p{font-size:15px!important}
.ea-home h2{font-size:30px!important;font-weight:700!important}
.ea-section h2{color:#083b63}
.ea-section h3{font-weight:700!important;color:#083b63}
.ea-kicker{color:rgba(8,59,99,.8)!important;font-size:13px!important;letter-spacing:1.5px!important;text-transform:uppercase}
.ea-hero{position:relative;overflow:hidden;background:#083b63!important;border-radius:16px;width:calc(100% - 48px);max-width:1344px;margin:32px auto 0!important;padding:40px 48px!important}
.ea-hero:after{content:"";position:absolute;right:0;bottom:0;width:320px;height:320px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20420%20420%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.08%22%20stroke-width%3D%2222%22%3E%3Cpath%20d%3D%22M20%20420A400%20400%200%200%201%20420%2020%22/%3E%3Cpath%20d%3D%22M80%20420A340%20340%200%200%201%20420%2080%22/%3E%3Cpath%20d%3D%22M140%20420A280%20280%200%200%201%20420%20140%22/%3E%3Cpath%20d%3D%22M200%20420A220%20220%200%200%201%20420%20200%22/%3E%3Cpath%20d%3D%22M260%20420A160%20160%200%200%201%20420%20260%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;pointer-events:none}
body .ea-home > div.ea-hero,body.pagelayout-frontpage .ea-home > div.ea-hero{margin:32px auto 0!important}
.ea-hero-inner{position:relative;z-index:1;max-width:none!important;margin:0!important}
.ea-hero h1{display:flex;align-items:center;gap:18px;font-size:34px!important;line-height:1.15!important;font-weight:700!important;color:#fff!important}
.ea-hero h1:before{content:"";flex:0 0 56px;height:56px;border-radius:50%;background:#ebc66c url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23083b63%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%205h6a4%204%200%200%201%204%204v11a3%203%200%200%200-3-3H2z%22/%3E%3Cpath%20d%3D%22M22%205h-6a4%204%200%200%200-4%204v11a3%203%200%200%201%203-3h7z%22/%3E%3C/svg%3E") no-repeat center/28px}
.ea-eyebrow{color:#ebc66c!important;font-weight:700!important;letter-spacing:1.5px!important}
.ea-home .ea-sub{font-size:18px!important;line-height:1.55!important;color:rgba(255,255,255,.88)!important}
.ea-trust{color:rgba(255,255,255,.88)!important;border-top:0!important}
.ea-section{background:#fff}
.ea-section--soft{background:rgba(226,226,226,.45)!important}
.ea-card{border:0!important;border-top:5px solid #ebc66c!important;border-radius:10px!important;box-shadow:0 1px 3px rgba(8,59,99,.12)!important;transition:transform .12s}
.ea-card:hover,.ea-course:hover{transform:translateY(-2px)}
.ea-card h3,.ea-course h3{font-size:19px!important}
.ea-course{border:0!important;border-radius:10px!important;overflow:hidden;box-shadow:0 1px 3px rgba(8,59,99,.12)!important;transition:transform .12s}
.ea-course-body{padding:18px 20px 20px!important}
.ea-tag{border-radius:3px!important;letter-spacing:.8px!important;text-transform:uppercase}
.ea-tag--members{background:rgba(29,113,184,.1)!important;color:#1d71b8!important}
.ea-go{color:#1d71b8!important;font-weight:700!important}
.ea-meta{color:rgba(8,59,99,.8)!important}
.ea-n{background:#ebc66c!important;color:#083b63!important;font-weight:700!important}
.ea-band{background:#083b63!important}
.ea-quote blockquote{border-left:5px solid #ebc66c!important;background:rgba(226,226,226,.45);border-radius:0 10px 10px 0;padding:18px 24px!important}
.ea-quote blockquote p{font-size:19px!important;line-height:1.5!important;color:#083b63}
.ea-cta{background:#083b63!important}
.ea-footer{background:#083b63!important}
/* === fine === */

/* ===== ep-brand-catalogo ===== */
/* === Enasarco: catalogo corsi come la community (nov 2026) === */
body.pagelayout-coursecategory #page-header .page-context-header{position:relative;overflow:hidden;background:#083b63;border-radius:16px;padding:40px 48px!important;margin:8px 0 24px}
body.pagelayout-coursecategory #page-header .page-context-header:after{content:"";position:absolute;right:0;bottom:0;width:320px;height:320px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20420%20420%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.08%22%20stroke-width%3D%2222%22%3E%3Cpath%20d%3D%22M20%20420A400%20400%200%200%201%20420%2020%22/%3E%3Cpath%20d%3D%22M80%20420A340%20340%200%200%201%20420%2080%22/%3E%3Cpath%20d%3D%22M140%20420A280%20280%200%200%201%20420%20140%22/%3E%3Cpath%20d%3D%22M200%20420A220%20220%200%200%201%20420%20200%22/%3E%3Cpath%20d%3D%22M260%20420A160%20160%200%200%201%20420%20260%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;pointer-events:none}
body.pagelayout-coursecategory #page-header .page-context-header > *{position:relative;z-index:1}
body.pagelayout-coursecategory #page-header h1{display:flex;align-items:center;gap:18px;color:#fff!important;font-size:34px!important;font-weight:700!important;line-height:1.15!important}
body.pagelayout-coursecategory #page-header h1:before{content:"";flex:0 0 56px;height:56px;border-radius:50%;background:#ebc66c url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23083b63%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%205h6a4%204%200%200%201%204%204v11a3%203%200%200%200-3-3H2z%22/%3E%3Cpath%20d%3D%22M22%205h-6a4%204%200%200%200-4%204v11a3%203%200%200%201%203-3h7z%22/%3E%3C/svg%3E") no-repeat center/28px}
body.pagelayout-coursecategory .ea-cat-note{font-size:17px!important;color:rgba(8,59,99,.82)!important}
body.pagelayout-coursecategory .tertiary-navigation{background:#fff;border:0!important;border-radius:12px!important;box-shadow:0 1px 3px rgba(8,59,99,.12)!important}
body.pagelayout-coursecategory .form-control,body.pagelayout-coursecategory .custom-select,body.pagelayout-coursecategory .form-select{border:1px solid #e2e2e2!important;border-radius:8px!important;font-size:16px!important;color:#083b63}
body.pagelayout-coursecategory .tertiary-navigation .input-group .form-control{border-radius:8px 0 0 8px!important}
body.pagelayout-coursecategory .tertiary-navigation .input-group .btn{background:#1d71b8!important;border-color:#1d71b8!important;color:#fff!important;border-radius:0 8px 8px 0!important}
body.pagelayout-coursecategory .coursebox{border:0!important;border-top:5px solid #ebc66c!important;border-radius:12px!important;box-shadow:0 1px 3px rgba(8,59,99,.12)!important;padding:20px!important;margin-bottom:20px!important;transition:transform .12s}
body.pagelayout-coursecategory .coursebox:hover{transform:translateY(-2px)}
body.pagelayout-coursecategory .coursebox .courseimage img,body.pagelayout-coursecategory .coursebox .courseimage{border-radius:10px;overflow:hidden}
body.pagelayout-coursecategory .coursebox .coursename a{color:#083b63!important;font-weight:700!important;font-size:24px!important;text-decoration:none!important}
body.pagelayout-coursecategory .coursebox .coursename a:hover{color:#1d71b8!important}
body.pagelayout-coursecategory .coursebox .customfieldvalue{border-radius:3px!important;font-size:12px!important;letter-spacing:1px!important;padding:4px 10px!important;font-weight:700!important;text-transform:uppercase}
body.pagelayout-coursecategory .coursebox .enrolmenticons .icon{color:#1d71b8!important}
body.pagelayout-coursecategory #page-header .me-auto,body.pagelayout-coursecategory #page-header .page-context-header{width:100%!important;flex:1 1 100%!important;max-width:none!important}
/* === fine catalogo === */

/* ===== ep-brand-catalogo-ricerca ===== */
/* === Enasarco: ricerca del catalogo dentro la banda, come nei Mandati === */
body.pagelayout-coursecategory #page-header .page-context-header{padding-bottom:156px!important;margin-bottom:24px!important}
body.pagelayout-coursecategory #action_bar.tertiary-navigation{position:relative;z-index:2;margin:-148px 48px 64px!important;width:auto!important;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:14px!important;box-shadow:none!important;padding:16px!important}
body.pagelayout-coursecategory #action_bar .custom-select,body.pagelayout-coursecategory #action_bar .form-control{height:52px!important;border:0!important;background-color:#fff!important;font-size:17px!important;color:#083b63!important;padding:0 18px!important}
body.pagelayout-coursecategory #action_bar .custom-select{border-radius:8px!important}
body.pagelayout-coursecategory #action_bar .input-group .form-control{border-radius:8px 0 0 8px!important}
body.pagelayout-coursecategory #action_bar .input-group .btn{height:52px!important;padding:0 22px!important;border-radius:0 8px 8px 0!important;background:#1d71b8!important;border:0!important}
body.pagelayout-coursecategory #action_bar .dropdown-toggle{height:52px!important;background:#fff!important;border:0!important;color:#083b63!important;border-radius:8px!important;padding:0 20px!important;font-size:16px!important}
body.pagelayout-coursecategory #action_bar .navitem{margin-top:0!important;margin-bottom:0!important}
/* === fine === */

/* ===== ep-brand-header ===== */
/* === Enasarco: barra superiore compatta come la community (logo ufficiale su bianco) === */
:root,html,body{--ea-nav-h:52px!important}
nav.navbar .navbar-brand{padding:0!important;margin-right:28px!important;display:flex;align-items:center;height:52px}
nav.navbar .navbar-brand img.logo{max-height:42px!important;height:42px!important;width:auto!important}
nav.navbar .primary-navigation .nav-link{height:52px!important;display:flex!important;align-items:center;padding:0 14px!important;font-size:16px!important;font-weight:600!important;border-top:0!important;border-bottom:3px solid transparent!important}
nav.navbar .primary-navigation .nav-link.active,nav.navbar .primary-navigation .nav-link:hover{border-bottom:3px solid #ebc66c!important}
nav.navbar .usermenu .login a{padding:8px 18px!important;font-size:16px!important}
/* === fine === */

/* ===== ep-brand-ecobar ===== */
/* === Enasarco: barra ecosistema e menu utente === */
.ea-ecobar a[href="https://www.enasarco.it"],.ea-ecobar a.active[href="/"]{display:none!important}
.ea-ecobar a[href="https://community.enasarco.it"]{display:inline-flex!important;align-items:center;gap:8px;background:#1d71b8;color:#fff!important;font-weight:700!important;border-radius:6px;padding:4px 14px!important;text-decoration:none!important;border:0!important}
.ea-ecobar a[href="https://community.enasarco.it"]:before{content:"";width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E") no-repeat center/contain}
.ea-ecobar a[href="https://community.enasarco.it"]:hover{background:#165d98}
nav.navbar .usermenu .dropdown-toggle{border:0!important;box-shadow:none!important}
/* === fine === */

/* ===== ep-brand-topbar ===== */
/* === Enasarco: niente barra blu in alto, "Torna alla community" nella barra bianca === */
:root,html,body{--ea-eco-h:0px!important}
.ea-ecobar{display:none!important}
body:not(.pagelayout-popup) .navbar.fixed-top{top:0!important}
body:not(.pagelayout-popup) #page,body:not(.pagelayout-popup) #page.drawers{margin-top:52px!important}
body:not(.pagelayout-popup) .drawer{top:52px!important;height:calc(100vh - 52px)!important}
nav.navbar .primary-navigation .nav-link{padding:0 11px!important}
.editmode-switch-form label{white-space:nowrap}
a.ep-backcomm{display:inline-flex;align-items:center;gap:8px;background:#1d71b8;color:#fff!important;font-weight:700;font-size:15px;border-radius:6px;padding:7px 14px;margin:0 14px 0 6px;text-decoration:none!important;white-space:nowrap;align-self:center}
a.ep-backcomm:hover{background:#165d98}
a.ep-backcomm svg{flex:none}
/* === fine === */

/* ===== ep-brand-cta ===== */
/* === Enasarco: chiamata finale come le bande della community === */
body .ea-home > div.ea-cta,body.pagelayout-frontpage .ea-home > div.ea-cta{position:relative;overflow:hidden;background:#083b63!important;border-radius:16px;width:calc(100% - 48px);max-width:1344px;margin:40px auto 56px!important;padding:56px 48px!important;text-align:center}
.ea-cta:after{content:"";position:absolute;right:0;bottom:0;width:320px;height:320px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20420%20420%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.08%22%20stroke-width%3D%2222%22%3E%3Cpath%20d%3D%22M20%20420A400%20400%200%200%201%20420%2020%22/%3E%3Cpath%20d%3D%22M80%20420A340%20340%200%200%201%20420%2080%22/%3E%3Cpath%20d%3D%22M140%20420A280%20280%200%200%201%20420%20140%22/%3E%3Cpath%20d%3D%22M200%20420A220%20220%200%200%201%20420%20200%22/%3E%3Cpath%20d%3D%22M260%20420A160%20160%200%200%201%20420%20260%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;pointer-events:none}
.ea-cta .ea-inner{position:relative;z-index:1;max-width:none!important;margin:0!important}
#page #region-main .ea-cta h2{display:inline-flex!important;align-items:center;gap:18px;font-size:38px!important;line-height:1.15!important;color:#fff!important;margin:0 0 26px!important}
#page #region-main .ea-cta h2:before{content:"";flex:0 0 56px;height:56px;border-radius:50%;background:#ebc66c url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23083b63%22%3E%3Cpath%20d%3D%22M9%206.5v11l9-5.5z%22/%3E%3C/svg%3E") no-repeat center/30px}
.ea-cta .ea-cta-btns{display:flex!important;justify-content:center;gap:14px;flex-wrap:wrap;margin:0!important}
.ea-cta .btn-lg{min-width:220px}
/* === fine === */

/* ===== ep-brand-cta-noarcs ===== */
.ea-cta::after,.ea-cta::before{display:none!important;content:none!important;background:none!important}

/* ===== ep-brand-bande ===== */
#page .ea-hero h1{font-size:34px!important;font-weight:700!important;line-height:1.15!important;letter-spacing:normal!important}#page .ea-hero .ea-sub{font-size:18px!important;font-weight:400!important;color:rgba(255,255,255,.88)!important;line-height:1.5!important}

/* ===== ep-acad-2611 ===== */
/* Banda: archi del Brand Book (p.10), ancorati in basso a destra, grandi quanto la banda */
html body .ea-hero{position:relative;overflow:hidden}
html body .ea-hero::after{content:""!important;display:block!important;position:absolute!important;top:0!important;bottom:0!important;right:0!important;left:auto!important;width:auto!important;height:auto!important;aspect-ratio:1/1;opacity:1!important;transform:none!important;pointer-events:none;z-index:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.18'%3E%3Ccircle cx='432.6' cy='579.6' r='239.5' stroke-width='9.0'/%3E%3Ccircle cx='432.6' cy='579.6' r='282.8' stroke-width='12.1'/%3E%3Ccircle cx='432.6' cy='579.6' r='331.5' stroke-width='10.8'/%3E%3Ccircle cx='432.6' cy='579.6' r='379.3' stroke-width='32.7'/%3E%3Ccircle cx='432.6' cy='579.6' r='431.7' stroke-width='33.6'/%3E%3C/g%3E%3C/svg%3E") right bottom/contain no-repeat!important}
html body .ea-hero .ea-hero-inner{position:relative;z-index:2}
/* Banda: proposta 9 (portatile e smartphone con le foto dei corsi) */
html body .ea-hero .ep-h9{position:absolute;z-index:1;right:56px;top:50%;transform:translateY(-50%);width:440px;height:355px;pointer-events:none}
html body .ea-hero .ep-h9 svg{width:100%;height:100%;display:block;overflow:visible}
@media (max-width:1100px){html body .ea-hero .ep-h9{display:none}}
/* Card dei corsi in evidenza: immagine piu alta e barra colorata */
html body .ea-course .ea-course-thumb{position:relative!important;height:160px!important;overflow:hidden}
html body .ea-course .ea-course-thumb img{width:100%!important;height:100%!important;object-fit:cover;object-position:center}
html body .ea-course .ea-course-thumb .ep-bar{position:absolute;left:0;right:0;bottom:0;height:6px;background:#ebc66c;z-index:2}
html body .ea-course .ea-course-thumb.ep-c111 .ep-bar{background:#1d71b8}
html body .ea-course .ea-course-thumb.ep-c112 .ep-bar{background:#936037}

/* ===== ep-btn-bb ===== */
/* Bottoni come Brand Book p.11: azzurro #1d71b8, testo bianco bold, nessun bordo */html body .btn-primary,html body .btn-primary:not(:disabled):not(.disabled):active,html body .btn-primary:not(:disabled):not(.disabled).active,html body .btn-primary:focus,html body .btn-primary.focus{background:#1d71b8!important;border:0!important;color:#fff!important;font-weight:700!important;box-shadow:none!important;outline:none!important;border-radius:6px!important}html body .btn-primary:hover{background:#1d71b8!important;filter:brightness(1.1)}html body .btn-primary:focus-visible{outline:3px solid #ebc66c!important;outline-offset:3px!important}

/* ===== ep-catalogo-archi ===== */
html body .page-context-header{overflow:hidden!important}
html body .ea-hero{overflow:hidden!important}
html body .ea-hero::after{top:auto!important;bottom:0!important;right:0!important;width:470px!important;height:470px!important;aspect-ratio:auto!important}
html body .page-context-header::after{top:auto!important;bottom:0!important;right:0!important;left:auto!important;width:470px!important;height:470px!important;aspect-ratio:auto!important;opacity:1!important;transform:none!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.18'%3E%3Ccircle cx='432.6' cy='579.6' r='239.5' stroke-width='9.0'/%3E%3Ccircle cx='432.6' cy='579.6' r='282.8' stroke-width='12.1'/%3E%3Ccircle cx='432.6' cy='579.6' r='331.5' stroke-width='10.8'/%3E%3Ccircle cx='432.6' cy='579.6' r='379.3' stroke-width='32.7'/%3E%3Ccircle cx='432.6' cy='579.6' r='431.7' stroke-width='33.6'/%3E%3C/g%3E%3C/svg%3E") right bottom/contain no-repeat!important}

/* ===== ep-brandbook-scala ===== */
body{color:#083b63}
@media (min-width:768px){.ea-hero h1,.page-header-headings h1,#page-header h1{font-size:34px!important;line-height:1.15!important}}
.ea-section h2,.ea-wrap h2{font-size:28px!important}
.count-container{background:#936037!important}
.popover-region-container,.popover-region-footer-container,.popover-region-header-container{border-color:#e2e2e2!important}
#page-login-index .container-fluid,#page-login-index #page{background:rgba(226,226,226,.45)!important}
#page-login-index .box{border-color:#e2e2e2!important}

/* ===== ep-footer-logo-css ===== */
html body .page-header-headings h1.h2,html body .page-header-headings h1{font-size:34px!important}@media (max-width:767px){html body .page-header-headings h1{font-size:26px!important}}.ep-flogo{display:block;height:44px;width:auto;margin:0 0 28px;}.ep-flogo-fb{filter:grayscale(1) invert(1) brightness(2) contrast(2);mix-blend-mode:screen}#page-footer .btn-footer-popover,.btn-footer-popover,[data-region="footer-container-popover"]{display:none!important}

/* ===== ep-catalogo-altezza ===== */
@media (min-width:768px){body#page-course-index-category #page-header .page-context-header,body#page-course-index #page-header .page-context-header{padding-top:82px!important;padding-bottom:202px!important;box-sizing:border-box}body#page-course-index-category #action_bar,body#page-course-index #action_bar{margin-top:-194px!important;margin-bottom:110px!important}}

/* ===== ep-no-backcomm ===== */
.ep-backcomm,.ea-ecobar{display:none!important}

/* ===== ep-admin-vista ===== */
html body.ep-is-admin.ea-catalogo-on .course_category_tree{display:block!important;margin-top:40px;padding-top:24px;border-top:1px solid #e2e2e2}html body.ep-is-admin.ea-catalogo-on .course_category_tree::before{content:"Vista amministratore \00B7  tutte le categorie e i corsi";display:block;font-family:"Titillium Web",sans-serif;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(8,59,99,.72);margin-bottom:12px}html body.ep-is-admin .courses .coursebox .moreinfo{display:block!important}

/* ===== ea-catalogo-unico (era nel fondo pagina) ===== */
.customfield_tipo_corso .customfieldname, .customfield_tipo_corso .customfieldseparator { display: none; }
.customfield_tipo_corso .customfieldvalue { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #083b63; color: #ffffff !important; }
.coursebox[data-ea-tipo="aperti"] .customfield_tipo_corso .customfieldvalue, body.category-13 .customfield_tipo_corso .customfieldvalue { background: #ebc66c; color: #083b63 !important; }
body.ea-catalogo-on .course_category_tree { display: none !important; }
.ea-catalogo .ea-cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.ea-catalogo .ea-cat-filter button { min-height: 42px; padding: 0 20px; border-radius: 6px; border: 1px solid #e2e2e2; background: #fff; color: #083b63; font-weight: 700; font-size: 15px; cursor: pointer; }
.ea-catalogo .ea-cat-filter button:hover { border-color: #083b63; }
.ea-catalogo .ea-cat-filter button.is-active { background: #1d71b8; border-color: #1d71b8; color: #fff; }
.ea-catalogo .ea-cat-note { margin: 0 0 22px; font-size: 14px; color: #083b63; }
.ea-catalogo .ea-cat-empty { padding: 18px; border: 1px solid #e2e2e2; border-radius: 12px; }

/* ===== ep-margini-home (1.0.3): banda e chiamata finale della home staccate dai lati, allineate al contenuto ===== */
@media (min-width:768px){html body#page-site-index .ea-hero,html body#page-site-index .ea-cta,html body .ea-home .ea-hero{box-sizing:border-box!important;width:auto!important;max-width:1344px!important;margin-left:max(48px,calc((100% - 1344px)/2))!important;margin-right:max(48px,calc((100% - 1344px)/2))!important;border-radius:16px!important}}
/* ===== ep-no-drawer-toggle (1.0.3): niente quadratino del cassetto blocchi a destra, tranne in Modalità modifica ===== */
body:not(.editing) .drawer-toggles .drawer-right-toggle,body:not(.editing) .drawer-right-toggle{display:none!important}
