.caruso-dropdown.widget-course-filter .filter-box {
    width: 100%;
}

.caruso-dropdown .label {
    width: 100%;
}

.widget-my-courses-employee li:last-child {
    border-bottom: 1px solid #DDD;
    /*padding-top:0;*/
    padding-bottom: 0;
}

.gradient-panel {
    border-image: linear-gradient(to right, #001e46 40%, #e2001a 40%);
    border-top: 3px;
    border-image-slice: 1;
    border-width: 3px 0 0 0;
    border-style: solid;
    padding: 10px;
}

#quicklink-panel-profile.quicklink-panel {
    left: auto;
    right: 0;
}

.page-body {
    margin-bottom: 15px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.dialog-off-canvas-main-canvas {
    min-height: 100%;
    position: relative;
}

.dialog-off-canvas-main-canvas .page-wrapper {
    padding-bottom: 110px;
}

.wrapper-footer {
    position: absolute;
    bottom: 0;
    height: 110px;
    width: 100%;
}

.header-wrapper {
    height: 50px;
}

.widget-course-preview-switch button {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    height: 44px;
    width: 44px;
    color: #DDD;
    border: none;
    cursor: pointer;
}

.widget-course-preview-switch button:hover {

}

.widget-course-preview-switch button.desc {
    background: #F9F9F9 url(../../template/themes/custom/vhs/assets/images/icons/arrow-bottom.png) center no-repeat;
    padding: 10px;
}

.widget-course-preview-switch button.desc.active {
    background: #CDCDCD url(../../template/themes/custom/vhs/assets/images/icons/arrow-bottom.png) center no-repeat;
    padding: 10px;
}

.widget-course-preview-switch button.asc {
    background: #F9F9F9 url(../../template/themes/custom/vhs/assets/images/icons/arrow-up.png) center no-repeat;
    padding: 10px;
}

.widget-course-preview-switch button.asc.active {
    background: #CDCDCD url(../../template/themes/custom/vhs/assets/images/icons/arrow-up.png) center no-repeat;
    padding: 10px;
}

.widget-vertical-tabs .tabs-nav {
    padding: 0;
}

.slideout-panel:not(.wrapper-footer) {
    background-color: transparent;
}

/*.menu-wrapper ul.menu{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.menu-wrapper ul.main-menu li.menu-item{
    float: left;

}
.menu-wrapper ul.menu li.menu-item:not(:first-child){

.menu-wrapper ul.menu li.menu-item{
    border-left: 1px solid #002F63;
    color:#002F63;
}

.menu-wrapper ul.menu li.menu-item:last-child{
    border-right: 1px solid #002F63;
}

.menu-wrapper ul.menu li.menu-item a {
    display: block;
    text-align: center;
    padding: 16px;
    text-decoration: none;
    color:#002F63;
}

.menu-wrapper ul.menu li.menu-item a:hover {
    text-decoration: underline;
    color:#e2001a;
}

.menu-wrapper ul.menu li.menu-item a:active {
    color:#e2001a;
}*/

#block-vhs-main-menu .overlay {
    z-index: 1003;
}

#block-vhs-main-menu .first-level.active:not(.menu-item--has-sub) > a {
    border-color: transparent;
    background: none;
}

#block-vhs-offcanvas-menu #hide-offcanvas {
    display: block;
}

.slideout-open .slideout-panel {
    transform: translateX(-320px);
}

.gauge {
    max-width: 100%;
}


@media (min-width: 980px) {
    body.mobile-optimized .page-header .toggle-slideout {
        display: none;
    }
}

@media (max-width: 979px) and (min-width: 0) {
    .quicklinks-wrapper button.toggle-slideout {
        margin-right: 10px;
        margin: 4px 20px 0 0;
    }
}

@media (max-width: 639px) and (min-width: 0) {
    .dialog-off-canvas-main-canvas .page-wrapper {
        padding-bottom: 245px;
    }

    .wrapper-footer {
        height: 220px;
        background: #ececec;
    }

    .wrapper-footer .widget-certificates {
        margin: 20px auto;
    }

    .footer-logo {
        margin: 0;
        padding: 0;
    }

    .footer-copyright {
        margin: 0;
        padding: 0;
    }

}

@media (max-width: 979px) and (min-width: 0) {
    .page-header .live-search {
        margin: 5px 0 0 0;
        position: relative;
        width: auto;

    }
}

