
/* iu_maportal */


/* general */

.ce-sort-row > .c-content-box:not(:first-child) #maportal,
.ce-sort-row > .c-content-box:not(:first-child) .ce-ltype-femanager_pi1
{
    margin-top: -100px;
}
#maportal .c-btn-uppercase,
#maportal-header .c-btn-uppercase
{
    text-transform: uppercase !important;
}
#maportal .form-notices,
#maportal .form-warnings
{
    background-color: #ebf6eb;
    padding: 25px 25px 15px;
    border: 1px solid #bce1bc;
    color: #555;
    margin-bottom: 25px;
}
#maportal .form-warnings {
    background-color: #f5f6eb;
    border: 1px solid #e1e0bc;
}
#maportal > #hint-new > .form-notices + form,
#maportal > #hint-new > .form-warnings + form {
    display: none !important;
}
/*
#maportal .c-btn-uppercase:not(.btn-xs),
#maportal-header .c-btn-uppercase:not(.btn-xs)
{
    padding: 7px 16px 5px 16px;
}
*/
#maportal-mydata {
}
#maportal-mydata .title {
    font-size: 22px;
}
#maportal-mydata .data li > span:first-child {
    font-weight: bold;
}
#maportal-mydata .data li > span:first-child::after {
    content: ":";
    margin-right: 5px;
}
#maportal-header {
    background:#f3f3f3;
    padding: 25px;
    margin-bottom: 20px;
}
#maportal-menu a.btn-xs {
    position: relative;
}
#maportal-menu .active {
    padding-right: 30px;
}
#maportal-menu .active::after {
}
#maportal-menu .btn-xs {
    font-size: 12.5px;
    letter-spacing: .4px;
    padding: 2px 18px 2px 14px;
}
#maportal-menu .active::before {
     content: "◄";
     font-size: 20px;
     overflow: hidden;
     position: absolute;
     right: 3px;
     top: 0px;
}
#maportal-menu .btn-xs.active::before {
    font-size: 17px;
    right: -2px;
    top: -2px;
}
#maportal-menu .maintenance {
    position: absolute;
    top: 10px;
    right: 30px;
}
#maportal .c-btn-red, #maportal-header .c-btn-red {
    border-color: #E30613;
    background: #E30613;
}
#maportal .c-btn-red:hover, #maportal-header .c-btn-red:hover {
    border-color: #fd434e;
    background: #fd434e;
}
#maportal-header .c-btn-blue {
    border-color: #263477;
    background: #263477;
}
#maportal-header .c-btn-blue:hover {
    border-color: #3a4faf;
    background: #3a4faf;
}

/* -- Additional orange button (extending JANGO) */

.c-btn-orange {
    border-color: #ff8c00;
    border-width: 1px;
    color: #ffffff;
    background: #ff8c00;
    border-color: #ff8c00; }
    .c-btn-orange.btn-no-focus:focus,
    .c-btn-orange.btn-no-focus.focus {
      color: #ffffff;
      background: #ff8c00;
      border-color: #ff8c00; }
    .c-btn-orange.btn-no-focus:hover,
    .c-btn-orange:hover,
    .c-btn-orange.btn-no-focus:active,
    .c-btn-orange:active,
    .c-btn-orange.active,
    .open > .c-btn-orange.dropdown-toggle {
      color: #ffffff;
      background: #ff8c00;
      border-color: #ff8c00; }
    .c-btn-orange:active,
    .c-btn-orange.active,
    .open > .c-btn-orange.dropdown-toggle {
      background-image: none; }
    .c-btn-orange.disabled,
    .c-btn-orange.disabled:hover,
    .c-btn-orange.disabled:not(.btn-no-focus):focus,
    .c-btn-orange.disabled:not(.btn-no-focus).focus,
    .c-btn-orange.disabled:active,
    .c-btn-orange.disabled.active,
    .c-btn-orange[disabled],
    .c-btn-orange[disabled]:hover,
    .c-btn-orange[disabled]:not(.btn-no-focus):focus,
    .c-btn-orange[disabled]:not(.btn-no-focus).focus,
    .c-btn-orange[disabled]:active,
    .c-btn-orange[disabled].active,
    fieldset[disabled] .c-btn-orange,
    fieldset[disabled] .c-btn-orange:hover,
    fieldset[disabled] .c-btn-orange:not(.btn-no-focus):focus,
    fieldset[disabled] .c-btn-orange:not(.btn-no-focus).focus,
    fieldset[disabled] .c-btn-orange:active,
    fieldset[disabled] .c-btn-orange.active {
      background: #ff8c00;
      border-color: #ff8c00; }
    .c-btn-orange .badge {
      color: #ff8c00;
      background: #ffffff; }


/* Message->list */

#senders {
    position: relative;
    margin-bottom: 0px;
}
#senders li {
    background-color: white;
    cursor: pointer;
    display: inline-block;
    padding: 10px 9px;
    border-top: 2px solid #888;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-left: 1px solid #888;
    border-right: 2px solid #888;
    opacity: .8;
    transition: all .4s ease;
    letter-spacing: -.3px;
}
#senders li.active {
    background-color: #e5e5e5;
    padding-bottom: 12px;
    position: relative;
    margin-bottom: -2px;
    opacity: 1;
}
#senders li .counts {
    display: none;
}
#senders li.has-unread, #messages .message:not(.read), #mobile-messages .message:not(.read) {
    font-weight: bold;
}
#senders li.has-unread .counts {
    display: inline;
}
#messages tbody tr {
    visibility: collapse;
}
#messages tbody tr.active {
    visibility: visible;
}
#senders:after {
    content: " ";
    display: block;
    width: 100%;
    height: 10px;
    background-color: #e5e5e5;
    border-top: 2px solid #888;
    border-left: 1px solid #888;
    border-right: 2px solid #888;
}


