/* RELOAD page if trouble */
.reload-text {
	text-align: right;
	font-size: 80%;
}
.std-link {
	cursor: pointer;
	color: var(--main-button-color);
}

/* Method restore */
.method-title {
	text-align:center;
	margin: 10px 0;	
}
.method-figure {
	text-align:center;
	margin: 20px 0;	
}
.method-facts-table {
	padding-left: 30px;	
}
.method-facts-table-content td {
	font-size: 14px !important;
	letter-spacing: .01rem;
}
.method-facts-labels {
	background-color: #808080;
	color: #ffffff;
}
.method-facts-center {
	text-align: center;
}
.method-facts-post-text {
	padding-left: 30px;
}
.method-question {
	font-weight: bolder;
	letter-spacing: .05rem;
	font-size: 105%;
}
#met_step1 ul, #met_step2 ul, #met_step3 ul, #met_step4 ul {
	list-style-type: square;
	line-height: 1.7;
	letter-spacing: .01rem;
}
#met_step1 ul ul, #met_step2 ul ul, #met_step3 ul ul, #met_step4 ul ul {
	list-style-type: circle;
	margin-left:0px !important;
}

.form-method[open] > :not(summary) {
    background-color: #f0f0f0;  /* Example gray background */
	padding: 1em;
	margin-bottom: 1em;
}

/* Inbox */
.inbox-container {
    display: flex;
    justify-content: center;
}
.inbox-message {
    max-width: 600px;
    min-width: 400px;
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.inbox-header-container {
    display: grid;
    grid-template-columns: 1fr auto;
}
.inbox-header-to {
    text-align: left;
}
.inbox-header-date {
    text-align: right;
}
.inbox-subject {
    font-weight: bold;
    margin: 40px 0 20px 0;
}

/* Process */
.process-aspect-ratio-box {
    position: relative;
    width: 80%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: #ccc;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Maintenance */
.grid-maintenance {
	display: grid;
	grid-template-columns: minmax(400px, 1fr);
	grid-template-rows: minmax(40px, auto) minmax(100px, 380px);
	grid-column-gap: 20px;
	margin: 10px;
	grid-template-areas:
		"mai-title"
		"mai-content"
}
.mai-title {
	grid-area: mai-title;
	margin-bottom: 20px;
}
.mai-content {
	grid-area: mai-content;
	overflow-x: hidden;
	overflow-y: hidden;
	height: calc(100vh - 200px);
}

#maintenanceTable {
    width: 100%;
    border-collapse: collapse;
}

#maintenanceTable th, #maintenanceTable td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#maintenanceTable th {
    background-color: #f2f2f2;
}

.maintenance-center {
    text-align: center;
}

.maintenance-left {
    text-align: left;
}

#maintenanceTable td {
    vertical-align: top;
}

/* Performance */
.grid-performance {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: minmax(40px, auto) minmax(0, auto);
	grid-column-gap: 20px;
	grid-template-areas:
		"pes-header pea-header"
		"pes-content pea-content"
}
.pes-header {	grid-area: pes-header; }
.pea-header {	grid-area: pea-header; }
.pes-content { grid-area: pes-content; }
.pea-content { grid-area: pea-content; }
.playback-container {
	display: grid;
	grid-gap: 0.5em;
	grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr);
}
.playback-container>div {	text-align: center; }
.not-available {
	align-self: center;
  justify-self: center;
}

/* System Log */
#slsBody, #slaBody {
	font-family: Courier;
}

.grid-log-side-by-side {
	display: grid;
	grid-column-gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	grid-auto-rows: auto;
}
.grid-log-table {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: minmax(40px, auto) minmax(100px, auto);
	grid-template-areas:
		"log-table-title"
		"log-table-content"
}
.log-table-title {
	grid-area: log-table-title;
	padding-top: 10px;
}
.log-table-content {
	grid-area: log-table-content;
}
.highlight {
    background-color: yellow;
    color: black;
    border-radius: 3px;
}
.current-highlight {
    border: 2px solid red;
}
.hit-count {
    display: inline-block;
    width: 80px;
    text-align: center;
    font-family: monospace;
    margin-left: 10px;
    white-space: nowrap;
}
table.dataTable th,td {
  font-size: 0.8em;
}
[type=search] {
    outline-offset: 0;
}