@media (max-width: 639px) and (min-width: 0) {
    .page-header .quicklinks-wrapper {
        padding: 0;
        width: auto;
    }
}

#foto .ui-fileupload-buttonbar .ui-button, #foto .ui-fileupload-buttonbar .ui-button, #attendancelistForm .ui-fileupload-buttonbar .ui-button, #attendancelistForm .ui-fileupload-buttonbar .ui-button {
    background: none !important;
    border-radius: 0 !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    color: #FFF !important;
    background: #e2001a !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    border: 0 !important;
    text-align: center !important;
    padding: 0 30px !important;
    font-size: 16.48px !important;
    font-size: 1.03rem !important;
    display: block !important;
    text-decoration: none !important;
    cursor: pointer !important;;
    line-height: 31.24px !important;
    line-height: 1.9525rem !important;
    text-shadow: none !important;
    cursor: pointer !important;
    border: none !important;
}

#foto .ui-fileupload-buttonbar, #attendancelistForm .ui-fileupload-buttonbar {
    background: none !important;
    border: none !important;
}

#foto .ui-fileupload-content, #attendancelistForm .ui-fileupload-content {
    display: none;
}

#foto .ui-button-icon-left, #attendancelistForm .ui-button-icon-left {
    display: none !important;
}

#foto .ui-button-text, #attendancelistForm .ui-button-text {
    padding-left: 1em !important;
}

#foto .ui-state-hover, #attendancelistForm .ui-state-hover {
    /*text-shadow: 0 1px 0 rgba(255,255,255,0.7);*/
    text-shadow: none !important;
    box-shadow: none !important;
}

#foto .ui-fileupload-buttonbar, #attendancelistForm .ui-fileupload-buttonbar {
    padding: 0 !important;
}

#foto .ui-state-default, #attendancelistForm .ui-state-default {
    box-shadow: none;
}

#foto .fileinput input[type="file"], #attendancelistForm .fileinput input[type="file"], .fileinput .fileinput-info {
    cursor: pointer !important;
}

#foto .ui-button-text, #attendancelistForm .ui-button-text {
    display: block;
}

span.ui-icon.ui-icon-carat-1-n, span.ui-icon.ui-icon-carat-1-s {
    background-image: url("../images/ui-icons_616161_256x240.png.xhtml?ln=primefaces-aristo");
}

.ui-widget-header .ui-icon {
    background-image: none;
}

.col-1-3 > .caruso-dropdown.widget-course-filter {
    padding-top: 0;
    padding-bottom: 0;
}


.ui-datepicker {
    padding: 0;
}

.ui-datepicker .ui-datepicker-header {
    padding: 0.4em 0;
    background-color: #fff;
    border-bottom: 0;
}

.ui-icon-carat-1-s {
    background-position: -65px 0;
}

.ui-datepicker .ui-icon {
    left: 0.35em;
    top: 0.2em;
}

.ui-timepicker.ui-widget-header.ui-corner-all {
    background: none;
    border-radius: 0;
}

.ui-datepicker, .ui-widget-content {
    border: none;
}

.ui-datepicker-calendar tbody > tr > td:nth-child(6), .ui-datepicker-calendar tbody > tr > td:nth-child(7) {
    background: #edeff2;
}

.ui-datepicker-calendar tbody > tr > td:nth-child(6) > .ui-state-default, .ui-datepicker-calendar tbody > tr > td:nth-child(7) > .ui-state-default {
    box-shadow: none;
}