@media (max-width: 767px) {
    #senders {
        border-bottom: 2px solid #666;
        margin-bottom: 25px;
    }
    #senders::after {
        display: none;
    }
    #senders li {
        width: 100%;
        border-top-right-radius: 0;
        border-top-left-radius: 0;
    }
    #senders li.active {
        margin-bottom: 0px;
    }
    #messages {
        display: none;
    }
}
@media (min-width: 768px) {
    #mobile-messages {
        display: none;
    }
}

#mobile-messages {
    border-top: 2px solid #aaa;
}
#mobile-messages .message {
    position: relative;
    display: none;

    border-left: 1px solid #888;
    border-right: 2px solid #888;
    border-bottom: 1px solid #888;
    padding: 10px;
}
#mobile-messages .message.active {
    display: block;
}
#mobile-messages .message > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#mobile-messages .visible-until {
    font-size: 80%;
    margin-bottom: .25rem;
}

#messages {
    width: 100%;
    border-right: 1px solid #888;
    border-bottom: 1px solid #888;
    margin-bottom: 1.5rem;
}
#messages thead {
    background: #cfcfcf;
    color: #444;
}
#messages tbody {
    background: #fafafa;Message
    background: #eff8ff;
}
#messages th {
    width: 8%;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
    font-size: 15px;
    font-weight: bold;
    padding: .2rem 1rem;
    background: #cfcfcf;
}
#messages tbody, #messages tbody a {
    color: #555 !important;
}
#messages td, #messages th {
    border-left: 1px solid #888;
}
#messages td {
    text-align: left;
    white-space: nowrap;
    height: 4.5rem;
    padding: .4rem 1rem;
    vertical-align: middle;
    font-size: 15px;
}
#messages .subject {
    width: auto;
}
#messages .contains-media > a {
    display: inline;
}
#messages a {
    display: block;
}

#no-messages {
    margin-top: 1rem;
}


/* Message->show */

#m-subject {
    font-size: 28px;
}
#m-teaser {
    font-weight: bold;
}
#m-body {
    float: left;
    margin: 20px 0px;
}
#m-video {
    width: calc(100% - 36px);
    background: #f3f3f3;
    padding: 0px 0px 10px 0px;
    margin: 30px 0px 20px;
}
#m-video video {
    max-width: 100%;
}
#m-text {
    float: left;
    margin-right: 25px;
}
#m-text.has-images {
    width: 69.66%;
}
#m-meta {
    font-weight: bold;
}
.m-image {
    background: #f3f3f3;
    padding: 10px;
    margin: 0;
    display: inline-block;
}
.m-image img {
    width: 100%;
    height: auto;
}
.m-image figcaption,
#m-video figcaption
{
    margin-top: 5px;
    font-size: 14px;
}
#m-video figcaption {
    margin: 5px 10px 0px;
}
.m-image .title,
#m-video .title
{
    font-weight: bold;
}
.m-image .title:after,
#m-video .title:after
{
    content: " - ";
}
#m-downloads {
    clear: both;
    padding: 25px;
    background: #f3f3f3;
}
#m-downloads h4 {
    font-size: 19px;
    font-weight: bold;
}
#m-documents {
    margin: 20px 0px 0px;
}
#m-documents li {
    padding: 20px 0px;
    border-top: 1px solid #999;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
#m-documents li:first-child {
    border-top: none;
}
#m-documents li > div {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
#m-documents .type {
    width: 45px;
}
#m-documents .type > i {
    font-size: 50px;
}
#m-documents .details {
    width: 80px;
}
#m-documents .details > span {
    display: block;
    font-weight: bold;
    font-size: 17px;
    text-transform: uppercase;
}
#m-documents .info {
    flex-grow: 1;
}
#m-documents .info > span {
    display: block;
}
#m-documents .info .title {
    font-weight: bold;
}
#m-documents .notice {
    margin-top: 8px;
    font-size: 0.85em;
    font-weight: bold;
}
@media (max-width: 567px) {
    #m-documents .info {
        margin: 10px 0;
    }
    #m-documents li {
        align-items: flex-start;
        flex-direction: column;
    }
}

#m-back {
    margin-bottom: 35px;
}



/* Selfservice->new */

#maportal > .service {
    max-width: 992px;
}
#selfservice-form-new .field:not(.visible) {
    display: none !important;
}
.service-form .field > label {
    display: block;
    font-weight: bold;
}
.service-form .field-required > label::after {
    content: '*';
}
.service-form .field > .field-description {
    display: none;
}
.service-form .field input:focus,
.service-form .field select:focus,
.service-form .field textarea:focus
{
    background-color: #edf2fd;
}

