.table-wrapper {
    width: 1000px;
    margin: 30px auto;
    padding: 20px;	
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

#about-table-wrapper {
    width: 1000px;
    margin: 30px auto;
    padding: 20px;
}

#about-table-wrapper table {
    width: 100%;
    table-layout: fixed;
}

#about-table-wrapper th:nth-child(2) {
    width: 50px;
}

/* prevent collapse of empty rows */
#about-table-wrapper table td:empty::after {
    content: "\00a0";
}
#input-a-mon-table td:empty::after {
    content: "\00a0";
}
#input-b-mon-table td:empty::after {
    content: "\00a0";
}

#about-table-wrapper table td a.error {
    color: red;
}

.dbl-table-wrapper {
    width: 500px;
    margin: 10px auto;
    padding: 20px;	
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

#relaymon-table-wrapper {
    width: 600px;
}

#about-div {
    width: 600px;
    margin: 30px auto;
    padding: 20px;
}

.wayside-form-wrapper {
    width: 1000px;
    margin: 30px auto;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.wayside-form-wrapper h2 {
    font-size: 22px;
}

.system-form-wrapper {
    width: 1000px;
    margin: 30px auto;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.system-form-wrapper h2 {
    font-size: 22px;
}

.table-title {
    padding-bottom: 10px;
    margin: 0 0 10px;
}
.table-title h2 {
    margin: 6px 0 0;
    font-size: 22px;
}

.dbl-table-title {
    padding-bottom: 10px;
    margin: 0 0 10px;
}

.dbl-table-title h2 {
    margin: 6px 0 0;
    font-size: 22px;
}

#about-div h2 {
    font-size: 22px;
}

.hiddenh2 {
    visibility: hidden;
}

.table-title .add-new {
    float: right;
    height: 30px;
    font-weight: bold;
    font-size: 12px;
    text-shadow: none;
    min-width: 100px;
    border-radius: 50px;
    line-height: 13px;
}

.table-title .add-new i {
    margin-right: 4px;
}

table.table {
    table-layout: fixed;
}
table.table tr th, table.table tr td {
    border-color: #e9e9e9;
}
table.table th i {
    font-size: 13px;
    margin: 0 5px;
    cursor: pointer;
}
table.table th:last-child {
    width: 100px;
}

#input-table-wrapper th:first-child {
    width: 130px;
}

/* allows 'disabled' property on a row to disable edit operations on that row */
/* TODO: refactor all such styles into a common class */
#digital-input-table tr[disabled] td {
    filter: blur(1px);
    pointer-events: none;
}
#system-state-input-table tr[disabled] td {
    filter: blur(1px);
    pointer-events: none;
}

#output-table-wrapper th:first-child {
    width: 150px;
}

/* allows 'disabled' property on a row to disable edit operations on that row */
#digital-output-table tr[disabled] td {
    filter: blur(1px);
    pointer-events: none;
}
#relay-output-table tr[disabled] td {
    filter: blur(1px);
    pointer-events: none;
}

/* allows 'disabled' property on a row to disable edit operations on that row */
#dtmf-command-table tr[disabled] td {
    filter: blur(1px);
    pointer-events: none;
}

/* allows 'disabled' property on a row to disable edit operations on that row */
#audio-clip-table tr[disabled] td {
    filter: blur(1px);
    pointer-events: none;
}

#relay-table-wrapper th:first-child {
    width: 160px;
}

/* Audio Clips */
#audio-table-wrapper {
    width: 1400px;
}

/* Indication Bit(s) */
#audio-table-wrapper th:nth-child(2) {
    width: 290px;
}

/* ID and Source File*/
#audio-table-wrapper th:first-child {
    width: 340px;
}

/* Actions */
#audio-table-wrapper th:last-child {
    width: 130px;
}

.dbl-table-wrapper th:first-child {
    width: 130px;
}

#relaymon-table-wrapper th:first-child {
    width: 160px;
}

table.table td a {
    cursor: pointer;
    display: inline-block;
    margin: 0 5px;
    min-width: 24px;
}    

table.table td a:first-child {
    margin-left: 5px; /* ensure symmetric spacing */
}

table.table td a:last-child {
    margin-right: 5px; /* ensure symmetric spacing */
}

table.table td a.add {
    color: #27C46B;
}
table.table td a.cancel {
    color: #E34724;
}
table.table td a.edit {
    color: #FFC107;
}
table.table td a.delete {
    color: #E34724;
}
table.table td a.info {
    color: #E34724;
}
table.table td a.disable {
    color: #f39c12;
}
table.table td a.enable {
    color: #27ae60;
}
table.table td i {
    font-size: 19px;
}
table.table td a.add i {
    font-size: 24px;
    margin-right: -1px;
    position: relative;
    top: 3px;
}    
table.table .form-control {
    height: 32px;
    line-height: 32px;
    box-shadow: none;
    border-radius: 2px;
}
table.table .form-control.error {
    border-color: #f50000;
}

