/* scale primefaces widgets to proper size */
/*.ui-widget, .ui-widget .ui-widget {
    font-size: 80% !important;
} */

table.companyHeader {
    width: 100%;
    border: none;
}

table.companyHeader tr {
    border: none;
}

table.companyHeader tr td.ui-panelgrid-cell {
    padding: 0;
    border: none;
    font-size: 90%;
    vertical-align: bottom;
}

table.companyHeader tr td img {
    height: 2.7em;
}

table.companyHeader tr td table.address {
    width: auto;
}

table.companyHeader tr td table.address tr td.ui-panelgrid-cell {
    width: auto;
    color: black;
    background: transparent;
    font-size: 90%;
}

table.companyHeader tr td table.contact tr td.ui-panelgrid-cell {
    width: auto;
    color: black;
    background: transparent;
    font-size: 90%;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
}

li.ui-selectlistbox-item.ui-state-highlight {
    background: rgba(54, 96, 146, 0.67);
    text-shadow: unset;
}

.resultQuality {
    padding: 3px;
    border-radius: 5px;
    display: inline-block;
    width: 6em;
    text-align: center;
}

.resultQualityGOOD {
    background-color: rgb(235, 255, 222);
    border: 1px solid rgb(118, 147, 60);
    color: rgb(118, 147, 60);
}

.resultQualityMEDIUM {
    background-color: rgb(255, 255, 180);
    border: 1px solid rgb(155, 140, 52);
    color: rgb(155, 140, 52);
}

.resultQualityPOOR {
    background-color: rgb(252, 220, 219);
    border: 1px solid rgb(150, 54, 52);
    color: rgb(150, 54, 52);
}

.pool_free {
    background-color: rgb(235, 255, 222);
}

.pool_partial {
    /*background-color: rgb(255, 255, 180);*/
    background: linear-gradient(to bottom right, rgb(235, 255, 222), rgb(235, 255, 222), rgb(252, 220, 219), rgb(252, 220, 219));
}

.pool_booked {
    background-color: moccasin;
}

.pool_booked > button.tableauButton.ui-button, .pool_pending > button.tableauButton.ui-button, .pool_rejected > button.tableauButton.ui-button {
    border: 1px solid black;
    border-radius: 0;
}

.pool_booked > button > span, .pool_pending > button > span, .pool_rejected > button > span {
    font-weight: bold;
}

.pool_pending, .booking_PENDING {
    background-color: yellow;
}

.pool_pending_expired {
    background-color: lightyellow;
}

.pool_rejected_col {
    background-color: rgb(252, 220, 219);
}

.pool_rejected, .pool_cancelled {
    background: rgb(252, 220, 219) url("/javax.faces.resource/cancelled_bg.png.xhtml?ln=images");
    background-size: 100% 100%;
}

.pool_strikethrough {
    text-decoration-line: line-through;
    text-decoration-style: solid;
    text-decoration-color: red;
    color: darkgray;
}

.pool_bookingState_BOOKED {
    display: none;
}

.pool_bookingState_REJECTED {
    float: right;
    background-color: rgb(252, 220, 219);
    border-radius: 3px;
    padding: 3px;
}

.pool_bookingState_PENDING {
    float: right;
    background-color: yellow;
    border-radius: 3px;
    padding: 3px;
}

.newButton {
    color: white !important;
    background: #1D9D74 !important;
    text-shadow: none !important;
    border: solid 1px #198764 !important;
    font-weight: normal !important;
    box-shadow: none !important;
}

.newButton.ui-state-hover {
    background-color: #157254 !important;
    border-color: #0f543e !important;
}

.newIconButton {
    color: #1D9D74 !important;
    background: white !important;
    text-shadow: none !important;
    border: solid 1px #198764 !important;
    font-weight: normal !important;
    box-shadow: none !important;
}

.newIconButton.ui-state-hover {
    background-color: #157254 !important;
    border-color: #0f543e !important;
}

.mainButton {
    color: white !important;
    background: rgb(54, 96, 146) !important;
    text-shadow: none !important;
    border: solid 1px rgb(54, 96, 146) !important;
    font-weight: normal !important;
    box-shadow: none !important;
}

.mainButton.ui-state-hover {
    background: rgb(27, 50, 84) !important;
}

.normalButton, div.ui-picklist-buttons > div > button.ui-button {
    color: rgb(54, 96, 146) !important;
    background: white !important;
    text-shadow: none !important;
    border: solid 1px rgb(54, 96, 146) !important;
    font-weight: normal !important;
    box-shadow: none !important;
}

li.ui-menuitem button.normalButton {
    border: none;
}

span.ui-menubutton.normalButton {
    border: none !important;
}

span.ui-menubutton.normalButton button {
    color: rgb(54, 96, 146);
    background: white;
    text-shadow: none;
    border: solid 1px rgb(54, 96, 146);
    font-weight: normal;
    box-shadow: none;
}

span.ui-menubutton.normalButton button.ui-state-hover {
    background: rgb(220, 230, 241) !important;
}

span.ui-menubutton.normalButton button span.ui-button-text {
    padding: 0.2em 0.5em 0.2em 1.5em;
}