.service-form .background-field {
    max-width: 100% !important;
    height: 0 !important;
    margin: 0 !important;
    border: none !important;
    opacity: 0 !important;
}
.service-form .form-group {
    margin-bottom: 15px;
    width: 99.666%;
}
.service-form .form-control {
    font-size: 16px;
    width: 100%;
}
.service-form .field-checkbox .form-control {
    width: 20px;
}
.service-form .field.bind-next,
.service-form .field.bind-next + .field:not([style*="display:none"])
{
    width: 49.666%;
    display: inline-block;
}
.service-form .field.bind-next.field-submit,
.service-form .field.bind-next.field-submit + .field:not([style*="display:none"])
{
    width: auto;
    display: inline-block;
    margin: 20px 15px 0px 0px;
}

#field-serviceReason {
    margin-bottom: 30px;
}
#serviceReason-front {
    border: 1px solid black;
}
#serviceReason-front .head {
    display: flex;
    border-bottom: 1px solid #666;
    background-color: #cfcfcf;
    font-weight: bold;
    color: #444;
}
#serviceReason-front .col {
    display: inline-block;
    vertical-align: middle;
    padding: 5px 15px;
    border-left: 1px solid #ddd
}
#serviceReason-front .head .col {
    padding: 0px 15px;
}
#serviceReason-front .service-area {
    width: 33.3%;
}
#serviceReason-front .service-reason-1 {
    width: 33.3%;
}
#serviceReason-front .service-reason-2 {
    width: 33.3%;
}
#serviceReason-front .item {
    display: flex;
    cursor: pointer;
    transition: background .4s ease;
}
#serviceReason-front .item:hover,
#serviceReason-front .item.active
{
    background: #dfe8fb;
}
#serviceReason-front .item.active {
    font-weight: bold;
}
#serviceReason-front .item:not(:first-child) {
    border-top: 1px solid #aaa;
}

#field-attachments input::file-selector-button {
    font-weight: bold;
    font-size: 13px;
    color: #444;
    background: #ccc;
    font-size: 14px;
    padding: 10px 20px 8px 20px;
    border: none;
    border-radius: 0px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .4s ease, color .4s ease;
}
#field-attachments input::file-selector-button:hover {
    background: #bbb;
    color: #333;
}

.service-form .notice-required-fields {
    margin: 25px 0px 5px 0px;
    font-weight: bold;
}

.service-form input[type="file"],
.service-form input::file-selector-button
{
    border-radius: 0 !important;
    -webkit-appearance: none !important;
}
.service-form input[type="time"] {
    /*display:block;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    min-height: 1.2em;*/
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.service-form input[type="date"] {
    display:block;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    min-height: 1.2em;
}

  /* Hint Consent Form */

#hint-form-start .field-checkbox {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}
#hint-form-start .field-checkbox > .control-label {
    order: 2;
    margin: 0;
    padding: 0;
    align-items: center;
    display: flex;
}
#hint-form-start .field-checkbox > input[type="checkbox"] {
    order: 1;
}

  /* --- Service Forms Validation -- */

    /* -- server-side */

#maportal #form-errors {
    background: mistyrose;
    border: 1px solid red;
    border-radius: 3px;
    padding: 10px 20px;
    margin: 0 0 20px;
}
#maportal #form-errors ul {
    padding: 0;
    margin: 5px 0 0;
    list-style: inside square;
}

    /* -- client-side */

.service-form .field label.error {
    margin: 0;
    color: red;
    font-weight: normal;
}
#hint-form-start .field label.error {
    order: 3;
    flex-basis: 100%;
    margin-top: -10px;
}
.service-form .field > label.error span {
    font-size: 1rem;
}
.service-form .field-required > label.error::after {
    content: none;
}
.service-form input.error,
.service-form select.error,
.service-form textarea.error,
.error.c-theme.form-control:focus
{
    border: 2px dashed red !important;
    color: red;
}
.service-form .radio input[type=radio] {
    position: static;
    width: 18px;
    height: 18px;
    margin-right: 3px;

}
.service-form .radio input.error {
    margin-bottom: 25px;
}
.service-form .field-radio > .radio > label {
    display: inline-block;
    margin-right: 16px;
}
.service-form .radio label.error {
    width: auto;
    position: absolute;
    top: 21px;
    margin: 0;
    left: -20px;
}

/* --- Service Forms CAPTCHA -- */

.field.field-captcha {
    margin: 30px 0 25px;
}
.field-captcha .form-control {
    width: 150px;
    display: inline-block;
    margin-right: 15px;
    font-weight: bold;
    font-size: 40px;
    letter-spacing: 2px;
    color: #777;
    height: 66px;
}



  /* --- Service Forms Mobile -- */

@media (max-width: 991px) {
    #maportal > .service {
        margin-top: 40px;
        width: 100% !important;
        overflow: hidden !important;
    }
    .service-form .field > label {
        font-size: 17px;
    }
    #serviceReason-front {
        font-size: 15px;
    }
    #serviceReason-front .service-area {
        width: 19%;
    }
    #serviceReason-front .body {
        max-height: 38vh;
        overflow-y: auto;
    }

}

@media (max-width: 767px) {

    #serviceReason-front .head .col {
        padding: 0px 10px;
    }
    #serviceReason-front .col {
        display: inline-block;
        padding: 5px 10px;
    }
    .service-form .field.bind-next, .service-form .field.bind-next + .field:not([style*="display:none"]) {
        width: 49.566%;
    }

}

.service-form .field.bind-next, .service-form .field.bind-next + .field:not([style*="display:none"]) {
    width: 49.299%;
    margin-right: 0.6%;
}