/* 'add' and 'cancel' table actions are hidden by default */
table.table td .add {
    display: none;
}
table.table td .cancel {
    display: none;
}

table.table td form input {
    margin: 0 5px 0 5px;
} /* TODO: is this needed anymore? */

table.table td form div {
    width: 100%;
}

label.bit-selector {
    display: grid;
    grid-template-columns: min-content 10ch 15ch;
    grid-gap: 1px;
    align-items: center;
}

.link-disabled {
    color: red;
    margin-left: 5px;
}

.link-down {
    color: red;
    margin-left: 5px;
}

.link-up {
    color: green;
    margin-left: 5px;
}

#audio-clip-file {
    /* Both of the following are required for text-overflow */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#audio-clip-filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#audio-progress {
    width: 100%;
}

#radio-progress {
    width: 100%;
}

#update-container {
    margin-top: 30px;
}

div .upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

#upload-icon {
    font-size: 48px;
}

.border-3 {
    border-width: 3px !important;
}

iframe {
    /* width: 1000px; */
    margin: 20px;
    width: 100%;
    height: 80vh;
    border-width: 2px;
}

#synctime {
    color: blue;
    cursor: pointer;
}

#sync-icon {
    vertical-align: middle;
}

#settime {
    color: blue;

    /* Make button invisible (showing only icon) */
    background: none;
    padding: 0px;
    border: none;
    
    /* Center icon in middle of button */
    vertical-align: middle;
}

#systime {
    width: 12rem;
}

#systimezone {
    width: 12rem;
    margin-top: 2px;
    padding: 3.5px 0 3.5px 0;
}

.send-icon {
    vertical-align: middle;
}

#settimezone {
    color: blue;

    /* Make button invisible (showing only icon) */
    background: none;
    padding: 0px;
    border: none;
    
    /* Center icon in middle of button */
    vertical-align: middle;
}

/* TEMP: to align labels with input boxes */
label.font-weight-bold {
    padding-top: 6px;
}

.logger-title {
    font-size: 22px;
}

.logger-container {
    margin: 20px 20px 40px 20px;
}

.table-wrap-cell {
    word-break: break-all;
    word-wrap: break-word;
}

#time-div {
    text-align: center;
}

#system-time {
    text-align: center;
    font-size: 150px;
}

#about-table-wrapper2 {
    width: 1000px;
    margin: auto;
}

#about-table-wrapper2 table {
    width: 100%;
    table-layout: fixed;
}

#about-table-wrapper2 th:nth-child(2) {
    width: 50px;
}

/* prevent collapse of empty rows */
#about-table-wrapper2 table td:empty::after {
    content: "\00a0";
}

#keyswitch-warning-card {
    margin: 80px auto;
}

#log-home-btn {
    margin: 20px 0px 0px 0px;
}

#log-download-btn {
    margin-right: 10px;
}

/* Whitelist table actions column width */
#whitelist-table th:last-child,
#whitelist-table td:last-child {
    width: 120px;
    text-align: center;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}

/* allows 'disabled' property on a row to disable edit operations on that row */
#whitelist-table tr[disabled] td {
    filter: blur(1px);
    pointer-events: none;
}

/* Connected clients table actions column width */
#connected-clients-table th:last-child,
#connected-clients-table td:last-child {
    width: 120px;
    text-align: center;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}

/* Ensure disabled action anchors keep spacing like enabled ones */
.disabled-action {
    color: #6c757d !important; /* same as .text-muted default */
}

/* Link group table actions column width */
#link-health-table th:last-child,
#link-health-table td:last-child {
    width: 120px;
    text-align: center;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}

/* Client mnemonics table actions column width */
#client-mnemonics-table th:last-child,
#client-mnemonics-table td:last-child {
    width: 120px;
    text-align: center;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}

/* Digital input assignments table actions column width */
#digital-input-table th:last-child,
#digital-input-table td:last-child {
    width: 120px;
    text-align: center;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}

/* Whitelist table row styles */
#whitelist-table tr[disabled] td {
    filter: blur(1px);
    pointer-events: none;
}

/* Link group table row styles */
#link-health-table tr[disabled] td {
    filter: blur(1px);
    pointer-events: none;
}

/* Whitelist table column alignment */
#whitelist-table th,
#whitelist-table td {
    text-align: left;
}

/* Link group table column alignment */
#link-health-table th,
#link-health-table td {
    text-align: left;
}

/* Whitelist table header font size */
#whitelist-table th {
    font-size: 14px;
}

/* Link group table header font size */
#link-health-table th {
    font-size: 14px;
}

/* Whitelist table row hover effect */
#whitelist-table tr:hover {
    background-color: #f9f9f9;
}

/* Link group table row hover effect */
#link-health-table tr:hover {
    background-color: #f9f9f9;
}

.current-level-indicator {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #f8f9fa;
    margin-left: 8px;
}

.current-level-indicator.text-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
}

.log-btn {
    min-width: 160px;
}