.ui-datepicker .ui-datepicker-next {
    text-align: inherit !important;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-default {
    color: #002f63;
    text-decoration: none;
    background-color: transparent;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-default:hover {
    color: #e2001a;
    text-decoration: underline;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    text-shadow: none;

}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, .ui-datepicker .ui-datepicker-current-day .ui-state-highlight, .ui-datepicker .ui-datepicker-current-day .ui-state-default {
    color: #e2001a !important;
    text-decoration: underline !important;
    text-shadow: none;
}

.ui-corner-all {
    border-radius: 0;
}

.ui-state-default, .ui-state-hover, ui-state-active {
    box-shadow: none;
}

.ui-state-default > span, .ui-state-hover > span, ui-state-active > span {
    text-shadow: none;
}

#pagination-form-bottom {
    padding-bottom: 70px;
}

.widget-course-detail-page .actions {
    margin-bottom: 250px;
}

@media (min-width: 1200px) {

}


@media (min-width: 992px) and (max-width: 1199px) {

}

@media (min-width: 768px) and (max-width: 991px) {
    ul.widget-my-courses-employee > li.row .col-1 > .col-1-3 + .col-2-3, ul.widget-my-courses-employee > li.row .col-1 > .col-1-3 + .col-1-3 {
        width: 50%;
        float: right;
        margin-right: 0;
    }

    .widget-course-result-filter .col-5-6.col-last.sorting-wrapper .col-1-4:first-child {
        width: 30%;
    }

    .widget-course-result-filter .col-5-6.col-last.sorting-wrapper .col-3-4:nth-child(2) {
        width: 67%;
    }

}

@media (min-width: 480px) and (max-width: 767px) {

    ul.widget-my-courses-employee > li.row > h2 + .col-2-3 {
        width: 100%;
    }

    ul.widget-my-courses-employee > li.row .col-1 .col-1-3:first-child,
    ul.widget-my-courses-employee > li.row .col-1 .col-1-3:nth-child(2),
    ul.widget-my-courses-employee > li.row .col-1 .col-2-3:nth-child(2) {
        width: 50%;
        margin-right: 0;
    }

    ul.widget-my-courses-employee > li.row .col-1-3.col-last:last-child {
        width: 100%;
        float: none;
        margin-right: 0;
        clear: both;
    }

    .widget-course-result-filter .col-5-6.col-last.sorting-wrapper .col-1-4:first-child,
    .widget-course-result-filter .col-5-6.col-last.sorting-wrapper .col-3-4:nth-child(2),
    .widget-course-result-filter .col-5-6.col-last.sorting-wrapper .col-3-4:nth-child(2) .col-2-6:first-child,
    .widget-course-result-filter .col-5-6.col-last.sorting-wrapper .col-3-4:nth-child(2) .col-3-6:nth-child(2),
    .widget-course-result-filter .col-5-6.col-last.sorting-wrapper .col-3-4:nth-child(2) .col-1-6:nth-child(3) {
        width: 100%;
    }

    .sorting-wrapper .form-type-select label {
        width: 45%;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

}

@media (max-width: 480px) {
    ul.widget-my-courses-employee > li.row > h2 + .col-2-3 .col-1,
    ul.widget-my-courses-employee > li.row .col-1 .col-1-3:first-child,
    ul.widget-my-courses-employee > li.row .col-1 .col-1-3:nth-child(2),
    ul.widget-my-courses-employee > li.row .col-1 .col-2-3:nth-child(2),
    ul.widget-my-courses-employee > li.row .col-1-3.col-last:last-child,
    ul.widget-my-courses-employee > li.row .col-2-3,
    .widget-course-filter .filter-box:nth-child(n+1),
    .sorting-wrapper .col-3-4:nth-child(2).form-item .col-2-6,
    .sorting-wrapper .col-3-4:nth-child(2).form-item .col-3-6,
    .sorting-wrapper .col-3-4:nth-child(2).form-item .col-1-6 {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .sorting-wrapper .form-type-select label {
        width: 45%;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    /* MARGIN PER ROW */
    ul.widget-my-courses-employee > li.row .col-1 .col-1-3:first-child {
        margin-top: 10px;
    }

    /* DOCUMENT BOX */
    ul.widget-my-courses-employee > li.row .widget-course-filter .filter-box:nth-child(n+1) {
        clear: both;
    }

    ul.widget-my-courses-employee > li.row .caruso-dropdown .filter-box {
        padding-top: 15px;
    }

    /* GAUGE */
    ul.widget-my-courses-employee > li.row .col-1-3.col-last:last-child {
        margin-bottom: 25px;
    }

    ul.widget-my-courses-employee > li.row .caruso-dropdown.widget-course-filter .label {
        width: 100%;
    }

}

.btn.disabled {
    background-color: #888;
    cursor: auto;
}

.confirm-row {
    clear: both;
    margin-top: 8px;
}

/*
.ui-accordion .ui-accordion-header::before {
    padding-top: 8px;
    margin-left: 8px;
}
*/
.clear {
    clear: both;
}

.widget-my-courses-employee li.action-ical:last-child {
    padding-top: 0;
}

body .ui-accordion .ui-accordion-header > .ui-icon.ui-icon-triangle-1-s::before,
body .ui-accordion .ui-accordion-header > .ui-icon.ui-icon-triangle-1-e::before {
    content: none !important;
}

.ui-button-text {
    font-family: 'Montserrat', Arial, Helvetica, Verdana, sans-serif;
    font-weight: 700;
    box-sizing: border-box;
    border: 0;
    text-align: center;
    padding: 0 30px !important;
    font-size: 1.03rem;
    display: block !important;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.9525rem !important;
}

.ui-widget-content a {
    color: #4f4f4f;
}

.ui-widget-header a {
    color: #4f4f4f;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    color: #4f4f4f;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #2f556a;
    text-decoration: none;
}

.widget-vertical-tabs .tabs-nav a {
    color: #001e46;
    line-height: 37.715px;
    line-height: 2.3572rem;
    display: block;
    text-decoration: none;
}

.widget-vertical-tabs .ui-state-active a, .widget-vertical-tabs .ui-state-active [class*="icon-"] {
    color: #e2001a;
}


.ui-state-default {
    -moz-box-shadow: inset 0 1px 0 #fff;
    -webkit-box-shadow: inset 0 1px 0 #fff;
    box-shadow: inset 0 1px 0 #fff;
}

.ui-state-active {
    -moz-box-shadow: inset 0 -1px 0 #fff;
    -webkit-box-shadow: inset 0 1px 0 #fff;
    box-shadow: inset 0 1px 0 #fff;
}

.ui-corner-left {
    -moz-border-radius-topleft: 3px;
    -webkit-border-top-left-radius: 3px;
    border-top-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -webkit-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.ui-state-default, .ui-state-hover, ui-state-active {
    box-shadow: none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #a8a8a8;
    background: #c4c4c4 url("/jakarta.faces.resource/images/ui-bg_highlight-hard_80_c4c4c4_1x100.png.xhtml?ln=primefaces-aristo&v=14.0.4") 50% 50% repeat-x;
    background: #c4c4c4 linear-gradient(top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    background: #c4c4c4 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
    background: #c4c4c4 -moz-linear-gradient(top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    font-weight: bold;
    color: #4f4f4f;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: 1px solid #7096ab;
    background: #85b2cb url("/jakarta.faces.resource/images/ui-bg_inset-hard_65_85b2cb_1x100.png.xhtml?ln=primefaces-aristo&v=14.0.4") 50% 50% repeat-x;
    background: #85b2cb linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4));
    background: #85b2cb -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0.4)));
    background: #85b2cb -moz-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4));
    font-weight: bold;
    color: #1c4257;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, .ui-datepicker .ui-datepicker-current-day .ui-state-highlight, .ui-datepicker .ui-datepicker-current-day .ui-state-default {
    color: #e2001a !important;
    text-decoration: underline !important;
    text-shadow: none;
}

.ui-tabs .ui-tabs-nav li {
    border: 1px solid #a8a8a8;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(168, 168, 168);
}

widget-vertical-tabs .tabs-nav li {
    border-bottom: 1px solid #ddd;
    overflow: hidden;
    background: transparent none;
    padding-left: 0;
    list-style: none;
}

.ui-helper-reset {
    margin: 0;
    margin-right: 0px;
    padding: 0;
    border: 0;
    outline: 0;
    line-height: 1.3;
    text-decoration: none;
    font-size: 100%;
    list-style: none;
}

.ui-tabs .ui-tabs-nav {
    background: #e3e3e3 !important;
    background: #e3e3e3 linear-gradient(top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)) !important;
    background: #e3e3e3 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0))) !important;
    background: #e3e3e3 -moz-linear-gradient(top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)) !important;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.ui-corner-all {
    border-radius: 0;
}

body .ui-tabs .ui-tabs-nav {
    display: block !important;
}

body .ui-widget {
    font-family: 'Montserrat', Arial, Helvetica, Verdana, sans-serif !important;
    font-weight: 400 !important;
}

.errorText {
    color: red;
}

#kontaktForm label {
    display: block;
    padding-bottom: 0;
    padding-top: 10px;
}

.widget-course-filter {
    padding: 4px 0;
}

.d-inline-flex .form-select, .d-lg-inline-flex .form-select {
    width: auto !important;
}

.widget-my-courses-employee canvas {
    width: 101% !important;
    margin-left: -6px !important;
    margin-top: -10px;
}

body .ui-tabs {
    padding-left: 15px;
}

a.ui-tabs-anchor {
    padding-left: 10px;
}

.widget-course-result-filter select.form-select {
    width: 100%;
}

#block-vhs-main-menu .page-navigation {
    margin: 0;
    max-width: none;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-flow: wrap;
    gap: 10px 20px;
}

#block-vhs-main-menu .first-level {
    margin: 0;
    padding: 0;
    line-height: 2.485rem;
    vertical-align: bottom;
}

#block-vhs-main-menu .first-level.separator {
    margin-top: 16px;
}

@media (max-width: 979px) and (min-width: 0px) {
    .page-header .live-search {
        position: relative;
        float: left;
        width: 50%;
    }
}

@media (min-width: 0) and (max-width: 979px) {
    .page-header .logo-wrapper {
        position: initial;
        z-index: 2;
    }
}

@media (min-width: 640px) and (max-width: 979px) {
    .page-header .quicklinks-wrapper {
        padding: 0 0 65px 50%;
        width: 100%;
        position: absolute;
    }
}

/*.ui-accordion .ui-accordion-content {*/
/*    height: auto !important;*/
/*}*/

.accordion-item h2, .accordion-item h3 {
    margin: 0 !important;
}

.accordion-item h2 button, .accordion-item h3 button {
    font-weight: bold;
}

#quicksearch-form input.form-text {
    margin-top: 0;
}

