.jobsPage table.table {
    margin-bottom: 0.5rem;
}

.jobsPage tr.disabled td {
    color: #afafaf;
}

td.jobs {
    max-width: 20em;
}

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

td.jobs.stop img {
    cursor: pointer;
    vertical-align: middle;
}

td.jobs.hidden div,
#jobsHistory td.hidden div {
    visibility: hidden;
}

.jobPopup {
    width: 40%;
    background-color: #3a4149;
    font-size: 1.2em;
}

.jobPopup .jobSelects {
    margin: auto;
    padding: 0.5em;
    display: flex;
    gap: 0.5em;
}

.jobPopup .jobSelects select {
    border-radius: 5px;
    width: 50%;
}

.jobPopup .jobSelects select[disabled] {
    cursor: not-allowed;
}

.jobPopup .enabledCheckbox {
    display: flex;
    align-items: center;
    width: fit-content;
    flex-direction: row-reverse;
}

.jobPopupButtonsPanel {
    float: right;
}

.jobPanel {
    color: #d5d5d5;
}

.jobParams {
    display: grid;
    grid-template-areas:
        "label input"
        "subTitle subTitle";
    grid-template-columns: 1fr 2fr;
    grid-gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.jobParams .editTextBox {
    grid-area: input;
}

.jobParamSubtitle {
    font-size: 82%;
    grid-area: subTitle;
}

.jobTitle {
    color: #ffffff;
    font-size: 1.2em;
    padding: 0.5rem 0;
}

.jobSubtitle {
    font-size: 1em;
    margin: 2em 0 1em 0;
}

.jobDetailsPanel {
    display: grid;
    align-items: center;
}

.jobLabel {
    grid-column: 1;
    grid-area: label;
    color: white;
}

.jobsDeck {
    margin-bottom: 1rem;
}

.jobsDeck .editButton,
#jobsHistory .editButton {
    cursor: pointer;
    top: 3px;
    position: relative;
}

.jobsDeck .deleteButton {
    cursor: pointer;
    width: 1.7em;
    position: relative;
    top: 3px;
}

.jobExecutions {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2em;
}

.jobsPage .pageTitle {
    margin-bottom: 1rem;
}

.jobQueueHeader {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.jobQueueHeader .pageTitle {
    margin-bottom: 0;
}

.jobQueueHeader .refreshJobQueue {
    min-width: 2em;
    width: 2em;
    height: 2em;
    background-image: url("../res/refresh.png");
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
}

.deleteJobPopup {
    width: 25%;
    background-color: #3a4149;
    font-size: 1.2em;
}

.deleteJobPopup .deleteRecap {
    padding: 1rem;
}

.deleteJobPopup .deleteRecap .title {
    font-size: 1.2em;
    text-align: center;
    padding-bottom: 1em;
}

.executionLogsPopup {
    width: 60vw;
    padding: 1rem 1rem 0 1rem;
}

.deleteJobPopup .deleteRecap .subtitle {
    font-size: 1rem;
    color: #d5d5d5;
}

.executionLogsPopup .subtitle {
    font-size: 1rem;
    color: #d5d5d5;
    padding-top: 0.3rem;
}


.executionLogsPopup .executionRecapContainer {
    position: relative;
}

.executionLogsPopup .executionRecapContainer .logSoftWrap {
    opacity: 0;
    position: absolute;
    right: 0.5em;
    bottom: 0.5em;
    background-image: url(../res/softWrap.png);
    background-size: 1.5em;
    background-position: center;
    background-repeat: no-repeat;
    width: 1.7em;
    height: 1.7em;
    min-width: 1em;
    transition: opacity 0.3s;
    z-index: 1;
}

.executionLogsPopup .executionRecapContainer:hover .logSoftWrap {
    opacity: 1;
    transition: opacity 0.3s;
}

.executionLogsPopup .executionRecap {
    font-family: consolas;
    margin: 1rem 0 1rem 0;
    padding: 0.8em;
    background-color: #212427;
    border-radius: 5px;
    border: 1px solid #151618;
    max-height: 50rem;
    position: relative;
    overflow: auto;
}

.executionLogsPopup .executionRecap .log-line {
    font-size: 1rem;
    word-break: break-all;
    padding-bottom: 0.5rem;
    white-space: nowrap;
}

.executionLogsPopup .executionRecap.softWrap .log-line {
    white-space: normal;
}

.executionLogsPopup .executionRecap .log-line:last-child {
    padding-bottom: 0;
}

.executionLogsPopup .executionRecap .error-line {
    color: #f86c6b;
}

.executionLogsPopup .executionRecap .warn-line {
    color: #f8cb00;
}

.deleteJobPopup .deleteRecap .param {
    padding-bottom: 0.5em;
}

.deleteJobPopup .deletionUnavailable {
    display: none;
}

.deleteJobPopup .deletionUnavailable.visible {
    display: block;
}

span.statusCell {
    font-family: Consolas, monospace;
    padding: 0.1rem 0.3rem;
    border-radius: 5px;
}

.jobRecapButton {
	height: 1em;
	cursor: pointer;
	position: relative;
    top: 2px;
}

.jobStatusColumn div {
    text-align: center;
}

.job-enabled {
    cursor: pointer;
    background-image: url('../res/check_white.png');
	background-size: 1em;
	background-repeat: no-repeat;
	background-position: center center;
	color: transparent;
}

.job-disabled {
    cursor: pointer;
    background-image: url('../res/minus.png');
	background-size: 1em;
	background-repeat: no-repeat;
	background-position: center center;
}

.job-not-editable-warning {
    margin: 1em 0;
    opacity: 80%;
    color: orange;
}

.jobParamForAllRules {
    display: flex;
    align-items: center;
    margin: 0 0 1em 0;
}