.normalButton.ui-state-hover {
    background: rgb(220, 230, 241) !important;
}

.deleteButton {
    color: white !important;
    background: #D9534F !important;
    text-shadow: none !important;
    border: solid 1px #D43F3A !important;
    font-weight: normal !important;
    box-shadow: none !important;
}

.deleteButton.ui-state-hover {
    background-color: #c9302c !important;
    border-color: #ac2925 !important;
}

.deleteIconButton {
    color: #D9534F !important;
    background: white !important;
    text-shadow: none !important;
    border: solid 1px #D43F3A !important;
    font-weight: normal !important;
    box-shadow: none !important;
}

.deleteIconButton.ui-state-hover {
    background-color: #c9302c !important;
    border-color: #ac2925 !important;
}

.smallButton {
    font-size: smaller !important;
}

.smallButton .ui-button-text {
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
}

.hiddenButton {
    background-color: rgba(1, 1, 1, 0) !important;
    border-color: rgba(1, 1, 1, 0) !important;
}

.defaultButton {
    color: white;
    background: rgb(54, 96, 146) linear-gradient(to top, rgba(220, 230, 241, 0.2), rgba(220, 230, 241, 0.8));
    border: 1px solid rgb(54, 96, 146);
}

table.objectEditor.ui-panelgrid {
    width: 100%;
}

table.objectEditor.ui-panelgrid tr.ui-widget-content {
    border: none;
}

table.objectEditor.ui-panelgrid tr td {
    border: none;
    width: 50%;
    padding: 0;
}

table.objectEditor.ui-panelgrid tr td table.noGridLines.ui-panelgrid {
    width: 100%;
}

table.objectEditor.ui-panelgrid tr td table.noGridLines.ui-panelgrid tr:first-child td {
    padding: 0.5em 0.5em 0.2em;
}

table.objectEditor.ui-panelgrid tr td table.noGridLines.ui-panelgrid tr:last-child td {
    padding: 0.2em 0.5em 0.5em;
}

table.objectEditor.ui-panelgrid tr td table.noGridLines.ui-panelgrid tr td {
    padding: 0.2em 0.5em;
}

table.objectEditor.ui-panelgrid tr td div.actionPanel.ui-panel {
    border: none;
    height: 100%;
}

table.objectEditor.ui-panelgrid tr td div.actionPanel.ui-panel div.ui-panel-content {
    border: none;
    text-align: center;
    padding: 0;
}

table.objectEditor.ui-panelgrid tr td div.actionPanel.ui-panel div.ui-panel-content div.ui-panel {
    border: none;
}

table.objectEditor.ui-panelgrid tr td div.actionPanel.ui-panel div.ui-panel-content div.ui-panel button {
    margin-right: 0.5em;
}

.editPanel {
    border: none;
    margin: 0;
}

.editPanel .ui-panel-content {
    padding: 0.5em;
}

div.editSubPanel {
    background: transparent;
    padding: 0;
}

div.editSubPanel div.ui-panel-content {
    padding: 0;
}

.editGridOld {
    border: none;
}

.editGridOld .ui-widget-content {
    margin-bottom: 0.5em;
}

.editGridOld .ui-panelgrid-footer button {
    margin: 0.5em;
}

.editGridOld .ui-panelgrid-footer .ui-widget-header {
    background-color: transparent;
    text-align: center;
}

.noBorderPanel {
    border: none;
    margin: 0;
}

.noBorderPanel, .ui-panel {
    padding: 0 !important;
}

.noBorderPanel .ui-panel-content {
    padding: 0;
}

table.noBorderTable {
    border: none;
    margin: 0;
}

table.noBorderTable > tbody > tr {
    border: none;
}

table.noBorderTable > tbody > tr > td.ui-panelgrid-cell {
    border: none;
}

.noGridLines {
    border-radius: 8px;
    border: 1px solid rgb(54, 96, 146);
    border-collapse: separate !important;
    border-spacing: 0;
}

.noGridLines .ui-widget-content {
    border: none;
}

.noGridLines .ui-panelgrid-cell {
    border: none !important;
    background-color: rgb(220, 230, 241);
}

table.noGridLines > thead > tr:first-child > td:first-child {
    border-top-left-radius: 8px !important;
    padding: 0.25em;
}

table.noGridLines > thead > tr:first-child > td:last-child {
    border-top-right-radius: 8px !important;
    padding: 0.25em;
}

table.noGridLines > thead > tr:first-child > td {
    color: white;
    font-weight: normal;
    background: rgba(54, 96, 146, 0.67) none;
    text-shadow: none;
}

table.noGridLines > tbody > tr > td {
    background-color: rgb(220, 230, 241);
}

table.noGridLines > tbody > tr:first-child > td {
    padding-top: 0.5em;
}

table.noGridLines > tbody > tr:first-child > td:first-child {
    border-top-left-radius: 8px;
}

table.noGridLines > tbody > tr:first-child > td:last-child {
    border-top-right-radius: 8px;
}

table.noGridLines > tbody > tr:last-child > td {
    padding-bottom: 0.5em;
}