@media (max-width: 576px) {

    #serviceReason-front .head {
        display: none;
    }
    #serviceReason-front .col {
        border-left: none;
    }
    #serviceReason-front .item {
        display: block;
        padding: 10px 0px;
    }
    #serviceReason-front .col {
        border-left: none;
        display: block;
        width: 100%;
        padding: 0px 10px;
    }
    #serviceReason-front .col::before {
        content: "Kategorie:";
        margin-right: 10px;
        font-weight: bold;
    }
    #serviceReason-front .service-area.col::before {
        content: "Fachbereich:";
    }
    #serviceReason-front .service-reason-1.col::before {
        content: "Grund:";
    }
    #serviceReason-front .service-reason-2.col::before {
        content: "Detail:";
    }
    .service-form .field.bind-next, .service-form .field.bind-next + .field:not([style*="display:none"]) {
        width: 49.366%;
    }
    .service-form .field > label {
        font-size: 16px;
    }

}

@media (max-width: 400px) {

    .service-form .field.bind-next, .service-form .field.bind-next + .field:not([style*="display:none"]) {
        width: 49.299%;
    }

}




/* DutyRoster->list */

.roster-kw {
        float: left;
        width: 5.5%;
}
.roster-week-days {
        float: left;
        width: 94.5%;
}
.roster-week, .roster-week-days {
        display: flex;
}
.roster-day {
        float: left;
        width: 14.25%;
}
.roster-header .roster-day, .roster-header .roster-kw {
        padding: 5px 0px;
        color: white;
        background-color: #243c75;
        text-align: center;
}
.roster-header .roster-day {
        border-left: 1px solid #879dd1;
}
.roster-weeks .roster-day {
        min-height: 160px;
        border-bottom: 1px solid #bbb;
        border-left: 1px solid #bbb;
}
.roster-day .wkday-label, .roster-day .tstamp, .roster-kw .roster-label {
        display: none;
}
.roster-day .date {
    display: block;
    text-align: center;
}
.roster-week .roster-kw {
        text-align: center;
        color: white;
        background-color: #243c75;
        min-height: 160px;
        border-bottom: 1px solid #879dd1;
}
.roster-week .roster-kw:first-child {
        border-top: 1px solid #879dd1;
}
.roster-today {
        background-color: #cddbf9;
}
.roster-weekend-day {
        background-color: #e3e3e3;
}
.roster-plannable-day {
        background-color: #d4f4da;
}
.roster-holiday {
        /*background-color: #fff1ba;*/
        background-color: #e3e3e3;
}
.roster-holiday.roster-today {
        background: repeating-linear-gradient(
                -45deg,
                #cddbf9,
                #cddbf9 10px,
                #e3e3e3 10px,
                #e3e3e3 20px
        );
}
.roster-plannable-day.roster-holiday {
        background: repeating-linear-gradient(
                -45deg,
                #e3e3e3,
                #e3e3e3 10px,
                #d4f4da 10px,
                #d4f4da 20px
        );
}
.roster-plannable-day.roster-weekend-day {
        background: repeating-linear-gradient(
                -45deg,
                #e3e3e3,
                #e3e3e3 10px,
                #d4f4da 10px,
                #d4f4da 20px
        );
}
.roster-legend > span {
        display: block;
        float: left;
        font-size: 14px;
        padding: 3px 5px;
        margin: 10px 10px 0px 0px;
}
.roster-fields {
        margin: 5px 10px;
}
.roster-fields .roster-field-label {
        letter-spacing: -1px;
}
.roster-field[data-shift-name="18 Uhr"] .label-dot {
        display: none;
}
.roster-field.locked {
    pointer-events: none;
}
.roster-field.locked label {
      text-decoration: line-through;

}

#roster .alert-success {
    background-color: #d4f4da;
    border-color: #AFD6B6;
    color: #666;
}
#roster-information {
    margin: 20px 0px 10px;
}
#roster-information.is-planning-day {
}
#roster-information.non-planning-day {
        color: #c1001f;
}

#roster-actions, .roster-actions {
        margin: 10px 0px 20px;
}
#roster-actions .c-btn-uppercase,
.roster-actions .c-btn-uppercase
{
        text-transform: uppercase;
}

.shiftplanning input[type="checkbox"] + label {
    margin-left: 4px;
}

/* Small Viewport: Display days strictly vertically */


@media (min-width: 577px) {
    #maportal-menu a {
        position: relative;
    }
}

@media (max-width: 1200px) {

    #maportal-menu > .btn {
        margin: 0px 10px 10px 0px;
        padding: 6px 15px 4px 15px;
    }
    #maportal-menu .active::before {
        font-size: 19px;
        right: -5px;
    }

}

@media (max-width: 991px) {

    #message-list {
        margin-top: 50px;
    }
    #roster-information {
        margin: 50px 0px 10px;
    }

    .roster-week, .roster-week-days {
            display: block;
    }
    .roster-header {
            display: none !important;
    }
    .roster-kw .roster-label {
            display: inline-block !important;
    }
    .roster-weeks .roster-day {
            border-right: 1px solid #bbb;
    }
    .roster-week > .roster-kw {
            width: 100%;
            height: auto;
            min-height: 0;
            padding: 10px 0px;
    }
    .roster-week-days, .roster-day {
            width: 100%;
    }
    .roster-day .wkday-label, .roster-day .date {
            display: inline-block;
    }
    .roster-day .wkday-label {
        margin-right: 2px;
    }
    .roster-day > .roster-label {
            text-align: center;
    }
    .roster-legend {
            margin-top: 30px;
            width: 100%;
    }
    .roster-legend > span {
            width: 100%;
            margin: 5px 0px;
            padding: 20px 0px;
            text-align: center;
            font-size: 18px;
    }
    .roster-field {
            display: inline-block;
            margin-right: 35px;
            min-width: 135px;
    }

}

