/* Grundo's Cafe utility styles */

/* FONTS */


.xsfont {
    font-size: 0.607rem; /*8.5px*/
}

.smallfont {
    font-size: 0.714rem; /*10px*/
}

.medsmallfont {
    font-size: 0.785rem;  /*11px*/
}

.medfont {
    font-size: 0.857rem;  /*12px*/
}

.kadfont {
    font-size: 0.928rem; /*13px*/
}

.bodyfont {
    font-size: 1rem; /*14px*/
}

.largefont {
    font-size: 1.15rem; /*16x*/
}

.bigfont {
    font-size: 1.286rem; /*18px*/
}


.bigfont-important  {
    font-size: 1.286rem !important; /*18px*/
}

.xlfont {
    font-size: 1.714rem; /*24px*/
}

.xlfont-important  {
    font-size: 1.714rem !important; /*24px*/
}

.xxlfont{
    font-size: 2.14rem;
}

.xxlfont-important{
    font-size: 2.14rem !important;
}

.normal {
    font-weight: normal;
}

.bold {
    font-weight: bold;
}

.italic {
	font-style: italic;
}

.strikethru {
    text-decoration: line-through;
}

.code {
	font-family: monospace;
	background-color: #F0F0F0;
	padding: 2px;
}


/* ALIGNMENT */


.center {
	text-align: center;
}

.align-left {
	text-align: left;
}

.align-right {
	text-align: right;
}

.justify-center {
    justify-content: center;
}

.justify-left {
    justify-content: left;
}

.justify-right {
    justify-content: right;
}