table.noGridLines > tbody > tr:last-child > td:first-child {
    border-bottom-left-radius: 8px;
}

table.noGridLines > tbody > tr:last-child > td:last-child {
    border-bottom-right-radius: 8px;
}

table.noGridLines > thead + tbody > tr:first-child > td:first-child {
    border-top-left-radius: 0;
}

table.noGridLines > thead + tbody > tr:first-child > td:last-child {
    border-top-right-radius: 0;
}

.labelColumn {
    margin-right: 0.5em;
    vertical-align: middle;
}

.fieldColumn {
}

div.timeSheet {
    padding: 0;
    border: none;
}

.timeSheet .ui-tabs .ui-tabs-panel {
    padding: 0;
    margin: 0;
}

div.timeSheet > div.ui-tabs-panels > div.ui-tabs-panel {
    padding: 0;
    margin: 0;
}

div.timeSheet > ul.ui-tabs-nav {
    background: white;
    border: none;
}

div.timeSheet > ul > li.ui-state-default {
    background: white;
    border-top: 1px solid rgb(54, 96, 146);
    border-left: 1px solid rgb(54, 96, 146);
    border-right: 1px solid rgb(54, 96, 146);
}

div.timeSheet > ul > li.ui-state-hover {
    background: rgb(220, 230, 241) none;
    box-shadow: none;
}

div.timeSheet > ul > li.ui-state-default > a {
    color: rgb(54, 96, 146);
}

div.timeSheet > ul > li.ui-tabs-selected.ui-state-active {
    background-color: rgba(54, 96, 146, 0.67);
    border: 1px solid rgb(54, 96, 146);
}

div.timeSheet > ul > li.ui-tabs-selected.ui-state-active > a {
    color: white;
    font-weight: bold;
    text-shadow: none;
}

div.timeSheet > div > div > div > div > table {
    border: 1px solid rgb(54, 96, 146);
}

div.timeSheet > div > div > div > div > table > thead > tr > th.ui-state-default, div.timeSheet > div > div > div > div > table > tfoot > tr > td.ui-state-default {
    border: 1px solid rgb(54, 96, 146);
    background: rgba(176, 196, 222, 0.75);
    text-shadow: none;
    box-shadow: none;
}

div.timeSheet > div > div > div > div > table > tbody > tr > td {
    border: 1px solid rgb(54, 96, 146);
}

div.timeSheet input.ui-inputfield {
    box-shadow: none;
    border-color: rgb(54, 96, 146);
}

div.timeSheet input.ui-inputfield.ui-state-focus {
    box-shadow: none;
}

.weekLabel {
    color: white;
    background-color: rgba(54, 96, 146, 0.67);
}

.leftAlign {
    text-align: left;
}

.rightAlign {
    text-align: right;
}

.centerAlign {
    text-align: center;
}

.topAlign {
    vertical-align: top;
}

th.tsColumn span {
    font-weight: normal;
}

div.ts-month table.ui-datagrid-data {
    border-collapse: collapse;
}

div.ts-month table.ui-datagrid-data td.ui-datagrid-column {
    padding: 0;
}

div.ts-month table.ui-datagrid-data div.ts-week.ui-datatable {
    margin-bottom: 0.2em;
}

div.weeks table.ui-datagrid-data td.ui-datagrid-column {
    padding: 0;
}

@media print {
    div.ts-week {
        page-break-inside: avoid;
    }

    div.ts-week.ui-datatable table tbody tr.ui-widget-content {
        border: none;
        color: black;
    }

    div.ts-week.ui-datatable table {
        margin-bottom: 0.5em;
    }

    div.ts-week.ui-datatable table tbody td {
        padding: 0.075em 0.5em;
        border: solid black 0.75pt;
        color: black;
        background: transparent;
        font-size: 83%;
    }

    div.ts-week.ui-datatable table tbody td.weekLabel {
        font-weight: bold;
        color: black;
    }

    div.ts-week.ui-datatable table thead th {
        padding: 0.1em 0.25em;
        color: black;
        background: transparent;
        border: solid black 0.75pt;
        font-size: 84%;
    }

    div.ts-week.ui-datatable table tfoot td {
        background: transparent;
        color: black;
        border: solid black 0.75pt;
        font-size: 89%;
    }
}

th.rightAlign span {
    text-align: right !important;
}

table.noBorders td.ui-panelgrid-cell {
    border: none;
}

table.noBorders tr.ui-widget-content {
    border: none;
}

div.noBorders div.ui-widget-content {
    border: none;
}

div.noBorders table tbody.ui-datatable-data {
    border: none;
}

.ui-datatable.noBorders tbody td {
    border: none;
}

table.noPadding td.ui-panelgrid-cell {
    padding: 0;
}

div.noPadding div.ui-panel-content {
    padding: 0;
}

.ui-panel.noPadding {
    padding: 0;
}

.ui-panel.commentPanel .ui-panel-content {
    padding: 0;
}