@media (max-width: 767px) {

    #maportal-header {
        padding: 45px 15px 15px;
    }
    #maportal-menu .maintenance {
        position: absolute;
        top: 10px;
        right: 25px;
    }
    #maportal-menu .btn-xs {
        padding: 2px 14px 2px 10px;
        margin-left: 6.5px;
    }

}

@media (max-width: 576px) {

    #maportal-menu .maintenance {
        right: 15px;
    }

}



/* Holiday->list */

.holidays .holiday-counter {
    display: inline-block;
    margin-left: 20px;
}
.holidays .holiday-counter > span {
    color: black;
    font-weight: bold;
    font-size: 17px;
}
.holidays .roster-plannable-day {
    background-color: white;
}
.holidays .roster-fields {
    text-align: center;
}
.holidays .roster-plannable-day.roster-weekend-day {
    background: #e3e3e3;
}
.holidays .roster-plannable-day.roster-holiday {
    background: #fff1ba;
}
.holidays .roster-plannable-day.checked {
    background: #d4f4da;
}
.holidays .roster-plannable-day.roster-weekend-day.checked {
        background: repeating-linear-gradient(
                -45deg,
                #e3e3e3,
                #e3e3e3 10px,
                #d4f4da 10px,
                #d4f4da 20px
        );
}
.holidays .roster-plannable-day.roster-holiday.checked {
        background: repeating-linear-gradient(
                -45deg,
                #fff1ba,
                #fff1ba 10px,
                #d4f4da 10px,
                #d4f4da 20px
        );
}
.holidays .roster-weeks .roster-day,
.holidays .roster-week .roster-kw
{
    min-height: 80px;
}
.holidays .roster-legend .roster-checked {
    background: #d4f4da;
}





/* Calendar->list */

.calendar .submit-notice {
    color: #388f6f;
    padding: 0 0 8px;
    font-weight: bold;
    font-size: 1.1em;
}

.calendar #roster-actions-bottom,
.calendar #roster-month-pagination-bottom {
    display: none;
}
.calendar .roster-actions .btn:first-child {
    margin-bottom: 20px;
}
.calendar .roster-actions .btn:last-child {
    margin-top: 20px;
}
.calendar .roster-actions .counters {
    margin-top: 0px;
}
.calendar .roster-actions .counters > div {
    display: inline-block;
    padding: 0px 5px;
    font-weight: bold;
}
.calendar .roster-actions .counters > div > .value {
    margin-left: 4px;
}
.calendar .roster-actions .counters > .year-name {
    text-decoration: underline;
}
.calendar .roster-actions .counters > .year-name::after {
    content: ':';
    margin-right: 5px;
}
.calendar .roster-actions .counters > .counter:not(:last-child)::after {
    content: '—';
    position: relative;
    right: -5px;
}
.calendar .roster-month-pagination {
    text-align: center;
}
.calendar .roster-month-pagination > * {
    text-align: center;
    display: inline-block;
    margin: 10px 0px 30px;
}
.calendar .roster-month-pagination > .current-month {
    margin: 0 30px;
    vertical-align: super;
    font-weight: bold;
    text-transform: uppercase;
}