.center-items {
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

.space-evenly {
    justify-content: space-evenly;
}

.align-start {
	align-items: flex-start;
}

.align-normal-important {
	align-items: normal !important;
}

.align-self-center{ 
    align-self: center;
}


/* DISPLAY */


.collapse {
	display: none;
}

.block {
	display: block;
}

.hidden {
    visibility: hidden;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear {
	clear: both;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-mobile-responsive {
    display: flex;
}

@media all and (max-width: 500px) {
    .flex-mobile-responsive {
        flex-direction: column;
    }
}

.centered-flex-column {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.flex {
    display: flex;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-2col {
    flex: 1 1 40%;
}

.small-gap {
    gap: 0.25em;
}

.medsmall-gap {
    gap: 0.37em;
}

.med-gap {
    gap: 0.5em;
}

.big-gap {
    gap: 1em;
}

.big-col-gap {
    column-gap: 1em;
}

.flex-grow {
    flex-grow: 1;
}

.flex-shrink {
    flex-shrink: 1;
}

.flex-between {
	justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.align-end {
    align-content: flex-end;
}

.align-items-end {
    align-items: flex-end;
}

.justify-items-end {
    justify-items: flex-end;
}


/* MARGIN */

.margin-1 {
    margin: 1em auto;
}

.margin-2 {
    margin: 2em auto;
}

.margin-4px{
    margin: 4px;
}

.mb-1 {
	margin-bottom: 1em;
}

.mb-2 {
	margin-bottom: 2em;
}

.mb-quarter{
	margin-bottom: 0.25em;
}

.mb-half {
	margin-bottom: 0.5em;
}

.mt-half {
	margin-top: 0.5em;
}

.mt-1 {
	margin-top: 1em;
}

.mt-2 {
	margin-top: 2em;
}

.align-right-margins {
	margin: auto;
	margin-right: 0;
}

.margin-auto {
	margin: auto;
}

.nomargin {
	margin: 0;
}

.ml-1 {
    margin-left: 1em;
}

.mr-1 {
    margin-right: 1em;
}

.banner-padding {
    padding: 4px;
}

.nopadding {
    padding: 0;
}

.quarter-pad{
   padding: .25em;
}
.p-1 {
	padding: 1em;
}

.list-inside {
    list-style-position: inside;
}

.list-no-bullet {
	list-style-type: none;
}

/* IMAGES */

.super-tiny-image{
    width: 15px;
}

.tiny-image {
    width: 30px;
}

.smol-image{
    width: 35px;
}

.bd-icon-image {
    width: 18px;
}

.home-small-image{
    width: 40px;
}

.small-image {
    width: 50px;
}

.med-image {
	width: 80px;
}

.square-med-image{
       height: 80px;
        width: 80px;
}

.hundred-image{
	width: 100px;
}

.big-image {
    width: 150px;
}

.large-image {
    width: 200px;
}

.larger-image {
	width: 250px;
}

.xl-image {
	width: 300px;
}

.xlarger-image{
	width: 400px;
}

.xxl-image {
	width: 500px;
}

.eighty-percent-width{
    width: 80%;
}

.fit-content{
    width: fit-content;
}
.bordered-table{
    border-collapse: collapse;
}

.bordered-table tr,
.bordered-table td,
.bordered-table th {
    border: 1px solid var(--color);
}

.bordered-table td,
.bordered-table th {
    border: 1px solid var(--color);
    padding: 3px;
}

.border-1 {
    border: 1px solid var(--color);
}

.table_header{
    background-color: var(--grid_head);
}
.dark-border-1 {
    border: 1px solid black;
}

.black-border-1{
    border: 1px solid black;
}

.border-top-bottom {
    border: solid var(--color);
    border-width: 1px 0;
    padding: 0.5em 0;
}

.border-top {
    border-top: 1px solid var(--color);
    padding: 0.5em 0;
}

.border-left {
    border-left: 1px solid var(--color);
    padding: 0.5em 0;
}

.border-bottom {
    border-bottom: 1px solid var(--color);
    padding: 0.5em 0;
}

.border-bottom-0{
    border-bottom: 0px solid var(--color) !important;
}

.clickable-image {
    cursor: pointer;
}

.flip {
 transform: rotateY(180deg);
}

/* INPUTS/WIDTHS */
.tiny-input {
	width: 35px;
}

.xsmall-input {
	width: 50px;
}

.small-input {
	min-width: 100px;
}

.med-input {
	min-width: 200px;
}

.big-input {
	min-width: 300px;
}

.xl-input {
	min-width: 350px;
}

.tenth-width {
    width: 10%;
}


.fifth-width {
    width: 20%;
}

.quarter-width {
    width: 25%;
}

.third-width {
    width: 33%;
}

.third-width-important {
    width: 33% !important;
}

.half-width {
    width: 50%;
}

.twothirds-width {
    width: 67%;
}

.threequarters-width {
    width: 75%;
}

.full-width {
    width: 100%;
}

.full-width-important{
    width: 100% !important;
}

.almost-full-width {
    width: 99%;
}

.ninetyfive-width{
    width: 95%;
}

.ninety-width{
    width: 90%;
}

.fourfifths-width{
   width: 80%;
}

.half-of-content {
    width: 297.5px;
}

.max-full-width {
	max-width: 100%;
}

.width-fit-content{
    width: fit-content;
}

/* COLORS */

.default-font-color{
    color: var(--color);
}

.purple {
	color: purple;
}

.blue {
    color: blue;
}

.pink {
    color: pink;
}

.gray {
    color: gray;
}

.red {
    color: red;
}

.green {
    color: green;
}

.dark-green{
    color: darkgreen;
}

.darkblue{
    color: darkblue;
}

.winterblue{
    color: #50A3C6;
}
.brown {
    color: brown;
}

.tan {
    color: tan;
}

.black {
    color: black;
}

.discord-purple {
    color:#5865F2;
}

.lavender {
    color:rgb(174, 174, 255);
}

.lightgreen {
    color: rgb(90, 193, 90);
}

.forestgreen {
    color: forestgreen;
}

.teal {
    color: teal;
}

.teal-blue {
    color: rgb(0, 165, 181);
}

.darkred {
    color: darkred;
}

.lightred{
    color: #ffcccb;
}

.hotpink-glow{
    color: hotpink;
    text-shadow: 0 0 10px #ff69b4, 0 0 20px #ff1493, 0 0 30px #ff69b4, 0 0 40px #ff1493;
}

.mahogany {
    color: #CC3300;
}

.orange {
    color: orange;
}

.darkorange {
    color: #cc5500;
}

.white {
    color: white;
}

.gold {
    color: #DE970B;
}

.silver {
    color: gray;
}

.bronze {
    color: #D2691E;
}

.chocolate {
    color: #7b3f00;
}

.raspberry {
    color: #AA336A;
}

.lightblue {
    color: lightblue;
}

.light-blue{
    color: #048b8b;
}

.light-gray {
    color: lightgray;
}

.rainbow {
    background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.magenta {
    color: #E3319D;
}


/* BACKGROUND COLORS */

.bg-grundo-purple{
   background-color: #aaabfe;
}

.bg-grundo-purple-lighter{
   background-color: #dddeff;
}

.bg-yellow {
    background-color: var(--grid_odd)  /* #ffffcc */;
}

.bg-liteyellow {
    background-color: var(--grid_even);  /* #feffeb; */
}

.bg-gold {
    background-color: var(--grid_head);  /* #dddd77; */
}

.bg-brown {
    background-color: brown;
}

.bg-purple {
    background-color: purple;
}

.bg-lavender {
    background-color: rgb(174, 174, 255);
}

.bg-green {
    background-color: green;
}

.bg-forestgreen {
    background-color: forestgreen;
}

.bg-lightteal {
    background-color: rgb(107, 193, 177);
}

.bg-lightgreen {
    background-color: lightgreen;
}

.bg-lightgray {
    background-color: lightgray;
}

.bg-orange {
    background-color: orange;
}

.bg-discord-purple {
    background-color:#5865F2;
}

.bg-darkred {
    background-color: darkred;
}

.bg-red {
    background-color: #FF2828;
}

.bg-medred {
    background-color: #ff7c7c;
}

.bg-litered {
    background-color: #FFCCCC;
}

.bg-silver {
    background-color: silver;
}

.bg-whitesmoke {
    background-color: whitesmoke;
}

.bg-alizarin {
    background-color: #de3839;
}

.bg-lightblue {
    background-color: lightblue;
}

.bg-salmon {
    background-color: #ee9b9c;
}

.bg-bd-dark-red{
    background-color: #8B0000;
}

.bg-bd-light-red{
    background-color: #EBBDBD;
}

.bd-white-link{
    color: #FFFFFF;
}

.bd-dark-red-link{
    color: #4D1919;
}

.bg-white{
    background-color: white;
}
/* GRID COLORS */


.bg-header,
.bg-footer {
    background-color: var(--grid_head);
}

.bg-action {
    background-color: var(--grid_select);
}

.bg-data {
    background-color: var(--grid_odd);
}

.bg-alt {
    background-color: var(--grid_even);
}


/* FORMS */

.no-style-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: normal;
    margin: 0;
    padding: 0;
    text-align: inherit;
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.unstyled-button {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.no-style-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.button-reset {
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    margin: 0;
    overflow: visible;
    padding: 0;
    width: auto;
}

.button-group {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 1em auto;
}


.larger-button-group {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 1em auto;
}

.button-group * {
    width: 100%;
}

.button-group .form-row * {
    width: auto; /* Or specify a different width as needed */
}

.button-group .form-row .third-width {
    width: 33.33%; /* Ensures .third-width retains its specific width */
}

.button-group .form-row .quarter-width {
    width: 25%; /* Ensures .third-width retains its specific width */
}

.full-button-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 1em auto;
}

.two-thirds-button-group {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 1em auto;
}

.two-thirds-button-group * {
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-row {
    width: 100%;
    display: flex;
    gap: 0.25em;
    justify-content: center;
    align-items: center;
}

.form-label {
    font-family: inherit;
    font-size: inherit;
}



.form-control:not(textarea) {
    background-color: white;
    border: 1px solid #444;
    border-radius: .2em;
    color: black;
}

.form-control {
    appearance: none;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
    line-height: 1.5em;
    min-height: 1.5em;
    padding: 0 .25em;
    margin: 0;
    transition: border-color 0.2s;
    white-space: pre-wrap;
}

.form-control:hover {
    border-color: #666; /* Darker border on hover/focus */
    outline: none; /* Remove default focus outline */
}

.form-control:focus {
    outline: none; /* Removes the default outline */
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    border: 1px solid rgba(81, 203, 238, 1);
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="submit"].submit-regular-text, input[type="button"].submit-regular-text, button.submit-regular-text {
	display: inline;
	background: none;
	border: none;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-style: inherit;
	font-size: inherit;
	font-weight: bold;
}

input[type="submit"].submit-regular-text:hover, input[type="button"].submit-regular-text:hover, button.submit-regular-text:hover {
	background: none;
	cursor: pointer;
}

.form-control:not([type="text"],[type="email"], [type="datetime-local"], [list="items"], datalist, select, textarea, [type="password"], [type="number"], [type="date"] ) {
    background-color: #eee;
}

.form-control:hover:not([type="text"],[type="email"], [type="datetime-local"], [list="items"], datalist, select, textarea, [type="password"], [type="number"], [type="date"]) {
    background-color: #ddd;
}

.form-control:active:not([type="text"], [type="email"],[type="datetime-local"], [list="items"], datalist, select, textarea, [type="password"], [type="number"], [type="date"]) {
    background-color: #ccc;
}
.form-control:disabled {
   background-color: #ddd;
   opacity: 60%;
}

.form-control[type=button]:disabled, .form-control[type=submit]:disabled{
  background-color: #ddd;
  opacity: 60%;
}

.form-help {
    color: #666;
    font-size: 0.857rem
}

.disabled-button{
   background-color: #ddd;
   opacity: 60%;
   pointer-events: none;
   cursor: not-allowed;
}

.select-wrapper {
  box-sizing: border-box;
  background-color: white;
  border: 1px solid #444;
  border-radius: 2px;
  position: relative; /* So the pseudo-element is positioned relative to this container */
  display: inline-block;
}

/* Remove native arrow styles in some browsers */
.select-wrapper > select {
  width: 100%;
  border: 0;
  background-color: #fff;
  height: auto;
  appearance: none;         /* Remove default styling */
  -webkit-appearance: none; /* For Safari and Chrome */
  -moz-appearance: none;    /* For Firefox */
    padding-right: 2rem;

}

/* Optional: Remove default focus outline or add your own style */
.select-wrapper > select:focus {
  outline: none;
}

/* The custom arrow/caret */
.select-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.5em;
  transform: translateY(-50%);
  width: 0.8em;
  height: 0.5em;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512.02 319.26'%3E%3Cpath d='M5.9 48.96L48.97 5.89c7.86-7.86 20.73-7.84 28.56 0l178.48 178.48L434.5 5.89c7.86-7.86 20.74-7.82 28.56 0l43.07 43.07c7.83 7.84 7.83 20.72 0 28.56l-192.41 192.4-.36.37-43.07 43.07c-7.83 7.82-20.7 7.86-28.56 0l-43.07-43.07-.36-.37L5.9 77.52c-7.87-7.86-7.87-20.7 0-28.56z' fill='%23444'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.center-checkbox {
    display: flex;
    align-items: center;
}

.checkbox-full-width {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.button-group-checkbox{
    width: auto;
}

.action-button{
   cursor: pointer;
}

/* grids */

.grid {
    display: grid;
}

.grid-2-cols-auto {
  grid-template-columns: auto auto; /* Each column adjusts to its content size */
    gap: 5px;
}

.grid-3-cols {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-4-cols {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-5-cols {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-3 {
    grid-column: span 3;
}

.row-span-2 {
    grid-row: span 2;
}


.hidden-form {
    display: none;
}

.snowager-color{
    color:#338BA8;
}

.rounded-edges{
    border-radius: 5px;
}

.padding-1{
    padding: .5em;
}

.padding-1-important {
    padding: .5em;
}
.padding-lr{
    padding-left: .5em;
    padding-right: .5em;
}
.no-border{
  border: 0 !important;
}

.no-format {
	all: unset;
	cursor: pointer;
}


@font-face {
    font-family: "Chiller";
    src: url("/static/games/carnivalofterror/fonts/Chiller.1afe0b45ccab.ttf")
}

.chiller {
	font-family: Chiller;
	font-size: 32px;
}

.no-search {
  opacity: 25%;
}

.display-none{
    display: none !important;
}

/* Centered Images */
.centered-image {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Positioning */
.relative {
    position: relative;
}

.multicolumn-list {
  column-count: 3;
  column-gap: 2rem;
}

/* Links */

a.red {
    color: red !important;
}

a.green {
    color: green !important;
}

/* Text wrapping */

.nobreak {
    white-space: nowrap;
}

.linebreak {
    white-space: pre-line;
}


.dd-color {
    color:#d85252;
}