#editreportform select {
    max-width: fit-content;
}

.reportform-scroll-shell {
    margin-bottom: 2rem;
    position: relative;
}

.reportform-scroll-shell::before,
.reportform-scroll-shell::after {
    bottom: 0;
    content: "";
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transition: opacity 0.18s ease-in-out;
    width: 2.75rem;
    z-index: 30;
}

.reportform-scroll-shell::before {
    background: linear-gradient(90deg, rgba(10, 29, 56, 0.18), rgba(10, 29, 56, 0));
    left: 0;
}

.reportform-scroll-shell::after {
    background: linear-gradient(270deg, rgba(10, 29, 56, 0.18), rgba(10, 29, 56, 0));
    right: 0;
}

.reportform-scroll-shell.can-scroll-left::before,
.reportform-scroll-shell.can-scroll-right::after {
    opacity: 1;
}

.reportform-scroll-hint {
    align-items: center;
    background-color: #F3F7D8;
    border: 1px solid #C6D665;
    border-radius: 6px;
    color: #0A1D38;
    display: none;
    gap: 0.55rem;
    margin: 0 0 0.65rem 0;
    max-width: 100%;
    padding: 0.55rem 0.75rem;
    width: fit-content;
}

.reportform-scroll-hint i {
    color: #516c78;
}

table.reportform {
    display: block;
    /*overflow-x: auto;
    overflow-y: auto;*/
    overflow: scroll;
    max-height:
        /*100vh*/
        70vh;
    border: 1px solid rgba(143, 143, 143, 0.25);
    scrollbar-color: #929CC8 #eef1f5;
    scrollbar-width: auto;
}

table.reportform::-webkit-scrollbar {
    height: 14px;
    width: 14px;
}

table.reportform::-webkit-scrollbar-track {
    background-color: #eef1f5;
}

table.reportform::-webkit-scrollbar-thumb {
    background-color: #929CC8;
    border: 3px solid #eef1f5;
    border-radius: 999px;
}

table.reportform::-webkit-scrollbar-thumb:hover {
    background-color: #7d88bc;
}

table.reportform thead {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 20;
    box-shadow: 0px 1px rgba(143, 143, 143, 0.25);
    /*display: block;
    width: max-content;*/
}

table.reportform th,
table.reportform td {
    /*min-width: 20em;*/
    font-size: 15px;
}

table.reportform input,
table.reportform select,
table.reportform label {
    font-size: 15px !important;
}

table.reportform .nowrap {
    white-space: nowrap;
}

table.reportform select {
    min-width: 15em;
}

/*
table.reportform a.deleterow, table.reportform a.addemploymentrow {
    position: relative;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    padding: 0;
    margin: 0;
}
table.reportform a.deleterow i, table.reportform a.addemploymentrow i {
    transform: translate(-50%,-50%);
    position: absolute;
    top: 50%;
    left: 50%;
}
table.reportform a.deleterow:hover {
    background-color: darkred;
}*/
table.reportform a.addemploymentrow:hover {
    background-color: lightseagreen;
}

table.reportform tr {
    border: none;
}

table.reportform tbody tr.employeerow {
    border-top: 2px solid rgba(143, 143, 143, 0.25);
}

table.reportform tbody tr:last-child {
    border-bottom: 2px solid rgba(143, 143, 143, 0.25);
}

table.reportform .non-statistical {
    background-color: #f9fff9;
}

table.reportform tbody tr td.name,
table.reportform thead th:first-child {
    left: 0;
    position: -webkit-sticky;
    position: sticky;
    background-color: inherit;
    z-index: 10;
    box-shadow: inset -2px 0px 0px 0px rgba(143, 143, 143, 0.25), 0px -2px 0px 0px rgba(143, 143, 143, 0.25);
}

table.reportform tr {
    background-color: white;
}

#rowcount {
    max-width: fit-content;
    display: inline;
}

#addrows {
    margin-left: 2em;
}

#editinfo {
    margin-bottom: 3em;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    flex-direction: row-reverse;
}

