@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Open Sans Light'), local('OpenSans-Light');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: local('Open Sans Semibold'), local('OpenSans-Semibold');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Open Sans Bold'), local('OpenSans-Bold');
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: var(--font-primary), sans-serif;
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: auto;
    background-color: #f5f5f5;
    display: inline-flex;
    /*padding-bottom: 15px;*/
}

/* Paragraphs with no margin, only inside the Announcements module (#1016).
   It was a global `p { margin: 0px; }` (added with the reminder form's
   redesign, 18eca3826a), which also took Bootstrap's margin off every
   paragraph of the platform. The module's own layout counts on it (flex
   gaps between the CKEditor paragraphs of cards and previews, labels,
   counters), so it is kept there; :where() keeps it as weak as a bare `p`,
   so every class rule of the module still wins over it as before. */
:where(.esky-announcements, .esky-announcement, .esky-reminder, .esky-modal-backdrop) p {
    margin: 0;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#cm-content > .container {
    padding-bottom: 60px;
    margin-bottom: 60px;
}

body.page_origin_embeddable {
    padding-top: 10px;
}

body.page_origin_embeddable #cm-content > .container {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

select {
    width: auto;
}

.header-ol {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    text-align: right;
}

.header-ol li {
    display: inline-block;
}

.header-ol li a {
    padding: 0 5px;
}

/*------------------------------*/
.admin-block-version {
    font-size: 12px;
    padding: 5%;
    background-color: #FCF8E3;
    border: 1px solid #FAEBCC;
    color: #8A6D3B;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: justify;
}

.version-checking {
    padding: 10px;
    width: 100%;
}

.version-checking .checkbox {
    margin-left: 20px;
    text-align: left;
}

.gallery .img-gallery {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 5px;
}

.gallery .photo {
    display: block;
    padding-bottom: 100%;
    overflow: hidden;

}

.gallery .frame {
    background-color: #eeeeee;
    display: block;
    width: 100%;
}

.gallery .canvas-one {
    margin-bottom: 30px;
}

.gallery .canvas-two {
    margin-right: 30px;
    flex-shrink: 1;
    -webkit-flex-shrink: 1;
    -ms-flex-negative: 1;
    display: block;
    position: relative;
}

.popover.bottom {
    width: 320px;
}

.page-course {
    padding: 2% 3%;
}

.cursor-pointer {
    cursor: pointer;
}

.logo {
    margin: 10px 0;
}

#formLogin .input-group {
    margin-top: 10px;
    margin-bottom: 10px;
}

#formLogin .form-group small, #formLogin .form-group .form_required {
    display: none;
}

#formLogin label {
    display: none;
}

#formLogin #QF_CAPTCHA_captcha_question {
    max-width: 100%;
    height: auto;
}

#login-block .alert {
    margin: 15px 0 5px;
}

#login-block #formLogin .form-group {
    display: none;
}

#login-block .btn-group, .btn-group-vertical {
    width: 100%;
}

#login-block .btn-group > .btn {
    width: 100%;
    text-align: left;
}

#login-block .btn-group > .btn span.caret {
    right: 8px;
    top: 15px;
    position: absolute;
}

#login-block .dropdown-menu {
    width: 100%;
}

/* links dropdown flag */
#login-block .dropdown-toggle {
    display: block;
    width: 100%;
    padding: 5px;
}

#login-block .btn-language.open .dropdown-menu {
    display: block;
}

#toolbar-admin.navbar {
    margin-bottom: 0;
    border-radius: 0;
    border: none;
}

.blackboard_show {
    float: left;
    position: absolute;
    border: 1px solid #000;
    width: 200px;
    border-radius: 5px;
    background-color: #000;
    z-index: 99;
    display: inline;
    color: #fff;
}

.blackboard_hide {
    display: none;
}

.section-page h3.page-header {
    font-size: 22px;
    margin-top: 5px;
}

#carousel-announcement {
    min-height: 300px;
}

#carousel-announcement .carousel-caption {
    left: 0;
    right: 0;
    bottom: auto;
    padding: 5px;
    background-color: #fff;
    position: relative;
    text-align: left;
    text-shadow: none;
    color: #666;
}

#carousel-announcement img {
    max-width: 100%;
    height: auto;
}

#carousel-announcement .carousel-control.right, #carousel-announcement .carousel-control.left {
    background-image: none;
}

#carousel-announcement .left {
    left: 0;
}

#carousel-announcement .right {
    right: 0;
}

#carousel-announcement .carousel-indicators li {
    width: 20px;
    height: 20px;
    background-color: #ddd;
    margin-right: 15px;
    position: relative;
}

#carousel-announcement .carousel-indicators .active {
    background: #2C5B8E;
}

.carousel-control {
    width: 5%;
}

.carousel-content .block-text {
    padding-left: 7%;
    padding-right: 7%;
    min-height: 300px;
}

.carousel-indicators {
    bottom: 0;
}

.form-group .freeze {
    display: inline-block;
    padding-top: 8px;
}

/* notifications help and bug */
.notification-panel {
    position: fixed;
    top: 200px;
    right: -10px;
    z-index: 9999;
    width: 73px;
}

/* global message */
.banner_message {
    padding: 10px 20px 10px 20px;
    font-size: 14px;
    text-align: center;
}

.banner_message.banner-desktop {
    display: block !important;
    transition: all 0.5s ease;
}

.banner_message.banner-desktop.active {
    
}

.banner_message.banner-mobile {
    display: none !important;
}

/* filters in my courses */
.cn-section {
    font-family: var(--font-primary) !important;
    font-size: 14px;
    font-weight: 400;
    background-color: #F5F5F5;
    box-shadow: 3px 5px 11px -8px rgba(0,0,0,0.25);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0px;
}

#DESC, #ASC, #GRID, #LIST {
    display: none;
}

.btn-order {
    width: 60px;
}

.btn-order label {
    border: 2px solid #F5F5F5;
    border-radius: 6px;
    padding: 2px;
    display: block;
    position: relative;
    margin: 8px;
    cursor: pointer;
}

.btn-order label img {
    height: 32px;
    width: 32px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
}

.sub-title {
    margin: 0px 0px 20px 0px;
}

.cn-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    gap: 14px;
    width: 100%;
    flex-wrap: wrap;
}

.form-filters__col-2 {
    display: flex;
    align-items: center;
    margin-right: 20px;
    flex-wrap: wrap;
}

.cn-filters select, .cn-filters input {
    padding: 6px;
    outline: none;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    max-width: 360px;
    min-width: 300px;
}

.cn-filters select, .cn-filters input[type="submit"] {
    min-width: 100px;
}

.col-span-4 {
    grid-column: span 4;
}

.col-span-3 {
    grid-column: span 3;
}

.btn-submit:hover {
    background-color: #DFDFDF;
}

.cn-filters input[type="text"]:focus {
    border-color: #007bff;
}

.notification-panel div a {
    display: block;
    margin-left: 1px;
    width: 65px;
    opacity: 0.8;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=80);
}

.notification-panel .help a {
    background-color: #879DAA;
    border: 1px solid #FFFFFF;
    display: block;
    margin-left: 50px;
    opacity: 0.8;
    width: 65px;
    padding: 6px 0 8px 6px;
    border-radius: 10px 0 0 10px;
}

.notification-panel .report a {
    background-color: #8fd400;
    border: 1px solid #FFFFFF;
    display: block;
    margin-left: 50px;
    opacity: 0.8;
    width: 65px;
    padding: 6px 0 8px 6px;
    border-radius: 10px 0 0 10px;
}

.dropdown-item.dropdown-notification:active, .dropdown-item.dropdown-notification.active {
    color: #1d1e1f;
    text-decoration: none;
    background-color: #f7f7f9;
}

.dropdown-notification:hover .notification-read {
    color: #34495E;
}

.dropdown-notification-all {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    font-style: oblique;
    background-color: #34495E;
    color: white;
}

.dropdown-notification-all:hover {
    background-color: #34495E;
    color: white;
}

.notifications-container {
    max-height: 300px;
    overflow: auto;
    margin: 0;
    list-style: none;
    padding: 0;
}

.notification-dropdown-menu {
    padding-bottom: 0;
    min-width: 350px !important;
}

.notification-img {
    width: 48px;
    display: inline-block;
    vertical-align: top;
}

.notifications-body {
    display: inline-block;
    width: 100%;
    color: #565a5c;
}

.notification-title {
    font-weight: bold;
}

.notification-read {
    margin: 0;
    height: 48px;
    vertical-align: top;
    line-height: 48px;
    padding-left: 15px;
    color: white;
    float: right;
}

.notification-date {
    text-align: left;
    color: #2980b9;
    margin: 0;
}

.notification-solo {
    margin-top: 1rem;
}

.notification-unread {
    text-decoration: none;
    background-color: #f7f7f9;
}

.notification-dropdown-menu {
    padding: 0 !important;
}

.notification-dropdown-menu .dropdown-header {
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    padding-bottom: 1rem;
}

.notification-dropdown-menu .fw-600 {
    font-weight: 600;
}

.notification-dropdown-menu .c-grey-900 {
    color: #313435 !important;
    font-size: 14px;
}

.notification-dropdown-menu .dropdown-notification {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .0625) !important;
    font-size: 12px;
}

.notification-dropdown-menu .dropdown-notification a.link {
    margin: 0;
    width: 100%;
}

.notification-dropdown-menu .dropdown-notification a {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.notification-dropdown-menu .notification-event-text {
    margin-top: 5px;
    color: #9c9c9c;
}

.cookieUsageValidation {
    padding: 5px;
    text-align: center;
}

.toolbar-cookie {
    bottom: 0;
    position: fixed;
    z-index: 100;
    width: 100%;
}

.avatar-user .dropdown-toggle {
    padding-top: 8px;
    padding-bottom: 5px;
}

.avatar-user .img-circle {
    border: 2px solid #FFFFFF;
}

.dropdown-menu .username {
    color: #fff;
    padding-left: 9px;
}

.navbar-nav .open .dropdown-menu .user-header {
    width: 260px;
}

.navbar-nav .open .dropdown-menu .user-header .text-center .name {
    padding-bottom: 0;
    margin-bottom: 0;
}

.navbar-nav .open .dropdown-menu .user-body a {
    color: #666;
}

/* notifications help and bug */
#touch-button.btn-touch {
    background-color: #C2C2C2;
}

#touch-button.btn-touch:hover {
    background-color: #E9E9F0;
}

#touch-button.btn-touch {
    background-color: #EFEFEF;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#gradebook_list .centered {
    text-align: center;
    vertical-align: middle;
}

input[type=checkbox], input[type=radio] {
    margin: 3px 0 0;
}

.prerequisites input[type=radio] {
    height: 12px;
}

#gradebook_list .centered .badge-group {
    width: auto;
}

#breadcrumb-bar #view_as_link {
    padding-top: 7px;
    margin-right: 10px;
}

.button-load {
    background: url("../../main/img/icons/64/file_upload.png") no-repeat center 20px;
    padding-top: 70px;
}

.radio.learnpath img {
    margin-right: 5px;
}

#results .file_upload_highlight {
    background: #F4D364;
}

.work-action, .work-date, .work-title {
    text-align: center;
}

.work-name {
    padding-left: 10px;
}

.file_upload {
    position: relative;
}

.work_correction_file_upload .button-load {
    position: relative;
    font-size: 10px;
    font-weight: normal;
    width: 100%;
    padding-top: 5px;
    background: none;
}

.file_upload_small {
    border: 1px solid #AFDDE9;
    background: #D4E6F0;
    width: 100%;
    border-radius: 5px;
    padding-bottom: 5px;
}

.work_correction_file_upload {
    margin-bottom: 5px;
    margin-top: 5px;
}

.work_correction_file_upload.hover {
    background: lawngreen;
}

.file_upload input {
    position: absolute;
}

#results .jqgrid_whitespace .date-time {
    font-size: 12px;
    color: #666666;
    text-align: center;
}

.list-work-results {
    margin-top: 20px;
}

.impress-content {
    position: relative;
    width: 100%;
    height: 618px;
}

.impress-title {
    position: absolute;
    top: 40%;
    left: 0;
    text-align: center;
    width: 100%;
}

.impress-content iframe {
    width: 100%;
    height: 582px;
}

.impress-title h1 {
    font-size: 35px;
}

/* SESSION CATALOG*/
.session-group .padding-clear {
    padding-top: 5px;
    padding-bottom: 10px;
}

.session-group .border-info {
    /*border-bottom: 1px solid #ccc;*/
    padding-bottom: 5px;
}

.session-group .buttom-subscribed {
    padding-top: .5em;
    padding-bottom: .5em;
}

.session-group .time {
    font-size: 12px;
}

.session-group .accordion-heading {
    background-color: #D2E7F3;
}

.session-group .accordion-group {
    border: 1px solid #B7D7EF;
}

.session-group .accordion-inner {
    border-top: 1px solid #B7D7EF;
    background-color: #FFFFFF;
}

.buttom-subscribed .btn {
    font-size: 12px;
    padding: 5px 10px;
}

.buttom-subscribed .btn.btn-primary {
    background-color: #EF3E3E;
    border: none;
}

.buttom-subscribed .btn.btn-primary:hover {
    background-color: #CE2121;
}

.session-group .items-session {
    list-style: none;
    padding: 0;
    margin: 0;
}

.session-group .items-session li {
    padding-bottom: 5px;
}

.formw input[type="checkbox"], .formw input[type="radio"] {
    margin-right: 5px;
    margin-top: 2px;
}

.checkbox_send_notification {
    margin-bottom: 10px;
}

.actions {
    background: #ffffff;
    border: 1px solid #dddddd;
    padding: 10px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

[dir=rtl] .actions {
    /*background: #efefef;
  border: 1px solid #ccc;
  margin-bottom: 11px;
  padding: 2px 2px 2px 14px;
  vertical-align: middle;
  float: right;*/
}

.actions .actions-pagination {
    float: right;
    margin-top: 2px;
}

.actions .actions-pagination * {
    display: inline-block;
    float: none;
    margin: 0;
    padding: 0;
}

.actions .actions-pagination img {
    margin: 6px;
    padding: 0;
}

.actions form {
    margin-bottom: 0;
}

.actions fieldset {
    margin-top: 0;
}

.muted {
    color: #999999 !important;
}

.actions .btn-default {
    padding: 6px;
    border: 1px solid #DDD
}

.actions a {
    text-decoration: none;
    margin-right: 10px;
}

.actions a:hover {
    text-decoration: none;
}

.actions div.text-right {
    text-align: left;
}

.actions img {
    padding: 3px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background: #ffffff; /* Old browsers */
}

.actions svg {
    padding: 3px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background: #ffffff; /* Old browsers */
    vertical-align: middle;
    width: 39px;
    height: 39px;
    color: rgb(76, 76, 76);
}

.actions img:hover {
    background: #ededed; /* Old browsers */
}

.actions .btn-toolbar {
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0 0 0 5px;
    background: #ffffff; /* Old browsers */
}

.actions .btn-toolbar:hover {
    background: #ededed; /* Old browsers */
}

.actions .btn-toolbar img {
    background: none;
    border: none;
}

.actions form {
    margin-right: 10px;
    vertical-align: middle;
}

.actions fieldset {
    margin-top: 0;
}

.separate-action {
    padding-top: 10px;
    padding-bottom: 10px;
}

.control-course {
    padding-top: 10px;
    padding-bottom: 10px;
}

.select-list-ajax {
    padding: 10px;
}

.resize_font {
    display: inline-block;
    width: 100%;
    text-align: right;
}

.resize_font .btn {
    padding: 5px 8px;
}

.decrease_font .fa {
    font-size: 9px;
}

.reset_font .fa {
    font-size: 12px;
}

.increase_font .fa {
    font-size: 16px;
}

#exercise-description.panel-default {
    border: 1px solid #DDD;
}

#exercise-description .panel-heading a span {
    margin-left: 25px;
}

#exercise-description .panel-heading a {
    background: url("../../main/img/icons/22/arrow-up-collapse.png") no-repeat left center;
}

#exercise-description .panel-heading a.collapsed {
    background: url("../../main/img/icons/22/arrow-down-collapse.png") no-repeat left center;
}

/* REPORTS */
.panel-default.panel-view {
    border: 1px solid #e4e4e4;
    box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
}

.card {
    border-radius: 6px;
    box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
    background-color: #FFFFFF;
    color: #252422;
    margin-bottom: 20px;
    border: 1px solid #e4e4e4;
}

.card-body {
    padding: .5em 1em;
    position: relative;
    width: 100%;
}

.card-body .stat-widget-five {
    min-height: 60px;
}

.card-body .stat-widget-five .stat-icon {
    font-size: 35px;
    line-height: 35px;
    position: absolute;
    left: 30px;
    top: 20px;
}

.card-body .stat-widget-five .stat-icon .active-icon {
    position: absolute;
    top: 15px;
    bottom: 0;
    left: -9px;
}

.card-body .stat-content {
    margin-left: 70px;
}

.card-body .stat-content .text-left {
    display: inline-block;
}

.card-body .stat-widget-five .stat-text {
    color: #455a64;
    font-size: 16px;
}

.card-body .stat-widget-five .stat-heading {
    color: #99abb4;
    font-size: 12px;
}

.box-widget .card-body .stat-widget-five {
    min-height: 45px;
    text-align: center;
    font-size: 20px;
}

.box-widget .card-body .stat-widget-five .box-name {
    font-size: 12px;
    color: #666;
}

.box-widget .card-body .stat-widget-five span.date {
    font-size: 14px;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 158px;
}

.box-widget .card-body {
    padding: 2px;
    background: #f5f5f5;
    color: #000;
}

.card .content {
    padding: 15px 15px 10px 15px;
}

.card .icon-big {
    font-size: 2.5em;
    min-height: 64px;
}

.card .numbers {
    text-align: left;
}

.card .numbers h2 {
    font-size: 3.2em;
    margin-top: 10px;
    color: #666666;
}

.card .icon-big {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    margin-left: 25px;
}

.card .icon-student {
    background: #f1c435;
}

.card .icon-studentboss {
    background: #4b73eb;
}

.card .icon-teachers {
    background: #50bbc1;
}

.card .icon-humanresources {
    background: #68ceeb;
}

.card .icon-big i {
    line-height: 66px;
    color: #fff;
}

.card .card-title {
    text-align: center;
    font-size: 12px;
    padding-bottom: 10px;
    padding-top: 10px;
    display: inline-block;
    width: 100%;
}

.card .card-title a {
    font-weight: bold;
}

.panel-view {
    padding: 20px;
    text-align: center;
}

.easypiechart {
    position: relative;
    text-align: center;
    width: 120px;
    height: 120px;
    margin: 20px auto 10px auto;
}

.section-title {
    padding-bottom: 1rem;
    border-bottom: 1px solid #cdcdcd;
    font-weight: bold;
    margin-bottom: 2rem;
}

#easypiechart-blue .percent {
    color: #30a5ff;
}

#easypiechart-teal .percent {
    color: #1ebfae;
}

#easypiechart-orange .percent {
    color: #ffb53e;
}

#easypiechart-red .percent {
    color: #ef4040;
}

.easypiechart .percent {
    display: block;
    position: absolute;
    font-size: 26px;
    top: 38px;
    width: 120px;
}

.easypiechart-link {
    padding-bottom: 5px;
    padding-top: 5px;
    display: inline-block;
    width: 100%;
}

.item-report {
    text-align: center;
    min-height: 200px;
}

.item-report .panel-default {
    background-color: #ededed;
    border: 1px solid #e4e4e4;
    box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
}

.item-report .item-report-number {
    font-size: 35px;
    font-weight: bold;
    color: #666666;
}

/*****************************************************
*              AGENDA                               *
*****************************************************/
#agenda {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #bbb;
    border-collapse: collapse;
}

.file-upload-event {
    margin-top: 1rem;
}

.file-upload-event label {
    font-weight: normal;
    margin-top: 1rem;
}

.file-upload-event .form-control {
    margin-bottom: 1rem;
}

.agenda_month_divider {
    background-color: #dcdcdc;
    font-weight: bold;
    font-size: 12px;
    color: #666;
    text-align: center;
}

#agenda .title a {
    color: #fff;
}

#agenda .agendaitem {
    font-size: 12px;
}

#smallcalendar .title {
    background-color: #dcdcdc;
    font-weight: bold;
    padding: 5px;
    color: #666;
    text-align: center;
    font-size: 11px;
}

#smallcalendar .title a {
    color: #666;
}

#agenda_select {
    list-style: none;
    border: 0 solid green;
    margin: 30px 0 0 0;
    padding: 0 0 0 10px;
}

#simple-dialog-form {
    font-size: 12px;
}

#simple-dialog-form .control-label {
    padding-top: 0;
}

.agenda_day {
    float: left;
    color: #666666;
    line-height: 16px;
    overflow: hidden;
    margin-bottom: 5px;
}

.agenda-title {
    font-size: 20px;
}

.days_today {
    background-color: #E8E8E8;
}

.days_today .agenda_day {
    float: left;
    width: 100%;
    color: #000;
    line-height: 16px;
    overflow: hidden;
    margin-bottom: 5px;
}

#agenda_list th {
    background-color: #F2F2F2;
}

#agenda_list .days_week {
    height: 100px;
}

/* ---------------------------------------------------
  styles for the mini agenda
-----------------------------------------------------*/
#smallcalendar {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #fff;
    border-collapse: collapse;
}

#smallcalendar .weekdays {
    background-color: #dcdcdc;
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    border: 1px solid #fff;
    border-collapse: collapse;
}

#smallcalendar .days_week {
    background-color: #f5f5f5;
    text-align: center;
    font-size: 9px;
    border-collapse: collapse;
}

#smallcalendar .days_weekend {
    background-color: #e6e6e6;
    text-align: center;
    font-size: 9px;
    border: 1px solid #fff;
    border-collapse: collapse;
}

#smallcalendar .days_today {
    width: 12%;
    text-align: center;
    font-size: 9px;
    border: 1px solid #FA8500;
    border-collapse: collapse;
    background-color: #FFCA8D;
}

#smallcalendar tbody tr td {
    padding: 5px;
}

/* ---------------------------------------------------
  styles for the personal agenda
-----------------------------------------------------*/
.personal_agenda {
    color: #008000;
}

.personal_agenda a:link, .personal_agenda a:visited {
    color: #008000;
}

a.personal_agenda:link, a.personal_agenda:visited {
    color: #008000;
}

.personal_agenda a:hover, .personal_agenda a:hover {
    color: #666666;
}

a.personal_agenda:hover, a.personal_agenda:hover {
    color: #666666;
}

.myagendatoday {
    background-color: #FFCA8D;
    border-collapse: collapse;
    font-family: var(--font-primary), verdana, arial, helvetica, sans-serif;
    color: #CC3300;
    font-weight: bold;
}

.rounded_div_agenda {
    background: none repeat scroll 0 0 #FFFFFF;
    float: left;
    height: auto;
    margin: 2px 4px 5px;
    padding: 8px;
    width: 100%;
}

/* -------------- DOCUMENT --------------*/
#document_quota {
    margin: 15px;
    font-weight: bold;
    color: #006633;
    text-align: center;
}

/* Message and Social  */

.online_grid_item {
    float: left;
    margin: 10px;
    width: 100%;
}

.online_grid_element_0 {
    display: inline;
    float: left;
    height: 100px;
    overflow: hidden;
    width: 100px;
}

.online_grid_element_1, .online_grid_element_2 {
    font-size: 13px;
    float: left;
    margin: 25px 0 0 10px;
    width: 70%;
}

/* input values to crop the image: top, right, bottom, left */

.social-home-users-online {
    width: 200px;
    margin: -28px 0 0 -50px;
}

.social-home-anonymous-online {
    width: 200px;
}

.social-thumbnail {
    padding: 0;
}

.social-title {
    font-size: 18px;
    font-family: var(--font-primary), helvetica, arial, sans-serif;
    color: #000;
}

.social-description {
    padding: 8px;
    color: #000;
}

.social-image {
    max-height: 300px;
}

.social-post-answers {
    padding-right: 0;
    padding-left: 0;
}

.social-host p {
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 22px;
    color: #999;
}

.menulist {
    margin: 0;
    padding: 0;
}

.menulist li {
    display: inline-block;
    width: 100%;
    list-style: none;
    border-bottom: 1px solid #DDDDDD;
    padding-bottom: 5px;
    padding-top: 5px;
}

.menulist li:last-child {
    border-bottom: none;
}

#profile .control-group .controls .files-production {
    padding: 5px 25px;
    border-radius: 10px;
    background-color: #F1F3F5;
    border: 1px solid #EAEBED;
}

#productions {
    list-style: none;
}

#productions li {
    list-style: none;
    padding-top: 3px;
    padding-bottom: 3px;
}

#sn-extra-information .list-group-item {
    padding: 5px 10px;
    border: none;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 10px;
}

.breadcrumb li a img {
    float: left;
    padding-right: 5px;
    margin-top: 2px;
}

/* ATTENDANCE */
div.attendance-calendar-add div.row div.formw, div.attendance-calendar-edit div.row div.formw {
    float: left;
    display: inline;
    width: auto;
    overflow: hidden;
    margin-right: 2px;
    margin-top: 5px;
}

.attendance-calendar-add div.row {
    display: inline;
}

.attendance-calendar-edit div.row {
    display: inline;
}

.attendance-calendar-row {
    padding: 5px;
}

.attendance-calendar-table .check {
    text-align: center;
}

.date-attendance {
    color: #666;
    text-align: center;
    font-size: 12px;
    width: 150px;
    margin: auto;
}

.date-attendance .blue {
    color: #2E75A3;
}

.date-attendance .grey {
    color: #666;
}

.tableFloatingHeaderOriginal {
    font-size: 12px;
    height: 64px;
}

.promoted_post {
    background: #f1fff1;
    border-color: #9bd6b8;
}

.promoted_post .msg-content div {
    border-bottom: 1px solid #9bd6b8;
}

/**********************************************
*  MESSAGE TOOL                           *
**********************************************/

#inbox-wrapper {
    width: 100%;
}

#inbox-menu {
    width: 150px;
    float: left;
    margin-right: 10px;
}

#inbox-menu ul {
    margin: 0;
    padding: 0;
}

#inbox-menu ul li {
    padding: 2px 0;
}

.message-topic {
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid #ECF0F1;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.message-topic .avatar-author,
.message-post .avatar-author {
    text-align: center;
}

.message-topic .avatar-author .img-responsive,
.message-post .avatar-author .img-responsive {
    display: initial;
}

.message-topic h4 {
    font-weight: bold;
}

.thread-body {
    padding-bottom: 20px;
    padding-top: 20px;
}

.message-post {
    border: 1px solid #ECF0F1;
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.message_view_table {
    background-color: #dbeaf5;
    border: 0;
    border-collapse: collapse;
    width: 100%;
}

.message_view_table th {
    padding-right: 12px;
    border: 1px solid gray;
    background-color: #f0f0f0;
}

.message-select-box {
    float: left;
    display: inline;
    position: absolute;
    margin-top: 23px;
    margin-left: 20px;
}

.message-content .date {
    font-size: 12px;
}

.message-content .username {
    font-size: 14px;
    font-weight: bold;
}

.message-content .message {
    line-height: 22px;
}

/* styles from the my.profile.php file */
.message-content .message-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.message-content-internal {
    display: inline;
    margin: 20px auto;
    background: #F5E38E;
    border: 2px solid #EBCA4F;
    padding: 10px;
    width: 100px;
    position: relative;
    margin-top: 150px;
    margin-right: -100px;
}

.message-title {
    font-size: 12px;
}

.message-body {
    padding: 0 0 11px;
    color: #333;
    font-size: 100%;
}

.message-link {
    color: #ff8400;
}

.message-view {
    float: right;
    margin: 20px auto;
    background: #F5E38E;
    border: 2px solid #EBCA4F;
    padding: 10px;
    width: 100px;
    position: relative;
    margin-top: 115px;
    margin-right: -100px;
}

.message-content-table {
    background-color: white;
    border: 1px solid black;
    position: absolute;
    width: 200px;
    height: 60px;
    z-index: 3;
    visibility: hidden;
    top: 85px;
    left: 10px;
    margin: 0;
    padding: 0;
}

#message {
    margin: 0 auto;
    text-align: center;
}

#message select {
    margin: 10px 0;
    width: 220px;
}

#message textarea {
    margin: 10px 0;
}

#message td {
    padding: 4px;
}

.message-top-title {
    float: left;
    margin-top: 1px;
    margin-bottom: 1px;
    background-color: #F2F2F2;
    width: 600px;
    border-bottom: 1px solid #CCCCCC;
    margin-left: 5px;
}

.message-bottom-title {
    height: 22px;
    float: left;
    margin-top: 1px;
    margin-bottom: 1px;
    background-color: #F2F2F2;
    width: 600px;
    border-bottom: 1px solid #CCCCCC;
}

.message-content-body-left {
    float: left;
    width: 30%;
}

.message-content-body-right {
    float: right;
    text-align: left;
    width: 60%;
}

.message-body-title {
    float: right;
    margin-top: 1px;
    margin-bottom: 5px;
    border-bottom: 1px solid #CCCCCC;
    border-collapse: collapse;
}

.message-image-info {
    float: left;
    margin: 10px;
    text-align: left;
}

.message-content-body-right dd {
    color: #333399;
    border-bottom: 1px solid #CCCCCC;
    height: 20px;
    text-decoration: none;
    outline-style: none;
    background: #ffffff;
}

a.unread {
    font-weight: bold;
}

.cropCanvas > img {
    max-width: 300px;
    max-height: 200px;
}

/*SOCIAL TOOL*/

.clip-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    top: -1px;
    left: -1px;
}

.clip_vertical {
    position: absolute;
    clip: rect(0px 218px 185px 0px);
    top: -50px;
    left: -32px;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -o-transform: scale(0.6);
}

.clip_horizontal {
    position: absolute;
    clip: rect(0px 218px 155px 0px);
    top: -25px;
    left: -48px;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -o-transform: scale(0.6);
}

.social-plugin-item {
    float: left;
    width: 50%;
    background-color: #ccc;
    margin: 0;
}

#social-plugins {
    float: left;
    background-color: #f00;
    width: 100%;
    margin: 0;
    padding: 2px;
}

.box_shared_profile_group_title {
    border-bottom: 1pt dotted #000;
    padding: 5px;
    vertical-align: middle;
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 5px
}

.box_shared_profile_group_description {
    height: 100px;
    margin-left: 65px;
}

.box_shared_profile_group_image {
    height: 80px;
    width: 60px;
    float: left;
}

.box_shared_profile_group_actions {
    text-align: right;
}

/* BIG TOOLS COURSE */
.title-tools {
    font-weight: bold;
}

#course_tools .big_icon {
    padding: 10px;
    text-align: center;
}

#course_tools .content {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
    width: 100%;
    height: 50px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#course_tools .content:hover {
    width: auto;
    white-space: initial;
    overflow: visible;
    cursor: pointer;
}

.course-tool .make_visible_and_invisible img {
    margin-top: -3px;
    margin-right: 5px;
}

.big_icon img {
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 8px #C8C8C8;
    border: 1px solid #e6e6e6;
}

.big_icon img:hover {
    box-shadow: 0 4px 18px #C8C8C8;
}

.courseadminview .big_icon a {
    font-size: 12px;
}

/* Fixes the administration block section */
.admin_section div {
    margin: 5px 0 14px 25px;
}

.rounded_div {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 11px;
    box-shadow: 0 4px 18px #C8C8C8;
    float: left;
    height: auto;
    margin: 10px 8px 15px 15px;
    padding: 18px;
}

/* Makes the course elements more readable */
.session_course_item {
    padding: 6px 0 6px 5px;
}

#lp_overview .thumbnail {
    text-align: center;
}

.lp_resource {
    list-style: none;
    margin: 0;
    float: left;
    width: 100%;
}

.lp_resource_element, .lp_resource_element_no_link {
    border: 1px solid #DDDDDD;
    color: #444444;
    cursor: pointer;
    text-decoration: none;
    margin: 5px;
    padding: 5px 10px;
    list-style: none;
    border-radius: 5px;
}

.lp_resource_element:hover {
    background-color: #E6E6E6;
}

.lp_resource_element_new a {
    font-size: 14px;
}

.doc_resource {
    margin: 6px;
}

table.lp_build td.tree {
    border: none;
}

#resource_tab {
    min-height: 380px;
}

div.system_announcement {
    background-color: #EEEEEE;
}

.RequirementHeading, .RequirementText, .RequirementContent {
    margin-top: 12px;
    line-height: 18px;
    margin-bottom: 20px;
}

#toolshortcuts_horizontal {
    padding: 0 20px 2px 0;
    clear: right;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
    width: 98%;
}

#toolshortcuts_vertical {
    padding: 0 0 2px 0;
    clear: right;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
    width: 40px;
}

div.admin_section {
    min-height: 260px;
}

.admin_section li {
    padding: 2px 0 2px;
}

div.admin_section h4 {
    font-size: 16px;
    letter-spacing: -1px;
}

#courseintro_empty {
    float: right;
    margin: 2px auto;
    padding: 0;
}

.profile_grid_container {
    width: 100%;
}

.profile_grid_item {
    border: 1px dotted #CCCCCC;
    float: left;
    height: 90px;
    margin: 5px;
    padding: 5px;
    width: 270px;
}

.profile_grid_element_0 {
    width: 100px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
}

.profile_grid_element_1 {
    width: 170px;
    float: left;
    text-align: left;
    margin-bottom: 1px;
}

#profile .picture-form {
    width: 350px;
}

/* pagination grid sortable */
.sub_header {
    width: 100%
}

.grid_selectbox {
    float: left;
    width: 35%
}

.grid_title {
    float: left;
    width: 30%;
    text-align: center
}

.grid_nav {
    float: left;
    width: 35%;
    text-align: right
}

/* Groups boxes */
.toolbar-groups {
    margin-bottom: 30px;
}

.group_invitation_grid_container {
    width: 100%;
}

.group_invitation_grid_item {
    border: 1px dotted #CCCCCC;
    float: left;
    height: 85px;
    margin: 8px;
    padding: 5px;
    width: 300px;
}

.group_invitation_grid_element_0 {
    width: 100px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
}

.group_invitation_grid_element_1 {
    width: 100px;
    float: left;
    text-align: left;
    margin-bottom: 5px;
}

.group_invitation_grid_element_2 {
    width: 150px;
    float: left;
}

/* home group boxes */

.home_group_grid_container {
    margin-bottom: 70px;
    height: 65px;
}

.home_group_grid_element_1 {
    font-family: var(--font-primary), Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #686868;
    font-weight: bold;
    margin: 2px;
    padding: 2px;
}

.home_group_grid_element_2 {
    float: right;
    width: 80%;
    height: 45px;
    font-family: var(--font-primary), Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #666666;
}

/*INVITATION IN PROFILE*/

.invitation_profile_grid_container {
    width: 100%;
}

.invitation_profile_grid_item {
    float: left;
    height: 110px;
    margin: 5px;
    padding: 5px;
    width: 100px;
}

.invitation_profile_grid_element_0 {
    width: 100px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
}

.invitation_profile_grid_element_2 {
    width: 100px;
    float: left;
    text-align: center;
    font-size: 12px;
}

/* User boxes */
.search_users_grid_container {
    width: 100%;
}

.search_users_grid_item {
    width: 400px;
    height: 90px;
    border: 1px dotted #ccc;
    float: left;
    padding: 5px;
    margin: 8px;
}

.search_users_grid_element_0 {
    width: 100px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
}

.search_users_grid_element_1 {
    width: 100px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
}

.search_users_grid_element_2 {
    width: 150px;
    float: left;
}

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

.search_users_grid_title {
    width: 30%;
    float: left;
}

.search_users_grid_nav {
    float: right;
}

/*WAITING USER*/
.waiting_user_grid_container {
    width: 100%;
}

.waiting_user_grid_item {
    width: 500px;
    height: 120px;
    border: 1px dotted #ccc;
    float: left;
    padding: 5px;
    margin: 5px;
}

.waiting_user_grid_element_0 {
    width: 100px;
    height: 90px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
    padding-top: 15px;
}

.waiting_user_grid_element_1 {
    width: 400px;
    float: left;
    text-align: left;
    margin-bottom: 5px
}

.waiting_user_grid_element_2 {
    width: 400px;
    float: left;
    text-align: justify;
    margin-bottom: 5px
}

.waiting_user_grid_element_5 {
    width: 100%;
    text-align: left;
}

.waiting_user_grid_element_6 {
    width: 100%;
    text-align: left;
}

/*LIST MEMBERS*/
.list_members_grid_container {
    width: 100%;
}

.list_members_grid_item {
    width: 110px;
    height: 165px;
    border: 1px dotted #ccc;
    float: left;
    padding: 5px;
    margin: 8px;
}

.list_members_grid_element_0 {
    width: 100px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
}

.list_members_grid_element_0 img {
    width: 50px;
    height: 50px;
    border: 3px solid #E6E6E6;
}

.list_members_grid_element_2 {
    width: 100px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
}

.list_members_grid_element_3 {
    width: 100px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
}

.list_members_grid_element_5 {
    width: 100%;
    text-align: center;
}

/*SEARCH USER*/
.search_user_grid_container {
    width: 100%;
}

.search_user_grid_item {
    width: 100px;
    height: 100px;
    border: 1px dotted #ccc;
    float: left;
    padding: 5px;
    margin: 5px;
    overflow: hidden;
}

.search_user_grid_element_0 {
    width: 100px;
    float: left;
    text-align: center;
    margin-bottom: 5px;
}

.search_user_grid_element_0 img {
    width: 50px;
    height: 50px;
    border: 2px solid #E6E6E6;
}

.search_user_grid_element_1 {
    width: 100%;
    text-align: center;
}

.search_user_grid_element_2 {
    width: 100%;
    text-align: center;
}

.search_user_grid_element_3 {
    width: 100%;
    text-align: center;
}

/*SEARCH GROUP*/
.search_group_grid_item {
    float: left;
    width: 345px;
    height: 165px;
    margin-top: 20px;
}

.search_group_grid_container {
    margin-top: 0;
}

.search_group_grid_element_1 {
    width: 330px;
    height: 165px;
    padding-left: 10px;
    padding-right: 10px;
    background-repeat: repeat-y;
    overflow: hidden;
}

#lp_item_list {
    margin: 0;
    padding: 0;
}

#lp_item_list, #lp_item_list li {
    list-style-type: none;
    /* float:left;*/
}

#lp_item_list .active {
    border: 2px dotted #BDB76B;
}

#lp_item_list li {
    border-bottom: 1px solid #dddddd;
    width: 100%;
    margin-bottom: 5px;
    margin-top: 5px;
}

#lp_item_list li:last-child {
    border-bottom: none;
}

#lp_item_list .item_data {
    padding: .5em;
}

#lp_item_list .item_data span {
    margin-left: 5px;
}

.item_data .button_actions {
    display: none;
    margin: 5px 0;
}

.item_data:hover .button_actions {
    display: block;
    padding-top: 5px;
}

#lp_item_list .item {
    border: none;
}

#lp_item_list .empty {
    height: 5px;
}

#lp_item_list .ui-state-highlight {
    height: 25px;
    background: #EEEEEE;
    border-radius: 5px;
    border: 1px dashed #B0B0B0
}

#question_list .header_operations {
    margin-bottom: 5px;
    clear: both;
    background: #F5F5F5;
    padding: 2px;
}

#question_list .header_operations:hover {
    background: #FFEEAA;
    border-color: #FFDE57;
}

#question_list .header_operations .table {
    margin: 0;
}

#question_list .header_operations.ui-state-focus {
    background: #D9EDF7;
    border-color: #bce8f1;
}

#question_list .question-list-description-block .question_options .radio {
    min-height: 0;
    margin-left: 30px;
    margin-top: 0;
}

#question_list .question-list-description-block .question_options .radio p {
    padding: 5px 0 0 0;
    margin: 0;
}

#question_list .question-list-description-block .lead {
    font-size: 18px;
}

.document_preview_container {
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    background-color: #FFF;
    border: 1px solid #DDD;
    position: absolute;
    z-index: 20;
    margin: 5px;
    padding: 5px;
    width: 310px;
    height: 200px;
    overflow-y: auto;
    top: 0;
    right: 0;
}

.view-options {
    
}

#course_settings h3 img {
    margin-left: 25px;
}

.page-report {

}

/* Exercise comment*/
#comments {
    position: absolute;
    left: 795px;
    top: 0;
    width: 200px;
    height: 75px;
    z-index: 1;
}

/* MAIN QUESTION */
.main-question {
    padding: 10px 20px;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 35px;
}

.main-question .question_title {
    font-size: 20px;
    margin: 15px 0;
    color: #666666;
}

.main-question .question_description {
    color: #666666;
}

.main-question .form-actions {
    clear: both;
    width: 100%;
    display: block;
    border-top: 1px solid #dddddd;
    padding-top: 10px;
}

#questions {
    width: 40%;
    height: 50px;
    float: left;
    padding: 5px;
}

.exercise {
    padding: 10px 20px;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 35px;
}

.question_row_score {
    margin-bottom: 20px;
    display: block;
}

.question_item {
    height: 50px;
    padding: 5px;
    margin: 10px 0 10px 0;
}

.question-return {
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.option_item {
    width: 150px;
    padding: 3px;
    margin: 10px;
}

.ui-jqgrid tr.jqgrow td {
    height: 38px !important;
    white-space: inherit;
}

.ui-search-table .ui-search-input input {
    border: 1px solid #CCC;
    margin: 2px auto;
}

.exercise_overview_options {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 15px 0 15px 0;
}

.exercise_overview_options .left_option {
    float: left;
    margin: 12px 5px;
    width: 33%;
}

.exercise_overview_options .center_option {
    float: left;
    margin: 15px 5px;
    text-align: center;
    width: 33%;
}

.exercise_overview_options .right_option {
    float: right;
    margin: 12px 5px;
    text-align: right;
    font-size: 14px;
}

.remind_highlight {
    background-color: #FFF7C0;
}

.exercise_header {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 20px;
}

/* Table */
.exercise_options {
    width: 720px;
    border-collapse: collapse;
    border-spacing: 0;
}

.exercise_options th {
    background-color: #F2F2F2;
    border-bottom: 1px solid #DDDDDD;
    line-height: normal;
    padding: 8px 10px;
    text-align: center;
    vertical-align: middle;
}

/* Fixes questions list */
.question_options {
    min-height: 150px;
}

.question_options label {
    margin-bottom: 14px;
    display: block;
    font-weight: normal;
}

.question_options .radio {
    min-height: 18px;
    margin-left: 65px;
}

.question_options .checkbox {
    margin-left: 65px;
}

.question_options .radio input[type="radio"], .question_options .checkbox input[type="checkbox"] {
    float: left;
    margin-left: -25px;
}

.question_options input[type="text"] {
    padding: 6px 12px;
    margin: 2px 2px 2px 0;
    vertical-align: middle;
    display: inline-block;
    height: 34px;
    line-height: 1.42857;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #555555;
    font-weight: bold;
    background-color: #FCF8D6;

}

.question_options input[type="text"]:focus {
    border-color: #66AFE9;
    background-color: #ffffff;
    outline: 0 none;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
}

.exercise_description {
    padding: 0 0 10px 0;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 10px;
}

.exercise_title {
    font-size: 1.6em;
    font-weight: bold;
    padding: 10px 0 10px 0;
}

.question_no_answer {
    background-color: #FFF7C0;
    margin: 10px 0 5px 0;
}

.question_answer {
    display: block;
    float: left;
    margin: 0;
    width: 100%;
    padding: 0 0 5px 0;
}

.question_answer label {
    float: left;
    margin: 0 0 0 8px;
}

.question_answer input {
    float: left;
    margin: 0;
}

#question_description {
    padding-left: 5px;
    padding-top: 10px;
}

#question_score {
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
    font-size: 130%;
}

.question_row_score .title-score .total {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    color: #666;
    background: #FAFAFA;
}

.question_row_score .title-score .total h3 {
    margin: 0;
    font-size: 22px;
}

.question_row_answer img {
    max-width: 80%;
    height: auto !important;
}

.ribbon {
    float: left;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    position: relative;
    background: #FAFAFA;
}

.ribbon .rib {
    height: 40px;
    display: block;
    line-height: 1.3;
    left: -2px;
    top: 0;
    color: #cfcfcf;
    margin: 0;
    padding: 0 10px;
    position: relative;
    background: #333;
    border-radius: 4px 0 0 0;
    float: left;
}

.ribbon .rib h3 {
    color: white;
    font-size: 15px;
    float: left;
    line-height: 40px;
    font-weight: bold;
    margin: 0;
}

.ribbon .rib-total {
    width: 275px !important;
}

.ribbon .rib-error, .ribbon .ribbon-total-error {
    background: #ff3019;
    border-top: none;
    border-bottom: none;
    float: left;
}

.ribbon .rib-warning {
    background: orange;
    border-top: none;
    border-bottom: none;
    float: left;
}

.ribbon .rib-info {
    background: deepskyblue;
    border-top: none;
    border-bottom: none;
    float: left;
}

.ribbon .rib-gray {
    background: #cccccc;
    background-image: -ms-linear-gradient(to top, #bbbbbb, #cccccc);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bbbbbb), to(#cccccc));
    background-image: -webkit-linear-gradient(to top, #bbbbbb, #cccccc);
    background-image: -o-linear-gradient(to top, #bbbbbb, #cccccc);
    background-image: -moz-linear-gradient(to top, #bbbbbb, #cccccc);
    background-image: linear-gradient(to top, #bbbbbb, #cccccc);
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
    float: left;
}

.ribbon .rib-success, .ribbon .ribbon-total-success {
    background: #86B404;
    border-top: none;
    border-bottom: none;
    float: left;
}

.ribbon h4 {
    margin: 0;
    padding-left: 8px;
    color: #444;
    float: left;
    line-height: 40px;
    font-size: 15px;
}

.ribbon-total h4 {
    left: 290px;
}

.ribbon h5 {
    display: block;
    height: 30px;
    width: 150px;
    margin: 0;
    padding: 15px 0;
    position: absolute;
    right: 0;
    top: 0;
}

.ribbon .rib-error::before {
    border-color: #cf0404 transparent transparent transparent;
}

.ribbon .rib-success::before {
    border-color: #4B610B transparent transparent transparent;
}

.ribbon .rib-gray::before {
    border-color: #ccc transparent transparent transparent;
}

.ribbon .rib-warning::before {
    border-color: darkorange transparent transparent transparent;
}

.ribbon .rib::before {
    left: 0;
}

.ribbon .rib::after {
    right: 0;
}

.ribbon .error {
    color: red;
}

.ribbon .success {
    color: green;
}

/* Ribbon top right (diagonal) */
.ribbon-diagonal {
    width: 85px;
    height: 100px;
    overflow: hidden;
    position: absolute;
}

.ribbon-diagonal::before,
.ribbon-diagonal::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #337ab7;
}

.ribbon-diagonal span {
    position: absolute;
    display: block;
    width: 185px;
    padding: 2px 0;
    box-shadow: 0 5px 2px rgba(0, 0, 0, .1);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    text-align: center;
}

.ribbon-diagonal-top-right {
    right: 24px;
    margin-top: -9px;
}

.ribbon-diagonal-top-right::before,
.ribbon-diagonal-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}

.ribbon-diagonal-top-right::before {
    top: 0;
    left: 0;
}

.ribbon-diagonal-top-right::after {
    bottom: 0;
    right: 0;
}

.ribbon-diagonal-top-right span {
    left: -41px;
    top: 30px;
    transform: rotate(45deg);
    font-size: x-small;
}

.ribbon-diagonal-official span {
    background-color: #337ab7;
}

.ribbon-diagonal-thirdparty span {
    background-color: #f0ad4e;;
}

.exercise_save_now_button img {
    position: relative;
    top: 4px;
}

.exercise_save_now_button {
    padding-left: 25px;
}

.exercise_save_now_button .checkbox input[type="checkbox"] {
    margin-left: -25px;
}

.question-check-test {
    padding-left: 35px;
    margin-bottom: 35px;
}

.question-check-test label {
    font-weight: normal;
}

.question-check-test .checkbox input[type="checkbox"] {
    margin-left: -25px;
}

.form-actions {
    margin-top: 20px;
    margin-bottom: 25px;
}

/* EXERCISE MATFDC */

.certaintyQuizBox {
    border: 1px solid black;
    margin: auto;
}

.certaintyQuizColumn {
    float: left;
}

/* text at the top of the column */
.certaint-score {
    height: 20px;
    margin-bottom: 10px;
    padding: 0;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 30px;
    width: 100%;
    margin: 0 auto;
}

.chart-title {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #b3b3b3;
    text-transform: uppercase;
    background: #ecf0f1;
    padding-top: 10px;
}

.certaint-list-two, .certaint-list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    position: absolute;
    bottom: 0;
    display: inline-block;
    width: 100%;
}

.certaint-list-two li {
    display: inline-block;
    margin-right: 10px;
    width: 40%;
}

.certaint-list li {
    width: 50%;
    margin: auto;
}

.certaint-list-two li:last-child {
    margin-right: 0;
}

.answers-title {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.panel-certaint {
    margin-bottom: 20px;
    background-color: #FFF;
    border: 1px solid #e4e4e4;;
    box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
    padding: 10px;
    border-radius: 6px;
}

.certaint-text {
    text-align: center;
    padding: 10px 5px;
}

.certaintyVerticalLine {
    float: left;
    border-left: 1px solid black;
    font-size: 0;
}

.certaintyQuizClearer {
    clear: both;
    font-size: 0;
    height: 0
}

.chart-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.chart-legend li {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.square_color4 {
    color: #1e9c55;
}

.square_color3 {
    color: #b1e183;
}

.square_color2 {
    color: #f6ba2a;
}

.square_color1 {
    color: #f79b88;
}

.square_color0 {
    color: #ed4040;
}

.levelbar_1 {
    background-color: #1e9c55;
    border: 1px solid #1e9c55;
}

.levelbar_2 {
    background-color: #b1e183;
    border: 1px solid #b1e183;
}

.levelbar_3 {
    background-color: #f6ba2a;
    border: 1px solid #f6ba2a;
}

.levelbar_4 {
    background-color: #f79b88;
    border: 1px solid #f79b88;
}

.levelbar_5 {
    background-color: #ed4040;
    border: 1px solid #ed4040;
}

table.certaintyTable {
    margin: auto;
    border: 1px solid #7FC5FF;
}

table.certaintyTable th {
    text-align: center;
    border-bottom: 1px solid #7FC5FF;
    background-color: #c9e0ff;
}

table.certaintyTable td {
    padding: 10px;
}

table.certaintyTable td.borderRight {
    border-right: 1px dotted #7FC5FF;
}

table.certaintyTable td.firstLine {
    vertical-align: top;
    text-align: center;
}

table.certaintyTable th.globalChart {
    font-size: 18pt;
    line-height: 120%;
    padding: 20px;
}

table.certaintyTable td.globalChart {
    font-weight: bold;
}

/* Exercise clock*/
.count_down {
    font-size: 20px;
    font-weight: bold;
    color: #2E75A3;
    padding: 5px;
    text-align: center;
    margin-bottom: 10px;
    background: url(../../main/img/clock-exercise.png) no-repeat center center #FFF;
    border: 1px solid #DDD;
    border-radius: 5px;
}

.time_warning_two {
    background: url(../../main/img/clock-exercise.png) no-repeat center center #FFD700;
    border: 1px solid #FFCC00;
    color: #C00;
}

.time_warning_one {
    background: url(../../main/img/clock-exercise.png) no-repeat center center #FB3A35;
    border: 1px solid #FB3A35;
    color: #FFF;
}

.question_row {
    display: inline-block;
    width: 100%;
}

#question_feedback {
    border-radius: 10px;
    background-color: #FCF7BA;
    border: 1px solid #EADC31;
    color: #555;
    font-size: 12px;
    font-weight: bold;
    list-style-type: none;
    margin-top: 5px;
    padding: 5px;
}

.userportal-order-courses-link {
    background-color: #F9F9F9;
    border-radius: 10px 10px 10px 10px;
    height: 40px;
    margin: 5px;
    padding: 15px;
}

.userportal-order-courses-link a {
    float: right;
}

.course_social_content {
    background: #EFEFEF;
    margin: 10px 21px;
    padding: 10px;
}

.topics_grid_item {
    border-bottom: 1px solid #DDD;
    margin-bottom: 10px;
}

#div_content_table {
    border-bottom: 1px solid #EAEAEA;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

/* Forms */
div.row div.form_header {
    white-space: nowrap;
    padding: 2px;
    margin: 0 0 10px 0;
    background-color: #E5EDF9;
    border: 1px solid #E5EDF9;
    font-size: 20px;
}

span.form_required {
    color: #f00;
}

span.form_error {
    color: #f00;
    font-size: x-small;
    margin: 2px;
}

form .row {
    margin-bottom: 18px;
}

form .formw .freeze {
    display: block;
    padding-top: 8px;
}

.course_activity_home {
    width: 100%;
}

.course_activity_home td {
    line-height: normal;
    padding: 4px;
    text-align: left;
    vertical-align: middle;
}

.email-box {
    display: flex;
}

.email-overflow {
    width: 200px;
    height: 20px;
    padding: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: auto;
    text-align: center;
}

.show_element {
    display: block !important;
}

#social_wall_main_wall_post_button {
    /*background: #f5f6f7 !important;
  color: #7a7a7a !important;
  border: 1px solid #bababa !important;*/
}

#social_wall_main_wall_post_button:hover {
    /*border: 1px solid #162a83 !important;
  background: #162a83 !important;
  color: #ffffff !important;*/
}

.input-file-container {
    position: relative;
}

.input-file-container:hover {
    cursor: pointer;
}

.js .input-file-trigger {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f6f7;
    color: #7a7a7a;
    font-size: 14px;
    transition: all .4s;
    border-radius: 5px;
    border: 1px solid #bababa;
    cursor: pointer;
    font-weight: normal;
}

.js .input-file {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    padding: 5px 0;
    width: 100%;
}

.js .input-file:hover {
    cursor: pointer;
}

.js .input-file:hover + .input-file-trigger,
.js .input-file:focus + .input-file-trigger,
.js .input-file-trigger:hover,
.js .input-file-trigger:focus {
    background: #162a83;
    color: #ffffff;
    cursor: pointer;
    border: 1px solid #162a83;
}

.file-return {
    margin: 0;
}

.file-return:not(:empty) {
    margin: 1em 0;
}

.js .file-return {
    font-style: italic;
    font-size: .9em;
    font-weight: bold;
    padding: 0;
    margin: 0;
}

.js .file-return:not(:empty):before {
    content: "Selected file: ";
    font-style: normal;
    font-weight: normal;
}


/*** ***/
.tag {
    background-color: #D3E6EF;
    border-radius: 3px 3px 3px 3px;
    display: inline-block;
    float: left;
    font-size: 12px;
    font-weight: 700;
    margin: 0 10px 5px 0;
    padding: 0.4em 0.6em;
}

.label_tag {
    padding: 4px;
    margin: 2px 3px 2px 0;
    background-color: #bfbfbf;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 3px;
    text-align: center;
    float: left;
}

.label_tag.personal_event {
    background: #3366CC;
}

.label_tag.admin_event {
    background: red;
}

.label_tag.course_event {
    background: #458B00;
}

.label_tag.group_event {
    background: #A0522D;
}

.label_tag.session_event {
    background: #00496D;
}

.label_tag.important {
    background-color: #c43c35;
}

.label_tag.warning {
    background-color: #f89406;
}

.label_tag.success {
    background-color: #46a546;
}

.label_tag.notice {
    background-color: #62cffc;
}

.label_tag.skill {
    background-color: #46a546;
}

.label_tag.course {
    background-color: #62cffc;
}

.label {
    font-weight: normal;
    font-size: 90%;
}

.requirements td {
    padding: 5px;
}

/* header cell in data table in tools */

.attendance-users-table .data_table tr.row_odd {
    height: 64px;
}

.attendance-users-table .data_table tr.row_even {
    height: 60px;
}

.data_table tr.row_odd:hover, .data_table tr.row_even:hover {
    background-color: #E5EDF9;
}

.data_table tr.row_even {
    background-color: #fdfdfd;
}

.data_table tr.highlight {
    font-style: italic;
    font-weight: bolder;
    color: #777;
}

.attendance-calendar-table .data_table tr.row_odd {
    height: 64px;
}

.attendance-calendar-table .data_table tr.row_even {
    height: 60px;
}

.data_table_no_border td .highlight {
    font-weight: bold;
}

.data_table_pagination {
    width: 100%;
}

.data_table_pagination .btn-toolbar {
    margin-bottom: 0;
    margin-top: 0;
}

.table-well {
    background: #ffffff;
    border: 1px solid #dddddd;
    padding: 10px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.tabs-margin, .btn-toolbar {
    margin-bottom: 15px;
    margin-top: 15px;
}

.form-stacked .label {
    display: block;
    float: none;
    font-weight: bold;
    line-height: 20px;
    padding-top: 0;
    text-align: left;
    width: auto;
}

.form-stacked .row div.formw {
    margin-left: 0;
}

.form-stacked .row {
    margin-bottom: 9px;
}

#install_form blockquote {
    line-height: 16px;
}

#install_form .data_table_no_border td {
    width: 30%;
}

.lp_content_type_label {
    font-style: italic;
    color: #999;
    font-size: 11px;
}

.btn-collapse.collapsed .open {
    display: none;
}

.btn-collapse.collapsed .closed {
    display: inline-block;
}

.btn-collapse .closed {
    display: none;
}

.btn-collapse .open {
    display: inline-block;
}

/* ****************************************************
                   CSS SKILL
**************************************************** */
.skills-badges {
    display: grid;
    grid-gap: 1rem;
    grid-row-gap: 16px;
    grid-template-columns: repeat(6, 1fr);
}

.skills-badges .item {
    display: inline-block;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.skills-badges a .caption {
    text-align: center;
}

.list-horizontal .list-skills {
    display: grid;
    grid-gap: 1rem;
    grid-row-gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}

.list-vertical .list-skills {
    display: grid;
    grid-gap: 1rem;
    grid-row-gap: 16px;
    grid-template-columns: repeat(2, 1fr);
}

.list-skills .item {
    display: inline-block;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.skill-options .legend {
    border: 1px dashed #cccccc;
    padding: 1em;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin-bottom: 1em;
    margin-top: 1em;
    background-color: #FFFFFF;
}

.skill-options .skill-home {
    margin-top: 1em;
    margin-bottom: 1em;
}

.skill-options .btn-block {
    box-sizing: border-box;
    display: block;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.skill-options .accordion-inner {
    padding: 9px 15px;
    /*border: 1px solid #dadada;*/
    background-color: #FFFFFF;
}

.skill-options .load_wheel {
}

.skill-options .skill-winner {
    list-style: none;
    margin: 0;
    padding: 0;
}

.skill-options .skill-winner li {
    float: left;
    margin-right: 1em;
    padding-bottom: 1em;
}

.skill-options .skill-winner li a {
    background: url("../../main/img/icons/16/winner.png") no-repeat;
    padding-left: 1.5em;
    padding-bottom: 1em;
}

.search-skill ul.holder li.bit-input input {
    width: 100%;
}

.skill-legend-basic {
    color: #3A87AD;
}

.skill-legend-add {
    color: #F89406;
}

.skill-legend-search {
    color: #B94A48;
}

.skill-legend-badges {
    color: #31A354;
}

.page-skill .panel-default {
    border-color: #DDDDDD;
}

.page-skill .btn-default {
    background-color: #F6F6F6;
}

.page-skill .btn-default:hover {
    background-color: #E6E6E6;
}

.page-skill #skill_info {
    font-size: 12px;
}

.page-skill #skill_wheel tspan {
    font-size: 12px;
}

.page-skill .holder_simple li.bit-box a {
    color: #8A6D3B;
}

.skill_partition {
    cursor: pointer;
    stroke: #000000;
    stroke-width: 0.5px;
}

.items-user .avatar-user {
    text-align: center;
    margin-bottom: 10px;
}

.items-user p {
    font-size: 12px;
    margin-bottom: 5px;
}

.items-user .list-group {
    font-size: 12px;
}

table#skill_holder {
    margin-top: 15px;
}

.badges-sidebar {
    height: 250px;
}

.panel figure figcaption {
    background: none;
    text-align: center;
}

.skill_root {
    box-shadow: 2px 2px 19px #aaa;
    border-radius: 6px;
    background-color: #ccc;
    border: 0.1em dotted #D4E06B;
    color: black;
    font-size: 0.9em;
    height: 4em;
    opacity: 0.8;
    padding-top: 0.9em;
    text-align: center;
    width: 120px;
    z-index: 40;
    position: relative;
}

.skill_child {
    box-shadow: 2px 2px 19px #aaa;
    border-radius: 6px;
    background-color: white;
    border: 0.1em dotted #D4E06B;
    color: black;
    font-size: 0.9em;
    height: 4em;
    opacity: 0.8;
    padding-top: 0.9em;
    text-align: center;
    width: 120px;
    z-index: 40;
    float: left;
    margin-left: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
    position: relative;
}

/* ****************************************************
                   END SKILL
**************************************************** */

/* list template document */
#frmModel ul {
    list-style: none;
    margin: 0;
    padding: 0 .5em 0 1em;
}

#frmModel ul li:hover {
    background-color: #FAFAFA;
    border: 1px solid #F2F2F2;
}

#frmModel ul li {
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
}

#frmModel ul li .title, #frmModel ul li .description {
    padding-top: .5em;
    padding-bottom: .5em;
    width: auto;
    font-size: 12px;
    line-height: 16px;
}

.lp-add-item {
    display: block;
    height: 550px;
    position: relative;
}

.items-templates {
    display: block;
    height: 750px;
}

.editor-lp {
    margin-bottom: 20px;
}

/* end list template document */
.done_window {
    background-color: #73982C;
}

.first_window {
    border: 1px solid red;
    cursor: pointer;
}

.second_window {
    border: 1px solid blue;
    margin-left: 0;
}

.third_window {
    border: 1px solid blue;
    cursor: pointer;
}

._jsPlumb_endpoint {
    z-index: 50;
}

.drag-locked {
    border: 1px solid red;
}

._jsPlumb_endpoint {
    z-index: 50;
}

._jsPlumb_connector {
    z-index: 1;
}

.dropHover {
    border: 1px dotted red;
}

.dragActive {
    border: 2px dotted orange;
}

.edit_block {
    z-index: 200;
}

/*****************************************************
*  LOGIN AND LANGUAGE FORM                          *
*****************************************************/

#lang_form {
    text-align: left;
}

.form_login {
    padding: 3px 15px;
}

#formLogin label {
    color: #666666;
}

#login_fail {
    margin-left: 20px;
    padding: 4px;
    border: 1px solid #f00;
    background-color: #fff;
    font-size: 12px;
    color: #f00;
    width: 185px;
}

input.mainoption {
    font-weight: bold;
    border: 1px solid #E1E1E0;
}

input.liteoption {
    font-weight: normal;
    border: 1px solid #E1E1E0;
}

.row_selected {
    border-color: #478ced #1f6fe2 #1f6fe2;
    background-color: #FFFFCC;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFCC), to(#FFFFCC));
    background-image: -webkit-linear-gradient(to top, #FFFFCC, #FFFFCC);
    background-image: -moz-linear-gradient(to top, #FFFFCC, #FFFFCC);
    background-image: -ms-linear-gradient(to top, #FFFFCC, #FFFFCC);
    background-image: -o-linear-gradient(to top, #FFFFCC, #FFFFCC);
    background-image: linear-gradient(to top, #FFFFCC, #FFFFCC);
    box-shadow: 0 1px 0 transparent;
}

.data_table_exercise_result, .data_table_exercise_result_left {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 12px;
    margin-bottom: 15px;
    margin-top: 8px;
    text-align: left;
    width: 100%;
}

.data_table_exercise_result td {
    line-height: normal;
    padding: 6px;
    text-align: center;
    vertical-align: middle;
}

.data_table_exercise_result_left td {
    line-height: normal;
    padding: 6px;
    text-align: left;
    vertical-align: middle;
}

#no-data-view {
    padding: 20px 0 0;
    text-align: center;
}

div#no-data-view img {
    margin-bottom: 25px;
}

div#no-data-view h2 {
    border: 0 none;
    color: #212121;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 6px;
    padding: 0;
}

div#no-data-view div.controls {
    padding-top: 1px;
}

/* styles for the star rater */
.star-rating {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 125px;
    height: 25px;
    position: relative;
    overflow: hidden;
    background: url(../../main/img/alt_star.png) top left repeat-x;
}

.star-rating li {
    padding: 0;
    margin: 0;
    width: 25px;
    height: 25px;
    float: left;
}

.star-rating li a {
    display: block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-decoration: none;
    text-indent: -9000px;
    z-index: 20;
    position: absolute;
    padding: 0;
    overflow: hidden;
}

.star-rating li a:hover {
    background: url(../../main/img/alt_star.png) left bottom;
    z-index: 2;
    left: 0;
    border: none;
}

.star-rating a.one-star {
    left: 0;
}

.star-rating a.one-star:hover {
    width: 25px;
}

.star-rating a.two-stars {
    left: 25px;
}

.star-rating a.two-stars:hover {
    width: 50px;
}

.star-rating a.three-stars {
    left: 50px;
}

.star-rating a.three-stars:hover {
    width: 75px;
}

.star-rating a.four-stars {
    left: 75px;
}

.star-rating a.four-stars:hover {
    width: 100px;
}

.star-rating a.five-stars {
    left: 100px;
}

.star-rating a.five-stars:hover {
    width: 125px;
}

.star-rating li.current-rating {
    background: url(../../main/img/alt_star.png) left center;
    position: absolute;
    height: 25px;
    display: block;
    text-indent: -9000px;
    z-index: 1;
}

a:active {
    outline: none;
}

.skills-profiles, .skills-users, .skills-skills {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
}

.skills-skills ul.holder,
.skills-users ul.holder,
.skills-profiles ul.holder {
    margin-bottom: 8px;
    border: 0;
}

.skills_chart * {
    margin: 0;
    padding: 0;
}

.skills_chart ul {
    padding-top: 20px;
    position: relative;
}

.skills_chart li {
    float: left;
    text-align: center;
    list-style-type: none;
    padding: 20px 5px 0 5px;
    position: relative;
}

.skills_chart li::before, .skills_chart li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #f80;
    width: 50%;
    height: 20px;
}

.skills_chart li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #f80;
}

.skills_chart li:only-child::before, .skills_chart li:only-child::after {
    display: none;
}

.skills_chart li:only-child {
    padding-top: 0;
}

.skills_chart li:first-child::before, .skills_chart li:last-child::after {
    border: 0 none;
}

.skills_chart li:last-child::before {
    border-right: 1px solid #f80;
    border-radius: 0 5px 0 0;
}

.skills_chart li:first-child::after {
    border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
}

.skills_chart ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #f80;
    width: 0;
    height: 20px;
}

.skills_chart li a {
    border: 1px solid #f80;
    padding: 1em 0.75em;
    text-decoration: none;
    color: #333;
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
    display: inline-block;
    border-radius: 5px;
    transition: all 500ms;
}

.skills_chart li a:hover {
    border: 1px solid #fff;
    color: #ddd;
    background-color: rgba(255, 128, 0, 0.7);
    display: inline-block;
}

.skills_chart > ul > li > a {
    font-size: 1em;
    font-weight: bold;
}

.skills_chart > ul > li > ul > li > a {
    width: 8em;
}

.send_msg_in_text {
    background: url("../../main/img/mail_send.png") no-repeat scroll right center transparent;
    height: 16px;
    width: 17px;
    display: inline-block;
    margin-right: 4px;
}

.send_inv_in_text {
    background: url("../../main/img/invitation.png") no-repeat scroll right center transparent;
    height: 16px;
    width: 17px;
    display: inline-block;
    margin-right: 4px;
}

.welcome_course li {
    float: left;
    list-style-type: none;
    width: 175px
}

.welcome_course li p {
    margin-left: auto;
    margin-right: auto;
    width: 88px;
}

.welcome_course li a {
    margin-left: auto;
    margin-right: auto;
    width: 120px;
}

/* Nanogong - exercise player*/

.nanogong_player_container {
    width: 370px;
    margin: 0 auto;
}

.nanogong_player {
    float: left;
}

.action_player {
    float: right;
    width: 120px;
}

.audio_preview_container {
    margin-left: 50px;
}

/* ie fixes */

/* Disabling help/bug notifications */
.lt-ie7 #navigation {
    display: none;
}

/* Disabling top bar */
.lt-ie7 #topbar {
    display: none
}

.lt-ie7 .subnav .nav > li {
    float: left !important;
}

.lt-ie7 #announcements_page {
    width: 450px !important;
}

/* **** FORUM CATEGORY **** */
.forum_category {
    background-color: #0066CC;
    color: #fff;
}

.forum_category a {
    color: #fff;
}

.forum_category_header {
    background-color: #0066CC;
    color: #fff;
}

tr.forum_category_header a {
    color: #fff;
}

.forum-description {
    display: inline-block;
}

/* **** FORUM **** */
.forum_header {
    background-color: #EEF;
}

/* **** THREAD **** */
.forum_threadheader {
    color: #aaa;
    background-color: #F7F7F7;
}

.forum-thread-header {
    color: #000000;
    background-color: #F7F7F7;
    border: 1px solid #aaa;
}

.forum-thread-body {
    color: #000000;
    background-color: #FFFFFF;
    border: 1px solid #aaa;
}

.forum-date {
    font-size: 12px;
}

/* **** POST **** */
.quote {
    background-color: #a0e5fc;
}

a.forum-goto {
    font-size: 12px;
}

.structure {
    /*border-bottom: 1px solid #666666;*/
    font-weight: bold;
    background-color: #F7F7F7;
    height: 20px;
}

.forum_description {
    color: #000;
    font-weight: normal;
    font-size: 15px;
    padding-top: 1em;
    padding-bottom: .5em;
}

.forum_description p {
    font-size: 11px;
}

.forum_title h1 {
    color: #000;
    padding-top: 1em;
}

.forum_low_description {
    color: #737780;
    font-style: italic;
    font-weight: normal;
}

.forum_attach_comment {
    color: #737780;
    font-style: italic;
    font-weight: normal;
}

.forum_message_left {
    width: 150px;
    vertical-align: top;
    border-right: 1px solid #aaa;
    background-color: #F7F7F7;
}

.forum_message_left_2_be_approved {
    width: 150px;
    vertical-align: top;
    border-right: 1px solid #aaa;
    background-color: #F7F7F7;
    color: #999;
}

.forum_message_post_title {
    font-weight: bold;
    background-color: #F7F7F7;
    height: 20px;
    font-size: 20px;
}

.forum_message_post_title_2_be_approved {
    color: #999;
    font-weight: bold;
    background-color: #F7F7F7;
    height: 20px;
}

.forum_message_post_text {
    margin-bottom: 10px;
    vertical-align: top;
    background: white;
}

.forum_message_post_text_2_be_approved {
    color: #999;
    margin-bottom: 10px;
    vertical-align: top;
}

/*  New forum table */

.forum_table_title {
    border-collapse: collapse;
    width: 100%;
    padding: 5px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.forum_table_title th {
    padding-right: 12px;
    /*border: 1px solid gray;*/
    background-color: #E5EDF9;
}

.forum_table {
    border-collapse: collapse;
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.forum_table .forum_head {
    padding: 5px;
    text-align: left;
    font-size: 14px;
}

.forum_table th {
    padding-right: 12px;
    background-color: #E5EDF9;
}

.forum_table tr.row_odd {
    background-color: #F2F2F2;
}

.forum_table tr.row_odd:hover, .data_table tr.row_even:hover {
    background-color: #E5EDF9;
}

.forum_table tr.row_even {
    background-color: #fff;
}

.forum_table td {
    padding: 5px;
    vertical-align: top;
    border-bottom: 1px solid #ccc;
    border-right: 1px dotted #e1e1e1;
    border-left: 1px dotted #e1e1e1;
    border-top: 1px solid #ccc;
}

.post {
    border: 1px solid #ccc;
    margin-bottom: 5px;
}

.timeline-example {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
}

#timeline {
    clear: both;
    height: 600px !important;
    position: relative !important;
    z-index: 100;
}

#main_content .course_item {
    padding: 5px 0 5px 0;
}

/* actions */
.actions_lp img {
    vertical-align: middle;
}

.actions_lp a {
}

.actions_lp span {
    margin-right: 10px;
    vertical-align: middle;
}

.actions_lp form {
    margin-right: 10px;
    vertical-align: middle;
}

.exercise_overview_options {
    text-align: center;
}

.new_actions {
    background: #ffffff;
    min-height: 50px;
    border: 1px solid #E5E5E5;
}

.new_actions .nav > li {
    margin-left: 0;
}

.new_actions .nav > li > a {
    border-radius: 0;
    border-right: 1px solid #E5E5E5;
    margin: 0;
    padding: 10px;
}

.new_actions .nav li a:hover {
    background: #ECF0F1;
}

.new_actions .nav .active a:hover {
    background: #E9E9E9;
    border-left: 0 none;
    border-right-color: #DDDDDD;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05) inset;
    color: #777777;
}

.new_actions .nav-tabs > li > a, .new_actions .nav-pills > li > a {
    padding: 8px;
}

.new_actions .nav-pills li.active a {
    background: #ECF0F1;
}

.subnav .nav > li > .logout {
    padding-top: 8px;
}

.subnav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    border-color: #d5d5d5;
    border-width: 0 0 1px; /* drop the border on the fixed edges */
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.doc_folder {
    margin-right: 5px;
    margin-top: 5px;
    width: 100%;
    float: left;
}

.doc_folder_hidden {
    color: grey;
}

.doc_resource {
    margin: 5px;
    width: 100%;
    float: left;
}

.doc_resource.lp_resource_element .item_data {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.lp_resource_element_new {
    border: 2px dotted green;
}

#course_thing_to_do .thumbnail {
    text-align: center;
    margin-bottom: 5px;
}

.section-parameters {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.control-text {
    padding-top: 5px;
    display: inline-block;
}

.boot-tooltip {
    cursor: pointer;
}

/*
  link
*/

.link_category {
    background-color: #FFFFFF;
    margin-bottom: 5px;
}

.link {
    margin-top: 15px;
}

.link .list-group-item-heading a {
    text-decoration: none;
}

.link .list-group-item-text {
    font-size: 12px;
}

.link .check-link {
    margin-left: 5px;
}

/*
Glossary
*/

i.size-32.icon-new-glossary-term {
    background-image: url('../../main/img/icons/32/new_glossary_term.png');
}

i.size-32.icon-new-note {
    background-image: url('../../main/img/icons/32/new_note.png');
}

/* Data table */

.dataTables_wrapper {
    clear: both;
}

.dataTables_length {
    float: left;
    width: 40%;
}

.dataTables_filter {
    text-align: right;
}

.dataTables_info {
    float: left;
    width: 60%;
}

.dataTables_paginate {
    float: right;
    text-align: right;
}

.dataTables_wrapper label input, .dataTables_wrapper label textarea, .dataTables_wrapper label select {
    display: inline-block;
}

.dataTables.display {
    clear: both;
    margin: 0 auto;
    width: 100%;
}

.dataTables_wrapper .paginate_disabled_previous, .dataTables_wrapper .paginate_enabled_previous {
    padding-left: 23px;
    background: url("../../main/img/action_prev.png") no-repeat scroll left top;
}

.dataTables_wrapper .paginate_disabled_next, .dataTables_wrapper .paginate_enabled_next {
    margin-left: 10px;
    padding-right: 23px;
    background: url("../../main/img/action_next.png") no-repeat scroll left top;
}

.dataTables_wrapper .paginate_disabled_previous, .dataTables_wrapper .paginate_disabled_next {
    opacity: 0.4;
}

.dataTables_wrapper .sorting_asc {
    background-image: url("../../main/img/sort_asc.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: right center;
}

.dataTables_wrapper .sorting_desc {
    background-image: url("../../main/img/sort_desc.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: right center;
}

.nav-list img {
    margin-right: 6px;
}

/* Only for Firefox */
@-moz-document url-prefix() {
    select#question_type_hidden option {
        padding: 10px 0px 10px 40px;
        background-repeat: no-repeat;
    }
    select#question_type_hidden option[value="1"] {
        background-image: url(../../main/img/icons/32/mcua.png);
    }
    select#question_type_hidden option[value="2"] {
        background-image: url(../../main/img/icons/32/mcma.png);
    }
    select#question_type_hidden option[value="3"] {
        background-image: url(../../main/img/icons/32/fill_in_blanks.png);
    }
    select#question_type_hidden option[value="4"] {
        background-image: url(../../main/img/icons/32/matching.png);
    }
    select#question_type_hidden option[value="5"] {
        background-image: url(../../main/img/icons/32/open_answer.png);
    }
    select#question_type_hidden option[value="6"] {
        background-image: url(../../main/img/icons/32/hotspot.png);
    }
    select#question_type_hidden option[value="7"] {
        background-image: url(../../main/img/icons/32/mcma.png);
    }
    select#question_type_hidden option[value="8"] {
        background-image: url(../../main/img/icons/32/mcma.png);
    }
    select#question_type_hidden option[value="9"] {
        background-image: url(../../main/img/icons/32/mcmac.png);
    }
    select#question_type_hidden option[value="10"] {
        background-image: url(../../main/img/icons/32/mcuao.png);
    }
    select#question_type_hidden option[value="11"] {
        background-image: url(../../main/img/icons/32/mcmao.png);
    }
    select#question_type_hidden option[value="12"] {
        background-image: url(../../main/img/icons/32/mcmaco.png);
    }
    select#question_type_hidden option[value="13"] {
        background-image: url(../../main/img/icons/32/audio_question.png);
    }
    select#question_type_hidden option[value="14"] {
        background-image: url(../../main/img/icons/32/mcmagl.png);
    }
    select#question_type_hidden option[value="16"] {
        background-image: url(../../main/img/icons/32/calculated_answer.png);
    }
}

/*
* work
*/
i.size-32.icon-new-work {
    background-image: url('../../main/img/icons/32/new_work.png');
}

/* Default skill partition colors */

.xdebug-error {
    margin-top: 20px;
}

.multiple_select_header {
    height: 35px;
    margin-bottom: 15px;
}

.exercise_save_mini_message {
    margin-left: 5px;
}

#learning_path_left_zone .no-border {
    border: 0;
}

.btn-invitations {
    margin-left: 110px;
}

.btn-msg {
    background-position: 3px;
    padding: 2px 4px;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 14px;
    background-color: #e6e6e6;
}

.btn-inv {
    background-position: 3px;
    padding: 2px 4px;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 14px;
    background-color: #e6e6e6;
}

.btn-inv-off {
    background-position: 3px;
    padding: 2px 4px;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 14px;
    background-color: #e6e6e6;
}

.password-verdict {
    font-size: 12px;
}

#password_progress {
    width: 220px;
}

.jqgrid_whitespace {
    white-space: normal !important;
}

/* display the cookie usage warning validation */

#settings .panel .admin-edit-block {
    display: none;
}

#settings .panel:hover .admin-edit-block {
    display: block;
}

/***** Survey *****/
#list-survey p {
    display: inline-block;
    margin-left: 10px;
}

.survey-block {
    width: 100%;
    margin: auto;
    padding: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.start-survey {
    margin-top: 20px;
    padding-top: 20px;
    margin-bottom: 20px;
}

.survey-reports .list-group .list-group-item h4 {
    font-weight: bold;
    font-size: 14px;
}

.survey-reports .list-group .list-group-item img {
    float: left;
    margin-right: 5px;
}

.survey-block .table tbody tr:hover td {
    background-color: #fff6d5;
}

.survey-block .table tbody tr:hover th, .survey-block .table tbody tr th {
    background-color: #ececec;
    text-align: center;
}

.survey-block .table .center {
    text-align: center;
}

.survey-block .title-survey-block {
    padding-top: 10px;
    padding-bottom: 10px;
}

.survey-block .title-survey-block h3 {
    display: inline-block;
    margin-left: 10px;
}

#question-survey .start-survey .col-sm-8 {
    text-align: center;
}

.survey_content {
    color: #666;
    padding: 5px;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 10px;
}

.survey_question .title {
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 10px;
    margin-top: 35px;
}

.survey_question_options {
    /* 264269 4271b5 E5EDF9 */
    background-color: #FFF;
    color: #000;
    padding: 5px; /*border: 1px solid #264269;*/
}

.survey_subtitle {
    margin-top: 20px;
    margin-bottom: 20px;
}

.survey_question .radio-inline input[type="radio"],
.survey_question .checkbox-inline input[type="checkbox"] {
    margin-top: 2px;
}

.survey-block .confirmation-message, .survey-block .error-message {
    font-size: 16px;
    text-align: center;
}

#question_report_questionnumbers.pagination .disabled a {
    background-color: #F5F5F5;
    color: #666;
}

.title-question {
    font-size: 22px;
}

#display-survey.table tbody tr th, #display-survey.table tbody tr:hover th {
    background-color: #666;
    text-align: center;
    font-size: 14px;
    color: #FFFFFF;
}

#display-survey .total {
    background-color: #EBF3F5;
    text-align: center;
}

#display-survey .center {
    text-align: center;
}

#display-survey {
    border: 1px solid #ddd;
}

#display-survey.table tbody tr:hover td, #display-survey.table tbody tr:hover th {
    background-color: transparent;
}

.answered-people {
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.answered-people h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: normal;
}

/* CSS BASE BOOSTRAP 3 */
.openbadges-introduction {
    line-height: 30px;
    margin-bottom: 30px;
}

.openbadges-introduction .title {
    text-align: center;
    margin-bottom: 20px;
    color: #456176;
    font-size: 35px;
}

.openbadges-introduction .lead {
    font-size: 15px;
}

.openbadges-introduction .sub-title {
    color: #456176;
    text-align: center;
    font-size: 20px;
}

.openbadges-introduction .badges-tablet {
    padding-top: 15px;
}

.openbadges-introduction .block-content {
    padding-top: 30px;
    padding-bottom: 30px;
}

.openbadges-introduction .block-edit {
    padding-top: 15px;
    padding-bottom: 30px;
}

.openbadges-introduction .block-content .block-title,
.openbadges-introduction .block-edit .block-title {
    background-color: #e2eceb;
    border: 1px solid #456176;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 16px;
    color: #456176;
}

.openbadges-introduction .block-content p {
    padding-left: 5%;
    font-size: 14px;
}

.openbadges-tablet {
    margin-top: 15px;
}

.openbadges-tablet .table thead {
    background-color: #E2ECEB;
    border-top: 1px solid #677F8F;
    border-bottom: 1px solid #677F8F;
    border-left: 1px solid #677F8F;
    border-right: 1px solid #677F8F;
    font-size: 16px;
    color: #456176;
}

.openbadges-tablet .table thead tr th {
    font-weight: normal;
}

.openbadges-tablet .table td {
    border-top: 1px solid #677F8F;
    vertical-align: middle;

}

.openbadges-tabs ul.nav-tabs li a {
    background-color: #E2ECEB;
    border-top: 1px solid #677F8F;
    border-right: 1px solid #677F8F;
    border-left: 1px solid #677F8F;
    border-bottom: 1px solid #677F8F;
}

.openbadges-tabs ul.nav-tabs .active a {
    background: #fff;
    border-bottom: 1px solid #ffffff;
}

.openbadges-tabs .nav-tabs {
    border-bottom: 1px solid #677F8F;
}

.create-openbadges {
    text-align: center;
    margin-bottom: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.openbadges-img, .openbadges-view {
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #b2b2b2;
}

.openbadges-text {
    text-align: center;
}

.title-badge {
    font-weight: bold;
    color: #2C3E50;
}

.code-badge {
    font-size: 12px;
}

.name-badge {
    font-size: 16px;
}

.issued .thumbnail {
    border: none;
}

/* Social Profile */

.social-profile {
    text-align: center;
}

#sn-avatar .btn-social-edit {
    position: absolute;
    top: 5px;
    right: 25px;
}

.social-profile .expand-image {
    display: inline-block;
}

.list-user-data {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-user-data .item {
    padding-top: 5px;
    text-align: center;
}

.social-search form {
    margin-bottom: 0;
}

.social-group .group-title {
    color: #456176;
    font-weight: bold;
    font-size: 14px;
}

.social-profile .group-description {
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
    color: #666666;
    margin-bottom: 10px;
    margin-top: 10px;
}

.list-badges {
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-badges .thumbnail {
    border-color: #bce8f1;
    display: inline-block;
    margin-right: 15px;
    padding: 0;
    vertical-align: top;
    width: 95px;
}

.list-badges .thumbnail a img {
    margin-bottom: 4px;
    margin-top: 4px;
}

.list-badges .thumbnail a .caption {
    background: #D9EDF7;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.list-badges .thumbnail a .caption:hover {
    width: auto;
    white-space: initial;
    overflow: visible;
    cursor: pointer;
}

#skillList .dropdown-menu {
    top: 30px;
}

#sm-groups .list-group-newest .items {
    display: block;
}

#sm-groups .list-group-newest .items .group-image {
    vertical-align: top;
    padding-left: 10px;
    padding-right: 10px;
}

#sm-groups .list-group-newest .items .group-image,
#sm-groups .list-group-newest .items .group-info {
    display: inline-block;
}

#sm-groups .list-group-newest .items .group-info {
    width: auto;
}

#sm-groups .items {
    border-bottom: 1px dotted #B1DDE0;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

#sm-groups .group-name a {
    font-size: 18px;
    font-weight: bold;
}

#sm-groups .count-username {
    font-size: 12px;
    color: #4D4D4D;
}

#sm-groups .description p {
    color: #4D4D4D;
    padding-top: 5px;
    padding-bottom: 0;
    line-height: 22px;
}

.sm-groups .social-profile .img-responsive {
    display: inline-block;
}

.sm-groups-content .groups-messages {
    padding: 20px;
}

.social-post .mediaPost {
    padding-top: 10px;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.social-post .sub-mediapost {
    padding-left: 20px;
    margin-left: 20px;
}

.top-mediapost .user-image img,
.sub-mediapost .user-image img {
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
}

.top-mediapost .user-data img {
    margin-right: 5px;
}

.top-mediapost {
    border-bottom: 1px solid #ECF0F1;
}

.popularity-mediapost {
    margin-bottom: 30px;
    font-size: 1.2em;
}

.popularity-vote-found {
    color: #FFD700;
}

.top-mediapost .user-image,
.sub-mediapost .user-image {
    vertical-align: top;
}

.top-mediapost .user-image .avatar-thumb,
.sub-mediapost .user-image .avatar-thumb {
    border: 1px solid #dddddd;
    margin-bottom: 5px;
    margin-right: 5px;
}

.top-mediapost .user-data .username a,
.sub-mediapost .user-data .username a {
    font-size: 14px;
    font-weight: normal;
}

.top-mediapost .user-data .time,
.sub-mediapost .user-data .time {
    color: #9197a3;
}

.top-mediapost .msg-content .img-post .thumbnail,
.sub-mediapost .msg-content .img-post .thumbnail {
    border: 1px solid #dddddd;
}

.top-mediapost .msg-content p,
.sub-mediapost .rep-post .msg-content p {
    /* border-top:1px solid #ECF0F1; */
    /* padding-top: 10px; */
    /* padding-bottom: 20px; */
    margin-top: 5px;
    margin-bottom: 20px;
    line-height: 22px;
    /* padding-left: 10px; */
    padding-right: 10px;
    color: #666666;
}

.mediapost-form {
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.top-mediapost .user-image, .top-mediapost .user-data,
.sub-mediapost .rep-post .user-image, .sub-mediapost .rep-post .user-data {
    display: inline-block;
}

.deleted-mgs a {
    float: right;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
    filter: alpha(opacity=20);
    color: #000000;
}

.social-rss .title-rss {
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 14px;
}

.social-rss .rss-items {
    padding-top: 10px;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.social-rss .rss-items .rss-title a {
    color: #4D4D4D;
}

.social-rss .rss-items .rss-title a:hover {
    text-decoration: underline;
}

.social-rss .rss-items .rss-content p {
    line-height: 18px;
    font-size: 12px;
    color: #666;
}

/* Items menus sidebar */
.sidebar .list-group-item {
    border: none;
    margin-left: 2.14285714em;
    padding: 10px 5px;
}

.sidebar .list-group-item .item-icon {
    margin-right: 5px;
    text-align: center;
    position: absolute;
    left: -2.14285714em;
    width: 2.14285714em;
}

.social-network-menu .nav-pills li.active a,
#groups-acordeon .nav li.active a {
    background: none;
    color: #1ABC9C;
}

.social-network-menu .nav li a img {
    vertical-align: bottom;
    margin-right: 5px;
}

.ui-state-highlight_lp {
    border: 1px solid #FEAA18;
    background: #FFB738;
    color: #363636;
    height: 20px;
    width: 70%;
}

.bottom_actions {
    display: block;
}

.bottom_actions .form-group {
    margin-bottom: 10px;
}

.sessions-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sessions-items li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.sessions-items li img {
    margin-right: 5px;
}

.sessions .subtitle-session {
    font-size: 12px;
    color: #666666;
    padding: 5px;
    margin-bottom: 10px;
}

/**
* Modal for user avatar preview
* @author Angel Fernando Quiroz Campos <angel.quiroz@beeznest.com>
*/
#expand-image-modal img {
    display: block;
    height: auto;
    margin: auto;
    max-width: 100%;
}

.question_menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.question_menu li {
    display: inline-block;
}

.actions .form-inline {
    display: block;
    width: 100%;
}

.actions #groups .bootstrap-select {
    width: 300px;
}

ul.holder {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.holder li.bit-input input {
    width: 100%;
    display: block;
    height: 38px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555;
    background: #ffffff none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

ul.holder li.bit-box {
    padding-right: 15px;
    margin-bottom: 5px;
    color: #8a6d3b;
    background-color: #FCF8E3;
    border: 1px solid #FAEBCC;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.session-course-edit .control {
    padding-top: 2em;
    padding-bottom: 2em;
}

.code-course {
    padding-left: 10px;
    padding-right: 10px;
}

.control-course {
    text-align: center;
}

#settings .form-inline {
    margin-bottom: 15px;
}

#search_settings {
    margin-bottom: 15px;
}

.src-image {
    display: none;
}

/* thematic progress */
#thematic .title-topics {
    font-size: 15px;
    color: #00829C;
    font-weight: bold;
}

#thematic .thematic-cont {
    padding: 15px;
    border: 1px solid #EEEEEE;
    border-radius: 5px;
}

#thematic .thematic-avatar {
    text-align: center;
    margin-bottom: 20px;
}

#thematic .thematic-avatar .img-responsive {
    display: inline-block;
}

#thematic .current {
    background-color: #EEEEEE;
    border: 1px dashed #B0B0B0;
    border-radius: 5px;
}

#thematic .panel-heading {
    padding: 0;
}

#thematic .panel-heading a {
    padding: 10px 15px;
    display: block;
}

#thematic .date {
    font-size: 12px;
}

#thematic .views ul li {
    font-size: 12px;
}

#thematic .arrow {
    background: url("../../main/img/icons/22/arrow-up-collapse.png") no-repeat 99% center;
}

#thematic .arrow.collapsed {
    background: url("../../main/img/icons/22/arrow-down-collapse.png") no-repeat 99% center;
}

.thematic .toolbar-actions {
    height: 30px;
    display: block;
}

.alert-thematic {
    margin-top: 10px;
    display: inline-block;
}

.thematic .thematic-advance {
    margin-top: 10px;
    display: inline-block;
}

.thematic .score-progress {
    background-color: #0099FF;
    border: 1px solid #0099FF;
    color: #FFF;
    padding: 12px;
    text-transform: uppercase;
    border-radius: 5px;
}

.thematic .score-progress h3 {
    margin: 0;
    padding: 0;
}

.question_options .exercise-unique-answer-image .radio {
    padding-left: 10px;
    margin-left: 0;
}

.question_options label > input + div.thumbnail {
    padding: 10px;
    box-sizing: border-box;
    border: 2px solid #eeeeee;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(47%, #f6f6f6), color-stop(100%, #ededed)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed', GradientType=0); /* IE6-9 */
}

.question_options label > input:checked + div.thumbnail {
    border: 2px solid #337AB7;
    box-shadow: 0 4px 18px #C8C8C8;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #fffef2 47%, #ffffe2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(47%, #fffef2), color-stop(100%, #ffffe2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #fffef2 47%, #ffffe2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #fffef2 47%, #ffffe2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #fffef2 47%, #ffffe2 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%, #fffef2 47%, #ffffe2 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffe2', GradientType=0); /* IE6-9 */
}

.question_options div.thumbnail p {
    margin: 0;
}

.question_options div.thumbnail img {
    height: 150px !important;
    width: 190px !important;
    max-width: 100%;
}

.question_options .fill_blanks {
    padding: 20px 30px;
    box-sizing: border-box;
}

.question_options .fill_blanks img {
    max-width: 100%;
    display: block;
    height: auto !important;
}

/***    Draggable answer    ***/
.question_options ul.exercise-draggable-answer {
    float: left;
    margin-bottom: 20px;
    min-height: 2em;
    min-width: 100%;
    border: 3px dashed #CCC;
    padding: 20px 20px 0 20px;
}

ul.exercise-draggable-answer.list-inline li {
    margin-right: 20px;
    min-width: auto;
}

ul.exercise-draggable-answer li {
    float: left;
    cursor: move;
    margin-bottom: 20px;
    padding: 5px 20px;
    text-align: center;
    min-width: 100%;
}

ul.exercise-draggable-answer .touch-items {
    background: #ffffff;
    background-image: -webkit-linear-gradient(top, #ffffff, #cfcfcf);
    background-image: -moz-linear-gradient(top, #ffffff, #cfcfcf);
    background-image: -ms-linear-gradient(top, #ffffff, #cfcfcf);
    background-image: -o-linear-gradient(top, #ffffff, #cfcfcf);
    background-image: linear-gradient(to bottom, #ffffff, #cfcfcf);
    border-radius: 4px;
    color: #2e2e2e;
    padding: 5px 10px;
    border: solid #b0b0b0 1px;
    z-index: 100;
}

ul.exercise-draggable-answer .touch-items:hover {
    background: #ffffff;
    background-image: -webkit-linear-gradient(top, #ffffff, #b8d3e3);
    background-image: -moz-linear-gradient(top, #ffffff, #b8d3e3);
    background-image: -ms-linear-gradient(top, #ffffff, #b8d3e3);
    background-image: -o-linear-gradient(top, #ffffff, #b8d3e3);
    background-image: linear-gradient(to bottom, #ffffff, #b8d3e3);
    text-decoration: none;
}

.question_options .ui-widget {
    padding: 10px 20px;
}

.question_options .droppable {
    padding: 5px 10px;
    text-align: center;
    background-color: #ECF0F1;
    border: dotted #dddddd 2px;
    border-radius: 4px;
    color: #666666;
    height: 2em;
    width: 95%;
    margin-bottom: 0;
}

.question_options .droppable-item {
    background-color: #096EAA4A;
    color: #333;
    display: table;
    padding: 5px;
    width: 100%;
}

.question_options .droppable-item .number,
.question_options .droppable-item .droppable {
    display: table-cell;
}

.question_options .droppable-item .number {
    font-weight: bold;
    text-align: right;
    padding-right: 5px;
}

.question_options .droppable-item .droppable .gallery {
    margin-bottom: 0;
}

.question_options .droppable-item .droppable .gallery .touch-items {
    min-width: 100%;
    margin: 5px 0;
}

.question_options .droppable .gallery .exercise-draggable-answer-option {
    margin-bottom: 0;
    background: #feffff;
    background: -moz-linear-gradient(top, #feffff 0%, #d2ebf9 100%);
    background: -webkit-linear-gradient(top, #feffff 0%, #d2ebf9 100%);
    background: linear-gradient(to bottom, #feffff 0%, #d2ebf9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#feffff', endColorstr='#d2ebf9', GradientType=0);
    border: 1px solid #DDDDDD;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.question_options .col-xs-12.col-sm-4.col-md-3.col-lg-2 {
    clear: right;
}

.question_options .col-xs-12.col-sm-4.col-md-3.col-lg-2 .droppable-item {
    margin-bottom: 20px;
}

/***    Matching Draggable answer ***/
.drag_question {
    min-height: 4em;
    width: 100%;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
}

.drag_question .indent {
    text-indent: -15px;
    padding-left: 30px;
    padding-right: 15px;
}

.drag_question .separate {
    background-color: #ffffff;
    text-align: center;
    vertical-align: middle;
    border-top: #dddddd;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-bottom: none !important;
}

.drag_question .text-right {
    text-align: left;
}

.drag_question .select-matching {
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 30px;
    width: 60px;
    text-align: center;
    border: 3px solid;
    border-color: white #f7f7f7 #f5f5f5;
    border-radius: 3px;
}

.drag_question .select-matching:before, .drag_question .select-matching:after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 10px;
    width: 0;
    height: 0;
    border: 4px dashed;
    border-color: #888 transparent;
    pointer-events: none;
}

.drag_question .select-matching:before {
    border-bottom-style: solid;
    border-top: none;
    border-bottom-color: #aaa;
}

.drag_question .select-matching:after {
    margin-top: 7px;
    border-top-style: solid;
    border-bottom: none;
    border-top-color: #aaa;
}

.drag_question .select-matching select {
    position: relative;
    width: 130%;
    margin: 0;
    padding: 6px 6px 6px 6px;
    height: 28px;
    line-height: 14px;
    font-size: 13px;
    color: #111;
    background: rgba(0, 0, 0, 0) !important;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
}

.drag_question .select-matching select > option {
    margin: 3px;
    padding: 6px 8px;
    text-shadow: none;
    background: #fff;
    border-radius: 3px;
    cursor: pointer;
    color: #111;
}

.drag_question .window {
    border: 1px solid #dddddd;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    cursor: pointer;
    min-height: 65px;
    padding: 25px;
    margin-left: 5px;
    margin-right: 5px;

}

.window_left_question {
    padding: 10px 25px 10px 10px;
    text-align: right;
    background: #f2f9fe; /* Old browsers */
    background: -moz-linear-gradient(top, #f2f9fe 0%, #d6f0fd 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2f9fe), color-stop(100%, #d6f0fd)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f2f9fe 0%, #d6f0fd 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f2f9fe 0%, #d6f0fd 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f2f9fe 0%, #d6f0fd 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f2f9fe 0%, #d6f0fd 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f9fe', endColorstr='#d6f0fd', GradientType=0); /* IE6-9 */
}

.window_right_question {
    padding: 10px 10px 10px 25px;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #e5e5e5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=0); /* IE6-9 */
}

.drag_question .data_table, .drag_question .data_table th, .drag_question .data_table td {
    border: none !important;
}

._jsPlumb_endpoint {
    z-index: 50;
}

/*** Video chat ***/
video#chat-local-video,
div#chat-remote-video video {
    display: block;
    height: auto;
    width: 100%;
}

/* CSS Forum */
.forum .number-post {
    background-color: #F7F7F9;
    border: 1px solid #E1E1E1;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 10px;
    text-align: center;
}

.forum .number-post p {
    padding: 0;
    margin: 0;
}

.forum .title {
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.forum .description {
    font-size: 14px;
    color: #666666;
}

.forum_display .sticky {
    background: #FCF8E3;
    border-color: #FAEBCC !important;
}

.forum_display .panel-default {
    border: none;
    box-shadow: none;
}

.forum_display .panel-default .panel-body {
    padding: 0;
}

.forum_display .panel .title img {
    display: none;
}

.forum-post .thumbnail {
    margin-bottom: 5px;
    text-align: center;
    border: none;
}

.forum-post .thumbnail img {
    border-radius: 50%;
    border: 2px solid #dddddd;
    width: 85px;
}

.forum-post .title-username {
    text-align: center;
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 0;
    font-weight: bold;
    padding-top: 5px;
}

.forum-post .user-type.text-center {
    border-radius: 50%;
    position: absolute;
    top: 25%;
    right: 17%;
    border: 2px solid #dddddd;
    padding: 5px;
    background-color: #fff;
}

.forum-post {
    border-color: #dddddd !important;
}

.forum-post .post-date {
    font-size: 12px;
    text-align: center;
    color: #666666;
}

.forum-post .post-closed {
    padding: 5px;
    text-align: center;
}

.forum-post .post-header {
    border-bottom: 1px solid #dddddd;
    margin-bottom: 20px;
}

.forum-post .post-body {
    color: #666666;
}

.forum-post .post-body img {
    display: block;
    max-width: 100%;
}

.forum-post .tools-icons {
    text-align: center;
    border: 1px solid #dddddd;
    padding: 5px;
}

.forum-post .tools-icons a {
    padding: 2px;
    white-space: normal;
}

/* Sequence */
.title-sequence {
    font-size: 12px;
    text-align: center;
}

#parents {
    text-align: center;
}

#parents .parent {
    display: inline-block;
    width: 125px;
    padding: 5px;
    /* background: url("../../main/img/icons/48/sequence-arrow.png") no-repeat center bottom; */
}

#parents .sequence-plus-icon {
    color: #CCCCCC;
    padding: 0 10px;
}

.border-sequence {
    background: url("../../main/img/line.png") repeat-x 0 35px;
}

.arrow-sequence {
    height: 68px;
    background: url("../../main/img/icons/48/sequence-arrow.png") no-repeat center 15px;
    margin-top: 10px;
    padding-top: 10px;
}

#parents .parent .big-icon {
    background-color: #ECF0F1;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    position: relative;
}

#parents .parent.parent-deleted .sequence-course {
    text-decoration: line-through;
}

#parents .parent .big-icon .sequence-course {
    font-size: 12px;
}

#parents .parent .big-icon .sequence-deleted {
    font-size: 12px;
}

#resource {
    text-align: center;
}

#resource .parent {
    display: inline-block;
    padding: 5px;
    width: 15%;
}

#resource .parent .big-icon {
    background-color: #eeffaa;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    position: relative;
}

#resource .parent .big-icon .sequence-course {
    font-size: 12px;
}

#resource .parent .big-icon .sequence-deleted {
    font-size: 12px;
}

.section-title-sequence {
    font-size: 22px;
    color: #333333;
    margin-bottom: 30px;
    padding: 0;
    border-bottom: 1px solid #E5e5e5;
}

#children {
    text-align: center;
}

#children .parent {
    display: inline-block;
    padding: 5px;
    width: 15%;
}

#children .parent .big-icon {
    background-color: #feffd6;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    position: relative;
}

#children .parent .big-icon .sequence-course {
    font-size: 12px;
}

#parents .parent .big-icon .sequence-id,
#resource .parent .big-icon .sequence-id,
#children .parent .big-icon .sequence-id {
    border: 0 none;
    border-radius: 20px;
    background-color: #E74C3C;
    color: #ffffff;
    padding: 0 6px;
    position: absolute;
    right: 5px;
    top: 5px;
}

#children .parent .big-icon .sequence-deleted {
    font-size: 12px;
}

.form-search {
    padding-bottom: 50px;
}

#page-install {
    margin-top: 40px;
}

#page-install .logo-install {
    text-align: center;
    margin-bottom: 10px;
}

#page-install .panel-default {
    border-color: #DDD;
}

.installer .logo {
    text-align: center;
}

#page-install .icon-install {
    text-align: center;
}

.installer .title {
    text-align: center;
    color: #FFF;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

.installer .text {
    text-align: center;
    font-size: 16px;
    color: #FFF;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

.installer .download-info {
    padding-top: 10px;
    text-align: center;
}

.RequirementHeading h2 {
    font-weight: bold;
    font-size: 22px;
    color: #2E75A3;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

#page-install h2.page-header {
    font-weight: bold;
    font-size: 28px;
}

#page-install .checkbox {
    margin-bottom: 10px;
}

#page-install pre {
    margin-top: 5px !important;
}

#page-install .page-header {
    margin: 20px 0 20px;
}

#page-install .content {
    padding-left: 3%;
    padding-right: 3%;
}

#page-install .install-steps-menu {
    border: none;
}

#page-install .install-steps-menu ol li {
    padding-bottom: 5px;
    padding-top: 5px;
}

#page-install .normal-message {
    padding: 20px;
    margin: 20px 0;
    border-radius: 3px;;
    font-size: 12px;
    color: #666666;
}

.install-steps-menu li.current-step {
    font-weight: bold;
}

/**** SOCIAL MEDIA ****/
.share-social-media {
    background-color: #FFF;
    margin-bottom: 5px;
    padding: 10px 5px 5px 5px;
    font-size: 12px;
}

.share-social-media .sharing-buttons {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
}

.share-social-media .sharing-buttons li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}

.btn-facebook.btn-inverse {
    color: #3B5998;
    background-color: transparent;
    border-color: rgba(59, 89, 152, 0.3);
}

.btn-facebook.btn-inverse:hover {
    color: #FFF;
    background-color: #3B5998;
    border-color: #3B5998;
}

.btn-twitter.btn-inverse {
    color: #00ACED;
    background-color: transparent;
    border-color: rgba(0, 172, 237, 0.3);
}

.btn-twitter.btn-inverse:hover {
    color: #FFF;
    background-color: #00ACED;
    border-color: #00ACED;
}

.btn-linkedin.btn-inverse {
    color: #0077b5;
    background-color: transparent;
    border-color: rgba(7, 119, 181, 0.3);
}

.btn-linkedin.btn-inverse:hover {
    color: #FFF;
    background-color: #0077b5;
    border-color: #0077b5;
}

/**** END SOCIAL MEDIA ****/

/**** ABOUT SESSION ****/

.read-more, .hide-content {
    padding: 10px 0;
    font-weight: bold;
    margin-bottom: 10px;
}

.read-more-area {
    position: relative;
    width: 100%;
    min-height: 284px;
}

.label-price, .label-free {
    background-color: transparent;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    padding: 0;
    display: block;
    width: 100%;
    text-align: left;
}

.label-price {
    color: #29303b;
}

.label-free {
    color: #5cb85c;
}

#about-course .panel-information ul {
    margin: 20px 0;
}

#about-course .course, #about-course .session {
    padding-top: 10px;
    padding-bottom: 10px;
}

#about-course .session-requirements h5 {
    font-weight: bold;
}

#about-course .session-title {
    font-weight: bold;
}

#about-course .session-tutor {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 12px;
}

#about-course .share-social-media {
    padding: 10px 0 0 0;
}

#about-course .share-social-media .sharing-buttons li {
    padding-left: 0;
}

#about-course .session-info .date {
    font-weight: bold;
    text-align: center;
}

#about-course .panel-tags {
    display: inline-block;
    width: 100%;
    padding: 0 10px;
    margin-top: 10px;
}

#about-course .panel-tags .course-tags {
    margin-bottom: 0;
}

#about-course .panel-tags .course-tags li {
    margin-bottom: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

#about-course .sub-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
}

#about-course .topics .title-info {
    margin: 30px 0 20px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

#about-course .coach-header {
    display: flex;
    -moz-box-align: center;
    -webkit-box-align: center;
    align-items: center;
    flex-flow: row;
}

#about-course .coach-header .coach-avatar {
    width: 70px;
    margin-right: 20px;
}

#about-course .coach-header .coach-avatar .img-circle {
    border: 1px solid #C0C0C0;
}

#about-course .coach-header .coach-title {
    flex-flow: column;
    align-items: flex-start;
    display: flex;
}

#about-course .coach-header .coach-title p {
    font-size: 13px;
}

#about-course .coach-title p {
    margin: 0;
}

#about-course .coach-information {
    width: 100%;
    display: block;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

#about-course .coach-information:last-child {
    border-bottom: none;
}

#about-course .coach-information h4 {
    font-weight: bold;
}

#about-course .course-title h3 {
    font-size: 22px;
    line-height: 32px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
}

#about-course .tags-course {
    padding: 10px;
    background-color: #ECF0F1;
    margin-bottom: 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#about-course .tags-course .fa-tags {
    color: #D94D38;
}

#about-course .tags-course a {
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #ffffff;
    border-radius: 10%;
    -moz-border-radius: 10%;
    -webkit-border-radius: 10%;
}

#about-course .subscribe {
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#about-course .info-course {
    margin-top: 20px;
    padding-top: 20px;
}

#about-course .info-course .panel-heading h4 {
    margin: 0;
}

#about-course .info-course .title-info {
    color: #00829C;
    border-bottom: 1px dotted #eeeeee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#about-course .info-course .content-info {
    padding: 10px;
}

#about-course .extrafield_dt {
    margin-bottom: 10px;
}

#about-course .extrafield_dd {
    color: #666666;
}

#about-course .socialshare {
    text-align: center;
}

#about-course .socialshare .networks {
    padding-left: 0;
    list-style: none;
}

#about-course .socialshare .networks li {
    padding-right: 2px;
    padding-left: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

#about-course .socialshare .networks li a {
    display: block;
    width: 48px;
    height: 48px;
    font-size: 2.3rem;
    line-height: 18px;
    text-align: center;
    color: #FFF;
    background-color: #337AB7;
    border-radius: 50%;
    padding: 10px;
}

#about-course .socialshare .networks li a:hover {
    background-color: #286090;
}

#about-course .course-tags .tag-value {
    display: inline-block;
    margin-bottom: 15px;
}

#about-course .course-tags li span {
    position: relative;
    display: inline-block;
    padding: 0 3px;
    height: 20px;
    line-height: 20px;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    background: #D7E3E6 !important;
    border-radius: 0 3px 3px 0 !important;
    -webkit-transition: none 0.15s ease-in-out;
    -o-transition: none 0.15s ease-in-out;
    transition: none 0.15s ease-in-out;
}

#about-course .course-tags li span::before {
    display: inline-block;
    content: "";
    top: 0;
    left: -8px;
    position: absolute;
    width: 0;
    height: 0;
    border-right: 8px solid #D7E3E6;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
}

#about-course .course-tags li span::after {
    z-index: 1;
    content: "";
    top: 8px;
    left: -3px;
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #F2F2F2;
    border-radius: 10px;
}

#about-course .panel-tags .panel-body {
    text-align: center;
}

#about-course .price-text {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

#about-course .buy-box .btn-primary {
    color: #fff;
    background-color: #ec5252;
    border: 1px solid transparent;
    font-size: 15px;
    line-height: 1.35135;
    border-radius: 2px;
}

#about-course .course-short {
    padding-top: 5px;
    padding-bottom: 5px;
}

#about-course .course-short ul {
    display: inline-block;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

#about-course .course-short ul li {
    display: inline-block;
}

#about-course .course-short ul li.author {
    font-weight: bold;
    margin-right: 5px;
}

#about-course #course-info-top .session-title {
    margin-top: 10px;
}

/* list courses classic*/
.classic-courses .list-teachers {
    font-size: 12px;
}

/* list my course user*/
.session .info-session {
    margin-bottom: 10px;
    font-size: 12px;
}

.session .info-session span {
    margin-right: 10px;
}

.info-session .date {
    font-size: 12px;
}

.info-session .description {
    font-size: 12px;
    line-height: 22px;
}

.info-session .teacher-name {
    font-size: 12px;
}

.session .list-teachers {
    font-size: 12px;
}

.session .sessions-items .courses {
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid #ECF0F1;
}

.grid-courses .items .course-student-info {
    background-color: #d9edf7;
    border: 1px solid #bce8f1;
    padding: 5px;
    border-radius: 5px;
}

.grid-courses .items .code-title {
    font-size: 10px;
    font-weight: bold;
    padding-top: 8px;
    color: #666;
}

.toolbar-edit {
    display: inline-block;
    width: 100%;
    margin-top: 10px;
}

.bar-progress {
    display: inline-block;
    width: 100%;
}

.grid-courses .items {
    /* position: relative; */
    vertical-align: top;
    white-space: normal;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    text-align: left;
    background-color: #fff;
    border: 1px solid #DFDFDF;
    border-radius: 5px;
    margin: auto auto 20px;
}

.grid-courses .items.my-courses {
    box-shadow: 2px 4px 15px 0 rgba(46, 61, 73, .1);
    transition: box-shadow .3s ease, border .3s ease;
}

.grid-courses .items.my-courses .course-student-info {
    font-size: 10px;
    text-align: center;
    background: none;
    border: none;
    padding: 0;
}

.grid-courses .items.my-courses .title {
    font-size: 14px;
}

.grid-courses .items.items-courses {
    box-shadow: 2px 4px 15px 0 rgba(46, 61, 73, .1);
    transition: box-shadow .3s ease, border .3s ease, transform 0.2s ease;
}

.video-hover-container {
    width: 100%;
    height: 50%;
    position: relative;
}

.poster-video-hover,
.items-courses .card-course .video-hover,
.items-courses .card-course .video-hover-container .video-hover .mejs__inner .mejs__mediaelement mediaelementwrapper iframe {
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px 12px 0px 0px !important;
}

.poster-video-hover {
    position: absolute;
    z-index: 2;
    transition: opacity 0.8s ease;
}

.grid-courses .items.items-sessions {
}

.grid-courses .items.items-courses:hover,
.grid-courses .items.my-courses:hover,
.grid-courses .items.items-hotcourse:hover {
    box-shadow: 4px 5px 20px 0 rgba(46, 61, 73, .15);
    transition: box-shadow .3s ease, border .3s ease, transform 0.2s ease;
    transform: scale(1.02);
}

.grid-courses .items.items-hotcourse {
    box-shadow: 2px 4px 15px 0 rgba(46, 61, 73, .1);
    transition: box-shadow .3s ease, border .3s ease;
}

.card-course {
    width: 100%;
    height: 98%;
    overflow: hidden;
    position: relative;
}

.card-course .card-course-image {
    object-fit: fill;
    width: 100%;
    height: 50%;
    border-radius: 12px 12px 0px 0px;
}

.card-course-info {
    height: 50%;
    padding: 10px;
    overflow: hidden;
}

.container-topics {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    height: 50px;
    margin: 6px 0px 10px 0px;
}

.topic-tag {
    height: 28px;
    display: inline-block;
    background-color: #C9E1F4;
    border-radius: 14px;
    padding: 5px 10px;
    font-size: 12px;
    color: #3B78C8;
    font-weight: 500;
    margin: 0px 5px 5px 0px;
}

.card-course-info .card-course-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    background: rgb(59,120,200);
    background: linear-gradient(90deg, rgba(59,120,200,1) 0%, rgba(50,136,172,1) 35%, rgba(43,164,172,1) 100%);
    padding: 4px;
    border-radius: 6px;
    color: white;
}

.card-course-title {
    text-overflow: ellipsis ; 
    max-height: 23%;
    overflow: hidden ;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 ; 
    -webkit-box-orient: vertical ;
    font-size: 16px;
    font-weight: 600;
    color: black;
    display: block;
    height: 50px;
}

.card-course-info a img {
    height: 20px;
}

.card-course-info a p {
    margin: 0px 5px;
}

.rating {
    height: 20%;
    display: flex;
    align-items: center;
    color: #AAAAAA;
}

.stars {
    display: inline-block;
    font-size: 0;
}

.star {
    display: inline-block;
    width: 24px;
    height: 21px;
    background-color: #ccc;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    margin-right: 5px;
}

.star.filled {
    background-color: #FFC400;
}

.grid-courses .items .block-title {
    margin: 10px 0;
}

.grid-courses .items .title {
    line-height: 1.4;
    padding: 0;
    font-weight: bold;
    margin: 0;
    font-size: 14px;
}

.grid-courses .items .toolbar > div {
    text-align: center;
}

.grid-courses .items .image .black-shadow {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    box-sizing: border-box;
    position: absolute;
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
    padding: 40px 10px 10px;
}

.grid-courses .items .image .hovered-course {
    opacity: 1;
    transition: all 0.3s ease 0s;
}

.grid-courses .items .toolbar .info {
    float: left;
    font-size: 12px;
}

.grid-courses .session-date,
.grid-courses .session-info {
    font-size: 12px;
    padding: 5px 10px;
}

.grid-courses .items .block-info {
    font-size: 12px;
}

.grid-courses .items .block-date {
    padding: 5px 0;
    font-size: 11px;
    line-height: 18px;
}

.grid-courses .items .block-info .list-inline {
    margin: 0;
    padding: 0;
}

.grid-courses .items .image {
    position: relative;
}

.grid-courses .items .image .img-responsive {
    min-width: 100%;
}

.grid-courses .items .image .pin {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
}

.grid-courses .items .ranking {
    font-size: 10px;
    margin: 0 0 10px;
}

.grid-courses .items .notifications {
    text-align: center;
}

.grid-courses .items .admin-actions,
.grid-courses .items .user-actions {
    position: absolute;
    bottom: 0;
    left: 0;
}

.grid-courses .items .admin-actions .btn-sm,
.grid-courses .items .user-actions .btn-sm {
    border-radius: 0;
    border: none;
}

.grid-courses .items .admin-actions .registered {
    background-color: #17AA1C;
    color: #FFF;
}

.grid-courses .items .category {
    position: absolute;
    bottom: 0;
    right: -10px;
    background-color: #fd6600;
    color: #fff;
    padding: 5px 10px;
    font-size: 10px;
    text-transform: uppercase;
    z-index: 2;
    font-weight: bold;
    height: 32px;
    line-height: 23px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid-courses .items .cribbon {
    width: 0;
    height: 0;
    border-top: 10px solid #333333;
    border-right: 10px solid transparent;
    position: absolute;
    bottom: -10px;
    right: -10px;
}

.grid-courses .items .description {
    padding: 5px 10px 5px;
    min-height: 125px;
}

.grid-courses .items .description .text {
    font-size: 12px;
}

.grid-courses .items .author-card {
    display: flex;
    margin-top: 5px;
    margin-left: 5px;
}

.grid-courses .items .author-card img {
    border: 2px solid #fff;
}

.grid-courses .items .author-card .teachers-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-courses .items .author-card .teachers-details h5 {
    font-size: 10px;
    font-weight: bold;
    margin: 0 10px;
}

.grid-courses .items .author-card .teachers-details h5 a {
    color: #fff;
}

/*---- */
.grid-courses .items .block-author {
    display: flex;
    margin: 5px 0 5px;
}

.grid-courses .items .block-author img {
    border: 2px solid #fff;
}

.grid-courses .items .block-author .teachers-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-courses .items .block-author .teachers-details p {
    font-size: 10px;
    margin: 0 10px 0 10px;
    padding: 0;
}

.grid-courses .items .block-author .teachers-details h5 {
    font-size: 10px;
    font-weight: bold;
    margin: 0 10px;
}

.grid-courses .items .block-author .teachers-details h5 a {
    color: #666;
}

.grid-courses {
    margin-top: 15px;
    margin-bottom: 15px;
}

.title-session,
.title-courses {
    text-align: center;
    font-weight: bold;
    margin-bottom: 25px;
}

/*************** SCROLLBAR BASE CSS ***************/

.scroll-wrapper {
    overflow: hidden !important;
    padding: 0;
    position: relative;
    height: 300px;
}

.scroll-wrapper > .scroll-content {
    border: none !important;
    box-sizing: content-box;
    height: auto;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    overflow: scroll !important;
    padding: 0;
    position: relative !important;
    top: 0;
    width: auto;

}

.scroll-wrapper > .scroll-content::-webkit-scrollbar {
    height: 0;
    width: 0;
}

.scroll-element {
    display: none;
}

.scroll-element, .scroll-element div {
    box-sizing: content-box;
}

.scroll-element.scroll-x.scroll-scrollx_visible,
.scroll-element.scroll-y.scroll-scrolly_visible {
    display: block;
}

.scroll-element .scroll-bar,
.scroll-element .scroll-arrow {
    cursor: default;
}

.scroll-textarea {
    border: 1px solid #cccccc;
    border-top-color: #999999;
}

.scroll-textarea > .scroll-content {
    overflow: hidden !important;
}

.scroll-textarea > .scroll-content > textarea {
    border: none !important;
    box-sizing: border-box;
    height: 100% !important;
    margin: 0;
    max-height: none !important;
    max-width: none !important;
    overflow: scroll !important;
    outline: none;
    padding: 2px;
    position: relative !important;
    top: 0;
    width: 100% !important;
}

.scroll-textarea > .scroll-content > textarea::-webkit-scrollbar {
    height: 0;
    width: 0;
}

/*************** SIMPLE INNER SCROLLBAR ***************/

.scrollbar-inner > .scroll-element,
.scrollbar-inner > .scroll-element div {
    border: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 10;
}

.scrollbar-inner > .scroll-element div {
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}

.scrollbar-inner > .scroll-element.scroll-x {
    bottom: 2px;
    height: 8px;
    left: 0;
    width: 100%;
}

.scrollbar-inner > .scroll-element.scroll-y {
    height: 100%;
    right: 2px;
    top: 0;
    width: 8px;
}

.scrollbar-inner > .scroll-element .scroll-element_outer {
    overflow: hidden;
}

.scrollbar-inner > .scroll-element .scroll-element_outer,
.scrollbar-inner > .scroll-element .scroll-element_track,
.scrollbar-inner > .scroll-element .scroll-bar {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.scrollbar-inner > .scroll-element .scroll-element_track,
.scrollbar-inner > .scroll-element .scroll-bar {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: 0.4;
}

.scrollbar-inner > .scroll-element .scroll-element_track {
    background-color: #e0e0e0;
}

.scrollbar-inner > .scroll-element .scroll-bar {
    background-color: #c2c2c2;
}

.scrollbar-inner > .scroll-element:hover .scroll-bar {
    background-color: #919191;
}

.scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar {
    background-color: #919191;
}

/* update scrollbar offset if both scrolls are visible */

.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track {
    left: -12px;
}

.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track {
    top: -12px;
}

.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size {
    left: -12px;
}

.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size {
    top: -12px;
}

/* FORM REGISTER */
.terms-conditions {
    padding: 15px 10px;
    background-color: #DDD;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.help-registration {
    background-color: #ececec;
    box-shadow: none;
}

#registration #status-group .radio {
    display: inline-block;
    position: relative;
}

#registration #status-group .radio label p {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

#registration .progress {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 10px;
}

#registration input[name='status'] {
    position: relative !important;
    margin-left: 0 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
}

#registration input.register-profile[value='5']:after {
    position: relative;
    top: 0;
    display: block;
    content: ' ';
    background: url(../../main/img/icons/svg/coursestudent_na.svg);
    width: 132px;
    height: 132px;
    border-radius: 0;
    -webkit-transition: color 1s, -webkit-box-shadow 1s;
    transition: color 1s, -webkit-box-shadow 1s;
    transition: box-shadow 1s, color 1s;
    transition: box-shadow 1s, color 1s, -webkit-box-shadow 1s;
    border: 4px solid #FFFFFF;
}

#registration input.register-profile[value='5']:checked:after {
    -webkit-box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    background: url(../../main/img/icons/svg/coursestudent.svg);
    border-color: #E4CE80;
    transition: all 250ms ease;
    will-change: transition;
    top: 5px;
}

#registration input.register-profile[value='1']:after {
    position: relative;
    top: 0;
    display: block;
    content: ' ';
    background: url(../../main/img/icons/svg/coursemanager_na.svg);
    width: 132px;
    height: 132px;
    border-radius: 0;
    -webkit-transition: color 1s, -webkit-box-shadow 1s;
    transition: color 1s, -webkit-box-shadow 1s;
    transition: box-shadow 1s, color 1s;
    transition: box-shadow 1s, color 1s, -webkit-box-shadow 1s;
    border: 4px solid #FFFFFF;
}

#registration input.register-profile[value='1']:checked:after {
    -webkit-box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    background: url(../../main/img/icons/svg/coursemanager.svg);
    border-color: #76CDE4;
    transition: all 250ms ease;
    will-change: transition;
    top: 5px;
}

/* GRID CATALOG */
.section-course-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: auto;
    align-items: center;
}

.section-course-wrapper.show-section {
    display: flex !important;
}

/* Catalog session */
.return-catalog {
    margin-top: 23px;
}

.search-session, .search-courses {
    margin-bottom: 15px;
    margin-top: 25px;
}

.search-session .form-inline label {
    font-weight: normal;
    padding-right: 10px;
    margin-right: 5px;
}

.search-session .btn-catalog {
    margin-top: 25px;
}

#session-list .col-md-4:nth-child(3n+1) {
    clear: left;
}

#session-list .title-session {
    font-size: 14px;
    line-height: 1.2;
    margin-top: 5px;
    min-height: 32px;
}

#session-list .session-col:nth-child(4n+1) {
    clear: left;
}

#session-list .item {
    display: block;
    padding: 0;
    border: 1px solid #dddddd;
    margin-bottom: 20px;
    border-radius: 5px;
}

#session-list .item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#session-list .information-item {
    padding: 10px;
    min-height: 185px;
}

#session-list .information-item .requirements .fa-book {
    margin-right: 10px;
    color: #00829C;
}

#session-list .information-item .requirements {
    color: #666666;
    font-size: 12px;
}

#session-list .information-item .options .info-catalog {
    background-color: #35A8C9;
    color: #ffffff;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
}

#session-list .author-session,
#session-list .date-session {
    font-size: 12px;
    color: #666666;
}

#session-list .author-session .fa-user,
#session-list .date-session .fa-calendar-o {
    color: #00829C;
    margin-right: 10px;
}

#session-list .options :last-child {
    margin: 0;
}

#session-list .dependent .tool-book .fa.fa-book {
    color: #00829C;
    margin-right: 10px;
}

#session-list .dependent {
    font-size: 12px;
    padding-bottom: 10px;
}

#session-list .dependent a {
    color: #666666;
}

#custom-icons .items-tools {
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    min-height: 185px;
    margin-bottom: 20px;
    text-align: center;
}

#custom-icons .name-tools {
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#custom-icons .btn {
    font-size: 18px;
    line-height: 0;
    margin-right: 5px;
}

#custom-icons .page-header {
    margin: 20px 0 20px;
    border-bottom: 1px solid #CCCCCC;
}

.help-course {
    background-color: #EEEEEE;
    color: #666;
    border: 1px dashed #B0B0B0;
    border-radius: 5px;
    padding: 1em;
    margin-bottom: 1em;
    text-align: center;
}

.my-progress .profile-user {
    padding: 10px;
}

.my-progress .avatar-profile .img-responsive {
    margin: auto;
}

.my-progress .username {
    font-size: 20px;
    text-align: center;
}

.my-progress .star-progress .fa-star {
    color: #e4c200;
}

.my-progress .star-progress .fa-star.in {
    color: #c2c2c2;
}

.my-progress .progress {
    margin-bottom: 0;
}

.my-progress .list-course {
    padding: 0;
    margin: 0;
}

.my-progress .list-course li {
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
}

.my-progress .list-course li a {
    color: #666;
}

.my-progress .list-course li a.active {
    color: #00829C;
}

.my-progress .embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.my-progress .embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.section-status h2.page-header {
    font-size: 22px;
    margin-top: 5px;
}

#student-list-work {
    padding: 10px;
}

#work-list, #session-table {
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
}

.list-category {
    display: inline-block;
}

.list-category .chosen-container {
    width: 450px !important;
}

.ui-accordion .ui-accordion-content-active {
    overflow: visible;
}

.ui-jqgrid-view .ui-widget-content a {
    color: #666666;
}

.ui-jqgrid-view .ui-widget-content a.btn {
    color: #fff;
}

.ui-jqgrid-view .ui-state-default,
.ui-jqgrid-view .ui-widget-content .ui-state-default,
.ui-jqgrid-view .ui-widget-header .ui-state-default {
    background: transparent;
    color: #666666;
    border: none;
}

.ui-jqgrid-view table {
    border-collapse: inherit;
}

.ui-jqgrid.ui-widget-content {
    border: none;
}

.ui-jqgrid-view .ui-jqgrid-sortable {
    font-size: 12px;
}

.ui-jqgrid-view .ui-jqgrid .ui-jqgrid-htable th div {
    height: auto;
}

.ui-jqgrid tr.ui-row-ltr td {
    border: none;
}

.ui-jqgrid tr.jqgrow td {
    line-height: 22px;
}

.ui-jqgrid .ui-jqgrid-labels .ui-state-hover {
    background-color: transparent;
}

.ui-jqgrid .ui-pg-selbox {
    font-size: 12px;
    height: 25px;
}

.ui-jqgrid .ui-pg-input {
    font-size: 12px;
    height: 25px;
}

.ui-jqgrid .ui-pg-table td {
    font-size: 12px;
}

.ui-jqgrid .ui-widget-content .ui-state-default {
    background: #EEEEEE;
}

.ui-tabs .ui-widget-header {
    background: none;
    border: none;
    border-radius: 0;
    border-bottom-color: #dedede;
}

.ui-tabs.ui-widget-content {
    border: none;
}

.ui-tabs .ui-state-default, .ui-tabs .ui-widget-content .ui-state-default, .ui-tabs .ui-widget-header .ui-state-default {
    background: #fff;
}

.ui-tabs .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border-color: #dedede;
}

.ui-widget {
    font-family: var(--font-primary), "Open Sans", sans-serif;
}

.ui-tabs .ui-widget-content a.btn-success {
    color: #fff;
}

.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
    opacity: 1;
}

.ui-jqgrid .ui-jqgrid-pager {
    height: 35px;
}

.ui-jqgrid .ui-pg-table {
    background: #fff;
    color: #666666;
    height: 35px;
}

.ui-jqgrid .ui-jqgrid-htable th {
    font-weight: bold;
    white-space: normal !important;
}

.ui-jqgrid .ui-state-highlight, .ui-jqgrid .ui-widget-content .ui-state-highlight, .ui-jqgrid .ui-widget-header .ui-state-highlight {
    background: #F7F7F7;
}

.ui-jqgrid .ui-state-hover, .ui-jqgrid .ui-widget-content .ui-state-hover, .ui-jqgrid .ui-widget-header .ui-state-hover {
    background: #F7F7F7;
}

/* ui diglog */
.ui-dialog .ui-widget-header {
    border: none;
    background: none;
}

.ui-dialog.ui-widget-content {
    border: 1px solid #DDD;
    background: #ffffff;
}

.ui-dialog .ui-dialog-buttonpane {
    border-top: 1px solid #DDD;
}

.ui-button.ui-widget.ui-state-default {
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(to bottom, #fff, #e6e6e6);
    background-repeat: repeat-x;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
    color: #333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05)
}

.ui-button.ui-widget.ui-state-hover {
    border-width: 1px;
    border-style: solid;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
    background-position: 0 -15px;
    background-color: #E6E6E6;
    font-weight: normal;
    color: #333333;
}

#dialog-form .dialog-form-content {
    font-size: 12px;
}

#dialog-form .dialog-form-content .control-label {
    font-size: 12px;
    font-weight: normal;
    padding-top: 0;
}

#dialog-form .dialog-form-content .multiple-select {
    font-size: 12px;
}

#student-list-work {
    background-color: #ffffff;
    position: absolute;
    top: 0;
    right: 10px;
    border: 1px solid #ccc;
    width: auto;
    z-index: 3;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-student {
    width: 550px;
}

#student-list-work .toolbar {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

#datafiller .fillers {
    list-style: none;
    padding: 0;
    margin: 0;
}

#datafiller .description {
    padding: 10px;
    margin-bottom: 10px;
}

#datafiller .fillers li {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 10px;
}

.filler-report h3 {
    margin-top: 10px;
}

.filler-report .filler-report-data-init {
    width: 60%;
}

.items-course {
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    min-height: 330px;
    margin-bottom: 10px;
}

.items-course .items-course-info .title {
    font-size: 14px;
    min-height: 32px;
    line-height: 1.3;
}

.items-course .items-course-info .teachers {
    font-size: 12px;
    color: #666666;
}

.items-course .items-course-info .ranking {
    font-size: 10px;
    color: #666666;
}

.items-course .items-course-info .user-register {
    font-size: 11px;
    background-color: #FCF8E3;
    border: 1px solid #FAEBCC;
    text-align: center;
    display: inline-block;
    width: 100%;
    margin-left: 5px;
    margin-bottom: 3px;
    padding-top: 3px;
    padding-bottom: 5px;
    border-radius: 5px;
}

.items-course .items-course-info .toolbar {
    text-align: center;
    padding-top: 5px;
}

.items-course .items-course-info .vote_label_info {
    margin-bottom: 5px;
}

.hot-course-head {
    padding-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.create-groups .separate td {
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 10px;
}

.create-groups .separate .btn-primary {
    margin-top: 20px;
}

#session-properties td, #session-user-list td, #session-user-list th {
    text-align: left;
    padding-left: 15px;
}

#toolbar-agenda .bootstrap-select {
    width: 100%;
}

#toolbar-agenda .bootstrap-select .dropdown-menu li a {
    margin-left: 0px;
}

.files-table {
    padding-top: 20px;
}

.user-list {
    padding-top: 10px;
    padding-bottom: 10px;
}

.items-user {
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    min-height: 170px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.items-user .name {
    margin-top: 10px;
}

.items-user .avatar {
    padding-top: 10px;
    padding-bottom: 10px;
}

#whoisonline .items-user {
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: 1px solid #ECF0F1;
    margin-bottom: 20px;
    min-height: 250px;
}

#whoisonline .items-user-avatar .img-responsive {
    display: inline-block;
    height: 128px;
}

#whoisonline .items-user-name {
    font-size: 12px;
    padding-top: 10px;
    line-height: 15px;
}

#whoisonline .items-user .toolbar .btn, #whoisonline .items-user .items-user-status {
    margin-bottom: 5px;
}

.search-user label {
    font-weight: normal;
    padding-left: 10px;
    padding-right: 10px;
}

.course-items .course-items-session {
    font-size: 12px;
}

.course-items .course-items-title {
    font-size: 16px;
}

.report_section .table {
    font-size: 12px;
}

.promotions {
    border-bottom: 1px solid #DDD;
    margin-top: 30px;
}

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

.promotions .title {
    font-size: 16px;
    background-color: #DFDFDF;
}

.promotions .cycles {
    background-color: #F3F3F3;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    border-right: 1px solid #DDD;
}

.promotions .cycles h4 {
    font-size: 14px;
    font-weight: bold;
}

.promotions .cycles a {
    color: #66666C;
}

.promotions .cycles a:hover {
    color: initial;
}

.promotions .courses {
    background-color: #FAFAFA;
    vertical-align: middle;
    border-right: 1px solid #DDD;
}

.promotions .promo {
    background-color: #D1D1D1;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
}

.promotions .promo h4 {
    font-size: 18px;
    font-weight: bold;
}

.promotions .promo h4 a {
    color: #666;
}

/* CSS for the view by session My Course tab */
.session-view-block {
    font-size: 14px;
    font-weight: normal;
}

.session-view-row {
    padding: 8px 0;
}

.session-view-lvl-2 {
    margin-left: 66px;
}

.session-view-lvl-3 {
    padding-left: 92px;
}

.session-view-lvl-4 {
    padding-left: 102px;
}

.session-view-lvl-5 {
    padding-left: 128px;
    font-weight: normal;
}

.session-view-lvl-6 {
    padding-left: 20px;
}

.session-view-lvl-7 {
    padding-left: 48px;
}

img.sessionView {
    margin-right: 10px;
}

a.sessionView {
    font-weight: bold;
}

.session-view-user-category {
    font-weight: bold;
    padding-bottom: 10px;
}

.session-view-session-category {
    font-weight: bold;
    padding-bottom: 10px;
}

.session-view-session {
    font-weight: bold;
}

/* Like the well class */
.session-view-well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #F5F5F5;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
}

.session-view-button {
    border: none;
    min-width: 28px;
}

.view-by-session-link {
    min-height: 38px;
}

.view-by-session-teachers {
    display: none; /* change this if you want to display teachers name in this view */
    font-size: 10px;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 50px;
}

.session-view-session-go-to-course-in-session {
    font-size: 12px;
}

#gradebook_list .centered {
    text-align: center;
    vertical-align: middle;
}

#gradebook_list .score {
    font-weight: bold;
    color: #8A6E4E;
}

#gradebook_list .centered .badge-group {
    width: auto;
}

/* video chat */
#chat-video-panel .thumbnail .caption p {
    margin-bottom: 0;
}

#chat-video-panel .thumbnail video {
    background-color: #FFF;
    background-image: url("../../main/img/icons/128/camera-webrtc.png");
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    min-width: 100%;
    width: 100%;
}

#listFriends .list-group-item {
    border: none;
    padding: 0;
    font-size: 12px;
}

#listFriends .help {
    font-size: 12px;
}

#listFriends a {
    display: block;
    text-overflow: ellipsis;
}

#listFriends a:hover {
    background: none;
}

#listFriends a .username {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 32px;
    overflow: hidden;
    width: 120px;
}

#chat-video-panel #listFriends a .username {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 180px;
}

#listFriends .status {
    float: right;
    line-height: 32px;
}

#listFriends .user-image {
    width: 32px;
    height: 32px;
    margin-right: 5px;
    vertical-align: baseline;
}

#course-block .list-group .list-group-item,
#session-block .list-group .list-group-item {
    padding: 5px;
    border: none;
    font-size: 12px;
    line-height: 17px;
    color: #666666;
}

#course-block .list-group .img-default {
    float: left;
    margin-right: 5px;
}

#course-block .list-group .list-group-item .img-course,
#session-block .list-group .list-group-item .img-session {
    width: 70px;
    float: left;
    margin-right: 5px;
}

#course-block .list-group .list-group-item .title,
#session-block .list-group .list-group-item .title {
    display: block;
}

#course-list.data_table .title {
    width: 390px;
}

.actions label {
    display: none;
}

#my_timeline {
    width: 900px;
    height: 350px;
    overflow: hidden;
    margin: 20px auto;
    position: relative;
    background: url('../../main/img/timeline/dot.gif') left 45px repeat-x;
}

#dates {
    width: 800px;
    height: 60px;
    overflow: hidden;
}

#dates li {
    list-style: none;
    float: left;
    width: 120px;
    height: 50px;
    font-size: 16px;
    text-align: center;
    background: url('../../main/img/timeline/biggerdot.png') center bottom no-repeat;
}

#dates a {
    line-height: 38px;
    padding-bottom: 10px;
    color: #cecece;
}

#dates .selected {
    font-size: 20px;
    color: #666666;
}

#issues {
    width: 800px;
    height: 350px;
    overflow: hidden;
}

#issues li {
    width: 800px;
    height: 350px;
    list-style: none;
    float: left;
}

#issues li.selected img {
    -webkit-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    -o-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

#issues li img {
    float: left;
    margin: 10px 30px 10px 50px;
    background: transparent;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#00FFFFFF); /* IE 6 & 7 */
    zoom: 1;
    transition: all 2s ease-in-out;
    transform: scale(0.7, 0.7);
}

#issues li h1 {
    color: #ffcc00;
    font-size: 48px;
    margin: 20px 0;
    text-shadow: #000 1px 1px 2px;
}

#issues li p {
    font-size: 16px;
    margin-right: 70px;
    font-weight: normal;
    line-height: 22px;
}

#grad_left,
#grad_right {
    width: 100px;
    height: 350px;
    position: absolute;
    top: 0;
}

#grad_left {
    left: 0;
}

#grad_right {
    right: 0;
}

#next,
#prev {
    position: absolute;
    font-size: 70px;
    top: 170px;
    width: 22px;
    height: 38px;
    background: no-repeat 0 0;
    text-indent: -9999px;
    overflow: hidden;
}

#next:hover,
#prev:hover {
    background-position: 0 -76px;
}

#next {
    right: 0;
    background-image: url('../../main/img/timeline/next.png');
}

#prev {
    left: 0;
    background-image: url('../../main/img/timeline/prev.png');
}

#next.disabled,
#prev.disabled {
    opacity: 0.2;
}

.webcamclip_bg {
    width: 340px;
    height: 260px;
    border: 10px solid #00677C;
    border-radius: 25px;
}

.modal-body .sectiontitle {
    font-size: 18px;
    padding-bottom: 10px;
    color: #00829C;
}

.modal-body .sectioncomment {
    color: #666;
}

.progress {
    border: 1px solid #c5c5c5;
    background: #E9E9E9;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

.wami-container {
    height: 144px;
    position: relative;
}

/*
* Lesson scorm
*/
#subtab.tab-wrapper,
#resource_tab.tab-wrapper .tab-content .tab-pane {
    margin-top: 20px;
}

#resource_tab li a {
    padding: 5px;
}

/* Gravatar */
#user_image_block img,
#sn-avatar-one a.expand-image img {
    width: 120px;
}

footer {
    font-size: 12px;
}

.bottom_actions_fixed {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
    margin-bottom: 0;
    padding: 10px 20px;
    border-top: 1px solid #DCE4EC;
    background: #ffffff;
    width: 100%;
}

.bottom_actions_fixed .btn-primary {
    font-size: 12px;
}

#toolshortcuts_horizontal {
    padding: 5px;
    margin-bottom: 5px;
    text-align: center;
}

#toolshortcuts_horizontal .items-icon {
    padding: 0;
    display: inline-block;
}

#toolshortcuts_horizontal .items-icon img {
    padding: 3px;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    max-height: 40px;
    max-width: 40px;
}

.everybodyview {
    padding-top: 20px;
    margin-top: 10px;
}

.btn-options {
    padding-right: 20px;
}

.btn-tool {
    margin-bottom: 2px;
}

ul#toolnavbox {
    position: fixed;
    margin: 0;
    padding: 0;
    top: 10px;
    left: 0;
    list-style: none;
    z-index: 9999;
}

ul#toolnavbox li {
    width: 100%;
}

ul#toolnavbox li a {
    display: block;
    font-size: 12px;
    height: 35px;
    margin-left: -160px;
}

ul#toolnavbox li a.icons {
    width: 70px;
}

ul#toolnavbox li a.icons-text {
    width: 200px;
}

ul#toolnavbox li a.icons-text img {
    margin-left: 5px;
}

ul#toolnavbox li a.text {
    width: 180px;
}

ul#toolnavbox .tool-img {
    margin-left: 5px;
}

ul#toolnavbox li a.btn {
    text-align: right !important;
}

ul#toolnavbox-two {
    position: fixed;
    margin: 0;
    padding: 0;
    top: 10px;
    left: 0;
    list-style: none;
    z-index: 9999;
}

ul#toolnavbox-two li {
    width: 50px;
}

ul#toolnavbox-two li a {
    display: block;
    margin-left: -2px;
    font-size: 12px;
    width: 50px;
}

ul#toolnavbox-two .tool-img {
    float: left;
    margin-right: 5px;
}

ul#toolnavbox-two li a.btn {
    text-align: left !important;
}

/* CSS BACKUP *****/
.elfinder-cwd-filename {
    color: black !important;
}

.skill-badge-img {
    width: 150px;
    overflow: hidden;
}

.text-light {
    color: #00CCFF;
}

#dropzone {
    position: relative;
    overflow: hidden;
    direction: ltr;
    cursor: pointer;
    text-align: center;
    color: #333;
    font-weight: bold;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    line-height: 50px;
    background-color: #D4E6F0;
    border: 2px dashed #bbbbbb;
    font-size: 120%;
    margin-bottom: 0;
}

#dropzone.hover {
    background: lawngreen;
}

#upload_form .fa-plus-square-o, #upload_form .fa-minus-square-o {
    cursor: pointer;
}

#upload, .description-upload {
    padding-top: 15px;
}

.description-upload {
    margin-bottom: 15px;
}

#form-work {
    padding-top: 30px;
}

.item-backup {
    padding-top: 5px;
    padding-bottom: 5px;
    cursor: pointer;
}

.item-backup .title {
    margin-left: 10px;
    font-weight: bold;
}

.tool-backups-options {
    padding-left: 5%;
    padding-right: 5%;
}

.list-backups-options {
    list-style: none;
}

#invitations-acordion .list-group {
    margin-bottom: 10px;
}

#invitations-acordion .list-group .list-group-item {
    padding: 0;
    border: none;
    margin-top: 5px;
}

#invitations-acordion .list-group .list-group-item img {
    margin-right: 5px;
}

.block-invitation {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ECF0F1;
    margin-bottom: 10px;
}

.block-invitation .date-invitation {
    font-size: 12px;
}

.block-invitation .title-profile {
    font-weight: bold;
}

#session-table .ui-jqdialog .ui-jqdialog-title {
    margin: 0;
    padding-left: 10px;
}

#session-table .ui-jqdialog .ui-jqdialog-titlebar {
    padding: 0;
}

#session-table .fm-button {
    padding-top: 0;
    padding-bottom: 0;
}

#session-table input {
    line-height: 20px;
}

#session-table .table {
    margin-bottom: 5px;
}

.select2-container .select2-selection--single {
    height: 32px !important;
    border-color: #CCCCCC !important;
}

.select2-container--default .select2-selection--multiple {
    background-color: #FFF !important;
    border: 1px solid #CCC !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 6px !important;
    margin-bottom: 4px !important;
}

.select2-dropdown {
    background-color: #FFF !important;
    border: 1px solid #CCC !important;
    border-top: none !important;
}

.page-blank {
    padding: 20px 30px;
}

/* groups social */
.group-tool {
    padding: 10px;
    display: inline-block;
    width: 100%;
}

.group-title {
    margin-bottom: 20px;
    padding-bottom: 5px;
    font-size: 16px;
    border-bottom: 1px solid #ECF0F1;
}

.panel-invitations {
    padding: 10px;
}

.navbar .container .navbar-brand {
    display: none;
}

.username-movil {
    display: none;
}

/** BLOG **/
.blog {
    padding: 0;
}

.blog .title-post {
    font-size: 30px;
    margin-bottom: 10px;
    letter-spacing: 0;
    margin-top: 5px;
}

.blog .info-post {
    display: block;
    border-bottom: #eaeaea 1px dotted;
    padding-bottom: 10px;
}

.blog .info-post span {
    margin-right: 20px;
    color: #888;
}

.blog .content-post {
    margin-top: 15px;
    margin-bottom: 15px;
}

.blog .content-post p {
    font-size: 15px;
}

.blog .article-post {
    margin-bottom: 20px;
    margin-top: 10px;
}

.blog .media .avatar {
    width: 70px;
}

.blog .comments-post {
    margin-top: 50px;
    margin-bottom: 20px;
}

.blog .comments-post .title {
    padding-bottom: 20px;
}

.blog .comments-post .media {
    border-top: 1px solid #eaeaea;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
    overflow: visible;
}

.blog .comments-post .media .media-body {
    overflow: visible;
}

.blog article header {
    padding-top: 0;
}

.blog .form-inline .form-group label {
    padding-right: 10px;
}

.blog .form-inline .form-group .bootstrap-select {
    margin-right: 10px;
}

#smallcalendar .month {
    text-align: center;
}

.list-message {
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-message li {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

#home-welcome {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.label-subscribed {
    font-size: 12px;
    width: 100px;
}

.panel-image:hover {
    background-color: #f5f5f5;
}

.panel-image {
    display: inline-block;
    width: 100%;
    border: 1px solid #DDD;
    padding: 15px;
    border-radius: 5px;
}

.files .panel-image .row {
    margin-bottom: 0;
}

.file_name a {
    color: #333;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    padding-top: 15px;
}

.message-image-success,
.message-image-danger {
    display: inline-block;
    width: 100%;
    padding-top: 15px;
}

#resource_tab #subtab #ul_subtab li a {
    padding: 10px 15px;
}

.feeback-form .form-group .form-control {
    width: 100%;
}

.sub-footer .teachers,
.sub-footer .session-teachers {
    width: 100%;
    padding: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.sub-footer .teachers:hover,
.sub-footer .session-teachers:hover {
    width: 100%;
    text-overflow: inherit;
    overflow: visible;
    white-space: inherit;
}

/**** LP COLLAPSE CATEGORY ****/
#lp-accordion .panel-default {
    border-radius: 10px;
}

#lp-accordion .panel-default .panel-heading {
    background: url(../../../../main/img/icons/svg/arrow-down.svg) #FFF right center no-repeat;
    border-radius: 10px;
}

#lp-accordion .panel-default .panel-heading .tools-actions {
    padding-right: 20px;
}

#lp-accordion .panel {
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

#lp-accordion .panel .panel-title {
    font-weight: bold;
    width: 100%;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
}

#lp-accordion .panel .panel-title a {
    width: 100%;
    display: block;
}

#lp-accordion .lp-item {
    border-bottom: 1px solid #dddddd;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    display: inline-block;
    width: 100%;
}

#lp-accordion .lp-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#lp-accordion .lp-item .fa {
    color: #686f7a;
    opacity: .5;
    margin-right: 5px;
}

#lp-accordion .lp-item .progress {
    border: none;
    background: #D7E3E6;
    margin-bottom: 10px;
}

#lp-accordion #not-category .lp-item {
    margin-bottom: 0;
}

/**** END LP COLLAPSE CATEGORY ****/

/****  TRACKING ****/
.tracking .panel-body {
    padding: 5px;
}

.tracking .tracking-icon {
    display: block;
    float: left;
    height: 70px;
    width: 50px;
    text-align: center;
    line-height: 70px;
    font-size: 35px;
}

.tracking-box-title {
    font-size: 14px;
    margin-bottom: 20px;
}

.tracking .tracking-info {
    padding: 5px 10px;
    margin-left: 50px;
}

.tracking .tracking-info .tracking-text {
    display: block;
    font-size: 14px;
}

.tracking .tracking-info .tracking-number {
    display: block;
    font-weight: bold;
    font-size: 2em;
}

.tracking-top-student .list-top {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tracking-top-student .list-top li {
    display: inline-block;
    width: 100%;
}

.tracking-top-student .list-top .avatar {
    display: block;
    float: left;
    height: 55px;
    width: 50px;
    text-align: center;
    line-height: 60px;
}

.tracking-top-student .list-top .info {
    padding: 5px 10px;
    margin-left: 60px;
}

.tracking-top-student .list-top .info .name {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.tracking-top-student .list-top .info .progress {
    height: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid #1e88e5;
    background: #ffffff;
    text-shadow: none;
}

.tracking-top-student .list-top .info .progress-bar {
    line-height: 14px;
    background-color: #1e88e5;
}

.tracking-top-student .list-top .avatar .round {
    line-height: 39px;
    color: #ffffff;
    width: 40px;
    height: 40px;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    border-radius: 100%;
    background: transparent;
    font-size: 25px;
}

.tracking-top-student .list-top .avatar .round.trophy {
    background: #ffb22b;
}

.tracking-top-student .list-top .avatar .round img {
    border-radius: 100%;
}

.tracking-box-legend {
    font-size: 10px;
    color: #828282;
}

.tracking-student {
    background-color: #725890;
    border-color: #725890;
    color: #ffffff;
}

.tracking-lessons {
    background-color: #4199b0;
    border-color: #4199b0;
    color: #ffffff;
}

.tracking-exercise {
    background-color: #ab4643;
    border-color: #ab4643;
    color: #ffffff;
}

.tracking-certificate {
    background-color: #dd853d;
    border-color: #dd853d;
    color: #ffffff;
}

.btn-post {
    margin-top: 10px;
}

main[dir="rtl"] .checkbox input[type=checkbox],
main[dir="rtl"] .checkbox-inline input[type=checkbox],
main[dir="rtl"] .radio input[type=radio],
main[dir="rtl"] .radio-inline input[type=radio] {
    position: relative;
    margin-left: 10px;
}

.key-login {
    display: none;
}

#user-dropdown {
    padding: 3px;
}

.menu-dropdown {
    border: none;
}

/* :not(:required) hides this rule from IE9 and below */
.wobblebar-loader:not(:required) {
    background: #2E6DA4;
    -moz-border-radius: 10.66667px;
    -webkit-border-radius: 10.66667px;
    border-radius: 10.66667px;
    display: inline-block;
    overflow: hidden;
    text-indent: -9999px;
    width: 228px;
    height: 21.33333px;
    position: relative;
}

.wobblebar-loader:not(:required)::after {
    -moz-animation: wobblebar-loader 15000ms infinite ease;
    -webkit-animation: wobblebar-loader 15000ms infinite ease;
    animation: wobblebar-loader 15000ms infinite ease;
    background: white;
    display: block;
    -moz-border-radius: 7.11111px;
    -webkit-border-radius: 7.11111px;
    border-radius: 7.11111px;
    content: '';
    position: absolute;
    top: 3.55556px;
    left: 4px;
    width: 21.33333px;
    height: 14.22222px;
}

input.form-control[type="color"] {
    padding: 2px;
}

.form-separator {
    font-weight: bold;
    border-bottom: 2px solid #CCC;
    padding-bottom: 12px;
    color: #666;
    margin-bottom: 20px;
    margin-top: 20px;
}

.col-xs-6.course-tool:nth-child(2n+1) {
    clear: left;
}

.btn-orange {
    background-color: #EF5F00;
    border: none;
}

.exercise_mark_select .dropdown-menu > .active > a.btn-danger,
.exercise_mark_select .dropdown-menu > li > a.btn-danger:focus,
.exercise_mark_select .dropdown-menu > li > a.btn-danger:hover {
    opacity: 0.8;
    background-color: #d9534f !important;
}

.exercise_mark_select .dropdown-menu > .active > a.btn-orange,
.exercise_mark_select .dropdown-menu > li > a.btn-orange:focus,
.exercise_mark_select .dropdown-menu > li > a.btn-orange:hover {
    background-color: #EF7710 !important;
    opacity: 0.8 !important;
}

.exercise_mark_select .dropdown-menu > .active > a.btn-warning,
.exercise_mark_select .dropdown-menu > li > a.btn-warning:focus,
.exercise_mark_select .dropdown-menu > li > a.btn-warning:hover {
    background-color: #f0ad4e !important;
    opacity: 0.8 !important;
}

.exercise_mark_select .dropdown-menu > .active > a.btn-success,
.exercise_mark_select .dropdown-menu > li > a.btn-success:focus,
.exercise_mark_select .dropdown-menu > li > a.btn-success:hover {
    background-color: #5cb85c !important;
    opacity: 0.8 !important;
}

#chamilo-news {
    bottom: 0;
    padding-bottom: 15px;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    z-index: 9999;
}

#chamilo-news .alert {
    margin-bottom: 0;
}


/* :not(:required) hides this rule from IE9 and below */
.wobblebar-loader:not(:required) {
    background: #2E6DA4;
    -moz-border-radius: 10.66667px;
    -webkit-border-radius: 10.66667px;
    border-radius: 10.66667px;
    display: inline-block;
    overflow: hidden;
    text-indent: -9999px;
    width: 228px;
    height: 21.33333px;
    position: relative;
}

.wobblebar-loader:not(:required)::after {
    -moz-animation: wobblebar-loader 15000ms infinite ease;
    -webkit-animation: wobblebar-loader 15000ms infinite ease;
    animation: wobblebar-loader 15000ms infinite ease;
    background: white;
    display: block;
    -moz-border-radius: 7.11111px;
    -webkit-border-radius: 7.11111px;
    border-radius: 7.11111px;
    content: '';
    position: absolute;
    top: 3.55556px;
    left: 4px;
    width: 21.33333px;
    height: 14.22222px;
}

.popover {
    width: 400px;
}

.popover-title {
    text-align: left;
}

.popover-content {
    max-width: 400px;
    display: inline-block;
}

.popover-content .popover-teacher {
    display: block;
    width: 50%;
    float: left;
}

.popover-content .popover-teacher .ajax {
    float: left;
}

.popover-content .popover-teacher .teachers-details {
    text-align: left;
}

.feedback-green {
    color: #33a10b;
    font-weight: bold;
}

.feedback-red {
    color: #ff3019;
    text-decoration: line-through;
    font-weight: bold;
}

.feedback-question {
    margin: 5px 0;
}

.feedback-separator {
    font-weight: bold;
}

.correct-answer {
    background-color: #D7E3E6;
    color: #000000;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}

.score-title {
    color: #162a83;
    font-weight: bold;
    font-size: 16px;
}

.score-limits {
    padding-top: 5px;
    padding-bottom: 5px;
}

.score-limits .score-img {
    display: inline-block;
    padding-right: 5px;
}

.question_row_answer img, .question_row img {
    max-width: 80%;
    height: auto !important;
}

/* Fixes bootstrap select long text options BT#14082 */
div.dropdown-menu.open {
    width: 100%;
}

ul.dropdown-menu.inner > li > a {
    white-space: initial;
}

/* start document mp3 preview */
.preview .mejs__container {
    background: #aaa;
}

.preview .mejs__controls {
    padding: 0 0 0 0;
    background: none;
}

.preview .mejs__button > button {
    margin: 16px 6px;
}

/* end document mp3 preview */

#announcement_preview_result .label {
    display: inline-table;
}

.forum_revision {
    background-color: #fff3cd;
}

.chatboxcontent .contact-list img {
    max-width: 30px;
}

.chatboxcontent .status {
    float: left;
    margin-right: 10px;
}

.user-data .username {
    display: inline-block;
}

.user-data img.pull-left {
    margin-right: 0.5em;
}

#user_image_block img, #sn-avatar-one a.expand-image img {
    width: 100px;
}

.sidebar-avatar .list-info {
    font-size: 12px;
    margin-top: 2rem;
    border-top: 1px solid #cdcdcd;
    padding-top: 2rem;
}

.sidebar-avatar .list-info dd {
    margin-bottom: 10px;
}

.sidebar-avatar .area-avatar {
    display: block;
    width: 100%;
    position: relative;
}

.sidebar-avatar .area-avatar .img-circle {
    border: 3px solid #96bd0d;
}

.sidebar-avatar .area-avatar .avatar-icon {
    position: absolute;
    top: 55px;
    right: 50px;
    background: #FFF;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    border: 2px solid #cdcdcd;
    padding-top: 5px;
    padding-left: 4px;
}

.sidebar-avatar .area-avatar .avatar-lm h5,
.sidebar-avatar .area-avatar .avatar-lc h5 {
    font-weight: bold;
}

.sidebar-avatar .area-avatar .avatar-lm {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
}

.sidebar-avatar .area-avatar .avatar-lc {
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
}

.sidebar-avatar .item-name h5 {
    font-weight: bold;
}

.sidebar-avatar .edit-admin {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.search-friend {
    padding-bottom: 20px;
    border-top: 1px solid #cdcdcd;
    padding-top: 10px;
}

.btn-maps {
    border-radius: 5px;
    border-color: #cccccc;
    background-color: #ffffff;
    color: #7a7a7a;
}

.btn-maps:hover {
    background-color: #f5f6f7 !important;
    color: #7a7a7a;
    border-color: #bababa;
}

.post-attachment {
    text-align: center;
    margin-bottom: 10px;
}

.post-date {
    display: inline-block;
    width: 100%;
}

.pager .current {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    font-weight: bold;
}

#calendar-session-planification .col-session {
    max-width: 230px;
    min-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 230px;
}

#calendar-session-planification .col-week {
    max-width: 15px;
    min-width: 15px;
}

#calendar-session-planification th.col-week {
    vertical-align: middle;
}

#calendar-session-planification th.col-week span {
    display: block;
    font-size: 8px;
    float: left;
    padding: 0px;
    transform: rotate(270deg);
    transform-origin: center center 0;
}

#calendar-session-planification td.col-week {
    padding: 0px 0px;
    white-space: nowrap;
}

#calendar-session-planification td.col-week.in_last_year > span:before,
#calendar-session-planification td.col-week.in_next_year > span:after {
    bottom: 0px;
    border: 5px solid transparent;
    border-bottom: 15px solid #FFF;
    border-top: 15px solid #FFF;
    content: " ";
    display: block;
    position: absolute;
    top: 0px;
    width: 5px;
}

#calendar-session-planification td.col-week.in_last_year > span:before {
    border-left-width: 0;
    left: 0;
}

#calendar-session-planification td.col-week.in_next_year > span:after {
    border-right-width: 0;
    right: -1px;
}

#calendar-session-planification td.col-week > span {
    display: block;
    position: relative;
}

.table-transparent > tbody > tr > td,
.table-transparent > tbody > tr > th,
.table-transparent > tfoot > tr > td,
.table-transparent > tfoot > tr > th,
.table-transparent > thead > tr > td,
.table-transparent > thead > tr > th {
    border: none;
}

.summary-height {
    height: calc(100% - 20px);
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    box-shadow: 0 0 13px 0 rgba(82, 63, 105, 0.05);
    margin-bottom: 0;
    border-radius: 4px;
    border: 1px solid #cdcdcd;
    background-color: #f9f9fc;
}

.summary {
    padding: 0;
    height: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    width: 100%;
}

.summary-body {
    flex-grow: 1;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-top: 15px !important;
}

.summary-item {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    padding-bottom: 2rem;

}

.summary-item .icon {
    padding-right: 1.25rem;
}

.summary-item .icon img {
    border: 1px solid #cdcdcd;
}

.summary-item .user .username {
    font-size: 12px;
}

.summary-item .user .name {
    color: #6c7293;
    font-size: 1.56rem;
    font-weight: 500;
    padding-right: 1.25rem;
    margin-top: 1rem;
    display: inline-block;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.summary-item .user .name:hover {
    color: #366cf3;
    transition: color 0.3s ease;
}

.summary-item .user {
    width: 14%;
}

.summary-item .summary-course {
    width: 82%;
}

.summary-item .summary-course .alert {
    margin-bottom: 0;
}

.summary-item .summary-course .course-item {
    padding-bottom: 1rem;
    padding-top: 1rem;
    border-bottom: 1px dashed #cdcdcd;
    display: flex;
    flex-wrap: nowrap;
}

.summary-item .summary-course .course-item:last-child {
    border-bottom: none;
}

.summary-item .summary-course .course-item .course-info {
    margin-right: 20px;
    width: 25%;
}

.summary-item .summary-course .course-item .course-info h5 {
    font-weight: bold;
    padding: 0;
    margin: 0;
}

.summary-item .summary-course .course-item .course-info .code {
    font-size: 12px;
}

.summary-item .summary-course .course-item .box {
    width: 10%;
    text-align: center;
    line-height: 50px;
    margin-right: 5px;
    font-size: 12px;
    border-radius: 5px;
}

.summary-item .summary-course .course-item .box.box-date {
    width: 20%;
}

.summary-item .summary-course .course-item .box .kt-badge {
    height: 0;
    width: auto;
    padding: 0.5rem 0.5rem;
    border-radius: 2px;
    font-weight: bold;
}

.summary-legend {
    padding: 10px 0;
    margin-bottom: 2rem;
}

.summary-legend .list-legend {
    margin: 0;
    padding: 0;
    list-style: none;
}

.summary-legend .list-legend li {
    display: inline-block;
    font-size: 12px;
}

.summary-legend .cube {
    width: 13px;
    height: 13px;
    display: inline-block;
    margin-right: 2px;
    border-radius: 2px;
    border: 1px solid;
}

.student-progress {
    color: #366cf3;
    background: rgba(54, 108, 243, 0.35);
}

.student-score {
    color: #1dc9b7;
    background: rgba(29, 201, 183, 0.35);
}

.student-message {
    color: #fd397a;
    background: rgba(253, 57, 122, 0.35);
}

.student-assignments {
    color: #FF9800;
    background: rgba(255, 184, 34, 0.35);
}

.student-exercises {
    background-color: #83af3d3b !important;
    color: #4f9c53;
}

.questions-answered {
    background-color: #fb5f0442 !important;
    color: #FF5722;
}

.details-title {
    font-weight: bold;
    font-size: 22px;
}

.details {
    margin-top: 2rem;
}

.details .user .avatar,
.details .user .name,
.details .user .access {
    text-align: center;
}

.details .user .name h3 {
    font-size: 1.75rem;
}

.details .user .avatar .img-responsive {
    display: inline-block;
}

.details .user .parameters {
    margin-top: 1rem;
    padding-top: 1rem;
}

.details .user .parameters .create {
    text-align: center;
}

.details .easypiechart-legend {
    text-align: center;
}

.details .easy-donut {
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.details .list-card {
    display: grid;
    grid-gap: 1rem;
    grid-row-gap: 16px;
    grid-auto-flow: column;
}

.details .list-box-widget {
    display: grid;
    grid-gap: 1rem;
    grid-row-gap: 16px;
    grid-template-columns: repeat(2, 1fr);
}

#question_admin_form .bootstrap-select .dropdown-menu li a span.text,
.exercise_reminder_item label {
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.summary-course .course .title {
    font-weight: bold;
    font-size: 14px;
}

.summary-course .course .image {
    margin-bottom: 10px;
}

.summary-course .course .info {
    font-size: 12px;
}

.summary-course .list-donut {
    display: grid;
    grid-gap: 1rem;
    grid-row-gap: 16px;
    grid-template-columns: repeat(2, 1fr);
}

.summary-course .list-donut .easypiechart {
    margin: 5px auto 5px auto;
    width: 100px;
    height: 100px;
}

.summary-course .list-donut .easypiechart .percent {
    font-size: 20px;
    top: 40px;
    width: 100px;
}

.summary-course .list-donut .easypiechart canvas {
    width: 100px;
    height: 100px;
}

.summary-course .list-donut .easy-donut {
    text-align: center;
}

.summary-course .state {
    margin-bottom: 10px;
    margin-top: 10px;
}

.summary-course .state .stat-heading {
    text-align: center;
    font-size: 12px;
}

.summary-course .state .stat-text {
    font-size: 22px;
    text-align: center;
}

.summary-course .state .stat-icon {
    font-size: 30px;
    text-align: center;
}

.summary-course .easypiechart-legend {
    font-size: 12px;
}

.summary-course .list-info {
    margin-bottom: 0;
}

.summary-course .list-info dt,
.summary-course .list-info dd {
    padding-top: 7px;
    padding-bottom: 7px;
}

.summary-course .list-info .text-color {
    color: #0A649F;
}

.question-result h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.question-result .user-avatar,
.question-result .user-info {
    text-align: center;
}

.question-result .user-avatar img {
    border-radius: 10px;
}

.group-data .list-data .item {
    width: 150px;
    display: inline-block;
    font-weight: bold;
}

.badge-username {
    font-weight: bold;
}

.badge-item {
    padding-top: 10px;
    padding-bottom: 10px;
}

.badge-item .msg {
    border: 1px solid #cdcdcd;
    padding: 10px;
    border-radius: 5px;
    background-color: #f3f3f3;
}

.section-mycourses #course_tools .col-xs-6:nth-child(2n+1) {
    clear: left;
}

.compilation_block .progress {
    margin: 0px;
    width: 120px
}

/* CSS Responsive */
@media (min-width: 1025px) and (max-width: 1200px) {
    .sidebar-scorm {
        width: 16.66666667%;
    }

    #learning_path_right_zone {
        width: 68%;
    }
}

@media (min-width: 1024px) {
    .navbar-header {
        margin-right: 50px;
    }

    #notification-menu {
        float: right !important;
    }

    #notifications-dropdown {
        display: block;
        float: right !important;
    }

    #user-dropdown {
        display: block;
        float: right !important;
    }

    #count_message_li {
        display: block;
        float: right !important;
    }

    .sidebar-scorm {
        width: 25.66666667%;
    }

    .total {
        width: 100%;
    }

    #learning_path_right_zone {
        width: 68%;
        display: block;
        padding-left: 0;
        padding-right: 0;
    }

    #learning_path_right_zone.total {
        width: 100%;
        visibility: visible;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    #learning_path_right_zone {
        width: 58%;
        display: block;
        padding-left: 0;
        padding-right: 0;
    }

    #learning_path_right_zone.total {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        visibility: visible;
    }

    .items-course {
        padding: 15px 20px;
    }
}

/* Landscape phones and down */
@media only screen and (min-width: 320px) and (max-width: 480px) {
    #notification-menu {
        width: 250px !important;
        min-width: 250px !important;
    }

    #notification-dropdown-menu {
        width: 200px !important;
    }

    #learning_path_breadcrumb_zone {
    }

    #learning_path_main {
        margin-top: 5px;
    }

    #touch-button {
        top: 5px;
    }

    .sidebar-scorm {
        width: 100%;
    }

    .total {
        width: 100%;
        visibility: visible;
    }

    .question_options div.thumbnail img {
        height: 120px !important;
        width: 190px !important;
        max-width: 100%;
    }

    .drag_question {
        padding: 5px;
    }

    .drag_question .window {
        border: 1px solid #dddddd;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        cursor: pointer;
        min-height: 65px;
        margin-left: 5px;
        margin-right: 5px;
        padding: 10px 20px;
        vertical-align: middle;
        font-size: 12px;
    }

    .question_row_answer {
        font-size: 12px;
        padding: 10px;
    }

    .question_row_answer .page-header {
        margin: 10px 0;
    }

    .question_row_answer h3.page-header {
        font-size: 16px;
        margin: 0;
    }

    .dl-horizontal dt {
        float: left;
        width: 120px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dl-horizontal dd {
        margin-left: 140px;
    }

    #parents .parent, #resource .parent, #children .parent {
        display: inline-block;
        padding: 5px;
        width: 30%;
    }

    #show_graph {
        text-align: center;
    }

    #my_timeline {
        width: 320px;
        overflow: scroll;

    }

}

@media (min-width: 480px) and (max-width: 767px) {
    .navbar .container .navbar-brand {
        display: block;
        font-size: 16px;
    }

    #notification-menu {
        width: 300px !important;
        min-width: 300px !important;
    }

    #touch-button {
        top: 5px;
    }

    .sidebar-scorm {
        width: 100%;
    }

    .items-course {
        padding: 15px;
    }

    #control-bottom.well {
        padding: 10px;
    }

    .total {
        width: 100%;
        visibility: visible;
    }

    #learning_path_left_zone {
        width: 100%;
        display: block;
    }

    .question_row_answer .page-header {
        margin: 10px 0;
    }

    .question_row_answer h3.page-header {
        font-size: 16px;
        margin: 0;
    }

    .navbar-nav .open .dropdown-menu .user-header {
        width: 100%;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: #ffffff;
    }

    .navbar-nav {
        margin: -2.5px -15px;
    }

    .grid-courses .items.my-courses {
        width: 310px;
    }

    #my_timeline {
        width: 480px;
        overflow: scroll;

    }
}

@media (min-width: 320px) and (max-width: 479px) {
    footer {
        padding-top: 15px;
    }

    footer #footer_right {
        text-align: center;
    }

    .items-course {
        padding: 5px;
        min-height: 300px;
    }

    .gallery .canvas-two {
        width: 100%;
    }

    .navbar .container .navbar-brand {
        display: block;
        font-size: 16px;
    }

    .navbar-nav .open .dropdown-menu .user-header {
        width: 100%;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: #FFF;
    }

    .navbar-nav {
        margin: -2.5px -15px;
    }

    .installer {
        display: inline-table;
    }

    .header-movil {
        display: none;
    }

    .username-movil {
        display: inline-block;
        padding-right: 10px;
        padding-left: 10px;
    }

    #user_image_block {
        display: none;
    }

    .navbar-default {
        border: none;
    }

    .question_options .radio {
        min-height: 18px;
        margin-left: 20px;
        font-size: 12px;
    }

    .question_options .checkbox {
        margin-left: 20px;
    }

    .main-question .question_title {
        font-size: 16px;
        margin: 15px 0;
        color: #666666;
        line-height: 20px;
    }

    .grid-courses .items.items-courses {
        width: auto;
    }

    .grid-courses .items .title {
        font-size: 14px;
    }

    .grid-courses {
        margin-top: 10px;
        padding-top: 10px;
    }

    .title-session {
        font-size: 25px;
    }

    .survey_question .checkbox-inline + .checkbox-inline, .survey_question .radio-inline + .radio-inline {
        margin-left: 0;
    }

    .form-inline .survey_question .input-group .bootstrap-select {
        width: 300px;
    }

    .list-skills {
        grid-template-columns: repeat(2, 1fr);
    }

    .forum_display .number-post {
        padding: 0;
        background-color: transparent;
        border: none;
    }

    .forum_display .number-post img {
        width: 32px;
    }

    .forum_display .panel .pull-right {
        float: initial;
    }

    .key-login {
        display: block;
        position: absolute;
        right: 10px;
        top: 25px;
    }

    .header-ol {
        padding: 0;
        margin: 0;
    }

    .section-notifications ul li.user-online a {
        padding: 0;
    }
}

@-moz-keyframes wobblebar-loader {
    0% {
        left: 4px;
    }
    3% {
        left: 204px;
    }
    6% {
        left: 4px;
    }
    9% {
        left: 204px;
    }
    12% {
        left: 4px;
    }
    15% {
        left: 204px;
    }
    18% {
        left: 32px;
    }
    27% {
        left: 32px;
    }
    30% {
        left: 204px;
    }
    33% {
        left: 4px;
    }
    36% {
        left: 204px;
    }
    39% {
        left: 4px;
    }
    42% {
        left: 204px;
    }
    45% {
        left: 4px;
    }
    48% {
        left: 204px;
    }
    51% {
        left: 152px;
    }
    63% {
        left: 152px;
    }
    66% {
        left: 4px;
    }
    69% {
        left: 204px;
    }
    72% {
        left: 4px;
    }
    75% {
        left: 204px;
    }
    78% {
        left: 4px;
    }
    81% {
        left: 204px;
    }
    84% {
        left: 72px;
    }
    94% {
        left: 72px;
    }
    97% {
        left: 204px;
    }
}

@-webkit-keyframes wobblebar-loader {
    0% {
        left: 4px;
    }
    3% {
        left: 204px;
    }
    6% {
        left: 4px;
    }
    9% {
        left: 204px;
    }
    12% {
        left: 4px;
    }
    15% {
        left: 204px;
    }
    18% {
        left: 32px;
    }
    27% {
        left: 32px;
    }
    30% {
        left: 204px;
    }
    33% {
        left: 4px;
    }
    36% {
        left: 204px;
    }
    39% {
        left: 4px;
    }
    42% {
        left: 204px;
    }
    45% {
        left: 4px;
    }
    48% {
        left: 204px;
    }
    51% {
        left: 152px;
    }
    63% {
        left: 152px;
    }
    66% {
        left: 4px;
    }
    69% {
        left: 204px;
    }
    72% {
        left: 4px;
    }
    75% {
        left: 204px;
    }
    78% {
        left: 4px;
    }
    81% {
        left: 204px;
    }
    84% {
        left: 72px;
    }
    94% {
        left: 72px;
    }
    97% {
        left: 204px;
    }
}

@keyframes wobblebar-loader {
    0% {
        left: 4px;
    }
    3% {
        left: 204px;
    }
    6% {
        left: 4px;
    }
    9% {
        left: 204px;
    }
    12% {
        left: 4px;
    }
    15% {
        left: 204px;
    }
    18% {
        left: 32px;
    }
    27% {
        left: 32px;
    }
    30% {
        left: 204px;
    }
    33% {
        left: 4px;
    }
    36% {
        left: 204px;
    }
    39% {
        left: 4px;
    }
    42% {
        left: 204px;
    }
    45% {
        left: 4px;
    }
    48% {
        left: 204px;
    }
    51% {
        left: 152px;
    }
    63% {
        left: 152px;
    }
    66% {
        left: 4px;
    }
    69% {
        left: 204px;
    }
    72% {
        left: 4px;
    }
    75% {
        left: 204px;
    }
    78% {
        left: 4px;
    }
    81% {
        left: 204px;
    }
    84% {
        left: 72px;
    }
    94% {
        left: 72px;
    }
    97% {
        left: 204px;
    }
}

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .grid-courses .items .toolbar .col-sm-4 {
        text-align: left;
    }

    .grid-courses .items .toolbar .col-sm-8 {
        text-align: right;
    }

    .actions div.text-right {
        text-align: right;
    }

    .actions .row .text-right a {
        margin-left: 10px;
        margin-right: 0;
    }

    .grid-courses .col-sm-6:nth-child(2n+1) {
        clear: left;
    }

    .survey_question.ch_yesno .input-group .radio-vertical {
        margin-left: 10px;
        cursor: pointer;
    }

    .survey_question.ch_yesno .input-group label {
        font-weight: normal;
    }

    .form-inline .survey_question.ch_score .input-group label {
        display: block;
        width: 100%;
        font-weight: normal;
    }

    .form-inline .survey_question.ch_score .input-group label p {
        margin: 0;
    }

    .form-inline .survey_question.ch_score .input-group {
        width: 100%;
    }

    .form-inline .survey_question .input-group {
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .form-inline .survey_question .input-group .radio-inline .radio-inline,
    .form-inline .survey_question .input-group .checkbox-inline .checkbox-inline {
        display: block;
    }

    .form-inline .survey_question .form-group {
        width: 100%;
    }

    .form-inline .survey_question .form-group .form-control {
        width: 100%;
    }

    /*.form-inline .survey_question .form-group label {
      display: none;
  }*/
    .form-inline .survey_question .input-group .bootstrap-select {
        width: 300px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .col-xs-6.course-tool:nth-child(2n+1) {
        clear: none;
    }

    .col-md-3.course-tool:nth-child(4n+1) {
        clear: left;
    }

    div.navbar-collapse {
        padding-left: 0;
    }

    .grid-courses .col-sm-6:nth-child(2n+1) {
        clear: none;
    }

    .grid-courses .col-md-4:nth-child(3n+1) {
        clear: left;
    }

    #settings .settings-block:nth-child(2n+1) {
        clear: left;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

.badge_sidebar_image {
    width: 120px;
}

.badge_sidebar_image_transparency {
    opacity: 0.2;
}

/* CSS FormValidator loader */
@-moz-keyframes wobblebar-loader {
    0% {
        left: 4px;
    }
    3% {
        left: 204px;
    }
    6% {
        left: 4px;
    }
    9% {
        left: 204px;
    }
    12% {
        left: 4px;
    }
    15% {
        left: 204px;
    }
    18% {
        left: 32px;
    }
    27% {
        left: 32px;
    }
    30% {
        left: 204px;
    }
    33% {
        left: 4px;
    }
    36% {
        left: 204px;
    }
    39% {
        left: 4px;
    }
    42% {
        left: 204px;
    }
    45% {
        left: 4px;
    }
    48% {
        left: 204px;
    }
    51% {
        left: 152px;
    }
    63% {
        left: 152px;
    }
    66% {
        left: 4px;
    }
    69% {
        left: 204px;
    }
    72% {
        left: 4px;
    }
    75% {
        left: 204px;
    }
    78% {
        left: 4px;
    }
    81% {
        left: 204px;
    }
    84% {
        left: 72px;
    }
    94% {
        left: 72px;
    }
    97% {
        left: 204px;
    }
}

@-webkit-keyframes wobblebar-loader {
    0% {
        left: 4px;
    }
    3% {
        left: 204px;
    }
    6% {
        left: 4px;
    }
    9% {
        left: 204px;
    }
    12% {
        left: 4px;
    }
    15% {
        left: 204px;
    }
    18% {
        left: 32px;
    }
    27% {
        left: 32px;
    }
    30% {
        left: 204px;
    }
    33% {
        left: 4px;
    }
    36% {
        left: 204px;
    }
    39% {
        left: 4px;
    }
    42% {
        left: 204px;
    }
    45% {
        left: 4px;
    }
    48% {
        left: 204px;
    }
    51% {
        left: 152px;
    }
    63% {
        left: 152px;
    }
    66% {
        left: 4px;
    }
    69% {
        left: 204px;
    }
    72% {
        left: 4px;
    }
    75% {
        left: 204px;
    }
    78% {
        left: 4px;
    }
    81% {
        left: 204px;
    }
    84% {
        left: 72px;
    }
    94% {
        left: 72px;
    }
    97% {
        left: 204px;
    }
}

@keyframes wobblebar-loader {
    0% {
        left: 4px;
    }
    3% {
        left: 204px;
    }
    6% {
        left: 4px;
    }
    9% {
        left: 204px;
    }
    12% {
        left: 4px;
    }
    15% {
        left: 204px;
    }
    18% {
        left: 32px;
    }
    27% {
        left: 32px;
    }
    30% {
        left: 204px;
    }
    33% {
        left: 4px;
    }
    36% {
        left: 204px;
    }
    39% {
        left: 4px;
    }
    42% {
        left: 204px;
    }
    45% {
        left: 4px;
    }
    48% {
        left: 204px;
    }
    51% {
        left: 152px;
    }
    63% {
        left: 152px;
    }
    66% {
        left: 4px;
    }
    69% {
        left: 204px;
    }
    72% {
        left: 4px;
    }
    75% {
        left: 204px;
    }
    78% {
        left: 4px;
    }
    81% {
        left: 204px;
    }
    84% {
        left: 72px;
    }
    94% {
        left: 72px;
    }
    97% {
        left: 204px;
    }
}

@media (min-width: 768px) {
    .clear-rows-6-4-3 .col-sm-6:nth-child(2n+1) {
        clear: left;
    }

    .section-mycourses #course_tools .col-xs-6:nth-child(2n+1) {
        clear: none;
    }

    .section-mycourses #course_tools .col-xs-6:nth-child(3n+1) {
        clear: left;
    }
}

@media (min-width: 992px) {
    .clear-rows-6-4-3 .col-sm-6:nth-child(2n+1) {
        clear: none;
    }

    .clear-rows-6-4-3 .col-sm-6:nth-child(3n+1) {
        clear: left;
    }

    .section-mycourses #course_tools .col-xs-6:nth-child(3n+1) {
        clear: none;
    }

    .section-mycourses #course_tools .col-xs-6:nth-child(4n+1) {
        clear: left;
    }
}

@media (min-width: 1200px) {
    .clear-rows-6-4-3 .col-sm-6:nth-child(3n+1) {
        clear: none;
    }

    .clear-rows-6-4-3 .col-sm-6:nth-child(4n+1) {
        clear: left;
    }
}

/* Only adjust class radio to student or profesor into /main/auth/inscription.php*/
#registration > fieldset > #status-group .radio {
    min-height: 145px;
    min-width: 145px;
}

#registration input.register-profile[value='5']:after,
#registration input.register-profile[value='1']:after {
    top: -5px;
    left: -2px;
}

.session-info h5 {
    display: none;
}

.session-subscribe {
    display: none !important;
}

.session-price {
    display: none !important;
}

/*table text Overlapping */
.panel-body > table, .modal-body > table {
    width: 100% !important;
}

/*responsive agenda*/
@media only screen and (max-width: 768px) {
    #toolbar-agenda .bootstrap-select {
        width: 100% !important;
    }
}

/*resposisive chat*/
@media only screen and (max-width: 767px) {
    #chatbox_contacts {
        right: 10px !important;
    }

    .chatbox:last-of-type {
        right: unset !important;
    }

    .ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.ui-draggable.ui-resizable.ui-dialog-buttons {
        width: 100% !important;
        left: 0 !important;
        top: 100px !important;
    }

    .footer {
        /*position: unset !important;*/
    }
}

@media only screen and (max-width: 320px) {
    #chatbox_contacts {
        right: 0px !important;
    }

    .chatbox {
        right: unset !important;
    }
}

@media only screen and (max-width: 820px) {
    .banner_message {
        padding: 10px 20px 10px 20px;
    }
    .banner_message.banner-desktop {
        display: none !important;
    }    

    .banner_message.banner-mobile {
        display: block !important;
    }
}

.bootstrap-select .dropdown-toggle .caret {
    position: unset !important;
}


.editCommision {
    cursor: pointer;
    margin: 0 8px;
}

.separateListAccount {
    border: 0;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

.listConnectedAccount > .row {
    margin: 0;
}

.listRow {
    padding: 15px;
}

[class^="col-"] {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.listConnectedAccount {
    padding: 10px 15px;
}

img.img-drop-cart {
    width: 100%;
    max-width: 150px;
}

.divider-section {
    height: 5em;
}

/*message after recover, reset, inscription*/
.forgot-r-message-form {
    padding: 11em 0;
    border-radius: 2rem;
    background-color: var(--main-background-form-message-successful);
    color: var(--main-color-form-message-successful);
}

.forgot-r-message-form-back a {
    color: var(--main-color-form-message-successful);
    font-size: 1.6rem;
}

@media only screen and (min-width: 1024px) {
    #login-modal .modal-content {
        width: 50% !important;
    }
}

@media only screen and (min-width: 1200px) {
    #login-modal .modal-content {
        width: 30% !important;
    }
}

.cursor-pointer {
    cursor: pointer !important;
}

.focus-checkbox {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

#user_url_redirect > fieldset > div:nth-child(3) > div:nth-child(3) {
    text-align-last: left;
    display: ruby;
}

#sso_configuration_prismhr_url_limit {
    padding-top: 3rem;
}

#ul_tab_sso_configuration_prismhr_url_limit {
    margin-right: 3rem;
    margin-bottom: 0 !important;
    margin-left: 3rem;
}

#tab_sso_configuration_prismhr_url_limit > div {
    margin-left: 3rem;
    margin-right: 3rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
    border: 1px solid #ddd;
    border-top: none;
}

.container-pagination,
.my-courses__empty-message {
    display: flex;
    background-color: white;
    margin: 20px 0px;
    box-shadow: 3px 5px 11px -8px rgba(0, 0, 0, 0.25);
    align-items: center;
    padding: 20px;
    border-radius: 6px;
}

.my-courses__empty-message {
    gap: 20px;
    min-height: 100px;
}

.container-pagination {
    justify-content: space-between;
}

.container-pagination .list-pages {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.container-pagination .list-pages li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d2d4d7;
    color: #6e7a88;
    font-size: 24px;
    border-radius: 6px;
    font-size: 16px;
}

.container-pagination .list-pages li .page-active {
    color: var(--main-color-background-image);
}

#filter-search-category-code {
    width: 100%;
}

.container-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: auto 20px;
}

.container-filters button {
    min-width: 150px;
}

/* ---------------------- Styles for register_template.php ---------------------- */
.card-form {
    box-shadow: 0px 0px 6px #BDBDBD; 
    border: none; 
    padding: 25px;
}

.card-form .header-card {
    font-size: 16px !important; 
    color:var(--main-color-background-image) !important; 
    background: none !important;  
    font-weight: 600; letter-spacing: 0.5px !important; 
    border-bottom: 2px solid var(--main-color-background-image) !important; 
    padding: 0px 0px 10px 0px !important; 
    margin: 0px 0px 20px 0px !important;
}

.input-color {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: none;
    margin: auto 20px auto 10px;
    background: none;
}

.container-forms {
    display: grid;
    grid-column-gap: 20px;
}

.container-info-section {
    grid-template-columns: repeat(3, 1fr);
}

.container-titles .form-group,
.container-info-section .form-group,
.container-colors .form-group, .container-input-files .form-group {
    padding: 0px;
    margin: 0px !important;
}

.container-info-section .form-group label, .container-colors .form-group label, .label-style  {
    text-align: left;
    width: 100%;
    padding: 10px 0px;
    font-weight: 500;
}

.container-info-section .form-group .col-sm-8 {
    width: 100%;
    padding: 0px;
}

.container-colors {
    grid-template-columns: repeat(2, 1fr);
}

.container-colors .form-group .col-sm-8 {
    width: 100%;
}

input:focus {
    border-color: var(--main-color-background-image) !important;
    box-shadow: 0px 0px 2px var(--main-color-background-image) !important;
}

.label-color {
    display: flex;
    align-items: center;
    height: 50px;
}

.input-color:focus {
    box-shadow: none !important;
}

.form-label-info {
    font-weight: 300;
    margin-top: 8px;
}

.container-titles .form-group .col-sm-2 {
    text-align: left;
    padding: 10px 0px;
    font-weight: 500;
    width: 100%;
}

.container-titles .form-group .col-sm-8 {
    width: 100%;
    padding: 0px;
    margin: 0px;
}
.container-carousel {
    grid-template-columns: repeat(3, 1fr);
}

.container-carousel .col-sm-2 {
    width: 100%;
}

/* -------- Input files -------- */
.imagePreview{
    width: 100px;
    height: 50px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 15px;
}

.file-upload{
    display: flex;
    align-items: center;
    padding: 10px 12px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.12);
    margin-bottom: 15px;
    width: 100%;
    position: relative;
    border-radius: 4px;
    background-color: #fff;
}
.file-select {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.btn-submit-block {
    background-color: var(--main-color-background-image);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px;
    min-width: 130px;
    outline: none;
    border: none;
    border-radius: 4px;
    color: white;
    margin: 10px 0px;
}

#client_information fieldset .form-group .col-sm-offset-2,
#homepage fieldset .form-group .col-sm-offset-2,
#request_template_test_image,
#homepage_images_1,
#login_images_2,
#icons_images_3 {
    display: none;
    opacity: 0;
}

@media screen and (max-width: 600px) {
    .file-select {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        margin: auto;
    }

    .imagePreview {
        margin-right: 0px;
    }
}

.file-select-name{
    margin-left: 15px;
}

.file-select input[type=file] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.container-input-files .form-group .col-sm-2 {
    text-align: left;
    padding: 10px 0px;
    font-weight: 500;
}
.container-input-files .form-group .col-sm-8 {
    width: 100%;
    padding: 0px;
    margin: 0px;
    font-weight: 300;
}

.container-input-files .form-group .col-sm-8 input[type="file"]::-webkit-file-upload-button {
    background-color: var(--main-color-background-image);
    color: white;
    padding: 10px;
    border: none;
}
.container-input-files .form-group .col-sm-8 input[type="file"]::-ms-browse {
    background-color: var(--main-color-background-image);
    color: white;
    padding: 10px;
    border: none;
}
.form-group .col-sm-8 button[type="submit"] {
    background-color: var(--main-color-background-image);
    width: unset;
    min-width: 150px;
    padding: 10px;
    border: none;
    border-radius: 0px;
}
@media (max-width: 700px) {
    .container-info-section, .container-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    .container-colors {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 550px) {
    .container-info-section, .container-carousel {
        grid-template-columns: 1fr;
    }

    .cn-filters input[type="text"] {
        min-width: 98%;
    }
}

/* New styles */
.session-filters,
.my-courses-filters {
    background-color: white;
    padding: 0px 0px 20px 30px;
    min-height: 40px;
    border-radius: 8px;
    box-shadow: 3px 5px 11px -8px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.my-courses-filters {
    flex-direction: column;
}

.my-courses-filters__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.session-filters h2,
.my-courses-filters h2 {
    font-weight: 400;
    margin: 0 !important;
    font-size: 24px;
}

.session-filters h2 {
    position: absolute;
}

.session-filters svg {
    height: 100%;
    margin: 0px 0px 0px auto;
}

.session-item__detail summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
}

.session-item__detail summary .panel-heading {
    min-height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 300;
}

.session-item__info {
    display: flex;
    gap: 20px;
}

.session-item__info img {
    height: 36px;
    margin: auto;
}

.session-item__info div p,
.session-item__info div div {
    color: #989fa7;
}

.session-item__info div p {
    margin-top: 6px;
}

.session-item__info div a {
    font-size: 18px !important;
    font-weight: 400;
}

/* New homepages styles */

/* First homepage */
.main-container {
    height: 900px;
}

.main-container .main-container__background {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.2s ease;
}

.main-container .main-container__background .main-container__info {
    max-width: 500px;
}

.main-container__info h3 {
    color: var(--main-color-background-image);
}

.main-container .main-container__background .main-container__info h1 {
    color: white;
    font-weight: 385;
}

.main-container .main-container__background .main-container__info p {
    color: white;
}

.main-container__topics {
    margin: 20px 0px;
}

.main-container__topics, .main-container__topics span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: white;
    gap: 6px;
}

.main-container__topics, .main-container__topics span svg {
    color: var(--main-color-background-image);
}

.main-container__actions {
    display: flex;
    gap: 20px;
}

.main-container__actions a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.actions__button {
    border: 1px solid var(--main-color-background-image);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--main-color-background-image);
    transition: all 0.3s ease;
}

.actions__button:hover {
    background-color: var(--main-color-btn-hover-custom);
    border-color: var(--main-color-btn-hover-custom);
    color: white;
}

.carrousel-indicator {
    position: absolute;
    bottom: 50px;
    display: flex;
    gap: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.carrousel-indicator__item {
    background: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.carrousel-indicator__item__activate {
    background-color: var(--main-color-background-image);
    width: 50px;
    border-radius: 10px;
}

#cm-content {
    display: flex !important;
    flex-direction: column;
}

@media(max-width:768px) {
    .main-container__info {
        margin: auto;
    }

    #particle-effect-1,
    #particle-effect-2 {
        width: 20% !important;
    }

    #particle-effect-1 {
        left: 10px !important;
    }

    #particle-effect-2 {
        right: 10px !important;
    }
    
    #bar-effect {
        display: none;
    }
}

/* Footer new styles */
.container-footer {
    background: white;
    width: 90%;
    margin: auto;
    padding: 10px;
    max-width: 1500px;
}

.container-footer-esky {
    width: 100%;
    max-width:100%;
    background: #041240;
}

.footer__row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer__col-1 {
    padding: 25px 0px 10px 0px;
    max-width: 400px;
}

.footer__col-1 p {
    color: var(--main-color-hover-custom);
    margin-top: 10px;
    font-size: 14px;
    font-weight: 300;
}

.footer__col-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    min-width: 600px;
}

.footer__col-2 .footer-col__item h5 {
    font-size: 18px;
    color: var(--main-color-hover-custom);
    font-weight: 500;
    margin-bottom: 20px;
}

.footer__col-2 .footer-col__item a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--main-color-hover-custom);
    font-weight: 300;
}

.footer__container-social {
    display: flex;
    gap: 10px;
}

.footer__row-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
}

.container-footer-esky .footer__row-2 {
    width: 95%;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

.footer__row-2 div span,
.footer__row-2 div a {
    color: #747579;
    font-size: 14px;
    font-weight: 300;
}

.container-footer-esky .footer__row-2 div span,
.container-footer-esky .footer__row-2 div a{
    color: #fff !important;
}

.footer__row-2 div {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__row-2 div a {
    font-size: 14px;
}

@media(max-width: 1150px) {
    .footer__col-1, .footer__col-2 {
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }
}

@media(max-width: 660px) {
    .footer__col-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__col-2 {
        min-width: auto;
    }

    .footer__row-2 {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }
}

/* Apply color to svgs */
#bar-effect #bar-effect-1 {
    color: var(--main-color-background-image)
}

#bar-effect #bar-effect-2 {
    color: var(--main-color-hover-custom);
}

#particle-effect-1 {
    color: var(--main-color-hover-custom);
}

#particle-effect-2 {
    color: var(--main-color-background-image);
}

/* first homepage */
.__first-homepage {
    background-color: white;
}

.first-homepage__container {
    width: 90%;
    margin: auto;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1500px;
    gap: 40px;
}

.fifth-homepage__container {
    height: 80%;
}

.first-homepage__container .main-container__topics, .first-homepage__container .main-container__topics span {
    color: black;
}

.first-homepage__col-1 {
    max-width: 610px;
}

.first-homepage__col-1 .main-container__info h1 {
    margin: 40px 0px;
}

.first-homepage__col-1 .main-container__info p,
.first-homepage__col-1 .main-container__info div span {
    font-weight: 300;
}

@media(max-width: 1100px) {
    .first-homepage__container {
        flex-direction: column;
        justify-content: center;
    }

    .main-container__info {
        text-align: center;
    }

    .__first-homepage {
        height: auto;
    }

    .main-container__topics, .main-container__actions {
        justify-content: center;
    }

    #homapage-mockup-1 {
        width: 100%;
        height: auto;
    }

    .__fifth-homepage {
        height: auto;
    }

    #fifth_homepage__mockup {
        margin-bottom: 100px;
        width: 98% !important;
    }
}

.__fifth-homepage {
    position: relative;
    background-color: white;
}

#linear-effect {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: auto;
}

#fifth_homepage__mockup {
    border-radius: 60px;
    width: 550px;
    height: 550px;
    min-height: 550px;
    object-fit: cover;
}

/* New my courses design */
.my-courses__item {
    border-radius: 6px;
    box-shadow: 3px 5px 11px -8px rgba(0, 0, 0, 0.25);
    background-color: white;
    height: 100%;
}

.my-courses-grid .my-courses__item img {
    width: 100%;
    border-radius: 6px 6px 0px 0px;
}

.my-courses__item .item__info {
    padding: 20px;
}

.my-courses__item .item__info h3 {
    margin: 0px 0px 10px 0px;
    font-size: 16px;
    color: black;
    font-weight: 400;
    letter-spacing: 0.050em;
}

.my-courses__item .item__info p,
.my-courses__item .item__info .vote_label_info {
    font-weight: 300;
    color: #989fa7;
}

.my-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(332px, 1fr));
    gap: 20px;
}

.my-courses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.my-courses-list .my-courses__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-courses-list .my-courses__item img {
    object-fit: cover;
    border-radius: 6px 0px 0px 6px;
}

.my-courses-list .my-courses__item .progress-container {
    border: 2px solid #d2d4d7;
    border-radius: 6px;
    padding: 10px;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.my-courses-list .my-courses__item .progress-container a {
    background-color: var(--main-color-background-image);
    padding: 8px;
    width: 100%;
    text-align: center;
    border-radius: 6px;
    color: white;
}

.my-courses-list .my-courses__item .my-courses-item__info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
}

.my-courses-list .my-courses__item .my-courses-item__info h3 {
    font-size: 20px;
    color: var(--main-color-background-image);
}

.my-courses-list .my-courses__item .my-courses-item__info div .ranking div {
    display: flex;
    align-items: center;
    gap: 10px;
}

#bs-select-1 ul li a,
button[data-id="homepage_homepage"] {
    font-weight: 500;
}

@media screen and (max-width: 1200px) {
    .my-courses-list .my-courses__item .my-courses-item__info div .ranking div,
    .my-courses-list .my-courses__item .my-courses-item__info {
        flex-direction: column;
        text-align: center;
    }

    .my-courses-list .my-courses__item img {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .my-courses-list .my-courses__item img {
        display: block;
        border-radius: 6px 6px 0px 0px;
        width: 100%;
    }

    .my-courses-list .my-courses__item {
        flex-direction: column;
    }
}

/* -------------------- Styles for the first navbar -------------------- */
.first-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /*max-width: 1200px;*/
    width: 95%;
    margin: auto;
}

.first-navbar div a {
    text-decoration: none;
    color: black;
}

.first-navbar .navbar__links .__container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-actions__collapse a,
.first-navbar .navbar__links .__container a {
    color: #747579;
    transition: all 0.3s ease;
}

.navbar-actions__collapse a:hover,
.first-navbar .navbar__links .__container a:hover {
    color: var(--main-color-background-image);
}

.first-navbar .navbar__links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.first-navbar .navbar__links #header-logo {
    max-height: 60px;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.navbar__actions .navbar__action {
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    background-color: #E1E8F0;
}

#menu-button-dashboard,
.navbar__actions .__open {
    background-color: var(--main-color-background-image);
    transition: all 0.3s ease;
}

#menu-button-dashboard:hover {
    background-color: var(--main-color-btn-hover-custom);
}

.navbar__actions .__contact {
    color: #4F5C6F;
}

.navbar-actions__collapse {
    position: absolute;
    background: white;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
    left: 0px;
    width: 100%;
    padding: 0px 20px 30px 20px;
}

.navbar-actions__collapse,
#action-show-options {
    display: none;
}

.navbar-actions__collapse .__collapse a:hover {
    color: white;
}

.navbar-actions__collapse .__collapse a[target="_self"] {
    background-color: var(--main-color-background-image);
}

.btn-language {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-language .flag-icon {
    height: 30px;
    width: 30px;
}

@media screen and (max-width: 1000px) {
    #action-show-options {
        display: block;
    }

    .first-navbar .navbar__links .__container {
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .navbar__actions .__contact,
    .navbar__actions .__open {
        display: none;
    }
}

@media screen and (min-width: 800px) {
    .navbar-actions__collapse .__collapse {
        display: none;
    }
}

@media screen and (min-width: 1000px) {
    #navbar-action-collapse {
        display: none !important;
    }
}

#azure-active-directory-login {
    text-align: center;
    color: white;
}

.session-box-with-category .panel-body div .session-filters {
    display: none;
}

.item__info div .notifications a img {
    max-height: 30px;
    max-width: 30px !important;
    margin: 10px 0px;
}


/* -------------------------------------------------------------------- */
/* -------------------------- e-SKY Footer -------------------------- */
/* -------------------------------------------------------------------- */

.esky-footer {
    padding: 10px;
}

.esky-footer h5 {
    font-size: 18px;
  color: var(--main-color-hover-custom);
  font-weight: 500;
  margin-bottom: 20px;
}

.esky-footer .footer-logo {
    margin-bottom: 5px;
}

.esky-footer .footer-about-company {
    color: var(--main-color-hover-custom);
    margin-top: 10px;
    font-size: 14px;
    font-weight: 300;
}

.esky-footer .footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--main-color-hover-custom);
    font-weight: 300;
}

.esky-footer .footer-contact a:hover {
    color: var(--main-color-background-image);
}

.esky-footer .footer-social .footer__container-social {
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 767px) {
    .esky-footer .footer-logo,
    .esky-footer .footer-social .footer__container-social {
        margin: 0 auto;
        display: block;
    }
    
    .esky-footer .footer-about-company,
    .esky-footer .footer-contact,
    .esky-footer .footer-social
     {
        text-align: center;
    }

    .esky-footer .footer-social .footer__container-social a {
        padding: 10px;
    }
}

/* -------------------------------------
   Component: esky-button
   Reusable button component
   -------------------------------------
   Used in:
   - My courses (continue button)
   - Course catalog
   - Modals
------------------------------------- */

.esky-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    width: auto;
    text-align: center;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 90px;
    height: 40px;
}

@media only screen and (max-width: 480px) {
    .esky-button {
        margin-top: 8px;
        position: static;
    }
}

.esky-button--primary {
    background: #04A2E2;
    color: white;
}

.esky-button--primary:hover {
    background: #0056b3;
    color: white !important;
}

.esky-button--full-width {
    display: block;
    width: 100%;
}

.esky-button--align-end {
    margin-left: auto;
}

.esky-button--push-bottom {
    margin-top: auto;
}

.esky-button--self-end {
    align-self: flex-end;
}

.esky-button--search {
    background-color: var(--main-color-navbar-link-hover);
    width: 120px;
    padding: 8px 12px;
    font-size: 13px;
    transition: opacity 0.3s ease;
}

.esky-button--clear {
    background-color: var(--e-sky-section-background);
    border: 1px solid #DDDDDD;
    color: black;
    width: 120px;
    padding: 8px 12px;
    font-size: 13px;
}

.esky-button--search:hover {
    background-color: var(--main-color-navbar-link-hover);
}

.esky-button--clear:hover {
    color: black !important;
    background-color: var(--e-sky-section-background);
}

.esky-button--text {
    color: #000000;
    background-color: transparent;
    padding: 0;
    text-decoration: underline;
    min-width: 0px;
    font-weight: 300;
}

.esky-button--text:hover {
    background: none;
    color: #000000 !important;
}
.esky-button--text:focus {
    box-shadow: none !important;
}

.esky-button--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.esky-button--success {
    background-color: #22C55E;
    border-color: #22C55E;
}

.esky-button--success:hover {
    background-color: #16A34A;
    border-color: #16A34A;
}

.esky-button--disabled {
    border: 1px solid transparent;
    background-color: #D1D5DB;
    border-color: #9CA3AF;
    color: #6B7280;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.esky-button--error {
    background-color: #DC3545;
    border-color: #DC3545;
}

.esky-button--error:hover {
    background-color: #BB2D3B;
    border-color: #B02A37;
}

.esky-button--secondary {
    border: 1px solid transparent;
    background-color: white;
    border-color: #E5E7EB;
    color: #6B7280;
}

.esky-button--secondary:hover {
    background-color: #F3F4F6;
    border-color: #D1D5DB;
    color: #374151;
}

/*---------------------------------------------------------------------*/
/* ----------------------- e-SKY Filter Actions -----------------------*/
/*---------------------------------------------------------------------*/

.esky-filter-actions {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 8px;
}

/* -------------------------------------------------------------------- */
/* ------------------------ e-SKY Course Grid ------------------- */
/* -------------------------------------------------------------------- */

.esky-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(332px, 1fr));
    gap: 14px;
}

.esky-course-grid--list-view {
    grid-template-columns: 1fr;
    gap: 12px;
}

/* -------------------------------------------------------------------- */
/* ------------------------------ e-SKY Filters ------------------------- */
/* -------------------------------------------------------------------- */

.esky-controls-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}

.esky-controls-bar--wrap{ flex-wrap:wrap; }

.esky-u-my-12{ margin:12px 0; }  

/* -------------------------------------------------------------------- */
/* -------------------------- e-SKY Search ---------------------------- */
/* -------------------------------------------------------------------- */

.esky-search{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1.6px solid #C8C8C8;
    border-radius: var(--e-sky-input-radius);
    background: #fff;
    position: relative;
    max-width: 380px;
    flex: 1;
}

.esky-search:focus-within{
    border-color: #C8C8C8;
    box-shadow: none;
}

.esky-search__icon{
    flex: 0 0 auto;
}

.esky-search__input{
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    border: 0;
    background: transparent;

    -webkit-appearance: none;
    appearance: none;

    font-size: 14px;
    font-weight: 300;

    outline: none;
    box-shadow: none;
}

.esky-search__input:focus,
.esky-search__input:focus-visible{
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}
  
/* -------------------------------------------------------------------- */
/* ------------------------ e-SKY Icon Button ------------------- */
/* -------------------------------------------------------------------- */

.esky-icon-button{
    display:flex;
    align-items:center;
    justify-content:center;

    width: var(--e-sky-control-size, 47px);
    height: var(--e-sky-control-size, 47px);

    border-radius: var(--e-sky-input-radius);
    border: 1.6px solid var(--main-color-navbar-link-hover);
    color: var(--main-color-navbar-link-hover);

    background: #fff;
    cursor: pointer;
    padding: 0;
}

.esky-icon-button--surface{
    background: var(--e-sky-section-background);
}

.esky-icon-button__icon{
    display:block;
}

.esky-icon-button__label {
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    color: rgba(71, 85, 105, 1);
}

.esky-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

#total-sessions {
    
}

.esky-view-toggle{
    display: flex;
    align-items: center;
    gap: 4px;

    color: var(--main-color-navbar-link-hover);
    cursor: pointer;
    position: relative;

    background: transparent;
    border: 0;
        padding: 0;
}
  
.esky-view-toggle__icon{
    display: block;
}

/* -------------------------------------------------------------------- */
/* ------------------------ e-SKY View Popup ------------------- */
/* -------------------------------------------------------------------- */

.esky-view-popup {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 999;
    min-width: 140px;
}

.esky-view-popup--open{
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0);
}

.esky-view-popup::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid #E0E0E0;
    border-top: 1px solid #E0E0E0;
    transform: rotate(45deg);
    z-index: 999;
}

.esky-view-popup__options{
    display: flex;
    flex-direction: column;
    padding: 8px;
    gap: 4px;
}

.esky-view-popup__option{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.esky-view-popup__option:hover:not(.esky-view-popup__option--active) {
    background: #f5f5f5;
    color: #333;
}
  
.esky-view-popup__option--active {
    background: var(--main-color-navbar-link-hover);
    color: white;
}

.esky-view-option__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* -------------------------------------------------------------------- */
/* --------------------------- e-SKY Modal ----------------------------- */
/* -------------------------------------------------------------------- */

.esky-modal {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s ease;
}

.esky-modal.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 999;
}

.esky-modal__dialog {
    display: grid;
    gap: 8px;
    background: white;
    margin: 10% auto;
    padding: 18px 14px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    position: relative;
}

.esky-modal__close {
    align-items: center;
    justify-content: center;
    display: flex;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 23px;
    font-weight: bold;
    cursor: pointer;
    color: #FFFFFF;
    background-color: var(--main-color-navbar-link-hover);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
}

.esky-modal__close:hover {
    color: #FF0000;
}

/*--------------------------------------------------------------------
--------------------- e-SKY Filter Header ---------------------
--------------------------------------------------------------------*/

.esky-filter-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 5px;
}
.esky-filter-header__title {
    font-size: 22px;
    font-weight: 300;
    margin: 0px;
}

/*--------------------------------------------------------------------
--------------------- e-SKY esky-order-buttons ---------------------
--------------------------------------------------------------------*/
.esky-order-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px;
}
.esky-order-buttons__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1.6px solid var(--main-color-navbar-link-hover);
    padding: 4px 6px;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    cursor: pointer;
    color: black;
    text-decoration: none;
    background-color: transparent;
    color: rgba(102, 112, 133, 1);
}
.esky-order-buttons__button.active {
    background-color: var(--main-color-navbar-link-hover);
    color: white;
} 

/* ==========================================================================
   Component: esky-content
   Description:
     Reusable main content container with grid/list view variants.
     Use it for containers that switch between grid and list layouts.

   Dominant rules source:
     - MyCourses baseline behavior (position/transition/gap variable)
   Extensions:
     - CourseCatalog can tune layout using CSS variables on the container
   ========================================================================== */

.esky-content {
    display: grid;
    position: relative;
    transition: all 0.3s ease;
    gap: var(--esky-content-gap, 14px);
}

.esky-content--grid {
    --esky-content-gap: 14px;
  
    grid-template-columns: var(--esky-content-grid-columns, unset);
    place-items: var(--esky-content-place-items, unset);
}

.esky-content--list {
    grid-template-columns: 1fr;
    --esky-content-gap: 12px;
}

@media (min-width: 580px) {
    .esky-content--cards {
      grid-template-columns: repeat(auto-fill, minmax(332px, 1fr));
    }
}

#grid-courses.esky-content {
    --esky-content-grid-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
    --esky-content-place-items: center;
    /*--esky-content-gap: 8px;*/
}

#grid-courses.esky-content {
  background-color: white;
  padding: 18px 10px 10px 10px;
  width: 100%;
  border-radius: 16px;
}

/* ==========================================================================
Component: esky-card
Description:
  Reusable card component with grid/list variants.

Dominant rules source:
  - MyCourses baseline (background + transition + image sizing in grid/list)

Extensions:
  - CourseCatalog can rely on the same base and optionally adds layout needs
    like justify-content/position via variables or context selectors.
========================================================================== */

.esky-card {
  background: white;
  transition: all 0.2s ease;

  display: var(--esky-card-display, flex);
  flex-direction: var(--esky-card-direction, column);
  justify-content: var(--esky-card-justify, space-between);
  position: var(--esky-card-position, relative);
  width: var(--esky-card-width, 100%);
  height: var(--esky-card-height, 100%);
  border-radius: 12px;
  overflow: hidden;

  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.esky-card--grid {
  border: none;
  display: flex;
  flex-direction: column;

  overflow: hidden;
}

.esky-card--list {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;

  flex-direction: row !important;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;

  border: 1px solid #E0E0E0;
}

.esky-card__media {
    position: relative;
}

.esky-card--list .esky-card__media {
    height: 100%;
}

.esky-card__image {
  object-fit: cover;
  width: 100%;
  display: block;
  min-width: 140px;
}

.esky-card--grid .esky-card__image {
  height: var(--esky-card-grid-img-height, 180px);
}

.esky-card--list .esky-card__image {
    /*width: var(--esky-card-list-img-width, 150px);*/
    height: var(--esky-card-list-img-height, 100%);
    border-radius: 8px;
    max-width: 358px;
}

@media (max-width: 940px) {
    .esky-card--list .esky-card__image {
        width: 280px;
    }
}

@media (max-width: 600px) {
    .esky-card--list .esky-card__image {
        width: 90px;
    }
}

/* ==========================================================================
Element: esky-card__status
Description:
  Status badge overlay for cards (image/media overlay).
  Use inside .esky-card__media to show states like "Available" / "In progress".

Used in:
  - Course Catalog cards (status overlay on thumbnail)
========================================================================== */

.esky-card__status {
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  width: 96px;
  text-align: center;
  color: #ffffff;
  font-weight: 300;
  position: absolute;
  top: 8px;
  right: 8px;
  backdrop-filter: blur(5px);
}

.esky-card__status--progress {
  background: var(--esky-status-progress-bg, #FF880080);
}

.esky-card__status--available {
  background: var(--esky-status-available-bg, #95959580);
}

.esky-card--list .esky-card__status {
  right: auto;
  margin: 0px 12px 12px 7px;
}

.esky-card--grid .esky-card__status {

}

/* ==========================================================================
Element: esky-card__body
Description:
  Main content area of a card. Holds title, description,
  ratings, progress indicators and actions.

Used in:
  - MyCourses cards (grid/list)
  - Course Catalog cards (grid/list)
========================================================================== */

.esky-card__body{
  justify-content: center;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 10px;
  box-sizing: border-box;
}

.esky-card--grid .esky-card__body{
  padding: 12px;
}

.esky-card--list .esky-card__body{
  padding: 8px 10px;
  width: 50px;
  height: auto;
}

/* ==========================================================================
Element: esky-card__title
Description:
  Displays the course title inside an esky-card.
Used in:
  - MyCourses cards (grid / list)
  - Course Catalog cards
========================================================================== */

.esky-card__title {
  margin: 0;
  font-weight: 500;
  font-family: inherit;
  color: var(--esky-card-title-color, #333);

  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.esky-card--grid .esky-card__title {
  font-size: 16px;
  --esky-card-title-color: #333;
}

.esky-card--list .esky-card__title {
  font-size: 14px;
  --esky-card-title-color: #444;
  max-width: 100%;
}

/* ==========================================================================
Element: esky-card__description
========================================================================== */

.esky-card__description {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    overflow: hidden;
    font-size: 12px;
    font-weight: 300;
    color: #000000;
    margin: 0px;
    flex: 1;
}

.esky-card__description-container {
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.esky-card__description-container.tooltip-active {
}

.esky-card__pinned-badge {
    color: rgba(148, 163, 184, 1);
    font-size: 11px;
    margin: 0;
    margin-bottom: 4px;
}

.esky-card__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.esky-card__description-alert {
    display: none;
    width: 15px;
    height: auto;
    cursor: pointer;
}

.esky-card__description-alert.tooltip-active {
    display: block;
}

.esky-card__description-alert svg {
    display: block;
    width: 15px;
    height: 15px;
    stroke: #94A3B8;
    fill: #94A3B8;
}

.esky-card__description-alert svg.esky-card__info-icon {
    display: block;
    width: 14px;
    height: 14px;
    stroke: none;
    fill: none;
}

/* ==========================================================================
Component: esky-card__progress
Description:
  Displays course progress inside a card using a progress bar
  with optional percentage indicator.

Used in:
  - MyCourses cards
  - Course Catalog cards
========================================================================== */

.esky-card__progress {
    position: relative;
    display: none;
}

.esky-card--list .esky-card__progress {
    display: block;
}

.esky-card__progress-bar {
    position: relative;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin: 8px 0 12px;
    width: 100%;
}

.esky-card__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--main-color-navbar-link-hover), var(--main-color-navbar-link-hover));
    border-radius: 3px;
    position: relative;
    min-width: 20px;
}

.esky-card__progress-indicator {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  background: #fff;
  border: 1.6px solid var(--main-color-navbar-link-hover);
  height: 20px;
  width: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-size: 10px;
  color: #333;
  white-space: nowrap;
}

.esky-card__progress-indicator--low {
  right: -14px;
  transform: translateY(-50%);
}

.esky-card__progress-indicator--medium {
  right: 0;
  transform: translate(50%, -50%);
}

.esky-card__progress-indicator--high {
  transform: translateY(-50%);
}  

.esky-card__meta-actions {
    display: flex;
    align-items: normal;
    margin-top: auto;
    gap: 10px;
    align-items: stretch;
}

.esky-card--list .esky-card__meta-actions {
    display: flex;
}

.esky-card--grid .esky-card__meta-actions {
    flex-direction: row;
}

.esky-card--grid .esky-card__info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.esky-card--list .esky-card__info-wrapper {

}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0px;
}

.stars-votes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stars-percent {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.my-courses__course-card-info span {
    color: #B1B1B1;
    font-weight: 300;
    font-size: 12px;
}

 /*--------------------------------------------------------------------*/
 /*------------------------------ e-SKY Select ------------------------*/
 /*--------------------------------------------------------------------*/

.esky-select {
    padding: 12px;
    border-radius: 8px;
    border: 1.6px solid #C8C8C8;
    background: white;
    width: 100%;
    position: relative;
    cursor: pointer;
    z-index: 1;
    margin-top: 6px;
}

.esky-select__selected {
    display: flex;
    justify-content: space-between;
}
.esky-select__arrow {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.25s ease;
}
.esky-select.active {
    z-index: 10;
}
.esky-select.active .esky-select__arrow {
    transform: rotate(180deg);
}
.esky-select__dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    z-index: 999;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    z-index:  900 !important;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0s linear 0.2s;
}
.esky-select.active .esky-select__dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0s;
}
.esky-select__option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-height: 40px;
}
.esky-select__option:hover {
    background-color: #F0F0F0;
}
.esky-select__option[data-selected='true'] {
    background-color: #E3F2FD;
    font-weight: 500;
}

/* =====================================================
   Component: esky-progress-circle
   Description: Circular progress indicator for courses
   Used in: My Courses, Course Catalog
===================================================== */

.esky-progress-circle {
    position: relative;
    width: 60px;
    height: 60px;
    margin-left: auto;
}

.esky-progress-circle__svg {
    transform: rotate(-90deg);
}

.esky-progress-circle__bg {
    fill: none;
    stroke: var(--esky-color-border-muted, #e5e7eb);
    stroke-width: 4;
}

.esky-progress-circle__bar {
    fill: none;
    stroke: var(--main-color-background-image);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 163.36px;
    stroke-dashoffset: 163.36px;
    transition: stroke-dashoffset 0.6s ease;
}

.esky-progress-circle__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--esky-color-text-muted, #6b7280);
}

.esky-card--list .esky-progress-circle {
    display: none;
}

/*--------------------------------------------------------------------*/
/*------------------------------ e-SKY Tooltip ------------------------*/
/*--------------------------------------------------------------------*/

.esky-tooltip {
    position: fixed;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    max-width: 650px;
    max-height: 390px;
    min-width: 250px;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    width: max-content;
    --esky-tooltip-origin: left center;
    --esky-tooltip-translate-x: 12px;
    --esky-tooltip-translate-y: 0;
    transform-origin: var(--esky-tooltip-origin);
    will-change: opacity, transform, filter;
}

.esky-tooltip--visible {
    visibility: visible;
    pointer-events: auto;

    animation: esky-tooltip-slide 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.esky-tooltip--hiding {
    animation: esky-tooltip-slide-out 0.2s cubic-bezier(0.4, 0, 1, 1) forwards;
    pointer-events: none;
}

.esky-tooltip--from-right {
    --esky-tooltip-origin: left center;
    --esky-tooltip-translate-x: 12px;
    --esky-tooltip-translate-y: 0;
}

.esky-tooltip--from-left {
    --esky-tooltip-origin: right center;
    --esky-tooltip-translate-x: -12px;
    --esky-tooltip-translate-y: 0;
}

.esky-tooltip--from-top {
    --esky-tooltip-origin: center bottom;
    --esky-tooltip-translate-x: 0;
    --esky-tooltip-translate-y: -12px;
}

.esky-tooltip--from-bottom-right {
    --esky-tooltip-origin: left top;
    --esky-tooltip-translate-x: 12px;
    --esky-tooltip-translate-y: 10px;
}

.esky-tooltip--from-top-right {
    --esky-tooltip-origin: left bottom;
    --esky-tooltip-translate-x: 12px;
    --esky-tooltip-translate-y: -10px;
}

@keyframes esky-tooltip-slide {
    0% {
        opacity: 0;
        transform: translate(
            var(--esky-tooltip-translate-x),
            var(--esky-tooltip-translate-y)
        );
        /*filter: blur(4px);*/
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
        /*filter: blur(0);*/
    }
}

@keyframes esky-tooltip-slide-out {
    0% {
        opacity: 1;
        transform: translate(0, 0);
    }

    100% {
        opacity: 0;
        transform: translate(
            var(--esky-tooltip-translate-x),
            var(--esky-tooltip-translate-y)
        );
    }
}

.esky-tooltip__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    gap: 12px;
    border-bottom: 1px solid #e4e4e7;
    background: color-mix(in srgb, var(--main-color-background-image) 20%, white);
}

.esky-tooltip__title {
    font-weight: 500;
}

.esky-tooltip__close {
    position: relative;
    cursor: pointer;
}

.esky-tooltip__close::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 50px;
}

.esky-tooltip__scroll {
    max-height: 420px;
    overflow-y: auto;
    padding: 10px 20px;
}

.esky-tooltip__footer {
    display: flex;
    padding: 10px 20px;
}

.esky-tooltip__content {
    line-height: 1.5;
    word-wrap: break-word;
}

.esky-tooltip__action {
    flex: 1;
}

@media (max-width: 820px) {
    .esky-tooltip__title {
        font-size: 12px;
    }
    .esky-tooltip__action {
        height: 36px;
        flex: 1;
    }
    .esky-tooltip__scroll {
        padding: 10px;
    }
    .esky-tooltip__footer {
        padding: 10px;
    }
}

@media (max-width: 1220px) {
    .esky-tooltip {
        max-width: 570px;
    }
}

/* ------------------------------------------------------------------
    Optional: specific styles for the course descriptions table
    ------------------------------------------------------------------ */
.esky-tooltip__content table,
.esky-tooltip__content td,
.esky-tooltip__content th {
    border: none;
}

.esky-tooltip__content table {
    width: 100% !important;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
    font-weight: 300;
    color: black;
}

.esky-tooltip__content ul {
    list-style-position: inside;
}

.esky-tooltip__content td {
    padding: 6px 8px;
    word-break: break-word;
    width: auto;
}

.esky-tooltip__content tr td {
    border-bottom: 1px solid #e4e4e7;
    white-space: normal;
}

.esky-tooltip__content td:nth-child(1),
.esky-tooltip__content col:nth-child(1) {
    width: 102px !important
}

.esky-tooltip__content td:nth-child(2),
.esky-tooltip__content col:nth-child(2) {
    width: 60px !important;
    text-align: center;
    white-space: nowrap;
}

.esky-tooltip__content td:nth-child(3),
.esky-tooltip__content col:nth-child(3) {
    width: auto !important;
}

.esky-tooltip__content col:not(:last-child) td {
    border-bottom: 1px solid #e4e4e7;
}

@media (max-width: 820px) {
    .esky-tooltip__content table {
        font-size: 10px;
    }
}

/*--------------------------------------------------------------------*/
/*------------------------------ e-SKY Banner ------------------------*/
/*--------------------------------------------------------------------*/

.esky-banner {
    background-color: color-mix( in srgb, var(--main-color-background-image) 15%, white );
    border-left: 4px solid var(--main-color-background-image);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    position: relative;
    animation: esky-banner-slide-down 0.3s ease-out;
    margin-bottom: 12px;
}

@keyframes esky-banner-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.esky-banner__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.esky-banner__left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.esky-banner__icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--main-color-background-image);
}

.esky-banner__icon svg {
    width: 100%;
    height: 100%;
}

.esky-banner__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.esky-banner__subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 0px;
}

.esky-banner__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.esky-banner__suggestion {
    padding: 6px 12px;
    font-size: 12px;
    height: 32px;
    border: 1px solid var(--main-color-background-image);
    background: #ffffff;
    color: #000;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.esky-banner__suggestion:hover {
    background: var(--main-color-background-image);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.esky-banner__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 4px;
}

.esky-banner__close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.esky-banner__close svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 820px) {
    .esky-banner__suggestions {
        gap: 6px;
    }
}

/*--------------------------------------------------------------------*/
/*------------------------------ e-SKY No Results Message ------------------------*/
/*--------------------------------------------------------------------*/

.esky-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    width: 100%;
}

.esky-no-results__icon {
    color: #999;
    margin-bottom: 16px;
}

.esky-no-results__message {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.esky-no-results--full-height {
    min-height: 55vh;
}

#grid-courses .esky-no-results {
    grid-column: 1 / -1;
}

/* ====== Pin Button ====== */
.esky-card__pin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 33px;
    width: 26px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.esky-card--list .esky-card__pin-btn{
    border: none;
}

.esky-card__pin-btn:hover {
    border-color: rgba(226, 232, 240, 1);
    background: #f5f5ff;
}

.esky-card__pin-btn.is-pinned {
    background-color: color-mix(in srgb, var(--main-color-background-image) 15%, white);
    border: 1px solid color-mix(in srgb, var(--main-color-background-image) 20%, transparent);
}

.esky-card--grid .esky-card__pin-btn.is-pinned:hover {
    opacity: 0.85;
}

.esky-card__pin-btn svg {
    width: 17px;
    height: 17px;
    transition: transform 0.2s ease;
    fill: #94A3B8;
}

.esky-card__pin-btn.is-pinned svg {
    fill: var(--main-color-navbar-link-hover);
}

/* ====== Desktop and Tablet Redesign ====== */
@media (min-width: 600px) and (min-height: 600px) {
    .esky-button-mycourses {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFFFFF;
        cursor: pointer;
        width: auto;
        text-align: center;
        padding: 10px 12px;
        border-radius: 8px;
        border: 1px solid transparent;
        text-decoration: none;
        transition: all 0.3s ease;
        height: 36px;
        min-width: 100px;
        font-weight: 700;
        font-style: Bold;
        font-size: 11px;
        line-height: 16.5px;
        letter-spacing: 0px;
        vertical-align: middle;
    }

    /*#grid-courses .esky-card--grid .esky-button-mycourses {
        width: 213.75px;
        height: 36px;
        border-radius: 8px;
        padding-top: 8.75px;
        padding-bottom: 10.25px;
    }*/

    .esky-card--list .esky-button-mycourses {
        height: 34px;
        padding: 6px 12px;
    }

    .esky-card--grid .esky-card--list .esky-button-mycourses {
        height: 214px;
    }

    .session-card .esky-card--list .esky-button-mycourses {
        height: 30px;
        min-width: 80px;
        border-radius: 8px;
        border-width: 1px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .esky-button--primary {
        background: var(--main-color-background-image);
        flex: 1;
    }

    #grid-courses .esky-button--secondary,
    .esky-content--courses .esky-button--secondary,
    .session-card .esky-button--secondary,
    #grid-courses .esky-button--primary,
    .esky-content--courses .esky-button--primary,
    .session-card .esky-button--primary {
        display: flex;
        height: 32px;
        border-radius: 8px;
        border-width: 1px;
        padding: 0;
        align-items: center;
        font-weight: 700;
        font-style: Bold;
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0px;
        text-align: center;
        vertical-align: middle;
    }

    .session-card .esky-button--secondary,
    #grid-courses .esky-button--secondary,
    .esky-content--courses .esky-button--secondary {
        background-color: #F3F4F6;
        border-color: var(--main-color-background-image);
        color: var(--main-color-background-image);
        flex: 1;
    }

    .esky-card {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .esky-card--grid {
        padding: 18px 9px 10px 9px;
        border: 1px solid rgba(229, 231, 235, 1);
        background-color: rgb(255, 255, 255);
        height: 340px;
        border-radius: 12px;
    }

    #grid-courses .esky-card--grid,
    .esky-content--courses .esky-card--grid,
    .session-card .esky-card--grid {
        height: auto;
        min-height: 317.25px;
        border-radius: 12px;
        border-width: 1px;
        padding: 16px;
    }

    #grid-courses .esky-card--grid .esky-card__media,
    .esky-content--courses .esky-card--grid .esky-card__media,
    .session-card .esky-card--grid .esky-card__media {
        width: 100%;
        height: auto;
        max-height: none;
        border-radius: 8px;
        border-width: 1px;
        margin: 0;
        margin-bottom: 12px;
    }
    
    .esky-content--courses .esky-card--grid .esky-card__body {
        height: auto;
        min-height: 143.25px;
        gap: 8px;
        padding: 0;
    }

    #grid-courses .esky-card--grid .esky-card__body,
    .session-card .esky-card--grid .esky-card__body {
        padding: 0px;
    }


    #grid-courses .esky-card--grid .esky-card__title-row {
        height: 35.75px;
    }

    #grid-courses .esky-card--grid .esky-card__title-row,
    .esky-content--courses .esky-card--grid .esky-card__title-row,
    .session-card .esky-card--grid .esky-card__title-row {
        height: 18px;
    }

    #grid-courses .esky-card__description-alert svg,
    .esky-content--courses .esky-card__description-alert svg {
        width: 14px;
        height: 14px;
    }

    .session-card .esky-card__description-alert svg:not(.esky-card__info-icon) {
        width: 13px;
        height: 13px;
    }

    #grid-courses .esky-card__description-container,
    .esky-content--courses .esky-card__description-container,
    .session-card .esky-card__description-container {
        height: auto;
    }

    .session-card .esky-card__title-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        width: 100%;
        height: 20px;
    }

    #grid-courses .stars--new,
    .esky-content--courses .stars--new,
    .session-card .stars--new {
        gap: 4px;
    }

    /*#grid-courses .stars-catalog,*/
    .esky-content--courses .stars-votes,
    .session-card .stars-votes {
        display: flex;
        height: 22px;
        gap: 8px;
    }

    .esky-content--courses .esky-card__status-area,
    .session-card .esky-card__status-area {
        height: 31.5px;
        gap: 4px;
    }

    .session-card .course-meta,
    #grid-courses .course-meta,
    .esky-content--courses .course-meta {
        margin: 0;
        margin-top: auto;
    }

    .esky-card--list {
        border: none;
        border-radius: 16px;
        height: 78px;
    }

    .session-card .esky-card--list {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 24px;
        padding: 0px;
        width: 100%;
        height: auto;
        min-height: 44px;
        align-self: stretch;
    }

    .esky-content--courses.esky-content--list .esky-card--list, 
    #grid-courses.esky-content--list .esky-card--list {
        background-color: white;
        border: 1px solid rgba(241, 245, 249, 1);
        box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    }

    .esky-card--list .catalog-card__info .catalog-card__statistics {
        display: none;
    }

    #grid-courses.esky-content--grid .catalog-card__votes,
    #grid-courses.esky-content--grid .catalog-card__rating-label {
        display: none !important;
    }

    .esky-card__media {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        height: auto;
        max-height: 106px;
        border-radius: 8px;
        margin-right: 10px;
        margin-left: 10px;
    }

    .esky-card--list .esky-card__media {
        height: 40px;
    }

    .esky-card--grid .esky-card__image {
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    .esky-card--list .esky-card__image {
        height: 100%;
        width: 100%;
        object-fit: contain;
        min-width: auto;
        max-width: none;
    }

    .session-card .esky-card--list .esky-card__media {
        border-radius: 4px;
        overflow: hidden;
        margin: 0;
    }

    .session-card .esky-card--list .esky-card__image {
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }

    .esky-card--grid .esky-card__body {
        padding: 10px 10px 0px 10px;
    }

    .esky-card--list .esky-card__body {
        display: flex;
        align-items: center;
        position: relative;
        flex: 1;
        gap: 10px;
        box-sizing: border-box;
        justify-content: space-between;
        flex-direction: row;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .esky-card__title {
        color: rgba(29, 41, 57, 1);
        font-size: 13px;
    }

    .esky-card--list .esky-card__title {
        font-weight: 700;
        font-style: Bold;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0px;
        max-width: none;
    }

    .esky-card__description {
        font-weight: 400;
        font-style: normal;
        font-size: 11px;
        line-height: 16.5px;
        letter-spacing: 0px;
        color: rgba(151, 159, 175, 1);
    }

    .esky-card__description-container {
        font-size: 10px;
        color: rgba(151, 159, 175, 1);
    }

    .esky-card__progress {
        min-width: 200px;
    }

    .esky-card--grid .esky-card__progress,
    .esky-card--list .esky-card__progress {
        display: block;
    }

    .esky-card--list .catalog-card__info .catalog-card__topics {
        display: none;
    }

    .esky-card--list .esky-card__status {
        display: none;
    }

    .esky-card__progress-bar {
        margin: 0;
    }

    .esky-card__progress-fill {
        background: none;
        min-width: auto;
    }

    .esky-card__progress-fill--not-started {
    }

    .esky-card__progress-fill--completed {
        background: rgba(55, 130, 84, 1);
    }

    .esky-card__progress-fill--in-progress {
        background: rgba(38, 88, 216, 1);
    }

    #session-header .esky-search {
        height: 42px;
        min-width: 311px;
        max-width: none;
        flex: 1;
        max-width: none;
    }

    .esky-search {
        max-width: none;
        min-width: 380px;
        flex: 1;
        height: 42px;
    }

    .esky-search__input {
        font-weight: 500;
        font-style: Medium;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #8C8C8C;
    }

    .esky-search__input::placeholder {
        font-weight: 500;
        font-style: Medium;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #8C8C8C;
    }

    .esky-icon-button__icon--legacy {
        display: none;
    }

    .esky-icon-button {
        max-width: none;
        min-width: 84px;
        height: 42px;
        border: 1px solid rgba(226, 232, 240, 1);
        padding: 0px 15px 0px 15px;
        background: white;
        color: rgba(98, 107, 127, 1);
        gap: 6px;
        width: auto;
    }

    .esky-view-popup__option {
        padding: 0px;
        color: inherit;
        width: 25px;
        height: 25px;
        justify-content: center;
        border-radius: 6px;
    }

    .esky-view-popup__option svg {
        stroke: #665;
        fill: #665;
    }

    .esky-view-popup__option--current-view {
        width: 25px;
        height: 25px;
        align-items: center;
        justify-content: center;
        background-color: var(--main-color-background-image) !important;
    }

    .esky-view-popup__option--current-view svg {
        fill: #fff;
        stroke: #fff;
    }

    .esky-view-popup__option:hover:not(.esky-view-popup__option--active) {
        background: transparent;
        color: inherit;
    }

    .esky-view-popup__option--active {
        color: white !important;
    }


    .esky-card__status-area {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .esky-card--list .stars-votes {
        display: none;
    }

    .esky-card--grid .esky-card__media .esky-card__pinned-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        padding: 2px 8px;
        min-height: 19px;
        border-radius: 4px;
        font-weight: 500;
        font-size: 10px;
        line-height: 15px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: var(--main-color-background-image);
        background: rgba(33, 119, 248, 0.1);
    }

    .esky-card--grid .esky-card__action-bar {
        display: flex;
        gap: 15px;
        align-items: normal;
        flex-direction: column;
    }

    .esky-card--list .esky-card__action-bar{
        display: flex;
        gap: 80px;
        align-items: center;
    }

    .esky-card__status-row {
        display: flex;
        gap: 50px;
        align-items: center;
    }

    .esky-card__status-row .esky-card__status-percent {
        display: none;
    }

    #grid-courses .esky-card__status-area,
    .esky-content--courses .esky-card__status-row,
    .esky-content--sessions .esky-card__status-row {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    #grid-courses .esky-card__status-area {
        align-items: revert;
    }

    .esky-card__status-label .esky-card__status-state,
    .esky-card__status-label .esky-card__status-percent {
        font-weight: 500;
        font-size: 10px;
        line-height: 15px;
        letter-spacing: 0px;
    }

    .session-card .esky-card__status-label .esky-card__status-state {

    }

    .esky-card__status-progress-label {
        display: none;
    }

    .esky-content--courses .esky-card__status-percent, 
    .esky-content--courses .esky-card__status-progress-label, 
    .esky-content--sessions .esky-card__status-percent, 
    .esky-content--sessions .esky-card__status-progress-label, 
    #grid-courses.esky-content--list .esky-card__status-progress-label {
        display: block;
    }

    .esky-content--list .esky-card__status-progress-label,
    .esky-content--courses .esky-card__status-progress-label,
    .esky-content--sessions .esky-card__status-progress-label {
        font-weight: 700;
        font-style: Bold;
        font-size: 10px;
        line-height: 15px;
        letter-spacing: 0px;
        vertical-align: middle;
        margin: 0px;
        color: rgba(148, 163, 184, 1);
        height: 15px;
    }

    .esky-card__status-label {
        display: flex;
        min-width: 72px;
        justify-content: space-between;
        gap: 5px;
        height: 15px;
    }

    .esky-card__status-label span {
        width: fit-content;
        font-size: 10px;
        margin: 0;
        font-weight: bold;
    }

    .esky-card__status-label--in-progress span {
        color: rgba(38, 88, 216, 1);
    }

    .esky-card__status-label--completed span {
        color: rgba(55, 130, 84, 1);
    }

    .esky-card__status-label--not-started span {
        color: #7F838B;
    }

    .esky-card__status-grid {
        display: flex;
        justify-content: space-between;
    }
    #grid-courses.esky-content--list .esky-card--list .esky-card__status-grid {
        justify-content: flex-start;
        gap: 2px;
    }

    #grid-courses.esky-content--list .esky-card--list .esky-card__status-grid span:first-child {
        order: 2;
    }

    #grid-courses.esky-content--list .esky-card--list .esky-card__status-grid span:last-child {
        order: 1;
    }


    .esky-card__status-grid span {
        font-weight: 700;
        font-size: 10px;
        line-height: 13.5px;
        letter-spacing: 0.45px;
        margin: 0;
    }

    .esky-card__status-area--in-progress .esky-card__status-grid span,
    .esky-card__status-area--in-progress .esky-card__status-label span {
        color: rgba(38, 88, 216, 1);
    }

    .esky-card__status-area--completed .esky-card__status-grid span,
    .esky-card__status-area--completed .esky-card__status-label span {
        color: rgba(55, 130, 84, 1);
    }

    .esky-card__status-area--not-started .esky-card__status-grid span:first-child,
    .esky-card__status-area--not-started .esky-card__status-label span:first-child {
        color: #7F838B;
    }

    .esky-card__status-area--not-started .esky-card__status-grid span:last-child,
    .esky-card__status-area--not-started .esky-card__status-label span:last-child {
        color: #7F838B; 
    }

    .esky-due-date-options {
        display: flex;
        flex-direction: column;
        padding: 0px 8px;
        gap: 4px;
    }

    .esky-radio-option {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        padding: 15px 10px;
        border-radius: 8px;
        transition: background 0.2s ease;
        justify-content: space-between;
        margin: 0;
        width: 304px;
        height: 44px;
        justify-content: space-between;
        border-radius: 8px;
        padding-top: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-left: 12px;
    }

    .esky-radio-option:hover {
        background: rgba(243, 243, 249, 1);
    }

    .esky-radio-option:has(input:checked) {
        background: rgba(243, 243, 249, 1);
    }

    .esky-radio-option input[type="radio"] {
        appearance: none;
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        border: 2px solid #C8C8C8;
        border-radius: 50%;
        margin: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .esky-radio-option input[type="radio"]:is(:checked, :focus) {
        border-color: var(--main-color-navbar-link-hover, #193BFF);
        background: #FFF;
        box-shadow: inset 0 0 0 4px var(--main-color-navbar-link-hover, #193BFF) !important;
    }
    #orderModalNew .esky-radio-option input[type="radio"]:checked {
        box-shadow: inset 0 0 0 4px var(--main-color-navbar-link-hover, #193BFF) !important;
    }

    .esky-radio-option__label {
        font-size: 14px;
        color: #333;
        cursor: pointer;
        font-weight: 500;
        font-style: Medium;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0px;
    }

    .esky-view-toggle--legacy {
        display: none;
    }

    .esky-view-direct-buttons {
        display: flex;
        gap: 8px;
        background: rgba(255, 255, 255, 1);
        width: 69px;
        height: 35.5px;
        border-radius: 8px;
        border-width: 1px;
        padding: 2px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(241, 245, 249, 1);
    }
    .esky-controls-bar {
        justify-content: initial;
        gap: 20px;
    }
    .esky-card--list .esky-card__info-wrapper {
        display: flex;
        flex-direction: column;
        gap: 5px;
        max-width: 50%;
    }

    .session-card .esky-card--list .esky-card__info-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 0px;
        gap: 0px;
        flex: 1;
        min-width: 0;
        max-width: 672px;
    }

    #grid-courses .esky-card--list .esky-card__info-wrapper,
    .esky-content--courses .esky-card--list .esky-card__info-wrapper {
        min-height: 43px;
        gap: 4px;
    }

    .esky-card__meta-actions {
        margin: 0;
    }

    .esky-card--list .esky-card__meta-actions {
        gap: 20px;
    }

    .esky-card--list.esky-card--pinned, 
    .esky-card--grid.esky-card--pinned {
        background-color: rgba(249, 250, 251, 1) !important;
    }

    .esky-card--list.esky-card--pinned {
        height: 102px;
    }

    .esky-card--list .esky-card__pin-btn {
        background-color: transparent;
        border: none;
    }

    .esky-card--list .esky-card__pin-btn:hover {
        background-color: #f5f5ff;
    }

    .esky-card--list .esky-card__pin-btn.is-pinned:hover {
        background-color: color-mix(in srgb, var(--main-color-background-image) 15%, white);
    }

    .esky-card__rating {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 43px;
        height: 20px;
        border-radius: 999px;
        border-width: 1px;
        padding-top: 2px;
        padding-right: 8px;
        padding-bottom: 2px;
        padding-left: 8px;
        border: 1px solid rgba(226, 232, 240, 1);
        background: rgba(241, 245, 249, 1);
    }

    /*.session-card .esky-card__rating {
        width: 26px;
        height: 20px;
        background-color: transparent;
        border: none;
        padding: 0;
        min-width: unset;
    }*/

    .esky-card__rating span {
        color: #64748B;
        font-size: 10px;
        margin: 0;
    }

    .esky-card--grid .esky-card__rating {
        display: none;
    }

    .course-meta {
        flex-direction: column;
        gap: 12px;
        align-items: normal;
        margin: 0;
    }

    .stars-votes {
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }

    .my-courses__course-card-info span {
        font-weight: 500;
        font-size: 10px;
        line-height: 15px;
        letter-spacing: 0px;
        color: #979FAF;
    }

    .esky-card--grid .catalog-list-only {
        display: none;
    }

    .esky-card--list .catalog-grid-only {
        display: none;
    }

    /* Comentado: ya no necesario, la nueva estructura usa .catalog-grid-only */
    /* #grid-courses.esky-content--grid .catalog-card__statistics {
        display: none;
    } */

    .esky-card__title-row {
        gap: 12px;
    }

    .esky-card--grid .esky-card__title-row {
        justify-content: space-between;
    }

    .esky-card--grid .esky-card__title,
    .esky-card--list .esky-card__title {
        display: flex;
        align-items: center;
        overflow: visible;
    }

    .esky-card--grid .esky-card__title-link,
    .esky-card--list .esky-card__title-link {
        flex: 1 1 auto;
        min-width: 24px;
        min-height: 24px;
        line-height: 24px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .esky-card--grid .esky-card__description-alert.tooltip-active,
    .esky-card--list .esky-card__description-alert.tooltip-active {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    #grid-courses.esky-content--list .esky-card__title-row {
        height: 21px;
        overflow: visible;
    }

    #grid-courses.esky-content--list .esky-card__description-alert.tooltip-active {
        width: 14px;
        height: 14px;
        overflow: visible;
    }

    #grid-courses.esky-content--list .esky-card__description-alert.tooltip-active svg.esky-card__info-icon {
        width: 24px;
        height: 24px;
        padding: 5px;
        box-sizing: border-box;
        margin: -5px;
        flex: none;
    }

    #grid-courses.esky-content--list .esky-card__title {
        height: 21px;
        overflow: visible;
    }

    #grid-courses .esky-card--grid .esky-card__description-alert svg {
        width: 8px;
        height: 8px;
    }

    #grid-courses .esky-card--grid .esky-card__description-alert.tooltip-active {
        width: 8px;
        height: 8px;
        overflow: visible;
    }

    #grid-courses .esky-card--grid .esky-card__description-alert.tooltip-active svg {
        width: 24px;
        height: 24px;
        padding: 8px;
        box-sizing: border-box;
        margin: -8px;
        flex: none;
    }

    .stars--new {
        display: flex;
        gap: 1px;
    }

    .stars--legacy {
        display: none;
    }

    .stars-percent--legacy {
        display: none;
    }

    .esky-card__description-container .esky-card__description-alert {
        display: none !important;
    }

    .esky-list-header #total-courses, 
    .esky-list-header #total-sessions {
        display: flex;
        align-items: center;
        font-weight: 900;
        font-style: normal;
        font-size: 14px;
        line-height: 15px;
        letter-spacing: 1px;
        vertical-align: middle;
        text-transform: uppercase;
        color: #667085;
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .esky-list-header {
        margin: 0;
        margin: 16px 0;
    }

    #session-header {
        margin: 0;
    }

    #course-header .esky-list-header, 
    #session-header .esky-list-header {
        margin: 16px 0;
    }

    .esky-progress-circle {
        display: none;
    }

    .esky-button--text {
        font-weight: 600;
        font-style: Bold;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0px;
        text-align: center;
        text-decoration: none;
        color: var(--main-color-navbar-link-hover);
        font-weight: 600;
    }
    .esky-filter-header__title {
        font-weight: 700;
        font-style: Bold;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: -0.4px;
    }
    #grid-courses.esky-content {
        padding: 0;
        background-color: transparent;
    }

    .esky-order-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 12px;
        width: 278;
        height: 61;
        gap: 10px;
    }

    .esky-order-buttons__button {
        border: none;
        background: rgba(248, 250, 252, 1);
        height: 35px;
        padding: 8px 12px;
        min-width: 120px;
    }
    
    .esky-card--grid .esky-card__meta-actions {
        justify-content: space-between;
        align-items: center;
        /*margin-top: auto;*/
    }
    #grid-courses .esky-card--grid {
        /*padding: 15px 10px 15px 10px;*/
    }

    #grid-courses.esky-content--grid .catalog-card__item {
        display: none;
    }

    #grid-courses.esky-content--grid .esky-card__status-area {
        
    }

    #grid-courses.esky-content--grid .esky-card__status-grid {
        order: -1;
    }

    #grid-courses.esky-content--grid .esky-card__status-label {
        width: 100%;
    }

    .esky-content--courses.esky-content--grid .esky-card__pinned-badge.esky-card__status {
        left: 8px;
        right: auto;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        padding: 2px 8px;
        min-height: 19px;
        border-radius: 4px;
        font-weight: 500;
        font-size: 10px;
        line-height: 15px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: var(--main-color-background-image);
        background: rgba(33, 119, 248, 0.1);
    }
    .esky-content.esky-content--grid.esky-content--courses {
        margin: 12px 0;
    }
    .esky-controls-bar.esky-controls-bar--wrap {
        margin: 0px;
    }
    .esky-card__body {
        gap: 8px;
    }
    .esky-filter-header {
        padding: 16px 20px;
        min-height: 38px;
        margin: 0px;
    }

    .esky-button--search span {
        font-weight: 500;
        font-style: Medium;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0px;
        margin: 0px;
    }
    
    #dueDateSortModal .esky-filter-actions .esky-button--search {
        width: 100%;
    }

    .esky-filter-actions {
        padding: 8px 16px;
    }

    .esky-modal__dialog {
        gap: 0px;
        width: auto;
        max-width: 320px;
        height: 280;
        border-radius: 12px;
        padding: 0;
    }

    .esky-modal--catalog .esky-order-buttons__group {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
    }

    .esky-modal--catalog .esky-filter-header {
        padding: 0px 20px;
        min-height: initial;
    }

    .esky-modal--catalog .esky-radio-option {
        width: 278px;
        height: 40px;
        justify-content: space-between;
        border-radius: 8px;
        padding: 15px 10px;
    }

    .esky-modal--catalog .esky-due-date-options {
        padding: 0px 16px;
    }

    .esky-modal--catalog .esky-order-buttons {
        margin: 0px 12px;
        align-items: initial;
    }

    .esky-modal--catalog .esky-order-buttons__title {
        font-weight: 500;
        font-style: Medium;
        font-size: 10px;
        line-height: 15px;
        letter-spacing: 0.5px;
        padding: 0 8px;
        margin: 0;
        text-transform: uppercase;
        color: rgba(151, 159, 175, 1);
    }

    .esky-modal--catalog .esky-order-buttons__button {
        height: 28px;
        width: 135px;
    }

    .esky-modal--catalog .esky-order-buttons__button span {
        font-weight: 700;
        font-style: Bold;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0px;
        text-align: center;
        margin: 0;
    }

    .esky-modal--catalog .esky-button--search {
        height: 38px;
    }

    .esky-modal__dialog {
        padding: 10px 0;
        gap: 10px;
    }

    .esky-modal--catalog .esky-button--clear {
        width: 134px;
    }

    .esky-modal--catalog .esky-button--search {
        width: 134px;
    }

    .esky-modal--catalog .esky-filter-actions span {
        font-weight: 700;
        font-style: Bold;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0px;
        text-align: center;
        margin: 0;
    }

    .esky-modal--catalog .esky-filter-actions {
        padding: 0px 16px;
    }

    .esky-modal--catalog .esky-modal__dialog {
        height: 446px;
    }
    
    .esky-button--primary:hover {
        background: var(--main-color-background-image);
    }
    .esky-card--grid .esky-card__title {
        font-weight: 700;
        font-style: Bold;
        font-size: 13px;
        line-height: 16.25px;
        letter-spacing: 0px;
    }
    
    .esky-card__pin-btn {
        width: 27px;
        height: 33px;
        border-radius: 8px;
        border-width: 1px;
        padding: 8px;
    }

    .session-card .esky-card--list .esky-card__body {
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        min-width: 0;
        padding: 0px;
    }

    .session-card .esky-card--list .esky-card__title {
        display: flex;
        align-items: center;
        height: 20px;
    }

    .session-card .esky-card__rating {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: 0;
        height: 20px;
        flex: none;
    }

    .session-card .esky-card__rating span {
        display: flex;
        align-items: center;
        gap: 2px;
        font-weight: 500;
        font-size: 11px;
        line-height: 20px;
        color: #444750;
    }

    .session-card .esky-card__description-container {
        min-height: 17px;
        height: auto;
        width: 100%;
    }

    .session-card .esky-card__description {
        font-weight: 400;
        font-size: 11px;
        line-height: 16px;
        color: #444750;
    }

    .session-card .esky-card--list .esky-card__action-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        flex: none;
        width: 349px;
        max-width: 100%;
        min-height: 44px;
        height: auto;
    }

    .session-card .esky-card__status-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px;
        gap: 4px;
        width: 200px;
        height: 44px;
        flex: none;
    }

    .session-card .esky-card__status-progress-label {
        display: flex;
        align-items: center;
        width: 200px;
        height: 15px;
        margin: 0px;
        font-weight: 700;
        font-size: 10px;
        line-height: 15px;
        color: #444750;
        flex: none;
    }

    .session-card .esky-card__progress {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 0px;
        min-width: 0;
        width: 160px;
        height: 6px;
        flex: none;
    }

    .session-card .esky-card__progress-bar {
        width: 160px;
        height: 6px;
        border-radius: 9999px;
    }

    .session-card .esky-card__status-row:has(.esky-card__status-label--completed) .esky-card__progress-bar {
        background: #F1F5F9 !important;
    }

    .session-card .esky-card__status-row:has(.esky-card__status-label--in-progress) .esky-card__progress-bar {
        background: #DADADA !important;
    }

    .session-card .esky-card__status-row:has(.esky-card__status-label--not-started) .esky-card__progress-bar {
        background: #6C7079 !important;
    }

    .session-card .esky-card__progress-fill {
        border-radius: 9999px;
    }

    .session-card .esky-card__status-label {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 0px;
        width: 200px;
        min-width: 0;
        height: 15px;
        flex: none;
    }

    .session-card .esky-card__status-label span {
        display: flex;
        align-items: center;
        height: 15px;
        font-weight: 500;
        font-size: 10px;
        line-height: 15px;
    }

    .session-card .esky-card__status-label--completed span {
        color: #34734D;
    }

    .session-card .esky-card__status-label--not-started span {
        color: #6C7079;
    }

    .session-card .esky-card--list .esky-button-mycourses {
        width: auto;
        min-width: 80px;
        height: 30px;
        padding: 0px 16px;
        line-height: 16px;
        text-align: center;
        white-space: nowrap;
        justify-content: center;
        flex: none;
    }

    .session-card .esky-button--primary {
        background: var(--main-color-background-image);
        border-color: var(--main-color-background-image);
        color: #FFFFFF;
    }

    .session-card .esky-button--secondary {
        background: transparent;
        border: 1px solid var(--main-color-background-image);
        color: var(--main-color-background-image);
    }

    .esky-content--list {
        gap: 14px;
    }
}

@media (min-width: 600px) and (min-height: 600px) and (max-width: 1400px) {
    .esky-card--list .esky-card__info-wrapper {
        max-width: 40%;
    }
}

@media (min-width: 600px) and (min-height: 600px) and (max-width: 1199px) {
    .esky-card--list .esky-card__action-bar {
        gap: 80px;
    }
    .esky-content--sessions .esky-card--list {
        
    }
    .esky-card__progress {
        min-width: 160px;
    }
    .esky-card--list .esky-card__info-wrapper {
        max-width: 35%;
    }
    #wrapper:not(.toggled) .esky-card--list .esky-card__action-bar {
        gap: 25px;
    }
}

@media (min-width: 600px) and (min-height: 600px) and (max-width: 1030px) {
    #wrapper:not(.toggled) .esky-card--list .esky-card__status-row {
        display: none;
    }
    #wrapper:not(.toggled) #grid-courses .esky-card--list .esky-card__status-area {
        display: none;
    }
    #wrapper:not(.toggled) .esky-card--list .esky-card__info-wrapper {
        max-width: 60%;
    }
    .esky-card--list .esky-card__action-bar {
        gap: 30px;
    }
}

@media (min-width: 600px) and (min-height: 600px) and (max-width: 880px) {
    .esky-card--list .esky-card__status-row {
        display: none;
    }
    #grid-courses .esky-card--list .esky-card__status-area {
        display: none;
    }
    #wrapper.toggled .esky-card--list .esky-card__info-wrapper {
        max-width: 60%;
    }
}

/* ===== Hide or Restyle Elements for the Desktop and Tablet Layout ===== */
@media (max-width: 599px), (max-height: 599px) {
    .esky-card__info-wrapper {
        max-width: none;
    }

    .esky-card__action-bar {
        display: flex;
        flex-direction: column;
        align-items: normal;
        gap: 8px;
    }

    .esky-card--list .esky-card__action-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .esky-card--list .catalog-card__statistics,
    .esky-card--list .stars-votes {
        order: 2;
    }
    .esky-card--list .esky-card__status-area,
    .esky-card--list .esky-card__status-row {
        order: 1;
        flex-basis: 100%;
    }
    .esky-card--list .esky-card__meta-actions {
        order: 3;
        margin-left: auto;
    }
    .esky-card--list .esky-button--full-width {
        width: auto;
        display: inline-block;
    }

    .esky-card__status-label,
    .esky-card__status-grid,
    .esky-view-direct-buttons,
    .esky-due-date-options,
    .esky-radio-option {
        display: none !important;
    }
    .esky-card__progress-indicator {
        display: flex;
    }
    .esky-card__pin-btn {
        display: none;
    }

    .esky-icon-button__icon--new {
        display: none;
    }

    .esky-icon-button__label {
        display: none;
    }

    .stars--new {
        display: none;
    }

    .stars-percent--new {
        display: none;
    }

    .esky-card__pinned-badge {
        display: none;
    }

    .esky-card__info-wrapper {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .esky-card__status-progress-label {
        display: none;
    }

    .esky-card__title-row .esky-card__description-alert {
        display: none !important;
    }

    .esky-card__rating {
        display: none;
    }

    .esky-card__description-container.tooltip-active {
        pointer-events: auto;
        cursor: pointer;
    }
    #session-header .esky-search {
        display: none;
    }
    .esky-view-popup .esky-view-popup__option--current-view {
        background: var(--main-color-navbar-link-hover);
        color: white;
    }
}

/* ================================================================
   Responsive scale — announcement system
   (my_announcements.php, configure_announcement.php,
    configure_reminders.php, the esky date/time pickers)

   ONE set of breakpoints for every screen and component of the system,
   so nothing switches to its phone layout at a different width than the
   rest of the page:

     Phone     max-width: 767px   (stacked layout, compact spacing,
                                   pickers/selectors as centred modals)
     Tablet    768px – 1023px     (desktop layout, compact)
     Desktop   min-width: 1024px  (full layout)

   Use only these: @media (max-width: 767px), (min-width: 768px),
   (max-width: 1023px), (min-width: 1024px). 768 is also Bootstrap's and
   the theme's own tablet edge. The JS side reads the same phone edge from
   esky-components.js. Mouse vs touch is a separate condition, not another
   width: e.g. a picker anchors to its field only from 768px up AND with a
   real mouse, so a 1024px touch tablet still gets the modal.

   Not part of the scale: `max-width: 820px` below mirrors the THEME's
   mobile shell (default.css, sidebar -> hamburger) and only fixes side
   effects of it. Older content-specific cuts still in this system (530,
   700, 1100, 1250px) are to be moved onto the scale when those screens
   are reviewed.
   ================================================================ */

/* ================================================================
   Block: announcements
   Page: my_announcements.php – platform + session announcements

   Design: Figma "LMS Face-lift". Tokens below are grown per component
   as each area is inspected against the design.
   ================================================================ */

:root {
    --esky-announcements-surface:        #f5f6f8;   /* page / module background */
    --esky-announcements-border:         #e5e7eb;   /* Figma: General/Stroke */
    --esky-announcements-radius:         12px;
    --esky-announcements-section-gap:    12px;      /* between header / tabs / panel */
    --esky-announcements-pad:            16px;      /* module container padding */
    --esky-announcements-text-primary:   #1d2939;   /* Figma v2: Font Color/titles — titles and message text */
    --esky-announcements-text-secondary: #424754;   /* subtitle */
    --esky-announcements-label:          #444750;   /* Figma: Font Color/sucondary-color-text — field and group labels (#1016 D25b) */
    --esky-announcements-text-muted:     rgba(0, 0, 0, 0.55);  /* Figma: Navbar-link-default — breadcrumb */
    --esky-announcements-accent:         var(--main-color-background-image);
    --esky-announcements-accent-hover:   color-mix(in srgb, var(--main-color-background-image) 85%, black);

    /* Shared tokens for the whole module (announcements, session reminders,
       their forms and dialogs). One value per role — the --ea-* / --er-*
       sets point here instead of repeating it. Spec: #1016
       COMPONENTES.md. */
    /* Client colour: as-is for non-text (fills, underlines, icons, focus —
       3:1), darkened for text (4.5:1). */
    --esky-announcements-accent-text:    var(--esky-announcements-accent-hover);
    /* Figma "Client Colors/hover client": the client colour, very light. */
    --esky-announcements-accent-soft:    color-mix(in srgb, var(--main-color-background-image) 8%, white);
    --esky-announcements-danger:         #af1c02;   /* Figma: status/overdue-aa */
    --esky-announcements-success:        #34734d;   /* Figma: status/completed-aa — fixed, never the client colour */
    /* Neutral pill (#1016, 28/10): a rounded label for a quiet state —
       View Log "Unread" on phones today; the tables' phone "Partial" status
       has the same shape. Text in the secondary grey: 8.47:1 on this fill
       (the earlier #64748B was 4.34:1, under WCAG 1.4.3). */
    --esky-announcements-pill-neutral-bg:   #f1f5f9;
    --esky-announcements-pill-neutral-text: var(--esky-announcements-label);
    /* Borders, one token per role (#1016 D30). Figma draws cards, dividers
       and fields with the same strock grey; a control's border is what tells
       it apart (WCAG 1.4.11: 3:1), so controls — fields, search boxes,
       checkboxes, radios, the pager — take that same neutral grey darkened
       only to the minimum: #8E8E8E is 3.28:1 on white and 3.03:1 on the
       page grey. Cards, panels, dialogs and dividers are decorative and
       keep Figma's strock. */
    --esky-announcements-control-border: #8e8e8e;
    /* A control on a tinted box (the test-email box, client colour at 8%):
       #8E8E8E falls to 2.96:1 there (2.75:1 with a black client), so it
       takes the darker grey D27 had, 4.17:1 or more on any tint (#1016). */
    --esky-announcements-control-border-on-tint: #667085;
    --esky-announcements-divider:        #d6d6d6;   /* Figma: strock-color/strock */
    /* Neutral secondary buttons (Cancel, Draft, Clear — #1016 D29): Figma's
       strock border (its own token, so a change here leaves cards and
       panels alone) and the titles colour for the label. */
    --esky-announcements-btn-secondary-border: var(--esky-announcements-divider);
    --esky-announcements-btn-secondary-text:   var(--esky-announcements-text-primary);
    --esky-announcements-placeholder:    #667085;   /* Figma: Font Color/input text */
    /* Same Figma variable, its own role: the tables' quiet statuses
       (Expired, "N/M Delivered"), so a placeholder change leaves them be. */
    --esky-announcements-status-neutral: #667085;
    --esky-announcements-surface-muted:  #eaecf0;   /* table head, dialog head/foot */
    --esky-announcements-radius-sm:      8px;       /* controls and buttons */
    --esky-announcements-shadow-panel:
        0 7px 7px -5px rgba(0, 0, 0, 0.04),
        0 10px 15px -5px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.05);
    /* Hover of everything white or unfilled — icon buttons, list options,
       white secondary buttons, calendar days, page numbers, filter chips
       (#1016 D31): one translucent dark layer, so it darkens white and grey
       backgrounds alike (≈ #F1F2F3 on white). */
    --esky-announcements-hover-overlay: rgba(29, 41, 57, 0.06);
    /* Hover of a row you pick by clicking it — a checkbox, radio or list
       option (#1016 D31). The client colour at 5%: the strongest tint that
       keeps an empty box's control border at 3:1 on it (1.4.11) for any
       client colour tested; empty boxes are see-through. */
    --esky-announcements-hover-select: color-mix(in srgb, var(--main-color-background-image) 5%, white);
    /* Hover of a table row (#1016 D31): only helps follow the row to its ⋮,
       the row isn't clickable. The client colour at 4%, a touch under the
       selectable rows: at 5% the grey "Expired" fell to 4.44:1 with a black
       client colour; at 4% it keeps 4.5:1 (1.4.3) for any client colour. */
    --esky-announcements-hover-row: color-mix(in srgb, var(--main-color-background-image) 4%, white);
    --esky-announcements-shadow-card:    0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --esky-announcements-shadow-dialog:
        0 8px 10px -6px rgba(0, 0, 0, 0.1),
        0 20px 25px -5px rgba(0, 0, 0, 0.1);
    /* Dialog frame (#1016 D4/D13): head and foot bars, close button. */
    --esky-announcements-dialog-bar-height: 75px;
    --esky-announcements-dialog-close-size: 40px;
    --esky-announcements-dialog-close-icon: 14px;
    --esky-announcements-dialog-close-radius: 12px; /* Figma v2: 12 in all 4 close buttons */
    --esky-announcements-dialog-bar-padding-x: 24px; /* Figma v2: 24 each side of the head bar */
    /* Search boxes (#1016, 28/10): one look for the four (My Updates, View
       Log, Session Selection, Assign to Class); D10 sets 40 tall, radius 8. */
    --esky-announcements-search-icon-size: 18px;
    --esky-announcements-search-padding-x: 12px;
    --esky-announcements-search-gap:       8px;
    /* Button scale (#1016 D3): large = page actions, medium = dialogs and
       panels, small = date/time pickers. Every button text is bold. */
    --esky-announcements-btn-lg-height:  46.5px;
    --esky-announcements-btn-lg-font:    14px;
    --esky-announcements-btn-md-height:  40px;
    --esky-announcements-btn-md-font:    14px;
    --esky-announcements-btn-sm-height:  30px;
    --esky-announcements-btn-sm-font:    12px;
    --esky-announcements-btn-weight:     700;
    /* Helper text under a field, in both forms (Create Announcement and
       Create Session Reminder): hints, notes and the dynamic-variables
       hint. 12/16 like Create Announcement's card subtitles; Figma had
       11/14, raised to 12 for both forms as agreed with the PM (#1016). */
    --esky-announcements-hint-font:      12px;
    --esky-announcements-hint-line:      16px;

    /* Height of the platform top bar above the module (measured: 63px, 60px
       from 820px down — same breakpoint as top-bar.css). Only used to let the
       module fill the viewport, so an empty tab can stretch to the bottom. */
    --esky-topbar-h:                     63px;
}

@media (max-width: 820px) {
    :root {
        --esky-topbar-h: 60px;
    }
}

/* Figma "Table" (2832:9052, the module body): vertical, top-left, gap 12,
   padding 16 on every device, #F5F6F8 — same container as the Session
   Reminder and Announcement forms (.esky-reminder / .esky-announcement).
   Figma's absolute position, fixed 1506 x 742.67 and overflow-y: scroll
   describe the mock's artboard, not the page. */
.esky-announcements {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--esky-announcements-section-gap);
    /* Fluid: fills the Bootstrap content column at any sidebar state / screen
       width. The Figma frame is 1474px because that is the column width at the
       reference viewport (≈1680) with the sidebar expanded (206px) — a
       descriptive value, not a cap. */
    width: 100%;
    /* Fill the viewport under the top bar (border-box, so the padding is
       inside it): the active panel then absorbs the leftover height and an
       empty state can stretch down without measuring anything. */
    min-height: calc(100vh - var(--esky-topbar-h));
    min-height: calc(100dvh - var(--esky-topbar-h));
    margin: 0;
    padding: var(--esky-announcements-pad);
    background: var(--esky-announcements-surface);
    font-family: var(--font-primary), sans-serif;
    font-size: 16px;
}

/* Header, tabs and panels are "Fill" width in Figma. */
.esky-announcements > * {
    align-self: stretch;
}

/* ── Page header: breadcrumb + title / subtitle ──────────────────
   Shared by the Announcements module (my_announcements.php) and the
   Session Reminder form (configure_reminders.php) so the two pages read
   identically — navigate from one to the other and back, and the spacing,
   sizing and colours are the same. Figma frames: "Two-links/Default",
   "Link", "Frame 1597882927", "Frame 2147224283". ── */

.esky-page-header {
    /* Figma: 12px between the breadcrumb and the title block. */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.esky-page-header__breadcrumb {
    /* Figma "Two-links/Default": horizontal auto layout, items aligned to the
       top, no padding, 8px gap. Hugs its content (Figma's 337 x 26 is the hug
       size: height = 16px x 160%), so no fixed width/height. "Inside auto
       layout": flex none — never grows or shrinks in the header column;
       align-self keeps it from stretching across the column. */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-self: flex-start;
    flex: none;
    order: 0;
    /* On narrow screens the current step drops to a second line instead of
       widening the page (WCAG 1.4.10 at 320px; #1016, 28/10). */
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0;
    gap: 0 8px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.55);
}

.esky-page-header__breadcrumb-link {
    /* Figma "Link": horizontal auto layout, top-aligned, no padding, 10px
       gap, hugs its text (Figma's 117 x 26 is the hug size), flex none inside
       the breadcrumb. Its text is "Link/Primary/Base" (Paragraph/standard):
       Roboto 400 (inherited), 16px, 160% line height, Navbar-link-default
       (rgba(0,0,0,.55): 4.6:1 on the page). No underline — ever,
       hover included — so it doesn't read as a generic <a>. */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: none;
    order: 0;
    padding: 0;
    gap: 10px;
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--esky-announcements-text-muted);
    text-decoration: none;
    cursor: pointer;
}

.esky-page-header__breadcrumb-link:hover,
.esky-page-header__breadcrumb-link:focus {
    /* Override the platform's global a:hover (underline + #23527c). */
    color: var(--esky-announcements-text-muted);
    text-decoration: none;
}

.esky-page-header__breadcrumb-sep {
    /* Figma "/": a 9 x 26 slot (Paragraph/standard: 400, 16px, 160% line
       height, #667085) holding the 7 x 8 chevron, which paints in
       currentColor. Height comes from stretching to the text line (16px x
       160%) rather than a fixed 26px, so the row hugs the text exactly (no
       stray sub-pixel); the chevron is centred inside. flex none: never
       grows or shrinks. */
    display: inline-flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 9px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--esky-announcements-text-muted);
}

.esky-page-header__breadcrumb-sep svg {
    display: block;
    width: 7px;
    height: 8px;
}

.esky-page-header__breadcrumb-current {
    /* Figma "Link" (current page): horizontal auto layout, top-aligned, no
       padding, 10px gap, hugs its text (Figma's 195 x 26 is the hug size),
       flex none. Its text is "Link/Primary/Base": Roboto 400 (inherited),
       16px, 160% line height, 0 letter spacing, Primary (#1864AB in Figma) —
       uses the system's primary colour so it follows the client theme. */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 0 1 auto;   /* may shrink and wrap: see the breadcrumb row */
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 0;
    gap: 10px;
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--esky-announcements-accent-text);
}

.esky-page-header__breadcrumb-current:only-child {
    /* A lone breadcrumb item is just the section label, not a "you are here"
       in a trail — keep it grey. */
    color: rgba(0, 0, 0, 0.55);
}

.esky-page-header__row {
    /* Figma "Frame 1597882927": horizontal auto layout, centred, 8px gap.
       Fills the header's width (align-self stretch; Figma's 1474 px is that
       width) and hugs its height; flex none inside the header column. Holds
       the title block and (when present) the header action, pushed apart.
       No padding: Figma exports "padding: 10px 0", but the frame has a fixed
       59px height, so the 56px text block overflows it and the padding never
       shows — the title sits right under the breadcrumb's 12px gap. With a
       hugging row that padding would add ~10px above and below. */
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    flex: none;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}

.esky-page-header__text {
    /* Figma "Frame 2147224283": vertical auto layout, left-aligned, no
       padding, 8px between title and subtitle. Hugs its content (Figma's
       668 x 56 is the hug size) and is flex none inside the row. max-width
       keeps a long title/subtitle wrapping inside the row instead of
       overflowing it, since flex none never shrinks. */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    max-width: 100%;
    padding: 0;
    gap: 8px;
}

/* Tablet / desktop: when the row runs short the header action keeps its
   place on the right (it's the page's main action) and the text gives way —
   the subtitle wraps — instead of the button dropping under the text. Figma
   only draws the wide layout (text left, action right); phones have their
   own fixed header below. */
@media (min-width: 768px) {
    .esky-page-header__row {
        flex-wrap: nowrap;
    }

    .esky-page-header__text {
        flex: 1 1 0;
        min-width: 0;
    }

    .esky-page-header__row > .esky-announcements__create-btn {
        flex: none;
    }
}

.esky-page-header__title {
    /* Figma "Create New Announcement": Roboto 700 (inherited), 24px, 28px
       line height, 0 letter spacing, optical size 24, General/Primary
       (#1D2939). Hugs its text (Figma's 295 x 28 is the hug size), flex none
       inside the text block. Figma wraps it in two single-child row frames
       (2147223309, 2147223223); with one child their gaps do nothing, so the
       h1 carries the styles directly. */
    flex: none;
    margin: 0;
    font-style: normal;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    font-variation-settings: 'opsz' 24;
    color: #1d2939;
}

.esky-page-header__subtitle {
    /* Figma subtitle text: Roboto 400 (inherited), 14px, 20px line height,
       0 letter spacing, optical size 14, #424754; flex, vertically centred.
       Hugs its text (Figma's 668 x 20 is the hug size), flex none inside the
       text block. */
    display: flex;
    align-items: center;
    flex: none;
    margin: 0;
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    font-variation-settings: 'opsz' 14;
    color: var(--esky-announcements-label);   /* Figma v2 sucondary-color-text (it was #424754) */
}

/* (The Session Reminder form spaces its header, form and footer with the
   16px gap on .esky-reminder itself — Figma "Table".) */

/* ── Create button (per active tab; admin roles only) ────────── */

.esky-announcements__create-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Figma: width Hug (fits the label — differs per tab), height Fixed 46.5px */
    height: var(--esky-announcements-btn-lg-height);
    padding: 8px 24px;
    background: var(--esky-announcements-accent);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    /* Figma: Roboto 700 · 14px · line-height 20px */
    font-size: var(--esky-announcements-btn-lg-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background 0.15s;
}

.esky-announcements__create-btn:hover {
    background: var(--esky-announcements-accent-hover);
    color: #ffffff;
    text-decoration: none;
}

/* Focus policy of the system: nothing on click/tap (it no longer takes the
   hover shade and keeps it), the module's focus ring (#1016 D28) only for keyboard focus
   instead of the browser's outline. */
.esky-announcements__create-btn:focus {
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

.esky-announcements__create-btn:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: keep the darker fill from sticking
   after a tap. */
@media (hover: none) {
    .esky-announcements__create-btn:hover {
        background: var(--esky-announcements-accent);
    }
}

/* Figma "Container" > "Icon": the 10.5 plus, never shrinks; may paint past
   its box so its edges aren't clipped. */
.esky-announcements__create-btn svg {
    flex: none;
    overflow: visible;
}

/* ── Tabs ────────────────────────────────────────────────────── */

.esky-announcements__tabs {
    /* Figma "Tabs": Horizontal, width Fill, 1px divider below.
       No gap (#1016 D1) — tabs touch so the whole strip is one continuous
       click surface (a gap would leave dead un-clickable space between
       tabs). Separation comes from each tab's 24px horizontal padding + the
       active underline. */
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--esky-announcements-divider);
    max-width: 100%;
    min-width: 0;
}

.esky-announcements__tab {
    position: relative;
    /* Figma tab "Button" (#1016 D1): height 55px, 24px horizontal padding
       (also the click target), 8px gap (label ↔ unread counter), 3px bottom border
       (client colour when active, transparent otherwise). Label: Roboto
       14/20 — inactive weight 500 #444750, active 700 (below); size stays
       put. Vertical centering comes from the fixed height. */
    box-sizing: border-box;
    height: 55px;
    padding: 17.5px 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #444750;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    overflow: visible;
    /* Figma "Module Tabs": the 55px tabs sit ON the strip's 1px line (56
       total) — the active 2px underline lies above it, not over it. */
    margin-bottom: 0;
    cursor: pointer;
    transition: color 0.18s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Only inactive tabs get a hover cue — the active tab is already the current
   state, so hovering it should not restyle it. GitLab-style (#1016 D31):
   the label keeps its colour and a grey underline (the control grey)
   previews where a click goes; green stays reserved for the active tab. */
.esky-announcements__tab:not(.esky-announcements__tab--active):hover {
    border-bottom-color: var(--esky-announcements-control-border);
    text-decoration: none;
}

.esky-announcements__tab--active {
    /* Active tab: label 700 in the client colour darkened for text, the
       3px underline in the client colour (#1016 D1, D21). */
    color: var(--esky-announcements-accent-text);
    font-weight: 700;
    padding: 16px 24px;
    border-bottom: 3px solid var(--esky-announcements-accent);
}

/* Section icon (megaphone / bell / inbox, shared with the empty states via
   section_icon.tpl): hidden on tablet/desktop, where the tab shows its label
   + (i). On phones it replaces them — see the phone block below. */
.esky-announcements__tab-icon {
    display: none;
    flex: none;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
}

.esky-announcements__tab-icon svg {
    display: block;
    overflow: visible;
}

/* Invisible bridge over the 6px gap, so the pointer can travel from the
   (i) onto the bubble without leaving the hover area (1.4.13). */
.esky-announcements__visibility-tooltip::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 7px;
}

/* Esc dismisses an open tooltip until the pointer or focus leaves (1.4.13;
   the class is set by my_home.tpl). */
.esky-announcements__tooltip-anchor--dismissed .esky-announcements__visibility-tooltip {
    display: none !important;
}

.esky-announcements__visibility-info--left .esky-announcements__visibility-tooltip::after {
    right: auto;
    left: 100%;
}

/* Unread-updates counter — only the "My Updates" tab carries one (Figma).
   Fixed 16px circle, Roboto 700 10px white on #AF1C02 — same red as the
   card dot (.esky-announcements__card-unread-indicator) and the sidebar
   badge (top-bar.css), unified across all three per Figma's "Ellipse 9". */
.esky-announcements__tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    background: #af1c02;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* ── Tab panels ──────────────────────────────────────────────── */

.esky-announcements__panel {
    display: none;
}

.esky-announcements__panel--active {
    /* Column + flex-grow so whatever it holds can take the leftover height
       (see .esky-announcements__empty). Tables keep their natural height. */
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

/* The two table panels are the box the tables measure (#1016 A-01, the
   Pajamas table rule): the table shows when it fits in the panel, and the
   cards take over when it doesn't — with the side menu open or closed,
   not only on phones. See the @container esky-table rules below. */
#announcements-panel-system,
#announcements-panel-campaigns {
    container: esky-table / inline-size;
}

/* Figma "Table Card Container" (shared by the admin + learner My Updates
   views): vertical, fills the width, 32px between the search + filters block
   ("Margin") and the cards list ("Container"). */
#announcements-panel-my-updates.esky-announcements__panel--active {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── My Updates: search + filter chips ──────────────────────────── */

.esky-announcements__updates-row {
    /* Figma "Filter Bar": horizontal, fills the width, 12px padding, white
       with the strock border (#1016 U1: it was a 5% line, barely there),
       hugs to 66px. space-between pushes Sort to the far right of the
       fields cluster (the fields themselves stay hugged together via their
       own gap, not spread out by this one). */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid var(--esky-announcements-divider);
    border-radius: 8px;
}

.esky-announcements__updates-fields {
    /* Figma "Container": horizontal, hugs its content, 12px between the
       search field and each chip. Wraps the two existing id'd groups below
       (kept intact — the instant-search JS bails out if #my-updates-filters
       disappears) so they read as one continuous row. */
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 12px;
}

/* Figma "Container": vertical, full width, hugs, 16px between cards. */
#my-updates-list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 16px;
}

.esky-announcements__updates-search-group {
    /* Figma: the search field sits directly in the flat "Container" row
       (see .esky-announcements__updates-fields) alongside the All chip —
       this group is kept only so #my-updates-filters (below) stays intact
       for the instant-search JS; 12px matches that row's own gap. */
    display: flex;
    flex: none;
    align-items: center;
    width: 311px;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
}

/* Two classes on purpose: the shared .esky-search base (and other
   features' generic .esky-search rules — e.g. a catalog one that forces
   min-width: 380px from 600px up) must never resize this instance; a
   single class lost to them whenever they came later in the file. */
.esky-search.esky-announcements__updates-search {
    /* Figma "Frame 216": fixed 311px, 12px padding all sides, 8px icon↔text
       gap (the shared .esky-search base class already lays this out as a
       true flex row — only the sizing/colour tokens below are Figma-specific
       to this instance), 8px radius, 1px control border (#1016 D11) on
       white. Fixed 40px border-box height, like every field (#1016 D10). */
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 40px;   /* #1016 D10: every field is 40px */
    box-sizing: border-box;
    padding: 11px;   /* + its 1px border = the 12px search padding */
    gap: var(--esky-announcements-search-gap);
    border: 1px solid var(--esky-announcements-control-border);
    border-radius: 8px;
    background: #ffffff;
}

.esky-announcements__updates-search:focus-within {
    border-color: #8c8c8c;
}

.esky-announcements__updates-search .esky-search__icon {
    /* Figma "material-symbols:search-rounded": 18x18, Font Color/input text
       (the placeholder grey). The module's search-box reference. */
    width: var(--esky-announcements-search-icon-size);
    height: var(--esky-announcements-search-icon-size);
    color: var(--esky-announcements-placeholder);
}

.esky-announcements__updates-search .esky-search__input {
    /* Figma "Search Announcements/Reminders" text: Roboto 500, 12px/14px,
       #667085 (placeholder same colour, full opacity — Figma shows no
       fade on this one). */
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    /* Typed text in the ink of the other search fields (View Log), so it
       doesn't read as the hint. */
    color: #1d2939;
}

.esky-announcements__updates-search .esky-search__input::placeholder {
    color: var(--esky-announcements-placeholder);
    opacity: 1;
}

.esky-announcements__updates-filters {
    /* Figma: continues the same flat "Container" row — 12px gap to match. */
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    gap: 12px;
}

.esky-announcements__chip {
    /* Figma "Button" (resting — Announcement/Session Reminder/Read/Unread):
       no fill or border, 40px tall, 0/20 padding (hugs to each label's own
       width), Roboto 500 14px/20px, centred. Label in Figma v2's
       Font Color/titles (#1D2939; it was the earlier Figma's #101C2C). */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 40px;
    padding: 0 20px;
    border: 1px solid #d6d6d6;
    border-radius: 9999px;
    background: transparent;
    color: var(--esky-announcements-text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.esky-announcements__chip:hover {
    /* Resting chip: only a faint ground tint on hover, label colour unchanged
       (Figma shows no hover state). */
    background: var(--esky-announcements-hover-overlay);
    color: var(--esky-announcements-text-primary);
    text-decoration: none;
}

/* Focus policy of the system: nothing on click/tap (a clicked chip used to
   stay tinted), the module's focus ring (#1016 D28) only for keyboard focus. */
.esky-announcements__chip:focus {
    outline: none;
    color: var(--esky-announcements-text-primary);
    text-decoration: none;
}

.esky-announcements__chip:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: keep the tint from sticking. */
@media (hover: none) {
    .esky-announcements__chip:hover {
        background: transparent;
    }
}

.esky-announcements__chip--active,
.esky-announcements__chip--active:hover,
.esky-announcements__chip--active:focus {
    /* Figma "All" (selected): a 3px ring in the primary (Figma's blue), no
       fill. The label keeps the other chips' type (500 14/20 in
       Font Color/titles — the majority; Figma's 700 13px #444750 on "All"
       is the odd one out), and
       the ring is 1px border + 2px inset shadow, so a chip doesn't grow
       10px and shove its neighbours when it becomes active. */
    border-color: var(--main-color-background-image);
    box-shadow: inset 0 0 0 2px var(--main-color-background-image);
    background: transparent;
    color: var(--esky-announcements-text-primary);
    text-decoration: none;
}

.esky-announcements__chip--active:focus-visible {
    box-shadow: inset 0 0 0 2px var(--main-color-background-image);
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* My Updates "Sort" modal — Figma "Background+Border+Shadow" (outer card):
   320px wide, vertical auto-layout, white, on the shared panel frame
   (#1016 D5: 16 padding and gap, divider border, radius 12, the panel
   shadow; Figma's 20/20 and 0 8 12 shadow were the other half). Figma's 446px height is a min-height until the options inside
   show whether it's fixed or hugs them; the frame's left/top are canvas
   coordinates, not layout, and the backdrop's margin:auto centres it. */
.esky-sort-modal {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 16px;   /* #1016 D5 */
    /* Figma 320, narrowing on the smallest phones (the backdrop keeps 24
       each side: 272 at 320px) instead of running off-screen. */
    width: 100%;
    max-width: 320px;
    /* Never taller than the visible area (dvh: the phone's address bar may
       be showing); scrolls inside only on very short screens. */
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    margin: auto;
    /* Shared panel frame (#1016 D5): 16 in from the outer edge (15 + the
       1px border), divider border, radius 12, the panel shadow. */
    padding: 15px;
    background: #ffffff;
    border: 1px solid var(--esky-announcements-divider);
    border-radius: var(--esky-announcements-radius);
    box-shadow: var(--esky-announcements-shadow-panel);
}

.esky-sort-modal {
    font-family: "Roboto", sans-serif;
}

/* "Sort by" heading: the panel title of the majority (#1016 D5) —
   Roboto 500 16/24 #1D2939, full width. */
.esky-sort-modal__title {
    align-self: stretch;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #1d2939;
}

/* Native radios stay in the DOM (keyboard + screen readers + a value for
   the later sort logic) but are visually replaced by the Figma shapes. */
.esky-sort-modal__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

/* Field options: vertical list, 4px between rows. */
.esky-sort-modal__options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 4px;
}

.esky-sort-modal__option {
    position: relative;
    display: block;
    align-self: stretch;
    margin: 0; /* the theme gives every <label> a bottom margin */
    cursor: pointer;
}

/* Hover: the selectable-row tint (#1016 D31), as the form's checkbox rows. */
.esky-sort-modal__option:hover .esky-sort-modal__option-body {
    background: var(--esky-announcements-hover-select);
}

/* Figma row: 40px, 10px padding, label left / radio right, 8px radius.
   Label Roboto 500 14/20 in Font Color/input text in both states (#1016
   D17: Figma's "Date" #475467 had no variable). Selected: #FBFCFD ground,
   1px rgba(0,0,0,.05) edge (inset shadow so both states stay 40px) and the
   filled radio — the choice never relies on the text colour (1.4.1). */
.esky-sort-modal__option-body {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--esky-announcements-placeholder);
}

.esky-sort-modal__input:checked + .esky-sort-modal__option-body {
    background: #fbfcfd;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.esky-sort-modal__input:focus-visible + .esky-sort-modal__option-body,
.esky-sort-modal__input:focus-visible + .esky-sort-modal__segment-body {
    /* The module's keyboard-only focus ring (#1016 D28). */
    outline-offset: 0;
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Figma "Border" (unselected): 20px circle, 2px rgba(60,60,67,.6) ring. */
.esky-sort-modal__radio {
    position: relative;
    box-sizing: border-box;
    flex: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--esky-announcements-control-border);
    border-radius: 9999px;
}

/* Figma "Check" (selected): 20px #193BFF disc (1.5px #193BFF edge) with a
   10px white dot (1.5px #193BFF edge) centred inside. */
.esky-sort-modal__input:checked + .esky-sort-modal__option-body .esky-sort-modal__radio {
    border: 1.5px solid var(--esky-announcements-accent);
    background: var(--esky-announcements-accent);
}

.esky-sort-modal__input:checked + .esky-sort-modal__option-body .esky-sort-modal__radio::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--esky-announcements-accent);
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

/* ORDER group: label + segmented control, 10px apart. */
.esky-sort-modal__order {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 10px;
}

.esky-sort-modal__order-label {
    align-self: stretch;
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #444750;
}

/* Figma "Background": 36px track, 4px padding, #F8FAFC, 8px radius; the two
   buttons share the width equally (flex-grow 1 each). */
.esky-sort-modal__segmented {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    height: 36px;
    padding: 4px;
    border-radius: 8px;
    background: #f8fafc;
}

.esky-sort-modal__segment {
    position: relative;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}

/* Resting: 28px tall, 6/12 padding, 6px icon↔label gap, 8px radius (Figma's
   6 on the resting half is the odd one out — the track and the active half
   are 8), Roboto
   500 12/16 #667085. Active: #193BFF fill, 8px radius, soft shadow, white
   700 label. The arrow SVGs use currentColor so they follow the state. */
.esky-sort-modal__segment-body {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 28px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    color: #667085;
}

.esky-sort-modal__segment-body svg {
    flex: none;
    width: 10.6667px;
    height: 10.6667px;
    overflow: visible;
}

.esky-sort-modal__input:checked + .esky-sort-modal__segment-body {
    border-radius: 8px;
    background: var(--esky-announcements-accent);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    color: #ffffff;
}

/* Locked while "Newest first" is picked (tables, #1016): Descending stays
   shown as the order in use, both faded and not clickable. */
.esky-sort-modal__input:disabled + .esky-sort-modal__segment-body {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Actions: centred row, 8px above, 12px between the two buttons, which
   share the width equally (Figma's 134 / 132 is a 2px slip — 133 each). */
.esky-sort-modal__actions {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    gap: 12px;
    padding-top: 8px;
}

.esky-sort-modal__btn {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    justify-content: center;
    height: var(--esky-announcements-btn-md-height);
    border-radius: 8px;
    font-family: inherit;
    font-size: var(--esky-announcements-btn-md-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

.esky-sort-modal__btn--clear {
    padding: 8px 16px;
    border: 1px solid var(--esky-announcements-btn-secondary-border);   /* #1016 D29 */
    background: #ffffff;
    color: var(--esky-announcements-btn-secondary-text);
}

.esky-sort-modal__btn--apply {
    /* Same box as Clear (8/16 + a 1px edge, here transparent) so the two
       really split the row equally. */
    padding: 8px 16px;
    border: 1px solid transparent;
    background: var(--esky-announcements-accent);
    color: #ffffff;
}

/* Hover as the other modals' buttons; keyboard-only focus ring; no sticky
   hover on touch. */
.esky-sort-modal__btn--clear:hover {
    background: var(--esky-announcements-hover-overlay);
}

.esky-sort-modal__btn--apply:hover {
    background: color-mix(in srgb, var(--esky-announcements-accent) 85%, black);
}

.esky-sort-modal__btn:focus {
    outline: none;
}

.esky-sort-modal__btn:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

@media (hover: none) {
    .esky-sort-modal__btn--clear:hover {
        background: #ffffff;
    }

    .esky-sort-modal__btn--apply:hover {
        background: var(--esky-announcements-accent);
    }
}

.esky-announcements__updates-sort {
    /* Figma "Button" (Sort): horizontal, 16px side padding, 8px icon↔label
       gap, 8px radius, outlined in the client colour (#1016 U2) — the same
       family as the reminder form's "Preview" and "Send Test Reminder"
       outline buttons: no shadow, and the client's light tint on hover.
       Medium button (#1016 D3): 40px, 14 bold — the same height as the
       search and chips beside it. Its text takes the client colour's dark
       version, as all client-coloured text (Figma draws the primary). */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: var(--esky-announcements-btn-md-height);
    padding: 0 16px;
    border: 1px solid var(--esky-announcements-accent);
    border-radius: 8px;
    background: #ffffff;
    color: var(--esky-announcements-accent-text);
    font-family: "Roboto", sans-serif;
    font-size: var(--esky-announcements-btn-md-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
}

.esky-announcements__updates-sort:hover {
    background: var(--esky-announcements-accent-soft);
}

/* The icon shows the order in use (#1016): Figma's glyph points down
   (descending, the lists' own order); flipped, it points up (ascending). */
.esky-announcements__updates-sort--asc svg {
    transform: scaleY(-1);
}

/* Touch screens: no sticky tint after a tap (as the outline buttons). */
@media (hover: none) {
    .esky-announcements__updates-sort:hover {
        background: #ffffff;
    }
}

/* Up to 1250px the Figma single row (311 search + 5 chips + Sort) no longer
   fits: two rows — the search with Sort beside it, then the chips on one
   line (sliding sideways if a translation runs long, never wrapping). */
@media (max-width: 1250px) {
    .esky-announcements__updates-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "search sort"
            "chips  chips";
        align-items: center;
        gap: 12px;
    }

    .esky-announcements__updates-fields {
        display: contents;
    }

    .esky-announcements__updates-search-group {
        grid-area: search;
        width: auto;
        max-width: none;
    }

    .esky-announcements__updates-filters {
        grid-area: chips;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .esky-announcements__updates-filters::-webkit-scrollbar {
        display: none;
    }

    .esky-announcements__chip {
        flex: none;
    }

    .esky-announcements__updates-sort {
        grid-area: sort;
    }
}

/* Phones: Sort becomes an icon-only 40px square beside the search (its
   label stays for screen readers), and the chips keep their full labels on
   one line that slides sideways: it runs edge to edge of the bar, each
   swipe settles on a chip's start, and both ends fade out so a cut-off chip
   reads as "there's more". The block drops from 276px to 120px. */
@media (max-width: 767px) {
    .esky-announcements__updates-filters {
        gap: 8px;
        margin: 0 -12px;
        padding: 0 12px;
        scroll-padding: 0 12px;
        scroll-snap-type: x proximity;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 40px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 40px), transparent 100%);
    }

    .esky-announcements__chip {
        scroll-snap-align: start;
    }

    .esky-announcements__updates-sort {
        justify-content: center;
        width: var(--esky-announcements-btn-md-height);
        padding: 0;
    }

    .esky-announcements__updates-sort span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* ── My Updates: loading indicator ─────────────────────────────── */

#my-updates-list.is-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s;
}

.esky-announcements__loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px;
}

.esky-announcements__loading.is-visible {
    display: flex;
}

/* My Updates: the list and its loader live in one positioned wrapper, which is
   the flex child that carries the "fill the viewport" growth (panel -> this ->
   #my-updates-list -> empty state). */
.esky-announcements__updates-results {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

/* Load-more keeps the dots in the flow, below the last card, 32px off it (the
   gap they had back when the panel spaced them). */
.esky-announcements__updates-results > .esky-announcements__loading {
    margin-top: 32px;
}

/* Reload (search / filter / sort): float the dots over the top of the list.
   In the flow they took ~97px from the flex-grown empty state, which shrank
   under them and grew back when they left, and could push the page into a
   scroll. Out of the flow nothing moves; near the top (not centred) so they
   stay on screen over a long list. */
.esky-announcements__updates-results > .esky-announcements__loading--overlay {
    position: absolute;
    top: 32px;
    right: 0;
    left: 0;
    z-index: 1;
    margin-top: 0;
    padding: 0;
    pointer-events: none;
}

.esky-announcements__loading span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--esky-announcements-accent);
    animation: esky-announcements-bounce 1.4s ease-in-out infinite;
}

.esky-announcements__loading span:nth-child(2) { animation-delay: 0.2s; }
.esky-announcements__loading span:nth-child(3) { animation-delay: 0.4s; }
.esky-announcements__loading span:nth-child(4) { animation-delay: 0.6s; }
.esky-announcements__loading span:nth-child(5) { animation-delay: 0.8s; }

@keyframes esky-announcements-bounce {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
}

/* Tables: sorting or paging reloads the rows (my_home.tpl), which takes a
   moment — show it as My Updates' reload does (#1016): the rows dim and the
   dots float over them, near the top and out of the flow so nothing moves.
   The cards' load-more keeps its dots in the flow, under the last card. */
.esky-announcements__table-wrapper.is-loading {
    position: relative;
}

.esky-announcements__table-wrapper.is-loading .esky-campaigns__table {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s;
}

.esky-announcements__table-wrapper .esky-announcements__table-loading--overlay {
    position: absolute;
    top: 92px;              /* below the 60px header row, 32px in, as My Updates */
    right: 0;
    left: 0;
    z-index: 1;
    padding: 0;
    pointer-events: none;
}

@container esky-table (max-width: 1099.98px) {
    .esky-announcements__table-wrapper .esky-announcements__table-loading--overlay {
        top: 32px;          /* cards: no header row */
        padding: 0;
    }
}

/* ── Empty state ─────────────────────────────────────────────── */

/* Figma: a grey, not white, card — deliberately reads as "inert"/disabled
   (like a greyed-out button) rather than as another populated-table card,
   since there is nothing here to interact with. 24px to the tabs bar above
   (matches .esky-announcements__table-wrapper's own gap to it) and 24px of
   its own bottom padding, mirroring that gap on the inside. min-height
   makes 400px the floor. flex-grow stretches it to the viewport bottom:
   .esky-announcements fills the viewport, the panel (and My Updates' list)
   pass the leftover height down, and the module's 16px bottom padding plus
   this 8px margin leave the 24px gap to the screen edge.
   No margin-top here on purpose — this partial renders in two different
   parents and only one of them needs it (see the override right below). */
.esky-announcements__empty {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1 1 auto;
    min-height: 400px;
    margin-bottom: 8px;
    padding: 24px;
    background: #eef0f2;
    border: 1px solid #d0d3d8;
    border-radius: 20px;
    text-align: center;
    /* The secondary text grey (#444750), not #667085: that one gave 4.35:1
       on this #EEF0F2 ground, under the 4.5:1 text needs (#1016, WCAG
       1.4.3). */
    color: var(--esky-announcements-label);
}

/* Announcements/Reminders: the empty block is a direct child of the panel,
   which only carries the outer .esky-announcements flex column's 12px
   section-gap above it (not a gap of its own) — 12 more closes that to the
   requested 24px total. My Updates doesn't match this selector: there the
   block sits inside #my-updates-list, a flex child of the My Updates panel
   that already gets its own full 32px gap from .esky-announcements__updates-
   -controls — adding margin here would push it to 44px, a bigger gap than
   the 32px a populated list shows, so switching filters would visibly shift
   the layout depending on whether the result set is empty. */
.esky-announcements__panel > .esky-announcements__empty {
    margin-top: 12px;
}

/* Same 40x40-badge language as .esky-announcement__card-icon (the form's
   own section icons) — a tinted circle around a solid glyph — scaled up
   since here it's the hero of the empty state, not a small heading bullet.
   Tint + glyph color follow context below, reusing the exact pairing
   .esky-announcements__card-icon--platform/--session already use. */
.esky-announcements__empty-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.esky-announcements__empty-icon-badge--announcements {
    background: rgba(0, 107, 38, 0.1);
    color: #34734d;
}

.esky-announcements__empty-icon-badge--reminders {
    background: rgba(33, 119, 248, 0.1);
    color: #2658d8;
}

.esky-announcements__empty-icon-badge--my-updates {
    background: rgba(105, 65, 198, 0.1);
    color: #6941c6;
}

.esky-announcements__empty-text {
    font-size: 16px;
    margin: 0;
}

/* ── Card ────────────────────────────────────────────────────── */

.esky-announcements__card {
    /* Figma "Card 1" (collapsed base): vertical, 16px radius, 1px #C2C6D7,
       white, drop shadow 0/1/20/1 black 15%. No padding — that lives on the
       head ("Button") and, later, the body. overflow:hidden clips both to
       the radius. 97px is the collapsed base height (the head's 95px + the
       1px borders); it's a floor, not a cap — an open card grows past it. */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 97px;
    background: #ffffff;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: 16px;
    /* No shadow (#1016 U3): Figma draws the card with its border only. */
    overflow: hidden;
}

/* --unread carries no styling of its own (Figma marks an unread card only
   with the red dot); the class stays as a JS state hook. */

.esky-announcements__card-head {
    /* Figma "Button" (the clickable card row): horizontal, fills the card,
       space-between, 24px padding. space-between + two children (the lead
       group and the chevron) spaces them, so no gap is set. 95px is the
       Figma base height (47px of content + the 48px of padding); it's a
       floor via min-height, so a short title can't make the row shorter and
       a long one still grows it. On hover the head tints to #F8F9FC
       (Figma Variant2 / Variant4) — only while the pointer is on the head
       itself, the part that opens and closes the card (#1016 D19); the open
       body is for reading and doesn't toggle. The card's drop shadow never
       changes. */
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 95px;
    padding: 24px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.esky-announcements__card-head:hover {
    background: #f8f9fc;
}

/* Touch screens have no real hover: keep the tint from sticking to a card
   after it's tapped open or closed. */
@media (hover: none) {
    .esky-announcements__card-head:hover {
        background: #ffffff;
    }
}

.esky-announcements__card-lead {
    /* Figma "Container": horizontal, hugs its content, 24px gap between the
       icon and the meta block. */
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.esky-announcements__card-icon {
    /* Figma "Overlay": 32x32 circle, glyph centred. */
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.esky-announcements__card-icon svg {
    display: block;
}

.esky-announcements__card-icon--platform {
    /* Figma: circle "Overlay" fill #006B26 @ 10%, megaphone "Icon" #34734D
       (--completed-aa, as the tables' "Delivered"). */
    background: rgba(0, 107, 38, 0.1);
    color: #34734d;
}

.esky-announcements__card-icon--session {
    /* Figma: circle "Overlay" fill #2177F8 @ 10%, bell "Icon" #2658D8. */
    background: rgba(33, 119, 248, 0.1);
    color: #2658d8;
}

.esky-announcements__card-meta {
    /* Figma "Container": vertical, hugs its content. */
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.esky-announcements__card-title-row {
    /* Figma "Container": horizontal, 8px gap between the title and the unread
       dot. The dot sits top-aligned (flex-start) — 8px from the text, 14px
       from the row's floor (24px row − 10px dot). */
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.esky-announcements__card-title {
    /* Figma "Text": Roboto 500, 16px, 24px line height, 0 letter spacing,
       Font Color/titles (#1016 U4: it was the earlier Figma's #101C2C).
       Hugs its content so the dot sits right after it. */
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--esky-announcements-text-primary);
    min-width: 0;
}

.esky-announcements__card-unread-indicator {
    /* Figma "Ellipse 9": 10x10 #AF1C02 dot — "you have a new message". A
       read card shows no indicator at all (the dot just disappears). */
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #af1c02;
}

.esky-announcements__card-date {
    /* Figma "Container": horizontal, hugs (~168 x 16), 4px between the
       calendar icon and the date text. Text is Roboto 400, 12px, 16px line
       height, 0 tracking, sucondary-color-text (#1016 U5: it was the
       earlier Figma's #424754). */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    color: var(--esky-announcements-label);
}

.esky-announcements__card-date-icon {
    /* Figma "Container" + "Icon": a 10.5 x 11.67 calendar glyph in the
       date's colour. */
    display: inline-flex;
    flex-shrink: 0;
    color: var(--esky-announcements-label);
}

.esky-announcements__card-date-icon svg {
    display: block;
    width: 10.5px;
    height: 11.67px;
}

.esky-announcements__card-subrow {
    /* Figma "Margin": full-width, hugs its content, adds 4px of space above
       the tag + date row. */
    margin-top: 4px;
}

.esky-announcements__card-subrow-inner {
    /* Figma "Container": horizontal, fills the width, hugs (~19px), 16px gap
       between the tag and the date. line-height:1 drops the inherited 1.5 so
       the pill and the date sit at their glyph height (otherwise the row is
       taller than Figma and pushes the collapsed card past its 97px base). */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    line-height: 1;
}

.esky-announcements__card-tag {
    /* Figma "Overlay" + "Text": pill hugs its label, 4px radius, 2px/8px
       padding (so it hugs to ~19px tall). Label is Roboto 700, 10px, 15px
       line height, 0.5px tracking, uppercase, vertically centred. Colours
       come from the --announcement / --reminder modifiers. */
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.esky-announcements__card-tag--announcement {
    /* Figma: fill #006B26 @ 10%, label #34734D (--completed-aa). */
    background: rgba(0, 107, 38, 0.1);
    color: #34734d;
}

.esky-announcements__card-tag--reminder {
    /* Figma: fill #2177F8 @ 10%, label #2658D8. */
    background: rgba(33, 119, 248, 0.1);
    color: #2658D8;
}

.esky-announcements__card-toggle {
    /* Figma "Container" + "Icon": a 12 x 7.4 chevron in sucondary-color-text
       (#1016: it was the earlier Figma's #424754), vertically
       centred in the Button. It's a real <button>, so 8px padding gives a
       usable target and an equal negative margin keeps the glyph where Figma
       puts it (no layout effect). */
    align-self: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin: -8px;
    border: 0;
    background: none;
    color: var(--esky-announcements-label);
    cursor: pointer;
    transition: color 0.15s, transform 0.2s;
}

.esky-announcements__card-toggle svg {
    display: block;
    width: 12px;
    height: 7.4px;
}

/* Figma keeps the chevron's colour on hover (Variant2 / Variant4) — only the
   head's tint changes. Keyboard focus gets the module's focus ring (#1016 D28);
   a click/tap shows nothing. */
.esky-announcements__card-toggle:focus {
    outline: none;
}

.esky-announcements__card-toggle:focus-visible {
    border-radius: 4px;
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

.esky-announcements__card-toggle--open {
    transform: rotate(180deg);
}

.esky-announcements__card-body {
    /* Wraps the Figma Variant3 "Vector 2583" rule + body "Container". Full
       card width so the rule bleeds edge to edge; collapsed to nothing until
       the head toggles --open (1500px cap clears any realistic length). */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.esky-announcements__card-body--open {
    max-height: 1500px;
}

.esky-announcements__card-divider {
    /* Figma "Vector 2583": a full-width 1px rule between the head and the
       body, the divider grey. */
    height: 0;
    border-top: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
}

/* Scroll container for the message. The body above animates open to a fixed
   1500px and clips (overflow: hidden) anything past it, so a very long
   message used to be cut off with no way to read the rest. Capping the
   message here — 600px, or 70% of the screen on short ones, whichever is
   smaller — turns the overflow into an internal scroll instead. It spans the
   card's full width so the scrollbar sits on the card edge, not wherever
   the text itself happens to wrap; short messages stay their natural
   height. */
.esky-announcements__card-scroll {
    max-height: min(600px, 70vh);
    overflow-y: auto;
}

.esky-announcements__card-content {
    /* No fixed text-column width here — Figma's own text layer for this
       card is "Hug" (sizes to content, not a fixed cap), confirmed against
       a wider reference frame where it fills ~933px inside a wider card.
       An earlier pass had read that as a fixed 672px column from a
       narrower frame, which left a large dead strip of blank space on
       wide screens instead of using the card's real width. 40px top/bottom,
       24px side padding (border-box). Figma "Text": Roboto 400, 14px,
       20px line height, 0 tracking, sucondary-color-text (#1016: it was the
       earlier Figma's #424754). flex+gap gives multi-paragraph
       messages visible spacing between paragraphs — the site's own global
       `p { margin: 0; }` (top of this file) otherwise flattens them
       against each other; the Preview modals already compensate for that
       same reset the same way (.esky-announcements__preview-content),
       this was the one place still missing it. */
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    padding: 40px 24px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--esky-announcements-label);
    word-break: break-word;
}

/* CKEditor writes an inline size on every image it inserts
   (style="height:600px; width:1200px"). An inline style beats a stylesheet
   `height: auto`, so a picture wider than the column was squeezed by
   max-width but kept its full height — stretched out of proportion.
   `!important` lets height: auto win, so it keeps its aspect ratio. The same
   pair is applied in the Preview modals and the reminder form's preview. */
.esky-announcements__card-content img {
    max-width: 100%;
    height: auto !important;
}

/* The message is the author's CKEditor text: same list / link handling as
   the Preview modals (.esky-announcements__preview-content), so rich text
   reads the same everywhere in the module — 20px list indent (the markers
   used to hang in the padding), 4px between items, primary underlined
   links. */
.esky-announcements__card-content ul,
.esky-announcements__card-content ol {
    padding-left: 20px;
}

.esky-announcements__card-content li + li {
    margin-top: 4px;
}

.esky-announcements__card-content a {
    color: var(--esky-announcements-accent-text);
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.esky-announcements__card-content > :first-child {
    margin-top: 0;
}

.esky-announcements__card-content > :last-child {
    margin-bottom: 0;
}

/* ── Responsive ──────────────────────────────────────────────── */

/* My Updates cards on phones (≤767px): 16px inside and 12px from the icon
   to the text (the phone spacing of the other cards) instead of the
   desktop 24/24, which left a 128px text column at 320px. The icon and the
   chevron stay centred on the text block. The title keeps Figma's 16/24,
   wraps (at a "/" first — see card.tpl) and is capped at 3 lines with an
   ellipsis while the card is closed, so the list keeps an even rhythm; an
   open card shows it whole. The unread dot stays beside the first line, and
   the tag and date share a line when they fit (the date never splits). */
@media (max-width: 767px) {
    .esky-announcements__card-head {
        align-items: center;
        gap: 12px;
        padding: 16px;
    }

    .esky-announcements__card-lead {
        gap: 12px;
        align-items: center;
        min-width: 0;
    }

    .esky-announcements__card-icon {
        flex-shrink: 0;
    }

    .esky-announcements__card-meta {
        min-width: 0;
    }

    .esky-announcements__card-title-row {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .esky-announcements__card-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        overflow-wrap: break-word;
    }

    .esky-announcements__card--open .esky-announcements__card-title {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .esky-announcements__card-unread-indicator {
        flex: none;
        margin-top: 7px;
    }

    .esky-announcements__card-subrow-inner {
        flex-wrap: wrap;
        column-gap: 12px;
        row-gap: 6px;
    }

    .esky-announcements__card-date-text {
        white-space: nowrap;
    }

    /* Open card: the message lines up with the head's 16px inset, and 24px
       above / below instead of the desktop 40. */
    .esky-announcements__card-content {
        padding: 24px 16px;
    }
}

@media (max-width: 768px) {
    /* The module's own 16px bottom padding is the gap on mobile. */
    .esky-announcements__empty {
        margin-bottom: 0;
    }
}

/* Phones: the empty state hugs its icon + message (40px above / below)
   instead of the desktop 400px floor, which on a 640px-tall screen pushed
   the few words below the fold — and under the floating Create button —
   so reading them took a scroll. */
@media (max-width: 767px) {
    .esky-announcements__empty {
        min-height: 0;
        padding: 40px 24px;
    }

    /* Announcements / Session Reminders: the empty block grows to the
       bottom of the screen and ends as far from it as it starts from the
       tabs (24px: the module's 16px padding + 8 here), instead of keeping
       the 60px the floating Create button needs over a list of cards. */
    #announcements-panel-system:has(> .esky-announcements__empty),
    #announcements-panel-campaigns:has(> .esky-announcements__empty) {
        padding-bottom: 8px;
    }
}

/* My Updates on short phones: the search + filters bar already takes 120px
   above the empty state, so the decorative icon gives way and the message
   alone, with 24px above / below instead of 40, fits on screen (a Nexus 5
   leaves ~567px once its system bars are drawn). */
@media (max-width: 767px) and (max-height: 700px) {
    #announcements-panel-my-updates .esky-announcements__empty {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    #announcements-panel-my-updates .esky-announcements__empty-icon-badge {
        display: none;
    }
}

@media (max-width: 768px) {


    .esky-announcements__card-session-tag {
        font-size: 12px;
        padding: 2px 8px;
        margin-left: 0;
    }
}

/* Page header on phones (<= 767, the unified scale — tablets from 768 keep
   the desktop row): title + subtitle, then the create button full width
   under them; title 22px. */
@media (max-width: 767px) {
    /* Tabs on phones — PM decision: each tab shows only its section icon
       (the same megaphone / bell / inbox as its empty state) instead of
       "label + (i)", so all three fit side by side without scrolling. They
       share the width equally; My Updates keeps its unread counter. The
       label stays in the markup, visually hidden, as the tab's accessible
       name; the (i) tooltip isn't shown (no hover on phones). */
    .esky-announcements__tab {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 8px;
    }

    .esky-announcements__tab-icon {
        display: flex;
    }

    .esky-announcements__tab-label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    /* My Updates' unread counter becomes a badge on the icon's top-right
       corner, so it no longer shares the row with the icon: all three icons
       sit exactly centred in their tabs (side by side, the inbox ran 12px
       left of centre). Grows to the right for 2-3 digits; a 2px ring in the
       page colour separates it from the icon. */
    .esky-announcements__tab .esky-announcements__tab-badge {
        position: absolute;
        top: 10px;
        left: calc(50% + 4px);
        box-sizing: border-box;
        width: auto;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        box-shadow: 0 0 0 2px var(--esky-announcements-surface);
    }

    .esky-page-header__title {
        font-size: 22px;
    }

    .esky-page-header__row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    /* Announcements module header on phones: a FIXED-height header, so the
       tabs under it never move when switching tabs (title, subtitle and the
       create button change per tab). Same order as every page of the
       system — breadcrumb → title → subtitle — with the tabs below:
       - title: one line (a long translation ends in "…");
       - subtitle: always 3 lines tall; longer copy ends in "…" (the full
         text stays in the markup);
       - the create button leaves the header (see the floating button). */
    .esky-announcements .esky-page-header__row {
        gap: 0;
    }

    .esky-announcements .esky-page-header__title {
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    /* Only with tabs (#1016 L1): a learner's page has none, so nothing can
       jump — the 3-line box just left ~40px empty under a one-line
       subtitle. Without tabs it keeps its natural height.
       A minimum, not a fixed 3-line box cut with "…" (#1016, WCAG 1.4.12):
       every subtitle fits in 3 lines at 320px, so the tabs stay put as
       before, but with larger text spacing the box grows instead of
       hiding the end of the text. */
    .esky-announcements:has(.esky-announcements__tab) .esky-page-header__subtitle {
        min-height: 60px;
    }

    /* Create button → floating action button on phones: 56x56, radius 8 (the
       shape of every button in the design), 16px from the right and bottom —
       the content's own side margin, so it lines up with the content's right
       edge — with an elevation shadow so it reads as floating. Same size
       whatever the tab; its label stays in the markup as the accessible name
       ("Create Announcement" / "Create Reminder"). Not rendered on My
       Updates (the button is hidden there already). */
    .esky-announcements__create-btn {
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 40;
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 8px;
        box-shadow: 0 6px 16px rgba(16, 24, 40, 0.18), 0 2px 4px rgba(16, 24, 40, 0.12);
    }

    .esky-announcements__create-btn > span {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .esky-announcements__create-btn svg {
        width: 18px;
        height: 18px;
    }

    /* The floating button covers whatever scrolls under it (#1016): a
       control that got keyboard focus there was out of sight (WCAG
       2.4.11), and the last card could never rise above it. The page keeps
       its strip clear when it scrolls a focused control into view (56 +
       16 + 16 of air), and the list ends with room to scroll past it. */
    html:has(.esky-announcements__create-btn) {
        scroll-padding-bottom: 88px;
    }

    .esky-announcements:has(.esky-announcements__create-btn) {
        padding-bottom: 72px;
    }
}

/* Shared keyboard focus ring (WCAG 2.4.7 + 1.4.11, audit H4): one
   definition for the announcement form, its modals and the date/time
   pickers (those are appended to <body>, outside .esky-announcement, hence
   :root). 2px solid primary, 2px away from the control — 5.04:1 on white
   with the Figma primary #3F7D24 (3:1 needed). Shown on keyboard focus
   (:focus-visible); text fields also show it while typing, as browsers do.
   Provisional until the design team defines a focus state (#1016
   observation 3): change it here only. */
:root {
    --esky-focus-outline: 2px solid var(--main-color-background-image);
    --esky-focus-offset: 2px;
}

/* ================================================================
   Block: esky-announcement
   Page: announcement/configure_announcement.php
   Twin of .esky-reminder below — same module family, same page
   chrome, so both forms stay visually identical at this level even
   though their own Figma frames drift slightly (12px vs 16px gap,
   a border here vs. none there). Kept as its own class instead of
   sharing .esky-reminder's literally, so a future change to one
   module never silently reaches the other.
   ================================================================ */

.esky-announcement {
    --ea-primary: var(--esky-announcements-accent);
    --ea-primary-dark: var(--esky-announcements-accent-hover);
    --ea-primary-soft: var(--esky-announcements-accent-soft);
    --ea-primary-border: color-mix(in srgb, var(--main-color-background-image) 20%, white);
    --ea-card: #ffffff;
    --ea-border: #e3e6ea;
    --ea-input-border: var(--esky-announcements-control-border);
    --ea-placeholder: var(--esky-announcements-placeholder);
    --ea-ink: var(--esky-announcements-text-primary);
    --ea-ink-soft: #344054;
    --ea-muted: #667085;
    --ea-danger: var(--esky-announcements-danger);   /* #1016: one red for errors and Delete */
    --ea-radius: 10px;
    --ea-radius-sm: var(--esky-announcements-radius-sm);

    /* Mirrors .esky-reminder's own "Table" rule: 16px between sections,
       16px padding all round, no border — the module sits flush with
       the app chrome, same reasoning as the reminder form. */
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 16px;
    background: #f5f6f8;
    font-family: var(--font-primary), sans-serif;
    font-size: 14px;
    color: var(--ea-ink);
}

.esky-announcement *,
.esky-announcement *::before,
.esky-announcement *::after {
    box-sizing: border-box;
}

/* Figma "Form" (2832:9838): vertical, left-aligned, 24px between
   sections, 16px top padding, no side padding. Fills the module's width
   (Figma's 1474 px is that width) and hugs its height; flex none inside
   .esky-announcement. */
.esky-announcement__form {
    /* Figma specs an 80px bottom padding here, sized for a non-sticky
       footer sitting at the end of a plain static page. Now that the
       footer is sticky (matching .esky-reminder__nav), that padding is
       redundant dead space below it — dropped in favour of the root
       .esky-announcement's own uniform 16px, same as reminders. */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    width: 100%;
    padding: 16px 0 0;
    gap: 24px;
}

/* ── Form card: one component, two variants (#1016 D25a) ───────────
   Both forms build their sections from the same card. The base below holds
   what they share: white fill, the divider-grey border (Figma strock, D30),
   radius 12, the faint card shadow, height that hugs the content (no fixed
   canvas heights: long messages and zoom never get cut, WCAG 1.4.4), the
   16/24 #1D2939 title and the icon in the client colour. Each form keeps
   the header e-Sky designed for it:
   - Announcement (.esky-announcement__card*): 32px padding, icon in a 40px
     tinted badge, title 400 + subtitle, no line under the header;
   - Reminder (.esky-reminder__card*): numbered title 500, bare icon, header
     band with a line under it (edge to edge), 24px body. */
.esky-announcement__card,
.esky-reminder__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    background: #fff;
    border: 1px solid var(--esky-announcements-divider);
    border-radius: var(--esky-announcements-radius);
    box-shadow: var(--esky-announcements-shadow-card);
}

.esky-announcement__card-title,
.esky-reminder__card-title {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--esky-announcements-text-primary);
}

.esky-announcement__card-icon,
.esky-reminder__card-icon {
    flex: none;
    padding: 0;
    color: var(--esky-announcements-accent);
}

/* Announcement variant — Figma "Section N": 32px padding, 32px gap between
   the header and each field group. Fills the form's width (Figma's 1474 px
   is that width). */
.esky-announcement__card {
    box-sizing: border-box;
    align-self: stretch;
    width: 100%;
    padding: 32px;
    gap: 32px;
}

/* Phones (<= 767px, the announcement system's phone breakpoint — see the
   responsive scale at the top of Block: announcements):
   Figma's 32px padding (desktop-only design) left just 262px of content
   width at 360px — 64px of empty frame inside each card. 16px gives the
   fields and editor 32px more room, like .esky-reminder's cards on small
   screens. The header-to-fields gap follows, 32 -> 24px: no smaller, so it
   still matches the 24px between fields and the section header keeps
   reading as a header, not as one more field. From 768px up the Figma
   32px / 32px hold. */
@media (max-width: 767px) {
    .esky-announcement__card {
        padding: 16px;
        gap: 24px;
    }
}

/* Figma "Container": icon + heading row, centred, no padding, 12px gap.
   Fills the card's width (align-self stretch; Figma's 1408 px is that
   width) and hugs its height — 40px, the icon badge; flex none inside the
   card. */
.esky-announcement__card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    flex: none;
    width: 100%;
    padding: 0;
    gap: 12px;
}

/* Figma "Overlay": 40x40 badge, radius 12, the icon centred. Fill is the
   client colour at 10% (Figma's rgba(33,119,248,0.1)), so it follows the
   client theme like the icon itself (base above). */
.esky-announcement__card-icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--esky-announcements-accent-soft);   /* Figma v2 hover-client (it was the client at 10%) */
    border-radius: var(--esky-announcements-radius);
}

/* Figma "Container" > "Icon": each card's icon keeps its own size — 20x20,
   18x16, 18x20, 22x15 — taken from the SVG's width/height attributes, so no
   size is forced here (a fixed 20x20 would scale the others). Paints in
   currentColor. */
.esky-announcement__card-icon svg {
    display: block;
    flex: none;
}

/* Figma "Container": title + subtitle stack, left-aligned, no padding, no
   gap between them; hugs its content (Figma's 251 x 40 is the hug size).
   Figma has it flex none; here it may still shrink (never grow) so a long
   subtitle wraps on narrow screens instead of overflowing the card. */
.esky-announcement__card-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 1 auto;
    min-width: 0;
    padding: 0;
}

/* Figma "Heading 2" > "Basic Information" text: weight 400 (size, line and
   colour from the shared card title above); flex, vertically centred.
   Figma wraps it in a single-child "Heading 2" frame that stretches to the
   heading's width — the h2 carries both directly. */
.esky-announcement__card-title {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: none;
    font-style: normal;
    font-weight: 400;
}

/* Figma "Container" > card subtitle text: Roboto 400 (inherited), 12px,
   16px line height (133%), 0 letter spacing, #444750; flex, vertically
   centred. Same single-child wrapper as the title, carried by the p. */
.esky-announcement__card-subtitle {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: none;
    margin: 0;
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    color: #444750;
}

/* Figma "Container" (grid): the fields area is its own 2-row group, 24px
   row gap — separate from the card's own 32px gap (header to fields). Figma
   lays it out as a 2-column grid (32px column gap, 74px rows, Title spanning
   both); a column of rows + .esky-announcement__field-row gives the same
   boxes. Fills the card's width (align-self stretch; Figma's 1408 px is that
   width), hugs its height (172 = 74 + 24 + 74), flex none inside the card. */
.esky-announcement__card-fields {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    flex: none;
    gap: 24px;
    width: 100%;
}

/* Figma "Container" (field group): vertical, left-aligned, no padding,
   8px between label and control; 74px tall for a label + 42px input.
   (Figma positions it absolutely inside its grid cell — a grid artefact;
   here it simply fills its row.) The label hugs its text; the control
   below it — input, select, date field, editor — stretches to the full
   width (Figma "Input": align-self stretch). */
.esky-announcement__field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    width: 100%;
}

.esky-announcement__field > :not(.esky-announcement__field-label) {
    align-self: stretch;
}

/* Thin scrollbar for the dropdown lists that scroll (Language, Assign to
   Class) — same colour and shape as the side menu's (#975), but each
   browser gets only the method it honours: Chrome/Edge/Safari/Opera draw
   an exact 5px bar with no arrow buttons (::-webkit-scrollbar); only
   browsers without it (Firefox) fall back to the standard `thin` (~8px,
   Firefox's minimum). Mixing both in one rule, as the side menu does,
   makes current Chrome prefer `scrollbar-width` and ignore the 5px
   (measured: 10px). Add a list's class here to reuse it. */
.esky-announcement__select-panel-body::-webkit-scrollbar,
.esky-multiselect__options::-webkit-scrollbar,
.esky-reminder__modal-email::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.esky-announcement__select-panel-body::-webkit-scrollbar-track,
.esky-multiselect__options::-webkit-scrollbar-track,
.esky-reminder__modal-email::-webkit-scrollbar-track {
    background: transparent;
}

.esky-announcement__select-panel-body::-webkit-scrollbar-thumb,
.esky-multiselect__options::-webkit-scrollbar-thumb,
.esky-reminder__modal-email::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.esky-announcement__select-panel-body::-webkit-scrollbar-button,
.esky-multiselect__options::-webkit-scrollbar-button,
.esky-reminder__modal-email::-webkit-scrollbar-button {
    display: none;
}

@supports not selector(::-webkit-scrollbar) {
    .esky-announcement__select-panel-body,
    .esky-multiselect__options,
    .esky-reminder__modal-email {
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
    }
}

/* Figma "Container" row (Language | Assign to Class, Start | End):
   horizontal, centred, top-aligned, no padding, 32px gap, two equal
   columns (each field flex 1). Fills the card's width (align-self stretch;
   Figma's 1408 px is that width), hugs its height (74), flex none. */
.esky-announcement__field-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    flex: none;
    padding: 0;
    gap: 32px;
    width: 100%;
}

.esky-announcement__field-row > .esky-announcement__field {
    flex: 1;
    min-width: 0;
}

/* Phones (<= 767px, the system's phone breakpoint): side by side the
   columns get too narrow on phones — the select values truncate
   ("Nothin...") and a date value "dd/mm/yyyy, hh:mm AM/PM" (~180px of text
   + icon + padding ≈ 240px per column) no longer fits. So the two fields
   stack, one per row, with the same 24px gap as the rows above them
   (Figma's grid row gap). From 768px up the Figma two-column layout
   holds. */
@media (max-width: 767px) {
    .esky-announcement__field-row {
        flex-direction: column;
        gap: 24px;
    }
}

/* Figma "Label" > field label text: Roboto 400 (inherited), 16px, 24px
   line height (150%), 0 letter spacing, the label colour (Figma v2
   #444750, #1016 D25b); flex, vertically centred,
   hugs its text (Figma's single-child "Label" wrapper is carried by the
   label itself). margin:0 cancels the theme's global
   `label { margin-bottom: 5px }` (Bootstrap), which otherwise stacks on
   top of the field's own 8px gap. */
.esky-announcement__field-label {
    display: flex;
    align-items: center;
    flex: none;
    margin: 0;
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--esky-announcements-label);
}

/* Required-field marker on Title/Content/Start/End labels — Figma's red
   (#BA1A1A, used elsewhere for destructive/alert states). Decorative only
   (aria-hidden in the markup); it does not replace real required/aria-required
   attributes on the inputs, which this pass does not add. */
.esky-announcement__required-mark {
    color: var(--ea-danger);
    margin-left: 2px;
}

/* Figma "Input": text field, 40px tall (#1016 D10: 11px 16px padding +
   16px text line + 1px border top and bottom), control border (#8E8E8E,
   #1016 D11/D30 — Figma's strock is under 3:1), radius 8, full width of the
   field, flex none. Text: Roboto 400 14px / 16px. */
.esky-announcement__field-input {
    box-sizing: border-box;
    align-self: stretch;
    flex: none;
    width: 100%;
    padding: 9px 16px;    /* 40px tall with the 20px line (#1016 D10), like the selects */
    background: #fff;
    border: 1px solid var(--esky-announcements-control-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;     /* Figma v2 Regular, like the select and date values */
    line-height: 20px;
    color: #1d2939;
}

/* Required-field / coherence error state (Publish clicked with the field
   still empty, or — for the date fields — Start/End in the wrong order).
   Same red as .esky-announcement__required-mark. */
.esky-announcement__field-input--invalid {
    border-color: var(--ea-danger);
}

/* Figma placeholder "e.g. Scheduled System Maintenance": #667085
   (Figma variable "input-text"). */
.esky-announcement__field-input::placeholder {
    color: var(--esky-announcements-placeholder);
}

/* No focus glow here on purpose, same reasoning as the date fields below:
   Figma's Input has only its static border, no focus state — and
   !important is needed to beat the platform's global `input:focus` accent
   glow (base.css `input:focus`, ~line 11204). */
.esky-announcement__field-input:focus {
    outline: none;
    border-color: var(--esky-announcements-control-border) !important;
    box-shadow: none !important;
}

.esky-announcement__field-input:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Figma "Options": 42px tall dropdown trigger (10px 16px padding + 20px
   text line + 1px border), same border/radius language as the text input,
   full width of the field, flex none; value + chevron in a centred row.
   Text: Roboto 400, 14px / 20px, #1D2939 — font-weight is set explicitly
   because this is a <button> and the platform's global button styles would
   otherwise make it 500. (Figma's "image clip" layer is an empty
   decorative frame; nothing to render.) */
.esky-announcement__select {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    flex: none;
    gap: 8px;
    width: 100%;
    padding: 9px 16px;   /* 40px tall (#1016 D10) */
    background: #fff;
    border: 1px solid var(--esky-announcements-control-border);
    border-radius: 8px;
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1d2939;
    text-align: left;
    cursor: pointer;
}

/* No ring on mouse/tap; on keyboard focus the shared ring instead of the
   browser's own dark outline (the only focus style these triggers had). */
.esky-announcement__select:focus {
    outline: none;
}

.esky-announcement__select:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Figma "Container" > "English (US)": takes the free width (flex-grow 1)
   and centres the value vertically; long values end in an ellipsis. */
.esky-announcement__select-value {
    flex: 1 1 0;
    min-width: 0;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.esky-announcement__select-value--placeholder {
    color: #1d2939;
}

/* Figma "chevron-updown": 18x18, up + down chevrons, 1px #8C8C8C stroke
   (drawn in the SVG), flex none. */
.esky-announcement__select-chevron {
    display: flex;
    flex: none;
    width: 18px;
    height: 18px;
}

/* Figma "Frame 2147224289": the Language dropdown panel. Deliberately
   overlays the trigger button (top:0, full width) instead of dropping
   below it — the panel's own top edge covers the select's top edge, per
   spec, and it always matches the select's width. */
.esky-announcement__select-wrap {
    position: relative;
    width: 100%;
}

/* Language modal card (.esky-modal-backdrop is the shared fixed/dim/blur
   overlay + centering, same one Sort/View Log/Preview use). Not a Figma
   pattern for this field — Figma anchors this panel directly under the
   trigger — converted to a modal on request so mobile users are never
   forced to scroll to see the rest of an anchored panel.
   Figma "Frame 2147224289" (3810:16183): vertical auto layout, right-aligned
   (the Apply button sits right; title/body/line stretch themselves), 22px
   13px padding, 10px gap, 266px wide, hugs its height (298 with Figma's 4
   languages), #E0E0E0 1px border, radius 12, soft shadow, "Clip content"
   on (overflow hidden — the rounded corners clip what's inside). Figma's
   left/top are canvas coordinates, not layout; the backdrop centres it. */
.esky-announcement__select-modal {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    width: 266px;
    max-width: calc(100vw - 48px);
    /* Never taller than the visible area (dvh: the phone's address bar may
       be showing); the language list gives way and scrolls. */
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    /* Shared panel frame (#1016 D5, the Assign to Class one): content 16 in
       from the outer edge on every side (15 + the 1px border; Figma's 22/13
       was the other half of the panels), 16 gap, divider border, radius 12,
       the panel shadow. 234px of content at 266. */
    padding: 15px;
    gap: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--esky-announcements-divider);
    border-radius: var(--esky-announcements-radius);
    box-shadow: var(--esky-announcements-shadow-panel);
}

/* Figma "Frame 2147223460" > "Text": vertical, left-aligned, no padding,
   8px gap, full width of the modal (align-self stretch, 240px), flex none;
   the p carries the single-child wrapper. Text: Roboto 500, 16px / 24px,
   General/Primary #1D2939. */
.esky-announcement__select-panel-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    flex: none;
    gap: 8px;
    padding: 0;
    margin: 0;
    font-style: normal;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #1d2939;
}

/* Figma "Body": vertical, no padding, no gap, full width of the modal
   (align-self stretch, 240px), flex none; 160px = 4 rows x 40px. Figma only
   mocked 4 languages — the list is capped at exactly that and any extra
   rows (a real LMS can have 20+) scroll inside it instead of growing the
   modal. Figma's end/end alignment: rows are "Fill" width, so they stretch;
   the vertical flex-end is `safe` — a plain flex-end in a scrolling list
   pushes the overflow above the top, where it can't be scrolled to (the
   first languages would be unreachable). */
.esky-announcement__select-panel-body {
    display: flex;
    flex-direction: column;
    justify-content: safe flex-end;
    align-items: flex-end;
    align-self: stretch;
    /* 160 as in Figma, shrinking (and scrolling) when the modal hits its
       screen cap. */
    flex: 0 1 auto;
    min-height: 0;
    padding: 0;
    max-height: 160px;
    overflow-y: auto;
}

.esky-announcement__select-panel-body > * {
    align-self: stretch;
}

.esky-announcement__radio-row {
    /* margin:0 cancels the theme's global `label { margin-bottom: 5px }`
       (Bootstrap) — same fix as .esky-announcement__field-label. */
    margin: 0;
    /* Figma "row": horizontal, top-aligned, 10px padding, fixed 40px tall
       — what the Body's 4-row / 160px cap is built on — full width of the
       list (align-self stretch), flex none. The 24px radio box and the
       24px text line overflow the 20px content box by 4px downwards, as in
       Figma (not clipped).
       Gap: Figma's row has a single child (".radiobutton"), so its 10px
       gap never applies; inside it the radio box and the text sit 4px
       apart. Here both are direct children of the row, so the row's gap is
       that 4px — with the radio's 2px margin, circle to text = 6px. */
    box-sizing: border-box;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-self: stretch;
    flex: none;
    padding: 10px;
    gap: 4px;
    cursor: pointer;
}

/* Comfortable density of the radio (#1016 D31): the 40px row takes the
   selectable-row tint on hover, as the role and Sort rows. */
.esky-announcement__radio-row:hover {
    background: var(--esky-announcements-hover-select);
}

/* Figma "24px/radiobutton" > "Check" > "Ellipse 1" / "Ellipse 2" — drawn
   exactly like its two SVGs:
     Ellipse 1: <circle cx="10" cy="10" r="9.25" stroke-width="1.5"/> (20x20)
       unchecked: stroke #667085 (here the control border, #1016 D30), no
       fill; checked: fill + stroke Primary
     Ellipse 2: <circle cx="5" cy="5" r="4.25" fill="white"
                 stroke="#1864AB" stroke-width="1.5"/> (10x10, centred)
   Everything is drawn with inset box-shadows, not borders/fills: Chrome
   rounds a 1.5px border down to 1px on standard screens, and a shadow's
   anti-aliased circle edge matches the SVG's; verified pixel by pixel
   against both SVGs (max difference 5/255 unchecked, 15/255 checked).
   Figma's #1864AB is the system primary. The 24px box with the 20px circle
   at (2, 2) is the input's 2px margin.
   Scoped under .esky-announcement and fully reset, so neither the native
   radio, the platform's global `input[type=radio] { margin: 3px 0 0 }`
   (base.css ~l.645, more specific than a bare class — it pushed the circle
   off (2, 2)), Bootstrap's `input[type="radio"]:focus` outline nor base.css
   `input:focus` glow leak in. */
.esky-announcement .esky-announcement__radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    display: block;
    flex: none;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin: 2px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px var(--esky-announcements-control-border);
    outline: none;
    cursor: pointer;
}

.esky-announcement .esky-announcement__radio:checked {
    /* Ellipse 1 filled Primary + Ellipse 2 (a white 10px disc with its own
       1.5px Primary stroke, centred) = a Primary ring from the edge in to
       3.5px from the centre around a 7px white dot: one 6.5px inset shadow
       over a white fill. (A pseudo-element dot doubled the anti-aliasing
       at its edge and read as a halo.) */
    background: #fff;
    box-shadow: inset 0 0 0 6.5px var(--ea-primary);
}

/* Mouse/tap focus: no ring or glow (not in Figma). Bootstrap's outline and
   base.css's `input:focus` border/box-shadow (!important) are cancelled —
   the box-shadow is re-stated because it IS the drawn stroke here. */
.esky-announcement .esky-announcement__radio:focus {
    outline: none;
    outline-offset: 0;
    border: none !important;
    box-shadow: inset 0 0 0 1.5px var(--esky-announcements-control-border) !important;
}

.esky-announcement .esky-announcement__radio:checked:focus {
    box-shadow: inset 0 0 0 6.5px var(--ea-primary) !important;
}

/* Keyboard focus only: the shared focus ring (--esky-focus-outline),
   outside the drawn stroke, which the :focus rules above keep. */
.esky-announcement .esky-announcement__radio:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Figma "label": Roboto 500 (inherited family), 14px / 24px, #667085
   (Figma variable "input-text"), one line (nowrap), hugging its text.
   Figma has it flex none; here it may shrink (never grow) and ends in an
   ellipsis instead, so an unusually long language name can't run past the
   modal's clipped edge — the row has ~192px for it. */
.esky-announcement__radio-label {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: inherit;
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #667085;
}

/* Figma "Line 5": a 0.5px #E0E0E0 stroke, full width of the modal
   (align-self stretch, 240px), flex none, taking NO height in the layout
   (height 0 — the 10px gaps above and below it meet). A 0.5px border
   can't do either: Chrome paints it as a solid 1px line and it adds 1px to
   the layout. So the box stays 0 tall and a 1px pseudo-element, centred on
   it and scaled to half height, draws the stroke — half intensity on
   standard screens, a crisp real 0.5px line on high-density ones. */
.esky-announcement__select-panel-divider {
    position: relative;
    align-self: stretch;
    flex: none;
    height: 0;
    border: 0;
}

.esky-announcement__select-panel-divider::before {
    content: '';
    position: absolute;
    top: -0.5px;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    transform: scaleY(0.5);
}

/* Figma "Corporate Report Button" (a 55 x 40 single-child wrapper, which
   the <button> itself stands in for) > "Corporate Report Button": row,
   content centred, fixed 40px tall, radius 8, no border (Figma v2 dropped
   the earlier 1px white one), Primary fill, 7px 12px padding.
   Label "Apply": Roboto 700, 12px / 150%, white, centred, one line, with
   tabular + lining figures and case-sensitive forms. */
.esky-announcement__select-panel-apply {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: none;
    height: var(--esky-announcements-btn-md-height);
    padding: 7px 12px;
    gap: 12px;
    background: var(--esky-announcements-accent);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-style: normal;
    font-size: var(--esky-announcements-btn-md-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    font-feature-settings: 'tnum' on, 'lnum' on, 'case' on;
    color: #fff;
    cursor: pointer;
}

.esky-announcement__select-panel-apply:hover {
    background: var(--esky-announcements-accent-hover);
}

/* Mouse/tap focus: no ring (not in Figma); keyboard focus only: the same
   the module's focus ring (#1016 D28) as the form's other buttons. */
.esky-announcement__select-panel-apply:focus {
    outline: none;
}

.esky-announcement__select-panel-apply:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* ── Multi-select panel (.esky-multiselect__*) ──────────────────────
   One component for Assign to Class (announcement form) and Session
   Selection (reminder form), #1016 D9: Figma drew the same function
   twice. Only the options differ. Built from Assign to Class's frame.
   Figma "Add Filter 31": the Assign-to-Class filter panel — search box,
   checkbox list, full-width Apply button and a Selected-count/Clear-
   selection footer row. Not a Figma pattern for this field either (same
   note as .esky-announcement__select-modal above) — converted to a
   centered modal, so now free to use Figma's literal 394px width instead
   of matching the trigger's own width; height stays Hug (content) rather
   than Figma's literal 466px, which was just that particular mock's own
   content height for 4 rows. Sub-pixel values (11.8972px, 6.79842px, etc.)
   are kept exactly as Figma declared them, not rounded.
   Figma "Add Filter 31" (2832:10380): vertical, centred (every child is
   "Fill" width, so they stretch), 16px gap, 394px wide, "Clip content" on.
   Its 16px padding is measured from the outer edge — the 1px "Inside"
   stroke overlaps it, as on the Language modal (466 = 16 + 30 + 16 + 34 +
   16 + 4 x 54 + 16 + 48 + 16 + 42 + 16) — so here 15px + the 1px border:
   content 362px wide, 16px in from the outer edge. Figma's left/top are
   canvas coordinates. */
.esky-multiselect__modal {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 394px;
    max-width: calc(100vw - 48px);
    /* Never taller than the visible area (dvh: the phone's address bar may
       be showing); the class list gives way and scrolls. */
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 15px;
    gap: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D5 */
    border-radius: var(--esky-announcements-radius);
    box-shadow: var(--esky-announcements-shadow-panel);
}

.esky-multiselect__modal > * {
    align-self: stretch;
}

/* Figma "Frame 2147223937": title + close button pushed apart, centred,
   no padding, 16px gap, full width of the modal (align-self stretch, 362px),
   flex none. */
.esky-multiselect__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    flex: none;
    padding: 0;
    gap: 16px;
}

/* The shared panel title stretches to full width in the Language modal's
   column (align-self: stretch); in this row that same rule would stretch
   it to the header's height with the text stuck to the top. Here it hugs
   its 24px line and is centred, as in Figma. */
.esky-multiselect__header > .esky-announcement__select-panel-title {
    align-self: center;
}

/* Figma "Search": row, centred, 11.8972px 0 11.8972px 13.5968px padding,
   10.2px gap, 34px tall, full width of the modal (align-self stretch,
   362px), flex none, white, radius 6.79842, clipped. Its 0.849802px
   #AFAFAF stroke is an inset box-shadow, not a border: Chrome paints a
   sub-1px border as a solid 1px line (visibly darker) and a border would
   also push the content 1px in; the shadow keeps Figma's fractional
   stroke (measured tone 194 vs Figma's 193) and the padding measured from
   the outer edge, as in Figma. */
.esky-multiselect__search-wrap {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    flex: none;
    /* Shared search look (#1016, 28/10); Figma drew this panel at 85 %. */
    padding: 0 0 0 var(--esky-announcements-search-padding-x);
    gap: var(--esky-announcements-search-gap);
    width: 100%;
    height: 40px;   /* #1016 D10 */
    overflow: hidden;
    background: #fff;
    border: 0;
    box-shadow: inset 0 0 0 1px var(--esky-announcements-control-border);
    border-radius: var(--esky-announcements-radius-sm);
}

/* Figma "search-md": a 20.4 x 20.4 box, flex none, holding Figma's own
   exported icon (a 20.3953 viewBox; the "Icon" layer inset 12.5% on every
   side) stroked 1.6996px in General/Secondary #667085 — painted through
   currentColor. */
.esky-multiselect__search-icon {
    display: flex;
    flex: none;
    width: var(--esky-announcements-search-icon-size);
    height: var(--esky-announcements-search-icon-size);
    color: var(--esky-announcements-placeholder);
}

.esky-multiselect__search-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    flex: none;
}

/* Figma "Search for the Classes" text: Roboto 500 (inherited family),
   13.5968px / 20px, #667085 — here the input's placeholder. It starts at
   13.6 + 20.4 + 10.2 = 44.2px into the box (padding + icon + gap) and sits
   centred on the 34px box. Unlike Figma's fixed 169px text box, the input
   takes the rest of the row so a long search stays typeable; a typed value
   shows in the regular ink #1D2939 (Figma only defines the empty state).
   Fully reset so the browser adds no box of its own. */
.esky-multiselect__search-input {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 0;
    height: 20px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    font-family: inherit;
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #1d2939;
}

.esky-multiselect__search-input::placeholder {
    color: var(--esky-announcements-placeholder);
    opacity: 1;
}

/* No highlight of any kind while typing (not in Figma): cancels base.css's
   global `input:focus { border-color / box-shadow: primary !important }`
   glow — hence the !important — and the browser's own focus outline. */
.esky-multiselect__search-input:focus,
.esky-multiselect__search-input:focus-visible {
    outline: none;
    border: none !important;
    box-shadow: none !important;
}

/* Keyboard focus / typing: the shared ring around the search box. */
.esky-multiselect__search-wrap:has(.esky-multiselect__search-input:focus-visible) {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Same 4-visible-rows cap as the Language panel's own list, now needed
   here too since the real (unfiltered) group list can run well past 4 —
   "All Classes" counts as one of the 4, same as Figma's own mock (54px
   per row, 0 gap, so 4 rows = 216px, which also matches Figma's own
   literal "Options" height for this exact panel). */
/* Figma "Options": vertical, left-aligned, no padding, no gap, full width
   of the modal (align-self stretch, 362px), flex none; its rows are "Fill"
   width, so they stretch. Capped at Figma's 216px (4 x 54px) — the rest of
   the list scrolls inside it. It reaches 8px into the panel's padding on
   each side and its rows take those 8px back as padding (#1016 D31): the
   row tint gets a margin around the text and the box, which stay in line
   with the search box and the Apply button. */
.esky-multiselect__options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    /* 216 as in Figma, shrinking (and scrolling) when the modal hits its
       screen cap. */
    flex: 0 1 auto;
    min-height: 0;
    margin: 0 -8px;
    padding: 0;
    max-height: 216px;
    overflow-y: auto;
}

.esky-multiselect__options > * {
    align-self: stretch;
}

/* Figma "Checkbox": a 54px row, centred, full width of the list (362px),
   flex none — made of "Checkbox/off" (the text area: flex-grow 1, 16px 20px
   16px 0 padding) and "select checkbox" (24x24) flush against the right
   edge. The 20px right padding belongs to the text area only, so here the
   row has no padding and the label carries it. */
.esky-multiselect__row {
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    flex: none;
    width: 100%;
    height: 54px;
    padding: 0 8px;   /* #1016 D31, see .esky-multiselect__options */
    border-radius: 8px;
    cursor: pointer;
}

/* The selectable-row tint (#1016 D31), as the form's checkbox rows. */
.esky-multiselect__row:hover {
    background: var(--esky-announcements-hover-select);
}

/* Figma "Checkbox/off" > "title": takes the free width (flex-grow 1) with
   16px 20px 16px 0 padding; Roboto 400, 14px / 155%, #6D6A6A, one line.
   Long class names end in an ellipsis (the full name is in the title
   tooltip) instead of wrapping out of the fixed 54px row. */
.esky-multiselect__row-label {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    padding: 16px 20px 16px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: inherit;
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    line-height: 155%;
    color: var(--esky-announcements-label);   /* Figma v2 sucondary-color-text (it was #6D6A6A) */
}

/* Figma "select checkbox" > "check box" — exactly this SVG and nothing
   else:
     <rect x="0.5" y="0.5" width="23" height="23" rx="3.5" fill="white"
           stroke="#667085"/>
   i.e. 24x24, 1px border (Figma #667085; the control border here,
   #1016 D30), outer radius 4, flush right,
   centred on the row. Every property is set and the selector is scoped
   under the panel so neither the native checkbox, the platform's
   global `input[type=checkbox] { margin: 3px 0 0 }` (it pushed the box
   1.5px low), Bootstrap's focus outline nor base.css's `input:focus` glow
   leak in. Checked state (not in Figma): Primary fill + white check. */
.esky-multiselect__modal .esky-multiselect__checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    flex: none;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    background: transparent;   /* empty boxes are see-through (#1016 D31) */
    border: 1px solid var(--esky-announcements-control-border);
    border-radius: 4px;
    box-shadow: none;
    outline: none;
    cursor: pointer;
}

.esky-multiselect__modal .esky-multiselect__checkbox:checked {
    background-color: var(--esky-announcements-accent);
    border-color: var(--esky-announcements-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5L10 16.5L18 7.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* The "All" row with some options ticked (#1016 D9): the checked fill
   with a white dash instead of the check. */
.esky-multiselect__modal .esky-multiselect__checkbox:indeterminate {
    background-color: var(--esky-announcements-accent);
    border-color: var(--esky-announcements-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12H17' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Mouse/tap focus: no ring or glow (cancels Bootstrap's outline and
   base.css's `input:focus` !important border/box-shadow); keyboard focus
   only: the module's focus ring (#1016 D28) used across the form. */
.esky-multiselect__modal .esky-multiselect__checkbox:focus {
    outline: none;
    outline-offset: 0;
    border-color: var(--esky-announcements-control-border) !important;
    box-shadow: none !important;
}

.esky-multiselect__modal .esky-multiselect__checkbox:checked:focus,
.esky-multiselect__modal .esky-multiselect__checkbox:indeterminate:focus {
    border-color: var(--esky-announcements-accent) !important;
}

.esky-multiselect__modal .esky-multiselect__checkbox:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Session Selection: a session with no courses is listed but can't be
   picked (a reminder lists the learner's unfinished courses, so it has
   nobody to reach): grey name, light box, no hover. */
.esky-multiselect__row--disabled {
    cursor: not-allowed;
}

.esky-multiselect__row--disabled:hover {
    background: none;
}

.esky-multiselect__row--disabled .esky-multiselect__row-label {
    color: #9ca3af;
}

.esky-multiselect__modal .esky-multiselect__checkbox:disabled {
    background: #fafafa;
    border-color: #d0d5dd;
    cursor: not-allowed;
}

/* Its "No courses" badge, between the name and the box. */
.esky-multiselect__row-badge {
    flex: none;
    margin-right: 16px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 10px;
}

/* Figma "Button" (a 362 x 48 single-child wrapper, which the <button>
   itself stands in for) > "Button": row, content centred, full width of
   the modal (align-self stretch), flex none, 12px 32px padding, 8px gap,
   radius 8, Primary fill (Figma #1864AB). Medium button: 40px, 14 bold
   (#1016 D3; Figma had 48px, 16 medium). Its
   "icon" layer is hidden in Figma (display: none), so there's none here.
   Label "title": Roboto 500, 16px / 24px, white, centred, one line. */
.esky-multiselect__apply {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex: none;
    width: 100%;
    box-sizing: border-box;
    padding: 0 32px;
    gap: 8px;
    background: var(--esky-announcements-accent);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-style: normal;
    font-size: var(--esky-announcements-btn-md-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    color: #fff;
    cursor: pointer;
    height: var(--esky-announcements-btn-md-height);
}

.esky-multiselect__apply:hover {
    background: var(--esky-announcements-accent-hover);
}

/* Mouse/tap focus: no ring (not in Figma); keyboard focus only: the soft
   Primary ring used across the form. */
.esky-multiselect__apply:focus {
    outline: none;
}

.esky-multiselect__apply:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Figma "Frame 2147223608" > "selected wrap" (the outer frame is a
   single-child wrapper): row, pushed apart, centred, 12px 0 padding, 20px
   gap, radius 6, full width (align-self stretch), flex none — and a FIXED
   42px height. Its content (the 18px / 160% = 29px count) is taller than
   the 18px the padding leaves, so, as in Figma, it's centred and spills
   ~5px above and below instead of growing the bar (a hugging bar was
   52.8px and made the modal 476.8px instead of Figma's 466). Figma's
   `gap: 937px` / `margin: 0 auto` are single-child-frame artefacts. */
.esky-multiselect__footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    flex: none;
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    padding: 12px 0;
    gap: 20px;
    border-radius: 6px;
}

/* Figma "selected": "Selected" + count, 8px apart, 20px right padding,
   flex none. */
.esky-multiselect__selected {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: none;
    padding: 0 20px 0 0;
    gap: 8px;
}

/* Figma "Selected": Roboto 400, 16px / 160%, #101010. */
.esky-multiselect__selected-label {
    flex: none;
    font-family: inherit;
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    color: var(--esky-announcements-text-primary);   /* Figma v2 Font Color/titles (it was #101010) */
}

/* Figma "0": Roboto 500, 18px / 160%, #1D4393 — a blue of the primary
   family, so the system primary here. */
.esky-multiselect__selected-count {
    flex: none;
    font-family: inherit;
    font-style: normal;
    font-size: 18px;
    font-weight: 500;
    line-height: 160%;
    color: var(--esky-announcements-accent-text);
}

/* Figma "Clear Classes": Roboto 400, 14px / 155%, black, flex + centred,
   one line, flex none. A <button>: its own box and the platform's button
   weight are reset. */
.esky-multiselect__clear {
    display: flex;
    align-items: center;
    flex: none;
    margin: 0;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    line-height: 155%;
    white-space: nowrap;
    color: var(--esky-announcements-text-primary);   /* Figma v2 Font Color/titles (it was #000) */
    cursor: pointer;
}

.esky-multiselect__clear:hover {
    text-decoration: underline;
}

/* Mouse/tap focus: no ring; keyboard focus only: the module's focus ring (#1016 D28). */
.esky-multiselect__clear:focus {
    outline: none;
}

.esky-multiselect__clear:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
    border-radius: 4px;
}

/* Announcement rich-text editor (CKEDITOR.replace() renders its own chrome
   in place of the plain <textarea> this wraps). PM decision: default
   CKEditor look for now — no Figma skin. The wrapper still keeps Figma's
   "Overlay+Border+Shadow" footprint: full width of the field (align-self
   stretch, flex none) and a 240px writing area (the `height` passed to
   CKEDITOR.replace(), = Figma's Textarea min-height). The default toolbar
   is ~42px instead of Figma's ~50px + 7px bottom padding, so the whole box
   is ~284px vs Figma's 298.67px — toolbar chrome only. */
.esky-announcement__editor {
    align-self: stretch;
    flex: none;
    width: 100%;
}

/* Required-field error state (Publish clicked with the field still empty).
   Same red as .esky-announcement__required-mark. !important because
   CKEditor's moono skin sets the .cke_chrome border at a higher
   specificity. */
.esky-announcement__editor--invalid .cke_chrome {
    border-color: var(--ea-danger) !important;
}

/* Keyboard focus (WCAG 2.4.7 + 1.4.11, audit H4), same shared ring as the
   rest of the form (--esky-focus-outline). CKEditor's default look stays
   (PM decision); only the ring is added:
   - around the whole editor while the caret or the toolbar has focus —
     CKEditor 4 adds .cke_focus to its container then (the writing area is
     an iframe, so :focus-visible never reaches it);
   - on the toolbar button that has keyboard focus (Alt+F10, then arrows /
     Tab between groups): the skin's own mark, a #BCBCBC box, is 1.79:1
     against the #F8F8F8 toolbar (3:1 needed). Drawn inside the button so
     it never covers the next one; not shown on mouse clicks.
   The Session Reminder editor takes the same two rings (#1016): its own
   rules hung on a class (.esky-reminder--figma-editor) that the page no
   longer has, so its writing area and toolbar showed no focus at all. */
.esky-announcement__editor .cke.cke_focus,
.esky-reminder__editor .cke.cke_focus {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

.esky-announcement__editor a.cke_button:focus-visible,
.esky-announcement__editor a.cke_combo_button:focus-visible,
.esky-reminder__editor a.cke_button:focus-visible,
.esky-reminder__editor a.cke_combo_button:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: -2px;
}

/* CKEditor's own dialogs (Image Properties, Link…) on phones (<= 767px,
   the system's phone breakpoint). CKEditor 4 lays them out with nested
   tables, a fixed 500px body and inline field widths (45px / 60px), so on
   a 360px phone the Image dialog ran 76px past the right edge. CKEditor's
   own look is kept (PM decision); only the layout is redone for phones:
   - the dialog spans the screen minus 8px each side, pinned 8px from the
     top, and only its content scrolls (capped to the screen height; 164px
     = title + tabs + margins + footer), so Accept/Cancel stay visible;
   - its content tables become blocks/flex with ONE spacing rhythm: 16px
     under the tabs, 12px between every row;
   - fields fill the width, grouped the way a phone reads them: URL, Alt
     text; Width · Height · lock/reset on one row; Border · H-space ·
     V-space on one row of three; Alignment full width; then the preview,
     full width with no scrollbar of its own.
   CKEditor's hooks used: .cke_dialog_image_url, .cke_dialog_image_ratiolock,
   .ImagePreviewBox (the rest by structure, direct-child selectors only).
   Scoped to the dialogs of the two message editors of the announcement
   system — Announcement ("announcement-content") and Session Reminders
   ("reminder-message") — through the editor-specific class CKEditor puts on
   the dialogs it appends to <body>; :is() keeps a single class's
   specificity. Desktop is untouched. */
@media (max-width: 767px) {
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog {
        top: 8px !important;
        left: 8px !important;
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px);
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) table.cke_dialog_contents,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) table.cke_dialog_contents > tbody,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) table.cke_dialog_contents > tbody > tr,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) td.cke_dialog_contents_body,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) td.cke_dialog_footer {
        display: block;
        box-sizing: border-box;
        width: auto !important;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body table,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body tbody,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body tr,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body td {
        display: block;
        box-sizing: border-box;
        max-width: 100%;
        width: auto !important;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body {
        height: auto !important;
        max-height: calc(100vh - 16px - 164px);
        /* Visible area, not the bar-hidden 100vh (see .esky-announcements__preview). */
        max-height: calc(100dvh - 16px - 164px);
        overflow-y: auto;
        margin-top: 0;
        padding: 16px 10px 12px;
    }

    /* One spacing rhythm: CKEditor's own hbox/vbox/field margins and cell
       paddings off, 12px flex gaps instead. */
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body .cke_dialog_ui_hbox,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body tr.cke_dialog_ui_hbox,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body .cke_dialog_ui_text,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body .cke_dialog_ui_select {
        margin-top: 0;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body td {
        padding: 0 !important;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_page_contents > table > tbody,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body .cke_dialog_ui_vbox > table > tbody,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body tr.cke_dialog_ui_hbox {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* The URL row keeps an empty column for a "browse server" button that
       isn't shown — no gap for it. */
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_image_url tr.cke_dialog_ui_hbox {
        gap: 0;
    }

    /* Full-width fields (overrides CKEditor's inline 45px / 60px widths
       and its 1px input margins). */
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body div.cke_dialog_ui_input_text,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body div.cke_dialog_ui_input_select,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body .cke_dialog_ui_text,
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body .cke_dialog_ui_select {
        width: 100% !important;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body select.cke_dialog_ui_input_select {
        width: 100% !important;
        margin: 0;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body input.cke_dialog_ui_input_text {
        margin-left: 0;
    }

    /* Width · Height · lock/reset on one row, the icons centred on the
       inputs. */
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body tr.cke_dialog_ui_hbox:has(> td > .cke_dialog_image_ratiolock) {
        flex-direction: row;
        align-items: flex-end;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body tr.cke_dialog_ui_hbox:has(> td > .cke_dialog_image_ratiolock) > td:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body tr.cke_dialog_ui_hbox:has(> td > .cke_dialog_image_ratiolock) > td:first-child .cke_dialog_ui_vbox > table > tbody {
        flex-direction: row;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body tr.cke_dialog_ui_hbox:has(> td > .cke_dialog_image_ratiolock) > td:first-child .cke_dialog_ui_vbox > table > tbody > tr {
        flex: 1 1 0;
        min-width: 0;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_image_ratiolock {
        display: flex !important;
        align-items: center;
        gap: 4px;
        width: auto !important;
        height: 28px !important;
        margin-top: 0 !important;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_image_ratiolock a {
        float: none !important;
    }

    /* Border · H-space · V-space on one row of three, Alignment below at
       full width. */
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body .cke_dialog_ui_vbox > table > tbody:has(> tr:nth-child(4) > td > .cke_dialog_ui_select) {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_contents_body .cke_dialog_ui_vbox > table > tbody:has(> tr:nth-child(4) > td > .cke_dialog_ui_select) > tr:nth-child(4) {
        grid-column: 1 / -1;
    }

    /* Preview: full width, fixed 160px, no scrollbar of its own. */
    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_ui_html:has(.ImagePreviewBox) {
        width: 100% !important;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .cke_dialog_ui_html:has(.ImagePreviewBox) > br {
        display: none;
    }

    :is(.cke_editor_announcement-content_dialog, .cke_editor_reminder-message_dialog) .ImagePreviewBox {
        box-sizing: border-box;
        width: 100% !important;
        height: 160px !important;
        overflow: hidden !important;
        margin-top: 4px;
    }
}

/* Figma "Input" (date field): same 40px-tall (#1016 D10) / border language
   as the selects (9x16 padding), full width of the field, flex none; text +
   calendar-icon trigger ("Button menu") pushed to opposite ends. */
.esky-announcement__date-field {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    flex: none;
    gap: 8px;
    width: 100%;
    padding: 9px 16px;   /* 40px tall (#1016 D10) */
    background: #fff;
    border: 1px solid var(--esky-announcements-control-border);
    border-radius: 8px;
    /* The field is a picker trigger, not a text box (the input is
       readonly; a click anywhere opens the calendar) — so the hand cursor,
       same as the Language / Class selects. */
    cursor: pointer;
}

/* Required-field / coherence error state — same red as
   .esky-announcement__field-input--invalid. Used for "empty" on either
   field, and for End specifically when it isn't after Start. */
.esky-announcement__date-field--invalid {
    border-color: var(--ea-danger);
}

/* No focus/hover state here on purpose — Figma's "Input" only defines the
   static #C2C6D7 border above, nothing else. (Previously had a themed
   focus-within glow; removed per explicit request — it read as an
   unrequested green highlight, since --ea-primary resolves to this site's
   green accent, not something Figma called for on this field.) */

/* The date-time picker (EskyDateTimePicker) wraps this input in its own
   div.esky-datepicker, which is what actually flexes inside the field — so
   the input also needs width 100%, or it keeps the browser's default ~179px
   and a value ("dd/mm/yyyy, hh:mm AM/PM", ~180px) clips. */
.esky-announcement__date-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none;
    padding: 0;
    background: transparent;
    /* Readonly picker trigger: hand cursor, not the text I-beam an <input>
       shows by default. */
    cursor: pointer;
    font-family: inherit;
    font-style: normal;
    /* Figma: Roboto 400. Explicit — the platform's global input styles
       would otherwise make it 500. */
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1d2939;
}

.esky-announcement__date-input:focus {
    outline: none;
    /* !important to beat the platform's global `input:focus` accent glow
       (base.css `input:focus`, ~line 11204) — Figma's Input has no focus
       state at all, just the static #C2C6D7 border. */
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Keyboard focus: the shared ring around the field's visible box (the
   wrapper draws the border; the read-only input inside is borderless). */
.esky-announcement__date-field:has(.esky-announcement__date-input:focus-visible) {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* "Select date and time" (AnnouncementSelectDateTime) — an action
   prompt rather than a format mask, since the field is readonly and filled
   by the picker; the chosen value then shows in dd/mm/yyyy, hh:mm AM/PM.
   Muted #667085, the same as the Title placeholder, so an empty field never
   reads as a filled one (Figma's mm/dd/yyyy mask was in value ink). */
.esky-announcement__date-input::placeholder {
    color: var(--esky-announcements-placeholder);
    opacity: 1;
}

/* The field is a <button> since 28/10 (it only opens the picker): no
   button look, the text starts at the left like the Language / Class
   selects, and the "Select date and time" hint is greyed like a
   placeholder (#1016). */
button.esky-announcement__date-input {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.esky-announcement__date-input.is-placeholder {
    color: var(--esky-announcements-placeholder);
}

/* Figma "Button menu": 18x18 with 2px padding around the 14px calendar
   icon (centred here instead — same box), flex none. */
.esky-announcement__date-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* EskyDatePicker() wraps its target input in a `width:100%` span
   (esky-components.js) — correct when that input is the field's only
   child, but here it has a sibling icon, so 100% would overflow the
   row. Shrink the wrapper back down to the input's own share. */
.esky-announcement__date-field .esky-datepicker {
    width: auto;
    flex: 1;
    min-width: 0;
}

/* Figma "Container" (row): the two-column body of Section 4 — horizontal,
   centred, top-aligned, no padding, 48px gap, two equal columns. Fills the
   card's width (align-self stretch; Figma's 1408 px is that width), hugs
   its height, flex none. */
.esky-announcement__targeting-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    flex: none;
    padding: 0;
    gap: 48px;
    width: 100%;
}

/* Phones (<= 767px, the system's phone breakpoint): side by side each
   column drops to ~120-300px and even "Add to calendar" wraps, so the
   Audience and Notification columns stack, full width, 24px apart — the
   same gap as the card's header-to-content gap on phones, and still more
   than the 16px inside each column, so the two groups read as separate. */
@media (max-width: 767px) {
    .esky-announcement__targeting-row {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    /* Scoped under the row so it outranks the base
       .esky-announcement__targeting-col rule, which comes later in this
       file and would otherwise put flex: 1 back. */
    .esky-announcement__targeting-row > .esky-announcement__targeting-col {
        flex: none;
    }
}

/* Figma "Container" (column): vertical, left-aligned, no padding, 16px
   between the column's own heading and its first group — the Audience
   column's own top-level gap. The Notification column overrides this to
   40px (see --notifications). Takes an equal share of the row (flex-grow
   1; Figma's 680 px is that share). Its children are "Fill" width in
   Figma, so they stretch across the column. */
.esky-announcement__targeting-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    padding: 0;
    gap: 16px;
}

.esky-announcement__targeting-col > * {
    align-self: stretch;
}

/* Figma "Container" (Notification column): same column, 40px between the
   channels block and the test-email box. Figma also gives it a 37.5px
   bottom padding — deliberately not applied: it only adds empty space
   under the test-email box (with fewer audience roles than the mockup's
   6, this column is the taller one and that padding would stretch the
   card; stacked on phones it would sit as a blank band at the card's
   bottom), and it never shows in the Figma frame itself. */
.esky-announcement__targeting-col--notifications {
    padding: 0;
    gap: 40px;
}

/* Figma "Container" > "Audience Selection" / "Notification Channels"
   text: Roboto (site font, inherited, stands in for the Figma-only
   "Roboto Flex" family) 400, 16px, 24px line height, optical size 16, in
   the label colour like every other field label (#1016 D25b: Figma drew
   these two in #1D2939, the other five labels in #444750); flex,
   vertically centred, full width of its column (the h3 carries Figma's
   single-child wrapper too). */
.esky-announcement__targeting-heading {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: none;
    margin: 0;
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    font-variation-settings: 'opsz' 16;
    color: var(--esky-announcements-label);
}

/* Figma "Container" (checkbox stack): vertical, left-aligned, no padding,
   12px gap between rows (Audience Selection: 6 x 40 + 5 x 12 = 300px in
   Figma). The Notification list uses the same 12px (#1016 D25b: Figma drew
   it at 16px with bare rows; roles and channels are the same level). Full
   width of its column (align-self stretch), flex none; its rows are "Fill"
   width in Figma, so they stretch too. */
.esky-announcement__checkbox-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    flex: none;
    padding: 0;
    gap: 12px;
}

.esky-announcement__checkbox-list > * {
    align-self: stretch;
}

/* Required-field error state for Audience Selection (Publish clicked with
   zero roles checked) — same red as .esky-announcement__required-mark. An
   outline, not a border: it takes no space, so the list keeps Figma's
   exact size and toggling the error causes no layout shift. */
.esky-announcement__checkbox-list--invalid {
    outline: 1px solid var(--ea-danger);
}

/* Figma "Label" (Audience row): horizontal, centred, 8px padding, 12px
   gap, radius 4 — a 40px-tall clickable row, full width of the list
   (align-self stretch), flex none. The Notification rows use it too
   (#1016 D25b): Figma drew them bare and 24px tall; the padding gives the
   same click area and hover as the roles. */
.esky-announcement__checkbox-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    flex: none;
    gap: 12px;
    /* margin:0 cancels the theme's global `label { margin-bottom: 5px }`
       (Bootstrap), which otherwise adds 5px to every gap in the list. */
    margin: 0;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.esky-announcement__checkbox-row:hover {
    background: var(--esky-announcements-hover-select);   /* #1016 D31 */
}

/* Figma "Input" — exactly this SVG and nothing else:
     <rect x="0.5" y="0.5" width="19" height="19" rx="7.5" stroke="#C2C6D7"/>
   i.e. a 20x20 box, 1px #C2C6D7 border, outer radius 8, NO fill
   (transparent). Every property is set explicitly and the selector is
   scoped under .esky-announcement so neither the browser's native checkbox
   nor the platform's global `input[type=checkbox] { margin: 3px 0 0 }`
   (base.css ~l.645, more specific than a bare class — it was pushing the
   box 3px off-centre) leaks in. Checked state fills Primary with a white
   checkmark. */
.esky-announcement .esky-announcement__checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    flex: none;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 1px solid var(--esky-announcements-control-border);
    border-radius: 8px;
    box-shadow: none;
    outline: none;
    vertical-align: middle;
    cursor: pointer;
}

.esky-announcement .esky-announcement__checkbox:checked {
    background-color: var(--ea-primary);
    border-color: var(--ea-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 10.5L8.5 14L15 6.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Clicking a checkbox focuses it, and two platform-wide focus styles then
   paint over the Figma box: Bootstrap's `input[type="checkbox"]:focus
   { outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px }`
   (Chrome's native ring, drawn as a dark ring INSIDE the box) and base.css
   `input:focus { border-color / box-shadow: primary !important }` (a glow
   around it). Neither is in Figma — cancel both; the !important is needed
   to beat the global rule's own !important. */
.esky-announcement .esky-announcement__checkbox:focus {
    outline: none;
    outline-offset: 0;
    border-color: var(--esky-announcements-control-border) !important;
    box-shadow: none !important;
}

.esky-announcement .esky-announcement__checkbox:checked:focus {
    border-color: var(--ea-primary) !important;
}

/* Keyboard focus only (never on mouse click/tap) — not in Figma, kept for
   accessibility so keyboard users can see where they are. Declared after
   the :focus reset above so it wins for Tab navigation. */
.esky-announcement .esky-announcement__checkbox:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* The test-email checkbox is the same 20px box as the roles and channels
   above (#1016 D27: Figma drew it a 16px circle, smaller and set ~9px in),
   with the darker border its tinted box needs (1.4.11), unchecked only. */
.esky-announcement .esky-announcement__test-email .esky-announcement__checkbox:not(:checked),
.esky-announcement .esky-announcement__test-email .esky-announcement__checkbox:not(:checked):focus {
    border-color: var(--esky-announcements-control-border-on-tint) !important;
}

/* Figma "Container" > "Container" > "Text": every option — roles and
   notification channels — Roboto 400 16/24 in #1D2939, optical size 16
   (#1016 D25b: Figma drew the two channels in #444750; the roles had been
   coded at weight 500, Figma v2 has them Regular); flex, vertically centred,
   hugging the text (the span carries Figma's two single-child wrappers).
   Roboto (inherited) stands in for Figma's "Roboto Flex". Figma has it
   flex none; here it may still shrink (never grow) so a long label —
   "Send immediate email notification" in a ~300px column at 768px —
   wraps to a second line instead of overflowing its row. */
.esky-announcement__checkbox-text {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    font-style: normal;
    font-variation-settings: 'opsz' 16;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--esky-announcements-text-primary);
}

/* Figma "Container" (notification-block): title + its own 2-row list —
   vertical, left-aligned, no padding, 16px gap (24 + 16 + 64 = 104px).
   Full width of the column (align-self stretch), flex none; the heading and
   the list inside stretch themselves (their own rules). */
.esky-announcement__notification-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    flex: none;
    padding: 0;
    gap: 16px;
}

/* Figma "Background+Border" > "Label": the highlighted test-email row —
   16px padding, 1px rgba(194,198,215,0.3) border, radius 8, full width of
   the column (align-self stretch), flex none; 52px tall (1 + 16 + 18 + 16
   + 1). Figma nests a row "Label" (top-aligned, 12px gap) inside the box;
   this <label> is both. Fill: Figma's #EFF4FF is its blue primary at a
   light tint, so it uses the system primary's soft tint instead. */
.esky-announcement__test-email {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    flex: none;
    gap: 12px;
    /* It's a <label>: cancel the theme's global `label { margin-bottom: 5px }`
       (Bootstrap), which added 5px under the Notification column. The box
       reaches 9px out on each side (#1016 D27) so its checkbox and text
       line up with the rows above: they sit 8px in (row padding), this
       one 17px in (16 padding + 1 border). The width says so explicitly:
       stretch alone kept the column's width and shifted the box left
       (Bootstrap caps every label at max-width: 100%). */
    width: calc(100% + 18px);
    max-width: none;
    margin: 0 -9px;
    padding: 16px;
    background: var(--ea-primary-soft);
    border: 1px solid var(--esky-announcements-divider);   /* Figma v2 strock (it was the earlier #C2C6D7 at 30%) */
    border-radius: 8px;
    cursor: pointer;
}

/* Figma "Container" > "Send an email to myself for testing purposes":
   Roboto 400, 13px / 16px, #195EC7 (Figma variable "due-in", a blue from
   the primary family — the system primary here); flex, vertically centred.
   May shrink (never grow) so it wraps inside the box on narrow columns. */
.esky-announcement__test-email-text {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    font-style: normal;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: var(--esky-announcements-accent-text);
}

/* Figma "Footer Actions": flat white bar, right-aligned buttons, 16px
   gap, top divider only (no shadow/radius — this isn't a card). */
.esky-announcement__footer {
    /* Sticks to the viewport bottom while scrolling, same as
       .esky-reminder__nav — only settles into its real position once the
       page is scrolled all the way down. */
    position: sticky;
    bottom: 0;
    z-index: 10;
    /* Figma "Footer Actions": horizontal, right-aligned, centred, 16px
       padding, 97px tall, white, 1px rgba(194,198,215,0.2) top border; full
       width of the form (align-self stretch), flex none. Figma groups the
       two buttons in a row with a 16px gap — the footer's own gap here.
       The shadow is not in Figma: it separates the bar from the content
       scrolling under it while it's stuck to the bottom. */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
    flex: none;
    gap: 16px;
    width: 100%;
    min-height: 97px;
    padding: 16px;
    background: #fff;
    border-top: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    box-shadow: 0 -6px 20px rgba(16, 24, 40, 0.06);
}

/* Phones and small tablets (<= 820px): the theme (default.css) sets
   `:root { overflow-y: hidden | auto }` at this width. With <html> no
   longer overflow:visible, <body>'s own `overflow-y: auto` (theme) stops
   propagating to the viewport and <body> becomes a scroll container that
   never scrolls — so the sticky footer anchored to it instead of the
   viewport and never stuck. On this page only, <body> goes back to
   overflow:visible; the page still scrolls through <html> as before. */
@media only screen and (max-width: 820px) {
    body:has(.esky-announcement),
    body:has(.esky-reminder) {
        overflow: visible;
    }
}

/* Phones (<= 767px, the system's phone breakpoint): the actions bar
   sits at the end of the form instead of sticking to the screen. A 97px
   sticky bar is ~15-17% of a phone's visible height, and with the
   on-screen keyboard open it can ride up and cover the field being typed
   in; on a phone the natural flow is top-to-bottom, ending on the buttons
   (and on the required-fields message shown next to them). Sticky stays
   from 768px up, where the form is long and there's room for it. */
@media (max-width: 767px) {
    .esky-announcement__footer {
        position: static;
        box-shadow: none;
    }
}

/* Required-fields warning in the footer — the same box the Session Reminder
   form shows (.esky-reminder__form-error): red text on an 8% red wash with a
   4px red left edge. It takes the free space on the left, so the buttons
   stay pinned right whether it is showing or not. */
.esky-announcement__form-error {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--ea-danger);
    background: color-mix(in srgb, var(--ea-danger) 8%, white);
    border-left: 4px solid var(--ea-danger);
    border-radius: 8px;
}

.esky-announcement__form-error[hidden] {
    display: none;
}

.esky-announcement__form-error svg {
    flex: none;
    width: 15px;
    height: 15px;
}

.esky-announcement__btn {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: 8px;
    border-radius: 8px;
    font-family: inherit;
    font-style: normal;
    /* Bold on both buttons (#1016 D3; Figma had 400). Explicit — the
       platform's global button styles would otherwise make them 500. */
    font-weight: var(--esky-announcements-btn-weight);
    text-align: center;
    cursor: pointer;
}

/* Keyboard focus only (never on mouse click/tap) — not in Figma; the same
   the module's focus ring (#1016 D28) as the checkboxes instead of the browser's native
   focus outline, so keyboard users still see where they are. */
.esky-announcement__btn:focus {
    outline: none;
}

.esky-announcement__btn:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Figma "Button" (Draft): vertical auto layout, content centred, radius 8,
   hugs its label. The neutral secondary button (#1016 D29): 1px strock
   border, label in the titles colour; size and weight from D3. */
.esky-announcement__btn--outline {
    flex-direction: column;
    padding: 8px 24px;
    background: transparent;
    border: 1px solid var(--esky-announcements-btn-secondary-border);
    font-size: var(--esky-announcements-btn-lg-font);
    line-height: 20px;
    color: var(--esky-announcements-btn-secondary-text);
    height: var(--esky-announcements-btn-lg-height);
    font-weight: var(--esky-announcements-btn-weight);
}

.esky-announcement__btn--outline:hover {
    background: var(--esky-announcements-hover-overlay);
}

/* Figma "Button" (Publish Announcement): horizontal auto layout, content
   centred, 8px 24px padding, 8px gap (icon + label), radius 8, soft
   0 1px 2px shadow, 215.25 x 46.5. Fill: Figma #1864AB is its primary —
   the system primary here. Label: Roboto 400, 14px/20px, white, one line
   (nowrap: on phones the buttons go full width instead of wrapping it). */
.esky-announcement__btn--primary {
    flex-direction: row;
    white-space: nowrap;
    /* Large button (#1016 D3): 46.5px, the same as Draft next to it.
       Figma fixes this height on the node, independent of the 8px
       vertical padding (which alone would only reach 36px). */
    height: var(--esky-announcements-btn-lg-height);
    padding: 8px 24px;
    background: var(--ea-primary);
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: var(--esky-announcements-btn-lg-font);
    line-height: 20px;
    color: #fff;
    font-weight: var(--esky-announcements-btn-weight);
}

.esky-announcement__btn--primary:hover {
    background: var(--ea-primary-dark);
}

/* Figma "Container" > "Icon": the 14.25 x 12 white send arrow, flex none
   (size from the SVG's own width/height attributes). */
.esky-announcement__btn--primary svg {
    display: block;
    flex: none;
}

/* Phones (<= 767px, the system's phone breakpoint): Draft + Publish side
   by side need ~316px, more than a 360px phone's footer has (296px) —
   Publish's label wrapped or Draft got pushed off the left edge. So the
   actions stack, full width, Publish
   (the main action) first, then Draft; the required-fields message, when
   shown, sits above both. Full-width buttons are also easier thumb
   targets. The footer isn't sticky at this width (see above). */
@media (max-width: 767px) {
    .esky-announcement__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .esky-announcement__form-error {
        flex: none;
        order: 0;
    }

    .esky-announcement__btn--primary {
        order: 1;
    }

    .esky-announcement__btn--outline {
        order: 2;
    }
}

/* ================================================================
   Block: esky-reminder
   Page: automated_announcements/configure_reminders.php
   ================================================================ */

.esky-reminder,
#reminder-session-modal,
#reminder-preview-modal,
#reminder-test-success-overlay {
    /* Figma "General/Primary" — #193BFF, same accent as the Announcements
       module. */
    --er-primary: var(--esky-announcements-accent);
    --er-primary-dark: var(--esky-announcements-accent-hover);
    --er-primary-soft: var(--esky-announcements-accent-soft);
    --er-primary-border: color-mix(in srgb, var(--main-color-background-image) 20%, white);
    --er-card: #ffffff;
    --er-border: #e3e6ea;
    /* Figma: every field border on this form is #C2C6D7 at 50% — one token
       so inputs, the sessions combo, its dropdown and the editor stay uniform. */
    --er-input-border: var(--esky-announcements-control-border);
    --er-placeholder: var(--esky-announcements-placeholder);
    --er-ink: var(--esky-announcements-text-primary);
    --er-ink-soft: #344054;
    --er-muted: #667085;
    --er-danger: var(--esky-announcements-danger);   /* #1016: one red for errors and Delete */
    --er-radius: 10px;
    --er-radius-sm: var(--esky-announcements-radius-sm);
}

.esky-reminder {
    /* Figma "Table": vertical, content centred on the main axis and
       left-aligned (its sections are "Fill" width, so they stretch — see
       below), 16px between sections (header / cards / footer), 16px padding
       all round, #F5F6F8. No border — the module sits flush with the app
       chrome, same as .esky-announcement (Figma's 0.96px #EAECF0 stroke,
       absolute position, fixed 1506 x 1375 size and overflow-y: scroll
       describe the mock's artboard, not the page). */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 16px;
    background: #f5f6f8;
    font-family: var(--font-primary), sans-serif;
    font-size: 14px;
    color: var(--er-ink);
}

.esky-reminder > * {
    align-self: stretch;
}

.esky-reminder *,
.esky-reminder *::before,
.esky-reminder *::after {
    box-sizing: border-box;
}

/* The page header (breadcrumb + title / subtitle) is the shared
   .esky-page-header block — see it up near the Announcements module. */

/* ── Two-column card layout (2fr | 1fr) ──────────────────────── */

.esky-reminder__layout {
    /* Figma "Form": grid, 3 equal columns, 24px gap. The main column spans
       2 tracks, the side column 1 — a clean 2 : 1. */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.esky-reminder__col {
    /* Figma "Main Form Section" / "Sidebar Section": vertical, 16px between
       cards, no padding. (The grid's own column gap between the two columns
       stays 24px.) Figma's fixed height (1136) and absolute left/right/top are
       canvas coordinates — the column hugs its cards and sits in the grid. */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
}

/* Figma lays the column out flex-start but every card is "Fill" width —
   stretch each direct child back to the full column width. */
.esky-reminder__col > * {
    align-self: stretch;
}

.esky-reminder__col--main {
    /* Figma "Main Form Section": spans 2 grid tracks. min-width 0 lets the
       grid track stay at its share: without it a long selected-session chip
       (nowrap) grows the column past the card on phones instead of
       ellipsizing. */
    grid-column: span 2;
    min-width: 0;
}

/* .esky-reminder__col--side ("Sidebar Section") spans one track — the grid default. */


/* Reminder variant — Figma "Card N": no padding of its own (header and
   body carry it). Figma's fixed 974.67 x 169 is the canvas size; the shared
   base keeps the card at its content height. */
.esky-reminder__card {
    padding: 0;
}

/* Figma lays the card out flex-start but its header and body are "Fill"
   width — stretch each direct child back to the full card width. */
.esky-reminder__card > * {
    align-self: stretch;
}

/* Figma "HorizontalBorder": horizontal flow, width fill / height hug (57px),
   gap 8, padding [16 24 16 24], centred, 1px bottom divider in the divider grey (#1016 D30).
   `flex: none` so it never shrinks inside the card column. */
.esky-reminder__card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: none;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
}

/* Card 3's header also carries the "Reminder Preview" button; it grows to fit. */
.esky-reminder__card-header--with-action {
    gap: 8px;
}

/* Figma groups icon+title in their own row, separate from the action button. */
.esky-reminder__card-header-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Figma "Container": vertical flow, top-left aligned, hugs the icon on both
   axes (colour from the shared card icon above, via fill="currentColor"). */
.esky-reminder__card-icon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Let the icon paint past its box: Figma exports these SVGs with
   overflow="visible", and clipping at a fractional edge drops the last
   anti-aliased row of pixels. */
.esky-reminder__card-icon svg {
    flex: none;
    overflow: visible;
}

/* Card 1 "Container": exactly 16.67 x 13.33 in Figma. The SVG is Figma's
   17 x 14 export (a 16.67 px wide SVG gets pixel-snapped to 17 and stretched
   ~2%); the box keeps the Figma size so the title still starts 8px after
   16.67. Pixel-compared with the Figma SVG: identical. */
.esky-reminder__card-icon--identification {
    width: 16.67px;
    height: 13.33px;
}

/* Card 2 "Container": exactly 20 x 19.17 in Figma (hugging the SVG alone
   gives 19.156 — Chrome snaps its 19.1667 height to 1/64 px). The SVG keeps
   Figma's preserveAspectRatio="none" so it scales like the export:
   pixel-compared with the Figma SVG, identical. */
.esky-reminder__card-icon--session {
    width: 20px;
    height: 19.17px;
}

/* Figma "Heading 3" > "Text" (hug/hug wrapper + the title text):
   Roboto Medium (size, line and colour from the shared card title above).
   Family inherited from .esky-reminder (var(--font-primary), which is
   Roboto platform-wide).
   Figma's `flex: none` is not applied: in the narrow sidebar (1024px) and on
   phones the titles must be able to shrink and wrap ("5. Reminder Schedule",
   "3. Reminder Message") instead of overflowing the card. Fixed widths
   (184.45, 145…) are the text's own hug width, not a requirement. */
.esky-reminder__card-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    font-weight: 500;
}

/* Figma "Button:margin": takes the rest of the header row (flex-grow 1)
   and pins the Preview button to its right edge (column, align end).
   Figma's 310px left padding and 738px width are canvas leftovers; its
   min-width (93.42) is kept. */
.esky-reminder__card-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1 0 auto;
    min-width: 93.42px;
    padding: 0;
}

/* Figma "Container": vertical, top-left aligned, gap 8, padding 24 all
   round, never shrinks in the card. Figma's 972.67 x 110 is the canvas size
   (card 1's body does measure 110). */
.esky-reminder__card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    gap: 8px;
    padding: 24px;
}

/* Figma lays the body out flex-start but its label and control are "Fill"
   width — stretch each direct child back to the full body width. */
.esky-reminder__card-body > * {
    align-self: stretch;
}

.esky-reminder__card-body--inner {
    gap: 16px;
    padding: 0;
}

.esky-reminder__card-body--form {
    gap: 24px;
}

/* ── Fields, labels, hints ───────────────────────────────────── */

.esky-reminder__field {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    gap: 8px;
}

.esky-reminder__field--compact {
    gap: 8px;
}

/* "Days Before Session Due" (Figma "Container"): gap 4 with a 4px bottom
   padding on its label — label → field 8 (the gap every other field uses)
   and field → hint 4. "Send Time" has no hint and keeps the plain gap 8. */
.esky-reminder__field--compact:has(> #reminder-days) {
    gap: 4px;
}

label[for="reminder-days"].esky-reminder__label {
    padding-bottom: 4px;
}

.esky-reminder__label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    color: var(--esky-announcements-label);
}

.esky-reminder__delivery-type {
    display: flex;
    flex-direction: column;
    height: 80px;
    gap: 12px;
}

/* Figma "Label" wrapper when the label text is its own element (card 1,
   "Reminder Name"): vertical, top-left, no padding, and the text inside
   fills the row (Figma: align-self stretch, 12/16 centred). */
.esky-reminder__label--stacked {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}

.esky-reminder__label--stacked > .esky-reminder__label-text {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: none;
}

/* Figma field label: Roboto 400 12/16 in the label colour (#444750, #1016
   D25b; family inherited). */
.esky-reminder__label-text {
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    color: var(--esky-announcements-label);
}

/* Figma "hint": Roboto 400 11/14 #424754 — not italic. */
.esky-reminder__hint {
    margin: 0;
    font-weight: 400;
    font-size: var(--esky-announcements-hint-font);
    line-height: var(--esky-announcements-hint-line);
    letter-spacing: 0;
    color: #424754;
}

/* Card 4's progress-condition disclaimer and Card 6's test-email note:
   Figma "Container" > text — Roboto 400 11/14 in #444750
   (--sucondary-color-text-), filling the body's width. */
.esky-reminder__hint--faint {
    align-self: stretch;
    color: #444750;
}

.esky-reminder__hint--italic {
    font-style: italic;
}

/* Card 2's hint ("Reminder will be sent to all eligible learners…") is
   Figma's --sucondary-color-text- #444750, italic — not the #424754 of the
   base hint. */
.esky-reminder__hint--secondary {
    color: #444750;
}

/* Days-before-due hint ("If 0 or empty, reminder will be sent
   immediately."): Roboto 400 italic 11/14, in the same grey as the form's
   other hints (#1016, 28/10: the Figma component said #667085, the page
   #444750 — one grey for one role). */
.esky-reminder__hint--faint-60 {
    color: var(--esky-announcements-label);
}

/* ── Inputs ──────────────────────────────────────────────────── */

/* Figma "Input": width fill, height hug (38px = 16 content + 10/10 pad +
   1/1 border), padding [10 12 10 12], radius 8, 1px border #C2C6D7 at 50%
   on white. Text Roboto 400 14, placeholder #6B7280. */
.esky-reminder__input {
    width: 100%;
    padding: 9px 12px;   /* 40px tall (#1016 D10) */
    /* form controls don't inherit font-family from the UA sheet — pull it
       back from the .esky-reminder context (Roboto). */
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1d2939;
    background: #fff;
    border: 1px solid var(--er-input-border);
    border-radius: 8px;
}

.esky-reminder__input::placeholder {
    color: var(--esky-announcements-placeholder);
    opacity: 1;
}

/* Number fields ("1+" incomplete courses, days before due): Figma draws a
   plain box — no browser up/down spinners (Chrome shows them on hover). */
.esky-reminder__input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.esky-reminder__input[type="number"]::-webkit-inner-spin-button,
.esky-reminder__input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Card 1 "Reminder Name" input in Figma: padding [10 12] around a 16px
   line (14/16). 40px tall like every field (#1016 D10): 11 + 16 + 11 +
   the 1px border top and bottom. */
.esky-reminder__input--name {
    padding: 11px 12px;
    line-height: 16px;
}

.esky-reminder__input:focus {
    outline: none;
    /* No colour change on focus — Figma has no focus state; the field keeps
       its resting border and keyboard focus gets the module's ring (#1016
       D28, end of file). !important beats the platform's global
       `input:focus` accent border + glow. */
    border-color: var(--er-input-border) !important;
    box-shadow: none !important;
}

/* Required-field marker on labels — same pattern as
   .esky-announcement__required-mark (Announcements), this module's own red
   token instead of that one's hardcoded #BA1A1A. Decorative only
   (aria-hidden in the markup). */
.esky-reminder__required-mark {
    color: var(--er-danger);
    margin-left: 2px;
}

/* Required-field validation: a missed required field is flagged on submit
   with a red border only — no per-field message, the shared banner at the
   bottom of the form (#reminder-form-error) already says so once. Same
   standard as Announcements (asterisk + border, no repeated text).
   .esky-reminder__combo-box--error lives further down, right after
   .esky-reminder__combo-box's own rules — same-specificity selectors are
   decided by source order, so it has to come after the base border it
   overrides, not before it. */
.esky-reminder__input--error {
    border-color: var(--er-danger);
}

/* A flagged field keeps its red border while typing — still no glow. */
.esky-reminder__input--error:focus {
    border-color: var(--er-danger) !important;
    box-shadow: none !important;
}

/* Wrapper for the Message CKEditor — CKEDITOR.replace() renders its own
   chrome in place of the <textarea> this wraps, same as
   .esky-announcement__editor. Required-field error state needs
   !important to beat CKEditor's own skin, which sets .cke_chrome's border
   directly at a specificity this file's scoped rule doesn't beat otherwise. */
/* Figma "Border" (the editor box): width fill, never shrinks — same rule
   as .esky-announcement__editor. Its look is CKEditor's own (PM decision);
   the 300px writing area comes from the `height` option in
   configure_reminders.tpl. */
.esky-reminder__editor {
    align-self: stretch;
    flex: none;
    width: 100%;
}

.esky-reminder__editor--error .cke_chrome {
    border-color: var(--er-danger) !important;
}

/* Figma "Container" — progress condition row: [1+] incomplete course(s).
   Horizontal, width fill, height hug 38, gap 12. */
.esky-reminder__condition-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Figma "Input": fixed 96 wide, padding [8 12], text Roboto 400 14/20 —
   same 38px total height as the other inputs, reached with different
   padding/line-height (border + color inherit from .esky-reminder__input). */
.esky-reminder__condition-input {
    flex: none;
    width: 96px;
}

/* Holds the field and the "+" that follows the typed number (#1016 QA):
   the "+" sits on the text line, in the typed text's font and colour, and
   never takes clicks away from the field. */
.esky-reminder__condition-field {
    position: relative;
    display: inline-flex;
    flex: none;
}

.esky-reminder__condition-plus {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--esky-announcements-text-primary);
    pointer-events: none;
}

/* Figma "Text" ("incomplete course(s)"): Roboto 400 14/20, the label
   colour (#444750, #1016 D25b). */
.esky-reminder__condition-suffix {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--esky-announcements-label);
}

/* ── Sessions combo (tag input + dropdown) ───────────────────── */

.esky-reminder__combo {
    position: relative;
}

/* Figma "Background+Border": horizontal, width fill, height hug, padding 8,
   gap 8, radius 8, control border like .esky-reminder__input. Wraps as chips
   are added. Chip field variant (#1016, not a text input): 48px tall as in
   Figma (8 + the 30px chevron box + 8 + the 1px border top and bottom), so
   the 24px chips get the same 11px of air a text field gives its text. It
   sits alone in its card, so the 40px row rule (D10) does not apply.
   The whole box opens the session picker on click → pointer cursor. */
.esky-reminder__combo-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    flex: none;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--er-input-border);
    border-radius: 8px;
    cursor: pointer;
}

/* No open highlight: the box keeps its resting border, no glow. Keyboard
   focus on the field gets the module's focus ring instead, like Assign to
   Class (#1016 D28, WCAG 2.4.7) — see the shared focus-ring list. */
.esky-reminder__combo-box--open,
.esky-reminder__combo-box:focus-within {
    border-color: var(--er-input-border);
    box-shadow: none;
}

/* A missed required field is flagged with a red border only; it stays red
   while open / focused (still no glow). */
.esky-reminder__combo-box--error,
.esky-reminder__combo-box--error.esky-reminder__combo-box--open,
.esky-reminder__combo-box--error:focus-within {
    border-color: var(--er-danger);
    box-shadow: none;
}

/* Up to three rows (24px each, 6px apart), "Select more sessions..."
   counting as one when it sits on its own row; past that the chips scroll
   inside the field instead of growing it (QA request, #1016). The 4px
   padding, taken back by the
   negative margin, keeps a focused chip's ring (2px + 2px offset) from
   being clipped by the scroll box, and scroll-padding leaves that room
   when a chip reached with Tab scrolls into view (WCAG 2.4.7, 2.4.11). */
.esky-reminder__combo-tags {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-height: calc(3 * 24px + 2 * 6px + 2 * 4px);
    margin: -4px;
    padding: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding: 4px;
}

/* Figma "Container" 2832:9351 — the field's text fills the row (flex-grow 1),
   L/R padding 8, no vertical padding, 20 tall; text Roboto 400 14/20 in
   Figma's placeholder grey #667085 ("Select sessions..." / "Select more
   sessions..."; the picks show as chips). A <button> that opens the session
   picker, like Assign to Class (#1016): typing happens in the picker's own
   search. Long text ends in "…". */
.esky-reminder__combo-search {
    flex: 1 1 112px;
    min-width: 112px;
    height: 20px;
    margin: 0;
    padding: 0 8px;
    overflow: hidden;
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--esky-announcements-placeholder);
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

/* The wrapper carries the focus ring (shared focus-ring list); no ring or
   glow on the bare button inside it. */
.esky-reminder__combo-search:focus {
    outline: none;
    box-shadow: none !important;
}

/* Figma "Frame 7": row, centred, padding 9, gap 10, flex none → a 36 x 30
   box (9 + 18 + 9 wide; its 30px height is what makes the combo 48 tall).
   Inside, "chevron-updown" 18 x 18 = two "chevron-down" (one flipped): 1px
   round strokes in #8C8C8C — Figma's own export. */
.esky-reminder__combo-chevron {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: 10px;
    box-sizing: border-box;
    width: 36px;
    height: 30px;
    padding: 9px;
    color: #8c8c8c;
    background: none;
    border: 0;
    cursor: pointer;
}

.esky-reminder__combo-chevron svg {
    display: block;
    flex: none;
    width: 18px;
    height: 18px;
}

/* Figma "Text" — "Session Selection": Roboto 500, 16/24, #1D2939 (family
   inherited). Figma's `flex: none` is not applied so a long translation
   wraps instead of pushing the close button out on narrow phones. */
.esky-reminder__combo-panel-title {
    min-width: 0;
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #1d2939;
}

.esky-reminder__multiselect-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    text-align: center;
}

.esky-reminder__multiselect-empty-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--er-ink-soft);
}

.esky-reminder__multiselect-empty-desc {
    font-size: 13px;
    color: var(--er-muted);
}

/* Selected-session pill inside the combo box. Figma "Background": row,
   centred, hug, flex none, radius 12, padding [4 8 4 8], gap 4, no border.
   Fill: Figma v2 client-colors/hover-client, the same soft client tint
   as the card icons and the View Log header (#1016).
   max-width keeps a very long session name inside the combo (it wraps). */
.esky-reminder__tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: none;
    gap: 4px;
    max-width: 100%;
    margin: 0;
    padding: 4px 8px;
    font: inherit;
    text-align: left;
    background: var(--esky-announcements-accent-soft);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

/* The chip is a <button> (removes it): no ring on mouse/tap, the module's
   focus ring on keyboard focus (#1016 D28). */
.esky-reminder__tag:focus {
    outline: none;
}

.esky-reminder__tag:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Figma v2 "Text": Roboto Regular 12/16, letter-spacing 0, Font
   Color/titles. Figma's `flex: none` is not applied: a name longer than
   the field wraps onto another line instead of being cut with "…", so
   nothing is lost on a 320px screen (#1016 WCAG 1.4.10). */
.esky-reminder__tag-name {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    color: var(--esky-announcements-text-primary);
}

/* Figma "Container" > "Icon" (the X): column, top-left, no padding, flex
   none, 8.17 x 8.17, Font Color/titles as in Figma v2. The SVG is Figma's 8.16667 export with
   preserveAspectRatio="none" (pixel-compared with Figma: identical; the
   old 9 x 9 canvas differed by 7/255). */
.esky-reminder__tag-remove {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    width: 8.17px;
    height: 8.17px;
    padding: 0;
    color: var(--esky-announcements-text-primary);
}

.esky-reminder__tag-remove svg {
    display: block;
    flex: none;
    overflow: visible;
}

/* Mouse only: on touch the hover sticks after the tap (#1016). */
@media (hover: hover) and (pointer: fine) {
    .esky-reminder__tag:hover .esky-reminder__tag-remove path {
        fill: var(--er-danger);
    }
}

.esky-reminder__tag--removing {
    animation: er-tag-remove 0.4s ease forwards;
}

@keyframes er-tag-remove {
    to {
        opacity: 0;
        transform: scale(0.6);
    }
}

/* ── Dynamic variables panel ─────────────────────────────────── */

/* Figma "Background+Border" (2832:9371): vertical, top-left, width fill,
   padding 16 + the 1px border (Figma counts the stroke in the layout: 146 =
   1 + 16 + 32 + 12 + 68 + 16 + 1), gap 12, 1px divider grey (#1016 D30), radius 8,
   no fill of its own (the card's white shows through). */
.esky-reminder__dynvars {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: transparent;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: var(--er-radius-sm);
}

/* Figma "Container" (header row): horizontal, centred, padding 0 4, width
   fill, height hug (32). */
.esky-reminder__dynvars-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    padding: 0 4px;
}

/* Figma inner "Container": vertical, top-left, no padding, hugs its widest
   line (163 for the English hint). Figma's `flex: none` is not applied so a
   longer translation of the hint wraps on narrow phones instead of
   overflowing the box. */
.esky-reminder__dynvars-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 1 auto;
    min-width: 0;
    padding: 0;
}

/* Figma "Heading 4" > "Text": fills the inner container's width; Roboto
   700, #1D2939. 14/20 like the other subtitle inside a card, "Reminder
   Summary" (#1016 D25b: Figma had 13/18 here). */
.esky-reminder__dynvars-title {
    display: flex;
    align-items: center;
    align-self: stretch;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #1d2939;
}

/* Figma "Container" > hint text: fills the inner container's width; Roboto
   400, 11/14, #444750, centred on its 14px line. */
.esky-reminder__dynvars-hint {
    display: flex;
    align-items: center;
    align-self: stretch;
    margin: 0;
    font-size: var(--esky-announcements-hint-font);
    font-weight: 400;
    line-height: var(--esky-announcements-hint-line);
    color: #444750;
}

/* Figma: width fill, rows 8 apart, tags 22 apart within a row. */
.esky-reminder__variables-list {
    display: flex;
    flex-wrap: wrap;
    align-self: stretch;
    gap: 8px 22px;
}

/* Figma "Background+Border": horizontal, centred, padding 6 12 + 1px
   border (30 tall), gap 8, white, 1px divider grey (#1016 D30), radius 12, never
   shrinks. Label: Roboto 400 12/16 in Figma's --primary (#1864AB) → the
   system primary. */
.esky-reminder__variable-tag {
    box-sizing: border-box;
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--esky-announcements-accent-text);
    background: #fff;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* Hover like the form's other green secondaries, Preview and Send Test
   (#1016 D31): client-colour border on the light client tint (Figma
   "Client Colors/hover client"), no halo. */
.esky-reminder__variable-tag:hover {
    border-color: var(--esky-announcements-accent);
    background: var(--esky-announcements-accent-soft);
}

/* Focus policy of the system: nothing on click/tap, the module's focus ring (#1016 D28)
   only for keyboard focus (not the browser's dark outline). */
.esky-reminder__variable-tag:focus {
    outline: none;
}

.esky-reminder__variable-tag:focus-visible {
    border-color: var(--er-primary);
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: without this the highlight sticks on a
   tag after tapping it until something else is touched. */
@media (hover: none) {
    .esky-reminder__variable-tag:hover:not(:focus-visible) {
        border-color: var(--esky-announcements-divider);
        background: #fff;
    }
}

/* Figma's add-circle is grey (#424754 at 50%, the opacity lives in the
   SVG), not the tag's primary text colour. */
.esky-reminder__var-plus {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 13.33px;
    height: 13.33px;
    color: #424754;
}

/* Figma "Icon" 13.33 x 13.33 (the exported add-circle, drawn edge to edge
   in its box): never shrinks, and may paint past its box like Figma's
   overflow="visible" export so the anti-aliased rim is not clipped. */
.esky-reminder__var-plus svg {
    flex: none;
    width: 13.33px;
    height: 13.33px;
    overflow: visible;
}

/* ── CKEditor skin for the Session Reminder form — CURRENTLY OFF ───
   Border, 8px radius, grey toolbar strip, blue focus ring and a fixed 256px
   editing area. The rules hang off .esky-reminder--figma-editor, a modifier
   configure_reminders.tpl does not put on the .esky-reminder wrapper, so the
   editor renders with CKEditor's native look for now (same as the Announcement
   form). To bring this skin back: add the class to the wrapper and check the
   shared toolbar's newer buttons (Undo, Redo, Unlink, Maximize) against it —
   the toolbar itself is defined in web/js/esky-editor-config.js. With the skin
   off, the editing height comes from the `height` option of the
   CKEDITOR.replace() call, not from this file. */

.esky-reminder--figma-editor .cke {
    border: 1px solid var(--er-input-border);
    border-radius: var(--er-radius-sm);
    box-shadow: none;
}

.esky-reminder--figma-editor .cke_top {
    padding: 6px 8px;
    background: #f2f3f5;
    border: 0;
    border-bottom: 1px solid var(--er-border);
    border-radius: var(--er-radius-sm) var(--er-radius-sm) 0 0;
}

.esky-reminder--figma-editor .cke_contents {
    border: 0;
    height: 256px !important;
}

.esky-reminder--figma-editor .cke_bottom {
    display: none;
}

.esky-reminder--figma-editor .cke_focus {
    border-color: var(--er-primary);
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* ── Delivery type radios ────────────────────────────────────── */

/* Compact density of the radio (#1016 D31): 20px rows, 12px apart, no
   row tint on hover (too tight at 20px). The whole row is the label, so it
   shows the hand cursor over its full width. */
.esky-reminder__radio-row {
    display: flex;
    align-items: center;
    height: 20px;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}

.esky-reminder__radio-row > span:not(.esky-reminder__radio-box) {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: var(--esky-announcements-text-primary);   /* Figma: Font Color/titles (#1016 D25b) */
}

/* The radio's slot: 20 x 20, the text 12 after it. Delivery Type draws its
   radios like the module's other "pick one" groups, Language and Sort by
   (#1016 D25b): Figma had a 16px empty circle and an 18px filled one here,
   so the two options didn't even match each other. */
.esky-reminder__radio-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 20px;
    height: 20px;
}

/* 20px circle; unselected, a 1.5px ring in the control grey; selected, a
   ring in the client colour around a white dot (one 6.5px inset shadow
   over a white fill, as .esky-announcement__radio — a pseudo-element dot
   doubled the anti-aliasing at its edge). */
.esky-reminder__mode-radio {
    appearance: none;
    -webkit-appearance: none;
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0 !important;
    box-sizing: border-box;
    border-radius: 50%;
    border: none;
    background: transparent;   /* empty boxes are see-through (#1016 D31) */
    box-shadow: inset 0 0 0 1.5px var(--esky-announcements-control-border);
    cursor: pointer;
    position: relative;
}

/* The white fill is the dot inside the client-colour ring. */
.esky-reminder__mode-radio:checked {
    background: #fff;
    box-shadow: inset 0 0 0 6.5px var(--er-primary);
}

/* No ring or glow on click/tap. !important on the outline too: Bootstrap's
   `input[type="radio"]:focus { outline: 5px auto }` is more specific than
   this class and otherwise draws a dark ring on every click; the
   box-shadow is re-stated because it IS the drawn ring here. */
.esky-reminder__mode-radio:focus {
    outline: none !important;
    border: none !important;
    box-shadow: inset 0 0 0 1.5px var(--esky-announcements-control-border) !important;
}

.esky-reminder__mode-radio:checked:focus {
    box-shadow: inset 0 0 0 6.5px var(--er-primary) !important;
}

/* Keyboard focus only (Tab / arrow keys): the module's focus ring (#1016 D28) of the
   system; nothing on click or tap (the :focus rules above). */
.esky-reminder__mode-radio:focus-visible {
    outline: var(--esky-focus-outline) !important;
    outline-offset: var(--esky-focus-offset) !important;
}

.esky-reminder__radio-row--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.esky-reminder__mode-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.esky-reminder__mode-options[hidden],
.esky-reminder__edit-banner[hidden],
.esky-reminder__form-error[hidden],
.esky-modal-backdrop[hidden] {
    display: none !important;
}

/* Figma "Container" (timezone note): row, centred, padding-top 8, gap 8;
   clock icon 13.33 and text Roboto 400 11/14, both #667085 (the
   Scheduled variant; the Immediately one draws the icon at #424754 70% —
   same note, the majority/text colour wins). Figma's 27.76 right padding
   is a canvas leftover. */
.esky-reminder__note {
    display: flex;
    flex-direction: row;
    align-items: flex-start;   /* icon on the first line when the text wraps (#1016) */
    align-self: stretch;
    gap: 8px;
    margin: 0;
    padding: 8px 0 0;
    font-weight: 400;
    font-size: var(--esky-announcements-hint-font);
    line-height: var(--esky-announcements-hint-line);
    color: var(--esky-announcements-label);   /* Figma v2 sucondary-color-text, like the other hints */
}

.esky-reminder__note svg {
    flex: none;
    overflow: visible;
}

/* display:flex above would otherwise override the hidden attribute. */
.esky-reminder__note[hidden] {
    display: none;
}

/* ── Testing card ────────────────────────────────────────────── */

/* Figma "Container" (Card 6): vertical, top-left, gap 12, no padding, width
   fill; its "Heading 4" and "Button" are both Fill (stretched below). */
.esky-reminder__testing-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
}

.esky-reminder__testing-group > * {
    align-self: stretch;
}

/* Figma "Heading 4" > text: Roboto 500, 14/20, #101C2C. */
.esky-reminder__testing-intro {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--esky-announcements-text-primary);   /* Figma v2 Font Color/titles (it was #101C2C) */
}

/* ── Reminder Summary panel ──────────────────────────────────── */

/* Figma "Background+Border+Shadow" (Reminder Summary): vertical, top-left,
   white, 1px divider grey (#1016 D30), radius 12, shadow 0 1 2 #000 at 5%, padding
   16 + the border (Figma counts the stroke in the layout), width fill,
   height hug. */
.esky-reminder__summary {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Figma "Container" (content row): horizontal, top-aligned, gap 12, width
   fill — the "i" column, then the text column. */
.esky-reminder__summary-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-self: stretch;
    gap: 12px;
    padding: 0;
}

/* Figma "Margin" > "Icon": a 16.67 x 18.67 column with 2px top padding
   around the 16.67 info icon, never shrinks. Icon #1864AB → primary. */
.esky-reminder__summary-icon {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    width: 16.67px;
    height: 18.67px;
    padding: 2px 0 0;
    color: var(--main-color-background-image);
}

.esky-reminder__summary-icon svg {
    flex: none;
    overflow: visible;
}

/* Figma "Container" (text column): vertical, top-left, gap 12 (title →
   list). Figma's 124.77 is the column hugging its mock text (which made
   "Q3 Compliance / Training," wrap word by word); here it takes the rest
   of the row so values use the full card width. */
.esky-reminder__summary-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    gap: 12px;
    min-width: 0;
    padding: 0;
}

.esky-reminder__summary-text > * {
    align-self: stretch;
}

/* Figma "Container" > "Text" ("Reminder Summary"): Roboto 700, 14/20,
   #1D2939. */
.esky-reminder__summary-title {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #1d2939;
}

/* Figma "Container" (the three rows): vertical, top-left, gap 12. */
.esky-reminder__summary-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0;
}

/* Figma "Container" (one row): label over value, no gap, width fill. */
.esky-reminder__summary-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    margin: 0;
}

.esky-reminder__summary-row > * {
    align-self: stretch;
}

/* Figma label ("SESSIONS", "PROGRESS CONDITION", "SCHEDULE"): Roboto 400,
   11/14, letter-spacing 0.55px, uppercase, #444750. */
.esky-reminder__summary-row dt {
    margin: 0;
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: #444750;
}

/* Figma value: Roboto 500, 14/20, #1D2939; long session lists wrap
   anywhere rather than overflow the card. */
.esky-reminder__summary-row dd {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #1d2939;
    overflow-wrap: anywhere;
}

/* ── Footer bar (sticky) ─────────────────────────────────────── */

/* The forms' actions bar sticks to the bottom of the screen from 768px up
   (97px tall). Keyboard focus on a control just above it — e.g. the
   editor's toolbar — landed under the bar, out of sight (#1016, WCAG
   2.4.11). The page now keeps that strip (the bar + 16px) clear when it
   scrolls a focused control into view. On phones the bar doesn't stick. */
@media (min-width: 768px) {
    html:has(.esky-announcement__footer),
    html:has(.esky-reminder__nav) {
        scroll-padding-bottom: 113px;
    }
}

.esky-reminder__nav {
    /* Figma "Footer Actions" (2832:9526): horizontal, space-between,
       centred, padding 16, white, radius 12, 1px the divider grey (#1016 D30) on the TOP
       edge only, 97 tall (min-height, same as the Announcement footer).
       Sticks to the viewport bottom while scrolling (same as
       .esky-announcement__footer); the shadow isn't in Figma — it separates
       the bar from the content scrolling under it while stuck. */
    position: sticky;
    bottom: 0;
    z-index: 10;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 97px;
    padding: 16px;
    background: #fff;
    border: 0;
    border-top: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: 12px;
    box-shadow: 0 -6px 20px rgba(16, 24, 40, 0.06);
}

/* No notice showing: drop the (empty) left side entirely so it doesn't
   add a gap before the buttons when the bar stacks on phones. */
.esky-reminder__nav-left:not(:has(> :not([hidden]))) {
    display: none;
}

/* Left side: the edit / required-fields notices. Takes the room left by
   the buttons (flex basis 0, so with no notice showing it collapses to
   nothing instead of reserving 288px — which, on phones where the bar is a
   column, became 288px of empty height). */
.esky-reminder__nav-left {
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.esky-reminder__nav-right {
    display: flex;
    gap: 16px;
    margin-left: auto;
}

.esky-reminder__edit-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    font-size: 14px;
    line-height: 20px;
    color: #424754;
    background: var(--er-primary-soft);
    border-left: 4px solid var(--er-primary);
    border-radius: var(--er-radius-sm);
}

/* Figma "Container" > "Icon" 15x15 (#0057C1 → the system primary); may
   paint past its box so its anti-aliased rim isn't clipped. */
.esky-reminder__edit-banner svg {
    flex: none;
    overflow: visible;
    color: var(--er-primary);
}

.esky-reminder__form-error {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--er-danger);
    background: color-mix(in srgb, var(--er-danger) 8%, white);
    border-left: 4px solid var(--er-danger);
    border-radius: var(--er-radius-sm);
}

.esky-reminder__form-error svg {
    flex: none;
    width: 15px;
    height: 15px;
}

/* ── Buttons ─────────────────────────────────────────────────── */

.esky-reminder__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--esky-announcements-btn-md-height);
    padding: 0 24px;
    font-family: inherit;
    font-size: var(--esky-announcements-btn-md-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--er-radius-sm);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.esky-reminder__btn[hidden] {
    display: none !important;
}

.esky-reminder__btn--sm {
    height: var(--esky-announcements-btn-md-height);
    padding: 0 24px;
    font-size: var(--esky-announcements-btn-md-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
}

.esky-reminder__btn--outline.esky-reminder__btn--sm {
    border-color: var(--er-primary);
}

/* Figma "Container" > "Icon": 16.5 x 11.25, never shrinks. The eye touches
   the right and bottom edges of its box, so let it paint past them (Figma
   exports it with overflow="visible") — clipped, the last anti-aliased row
   of pixels was cut and the eye looked sliced at the bottom/right. */
.esky-reminder__btn.esky-reminder__btn--sm svg {
    flex: none;
    width: 16.5px;
    height: 11.25px;
    overflow: visible;
}

.esky-reminder__btn--block {
    width: 100%;
    height: var(--esky-announcements-btn-md-height);
    padding: 8px 16px;
    font-weight: var(--esky-announcements-btn-weight);
    font-size: var(--esky-announcements-btn-md-font);
    line-height: 20px;
}

.esky-reminder__btn--outline.esky-reminder__btn--block {
    border-color: var(--er-primary);
}

/* Figma "Container" > "Icon" (paper plane): 14.25 x 12, never shrinks; it
   touches its box's edges, so it may paint past them (Figma's
   overflow="visible" export) and its anti-aliased tips aren't clipped. */
.esky-reminder__btn.esky-reminder__btn--block svg {
    flex: none;
    width: 14.25px;
    height: 12px;
    overflow: visible;
}

.esky-reminder__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.esky-reminder__btn--ghost {
    height: var(--esky-announcements-btn-lg-height);
    padding: 8px 24px;
    font-size: var(--esky-announcements-btn-lg-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    color: var(--esky-announcements-btn-secondary-text);     /* #1016 D29 */
    background: #fff;
    border-color: var(--esky-announcements-btn-secondary-border);
}

.esky-reminder__btn--ghost:hover:not(:disabled) {
    background: var(--esky-announcements-hover-overlay);
}

.esky-reminder__btn--outline {
    color: var(--esky-announcements-accent-text);
    background: #fff;
    border-color: var(--er-primary-border);
}

.esky-reminder__btn--outline:hover:not(:disabled) {
    background: var(--er-primary-soft);
    border-color: var(--er-primary);
}

/* Card 3 "Preview" and Card 6 "Send Test Reminder" — focus policy of the
   system (same as .esky-announcement__btn): nothing on mouse click or tap,
   the module's focus ring (#1016 D28) only for keyboard focus instead of the browser's
   dark outline. */
.esky-reminder__btn--sm:focus,
.esky-reminder__btn--block:focus {
    outline: none;
}

.esky-reminder__btn--sm:focus-visible,
.esky-reminder__btn--block:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: without this the tint sticks on these
   outline buttons after a tap until something else is touched. */
@media (hover: none) {
    .esky-reminder__btn--outline.esky-reminder__btn--sm:hover:not(:disabled),
    .esky-reminder__btn--outline.esky-reminder__btn--block:hover:not(:disabled) {
        background: #fff;
    }
}

/* Figma "Button" (Send / Confirm Reminder): row, centred, padding 8 24,
   46.5 tall (Fixed in Figma, same as the Announcement footer's primary),
   radius 8, fill #1864AB → the system primary, shadow 0 1 2 #000 at 5%.
   Label: Roboto 400, 13/18, white. */
.esky-reminder__btn--primary {
    height: var(--esky-announcements-btn-lg-height);
    padding: 8px 24px;
    font-size: var(--esky-announcements-btn-lg-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    color: #fff;
    background: var(--er-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.esky-reminder__btn--primary:hover:not(:disabled) {
    background: var(--er-primary-dark);
}

/* Footer buttons (Cancel, Send / Confirm) — focus policy of the system:
   nothing on click/tap, the module's focus ring (#1016 D28) only for keyboard focus. */
.esky-reminder__btn--ghost:focus,
.esky-reminder__btn--primary:focus {
    outline: none;
}

.esky-reminder__btn--ghost:focus-visible,
.esky-reminder__btn--primary:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: keep the hover fills from sticking
   after a tap. */
@media (hover: none) {
    .esky-reminder__btn--ghost:hover:not(:disabled) {
        background: #fff;
    }

    .esky-reminder__btn--primary:hover:not(:disabled) {
        background: var(--er-primary);
    }
}

/* ── Preview modal ───────────────────────────────────────────── */

/* Shared dimmed + blurred backdrop for every modal in the Announcements /
   Session Reminders module (previews, View Log, delete confirm, test
   success, sort, and the form's selectors and pickers when shown as a
   modal). Figma "Overlay+OverlayBlur", identical on all its frames:
   rgba(16, 28, 44, 0.6) + 2px background blur. The dialog inside centres
   itself with `margin: auto`. The backdrop itself never scrolls (each
   modal caps its height to the visible area and scrolls inside), and
   overscroll-behavior keeps a scroll from chaining into the page. */
.esky-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    padding: 24px;
    /* Never scrolls: every modal caps its own height to the visible area
       (dvh) and scrolls inside, so the backdrop has nothing to scroll. */
    overflow: hidden;
    overscroll-behavior: contain;
    background: rgba(16, 28, 44, 0.6);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

/* The page under an open modal stays put. Owned by the backdrop itself, so
   it holds whichever modal is open (the pages' own JS locks are kept, this
   doesn't depend on them). The popover mode below leaves the page live. */
html:has(.esky-modal-backdrop:not([hidden]):not(.esky-modal-backdrop--anchored)) {
    overflow: hidden;
}

/* Popover mode (see createPresenter() in esky-components.js): on desktop the
   date/time pickers reuse this same backdrop element as an invisible,
   click-through layer and pin their panel next to the input with inline
   top/left instead of centering it — no dimming, no blur, and the page
   underneath stays scrollable and clickable. Small/touch screens never get
   this class, so they keep the regular dimmed, centered modal above. */
.esky-modal-backdrop--anchored {
    padding: 0;
    overflow: visible;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    pointer-events: none;
}

.esky-modal-backdrop--anchored > [role="dialog"] {
    position: fixed;
    margin: 0;
    pointer-events: auto;
}

/* Preview email: the shared dialog frame (#1016 D4) in its wide variant —
   vertical, no padding, 720 wide at most, white, divider border, radius 12,
   the dialog shadow. 720, not 600: it shows a 600px email at real size with
   room around it. Width: 720 on tablet/desktop, the backdrop's
   width minus its 24px padding on phones (Figma's 720 is the canvas size,
   not a minimum). Height hugs the content (885.67 in Figma) but never
   exceeds the screen; the email area scrolls inside. */
.esky-reminder__modal {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    width: 100%;
    max-width: 720px;
    max-height: min(886px, calc(100vh - 48px));
    /* Visible area, not the bar-hidden 100vh (see .esky-announcements__preview). */
    max-height: min(886px, calc(100dvh - 48px));
    margin: auto;
    padding: 0;
    border: 1px solid var(--esky-announcements-divider);
    border-radius: var(--esky-announcements-radius);
    background: #fff;
    box-shadow: var(--esky-announcements-shadow-dialog);
    overflow: hidden;
}

/* Figma lays the modal out flex-start but header, info, email and footer
   are "Fill" width — stretch each back to the modal's full width. */
.esky-reminder__modal > * {
    align-self: stretch;
}

/* Shared dialog header (#1016 D4), as .esky-announcements__preview-header.
   The 16 gap keeps a long title off the close button on phones. */
.esky-reminder__modal-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    height: var(--esky-announcements-dialog-bar-height);
    padding: 0 var(--esky-announcements-dialog-bar-padding-x);
    border-bottom: 1px solid var(--esky-announcements-divider);
    background: var(--esky-announcements-surface-muted);
}

/* Figma "Heading 2" > text: Roboto 700, 20/28, Font Color/titles, centred on its
   28px line. May wrap on a narrow phone instead of pushing the button out. */
.esky-reminder__modal-title {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--esky-announcements-text-primary);
}

/* The shared close button (#1016 D4): 40x40, radius 12, 14px X in the label
   grey (Figma v2 sucondary-color-text #444750; it was the earlier #424754).
   Figma's 27.67 x 34.67 box (padding 8 8 15) was the odd one out. */
.esky-reminder__modal-close {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: none;
    justify-content: center;
    align-items: center;
    width: var(--esky-announcements-dialog-close-size);
    height: var(--esky-announcements-dialog-close-size);
    padding: 0;
    color: var(--esky-announcements-label);
    background: none;
    border: 0;
    border-radius: var(--esky-announcements-dialog-close-radius);
    cursor: pointer;
}

/* The 11.67 Figma X scaled to the shared 14px icon; may paint past its box
   so the anti-aliased edge of the X is not clipped. */
.esky-reminder__modal-close svg {
    display: block;
    flex: none;
    width: var(--esky-announcements-dialog-close-icon);
    height: var(--esky-announcements-dialog-close-icon);
    overflow: visible;
}

.esky-reminder__modal-close:hover {
    background: var(--esky-announcements-hover-overlay);
}

/* Focus policy of the system: nothing on click/tap, the module's focus ring (#1016 D28)
   only for keyboard focus (not the browser's dark outline). */
.esky-reminder__modal-close:focus {
    outline: none;
}

.esky-reminder__modal-close:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: keep the grey tint from sticking on
   the close button after a tap. */
@media (hover: none) {
    .esky-reminder__modal-close:hover {
        color: var(--esky-announcements-label);
        background: none;
    }
}

.esky-reminder__modal-body {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
}

/* Info banner */
/* Figma "Background+Border" (info strip): horizontal, top-aligned, padding
   16 24, gap 12, width fill, height hug (98 with the session line), a
   divider below only: the grey header above already draws the top line
   (#1016 D4). Figma's #EFF4FF
   light blue → the system primary at 8% (the "blue → primary" rule). */
.esky-reminder__modal-info {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    background: var(--er-primary-soft);
    border-bottom: 1px solid var(--esky-announcements-divider);
}

/* Figma "Margin" > "Icon": a 16.67 x 18.67 column with 2px top padding
   around the 16.67 info icon, never shrinks. Icon #1864AB → primary. */
.esky-reminder__modal-info-icon {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    width: 16.67px;
    height: 18.67px;
    padding: 2px 0 0;
    color: var(--er-primary);
}

.esky-reminder__modal-info-icon svg {
    flex: none;
    width: 16.67px;
    height: 16.67px;
    overflow: visible;
}

/* Figma "Container" (texts): vertical, top-left, gap 4, 601.98 wide at
   most — it shrinks with the modal on phones instead of a fixed width. */
.esky-reminder__modal-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 1 601.98px;
    min-width: 0;
    gap: 4px;
    padding: 0;
}

/* Figma "Container" > "Text": fills the column; Roboto 400 14/20, Figma v2
   sucondary-color-text #444750 (it was the earlier #424754).
   Height hugs its lines (40 = two lines at 720; more on phones). */
.esky-reminder__modal-info-desc {
    display: flex;
    align-items: center;
    align-self: stretch;
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--esky-announcements-label);
}

/* Figma "Margin" (pt 4) > "Container" > sample-session text: fills the
   column; Roboto 400 12/16, letter-spacing 0.6, uppercase, #444750. */
.esky-reminder__modal-info-session {
    display: flex;
    align-items: center;
    align-self: stretch;
    margin: 0;
    padding: 4px 0 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #444750;
}

/* Figma "Background" (email area): vertical, top-left, padding 32 60,
   white, width fill, scrolls its content. Figma's 720 x 643 is the canvas
   size: here it hugs the email and, once the modal reaches the screen
   height (max-height on .esky-reminder__modal), shrinks and scrolls on its
   own so the header and the Close button stay visible. `auto` rather than
   Figma's `scroll`: no empty scrollbar when the email fits. */
.esky-reminder__modal-email {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    min-height: 0;
    padding: 32px 60px;
    overflow-y: auto;
    background: #fff;
}

/* Figma "Background+Border+Shadow" (the email card): white, 1px #C2C6D7
   at 40%, radius 8, shadow 0 1 2 #000 at 5%, padding 32 + the border, fills
   the email area up to 600 (max-width 600 — it narrows with the modal on
   phones instead of a fixed 600), content clipped. Text: Roboto 400 16/24
   Figma v2 Font Color/titles #1D2939 (it was #101C2C). Figma's column +
   24 gap spaces its two blocks (body, signature); here the card holds the
   editor's free HTML, so it keeps normal flow — paragraph spacing lives in the content rules below. Long unbroken words
   (URLs) wrap instead of being cut by the clip. */
.esky-reminder__modal-message {
    box-sizing: border-box;
    align-self: stretch;
    flex: none;
    width: 100%;
    max-width: 600px;
    padding: 32px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--esky-announcements-text-primary);
    overflow-wrap: anywhere;
    background: #fff;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Same rule for pictures in the reminder form's preview modal. */
.esky-reminder__modal-message img {
    max-width: 100%;
    height: auto !important;
}

/* CKEditor content inside preview modal. Figma's email body: Roboto 400
   16/24 #101C2C (inherited from the card) with 16 between blocks. */
.esky-reminder__modal-message p {
    margin: 0 0 16px;
}
.esky-reminder__modal-message p:last-child {
    margin-bottom: 0;
}
.esky-reminder__modal-message h1,
.esky-reminder__modal-message h2,
.esky-reminder__modal-message h3,
.esky-reminder__modal-message h4,
.esky-reminder__modal-message h5,
.esky-reminder__modal-message h6 {
    margin: 18px 0 8px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--er-ink);
}
.esky-reminder__modal-message h1 { font-size: 1.4em; }
.esky-reminder__modal-message h2 { font-size: 1.25em; }
.esky-reminder__modal-message h3 { font-size: 1.1em; }
.esky-reminder__modal-message ul,
.esky-reminder__modal-message ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.esky-reminder__modal-message li {
    margin-bottom: 0;
}
.esky-reminder__modal-message > :last-child {
    margin-bottom: 0;
}
.esky-reminder__modal-message a {
    color: var(--esky-announcements-accent-text);
    text-decoration: underline;
}
.esky-reminder__modal-message a:hover {
    color: var(--er-primary-dark);
}
.esky-reminder__modal-message img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.esky-reminder__modal-message table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}
.esky-reminder__modal-message th,
.esky-reminder__modal-message td {
    padding: 8px 12px;
    border: 1px solid var(--er-border);
    font-size: 14px;
}
.esky-reminder__modal-message th {
    font-weight: 600;
    color: var(--er-ink);
    background: #f9fafb;
}
.esky-reminder__modal-message blockquote {
    margin: 12px 0;
    padding: 8px 16px;
    border-left: 3px solid var(--er-primary);
    color: var(--er-muted);
    background: #f9fafb;
    border-radius: 0 6px 6px 0;
}
.esky-reminder__modal-message hr {
    border: none;
    border-top: 1px solid var(--er-border);
    margin: 16px 0;
}
.esky-reminder__modal-message pre,
.esky-reminder__modal-message code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 13px;
    background: #f4f6f9;
    border-radius: 4px;
}
.esky-reminder__modal-message pre {
    padding: 12px 16px;
    overflow-x: auto;
}
.esky-reminder__modal-message code {
    padding: 2px 5px;
}

/* Shared dialog footer (#1016 D4), as .esky-announcements__preview-footer. */
.esky-reminder__modal-footer {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    justify-content: flex-end;
    align-items: center;
    height: var(--esky-announcements-dialog-bar-height);
    padding: 0 24px;
    border-top: 1px solid var(--esky-announcements-divider);
    background: var(--esky-announcements-surface-muted);
}

/* Figma "Button" (Close): vertical, centred, padding 10 24, radius 8, fill
   #1864AB → the system primary; hugs its label (80.84 x 38), never shrinks. */
.esky-reminder__modal-footer-btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: none;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    background: var(--er-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
    height: var(--esky-announcements-btn-md-height);
}

/* Same hover as the form's primary buttons (.esky-reminder__btn--primary). */
.esky-reminder__modal-footer-btn:hover {
    background: var(--er-primary-dark);
}

/* Focus policy of the system: nothing on click/tap, the module's focus ring (#1016 D28)
   only for keyboard focus (not the browser's dark outline). */
.esky-reminder__modal-footer-btn:focus {
    outline: none;
}

.esky-reminder__modal-footer-btn:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: keep the darker fill from sticking
   after a tap. */
@media (hover: none) {
    .esky-reminder__modal-footer-btn:hover {
        background: var(--er-primary);
    }
}

/* Medium button text: 14/20 bold (#1016 D3; Figma had 500, 13/18). */
.esky-reminder__modal-footer-btn-text {
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: var(--esky-announcements-btn-weight);
    font-size: var(--esky-announcements-btn-md-font);
    line-height: 20px;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    color: #fff;
}

/* ── Message dialog (Test reminder sent, Delete confirmation) ──────
   One component for the two short notice dialogs (#1016 D14): icon, title,
   text and an actions row. Only the tone (icon colour), the texts and the
   number of buttons change. Figma "Background+Shadow" (3645:15178):
   vertical, no padding, 448 wide at most, white, radius 12, clipped,
   shadow 0 10 15 -3 + 0 4 6 -4 (#000 at 10%). Narrows with the screen on
   phones (the backdrop keeps 24 each side). Height hugs the content. */
.esky-message-dialog {
    --emd-tone: var(--esky-announcements-accent);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    width: 100%;
    max-width: 448px;
    /* Never taller than the visible area (dvh: the phone's address bar may
       be showing); scrolls inside only on very short screens. */
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    overflow-y: auto;
    border-radius: var(--esky-announcements-radius);
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Tones. Success: Figma v2's fixed status/completed-aa green (it says
   "done", whatever the client colour; it was #378254). Danger: the module's
   danger red (#1016 D2). */
.esky-message-dialog--success {
    --emd-tone: var(--esky-announcements-success);
}

.esky-message-dialog--danger {
    --emd-tone: var(--esky-announcements-danger);
}

.esky-message-dialog__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 32px;
    text-align: center;
}

/* 64px tile in the tone at 10%, the icon in the tone. */
.esky-message-dialog__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: var(--esky-announcements-radius);
    color: var(--emd-tone);
    background: color-mix(in srgb, var(--emd-tone) 10%, transparent);
}

/* Figma "Container" > "Icon": 36.17 box. May paint past it so the
   anti-aliased rim isn't clipped. */
.esky-message-dialog__icon-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: none;
    width: 36.17px;
    height: 36.17px;
}

.esky-message-dialog__icon-inner svg {
    display: block;
    flex: none;
    overflow: visible;
}

.esky-message-dialog__title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: var(--esky-announcements-text-primary);   /* Figma v2 Font Color/titles */
}

.esky-message-dialog__desc {
    box-sizing: border-box;
    max-width: 384px;
    margin: 0 0 32px;
    padding: 0 7.83px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0px;
    color: var(--esky-announcements-label);   /* Figma v2 sucondary-color-text (it was #424754) */
}

.esky-message-dialog__desc strong {
    font-weight: 700;
}

/* One or two buttons sharing the full width. */
.esky-message-dialog__actions {
    display: flex;
    align-self: stretch;
    width: 100%;
    gap: 12px;
}

/* Medium buttons (#1016 D3): 40px, 14/20 bold, radius 8, shadow 0 1 2 #000
   at 5%. */
.esky-message-dialog__btn {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 0;
    justify-content: center;
    align-items: center;
    min-width: 0;
    height: var(--esky-announcements-btn-md-height);
    padding: 0;
    font-family: inherit;
    font-size: var(--esky-announcements-btn-md-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: var(--esky-announcements-radius-sm);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.esky-message-dialog__btn--primary {
    background: var(--esky-announcements-accent);
}

.esky-message-dialog__btn--danger {
    background: var(--esky-announcements-danger);
}

.esky-message-dialog__btn--cancel {
    color: var(--esky-announcements-btn-secondary-text);     /* #1016 D29 */
    background: #fff;
    /* Inset shadow instead of a real border: a 1px border would add 2px to
       this button's height and stretch its neighbour past 40px with it. */
    box-shadow: inset 0 0 0 1px var(--esky-announcements-btn-secondary-border), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Hover: a darker fill (a light grey for Cancel). */
.esky-message-dialog__btn--primary:hover {
    background: var(--esky-announcements-accent-hover);
}

.esky-message-dialog__btn--danger:hover {
    background: color-mix(in srgb, var(--esky-announcements-danger) 85%, black);
}

.esky-message-dialog__btn--cancel:hover {
    background: var(--esky-announcements-hover-overlay);
}

/* Focus policy of the system: nothing on click/tap, the module's focus ring (#1016 D28)
   only for keyboard focus. */
.esky-message-dialog__btn:focus {
    outline: none;
}

.esky-message-dialog__btn:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

.esky-message-dialog__btn--cancel:focus-visible {
    box-shadow: inset 0 0 0 1px var(--esky-announcements-btn-secondary-border);
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: keep the fills from sticking after a
   tap. */
@media (hover: none) {
    .esky-message-dialog__btn--primary:hover {
        background: var(--esky-announcements-accent);
    }

    .esky-message-dialog__btn--danger:hover {
        background: var(--esky-announcements-danger);
    }

    .esky-message-dialog__btn--cancel:hover {
        background: #fff;
    }
}

/* Phones: 24 inside instead of 32, the side spacing of the other dialogs. */
@media (max-width: 767px) {
    .esky-message-dialog__body {
        padding: 24px;
    }
}

/* ── Reminder View Log modal ─────────────────────────────────────
   Backdrop comes from the shared .esky-modal-backdrop. */

/* Shared dialog frame (#1016 D13): 600px max, white, divider border,
   12px radius, the dialog shadow, content clipped. Height hugs the content
   (Figma's 667.5px is that hug with four rows, not a cap), but never taller
   than the screen minus the backdrop's 24px on each side: past that the body
   scrolls while the header and footer stay pinned. */
.esky-reminder__viewlog-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 48px);
    /* Visible area, not the bar-hidden 100vh (see .esky-announcements__preview). */
    max-height: calc(100dvh - 48px);
    margin: auto;
    overflow: hidden;
    border-radius: var(--esky-announcements-radius);
    border: 1px solid var(--esky-announcements-divider);
    background: #fff;
    box-shadow: var(--esky-announcements-shadow-dialog);
}

/* Shared dialog header (#1016 D13), as .esky-announcements__preview-header. */
.esky-reminder__viewlog-header {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--esky-announcements-dialog-bar-height);
    padding: 0 var(--esky-announcements-dialog-bar-padding-x);
    border-bottom: 1px solid var(--esky-announcements-divider);
    background: var(--esky-announcements-surface-muted);
}

/* Modal title of the majority: Roboto 700 20/28, Figma v2 Font Color/titles. */
.esky-reminder__viewlog-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0px;
    color: var(--esky-announcements-text-primary);
}

/* The shared close button (#1016 D13): 40x40, radius 12, 14px X in the label grey
   (same icon and box as the Preview modal). */
.esky-reminder__viewlog-close {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: var(--esky-announcements-dialog-close-size);
    height: var(--esky-announcements-dialog-close-size);
    padding: 0;
    color: var(--esky-announcements-label);
    background: none;
    border: 0;
    border-radius: var(--esky-announcements-dialog-close-radius);
    cursor: pointer;
}

.esky-reminder__viewlog-close:hover {
    background: var(--esky-announcements-hover-overlay);
}

.esky-reminder__viewlog-close:focus {
    outline: none;
}

.esky-reminder__viewlog-close:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

@media (hover: none) {
    .esky-reminder__viewlog-close:hover {
        background: none;
    }
}

.esky-reminder__viewlog-close-inner {
    display: flex;
    flex: none;
}

.esky-reminder__viewlog-close svg {
    display: block;
    flex: none;
    width: var(--esky-announcements-dialog-close-icon);
    height: var(--esky-announcements-dialog-close-icon);
    overflow: visible;
}

.esky-reminder__viewlog-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    overflow-y: auto;
    padding: 24px;   /* #1016 D13: 24 like every dialog body */
    gap: 24px;
}

/* Shared dialog footer (#1016 D13), as .esky-announcements__preview-footer. */
.esky-reminder__viewlog-footer {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    height: var(--esky-announcements-dialog-bar-height);
    padding: 0 24px;
    border-top: 1px solid var(--esky-announcements-divider);
    background: var(--esky-announcements-surface-muted);
}

/* Close: the modals' shared footer button (majority — Announcement and
   Reminder Preview), on the #1016 D3 medium size: 40 tall, 8/24 padding,
   8px radius, the system primary, Roboto 700 14/20, no tracking (Figma's
   +0.4 went with its 16px text), white. This page has no --er-primary
   (that token is scoped to the reminder form), so the fill uses the theme
   variable directly — it rendered transparent before. */
.esky-reminder__viewlog-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: var(--esky-announcements-btn-md-height);
    padding: 8px 24px;
    border: none;
    border-radius: 8px;
    background: var(--main-color-background-image);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    font-size: var(--esky-announcements-btn-md-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    letter-spacing: 0px;   /* #1016 D3: the 0.4 went with Figma's 16px text */
    color: #ffffff;
    cursor: pointer;
}

.esky-reminder__viewlog-footer-btn:hover {
    background: color-mix(in srgb, var(--main-color-background-image) 85%, black);
}

/* Focus policy of the system: nothing on click/tap, the module's focus ring (#1016 D28)
   only for keyboard focus. */
.esky-reminder__viewlog-footer-btn:focus {
    outline: none;
}

.esky-reminder__viewlog-footer-btn:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: keep the fill from sticking. */
@media (hover: none) {
    .esky-reminder__viewlog-footer-btn:hover {
        background: var(--main-color-background-image);
    }
}

.esky-reminder__viewlog-meta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

.esky-reminder__viewlog-meta-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.esky-reminder__viewlog-label {
    flex: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--esky-announcements-label);   /* Figma v2 sucondary-color-text */
}

.esky-reminder__viewlog-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0px;
    color: var(--esky-announcements-text-primary);   /* Figma v2 Font Color/titles */
}

.esky-reminder__viewlog-value--date {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--esky-announcements-label);   /* Figma v2 sucondary-color-text (it was #424754) */
}

.esky-reminder__viewlog-search {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    gap: var(--esky-announcements-search-gap);
    flex: none;   /* keep the 40px in the scrolling body on short screens */
    height: 40px;   /* #1016 D10 */
    padding: 0 var(--esky-announcements-search-padding-x);
    /* Inset edge instead of a border, so the box stays 40px tall. */
    border: none;
    box-shadow: inset 0 0 0 1px var(--esky-announcements-control-border);
    border-radius: var(--esky-announcements-radius-sm);
    background: rgba(255, 255, 255, 1);
}

.esky-reminder__viewlog-search-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: var(--esky-announcements-search-icon-size);
    height: var(--esky-announcements-search-icon-size);
    /* It had no colour of its own and took the page's #333. */
    color: var(--esky-announcements-placeholder);
}

.esky-reminder__viewlog-search-icon svg {
    flex: none;
    width: 18px;
    height: 18px;
}

.esky-reminder__viewlog-search-input {
    flex: 1;
    min-width: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0px;
    color: #1d2939;
    background: none;
    border: none;
    outline: none;
}

.esky-reminder__viewlog-search-input::placeholder {
    color: var(--esky-announcements-placeholder);
    font-weight: 500;
}

/* No highlight of any kind while typing (not in Figma): cancels base.css's
   global `input:focus { border-color / box-shadow: primary !important }`
   glow — hence the !important — and the browser's own focus outline. */
.esky-reminder__viewlog-search-input:focus,
.esky-reminder__viewlog-search-input:focus-visible {
    outline: none;
    border: none !important;
    box-shadow: none !important;
}

.esky-reminder__viewlog-table {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: 4px;
    background: rgba(255, 255, 255, 1);
}

/* Figma table header: two equal cells (flex-grow 1), each with its own
   16/24 padding, Roboto 500 12/16, 1.2px tracking, #444750, left aligned,
   on Figma v2's hover-client tint (it was the earlier light blue #EFF4FF). */
.esky-reminder__viewlog-table-header {
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
    background: var(--esky-announcements-accent-soft);
    border-bottom: 1px solid var(--esky-announcements-divider);
}

.esky-reminder__viewlog-table-col {
    box-sizing: border-box;
    flex: 1 1 0;
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #444750;
}

.esky-reminder__viewlog-table-body {
    display: flex;
    flex-direction: column;
}

/* Figma rows: 1px #C2C6D7 edge between rows, two equal cells. Name: Roboto
   500 16/24 #1D2939 (20 above / 21 below); date: 400 14/20 #444750 (22.5
   above and below) — both cells come out 65px tall. Side padding is the
   header's 24 (Figma's rows use 32, which put each value 8px off its column
   title). */
.esky-reminder__viewlog-table-row {
    display: flex;
    align-items: stretch;
}

.esky-reminder__viewlog-table-row + .esky-reminder__viewlog-table-row {
    border-top: 1px solid var(--esky-announcements-divider);
}

.esky-reminder__viewlog-table-name {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    padding: 20px 24px 21px;
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #1d2939;
}

.esky-reminder__viewlog-table-date {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    padding: 22.5px 24px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #444750;
}

/* The "Unread" pill shows on phones only (see the phone block below); the
   desktop table keeps Figma's em dash, which is hidden from screen readers.
   So the word stays readable there: visually hidden, not display:none
   (#1016 WCAG 1.3.1). */
.esky-reminder__viewlog-table-unread {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Not viewed yet: the em dash sits where a date would (Figma centred it,
   which left the column with two alignments). */
.esky-reminder__viewlog-table-date--empty {
    text-align: left;
}

.esky-reminder__viewlog-table-empty {
    padding: 32px 24px;
    text-align: center;
    font-size: 14px;
    color: #667085;
}

.esky-reminder__viewlog-sessions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
}

.esky-reminder__viewlog-session {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

/* Recipients are listed per session (PM): each session is a heading — its
   name + "Delivered: …" — over its own table. Not in Figma, which lists
   users alone; styled with the modal's own type scale. The delivered note
   drops under a long name instead of squeezing it. */
.esky-reminder__viewlog-session-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 2px;
}

.esky-reminder__viewlog-session-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #1d2939;
    overflow-wrap: anywhere;
}

.esky-reminder__viewlog-session-delivered {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #667085;
}

/* Phones: long names wrap, and each
   session's table becomes a list — the Figma header strip keeps only
   "Viewed by" (the long date title wrapped to 2-4 lines), and each recipient
   reads as two lines: the name, then either an eye + the date it was viewed
   or an "Unread" pill (the slate pill of the table cards) instead of a bare
   em dash. The search text goes to 16px there: iOS zooms into any smaller
   field on focus. */
@media (max-width: 767px) {
    .esky-reminder__viewlog-value {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .esky-reminder__viewlog-search-input {
        font-size: 16px;
        line-height: 18px;
    }

    .esky-reminder__viewlog-table-col {
        padding: 12px 16px;
    }

    .esky-reminder__viewlog-table-col--date {
        display: none;
    }

    .esky-reminder__viewlog-table-row {
        flex-direction: column;
        gap: 4px;
        padding: 12px 16px;
    }

    .esky-reminder__viewlog-table-name,
    .esky-reminder__viewlog-table-date {
        flex: none;
        padding: 0;
    }

    .esky-reminder__viewlog-table-date {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Viewed: a 16px eye (#64748B, the table's icon slate) before the date. */
    .esky-reminder__viewlog-table-date:not(.esky-reminder__viewlog-table-date--empty)::before {
        content: "";
        flex: none;
        width: 16px;
        height: 16px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748B' d='M12 16q1.875 0 3.188-1.312T16.5 11.5t-1.312-3.187T12 7T8.813 8.313T7.5 11.5t1.313 3.188T12 16m0-1.8q-1.125 0-1.912-.788T9.3 11.5t.788-1.912T12 8.8t1.913.788t.787 1.912t-.787 1.913T12 14.2m0 4.8q-3.65 0-6.65-2.037T1 11.5q1.35-3.425 4.35-5.463T12 4t6.65 2.038T23 11.5q-1.35 3.425-4.35 5.463T12 19m0-2q2.825 0 5.188-1.487T20.8 11.5q-1.25-2.525-3.613-4.012T12 6T6.813 7.488T3.2 11.5q1.25 2.525 3.613 4.013T12 17'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .esky-reminder__viewlog-table-dash {
        display: none;
    }

    .esky-reminder__viewlog-table-unread {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        clip-path: none;
        display: inline-flex;
        align-items: center;
        padding: 2px 10px;
        border-radius: 9999px;
        background: var(--esky-announcements-pill-neutral-bg);
        font-size: 13px;
        font-weight: 500;
        line-height: 20px;
        color: var(--esky-announcements-pill-neutral-text);
    }
}

/* ── Responsive ──────────────────────────────────────────────── */

/* Tablet and phone (< 1024px, the announcements system's desktop cut): the
   two columns stack into one. */
@media (max-width: 1023px) {
    .esky-reminder__layout {
        grid-template-columns: 1fr;
    }

    .esky-reminder__col--main {
        grid-column: auto;
    }
}

/* Phones (≤767, the unified scale — tablets from 768 keep Figma's 24). */
@media (max-width: 767px) {
    /* Not the nested --inner body (card 5): it has no padding of its own —
       giving it 16 too inset card 5's content 32 from the card edge on
       phones instead of the 16 every other card uses. */
    .esky-reminder__card-header,
    .esky-reminder__card-body:not(.esky-reminder__card-body--inner) {
        padding-right: 16px;
        padding-left: 16px;
    }

    /* Card 3: on phones the Preview button drops below the title and
       spans the full width (same pattern as "Send Test Reminder" and the
       stacked footer), so the title never has to wrap next to it. */
    .esky-reminder__card-header--with-action {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .esky-reminder__card-header--with-action .esky-reminder__card-action {
        margin-left: 0;
    }

    .esky-reminder__card-header--with-action .esky-reminder__btn--sm {
        width: 100%;
    }

    .esky-reminder__mode-options {
        padding-left: 0;
    }

    /* Reminder Preview email area: 24 at the sides instead of 60 on phones,
       in line with the title and the info strip (60 left a 152px column for
       the email at 320). */
    .esky-reminder__modal-email {
        padding: 24px;
    }

    /* Dialog "Close" (Preview email, Announcement and Reminder Preview, View
       Log): full width on phones, like the form's Preview and footer
       buttons — an easier tap target. */
    .esky-reminder__modal-footer-btn,
    .esky-announcements__preview-close-btn,
    .esky-reminder__viewlog-footer-btn {
        width: 100%;
    }

    /* ...and the email card itself goes from 32 to 16 inside (the phone
       spacing of the rest of the form): 32 left a 138px text column at 320. */
    .esky-reminder__modal-message {
        padding: 16px;
    }

    /* Reminder Preview info strip: on phones the decorative "i" (and its
       12px gap) gives its 28.67px back to the text, which otherwise ran to
       5 lines in a 195px column at 320. */
    .esky-reminder__modal-info-icon {
        display: none;
    }

    /* Actions bar on phones — same standard as the Announcement footer: it
       sits at the end of the form instead of sticking (a ~150px stuck bar
       would cover a big part of a phone screen, and the keyboard can push
       it over the field being typed in), notices first, then the buttons
       stacked full width with the main action on top. */
    .esky-reminder__nav {
        position: static;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 12px;
        box-shadow: none;
    }

    .esky-reminder__nav-left {
        flex: none;
    }

    .esky-reminder__nav-right {
        flex-direction: column;
        gap: 12px;
        margin-left: 0;
    }

    .esky-reminder__nav-right .esky-reminder__btn {
        width: 100%;
    }

    .esky-reminder__nav-right .esky-reminder__btn--primary {
        order: -1;
    }
}


/* Icons scale with the same fluid unit */
.esky-reminder__note svg,
.esky-reminder__btn svg {
    width: 17.6px;
    height: 17.6px;
}

.esky-reminder__edit-banner svg {
    width: 15px;
    height: 15px;
}

.esky-reminder__summary-icon svg {
    width: 16.67px;
    height: 16.67px;
}

/* Schedule card footer note keeps its own compact 13.33x13.33 icon (not the shared 17.6px size above).
   Centred on the first line of text: (line height - icon) / 2, so it follows the hint size (#1016). */
.esky-reminder__note svg {
    width: 13.33px;
    height: 13.33px;
    margin-top: calc((var(--esky-announcements-hint-line) - 13.33px) / 2);
}

/* ── Layout: the Announcements module and the Session Reminder form sit
   flush against the sidebar and top bar (Figma). Scoped with :has() so only
   a .container-portal that actually holds one of our modules is touched —
   every other page keeps the theme's centred 98% container untouched. ── */
.container-portal:has(.esky-announcements),
.container-portal:has(.esky-reminder),
.container-portal:has(.esky-announcement) {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.container-portal:has(.esky-announcements) > .row,
.container-portal:has(.esky-reminder) > .row,
.container-portal:has(.esky-announcement) > .row {
    margin-right: 0;
    margin-left: 0;
}

.container-portal:has(.esky-announcements) > .row > [class*="col-"],
.container-portal:has(.esky-reminder) > .row > [class*="col-"],
.container-portal:has(.esky-announcement) > .row > [class*="col-"] {
    /* Kills the theme's 15px horizontal gutter and its 7.5px top/bottom
       gutter, so the module box meets the sidebar and top bar with no seam;
       the module supplies its own padding. */
    padding: 0;
}

/* ── My Campaigns table ──────────────────────────────────────── */
.esky-campaigns__table-wrapper {
    margin-top: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.esky-campaigns__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.esky-campaigns__table thead tr {
    border-bottom: 2px solid #e5e7eb;
}

.esky-campaigns__table th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.esky-campaigns__table th.esky-campaigns__th--center {
    text-align: center;
}

.esky-campaigns__table td {
    padding: 12px 14px;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.esky-campaigns__row:hover td {
    background: var(--esky-announcements-hover-row);   /* #1016 D31 (it was #F9FAFB) */
}

/* ── Shared announcement table — container + header ───────────────
   New block for #1016 F2.4 (Figma "table" + "header row"). Both the
   Announcements and Session Reminders wrappers carry this class; rows/cells
   still fall back to the legacy .esky-campaigns__ styles until the F2.5
   migration, then that CSS is removed in one cleanup commit. */
.esky-announcements__table-wrapper {
    margin-top: 8px;
    background: #ffffff;
    border: 1px solid var(--esky-announcements-divider);   /* Figma: table border (#1016 D30) */
    border-radius: 20px;
    /* Both axes non-visible so the radius still clips the corners, but a wide
       table scrolls horizontally instead of being cut off. */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;           /* Figma "table": bottom padding */
}

.esky-announcements__table-wrapper .esky-campaigns__table {
    /* The <colgroup> holds the Figma base widths; table-layout stays auto so
       they flex. Below this floor the wrapper scrolls instead of crushing a
       column (the 768px card layout resets it). */
    min-width: 960px;
}

.esky-announcements__table-footer {
    /* Figma "Frame 2147223286": horizontal, spans the table, hugs to 40px,
       space-between — range indicator / page nav / page-size select. Tracks
       the table's min-width so it scrolls in step with the rows. 16px of gap
       above it (Figma), matching the wrapper's 16px bottom padding below. */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    position: sticky;
    left: 0;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    margin-top: 16px;
    padding: 0 24px;
}

.esky-announcements__table-footer-range {
    /* Figma "Pagination" (range indicator "1-20 / 135"): 33px tall, hugs its
       width, 6px radius, 1.5px border (drawn inside the 33px, so
       border-box + a fixed height), 9px side padding. Figma's border is
       General/Tertiary #C7D1D9 (1.55:1), shared with the current page box
       below — both move together to the control border (#1016 D11/D15). */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 33px;
    padding: 0 9px;
    border: 1.5px solid var(--esky-announcements-control-border);
    border-radius: 6px;
}

.esky-announcements__table-footer-range-text {
    /* Figma "Text": Roboto 400, 18px, 16px line box, 0 tracking, #1D2939. */
    font-size: 18px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    color: #1d2939;
    white-space: nowrap;
}

.esky-announcements__table-footer-nav {
    /* Figma "Pagination" (page nav "< 01 02 03 04 ... 12 >"): horizontal,
       hugs, 33px tall, 12px between the arrows and page buttons. */
    display: flex;
    align-items: center;
    gap: 12px;
    height: 33px;
}

.esky-announcements__table-footer-nav-arrow {
    /* Figma "chevron-left" / "chevron-right": 20x20 hit area, a 5x10 chevron
       (1.5px stroke, #1D2939) centred in it. */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    color: #1d2939;
    text-decoration: none;
    cursor: pointer;
}

.esky-announcements__table-footer-nav-arrow--disabled {
    color: #c2c6d7;
    cursor: default;
}

.esky-announcements__table-footer-nav-arrow svg {
    display: block;
}

.esky-announcements__table-footer-nav-arrow:focus {
    outline: none;
}

.esky-announcements__table-footer-nav-arrow:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: 1px;
    border-radius: 4px;
}

.esky-announcements__table-footer-nav-page {
    /* Figma "Pagination" item ("01".."12"): 32x33 hug, 6px radius, 8/9/9/9
       padding. Label Roboto 400, 12px, 16px line, #1D2939. The 1.5px border
       is transparent on rest so the box stays 33px whichever state it's in;
       the --active variant just colours it #C7D1D9. */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 33px;
    min-width: 32px;
    padding: 0 9px;
    border: 1.5px solid transparent;
    border-radius: 6px;
    background: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    color: #1d2939;
    font-variant-numeric: tabular-nums lining-nums;
    text-decoration: none;
    cursor: pointer;
}

.esky-announcements__table-footer-nav-page:hover {
    text-decoration: none;
    background: var(--esky-announcements-hover-overlay);
}

/* The box is the only "current page" cue, so it needs 3:1 (WCAG 1.4.11):
   control border instead of Figma's General/Tertiary (#1016 D11/D15). */
.esky-announcements__table-footer-nav-page--active,
.esky-announcements__table-footer-nav-page--active:hover {
    border-color: var(--esky-announcements-control-border);
    background: none;
}

.esky-announcements__table-footer-nav-page:focus {
    outline: none;
}

.esky-announcements__table-footer-nav-page:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: 1px;
}

.esky-announcements__table-footer-nav-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 28px;
    height: 33px;
    font-size: 12px;
    line-height: 16px;
    color: #1d2939;
}

.esky-announcements__table-footer-size {
    /* Figma "Select" (page-size "N 20"): horizontal, 104x40 fixed, 8px
       radius, 12px side padding, 6px gap, no fill and no border — the label
       and the chevron (3.9:1) are what identify it (WCAG 1.4.11). */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 104px;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: none;
    cursor: pointer;
}

.esky-announcements__table-footer-size:focus {
    outline: none;
}

.esky-announcements__table-footer-size:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: 2px;
}

.esky-announcements__table-footer-size-label {
    /* Figma "Label": Roboto 500, 20px, fills the space left of the chevron.
       Colour: Font Color/titles like the rest of the pager row (#1016 D15;
       Figma's #313131 came from its Select component). Tabular lining
       figures keep the digits even. */
    flex: 1;
    min-width: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: var(--esky-announcements-text-primary);
    font-variant-numeric: tabular-nums lining-nums;
    text-align: left;
}

.esky-announcements__table-footer-size-icon {
    /* Figma "24 / arrows-chevron-bottom-24": an 11.61 x 6.75 chevron in
       #778294. */
    display: inline-flex;
    flex-shrink: 0;
    color: #778294;
}

.esky-announcements__table-footer-size-wrap {
    display: inline-flex;
}

/* Page-size listbox (opened by the Select trigger). No Figma for the open
   state, so it borrows the module's dropdown look — white, 1px divider grey,
   8px radius — with a light elevation since it floats over the table. */
.esky-announcements__size-menu {
    position: fixed;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 104px;
    padding: 4px;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.12);
}

.esky-announcements__size-menu[hidden] {
    display: none;
}

.esky-announcements__size-option {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    background: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: var(--esky-announcements-text-primary);   /* as its trigger (#1016 D15) */
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.esky-announcements__size-option:hover,
.esky-announcements__size-option:focus-visible {
    background: var(--esky-announcements-hover-overlay);
}

.esky-announcements__size-option[aria-selected="true"] {
    background: #eceff5;
    font-weight: 700;
}

.esky-announcements__table-wrapper thead tr {
    height: 60px;                  /* Figma "Table cell": Fill 60px */
    background: var(--esky-announcements-surface-muted);   /* #1016 D15 */
    border-bottom: 1px solid #e5e7eb;      /* Figma "General/Stroke" #E5E7EB 1px */
}

.esky-announcements__table-wrapper thead th {
    /* Figma "Table cell": 12px inner padding, Roboto 500 16px/24px #1D2939.
       The label content is natural-case ("Start Date"); Figma's "Forced small
       caps" is a text-transform, not pre-capitalised copy, so the uppercase
       lives here and the i18n strings stay readable. Column widths and the
       per-cell 12px corner radius are Figma mock artifacts (a fixed 1440px
       frame, and a duplicate of the wrapper's own 20px rounding) — not
       replicated; the wrapper's radius/overflow already clips the row. */
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #1d2939;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
}

/* Sortable column header: the label plus a pair of arrows (up = ascending,
   down = descending). Both rest faint so the column reads as sortable; on the
   active column the arrow for the current direction takes the client colour and the
   other stays faint. Inherits the header's own type, so it looks like the
   plain <th> text until hovered. */
.esky-announcements__sort-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.esky-announcements__sort-link:hover,
.esky-announcements__sort-link:focus {
    color: inherit;
    text-decoration: none;
}

.esky-announcements__sort-link:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: 4px;
    border-radius: 4px;
}

.esky-announcements__sort-arrows {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: none;
}

.esky-announcements__sort-arrow {
    display: inline-flex;
    color: #667085;
    opacity: 0.4;
    transition: opacity 0.15s, color 0.15s;
}

.esky-announcements__sort-link:hover .esky-announcements__sort-arrow {
    opacity: 0.75;
}

/* The active arrow says which column sorts the table and which way: a
   state indicator, so it takes the client colour like every other "active"
   mark in the module (#1016 D34; it was the old fixed #193BFF). 3:1 needed
   (1.4.11): 5.04:1 with the demo green. */
.esky-announcements__sort-arrow--on,
.esky-announcements__sort-link:hover .esky-announcements__sort-arrow--on {
    color: var(--esky-announcements-accent);
    opacity: 1;
}

.esky-announcements__table-wrapper thead th:first-child {
    padding-left: 24px;            /* Figma "header row": 24px side inset */
}

.esky-announcements__table-wrapper thead th:last-child {
    padding-right: 24px;
}

.esky-announcements__table-wrapper tbody td {
    /* Figma "Table cell": Fill 94.67px tall, 16px top/bottom + 12px side
       padding, 1px #E5E7EB divider. `height` is the minimum on a table cell,
       so tall/wrapped content grows the row (keeping the 16px gutter) instead
       of clipping; single-line content stays centred either way. */
    height: 94.67px;
    padding: 16px 12px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.esky-announcements__table-wrapper tbody td:first-child {
    padding-left: 24px;
}

.esky-announcements__table-wrapper tbody td:last-child {
    padding-right: 24px;
}

.esky-announcements__table-wrapper td.esky-campaigns__subject {
    /* Figma Title "Text": Roboto 500, 16px, 24px line height, 0 letter
       spacing, #1D2939. On tablet and up the text wraps and the row grows
       (#1016 D15); the row's `vertical-align: middle` centres a single 24px
       line in the 94.67px cell (Figma's 35.33px top/bottom inset). */
    min-width: 195px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #1d2939;
}

.esky-announcements__table-wrapper td.esky-announcements__date {
    /* Same as the Session Reminders "Progress Condition" text (the
       reference table): Roboto 400, 14px, 20px line height, #1D2939.
       Centred in the 94.67px row via the row's `vertical-align: middle`. */
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #1d2939;
    white-space: nowrap;
}

.esky-announcements__table-wrapper td.esky-announcements__lang {
    /* Same as the Session Reminders "Schedule" line (the reference table):
       Roboto 500, 14px, 20px line height, #1D2939. Centred in the 94.67px
       row via the row's `vertical-align: middle`. */
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #1d2939;
    white-space: nowrap;
    /* Figma shows the codes uppercased (EN, FR); keep "All" -> "ALL" in step. */
    text-transform: uppercase;
}

/* ACTIONS cell — Figma (Session Reminders) centres the kebab trigger in
   the 120px Fixed cell, in both tables. */
.esky-announcements__table-wrapper td.esky-campaigns__actions {
    text-align: center;
}

.esky-announcements__actions-btn {
    /* Figma "Icon Button": 40x40, fully round, centring the kebab
       ("dots-vertical", 20x20 slot) in General/Primary #1D2939. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #1d2939;
    cursor: pointer;
}

.esky-announcements__actions-btn:hover {
    background: var(--esky-announcements-hover-overlay);
}

.esky-announcements__actions-btn svg {
    display: block;
}

.esky-announcements__actions-wrap {
    display: inline-flex;
}

/* Row-actions dropdown (Figma "Frame 2147224290" / "…3312"): a vertical
   white card — 12px radius, 1px divider-grey border (#1016 D30), 14/8 padding, 10px gap — of
   full-width option rows. JS places it as `position: fixed` so the table's
   overflow doesn't clip it. */
.esky-announcements__menu[hidden] {
    display: none;
}

.esky-announcements__menu {
    position: fixed;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: max-content;
    min-width: 125.33px;   /* Figma "Hug (125.33px)" — grows for longer labels */
    padding: 14px 8px;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: 12px;
    background: #fff;
}

/* No room for the list above or below the ⋮ (a phone on its side): the
   options in a row, same items and order (#1016 R1, set by my_home.tpl).
   A row too wide for the screen wraps rather than run off it. */
.esky-announcements__menu--row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(100vw - 16px);
    padding: 8px;
}

.esky-announcements__menu--row .esky-announcements__menu-item {
    width: auto;
}

.esky-announcements__menu-item {
    /* Figma option row ("Buttons"): fill width, 40px tall, 8px radius, 10/8
       padding, 4px gap between the icon pill and the label. */
    display: flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 10px 8px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: #424754;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.esky-announcements__menu-item-icon {
    /* Figma "Button": circular slot, 8px padding, hugs the icon. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
    border-radius: 9999px;
    color: inherit;
}

.esky-announcements__menu-item-icon svg {
    display: block;
}

.esky-announcements__menu-item-label {
    /* Figma text: 700, 14px, 150% line height, #424754. (Panel says Inter;
       the module has no Inter face, so this inherits the module's Roboto —
       consistent with every other label.) */
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: inherit;
}

.esky-announcements__menu-item:hover,
.esky-announcements__menu-item:focus-visible {
    background: var(--esky-announcements-hover-overlay);
}

/* Delete: label and icon in the danger red (#1016 D2). Figma painted only
   the icon, in #EF4444 (3.8:1 — under 4.5:1 for the text it sits beside). */
.esky-announcements__menu-item--danger {
    color: var(--esky-announcements-danger);
}

/* ── Announcement Preview modal ─────────────────────────────────── */
/* Backdrop comes from the shared .esky-modal-backdrop. */
.esky-announcements__preview {
    margin: auto;
    /* Figma "Announcement Preview": 600px, 8px radius, 1px #C2C6D7, white,
       two stacked drop shadows. Capped at Figma's 921px but never taller than
       the viewport (backdrop keeps 24px on each side) — the body scrolls and
       the header/footer stay pinned. */
    display: flex;
    flex-direction: column;
    width: 600px;
    max-width: 100%;
    max-height: min(921px, calc(100vh - 48px));
    /* dvh = the area actually visible: on phones 100vh is the height with the
       browser's address bar hidden, so while the bar shows the modal would
       run under it and hide the Close button. Browsers without dvh keep vh. */
    max-height: min(921px, calc(100dvh - 48px));
    border: 1px solid var(--esky-announcements-divider);
    /* 12 like every other modal (Test success, Delete, View Log, Reminder
       Preview); Figma's Announcement Preview 8 is the odd one out. */
    border-radius: var(--esky-announcements-radius);
    background: #fff;
    box-shadow: var(--esky-announcements-shadow-dialog);
    overflow: hidden;
}

.esky-announcements__preview-header {
    /* Shared dialog header (#1016 D4/D13): 75px grey bar with a divider
       below, title left and close button right. 16 on the right: the 40px
       box already leaves 13px around the 14px X (as in the D4 preview). */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    height: var(--esky-announcements-dialog-bar-height);
    padding: 0 var(--esky-announcements-dialog-bar-padding-x);
    border-bottom: 1px solid var(--esky-announcements-divider);
    background: var(--esky-announcements-surface-muted);
}

.esky-announcements__preview-title {
    /* Normalised heading: Roboto 700, 20px, 28px line height, 0 letter
       spacing, in Figma v2's Font Color/titles (#1D2939; the earlier
       Figma's #101C2C until 27/10). */
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    color: var(--esky-announcements-text-primary);
}

/* .esky-panel-close: the same X on the panels (Language, Assign to Class,
   Session Selection, Sort by) — #1016 D12. */
.esky-announcements__preview-close,
.esky-panel-close {
    /* Shared dialog close button (#1016 D13): 40x40, radius 12, 14px X in
       the label grey (Figma v2 #444750). (Figma's per-modal "hug + asymmetric padding" close buttons
       are auto-layout artifacts.) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--esky-announcements-dialog-close-size);
    height: var(--esky-announcements-dialog-close-size);
    padding: 0;
    border: 0;
    border-radius: var(--esky-announcements-dialog-close-radius);
    background: none;
    color: var(--esky-announcements-label);
    cursor: pointer;
}

.esky-announcements__preview-close:hover,
.esky-panel-close:hover {
    background: var(--esky-announcements-hover-overlay);
}

/* Figma's 11.67 X scaled to the shared 14px icon (#1016 D13); may paint
   past its box so the anti-aliased ends aren't clipped. */
.esky-announcements__preview-close svg,
.esky-panel-close svg {
    display: block;
    width: var(--esky-announcements-dialog-close-icon);
    height: var(--esky-announcements-dialog-close-icon);
    overflow: visible;
}

.esky-announcements__preview-body {
    /* Figma "Modal Content Body": vertical, 24px padding, 16px gap. Takes the
       space left between the pinned header and footer and scrolls both axes
       (Figma "Scroll overflow: Horizontal and vertical") once the modal hits
       its height cap. */
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-height: 0;
    padding: 24px;
    overflow: auto;
    overscroll-behavior: contain;
}

/* It is a Tab stop (a long message scrolls with the arrow keys, #1016,
   WCAG 2.1.1). Keyboard focus: the module's ring, drawn inside because the
   dialog clips what overflows it; no ring on a mouse click. */
.esky-announcements__preview-body:focus {
    outline: none;
}

.esky-announcements__preview-body:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: -2px;
}

.esky-announcements__preview-heading {
    /* Figma "Container": vertical, fills the body width, 8px gap between the
       announcement title and its publish-date line. */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.esky-announcements__preview-heading-title {
    /* Figma "Heading 1" text: Roboto 700, 24px, 30px line height, 0 letter
       spacing, #1D2939. */
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0;
    color: #1d2939;
    /* A long unbroken word ("MAINTENANCE/UPGRADE") wraps instead of running
       past the modal on phones. */
    overflow-wrap: anywhere;
}

.esky-announcements__preview-heading-date {
    /* Figma "Container": horizontal, fills the block width, 8px gap between
       the calendar icon and the publish-date text. */
    display: flex;
    align-items: center;
    gap: 8px;
}

.esky-announcements__preview-heading-date-icon {
    /* Figma "Container": hugs the 12 x 13.33 calendar icon, in Figma v2's
       sucondary-color-text #444750 (the earlier Figma's #424754 until 27/10).
       The row's `align-items: center` gives the 5.33px vertical inset. */
    display: inline-flex;
    flex-shrink: 0;
    color: var(--esky-announcements-label);
}

.esky-announcements__preview-heading-date-icon svg {
    display: block;
    width: 12px;
    height: 13.33px;
}

.esky-announcements__preview-heading-date-text {
    /* Figma "Text": Roboto 400, 16px, 24px line height, 0 letter spacing,
       sucondary-color-text #444750 (Figma v2; it was #424754). */
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--esky-announcements-label);
}

.esky-announcements__preview-divider {
    /* Figma "Margin" (17px, 8px top/bottom) around the "Horizontal Divider"
       (1px, the divider grey). The 8px margin sits on top of the body's 16px gap, so
       there's 24px above and below the line. */
    flex-shrink: 0;
    height: 1px;
    margin: 8px 0;
    background: var(--esky-announcements-divider);   /* #1016 D30 */
}

.esky-announcements__preview-content {
    /* Figma "Container": vertical, fills the width, 8px gap between the
       announcement's rendered blocks. The margin reset makes that gap the
       only spacing, and images are held to the modal width. The Figma "Text"
       spec (Roboto 400, 16px/26px) is set here so every descendant text node
       inherits it; the author's own bold / inline styles still win. Colour:
       text-primary, one colour for the message in all three previews
       (#1016, 28/10; Figma had this one in sucondary-color-text). */
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0;
    color: var(--esky-announcements-text-primary);
}

.esky-announcements__preview-content > * {
    margin: 0;
}

.esky-announcements__preview-content img {
    max-width: 100%;
    height: auto;
}

/* The content is the author's CKEditor text: Figma sets the base type above
   and the list layout (20px indent, 4px between items); bold, italic,
   underline, bullets / numbers and links are the author's and are kept. */
.esky-announcements__preview-content ul,
.esky-announcements__preview-content ol {
    padding-left: 20px;
}

.esky-announcements__preview-content li + li {
    margin-top: 4px;
}

.esky-announcements__preview-content a {
    color: var(--esky-announcements-accent-text);
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.esky-announcements__preview-footer {
    /* Shared dialog footer (#1016 D4/D13): 75px grey bar with a divider
       above, the action to the right. */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    height: var(--esky-announcements-dialog-bar-height);
    padding: 0 24px;
    border-top: 1px solid var(--esky-announcements-divider);
    background: var(--esky-announcements-surface-muted);
}

.esky-announcements__preview-close-btn {
    /* Figma footer "Button" on the #1016 D3 medium size: hugs its text
       (no min width; 91 was Figma's 16px "Close"), 40px tall, 8px radius,
       8/24 padding, client colour, subtle drop shadow. Label: Roboto 700
       14/20, no tracking, white. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: var(--esky-announcements-btn-md-height);
    padding: 8px 24px;
    border: 0;
    border-radius: 8px;
    /* Figma's blue is the system primary. */
    background: var(--main-color-background-image);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-size: var(--esky-announcements-btn-md-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 20px;
    letter-spacing: 0px;   /* #1016 D3: the 0.4 went with Figma's 16px text */
    color: #fff;
    cursor: pointer;
}

.esky-announcements__preview-close-btn:hover {
    background: color-mix(in srgb, var(--main-color-background-image) 85%, black);
}

/* Panels (#1016 D12): the box Assign to Class already had in Figma
   ("Frame 7": 36 x 30, 9px padding, radius 4, flush with the right edge
   of the content) with the X in its own 18 x 18 icon box, as Figma's
   "chevron-updown" was (Jimmy). The X keeps the proportion of its 20px
   icon (an 11.67 glyph, about 10.5px here), so it has room inside the box.
   No negative margins: the header is Figma's 30px and the focus ring
   stays clear of the panel's border (the panels clip their overflow).
   Same colour, hover and focus ring as the dialogs' close button. */
.esky-panel-close {
    width: 36px;
    height: 30px;
    padding: 9px;
    margin: 0;
    border-radius: 4px;
}

.esky-panel-close svg {
    width: 18px;
    height: 18px;
}

/* Panel header (Language, Sort by): the title and its X pushed apart. */
.esky-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    gap: 16px;
}

.esky-panel-head > :first-child {
    flex: 1 1 auto;
    min-width: 0;
}

/* Focus policy of the system: nothing on click/tap, the module's focus ring (#1016 D28)
   only for keyboard focus. */
.esky-announcements__preview-close:focus,
.esky-announcements__preview-close-btn:focus,
.esky-panel-close:focus {
    outline: none;
}

.esky-announcements__preview-close:focus-visible,
.esky-announcements__preview-close-btn:focus-visible,
.esky-panel-close:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

/* Touch screens have no real hover: keep the fills from sticking after a
   tap. */
@media (hover: none) {
    .esky-announcements__preview-close:hover,
    .esky-panel-close:hover {
        background: none;
    }

    .esky-announcements__preview-close-btn:hover {
        background: var(--main-color-background-image);
    }
}

/* ── Session Reminder preview body ─────────────────────────────────── */

/* Rich-text pictures inside the Preview modal (announcement and reminder):
   fit the modal instead of forcing a horizontal scroll, and keep their
   proportions — see .esky-announcements__card-content img. */
.esky-announcements__preview-body img {
    max-width: 100%;
    height: auto !important;
}

.esky-announcements__preview-body--reminder {
    /* Figma "Modal Body" (reminder preview): 24px gap between the name block
       and the message card — the announcement body keeps its 16px. */
    gap: 24px;
}

.esky-announcements__reminder-preview-name {
    /* Figma "Container": vertical, fills the body width, 4px gap between the
       "Reminder name" label and the reminder name itself. */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.esky-announcements__reminder-preview-message {
    /* Figma "Background+Border": vertical, fills the body width, 16px gap,
       24px padding, 8px radius, 1px divider-grey border (#1016 D30), Figma
       v2 background-color fill (#F5F6F8; the earlier Figma's #F8F9FF). */
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--esky-announcements-divider);   /* #1016 D30 */
    border-radius: 8px;
    background: var(--esky-announcements-surface);
}

.esky-announcements__reminder-preview-label {
    /* Figma "REMINDER NAME" / "REMINDER MESSAGE" text: Roboto 700, 11px,
       14px line height, 1.1px letter spacing, uppercase. Identical in both
       blocks; only the colour differs. Each label sits in its own Figma
       "Container" (vertical, fills the width, hugs its 14px height) — here
       that's just the block-level element in the parent's 16px-gap column. */
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.esky-announcements__reminder-preview-label--name {
    /* Client colour, darkened for text (4.5:1). */
    color: var(--esky-announcements-accent-text);
}

.esky-announcements__reminder-preview-label--message {
    /* Figma v2 sucondary-color-text #444750 (it was the earlier #424754). */
    color: var(--esky-announcements-label);
}

.esky-announcements__reminder-preview-title {
    /* Figma "Heading 3" text: Roboto 700, 24px, 32px line height, 0 letter
       spacing, #1D2939. */
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0;
    color: #1d2939;
    /* A long unbroken name wraps instead of running past the modal. */
    overflow-wrap: anywhere;
}

.esky-announcements__reminder-preview-message-body {
    /* Figma "Container": vertical, fills the card width, 15.4px gap between the
       message's blocks. Text (Figma "Text"): Roboto 400, 14px, 22.75px line
       height, 0 letter spacing, #1D2939 — set here so every block inherits it;
       the author's own bold / inline styles still win. */
    display: flex;
    flex-direction: column;
    /* Figma: 15.4 gap + the blocks' own 0.6 top padding = 16. */
    gap: 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.75px;
    letter-spacing: 0;
    color: var(--esky-announcements-text-primary);   /* same message colour in all three previews */
}

.esky-announcements__reminder-preview-message-body > * {
    margin: 0;
}

/* The message is the author's CKEditor text: same list / link handling as
   the announcement preview (.esky-announcements__preview-content). */
.esky-announcements__reminder-preview-message-body ul,
.esky-announcements__reminder-preview-message-body ol {
    padding-left: 20px;
}

.esky-announcements__reminder-preview-message-body li + li {
    margin-top: 4px;
}

.esky-announcements__reminder-preview-message-body a {
    color: var(--esky-announcements-accent-text);
    text-decoration: underline;
    overflow-wrap: anywhere;
}

/* Phones: the message card goes from 24 to 16 inside, like the email card
   of the reminder form's own Preview modal. */
@media (max-width: 767px) {
    .esky-announcements__reminder-preview-message {
        padding: 16px;
    }
}

.esky-announcements__reminder-preview-message-body hr {
    /* Figma "HorizontalBorder" — 1px rule; exact spacing pending its own
       screenshot, the block gap carries it for now. */
    height: 1px;
    margin: 0;
    border: 0;
    background: #c2c6d7;
}

.esky-announcements__visibility {
    /* Matches the Session Reminders "N Sessions" box (the reference
       table): horizontal, hug, 5px gap to the info icon, 1px side padding. */
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 1px;
}

.esky-announcements__visibility-count {
    /* Same as the Session Reminders "N Sessions" text: Roboto 400, 14px,
       20px line height, #1D2939. */
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #1d2939;
    white-space: nowrap;
}

.esky-announcements__visibility-info {
    /* Figma icon "Container": 15x15 hug, slate. Reveals the role list on
       hover/focus (Figma "Open overlay" -> Component 165). */
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: #64748b;
    cursor: pointer;
    /* A <button> when it has a list to show (4.1.2): no browser button
       look, and the bubble inside keeps the cell's type. */
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    line-height: inherit;
    text-align: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}

.esky-announcements__visibility-info svg {
    width: 15px;
    height: 15px;
}

.esky-announcements__visibility-info:hover,
.esky-announcements__visibility-info:focus-visible {
    color: #424754;
}

/* Role-list tooltip (Figma "Component 165"): the module's one tooltip
   (#1016 D18; the tabs' own (i) tooltips were removed) — 184px bubble in the
   client colour at its lightest, no border, 5px radius, 12/10 padding,
   Roboto 14px/100% #000, drop shadow 4/5/10.6 black 15%. Sits 6px to the right of the icon with a left-pointing arrow, or to
   its left when the right side has no room (--left, set by my_home.tpl —
   e.g. phone cards, where the icon sits at the card's right edge).
   display:none while hidden: a hidden-but-laid-out bubble past the right
   edge made the whole page scroll sideways on phones. */
.esky-announcements__visibility-tooltip {
    display: none;
    position: absolute;
    left: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    width: 184px;
    padding: 12px 10px;
    border-radius: 5px;
    background: var(--esky-announcements-accent-soft);
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.19;  /* Figma "100%" renders ~16.67px/line — see tab tooltip */
    letter-spacing: 0;
    text-align: left;
    white-space: normal;
    box-shadow: 4px 5px 10.6px rgba(0, 0, 0, 0.15);
    opacity: 0;
    /* allow-discrete keeps the fade across display:none <-> block (browsers
       without it just show/hide instantly). */
    transition: opacity 0.12s ease, display 0.12s allow-discrete;
}

.esky-announcements__visibility-tooltip::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    /* Same arrow as the tab tooltip: 6px deep, 7.63px base. */
    border-top: 3.82px solid transparent;
    border-bottom: 3.82px solid transparent;
    border-right: 6px solid var(--esky-announcements-accent-soft);
}

/* When it opens (#1016, PM), by the kind of screen rather than its width
   (a touch tablet has no hover):
   - with a mouse: on hover or keyboard focus only. A mouse click no longer
     pins it open — the clicked "i" kept focus, so its bubble stayed after
     the pointer left and a second one opened on the next row;
   - touch screens: on tap (the "i" takes focus); a tap elsewhere or on
     another "i" closes it, and a second tap on the same one too
     (my_home.tpl). Esc closes it in both (1.4.13). */
@media (hover: hover) and (pointer: fine) {
    .esky-announcements__visibility-info:hover .esky-announcements__visibility-tooltip,
    .esky-announcements__visibility-info:focus-visible .esky-announcements__visibility-tooltip {
        display: block;
        opacity: 1;
    }

    @starting-style {
        .esky-announcements__visibility-info:hover .esky-announcements__visibility-tooltip,
        .esky-announcements__visibility-info:focus-visible .esky-announcements__visibility-tooltip {
            opacity: 0;
        }
    }
}

@media (hover: none), (pointer: coarse) {
    .esky-announcements__visibility-info:focus .esky-announcements__visibility-tooltip {
        display: block;
        opacity: 1;
    }

    @starting-style {
        .esky-announcements__visibility-info:focus .esky-announcements__visibility-tooltip {
            opacity: 0;
        }
    }
}

/* List variant (Session Reminders "N Sessions", not drawn in Figma): one
   bulleted session name per line with a hanging indent, so a long name that
   wraps still reads as one item; the closing "+N more" sits on the text
   line, unbulleted and in the muted slate. 240 wide instead of the roles'
   184 so most session names fit on one line despite the indent. */
.esky-announcements__visibility-tooltip--list {
    width: 240px;
}

.esky-announcements__visibility-tooltip-item,
.esky-announcements__visibility-tooltip-more {
    display: block;
    padding-left: 12px;
    overflow-wrap: anywhere;
}

.esky-announcements__visibility-tooltip-item {
    position: relative;
}

.esky-announcements__visibility-tooltip-item::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.5em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-1px);
}

.esky-announcements__visibility-tooltip-item + .esky-announcements__visibility-tooltip-item,
.esky-announcements__visibility-tooltip-more {
    margin-top: 8px;
}

.esky-announcements__visibility-tooltip-more {
    color: #64748b;
}

/* No room on the right: open to the left, arrow pointing right. */
.esky-announcements__visibility-info--left .esky-announcements__visibility-tooltip {
    left: auto;
    right: calc(100% + 6px);
}

.esky-announcements__visibility-info--left .esky-announcements__visibility-tooltip::before {
    right: auto;
    left: 100%;
    border-right: 0;
    border-left: 6px solid var(--esky-announcements-accent-soft);
}

.esky-campaigns__status {
    /* Figma "multiSelect" (outer) = 36px tall; "Frame 5" (icon + label) = 4px
       gap, 1px 10px 1px 12px padding. Both folded into this one box. The Fixed
       84px width clips "3/5 Delivered" so it hugs its content instead. The
       Announcements frames omit the horizontal padding — used the SR value. */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 36px;
    padding: 1px 10px 1px 12px;
    /* Figma label text: Roboto 400, 14px, 155% line height. */
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    white-space: nowrap;
}

.esky-campaigns__status svg {
    flex-shrink: 0;
}

/* Figma: the label takes the icon's colour — green for the "success" states
   (Active / Delivered), slate for everything else. */
.esky-campaigns__status--delivered {
    color: var(--esky-announcements-success);   /* Figma v2 status/completed-aa (it was #378254) */
}

.esky-campaigns__status--partial {
    color: var(--esky-announcements-status-neutral);   /* Figma v2 Font Color/input text (it was #64748B) */
}

/* Table status icons (Session Reminders Figma, also used by Announcements):
   the glyphs paint in the label colour. "Delivered" / "Active" use
   status/completed-aa (the success token); the alert sits in a 17px #F1F5F9
   circle ("Background"). */
.esky-announcements__table-wrapper .esky-campaigns__status--delivered {
    color: var(--esky-announcements-success);
}

.esky-campaigns__status-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    border-radius: 9999px;
    background: #f1f5f9;
}

.esky-campaigns__status-dot svg {
    display: block;
    overflow: visible;
}

/* ── Announcements + Session Reminders tables (Figma "table", node
   2832:9052 — the Session Reminders frame is the reference for both).
   Table view only when the table fits its panel (1100px and up, #1016
   A-01); narrower panels get the card layout below. */
@container esky-table (min-width: 1100px) {
    .esky-announcements__table-wrapper {
        border-radius: 16px;        /* Figma "table": 16px radius */
    }

    .esky-announcements__table-wrapper .esky-campaigns__table {
        /* Columns sized by their content (Pajamas table rule): each header
           keeps its sort arrows on one line and the Title takes 30% (the
           <col> in the templates), the widest column as in Figma. No
           minimum width: it used to be 1500 / 1410px, so at 1440 with the
           side menu open the Actions column sat off-screen. */
        table-layout: auto;
    }

    .esky-announcements__table-wrapper th.esky-campaigns__th--center,
    .esky-announcements__table-wrapper td.esky-campaigns__actions {
        /* Figma "Actions": 120px Fixed cell, justify-content center. */
        text-align: center;
    }

    /* The title wraps and the row grows (#1016 D15): a one-line ellipsis
       hid the end of long titles, also when zooming text (1.4.4). */
    .esky-announcements__table-wrapper td.esky-campaigns__subject {
        min-width: 0;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .esky-announcements__table-footer {
        margin-top: 13px;           /* Figma "table": 13px gap above the pager */
    }
}

.esky-campaigns__subject {
    min-width: 200px;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.esky-campaigns__sender {
    white-space: nowrap;
    min-width: 120px;
}

.esky-campaigns__count {
    /* Figma left-aligns the "N Sessions" box to the 12px cell inset. */
    text-align: left;
    white-space: nowrap;
    width: 80px;
}

.esky-announcements__table-wrapper td.esky-announcements__schedule {
    /* Figma "Data": a vertical stack — a primary line and, for a scheduled
       reminder, a secondary time line. Stacked by line-height (20 + 14 = 34,
       matching the "30.33" vertical-centre badge); no gap. */
    white-space: nowrap;
}

.esky-announcements__schedule-primary {
    /* Figma line 1: Roboto 500, 14px, 20px line height, #1D2939. */
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #1d2939;
}

.esky-announcements__schedule-secondary {
    /* Figma line 2: Roboto 400, 11px, 14px line height, #424754. */
    display: block;
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
    color: #424754;
}

.esky-announcements__table-wrapper td.esky-announcements__progress {
    /* Figma PROGRESS CONDITION "Text": Roboto 400, 14px, 20px line height,
       0 letter spacing, #1D2939. 12px inset + 37.33px vertical centring come
       from the shared body-cell rule. */
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #1d2939;
    white-space: nowrap;
}

.esky-announcements__sessions {
    /* Figma SESSIONS "Data": horizontal, hug, 5px gap between the label and
       the info icon, 1px side padding. */
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 1px;
}

.esky-announcements__sessions-count {
    /* Figma "Text": Roboto 400, 14px, 20px line height, 0 letter spacing,
       #1D2939. */
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #1d2939;
    white-space: nowrap;
}

.esky-campaigns__date {
    color: #9ca3af;
    font-size: 13px;
    white-space: nowrap;
    min-width: 120px;
}

.esky-campaigns__actions {
    white-space: nowrap;
    width: 160px;
    text-align: center;
}

.esky-campaigns__mode {
    display: inline-block;
    width: 120px;
    padding: 2px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.esky-campaigns__mode--immediate {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.esky-campaigns__mode--automated {
    background: #faf5ff;
    color: #7c3aed;
    border-color: #e9d5ff;
}

.esky-campaigns__mode--test {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.esky-campaigns__edited-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    background: #fef9c3;
    color: #854d0e;
}

.esky-campaigns__not-edited {
    color: #d1d5db;
}

.esky-campaigns__edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.esky-campaigns__edit-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* Announcements tab — reuses the campaigns table; only the status pill colours
   and one mobile fix are specific to it. Full visual pass lands in Fase 2. */
.esky-sysann__status--active {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.esky-sysann__status--expired {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
}

.esky-sysann__status--scheduled {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.esky-sysann__action--danger {
    color: #dc2626;
}

.esky-sysann__action--danger:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

/* ── Announcements + Session Reminders: card layout (panel < 1100px) ───
   Each row becomes a card (inspired by the "Order List" mobile pattern):
   status pill + actions on top, the title, then label / value rows with
   hairline dividers. Labels come from each cell's data-label (the column
   names), so no header is needed. Used whenever the table doesn't fit its
   panel — phones, tablets, and laptops with the side menu open — so the
   row actions never scroll out of view (Pajamas table rule, #1016 A-01). */
@container esky-table (max-width: 1099.98px) {
    .esky-announcements__table-wrapper {
        margin-top: 12px;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table,
    .esky-announcements__table-wrapper .esky-campaigns__table tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table colgroup,
    .esky-announcements__table-wrapper .esky-campaigns__table thead {
        display: none;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody tr {
        /* Card: white, 16px radius (the table's), #E5E7EB border, a barely
           there shadow. Grid: status | actions on row 1, title on row 2,
           every other cell a full-width label / value row below. */
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        margin: 0 0 12px;
        padding: 12px 8px 4px 16px;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody tr:hover td {
        background: none;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody td {
        /* Label / value row: label left (#64748B), value right (#1D2939),
           14/20 — the table's secondary cell type. */
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        grid-column: 1 / -1;
        width: auto;
        min-width: 0;
        max-width: none;
        height: auto;
        padding: 10px 8px 10px 0;
        border: 0;
        border-top: 1px solid #eef0f4;
        font-size: 14px;
        line-height: 20px;
        text-align: right;
        white-space: normal;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody td::before {
        content: attr(data-label);
        flex: none;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        color: #64748b;
        text-align: left;
        text-transform: none;
    }

    /* Row 1: status (left) + actions (right), no label. Placed by class, not
       by position: the actions cell moves right after the status in the
       cards so Tab follows what is seen (my_home.tpl, #1016). */
    .esky-announcements__table-wrapper .esky-campaigns__table tbody td:first-child {
        grid-row: 1;
        grid-column: 1;
        justify-content: flex-start;
        padding: 0;
        border-top: 0;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody td.esky-campaigns__actions {
        grid-row: 1;
        grid-column: 2;
        padding: 0;
        border-top: 0;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody td:first-child::before,
    .esky-announcements__table-wrapper .esky-campaigns__table tbody td.esky-campaigns__actions::before,
    .esky-announcements__table-wrapper .esky-campaigns__table tbody td.esky-campaigns__subject::before {
        content: none;
    }

    /* Row 2: the title, 500 16/24 like the table, up to two lines. */
    .esky-announcements__table-wrapper .esky-campaigns__table tbody td.esky-campaigns__subject {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        grid-row: 2;
        overflow: hidden;
        margin: 6px 8px 10px 0;
        padding: 0;
        border-top: 0;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        text-align: left;
        overflow-wrap: anywhere;
    }

    /* Schedule: "2 days before · 10:00 AM" on one line. */
    .esky-announcements__table-wrapper .esky-campaigns__table tbody td.esky-announcements__schedule {
        display: block;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody td.esky-announcements__schedule::before {
        float: left;
        margin-right: 16px;
    }

    .esky-announcements__table-wrapper .esky-announcements__schedule-primary,
    .esky-announcements__table-wrapper .esky-announcements__schedule-secondary {
        display: inline;
    }

    .esky-announcements__table-wrapper .esky-announcements__schedule-secondary {
        font-size: 14px;
        line-height: 20px;
    }

    .esky-announcements__table-wrapper .esky-announcements__schedule-secondary::before {
        content: " \00B7 ";
    }

    /* Status as a soft pill: green tint for Delivered / Active, the slate
       #F1F5F9 (the alert circle's colour) for the rest. */
    .esky-announcements__table-wrapper .esky-campaigns__status {
        height: auto;
        padding: 2px 10px 2px 6px;
        gap: 6px;
        border-radius: 9999px;
        font-size: 13px;
        font-weight: 500;
        line-height: 20px;
    }

    .esky-announcements__table-wrapper .esky-campaigns__status--delivered {
        background: #eaf3ed;
    }

    /* The neutral pill: its grey text was 4.34:1 on this fill (1.4.3). */
    .esky-announcements__table-wrapper .esky-campaigns__status--partial {
        background: var(--esky-announcements-pill-neutral-bg);
        color: var(--esky-announcements-pill-neutral-text);
    }

    .esky-announcements__table-wrapper .esky-campaigns__status-dot {
        width: 16px;
        height: 16px;
        background: transparent;
    }

    .esky-announcements__table-wrapper .esky-campaigns__status svg {
        width: 16px;
        height: 16px;
    }
}

/* ── Tablet card (panel 600–1100px: tablets, laptops with the side menu
   open) ── The phone card stretched to 700–1000px left each label far from
   its value. Same card, but the data cells sit in one row of columns, each
   label above its value; one divider under the title. Announcements has 4
   data cells, Session Reminders 3 (#1016, 29/10). */
@container esky-table (min-width: 600px) and (max-width: 1099.98px) {
    #announcements-panel-system .esky-announcements__table-wrapper .esky-campaigns__table tbody tr {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #announcements-panel-campaigns .esky-announcements__table-wrapper .esky-campaigns__table tbody tr {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody tr {
        column-gap: 24px;
        padding-bottom: 0;
    }

    /* Row 1: status over the first columns, actions in the last one. */
    .esky-announcements__table-wrapper .esky-campaigns__table tbody td:first-child {
        grid-column: 1 / -2;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody td.esky-campaigns__actions {
        grid-column: -2 / -1;
        justify-self: end;
    }

    /* Row 2: the title across the card, with the one divider below it. */
    .esky-announcements__table-wrapper .esky-campaigns__table tbody td.esky-campaigns__subject {
        grid-column: 1 / -1;
        margin-bottom: 0;
        padding-bottom: 12px;
        border-bottom: 1px solid #eef0f4;
    }

    /* Row 3: every data cell (not status, title or actions) is a column,
       label above value, both left-aligned. */
    .esky-announcements__table-wrapper .esky-campaigns__table tbody td:not(:first-child):not(.esky-campaigns__actions):not(.esky-campaigns__subject) {
        grid-row: 3;
        grid-column: auto;
        align-self: start;          /* a two-line Schedule doesn't push the others down */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        padding: 12px 0 14px;
        border-top: 0;
        text-align: left;
    }

    .esky-announcements__table-wrapper .esky-campaigns__table tbody td:not(:first-child):not(.esky-campaigns__actions):not(.esky-campaigns__subject)::before {
        float: none;
        margin: 0;
        font-size: 13px;
        line-height: 18px;
    }

    /* Schedule: the time under the day, as in the table — the phone card's
       " · " joins them on one line and has no place in a column. */
    .esky-announcements__table-wrapper .esky-announcements__schedule-secondary::before {
        content: none;
    }
}

/* List bar above the cards: "N reminders" / "N announcements" and the
   Sort button (the My Updates one, reused as-is). The table view already
   shows the count in the pager and sorts from the column headers. No top
   margin: the tabs-to-content space is the section gap alone, the same as
   My Updates' controls. */
.esky-announcements__list-bar {
    display: none;
}

@container esky-table (max-width: 1099.98px) {
    .esky-announcements__list-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .esky-announcements__list-count {
        margin: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        color: #424754;
    }

    .esky-announcements__list-count strong {
        font-weight: 500;
        color: #1d2939;
    }
}

/* Cards page by infinite scroll (the My Updates pattern): the pager goes
   away and the loading dots sit under the last card while the next page's
   rows are appended. The table view keeps the pager. */
@container esky-table (max-width: 1099.98px) {
    .esky-announcements__table-wrapper .esky-announcements__table-footer {
        display: none;
    }

    .esky-announcements__table-wrapper .esky-announcements__table-loading {
        padding: 16px 0 28px;
    }
}

/* Phones: the Create button floats (56px FAB, 16px off the bottom). At the
   end of the list the last card must clear it by 16px: 56 + 16 + 16 = 88,
   of which the last card's 12px margin and the page's 16px bottom padding
   already give 28 — so 60 here. */
@media (max-width: 767px) {
    #announcements-panel-system,
    #announcements-panel-campaigns {
        padding-bottom: 60px;
    }
}

/* ================================================================
   Block: esky-timepicker
   Time selector, built by buildTimeSelector() (web/js/esky-components.js)
   and used by EskyTimePicker() (its own modal) and EskyDateTimePicker()
   (below the calendar grid). Exact port of the "Add User" expiration-time
   reference the user provided (selector-tiempo.html): the reference's own
   literal numbers (245px panel, 14.7182px text, 33.392px selected-pill
   radius, ...) are kept as-is, not rounded to this codebase's usual
   clean-pixel scale. The one deliberate difference from the reference is
   positioning: it is a centered modal inside .esky-modal-backdrop like
   every other picker here, not a popup anchored to the input.
   --main-color-background-image is the real site-wide accent token (also
   the variable name the reference itself used).
   ================================================================ */
.esky-timepicker {
    position: relative;
    display: block;
    width: 100%;
}

.esky-timepicker__panel {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    width: 245px;
    max-width: calc(100vw - 48px);
    margin: auto;
    padding: 15px;
    gap: 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 9.19889px 45.9944px rgba(139, 139, 139, 0.1);
    isolation: isolate;
}

/* header + columns (EskyDateTimePicker drops just this into its own
   combined card, under the calendar); same 16px gap the reference has
   between its header, columns and footer. */
.esky-timepicker__selector {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    width: 100%;
    gap: 16px;
}

/* Wheel time selector (option B, approved 2026-09-30): the picked "HH:MM"
   in the same field as the date picker's, "Hours / Minutes" labels in the
   calendar's weekday type, then two snapping columns (Hours 00-23, Minutes
   00-59) with a soft primary band marking the middle row — the value. Rows
   fade towards the edges. --esky-tp-rows sets how many rows show (5; 3 when
   it sits under the calendar on phones). */
.esky-timepicker__labels {
    display: flex;
    gap: 8px;
    width: 100%;
}

.esky-timepicker__labels span {
    flex: 1 1 0;
    text-align: center;
    font-size: 12.878px;
    font-weight: 700;
    line-height: 16px;
    color: #444750;
}

.esky-timepicker__wheel {
    --esky-tp-row: 36px;
    --esky-tp-rows: 5;
    position: relative;
    display: flex;
    gap: 8px;
    width: 100%;
    height: calc(var(--esky-tp-row) * var(--esky-tp-rows));
    margin-top: -8px;
}

.esky-timepicker__band {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--esky-tp-row) * (var(--esky-tp-rows) - 1) / 2);
    height: var(--esky-tp-row);
    border-radius: 10px;
    background: color-mix(in srgb, var(--main-color-background-image) 12%, #ffffff);
    pointer-events: none;
}

.esky-timepicker__colon {
    position: absolute;
    left: 50%;
    top: calc(var(--esky-tp-row) * (var(--esky-tp-rows) - 1) / 2);
    height: var(--esky-tp-row);
    line-height: var(--esky-tp-row);
    transform: translateX(-50%);
    font-size: 15px;
    font-weight: 700;
    color: color-mix(in srgb, var(--main-color-background-image) 85%, black);
    pointer-events: none;
}

.esky-timepicker__column {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    /* The first / last rows can reach the band. */
    padding: calc(var(--esky-tp-row) * (var(--esky-tp-rows) - 1) / 2) 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    border-radius: 10px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
    box-sizing: border-box;
}

.esky-timepicker__column::-webkit-scrollbar {
    display: none;
}

/* Keyboard focus on a column: the shared focus ring (--esky-focus-outline)
   around that column only, so it's clear whether Hours or Minutes takes the
   arrows (#1016: it circled the whole wheel). Drawn by the wheel's ::after
   over the focused half — on the column itself its fade mask would hide it.
   The two columns split the wheel around an 8px gap. */
.esky-timepicker__column:focus {
    outline: none;
}

.esky-timepicker__wheel:has(.esky-timepicker__column:focus-visible)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(50% - 4px);
    border-radius: 10px;
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
    pointer-events: none;
}

.esky-timepicker__wheel:has([data-col="hour"]:focus-visible)::after {
    left: 0;
}

.esky-timepicker__wheel:has([data-col="minute"]:focus-visible)::after {
    right: 0;
}

.esky-timepicker__option {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--esky-tp-row);
    scroll-snap-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #282828;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    user-select: none;
    transition: color 0.12s ease;
}

.esky-timepicker__option--selected {
    font-weight: 700;
    color: color-mix(in srgb, var(--main-color-background-image) 85%, black);
}

/* Footer: the date pickers' own (Figma) — the closing 0.5px #E0E0E0 line,
   Cancel on the left and the action on the right, both 30px, 700 12/1.5. */
.esky-timepicker__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    width: 100%;
    gap: 8px;
    padding-top: 16px;
    border-top: 0.5px solid var(--esky-datepicker-line);
    box-sizing: border-box;
}

.esky-timepicker__btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--esky-announcements-btn-sm-height);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: var(--esky-announcements-btn-sm-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 1.5;
    white-space: nowrap;
    cursor: pointer;
}

.esky-timepicker__btn--primary {
    padding: 8.368px 16.736px;
    background: var(--main-color-background-image);
    color: #fff;
}

.esky-timepicker__btn--primary:hover {
    background: color-mix(in srgb, var(--main-color-background-image) 85%, black);
}

.esky-timepicker__btn--cancel {
    min-width: 85px;
    padding: 7px 12px;
    border: 1px solid var(--esky-announcements-btn-secondary-border);   /* #1016 D29 */
    background: #fff;
    color: var(--esky-announcements-btn-secondary-text);
}

.esky-timepicker__btn--cancel:hover {
    background: var(--esky-datepicker-hover-bg);
}

@media (max-height: 700px) {
    .esky-timepicker__panel {
        max-height: calc(100vh - 16px);
        /* Visible area, not the bar-hidden 100vh (see .esky-announcements__preview). */
        max-height: calc(100dvh - 16px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* No cap on .esky-timepicker__column here any more: the wheel sets its
       own height (rows x row, or stretched next to the calendar) and the
       band math needs the column to match it — a 220px cap cut a 7-row
       wheel and left the picked hour half a row under the band. */
}

/* ================================================================
   Block: esky-datepicker
   Reusable month-grid calendar, built by EskyDatePicker()
   (web/js/esky-components.js). Same non-scoped, instantiable pattern as
   the timepicker above — tokens live on :root so it renders correctly
   on any host page, not just .esky-announcement. Figma "Calendars/light/
   V2/Medium"; that frame's own numbers are a uniform ~0.92 scale of
   round values (40px cells, 16px radius, 10px gaps, ...) — kept exactly
   as Figma gives them rather than "cleaning" them back to round numbers,
   since a working prototype (calendar.html) already verified them.
   ================================================================ */
:root {
    /* Same "Figma example color, not the real token" fix as
       the site accent token the timepicker above uses too. */
    --esky-datepicker-primary: var(--main-color-background-image);
    --esky-datepicker-primary-dark: color-mix(in srgb, var(--main-color-background-image) 85%, black);
    --esky-datepicker-ink: #282828;
    --esky-datepicker-muted: #ababab;
    --esky-datepicker-faint: #dbdbdb;
    --esky-datepicker-border: #e5e7eb;
    /* One hover tint for every option in the date, date-time and time
       pickers (days, month arrows, hours, minutes) — the time columns' own
       #F3F4F4; the old #F9FAFB on days was barely visible next to it. */
    --esky-datepicker-hover-bg: var(--esky-announcements-hover-overlay);   /* #1016 D31 */
    --esky-datepicker-radius: 12px;
    /* Figma "Calendars/light/V2/Medium" (2832:10042) drop shadow. */
    --esky-datepicker-shadow: 0px 9.199px 22.997px 0px rgba(139, 139, 139, 0.1);
    /* Figma: weekday labels #444750, other-month days #667085, the closing
       hairline #E0E0E0 at 0.5px. */
    --esky-datepicker-weekday: #444750;
    --esky-datepicker-other-month: #667085;
    --esky-datepicker-line: #e0e0e0;
}

.esky-datepicker {
    position: relative;
    display: block;
    width: 100%;
}

/* Centered modal card now (see esky-components.js — appended into a shared
   .esky-modal-backdrop, not anchored under the input anymore). Figma's own
   literal size for this component ("Calendars/light/V2/Medium"): 320.12px
   wide, Hug height, 15px padding, 16px gap, 12px radius — all already
   matched exactly except the width, which was 320 (rounded) before there
   was a reason to be more precise; margin:auto centers it in the backdrop. */
.esky-datepicker__panel {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 16px;
    width: 320.12px;
    max-width: calc(100vw - 48px);
    /* Never taller than the visible area (dvh: the phone's address bar may
       be showing); scrolls inside only on very short screens. The
       date-time variant below sets its own cap. */
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    margin: auto;
    padding: 15px;
    background: #fff;
    border-radius: var(--esky-datepicker-radius);
    box-shadow: var(--esky-datepicker-shadow);
    font-family: var(--font-primary), sans-serif;
}

/* EskyDateTimePicker() only: caps the taller combined card (calendar + time
   columns + footer) so it never exceeds the viewport; the list of days
   itself doesn't scroll (a month always fits), but the whole card can. */
.esky-datepicker__panel--datetime {
    /* Only the screen caps it (24px of backdrop above and below): the
       stacked card is ~650px, which fits an ordinary phone whole; the old
       600px cap made it scroll even there. */
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
}

/* EskyDateTimePicker() only: wraps the header/weekdays/days trio so it
   behaves as a single flex item next to the divider and time columns below
   it, while keeping the exact same internal gap (16px) buildCalendarGrid()
   already puts between those three pieces — see esky-components.js. */
.esky-datepicker__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* EskyDateTimePicker() only: the line between the calendar and the time
   columns — the same 0.5px #E0E0E0 hairline Figma closes the calendar with. */
.esky-datetimepicker__divider {
    flex-shrink: 0;
    align-self: stretch;
    height: 0;
    border-top: 0.5px solid var(--esky-datepicker-line);
}

/* EskyDateTimePicker() only: the calendar, divider and time selector as one
   block. Stacked (calendar on top, horizontal divider, time below) by
   default — narrow screens, where the card is the usual 320px wide. From
   700px of viewport width up they sit side by side instead (calendar |
   vertical divider | time), which keeps the whole card to roughly 570x420px
   so it fits next to its input on ordinary desktop windows without any
   inner scrolling; the layout depends on width only, so the centered-modal
   fallback on a wide-but-short window gets the compact version too. */
.esky-datetimepicker__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Date & time stacked (narrow screens): the wheel under the calendar shows
   3 rows, so the whole card fits a phone without scrolling inside it. */
@media (max-width: 699px) {
    .esky-datetimepicker__body .esky-timepicker__wheel {
        --esky-tp-rows: 3;
    }
}

/* Steps mode (EskyDateTimePicker on short phones, set by the JS only when
   the stacked card wouldn't fit): "Date | Time" tabs — the Sort modal's
   segmented control — over one part at a time, both the calendar's height
   (--esky-dtp-step-h), so the card never scrolls and the footer stays in
   view. The per-part fields and the divider give way to the tabs, which
   already show the picked date and time; the wheel stretches to 7 rows. */
.esky-datetimepicker__tabs {
    display: none;
}

.esky-datepicker__panel--steps .esky-datetimepicker__tabs {
    display: flex;
    flex: none;
    padding: 4px;
    border-radius: 8px;
    background: #f8fafc;
}

.esky-datetimepicker__tab {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 30px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    color: #667085;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.esky-datetimepicker__tab b {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.esky-datetimepicker__tab[aria-selected="true"] {
    background: var(--esky-datepicker-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    color: #fff;
}

.esky-datetimepicker__tab:focus {
    outline: none;
}

.esky-datetimepicker__tab:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

.esky-datepicker__panel--steps .esky-datetimepicker__divider,
.esky-datepicker__panel--steps .esky-datepicker__field {
    display: none;
}

.esky-datepicker__panel--steps[data-step="date"] .esky-timepicker__selector,
.esky-datepicker__panel--steps[data-step="time"] .esky-datepicker__grid {
    display: none;
}

.esky-datepicker__panel--steps[data-step="time"] .esky-timepicker__selector {
    height: var(--esky-dtp-step-h);
}

.esky-datepicker__panel--steps .esky-datetimepicker__body .esky-timepicker__wheel {
    --esky-tp-rows: 7;
    --esky-tp-stretch: 1;
    flex: 1 1 0;
    min-height: 0;
    height: auto;
}

@media (min-width: 700px) {
    .esky-datepicker__panel--datetime {
        width: auto;
    }

    .esky-datetimepicker__body {
        flex-direction: row;
        align-items: flex-start;
        width: auto;
    }

    .esky-datetimepicker__body > .esky-datepicker__grid {
        flex: none;
        width: 290.12px;
    }

    .esky-datetimepicker__body > .esky-datetimepicker__divider {
        align-self: stretch;
        height: auto;
        border-top: 0;
        border-left: 0.5px solid var(--esky-datepicker-line);
    }

    /* The one exception to the 5-row wheel: next to the calendar, the time
       column stretches to the calendar's height and its wheel fills what's
       left (7 rows, each as tall as the space allows — the JS re-fits it
       when the month has 5 or 6 weeks), instead of a short wheel stuck at
       the top over an empty strip. */
    .esky-datetimepicker__body > .esky-timepicker__selector {
        flex: none;
        align-self: stretch;
        width: 215px;
    }

    .esky-datetimepicker__body .esky-timepicker__wheel {
        --esky-tp-rows: 7;
        --esky-tp-stretch: 1;
        flex: 1 1 0;
        min-height: 0;
        height: auto;
    }
}

/* Figma "Search" (above the month): the picked date, display only. 25.353px
   tall, white, 0.618px control border (#1016 D11; Figma's rgba(175,175,175,.5)
   is under 3:1), 7.42px radius, 8.657 / 9.894 padding; a 10.887px calendar
   icon in the primary (currentColor — the text sets its own colour below)
   5.443px from the text, Roboto 500 10.887/16.33 #667085. */
.esky-datepicker__field {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 5.443px;
    width: 100%;
    /* Min height, not a fixed one, so larger text spacing grows the box
       instead of cutting the date (#1016 WCAG 1.4.12). No vertical padding:
       the 25.353px minimum sets the normal size and the text stays centred. */
    min-height: 25.353px;
    padding: 0 9.894px;
    border: 0.618px solid var(--esky-announcements-divider);   /* #1016 D30: shows the date, not a field */
    border-radius: 7.42px;
    background: #fff;
    color: var(--esky-datepicker-primary);
}

.esky-datepicker__field svg {
    display: block;
    flex: none;
}

.esky-datepicker__field-text {
    min-width: 0;
    font-size: 10.887px;
    font-weight: 500;
    line-height: 16.33px;
    color: #667085;
    /* Wraps instead of an ellipsis when spacing grows (WCAG 1.4.12). */
    overflow-wrap: anywhere;
}

.esky-datepicker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.esky-datepicker__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36.8px;
    height: 36.8px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 16px;
    color: var(--esky-datepicker-ink);
    cursor: pointer;
}

.esky-datepicker__nav svg {
    display: block;
    flex: none;
}

.esky-datepicker__nav:hover {
    background: var(--esky-datepicker-hover-bg);
}

.esky-datepicker__title {
    font-family: inherit;
    /* Figma "March 2023": Roboto 700 14.718px #282828. */
    font-size: 14.718px;
    font-weight: 700;
    color: var(--esky-datepicker-ink);
    user-select: none;
}

/* The month starts the title, so its first letter is a capital in every
   language: Spanish and French write month names in lower case ("octubre
   2026" → "Octubre 2026"), as they now are in their language files (#1016). */
.esky-datepicker__title {
    display: inline-block;
}

.esky-datepicker__title::first-letter {
    text-transform: uppercase;
}

/* Figma grid: 7 columns of 36.796px with 5.519px between them (and between
   rows) — the columns may narrow on the smallest phones (320px screens give
   the card 272px), so the month never runs out of the card. */
.esky-datepicker__weekdays,
.esky-datepicker__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 36.796px));
    justify-content: space-between;
    column-gap: 5.519px;
}

/* Figma weekday row: 44.155px tall, labels 700 12.878px #444750, then the
   days 5.519px below (not the panel's 16px gap; no line under it — Figma's
   only hairline closes the calendar, see the footer). */
.esky-datepicker__weekdays {
    height: 44.155px;
    align-items: center;
}

.esky-datepicker__weekdays + .esky-datepicker__days {
    margin-top: calc(5.519px - 16px);
}

.esky-datepicker__weekdays span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.878px;
    font-weight: 700;
    color: var(--esky-datepicker-weekday);
}

.esky-datepicker__days {
    row-gap: 5.519px;
}

.esky-datepicker__day {
    /* Figma day: 36.796px square, 16px radius, Medium 13.54px #282828
       (Figma's Inter — the platform's Roboto is inherited instead). */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 36.796px;
    height: auto;
    aspect-ratio: 1;
    padding: 0;
    font-family: inherit;
    font-size: 13.54px;
    font-weight: 500;
    color: var(--esky-datepicker-ink);
    background: none;
    border: none;
    border-radius: 16px;
    cursor: pointer;
}

/* Hover only on days you can pick that aren't already picked — the old
   `:hover:not(:disabled)` out-ranked the selected style, so hovering the
   picked day turned its primary circle near-white under a white number. */
.esky-datepicker__day:not(:disabled):not(.esky-datepicker__day--selected):hover {
    background: var(--esky-datepicker-hover-bg);
}

.esky-datepicker__day--today {
    color: var(--esky-datepicker-primary);
    font-weight: 700;
}

.esky-datepicker__day--selected {
    /* Figma: primary circle (33.392px radius), white Medium number. */
    background: var(--esky-datepicker-primary);
    color: #fff;
    font-weight: 500;
    border-radius: 33.392px;
}

.esky-datepicker__day--selected:hover {
    background: var(--esky-datepicker-primary);
    color: #fff;
}

/* Same interaction rules on every control of the pickers: a short fade on
   hover, the module's focus ring (#1016 D28) for keyboard focus only (nothing on
   click / tap), and no hover tint left stuck after a tap on touch screens. */
.esky-datepicker__day,
.esky-datepicker__nav,
.esky-datepicker__apply,
.esky-datepicker__cancel,
.esky-timepicker__option,
.esky-timepicker__btn {
    transition: background-color 0.12s ease, color 0.12s ease;
}

.esky-datepicker__day:focus,
.esky-datepicker__nav:focus,
.esky-datepicker__apply:focus,
.esky-datepicker__cancel:focus,
.esky-timepicker__option:focus,
.esky-timepicker__btn:focus {
    outline: none;
}

.esky-datepicker__day:focus-visible,
.esky-datepicker__nav:focus-visible,
.esky-datepicker__apply:focus-visible,
.esky-datepicker__cancel:focus-visible,
.esky-timepicker__option:focus-visible,
.esky-timepicker__btn:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

@media (hover: none) {
    .esky-datepicker__day:not(:disabled):not(.esky-datepicker__day--selected):hover,
    .esky-datepicker__nav:hover,
    .esky-timepicker__option:not(.esky-timepicker__option--selected):hover,
    .esky-datepicker__cancel:hover,
    .esky-timepicker__btn--cancel:hover {
        background: transparent;
    }

    .esky-datepicker__cancel:hover,
    .esky-timepicker__btn--cancel:hover {
        background: #fff;
    }

    .esky-datepicker__apply:hover,
    .esky-timepicker__btn--primary:hover {
        background: var(--esky-datepicker-primary);
    }
}

.esky-datepicker__day--other-month {
    color: var(--esky-datepicker-other-month);
    cursor: default;
}

.esky-datepicker__day--disabled {
    color: var(--esky-datepicker-border);
    cursor: not-allowed;
}

/* Figma footer: Cancel left, the primary action right, both 30px tall,
   Roboto 700 12/1.5. Above it, the calendar's closing hairline (0.5px
   #E0E0E0): 5.519px under the last row of days (the panel's 16px gap pulled
   back) and 14.718 + 16 above the buttons. */
.esky-datepicker__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    margin-top: calc(5.519px - 16px);
    padding-top: 30.718px;
    border-top: 0.5px solid var(--esky-datepicker-line);
}

.esky-datepicker__apply,
.esky-datepicker__cancel {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--esky-announcements-btn-sm-height);
    font-family: inherit;
    font-size: var(--esky-announcements-btn-sm-font);
    font-weight: var(--esky-announcements-btn-weight);
    line-height: 1.5;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

/* Figma "Cancel": 85 wide (min), 7/12 padding; border and label colour of
   the neutral secondary buttons (#1016 D29). */
.esky-datepicker__cancel {
    min-width: 85px;
    padding: 7px 12px;
}

/* Figma "Set date": hugs its label, 8.368/16.736 padding. */
.esky-datepicker__apply {
    padding: 8.368px 16.736px;
}

.esky-datepicker__apply {
    color: #fff;
    background: var(--esky-datepicker-primary);
    border: none;
}

.esky-datepicker__apply:hover {
    background: var(--esky-datepicker-primary-dark);
}

.esky-datepicker__cancel {
    color: var(--esky-announcements-btn-secondary-text);
    background: #fff;
    border: 1px solid var(--esky-announcements-btn-secondary-border);
}

.esky-datepicker__cancel:hover {
    background: var(--esky-datepicker-hover-bg);
}

/* No more small-screen override here — that compensated for the old
   anchored positioning (position:absolute; left:0), which no longer
   applies now that the panel is a centered modal (margin:auto handles
   every screen size on its own). */

/* Touch screens have no real hover: keep the hover layer (#1016 D31) from
   sticking after a tap on the controls that had no reset of their own.
   Menu options keep their keyboard-focus tint. */
@media (hover: none) {
    .esky-announcements__tab:not(.esky-announcements__tab--active):hover {
        border-bottom-color: transparent;
    }

    .esky-announcements__actions-btn:hover,
    .esky-announcement__btn--outline:hover,
    .esky-announcements__table-footer-nav-page:not(.esky-announcements__table-footer-nav-page--active):hover,
    .esky-announcements__menu-item:hover:not(:focus-visible),
    .esky-announcements__size-option:hover:not(:focus-visible) {
        background: transparent;
    }
}

/* Touch screens: no sticky selectable-row tint after a tap (#1016 D31). */
@media (hover: none) {
    .esky-announcement__checkbox-row:hover,
    .esky-multiselect__row:hover {
        background: transparent;
    }

    .esky-sort-modal__option:hover .esky-sort-modal__option-body {
        background: transparent;
    }

    .esky-announcement__radio-row:hover {
        background: transparent;
    }

    .esky-sort-modal__input:checked + .esky-sort-modal__option-body {
        background: #fbfcfd;
    }

    .esky-campaigns__row:hover td {
        background: none;
    }
}

/* ── Keyboard focus ring for the rest of the module (#1016 D28) ──────
   These controls showed only the browser's own 1px dark outline, or
   nothing, when reached with Tab. They take the module's one focus ring
   (--esky-focus-outline: 2px in the client colour, 2px away). Search
   boxes ring their whole box, not the bare input inside it. Tabs sit
   edge to edge and the session list clips what overflows it, so their
   ring is drawn inside, like the row-actions menu options (their light
   tint alone was 1.1:1). Last in the file so it wins over the
   `outline: none` resets above. */
.esky-announcements__visibility-info:focus-visible,
.esky-announcements__actions-btn:focus-visible,
.esky-announcements__updates-sort:focus-visible,
.esky-page-header__breadcrumb-link:focus-visible,
.esky-announcements__card-content a:focus-visible,
.esky-reminder__input:focus-visible,
.esky-reminder__combo-box:has(.esky-reminder__combo-search:focus-visible),
.esky-announcements__updates-search:has(.esky-search__input:focus-visible),
.esky-reminder__viewlog-search:has(.esky-reminder__viewlog-search-input:focus-visible) {
    outline: var(--esky-focus-outline);
    outline-offset: var(--esky-focus-offset);
}

.esky-announcements__tab:focus-visible,
.esky-announcements__menu-item:focus-visible,
.esky-announcements__size-option:focus-visible {
    outline: var(--esky-focus-outline);
    outline-offset: -2px;
}

/* A dialog card takes focus itself when it opens (esky-dialog.js), so a
   screen reader announces its name. It is not a control: no focus ring on
   the card — the ring shows on the controls inside as you Tab (#1016). */
[data-esky-dialog]:focus {
    outline: none;
}

/* Text for screen readers only (e.g. "(Required)" next to a visual "*"):
   hidden on screen, still read (#1016 WCAG 1.3.1). */
.esky-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Audience Selection and Notification Channels are <fieldset>s with the
   heading in their <legend> (native grouping, #1016 WCAG 1.3.1). No
   fieldset look: they keep their own column layout. The legend floats so
   it is laid out as an ordinary item of that column (same 16px gap), not in
   the browser's special legend slot. */
.esky-announcement__fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.esky-announcement__legend {
    float: left;
    align-self: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    /* Bootstrap's legend look (21px text, 1px bottom border) cancelled. */
    border: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

/* Delivery Type (configure_reminders.tpl) is a <fieldset> + <legend> since
   29/10, so its radios are read with the group name (#1016 WCAG 1.3.1).
   Same reset as the Announcement fieldsets above: no fieldset look, the
   legend floats so it stays an ordinary item of the 12px-gap column. Its
   text style comes from .esky-reminder__label, so font and colour are not
   reset here. */
.esky-reminder__fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.esky-reminder__legend {
    float: left;
    align-self: stretch;
    width: 100%;
    padding: 0;
    /* Bootstrap's 1px bottom border cancelled. */
    border: 0;
}

/* Send Time is a <button> since 28/10 (it only opens the time picker): the
   input look, text from the left, the default "09:00 AM" greyed like the
   placeholder it replaced (#1016). */
button.esky-reminder__time-button {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.esky-reminder__time-button.is-placeholder {
    color: var(--esky-announcements-placeholder);
}