.btn:hover {
    color: #fff;
    background-color: #e2001a;
    border-color: #e2001a;
    filter: brightness(115%);
}

.top-msg-body {
    padding-top: 20px;
}

.top-msg {
    background-color: red;
    color: #ffffff;
    text-align: center;
    position: fixed;
    width: 100%;
    margin-top: -20px;
    z-index: 1000;
}

.top-msg a, .top-msg a:hover, .top-msg a:visited {
    color: #ffffff;
}

/* General fixes */
.ui-messages {
    & ul {
        /*margin: 0 25px;*/
        padding: 0;
        list-style-type: none;
    }

    & .ui-messages-info-summary,
    & .ui-messages-warn-summary,
    & .ui-messages-error-summary,
    & .ui-messages-fatal-summary,
    & .ui-message-info-summary,
    & .ui-message-warn-summary,
    & .ui-message-error-summary,
    & .ui-message-fatal-summary {
        font-weight: bold;
    }
}

#block-vhs-main-menu .first-level {
    & > a {
        padding: .25rem 0;
    }

    &.separator {
        margin: 0;
        display: flex;
        align-self: center;
        height: 1em;
    }
}

#messageContainer:empty {
    display: none;
}

/* General end */

/* Modals */
body.modal-open .slideout-panel { /* fixes overlay z-index issues */
    z-index: auto;
}