#lastedited {
    font-style: italic;
}

.workshop_leader input {
    display: inline;
    max-width: fit-content;
}

.workshop_leader label {
    display: inline;
}

.worktimepercent_subtypes {
    display: block;
    margin-left: 1em;
}

/*
table.reportform .lastname,
table.reportform .firstname,
table.reportform .gender,
table.reportform .languages,
table.reportform .actions {
    min-width: 15em;
}*/

table.reportform td>input:first-child,
table.reportform td>select:first-child {
    display: inline;
    margin-bottom: 1em;
}

table.reportform .name input {
    min-width: 10em;
}

table.reportform .name p {
    margin-bottom: 1em;
}

table.reportform .employment-duration-fields {
    margin-bottom: 0;
}

table.reportform tr.employment-reporting-row td.employment-reporting-details-cell {
    background-color: #F3F7D8;
    border-left: 4px solid #C6D665;
    padding: 0.55rem 0.7rem;
}

table.reportform .employment-reporting-details {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    white-space: normal;
}

table.reportform .employment-personyear {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    font-family: "Poppins";
    font-size: 0.9rem;
    gap: 0.35rem;
    margin-bottom: 0;
}

table.reportform .employment-personyear-title {
    display: inline-block;
    margin-right: 0.3rem;
}

table.reportform .small.button.circle {
    box-shadow: none;
}

table.reportform .small.button.circle.circle-shadow {
    box-shadow: 0.22rem 0.22rem 0 -3px #fff, 0.22rem 0.22rem 0 0 #0A1D38;
}

table.reportform .employment-personyear-edit.small.button {
    align-items: center;
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 var(--circle-button-size, 1.65rem);
    font-size: 0.78rem;
    height: var(--circle-button-size, 1.65rem);
    justify-content: center;
    line-height: 1;
    margin: 0 0 0 0.2rem;
    min-width: 0;
    padding: 0 !important;
    width: var(--circle-button-size, 1.65rem);
}

table.reportform .employment-personyear-custom-label {
    color: #516c78;
    font-size: 0.8rem;
    font-weight: 400;
}

table.reportform .employment-duration-absences {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 0.45rem;
    white-space: nowrap;
}

table.reportform .employment-duration-absences ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

table.reportform .employment-duration-absences li {
    align-items: center;
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.15rem;
}

table.reportform .employment-absence-text {
    flex: 0 0 auto;
}

table.reportform .employment-absence-actions {
    align-items: center;
    display: inline-flex;
    gap: 0.2rem;
}

table.reportform .employment-absence-edit.small.button,
table.reportform .employment-absence-delete.small.button {
    align-items: center;
    box-shadow: none;
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 1.55rem;
    font-size: 0.75rem;
    height: 1.55rem;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-width: 0;
    padding: 0 !important;
    width: 1.55rem;
}

table.reportform .employment-absence-add {
    align-items: center;
    display: inline-flex;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

table.reportform .employment-absence-add-icon.small.button.add {
    --circle-button-size: 1.2rem;
    align-items: center;
    aspect-ratio: 1 / 1;
    border-width: 0.15rem;
    box-shadow: none;
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 1.2rem !important;
    font-size: 0.65rem;
    height: 1.2rem !important;
    justify-content: center;
    line-height: 1 !important;
    margin: 0;
    max-height: 1.2rem;
    max-width: 1.2rem;
    min-height: 1.2rem;
    min-width: 1.2rem;
    padding: 0 !important;
    width: 1.2rem !important;
}

.custom-personyear-dialog {
    max-width: 34rem;
    padding: 1rem;
}

.custom-personyear-dialog h3 {
    margin-bottom: 0.75rem;
}

.custom-personyear-dialog label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.custom-personyear-dialog input {
    max-width: 12rem;
}

.custom-personyear-dialog .buttons {
    margin-top: 1rem;
}

table.reportform tfoot td {
    background-color: #F4F6F7;
    border-top: 2px solid rgba(143, 143, 143, 0.35);
    font-family: "Poppins";
    font-weight: 700;
}

table.reportform .reportform-total-label {
    text-align: right;
}

table.reportform .reportform-total-value {
    white-space: nowrap;
}

#select-all-label {
    font-weight: bold;
    margin: 2em 0 1em 0;
}

