.Clickable {
    display: inline-block;
    cursor: pointer;
}
.Clickable:hover, .Clickable:focus {
    color: #0000FF;
}
.Blue {
    color: blue;
}
.Parenthetical {
    font-size: 75%;
    position: relative;
    bottom: .2em;
}
.AmPm {
    font-size: 70%;
    position: relative;
    bottom: .6em;
}

.divCentered {
    display:inline-block;
    margin:0 auto;
}
.DeadCenter {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%,-50%);
}
.TopCenter {
    position: absolute;
    top: 10%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%);
}
.ButtonLike {
    display:inline-block;
    font-size: 120%;
    font-weight: bold;
    border-radius: 1em;
    border: 1px solid black;
    cursor: pointer;
    background-color: white;
    padding: 8px;
}
.SmallButton {
    display:inline-block;
    font-weight: bold;
    border-radius: 1em;
    border: 1px solid black;
    cursor: pointer;
    background-color: white;
    padding:.3em;
    margin-left: 1em;
}
.ModestButton {
    display:inline-block;
    font-weight: bold;
    border-radius: 1em;
    border: 1px solid black;
    cursor: pointer;
    background-color: white;
    padding:.2em .5em;
    box-shadow: 3px 4px 2px rgba(0,0,0,0.2);
}
.LargeButton {
    display: inline-block;
    text-align: center;
    font-weight: bold;
    border-radius: 1em;
    border: 1px solid black;
    cursor: pointer;
    background-color: white;
    margin-top: 0.7em;
    padding: 8px;
    font-size: 1.2vw;
    color: #404080;
    box-shadow: 8px 8px 6px rgba(0, 0, 0, 0.3);
}
.OverlayButton {
    display:inline-block; position:absolute; padding:.2em .4em;
    font-size:70%; color:blue; font-family:sans-serif; font-weight:bold;
    background-color: white;
    text-align: center;
    border-radius: 1em;
    border: 1px solid black;
    box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.OverlayButton:hover {
    background-color:#ffffc0;
}
.LargeCheckbox {
    transform: scale(1.5);
    margin-right: 0.8em;
    position: relative;
    top:0;
}
.PopupMessage {
    display:block;
    z-index:4101;
    border:2px solid black;
    border-radius: 1em;
    font-size: 1.7vw;
    padding: 4px 8px;
    font-family:sans-serif;
    text-align: center;
    color:black;
    background-color:white;
    box-shadow: 14px 14px 12px rgba(0,0,0, 0.5);
}

.PopupMessageX {
    position:absolute;
    top: -.5em;
    right: -.6em;
    background: rgba(255,255,255,1.0);
    border: 2px solid black;
    border-radius: 1em;
    font-family: sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24pt;
    cursor: pointer;
    padding: 0;
}

.PopupMessageHeading {
    font-size:150%;
    font-weight:bold;
    border-radius: 1em 1em 0 0;
    padding: 4px 0;
    background-color:#f0f0f0;
}

.PopupMessageTable {
    table-layout:fixed;
    border-collapse: collapse;
    border: 1px solid black;
}
.PopupMessageTable th {
    position: relative;
    border: 1px solid;
    font-size: 100%;
    font-weight: bold;
    line-height: 1.0;
    padding:4px .4em;
    background-color: #f0f0f0;
}
.PopupMessageTable td {
    border: 1px solid;
    padding:4px .4em;
}

.popup-prompt {
    display: none;
    position: fixed;
    z-index: 2001;
    width: 512px;
    color: black;
    background: white;
    padding: 0px;
    border: 1px solid #999;
    box-shadow: 14px 14px 12px rgba(0,0,0, 0.5);
    border-radius: 12px;
}

.popup-prompt h1 {
    padding: 8px;
    margin: 0;
    font-size: 16pt;
    background: #ddd;
}
.popup-close {
    text-decoration: none;
    float: right;
}

.popupInputFieldContainer {
    z-index: 7101;
    background-color: white;
    position: fixed;
    box-shadow: 3px 4px 3px 2px rgba(0,0,0, 0.3), 0 0 2px 2px rgba(0,0,0, 0.2);
}
.popupInputField {
    font-size: 1.3vw;
    width: 40vw;
    background-color: #ffffe8;
}

.sortColumn {
    color: #202080;
    border: none;
    cursor: pointer;
}
.sortColumn:hover, .menuPhrase:focus {
    color: #4040ff;
}

#window-shadow-mask {
    padding: 0; border: 0; margin: 0;
    position: fixed; left: 0; top: 0;
    z-index: 999;
    background-color: white;
    display: none;
}
.line-with-text {
    display: flex;
    align-items: center; /* Vertically centers the text within the line */
    text-align: center; /* Horizontally centers the text if it wraps */
    margin: .5em 0; /* Add some spacing above and below */
}

.line-with-text span {
    background-color: white; /* Or your page's background color */
    padding: 0 1ch; /* Adds space around the text */
    position: relative; /* Allows z-indexing if needed */
    z-index: 1; /* Ensures text is above the lines */
}

.line-with-text::before, .line-with-text::after {
    content: ""; /* Required for pseudo-elements */
    flex: 1; /* Makes the lines take up available space */
    border-bottom: 1px solid #888; /* Style for the horizontal line */
    margin: auto; /* Vertically centers the line within the flex container */
}