.calendar .roster-fields {
    text-align: center;
}
.calendar .roster-not-plannable .roster-fields {
    display: none;
}
.calendar .roster-week-days {
    color: #333;
}
.calendar .roster-occupancy {
    margin: 5px 10px 10px;
    min-height: 70px;
    line-height: 1.1;
}
.calendar label {
    font-size: 17px;
    margin-right: 5px;
    margin-bottom: 5px;
}
.calendar input[type="checkbox"] {
}
.calendar .roster-label {
    margin-top: 3px;
}
.calendar .roster-weeks .roster-day {
    border-bottom: 1px solid #999;
    border-left: 1px solid #999;
}
.calendar .roster-day .date,
.calendar .roster-day .wkday-label
{
    font-weight: bold;
}
.calendar .roster-day .wkday-label::after {
    content: ',';
}
.calendar .roster-occupancy > div {
    padding: 6px 0px;
    border-bottom: 1px solid #999;
}
.calendar .roster-occupancy > div:first-child {
    border-top: 1px solid #999;
}
.calendar .roster-not-plannable .roster-occupancy > div:last-child {
    border-bottom: none;
}
.calendar .roster-occupancy .title {
    margin-right: 5px;
}
.calendar .roster-plannable-day.roster-weekend-day {
    background: #e3e3e3;
}
.calendar .roster-plannable-day.roster-holiday {
    background: #e3e3e3;
}
.roster-vacationstatus-1, .roster-bezmstatus-1, .roster-verdistatus-1, .roster-nightshiftstatus-1 {
    background: #ffe0c7;
}
.roster-vacationstatus-2, .roster-bezmstatus-2, .roster-verdistatus-2, .roster-nightshiftstatus-2 {
    background: #a7f1b4;
}
.roster-canceled {
    background: #f7bbbb;
}
.calendar .roster-weeks .roster-day.roster-today {
    border-top: 15px solid #cddbf9;
    border-bottom: 35px solid #cddbf9;
    border-left: 7px solid #cddbf9;
    border-right: 7px solid #cddbf9;
    padding-top: 5px;
}
.calendar .roster-weekend-day.roster-vacationstatus-1,
.calendar .roster-weekend-day.roster-bezmstatus-1,
.calendar .roster-weekend-day.roster-verdistatus-1,
.calendar .roster-weekend-day.roster-nightshiftstatus-1
{
    background: repeating-linear-gradient(
        -45deg,
        #e3e3e3,
        #e3e3e3 10px,
        #ffe0c7 10px,
        #ffe0c7 20px
    );
}
.calendar .roster-weekend-day.roster-vacationstatus-2,
.calendar .roster-weekend-day.roster-bezmstatus-2,
.calendar .roster-weekend-day.roster-verdistatus-2,
.calendar .roster-weekend-day.roster-nightshiftstatus-2
{
    background: repeating-linear-gradient(
        -45deg,
        #e3e3e3,
        #e3e3e3 10px,
        #a7f1b4 10px,
        #a7f1b4 20px
    );
}
.calendar .roster-weekend-day.roster-canceled {
    background: repeating-linear-gradient(
        -45deg,
        #e3e3e3,
        #e3e3e3 10px,
        #f7bbbb 10px,
        #f7bbbb 20px
    );
}
.calendar .roster-holiday.roster-vacationstatus-1,
.calendar .roster-holiday.roster-bezmstatus-1,
.calendar .roster-holiday.roster-verdistatus-1,
.calendar .roster-holiday.roster-nightshiftstatus-1
{
    background: repeating-linear-gradient(
        -45deg,
        #e3e3e3,
        #e3e3e3 10px,
        #ffe0c7 10px,
        #ffe0c7 20px
    );
}
.calendar .roster-holiday.roster-canceled {
    background: repeating-linear-gradient(
        -45deg,
        #e3e3e3,
        #e3e3e3 10px,
        #f7bbbb 10px,
        #f7bbbb 20px
    );
}
.calendar .roster-holiday.roster-vacationstatus-2,
.calendar .roster-holiday.roster-bezmstatus-2,
.calendar .roster-holiday.roster-verdistatus-2,
.calendar .roster-holiday.roster-nightshiftstatus-2
{
    background: repeating-linear-gradient(
        -45deg,
        #e3e3e3,
        #e3e3e3 10px,
        #a7f1b4 10px,
        #a7f1b4 20px
    );
}
.calendar .roster-weeks .roster-day,
.calendar .roster-week .roster-kw
{
    min-height: 235px;
}
.calendar .roster-locked .roster-fields label,
.calendar .roster-not-plannable .roster-fields label,
.calendar .roster-locked .roster-fields input,
.calendar .roster-not-plannable .roster-fields input
{
    pointer-events: none;
    opacity: 0.7;
}
.calendar .roster-fieldactions {
    padding: 0px 0px 10px;
    color: #666;
}
.calendar .roster-fieldactions .action > div {
    display: none;
}
.calendar .roster-fieldactions .action > div.cancel {
    padding: 4px 7px 7px;
}
.calendar .roster-locked:not(.roster-vacationstatus-2):not(.roster-bezmstatus-2):not(.roster-verdistatus-2):not(.roster-nightshiftstatus-2) .action-cancel .locked {
    display: inline-block;
}
.calendar .roster-vacationstatus-2:not(.roster-not-plannable) .action-cancel .cancel,
.calendar .roster-bezmstatus-2:not(.roster-not-plannable) .action-cancel .cancel,
.calendar .roster-verdistatus-2:not(.roster-not-plannable) .action-cancel .cancel,
.calendar .roster-nightshiftstatus-2:not(.roster-not-plannable) .action-cancel .cancel
{
    display: inline-block;
    cursor: pointer;
}
.calendar .roster-canceled .action-cancel .cancel {
    color: red;
}
    /* hide roster-fields when *.status == 2 or 3 */
.calendar .roster-vacationstatus-2 .roster-fields > div:not(.roster-fieldactions), .calendar .roster-vacationstatus-3 .roster-fields > div:not(.roster-fieldactions),
.calendar .roster-bezmstatus-2 .roster-fields > div:not(.roster-fieldactions), .calendar .roster-bezmstatus-3 .roster-fields > div:not(.roster-fieldactions),
.calendar .roster-verdistatus-2 .roster-fields > div:not(.roster-fieldactions), .calendar .roster-verdistatus-3 .roster-fields > div:not(.roster-fieldactions),
.calendar .roster-nightshiftstatus-2 .roster-fields > div:not(.roster-fieldactions), .calendar .roster-nightshiftstatus-3 .roster-fields > div:not(.roster-fieldactions)
{
    width: 0px;
    height: 0px;
    opacity: 0;
}
.calendar .roster-locked:not(.roster-vacationstatus-2):not(.roster-bezmstatus-2):not(.roster-verdistatus-2):not(.roster-nightshiftstatus-2) .roster-fields > div:not(.checked):not(.roster-fieldactions),
.calendar [data-preliminary]:not(.roster-vacationstatus-2):not(.roster-bezmstatus-2):not(.roster-verdistatus-2):not(.roster-nightshiftstatus-2) .roster-fields.one-checked-from-start > div:not(.checked):not(.checked-from-start):not(.roster-fieldactions)
{
    display: none;
}