div.reportlistitem {
    margin-bottom: 3em;
}

div.reportlistitem p {
    margin-bottom: 0;
}

div.specifiedworktimepercent {
    margin-top: 1em;
}

div.specifiedworktimepercent label {
    margin-top: 0;
}

#reportlink {
    float: right;
}

div.operationinformation {
    margin-bottom: 1.5em;
}

label.secondary {
    font-weight: 400;
}

div.updatedatasource label {
    font-style: italic;
}

div.toggle-year {
    margin: 1.5em 0;
}

div.togglecontrol,
div.togglecontrol h2,
div.togglecontrol h3 {
    width: fit-content;
}

div.togglecontrol h2:hover,
div.togglecontrol h3:hover {
    color: #516c78;
    cursor: pointer;
}

#sendreport {}

p.worktimepercent {
    margin: 0;
}

#selectreportingyearform {
    width: auto !important;
    margin: auto !important;
}

.reportsummary {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.reportsummary>div {
    margin-bottom: 2em;
}

.reportsummarycontent {
    border-radius: 10px;
    padding: 2em 1em;
    border: 4px solid black;
    position: relative;
    padding-bottom: 8em;
    height:
        /*20em;*/
        100%;
}

.reportsummarycontent.ready {
    box-shadow: 0.6rem 0.7rem 0 -4px #34B59D, 0.6rem 0.7rem 0 0 #34B59D;
}

.reportsummarycontent.ready::after {
    content: "\f058";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    color: #34B59D;
    font-size: 5em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.reportsummarycontent.incomplete {
    box-shadow: 0.6rem 0.7rem 0 -4px #F26F5B, 0.6rem 0.7rem 0 0 #F26F5B;
}

.reportsummarycontent.incomplete::after {
    content: "\f06a";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    color: #F26F5B;
    font-size: 5em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.reportsummarycontent.inactive {
    box-shadow: 0.6rem 0.7rem 0 -4px #FFD45A, 0.6rem 0.7rem 0 0 #FFD45A;
}

.reportsummarycontent.inactive::after {
    content: "\f057";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    color: #FFD45A;
    font-size: 5em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.reportsummarydata {
    position: absolute;
    top: 40%;
    transform: translateY(-40%);
}

.reportstatusdescription {
    font-family: "Poppins";
    margin: 0;
}

table.personyeartable .mainheader {
    text-align: center;
}

.personyearsummary.personyearsummary-mismatch {
    background-color: #FFF7F5;
    border-left: 5px solid #F58B7C;
    padding: 0.8rem 1rem;
}

.personyearsummary-mismatch-message span {
    display: block;
    margin-top: 0.35rem;
}

table.personyeartable td.personsummary-count-mismatch {
    background-color: #FDE2DE;
    box-shadow: inset 0 0 0 2px #F58B7C;
    font-weight: 700;
}

.reportoverviewactions {
    margin-bottom: 2rem;
}

.reporttitle {
    height: 4em;
}

.small.button.reportaction {
    box-shadow: 0.2rem 0.2rem 0 -4px #fff, 0.2rem 0.2rem 0 0 #0A1D38;
}

.editreport p {
    margin: 2em 0 0 0;
    font-size: 0.9em;
}

.editreport.incomplete {
    background-color: #FC8A78;
}

.editreport.incomplete:hover {
    background-color: #F26F5B;
}

.reportingyeartools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
}

.reportingyeartools h3 {
    margin-right: 2rem;
}

#changereportingyear {
    background-color: #7DC9BB;
    margin: 0 0.4rem 1rem 0;
}

#changereportingyear:hover {
    background-color: #36B39D;
}

#editinfo-staffreport {
    margin-bottom: 2em;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    flex-direction: row;
}

.reportchildpages {
    margin-bottom: 2rem;
}