/* Inspect and act */
/* Webrotate viewer */
#content {
    width: 100%;
    height: 450px;
}

/* Action modal */
.modal-action {	border-bottom: 0px !important; }

.perform-action-content {
    display: flex;
    flex-direction: column;
}

.perform-action-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    height: 90px;
    flex-wrap: wrap;
    height: auto;
}

.perform-action-image {
    flex: 0 0 20%;
    max-width: 25%;
    margin-right: 20px;
}

.perform-action-title {
    flex: 1;
    font-size: 24px;
    margin: 0;
}

.perform-action-text {
    margin-bottom: 20px;
}

.perform-action-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px; /* Add some space before the button row */
}

.perform-action-column {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

.perform-action-row {
    padding: 0 10px;
}

.row-1 {
    font-size: 20px;
    font-weight: bold;
	padding-bottom: 10px;
}

.row-2 {
	font-size: 30px;
	font-weight: bold;
}

.row-3 {
    font-size: 14px;
    color: grey;
}

.row-4 {
    color: grey;
    font-size: 14px;
}

.perform-action-row-divider {
    border-top: 1px solid #ddd;
    width: 100%;
    margin: 10px 0;
}

.perform-action-action-row {
    margin-top: auto; /* Push the button row to the bottom of the column */
}

.perform-action-button {
    width: 100%;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.action-button:hover {
    background-color: #0056b3;
}

.perform-action-bullet-list {
    /* max-width: 400px; */
    /* margin: 20px; */
}

.perform-action-bullet-list ul {
    list-style-type: none;
    padding: 0;
	margin-top: 0;
}

.perform-action-bullet-list ul li {
    display: flex;
    align-items: top;
    padding: 4px 0;
}

.perform-action-bullet-list ul li i {
    margin-right: 10px;
    color: #808080;
    font-size: 12px;
	margin-top: 4px;
}

.act-action {
	border-radius: 2px;
	background: var(--main-button-color);
	color: #FFF;
	padding: 10px;
	text-align: center;
}
.act-action-clicked {
	border-radius: 2px;
	border: 1px solid #dee2e6;
	background: #e9ecef;
	color: #a9a9a9;
	padding: 10px;
	text-align: center;
}

.act-head { font-weight: 400; }
.act-text {	font-weight: 300; }

/* Cabling diagram */
.cabling-header {
	text-align: center;
	font-size: 125%;
	margin: 20px 0 10px 0;
}
.cabling-container {
	display: grid;
	grid-template-columns: minmax(auto, 1fr) 10px minmax(20px, auto) minmax(40px, auto) minmax(20px, auto) 10px minmax(auto, 1fr);
	grid-template-rows: repeat(4, minmax(30px, auto));
}
.cabling-container>div:nth-child(7n-6) {
	text-align: right;
	padding-right: 5px;
	display: grid;
	align-items: center;
	line-height: 1;
}
.cabling-container>div:nth-child(7n-4) {
	border-left: 2px solid black;
	font-weight: 900;
	display: grid;
	justify-items: center;
	align-items: center;
}
.cabling-container>div:nth-child(7n-2) {
	border-right: 2px solid black;
	font-weight: 900;
	display: grid;
	justify-items: center;
	align-items: center;
}
.cabling-container>div:nth-child(7n) {
	padding-left: 5px;
	display: grid;
	align-items: center;
	line-height: 1;
}
.cabling-connect {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(2, minmax(0, auto));
}
.cabling-connect>div:nth-child(1) {border-bottom: 1px solid black;}
.cabling-connect>div:nth-child(2) {border-top: 1px solid black;}