.ui-panel.commentPanel div.ui-panel-titlebar {
    font-weight: normal;
    text-shadow: none;
    color: white;
    background: rgba(54, 96, 146, 0.67) none;
    border: 1px solid rgb(54, 96, 146);
    border-radius: 0;
    padding: 0.25em;
}

div.tsWeek thead {
    display: none;
}

.tsDefault {
    background-color: white;
}

.tsOutOfRange {
    background-color: #e3e3e3;
    color: darkgray;
}

.tsHoliday {
    background-color: lightyellow;
}

.tsToday {
    background-color: rgb(255, 236, 236);
}

@media print {
    .tsOutOfRange {
        background: transparent;
        color: black;
    }

    .tsHoliday {
        background: transparent;
    }

    .tsToday {
        background: transparent;
    }
}

.selectEditPanel {
    border-radius: 8px;
    border-collapse: collapse;
}

.panelHeader {
    width: 100%;
    max-width: 20em;
    display: inline-block;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

div.titledPanel {
    border: none;
}

div.titledPanel div.ui-panel-titlebar {
    text-align: left;
    text-shadow: none;
    color: white;
    background: rgba(54, 96, 146, 0.67) none;
    font-weight: normal;
    border-radius: 8px 8px 0 0;
    border: 1px solid rgb(54, 96, 146);
    padding: 0.25em 1em;
}

div.titledPanel div.ui-panel-content {
    border: 1px solid rgb(54, 96, 146);
    border-radius: 0 0 8px 8px;
    padding: 1em;
}

table.titledPanel {
    border: 1px solid rgb(54, 96, 146);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
}

table.titledPanel thead tr td {
    text-align: left;
    text-shadow: none;
    color: white;
    background: rgba(54, 96, 146, 0.67) none;
    font-weight: normal;
    border-radius: 8px 8px 0 0;
    padding: 0.25em 1em;
}

table.titledPanel tbody tr td.ui-panelgrid-cell {
    border: none;
    background: transparent;
}

table.selectEditPanel {
    border-radius: 8px;
    border: none;
    background-color: rgb(220, 230, 241);
    border-collapse: separate;
    border-spacing: 0;
}

table.selectEditPanel > tbody > tr:first-child {
    border: none;
}

table.selectEditPanel > tbody > tr:first-child > td:first-child {
    border-top-left-radius: 8px;
    border: 1px solid rgb(54, 96, 146);
    border-right: none;
    border-bottom: none;
    background-color: rgba(54, 96, 146, 0.67);
    color: white;
}

table.selectEditPanel > tbody > tr:first-child > td:last-child {
    border: 1px solid rgb(54, 96, 146);
    border-top-right-radius: 8px;
    border-bottom: none;
    background-color: rgba(54, 96, 146, 0.67);
    color: white;
}

table.selectEditPanel > tbody > tr:last-child > td:first-child {
    border: 1px solid rgb(54, 96, 146);
    border-bottom-left-radius: 8px;
    border-right: none;
    padding: 0.5em;
    background-color: rgb(220, 230, 241);
    height: 100%;
}

table.selectEditPanel > tbody > tr:last-child > td:last-child {
    border: 1px solid rgb(54, 96, 146);
    border-bottom-right-radius: 8px;
    padding: 0.5em;
    background-color: rgb(220, 230, 241);
}

table.selectEditPanel div.editPanel {
    background-color: transparent;
}

table.selectPanel {
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
}

table.selectPanel tr.ui-widget-content {
    border: none;
    background-color: transparent;
}

table.selectPanel td.ui-panelgrid-cell {
    border: none;
    padding: 0;
    height: 100%;
}

table.selectPanel td div.ui-panel-content {
    padding: 0;
}

table.selectPanel td div.selectionList {
    box-shadow: none;
    padding: 0;
    border: none;
    background-color: transparent;
    width: 100%;
    height: 100%;
}

table.selectPanel td div.selectionList table.ui-selectlistbox-list td span {
    max-width: 15em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

table.selectPanel td div.selectionList table.ui-selectlistbox-list td span.deactivated {
    color: lightgray;
}

table td span.deactivated {
    color: lightgray;
}

table.selectPanel td div.selectionList input {
    border: 1px solid rgb(54, 96, 146);
}

table.selectPanel td div.selectionList div.ui-selectlistbox-listcontainer {
    background-color: white;
    border-radius: 3px;
    border: 1px solid rgb(54, 96, 146);
    margin-top: 5px;
    min-height: 5em;
}

table.selectPanel td {
    background-color: transparent;
}

.buttonsBar {
    width: 100%;
    padding: 0;
    border: none;
    margin-top: 0.5em;
    background-color: transparent;
}

.buttonsBar button + button {
    margin-left: 0.5em;
}

.buttonsPanelVert {
    text-align: left;
    border: none;
}

.buttonsPanelVert button + button {
    width: 100%;
    margin-top: 1em;
    display: block;
}

table.editGrid {
    width: 100%;
    background-color: rgb(220, 230, 241);
}

table.editGrid tr.ui-widget-content {
    border: none;
}

table.editGrid tfoot.ui-panelgrid-footer tr.ui-widget-header {
    background: none;
    border: none;
    vertical-align: middle;
    text-align: center;
}

table.editGrid tfoot.ui-panelgrid-footer tr.ui-widget-header td {
    margin-top: 1em;
}

table.editGrid tfoot.ui-panelgrid-footer tr.ui-widget-header button {
    margin: 1em 0 0;
}

table.editGrid tfoot.ui-panelgrid-footer tr.ui-widget-header button + button {
    margin-left: 1em;
}

table.editGrid tr.ui-widget-content {
    background-color: transparent;
}

table.editGrid td.ui-panelgrid-cell {
    border: none;
}

table.editGrid input {
    width: 100%;
}

table.editGrid span.date > input {
    width: 6em;
}

table.editGrid .ui-widget-content .ui-inputfield {
    box-shadow: none;
}

table.editGrid td > div.ui-picklist {
    width: 100%;
}

table.editGrid div.ui-picklist-caption {
    font-weight: normal;
    text-shadow: none;
    color: white;
    background: rgba(54, 96, 146, 0.67) none;
    border: 1px solid rgb(54, 96, 146);
    box-sizing: border-box;
    border-top-left-radius: 3px !important;
    border-top-right-radius: 3px !important;
}

table.editGrid ul.ui-picklist-list {
    border: 1px solid rgb(54, 96, 146);
    box-sizing: border-box;
    width: 100%;
}

table.editGrid div.ui-picklist-buttons {
    vertical-align: middle;
}

table.editGrid div.ui-picklist-buttons div.ui-picklist-buttons-cell {
    display: block;
    text-align: center;
}

table.editGrid div.ui-picklist-buttons button {
    color: rgb(54, 96, 146) !important;
    background: white !important;
    text-shadow: none !important;
    border: solid 1px rgb(54, 96, 146) !important;
    font-weight: normal !important;
    box-shadow: none !important;
    margin: 0.25em auto;
}

table.editGrid div.ui-picklist-buttons button.ui-state-hover {
    background: rgb(220, 230, 241) !important;
}

div.editPanel > div.ui-panel-content {
    background-color: transparent;
}

div.jobProfiles {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

div.jobProfiles > div {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.panelTitle {
    font-weight: bold;
    font-size: larger;
    margin-top: 2em;
}

.panelSubTitle {
    margin-top: 0.5em;
    font-weight: bold;
    font-size: large;
    color: white;
    background-color: rgba(54, 96, 146, 0.67);
    padding: 0.25em;
    display: block;
}

.noHeaders thead tr {
    display: none;
}

tbody#form\:tableau_data > tr > td {
    padding: 0;
    width: 3em;
    height: 1.75em;
}

tbody#form\:tableau_data > tr > td:first-child {
    padding-left: 0.5em;
}

.tableauButton.ui-button {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    font-weight: normal;
    box-shadow: none;
    text-align: center;
}

.tableauButton.ui-button span.ui-button-text {
    padding: 0;
    margin: 0;
    text-align: center;
}

.tableauButtonSelected {
    width: 100% !important;
    border: solid red 2px !important;
    background: transparent !important;
    font-weight: normal !important;
    box-shadow: none !important;
    text-align: center !important;
}

.tableauButtonSelected span.ui-button-text {
    padding: 0.2em 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

.tableauButton.selected {
    border: solid red 2px !important;
}

.tableauButton.week {
    text-align: left !important;
}

.weekStart {
    border-top-width: 3px;
}

.dayMarked {
    background-color: rgb(252, 220, 219);
}

.ts-title-panel {
    padding: 0 !important;
    margin-bottom: 1em;
    border-radius: 8px;
    border: 1px solid rgb(54, 96, 146);
    background-color: rgba(54, 96, 146, 0.67);
    overflow: hidden;
}

.ts-title-panel-print {
    padding: 0;
    border-radius: 0;
    border-top: none;
    border-bottom: solid black 1pt;
    border-left: none;
    border-right: none;
}

.ts-title-panel-print div.ui-panel-content {
    padding: 0;
}

.ts-title-panel-print div.ui-panel-content table {
}

.ts-title-panel-print div.ui-panel-content table td.ui-panelgrid-cell {
    padding: 0.2em 0 0.1em;
    color: black;
    background: transparent;
}

.ts-title-panel div.ui-panel-content {
    padding: 0.5em;
}

.ts-title-title {
    /*display: inline-block;*/
    font-weight: bold;
    font-size: large;
    color: white;
}

.ts-title-actionPanel {
    float: right;
    background-color: transparent;
    border: none;
    padding: 0;
}

.ts-title-actionPanel div.ui-panel-content {
    padding: 0 0 0.5em;
}

.ts-summaryAction-panel {
    margin-bottom: 1em;
}

table.ts-summaryAction-panel table.states td {
    padding: 0.1em 0 0.1em 0.5em;
    color: black;
    background: transparent;
}

.ts-summmary-panel {
    padding: 0;
}

table.ts-summmary-panel > tbody > tr > td:first-child {
    padding-left: 0.5em;
}

table.ts-summmary-panel > tbody > tr > td:last-child {
    padding-right: 0.5em;
}

.ts-summary-mainLine {
    font-weight: bold;
}

.ts-summary-paragraphLine {
    margin-top: 0.5em;
    display: block;
}

.ts-summary-figureColumn {
    margin-left: 0.5em;
}

.ts-summary-unitColumn {
    margin-left: 0.25em;
}

@media print {
    .ts-summaryAction-panel {
        margin-bottom: 0.7em;
    }

    table.ts-summmary-panel {
        background: transparent;
        border-radius: 0;
        border: solid black 0.75pt;
    }

    table.ts-summmary-panel.noGridLines tbody tr td.ui-panelgrid-cell {
        color: black;
        background: transparent;
    }
}

.ts-actionPanel {
    border: none;
    margin: 0;
    padding: 0;
    float: right;
}

.ts-actionPanel div.ui-panel-content {
    padding: 0;
}

@media print {
    div.ts-commentPanel.ui-widget-content {
        border-radius: 0;
        border: none;
        background: transparent;
        page-break-inside: avoid;
    }

    div.ts-commentPanel table tbody tr.ui-widget-content {
        border-top: solid 1pt black;
        border-bottom: none;
        border-left: solid 1pt black;
        border-right: solid 1pt black;
        color: black;
        background: transparent;
    }

    div.ts-commentPanel table tbody tr.ui-widget-content:last-child {
        border-bottom: solid 0.75pt black;
    }
}

.ts-commentPanel .ui-panel-content {
    padding: 0 !important;
}

.ts-commentPanel div.ui-panel-titlebar {
    font-weight: normal;
    text-shadow: none;
    color: white;
    background: rgba(54, 96, 146, 0.67) none;
    border: 1px solid rgb(54, 96, 146);
    border-radius: 0;
    padding: 0.25em;
}

@media print {
    .ts-commentPanel div.ui-panel-titlebar {
        font-weight: bold;
        color: black;
        background: transparent;
        border: none;
    }
}

.ts-comment-owner {
    font-weight: bold;
}

.ts-comment-lastChanged {
    font-size: small;
}

div.ts-commentPanel table tr td.ts-comment-col1 {
    width: 10em;
    vertical-align: top;
    padding: 0.5em;
}

div.ts-commentPanel table tr td.ts-comment-col2 {
    padding: 0.5em;
}

div.ts-commentPanel table tr td.ts-comment-col3 {
    width: 3em;
    vertical-align: top;
    text-align: center;
    padding: 0.5em;
}

div.ts-commentPanel table tr {
    border: none;
}

table.ts-evaluationPanel {
    margin-top: 1em;
    padding: 0;
    border: none;
    width: 100%;
}

table.ts-evaluationPanel tr {
    border: none;
}

table.ts-evaluationPanel tr td:first-child {
    width: 25em;
    padding: 0;
    vertical-align: top;
    border: none;
}

table.ts-evaluationPanel tr td:last-child {
    text-align: left;
    vertical-align: top;
    padding: 0;
    border: none;
}

table.ts-evaluationPanel tr td table.ts-evaluationContent {
    padding: 0;
}

table.ts-evaluationPanel tr td table.ts-evaluationContent tr td {
    text-align: left;
}

div.ts-periodPanel {
    margin-bottom: 1em;
    border: none;
}

div.ts-periodPanel div:first-child {
    padding: 0;
}

table.ts-evaluationPanel tr td table.actionPanel {
    width: 100%;
}

table.ts-evaluationPanel tr td table.actionPanel button {
    width: 8em;
    margin-bottom: 0.5em;
    margin-left: 5em;
}

table.ts-evaluationPanel tr td table.actionPanel tr {
    border: none;
}

table.ts-evaluationPanel tr td table.actionPanel tr td.ui-panelgrid-cell {
    border: none;
}

div.ts-evaluationPanel div.ui-panel-content {
    padding: 0;
}

div.ts-evaluationEntries div.ui-datagrid-content {
    border: none;
}

table.ts-evaluationEntries.ts-month {
    margin-top: 1em;
}

table.ts-evaluationEntries.ts-month tr:first-child {
    border-bottom: 1px solid black;
    font-weight: bold;
    margin-bottom: 0.2em;
}

table.ts-evaluationEntries.ts-month tr:nth-child(2) td {
    padding-top: 0.25em;
}

table.ts-evaluationEntries.ts-month tr td:last-child {
    text-align: right;
}

div.ts-evaluationEntries table.ts-week {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

div.ts-evaluationEntries table.ts-week tr:first-child {
    border-bottom: 1px solid black;
    font-weight: bold;
}

div.ts-evaluationEntries table.ts-week tr:nth-child(2) td {
    padding-top: 0.5em;
}

div.ts-evaluationEntries table.ts-week tr td:last-child {
    text-align: right;
}

div.ts-evaluationEntries table.ts-day {
    margin-bottom: 0.5em;
}

div.ts-evaluationEntries table.ts-day tr td:last-child {
    text-align: right;
}

.ts-calcDayGrid {
    border-collapse: collapse;
}

.ts-calcDayCol1 {
    text-align: left;
    border: none !important;
}

.ts-calcDayCol2 {
    text-align: right;
    border: none !important;
}

div.ts-activeTable div.ui-datatable-header {
    text-align: left;
    text-shadow: none;
    color: white;
    background: rgba(54, 96, 146, 0.67) none;
    font-weight: normal;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 1px solid rgb(54, 96, 146);
    padding: 0.25em 1em;
}

div.ts-activeTable table {
    border-collapse: inherit;
    border: 1px solid rgb(54, 96, 146);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

div.ts-activeTable tr {
    background: transparent;
    border: none;
}

div.ts-activeTable td {
    border: none !important;
}

table.confirmDlg td {
    vertical-align: top;
}

.bubbleNumber {
    background-color: red;
    color: white;
    display: inline-block;
    border-radius: 0.75em;
    padding: 0 0.5em;
    margin-left: 0.5em;
    font-size: smaller;
    height: 1.5em;
    line-height: 1.5em;
    vertical-align: middle;
}

.infoText {
    font-family: Arial, Helvetica, sans-serif;
    font-size: smaller;
}

label.ui-state-error {
    background: transparent !important;
}

input.ui-state-error {
    border-width: 2px !important;
}

div.userMenuButton:hover {
    background-color: rgb(220, 230, 241);
    color: rgb(54, 96, 146);
}

span.ui-menuitem-icon.ui-icon {
    margin-right: 0.5em;
}

div.ui-messages > div.ui-messages-info {
    background-color: rgb(235, 255, 222);
    border: 1px solid rgb(235, 255, 222);
    color: rgb(118, 147, 60);
}

div.navigation.ui-menu.ui-widget-content {
    background: transparent;
    border-radius: 0;
    border-top: solid 1px rgb(54, 96, 146);
    border-bottom: solid 1px rgb(54, 96, 146);
    border-left: none;
    border-right: none;
    padding: 0;
}

div.navigation ul.ui-menu-list {
    background: white none;
    color: rgb(54, 96, 146);
    text-shadow: none;
    font-weight: normal;
    box-shadow: none;
}

div.navigation ispan.ui-menuitem-icon.ui-icon {
    margin-right: 0.25em;
}

div.navigation ul.ui-menu-list.ui-menu-child {
    border: solid 1px rgb(54, 96, 146);
}

div.navigation.ui-widget-content a {
    color: rgb(54, 96, 146);
}

div.navigation.ui-widget-content a:hover {
    background: rgb(220, 230, 241) none;
    box-shadow: none;
}

div.navigation.ui-widget-content a.ui-state-hover {
    background: rgb(220, 230, 241) none;
    box-shadow: none;
}

div.navigation li:hover {
    background: transparent;
}

div.ui-menu.ui-shadow {
    box-shadow: none;
}

div.ui-menu {
    background: white none;
}

div.ui-menu.ui-widget-content {
    border: solid 1px rgb(54, 96, 146);
}

div.ui-menu.ui-widget-content ul.ui-menu-list li.ui-menuitem a {
    color: rgb(54, 96, 146);
}

div.ui-menu.ui-widget-content ul.ui-menu-list li.ui-menuitem.ui-state-hover {
    background: rgb(220, 230, 241) none;
    box-shadow: none;
}

div#footer {
    position: absolute;
    left: 0;
    bottom: 0;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    font-size: x-small;
    color: rgb(54, 96, 146);
    width: 100%;
    padding-top: 0.25em;
}

a.currentPage span.ui-menuitem-text:before {
    content: ">";
}

a.currentPage span.ui-menuitem-text:after {
    content: "<";
}

.pageElement {
    width: 60em;
    margin-left: auto;
    margin-right: auto;
}

h1.pageTitle.ui-widget {
    font-size: x-large;
    margin-top: 1em;
}

div#header div.ui-panel-content {
    padding: 0;
}

img.agencyLogo {
    margin-top: 0.5em;
    margin-bottom: 1em;
}

table.loginForm td.ui-panelgrid-cell {
    padding: 0.25em 0.5em 0.25em 0;
}

span.hint {
    display: block;
    color: #c9302c;
    vertical-align: top;
    text-align: left;
    margin-left: 2em;
    margin-bottom: 2em;
}

div.assignmentOverview table {
    width: 100%;
    font-size: smaller;
}

div.assignmentOverview table thead tr th {
    padding-left: 0;
    padding-right: 0;
}

div.assignmentOverview table tbody tr td:first-child {
    text-overflow: ellipsis;
    white-space: nowrap;
}

div.assignmentOverview table tbody tr td:nth-child(n+2) {
    padding-left: 0;
    padding-right: 0;
}

.hasAssignment {
    background-color: rgb(252, 220, 219);
    color: rgb(150, 54, 52);
    text-align: center;
    vertical-align: middle;
    width: 100%;
    display: block;
}

.isPartiallyBooked {
    background-color: rgb(235, 255, 222);
    background-size: 0.9em 0.9em;
    background-image: linear-gradient(-45deg, rgba(252, 220, 219, 1) 25%, transparent 25%, transparent 50%, rgba(252, 220, 219, 1) 50%, rgba(252, 220, 219, 1) 75%, transparent 75%, transparent);
    width: 100%;
    display: block;
}

.isBookable {
    background-color: rgb(235, 255, 222);
    color: rgb(118, 147, 60);
    text-align: center;
    vertical-align: middle;
    width: 100%;
    display: block;
}

span.currency {
    display: inline-block;
    width: 3em;
    text-align: right;
}

input.currency {
    text-align: right;
}

.emphasize {
    font-weight: bold;
}

div.homePagePanel {
    border: 1px solid rgb(54, 96, 146);
    border-radius: 0;
    padding: 0;
    margin-top: 1em;
    width: 50%;
}

div.homePagePanel > div.ui-panel-titlebar {
    font-weight: bold;
    font-size: large;
    color: white;
    background: rgba(54, 96, 146, 0.67);
    text-shadow: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0.25em;
}

div.homePagePanel > div.ui-panel-content {
    padding: 1em;
}

/* ezena table */

table.ezenaTable, div.ezenaTable, div.ezenaTable.ui-widget {
    font-size: smaller;
    width: 100%;
    margin-top: 1em;
}

table.ezenaTable thead > tr > th, div.ezenaTable.ui-datatable > div > table > thead > tr > th {
    background: rgba(176, 196, 222, 0.75);
    text-shadow: none;
    box-shadow: none;
}

table.ezenaTable tbody tr td button + button, div.ezenaTable div table tbody tr td button + button {
    margin-left: 0.5em;
}

div.ezenaTable div.ui-paginator {
    background: rgba(176, 196, 222, 0.75);
    text-shadow: none;
    box-shadow: none;
    border-radius: 0;
}

div.ezenaTable div.ui-paginator span, div.ezenaTable div.ui-paginator span.ui-paginator-pages span {
    background-color: white;
}

div.ezenaTable div.ui-paginator span.ui-paginator-pages {
    background: transparent;
}

div.ezenaTable div.ui-paginator span.ui-state-hover, div.ezenaTable div.ui-paginator span.ui-paginator-pages span.ui-state-hover {
    color: rgb(54, 96, 146);
    background: rgb(220, 230, 241) none;
    box-shadow: none;
}

div.ezenaTable div.ui-paginator span.ui-state-active, div.ezenaTable div.ui-paginator span.ui-paginator-pages span.ui-state-active {
    color: rgb(220, 230, 241);
    background: rgb(54, 96, 146) none;
    box-shadow: none;
}

div.ezenaTable > div.ui-datatable-header {
    text-align: left;
    color: white;
    background: rgba(54, 96, 146, 0.67);
    border-radius: 0;
    text-shadow: none;
}

td.noLineBreak {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

div.invisiblePanel, div.invisiblePanel > div.ui-panel-content {
    border: none;
    background: transparent;
    padding: 0;
    vertical-align: middle;
}

ul.ui-selectlistbox-list > li.ui-state-hover {
    color: rgb(54, 96, 146);
    background: rgb(220, 230, 241) none;
    box-shadow: none;
}

div.ui-selectonelistbox.ui-widget-content {
    border: 1px solid rgb(54, 96, 146);
    box-shadow: none;
}

div.closeDlgButtons {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 1em;
}

div.closeDlgButtons button + button {
    margin-left: 1em;
}

div.ui-selectonemenu.ui-state-default {
    border: 1px solid rgb(54, 96, 146);
    background: white;
    box-shadow: none;
}

div.ui-selectonemenu.ui-state-default > label {
    border: none;
    box-shadow: none;
}

div.ui-selectonemenu-trigger.ui-state-default {
    background: transparent;
}

input.ui-inputfield.ui-inputtext.ui-state-default, input.ui-inputfield.ui-password.ui-state-default {
    border: 1px solid rgb(54, 96, 146);
    background: white;
    box-shadow: none;
}

html.progress, html.progress * {
    cursor: progress !important;
}

div.ui-picklist > div {
    border: 1px solid rgb(54, 96, 146);
    border-radius: 3px;
}

div.ui-picklist > div.ui-picklist-buttons {
    border: none;
}

div.ui-picklist > div > div.ui-picklist-caption {
    border: none;
    color: white;
    background: rgba(54, 96, 146, 0.67);
    text-shadow: none;
    border-radius: 3px 3px 0 0;
}

div.ui-picklist > div > ul.ui-picklist-list {
    border: none;
    border-radius: 0 0 3px 3px;
}

li.ui-picklist-item.ui-state-highlight {
    color: white;
    background: rgb(27, 50, 84);
    text-shadow: none;
    border-radius: 0;
}

li.ui-picklist-item.ui-state-hover {
    background: rgb(220, 230, 241);
    text-shadow: none;
    box-shadow: none;
    border-radius: 0;
}

div.ui-chkbox > div.ui-chkbox-box {
    background: transparent;
    border: 1px solid rgb(54, 96, 146);
    margin-right: 0.25em;
}

div.ui-chkbox > div.ui-chkbox-box.ui-state-hover {
    box-shadow: none;
}

div.ui-chkbox > div.ui-chkbox-box.ui-state-hover {
    box-shadow: none;
}