/* Modals end */

/* Anwesenheitserfassung */

.caruso-attendance-grid {
    & > div {
        padding-top: calc(.5 * var(--gap-size));
        padding-bottom: calc(.5 * var(--gap-size));
        border-bottom: 1px solid #DDD;
    }
}

.caruso-attendance-item {

    align-items: center;
    @media (min-width: 979px) {
        min-height: 4.5rem;
    }
    --att-border-color: rgba(var(--bs-danger-rgb));

    &:has(input[data-anw-input="attendance"]:checked) { /*abwesend*/

        & [data-anw-input="hide-if-attended"] {
            display: none !important;
        }
    }

    &:not(:has(input[data-anw-input="attendance"]:checked)) { /*anwesend */
        color: rgba(var(--bs-danger-rgb));
        /*& [data-anw-input="hide-if-attended"] {*/
        /*    display: flex;*/
        /*}*/
    }

    & .form-check {
        display: flex;
        align-items: center;
        gap: .5rem;
        padding-left: 0;

        & > input[type="checkbox"] {
            margin-left: 0;
            margin-top: 0;
            margin-bottom: .25rem;
            border-color: black;
        }

    }

    & label {
        padding-top: 0;
        padding-bottom: 0;
        margin: 0;
    }

}


.caruso-attendance-btns, .contact-btns {
    & .btn {
        width: 100vw;
        @media (min-width: 979px) {
            width: auto;
        }

        &:disabled {
            background: #e2001a;
        }
    }
}

.img-spacer {
    width: 73px;
}
/* Anwesenheitserfassung ende*/