#roster-agenda {
    clear: both;
    margin-top: 70px;
}
.roster-agenda:first-child {
    margin-bottom: 1.5em;
}
.roster-agenda .header {
    font-weight: bold;
    margin-bottom: 1em;
}


        /* --- Calendar->list MOBILE --- */

@media (max-width: 991px) {

    .calendar .typo3-messages {
        margin-top: 50px;
    }

    .calendar .roster-month-pagination {
        background-color: #ddd;
    }
    .calendar #roster-actions-bottom,
    .calendar #roster-month-pagination-bottom {
        display: block;
    }
    .calendar .roster-actions .counters {
        background: #f3f3f3;
        padding: 15px 15px 0px;
    }
    .calendar .roster-actions .counters + .counters {
        padding-top: 5px;
        padding-bottom: 15px;
    }
    .calendar .roster-actions .counters:last-child {
        padding-bottom: 15px;
    }
    .calendar .roster-actions .counters > .year-name {
        margin-right: 3px;
    }
    .calendar .roster-actions .counters > .year-name > span {
        display: none;
    }
    .calendar .roster-actions .counters > div {
        padding: 0px;
    }
    .calendar .roster-actions .counters > .counter:not(:last-child)::after {
        right: 0px;
        margin: 0 5px 0 -3px;
    }
    .calendar .roster-week:not(:first-child) {
        margin-top: 15px;
    }
    .calendar .roster-week-days {
        display: flex;
        flex-wrap: wrap;
    }
    .calendar .roster-weeks .roster-day {
        flex: 0 0 33.333333%;
        border-right: 1px solid #666;
    }
    .calendar .roster-weeks .roster-day:last-child {
        flex: 0 0 100%;
    }
    .calendar .roster-weeks .roster-day, .calendar .roster-week .roster-kw {
        min-height: 60px;
    }
    .calendar .roster-weeks .roster-day {
        border-top: none;
        border-left: 1px solid #666;
        border-top: 1px solid #666;
    }
    .calendar .roster-occupancy > div:first-child {
        border-top: 1px solid #bbb;
    }
    .calendar .roster-occupancy > div {
        border-bottom: 1px solid #bbb;
    }
    .calendar .roster-occupancy {
        min-height: initial;
    }
    .calendar .roster-weeks .roster-day.roster-today {
        border-top: 15px solid #cddbf9;
        border-bottom: 15px solid #cddbf9;
        border-left: 15px solid #cddbf9;
        border-right: 15px solid #cddbf9;
    }
    .calendar .roster-actions {
        margin: 70px 0px 0px;
    }
    .calendar #roster-actions-bottom {
        margin: 0px 0px 45px;
    }
    .calendar .roster-legend > span {
        width: calc(50% - 6px);
        margin: 5px 3px;
    }
    #roster-month-pagination-bottom {
        margin-top: 25px;
    }

    .ce-ltype-iumaportal_nachrichten #m-back {
        margin-top: 45px;
    }

}

@media (max-width: 768px) {

    .calendar .roster-actions .counters {
        letter-spacing: -0.018em;
    }
    .calendar .roster-actions .counters > .year-name::after {
        margin-right: 3px;
    }
    .calendar .roster-actions .counters > .counter:not(:last-child)::after {
        content: ',';
    }

    .calendar .roster-month-pagination > * {
        margin: 15px 0 15px;
    }
    .calendar .roster-month-pagination > .current-month {
        vertical-align: middle;
    }

}

@media (max-width: 576px) {

    .calendar .roster-weeks .roster-day {
        flex: 0 0 50%;
    }
    .calendar .roster-month-pagination > .current-month {
        margin: 0 12px;
    }
    .roster-month-pagination .btn {
        padding: 9px 2px 10px 7px;
    }
    .roster-month-pagination .btn > span {
        display: none;
    }
    .calendar .roster-legend > span {
        font-size: 15px;
    }
    .calendar .btn.submit {
        width: 100%;
    }

    .xxs .calendar .roster-kw {
        cursor: pointer;
    }
    .xxs .calendar .roster-week-days {
        display: none;
    }


    #maportal-menu > .btn {
        margin: 0px 6px 10px 0px;
        padding: 10px 12px 8px 18px;
    }
    #maportal-menu > .btn.active {
        /*-webkit-box-shadow: inset 3px 3px 4px rgb(255 255 255 / 80%), inset -3px -3px 4px rgb(255 255 255 / 80%);
        box-shadow: inset 3px 3px 4px rgb(255 255 255 / 80%), inset -3px -3px 4px rgb(255 255 255 / 80%);*/
        box-shadow: none;
    }
    #maportal-menu > .btn.active > span {
        display: block;
        position: absolute;
        left: 15px;
        bottom: -7px;
        width: calc(100% - 30px);
        height: 35px;
        padding: 5px;
        font-size: 18px;
        cursor: default;
        pointer-events: none;
    }
    #maportal-menu > .btn.c-btn-red,
    #maportal-menu > .btn.active.c-btn-red > span {
        background: #e30613 !important;
    }
    #maportal-menu > .btn.c-btn-blue,
    #maportal-menu > .btn.active.c-btn-blue > span {
        background: #263477 !important;
    }
    #maportal-menu > .btn.c-btn-purple-3,
    #maportal-menu > .btn.active.c-btn-purple-3 > span {
        background: #8d2d5e !important;
    }
    #maportal-menu > .btn.c-btn-green-2,
    #maportal-menu > .btn.active.c-btn-green-2 > span {
        background: #44b089 !important;
    }
    #maportal-menu > .btn > span {
        display: none;
    }
    #maportal-menu > .btn > i {
        font-size: 32px;
    }
    #maportal-menu > .active::before {
        display: none;
    }


}



