:root {
    /* Theme palette */
    --color-bg:       #000000; /* black */
    --color-text:     #ffffff; /* white */
    --color-accent:   #000000; /* black */
    --color-error:    #ff0000; /* red */
}

media="only screen and (max-width: 600px)" {
   #centerbody, .buttonbar {
        width: 80%;
        min-width: 320px;
    }
}

p {
    color: rgba(255,255,255,0.8);
}

.btn-icon::before {
    color: white;
}

.details-table tr td:first-child {
  color: #AAAAAA;
}
.details-table tr td:nth-child(2) {
  color: #666666;
}

.menubutton {
    color: rgba(255,255,255,0.8);
}

#header {
    width: 100%
}

html {
    background-color: black;
    background-image: linear-gradient(to right, rgba(0,0,0,.6), rgba(0,0,0,.6)),url("https://jarofdirt.info/pwm/public/resources/jarofdirt_m.png"),linear-gradient(90deg, rgb(0, 0, 0) 0.00%,rgb(0, 0, 0) 100.00%);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center bottom, center bottom, center bottom;
    background-attachment: fixed, fixed, fixed;
    background-size: cover;
    align-items: center;
    justify-content: center;
}

body,
#wrapper {
    color: var(--color-text);
    margin: 0;
    font-family: sans-serif;
}

.inputfield {
    width: 300px;
    padding: 8px;
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 2px solid var(--color-accent);
    border-radius: 4px;
}

button,
input[type="submit"],
.buttonbar button {
    background-color: var(--color-accent);
    color: var(--color-text);
    border: none;
    padding: 8px 16px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}

button:hover,
input[type="submit"]:hover,
.buttonbar button:hover {
    opacity: 0.8;
}

a,
a:visited {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#error,
.error,
.error-message {
    background-color: var(--color-error);
    color: var(--color-text);
    padding: 8px;
    border-radius: 4px;
    margin: 8px 0;
}

/* main layout */
#wrapper {
    width: 100%;
    min-height: 80%;
    height: auto !important;
    height: 100%;
}

#header-menu, #header-button, #header-page, #header-title, .pwm-icon-home, .pwm-icon-sign-out {
	color: rgba(255,255,255,0.8);
}

.header-button {
	background-color: rgb(41,41,41);
}

#header-page {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

#header-title {
  font-size: 18px;
  font-weight: 600;
}

#header-company-logo {
   display: none;
}

#header,
#centerbody,
.buttonbar {
    width: 100%;
    min-width: 370px;
}

#centerbody.tile-centerbody {
    padding: 0px;
    padding-top: 25px;
    gap: 10px;
    width: 100%;
    min-width: 370px;
    align-items: center;
    justify-content: center;
    margin-right: 0px;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
}

#centerbody.wide.tall {
   margin-left: auto;
   margin-right: auto;
   width: 85%;
   position: relative;
   top: 20px;
    
}


.tile {
    transition: box-shadow 0.3s, background-color 2.5s;
    background-color: rgba(32,32,32,1);
}

.tile-title {
    color: rgb(255,255,255);
}

.tile:hover {
    border: 1px solid #FFFFFF;
    box-shadow: 0 0 0 0 white, 0 0 0 0 white, 9px 0 12px -4px #FFFFFF, -9px 0 12px -4px #FFFFFF;
    background-color: rgba(15, 15, 15, 1);
}

.tile-image::before {
    color: white;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.tile:hover .tile-image::before {
    text-shadow: 0 0 8px white, 0 0 12px white;
    color: white;
}

.ias-styles-root h3 {
    color: #FFFFFF;
    font-weight: 600;
}

.ias-styles-root .ias-tile {
    background-color: rgb(52,52,52);
    border: 1px solid transparent;
    border-radius: 6px;
    color: #AAAAAA;
}