/* Add some spacing and center the content */
h1 {
    font-size: 2em;
    color: #333;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border-bottom: 1px solid #ccc;
}

* {
	margin: 0;
	padding: 0;
}

*, *:after, *:before {
	box-sizing: border-box;
}


/* Set focus outline color */
*:focus {
    outline-color: #f6821f;
}


/* Add some spacing and center the content */
h1 {
    font-size: 2em; /* 16px */
    color: #333;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border-bottom: 1px solid #ccc;
    clear: both;
}

body {
    display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f8fbfb;
	font-family: system-ui,-apple-system,BlinkMacSystemFont,Inter,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	overflow-x: hidden;
    overflow-y: auto;
	line-height: 1.4;
    height: 100vh;
}

main {
	padding: 2rem;
	/* max-width: 600px; */
	border-radius: 4px;
	background-color: #fff;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    overflow-y: auto;
    height: 100%;
}

blockquote {
	display: block;
	font-size: 0.85rem;
	padding-left: 0.75rem;
	border-left: 4px solid #e4f61f;
	margin-bottom: 1rem;
	margin-top: 0.5rem;
}

blockquote p {
	margin-bottom: 0.5rem;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

select,
input,
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

button {
    background-color: #4caf50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
	background-color: #00d820;
}


.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* height: 100%; */
    box-sizing: border-box;
    margin: 1rem 0; /* Add a vertical margin */
}

.input {
    display: block;
    margin-bottom: 1rem;
      line-height: 1.6;
}
  
.input label,
.checklist > label {
      display: block;
      font-weight: bold;
  }
  
.input input,
.input select {
      width: 100%;
    display: block;
      background: #fff;
      border-radius: 2px;
      border: 1px solid #000;
      padding: 0.375rem 0.5rem;
      min-height: 2rem;
      height: 2rem;
}

.checklist li {
	list-style: none;
	padding-left: 0.5rem;
	margin-bottom: 0.25rem;
}

.checklist input {
	margin-right: 0.25rem;
}

.formButton {
    display: block;
    margin: 10px auto; /* 10px vertical margin, auto horizontal margin */
}

.backButton {
    background-color: chocolate
}

.ignore-layout {
    position: absolute;
    top: 0;
    left: 15px;
}

/* #landingPage {
    display: block;
}

#formCreate, #formRetrieve {
    display: none;
} */

/* DataTable Styling */

#inningsTable_wrapper .dataTables_paginate {
    float: right;
}

#inningsTable_wrapper .dataTables_info {
    float: left;
}

#inningsTable_wrapper .dataTables_filter {
    float: right;
}

#inningsTable tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

#inningsTable tbody tr:hover {
    background-color: #ddd;
}

/* End DataTable Styling */

/* Table Styling */

#inningsTable tbody > tr:first-child td, #inningsTable tbody > tr:first-child th {
    font-weight: bold;
    background: #d1ecf1;
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}
table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}
table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}
table tr {
    border: 1px solid #ddd;
    padding: .35em;
}
table tr:nth-child(even) {
    background: #f8f8f8;
}
table th, table td {
    padding: .625em;
    text-align: left;
}
table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.table-overflow {
    height: 500px;
    overflow-x: hidden;
    overflow-y: scroll;
}

/* End Table Styling */