/* EXT:femanager - new (register), edit */

.femanager_infos-per.form-group {
    margin-bottom: 0px;
}
.femanager_infos-per + .femanager_infos-per.form-group {
    margin-bottom: 30px;
}
.femanager_infos-per > .control-label {
    height: 30px;
}
.femanager_infos-per > .control-label > span {
    font-size: 85%;
}
.femanager_infos-per + .femanager_infos-per > .control-label {
    visibility: hidden;
}
.femanager_fieldset.femanager_state {
    display: flex;
}
.femanager_fieldset.femanager_state > div {
    align-self: center;
}

@media (max-width: 767px) {
    .femanager_fieldset.femanager_state {
        display: block;
    }
}






/* PWA- and Mobile-specific Adjustments */

.pwa .c-content-title-1 {
    display: none;
}
.pwa div#cccwr.ccc-right #ccc-icon {
    right: 0px !important;
}
#pwa-title {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: 99;
    display: block;
    padding: 2px;
    background: #263477;
    color: white;
    text-align: center;
    font-weight: bold;
}

@media (min-width: 577px) {

    #pwa-menu-toggle {
        display: none !important;
    }

}

@media (max-width: 576px) {

    #pwa-title {
        display: block;
    }

    /* PWA "Mobile Menu" on very small VPs: */

    .pwa .c-layout-page {
        margin-top: 221px;
    }
    .pwa #maportal-header,
    .pwa #maportal-menu .maintenance,
    .pwa #maportal-menu > .btn.active > span
    {
        transition: all 0.4s ease;
    }
    .pwa #maportal-header {
        position: fixed;
        top: 30px;
        left: 0;
        width: 100%;
        height: 191px;
        z-index: 50;
        padding-top: 50px;
    }
    .pwa #maportal-menu .maintenance {
        top: 15px;
    }
    .pwa #maportal-menu > .btn.active > span > span {
        max-width: calc(100% - 50px);
        display: inline-block;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    #pwa-menu-toggle {
        display: none;
    }
    .pwa.scrolled #maportal-menu > .btn.active > span {
        text-align: left;
    }
    .pwa.scrolled #maportal-menu > .btn.active > span {
        width: 100%;
        left: 0;
        padding-left: 15px;
    }
    .pwa.scrolled:not(.pwa-menu-open) #maportal-header {
        height: 40px;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    .pwa.scrolled:not(.pwa-menu-open) #maportal-menu .maintenance {
        right: -800px;
    }
    .pwa.scrolled:not(.pwa-menu-open) #maportal-menu > .btn.active > span {
        bottom: 0px;
        width: 100%;
        left: 0;
        padding-left: 15px;
        line-height: 28px;
        height: 40px;
    }
    .pwa.scrolled #pwa-menu-toggle {
        display: block;
        position: absolute;
        z-index: 80;
        right: 15px;
        top: 8px;
        font-style: italic;
        font-size: 16px;
        color: white;
        text-transform: uppercase;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.4s ease;
    }
    .pwa.scrolled #pwa-menu-toggle .pwa-close,
    .pwa.scrolled.pwa-menu-open #pwa-menu-toggle .pwa-open
    {
        display: none;
    }
    .pwa.scrolled.pwa-menu-open #pwa-menu-toggle .pwa-close {
        display: block;
    }
    .pwa.scrolled #maportal-menu > .btn.active > span > span {
        max-width: calc(100% - 150px);
    }
    .pwa.scrolled.pwa-menu-open #pwa-menu-toggle {
        top: auto;
        bottom: -3px;
    }

    .maintenance.pwa.scrolled #pwa-menu-toggle {
        background: #6a7883;
        padding: 2px 8px;
    }
    .maintenance.pwa.scrolled.pwa-menu-open #pwa-menu-toggle {
        background: #6a7883;
        padding: 6px 8px;
    }
    .maintenance.pwa.scrolled:not(.pwa-menu-open) #maportal-header {
        background: #6a7883;
    }
    .maintenance.pwa.scrolled:not(.pwa-menu-open) #maportal-mydata::before {
        color: white;
        font-weight: bold;
        content: 'Meine Daten bearbeiten';
        max-width: calc(100% - 150px);
        display: inline-block;
        text-overflow: ellipsis;
        overflow: hidden;
        text-transform: uppercase;
        padding: 8px 15px;
        white-space: nowrap;
    }

    .maintenance.pwa .c-layout-page .c-content-box + .c-content-box {
        padding-top: 0;
    }

    /* Input Fields adjustments */
    .pwa .form-control {
        height: 44px;
        font-size: 16px;
    }
    .pwa .frame-type-felogin_login .main-header {
        font-size: 21px;
    }
    .pwa .c-btn-uppercase.btn-md {
        font-weight: bold;
    }
    .pwa .forgot-pw {
        font-size: 16px;
    }


}