.button.small.reportpagelink {
    border: 5px solid #929CC8;
    background-color: #fff;
    color: #0B1922 !important;
    height: 2.5rem;
    padding: 0 1.5rem;
    vertical-align: text-bottom;
    line-height: 2rem;
}

.button.small.reportpagelink:hover {
    background-color: #929CC8;
    color: #0B1922;
}

.person_year_descriptions {
    margin: 2rem 0;
}

.editworktimepercents.error {
    background-color: #FFF;
    border-color: #F58B7C;
}

.editworktimepercents.error:hover {
    background-color: #FFF;
    border-color: #F26E5B;
}

a.editstaffreport {
    margin-top: 0 !important;
}

table.reportingschedule .datepicker {
    display: inline;
    width: auto;
}

table.reportingschedule .timepicker {
    display: inline;
    width: 5rem;
}

table.reportingschedule .reportingyear {
    width: max-content;
}

table.reportingschedule a.reportingexception {
    float: right;
    margin-right: 0.4rem !important;
}

table.reportingschedule td.editreporting {
    text-align: right;
}

table.reportingschedule td.editreporting a {
    margin-right: 0.4rem !important;
    margin-top: 0rem;
    margin-bottom: 0.5rem;
    vertical-align: text-top;
}

table.reportingschedule a.openreporting {
    background-color: #F8A674;
}

table.reportingschedule a.openreporting:hover {
    background-color: #F68F59;
}

table.reportingschedule a.closereporting {
    margin-right: 0.4rem !important;
    background-color: #F58B7C;
}

table.reportingschedule a.closereporting:hover {
    background-color: #F26E5B;
}

.reportingexceptiondescription p {
    margin-bottom: 0.5rem;
}

p.reportsendertitle,
p.reportsender {
    font-family: "Poppins";
    margin: 0;
    font-size: smaller;
}

.reportingschedule .reportingyear {
    display: block;
}

h2.reportoverview-header {
    margin-bottom: 3rem;
}

div.row.worktimepercent label {
    margin-top: 0;
}

div.reportingstatus-navigation {
    margin-bottom: 1.5rem;
}

#reportingstatustable a.openreporting {
    background-color: #F8A674;
}

#reportingstatustable a.openreporting:hover {
    background-color: #F68F59;
}

#reportingstatustable a.progressreporting {
    margin-right: 0.4rem !important;
    background-color: #7BAE8F;
}

#reportingstatustable a.progressreporting:hover {
    background-color: #609B79;
}

#reportingstatustable a.closereporting {
    margin-right: 0.4rem !important;
    background-color: #F58B7C;
}

#reportingstatustable a.closereporting:hover {
    background-color: #F26E5B;
}

table.reportingschedule .input-information,
table.reportingschedule .input-information::before {
    font-size: 0.8rem;
}

.reportingstatusactions {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: space-between;
    align-items: baseline;
}

button.reportingstatusfilter {
    margin-right: 1rem;
    margin-top: 0px;
    background-color: rgb(255, 255, 255);
    border-width: 4px;
    border-style: solid;
    border-color: rgb(125, 201, 187);
    border-image: initial;
}

.reportingstatusfilters button.reportingstatusfilter.selected {
    margin-top: 0px;
    background-color: rgb(125, 201, 187);
}

.reportingstatusfilters button.reportingstatusfilter:hover,
.reportingstatusfilters button.reportingstatusfilter.selected:hover {
    background-color: rgb(54, 179, 157);
    border-color: rgb(54, 179, 157);
}

.reportingstatusfilters {
    justify-content: flex-start;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    width: fit-content;
}

.organisation-tasklist-content {
    display: flex;
    flex-wrap: wrap;
}

.organisation-tasklist-content>div {
    margin-bottom: 2rem;
}

.importorganisations_return {
    margin-bottom: 2rem !important;
}

#selectreportingyearform #reportyear {
    width: fit-content;
}

#saveworktimepercents,
#savereportusers {
    float: right;
    margin-right: 0.6em;
}
