/*  Green #008163
	Orange #F4811F
	Red #EE2526
	Background #1E1E1E*/    
    
@font-face {
    font-family: "DOS";
    src: url("./assets/dos-webfont.woff2") format("woff2");
}

/* DMP installation sheet */

.form.dmp-install-form {
    --dmp-border: 1px solid black;
}

/* Layout */

.form.dmp-install-form .dmp-row {
    display: flex;
    margin-left: var(--print-margin);
    margin-top: 0;
    gap: 0px;
}

.form.dmp-install-form .dmp-cell {
    height: var(--panel-install-height);
    display: flex;
    align-items: center;
}

.form.dmp-install-form .dmp-bordered {
    border: var(--dmp-border);
    margin-left: 0;
}

.form.dmp-install-form .dmp-note-column {
    flex: 1;
    font-size: 8px;
}

.form.dmp-install-form .dmp-side-borders {
    border-left: var(--dmp-border);
    border-right: var(--dmp-border);
}

.form.dmp-install-form .dmp-center {
    justify-content: center;
}

.form.dmp-install-form .dmp-shaded {
    background-color: var(--dmp-background);
}

.form.dmp-install-form .dmp-align-left {
    justify-content: left;
}

.form.dmp-install-form .dmp-align-bottom {
    align-items: flex-end;
}

.form.dmp-install-form .dmp-align-start {
    justify-content: start;
}

.form.dmp-install-form .dmp-display-flex,
.form.dmp-install-form .dmp-display-flex-tight {
    display: flex;
}

/* Typography */

.form.dmp-install-form .dmp-text-12 {
    font-size: 12px;
}

.form.dmp-install-form .dmp-text-10 {
    font-size: 10px;
}

.form.dmp-install-form .dmp-section-heading {
    font-weight: bold;
    text-decoration: underline;
}

.form.dmp-install-form .dmp-text-center {
    text-align: center;
}

/* Widths */

.form.dmp-install-form .dmp-width-small { width: var(--panel-install-space); }
.form.dmp-install-form .dmp-width-zone { width: var(--panel-install-width); }
.form.dmp-install-form .dmp-width-calendar { width: var(--dmp-calander-width); }
.form.dmp-install-form .dmp-width-initials { width: var(--panel-install-initials); }

.form.dmp-install-form .dmp-width-zone-name { width: 205px; }
.form.dmp-install-form .dmp-width-wide { width: 200px; }
.form.dmp-install-form .dmp-width-network { width: 170px; }
.form.dmp-install-form .dmp-width-spacer { width: 35px; }
.form.dmp-install-form .dmp-width-tracking { width: 138px; }
.form.dmp-install-form .dmp-width-notes { width: 380px; }

.form.dmp-install-form .dmp-width-contact-label { width: 145px; }
.form.dmp-install-form .dmp-width-contact-field { width: 245px; }
.form.dmp-install-form .dmp-width-address-label { width: 128px; }
.form.dmp-install-form .dmp-width-address-line { width: 400px; }
.form.dmp-install-form .dmp-width-store-number { width: 72px; }
.form.dmp-install-form .dmp-width-phone-label { width: 147px; }
.form.dmp-install-form .dmp-width-panel-type { width: 256px; }

.form.dmp-install-form .dmp-width-calendar-offset { width: 280px; }
.form.dmp-install-form .dmp-width-offset-40 { width: 40px; }
.form.dmp-install-form .dmp-width-offset-42 { width: 42px; }

/* Borders */

.form.dmp-install-form .dmp-border-all {
    border: var(--dmp-border);
}

.form.dmp-install-form .dmp-border-bottom {
    border-bottom: var(--dmp-border);
}

.form.dmp-install-form .dmp-border-top {
    border-top: var(--dmp-border);
}

.form.dmp-install-form .dmp-border-bottom-current {
    border-bottom: 1px solid;
}

/* Spacing and dimensions */

.form.dmp-install-form .dmp-height-row {
    height: var(--panel-install-height);
}

.form.dmp-install-form .dmp-margin-zero {
    margin-left: 0;
}

.form.dmp-install-form .dmp-margin-right-zero {
    margin-right: 0;
}

.form.dmp-install-form .dmp-pad-2 {
    padding-left: 2px;
}

.form.dmp-install-form .dmp-pad-default {
    padding-left: var(--panel-install-left-pad);
}

.form.dmp-install-form .dmp-pad-all {
    padding: 2px 2px 2px 2px;
}

.form.dmp-install-form .dmp-pad-header {
    padding: 2px 132px 2px 2px;
}

.form.dmp-install-form .dmp-gap-wide {
    gap: 70px;
}

.form.dmp-install-form .dmp-margin-print {
    margin: var(--print-margin);
}

/* Keep this after dmp-margin-print */
.form.dmp-install-form .dmp-margin-bottom-zero {
    margin-bottom: 0;
}


label {
    user-select: none;
}

table {
    border-collapse: collapse;
    width: fit-content;
    font-size: 20px;
}

th, td {
    border: var(--border);
    padding: 6px;
}

th {
    background-color: var(--green);
}

tr:nth-of-type(even) {
    background-color: var(--gradient);
}

tr:nth-of-type(odd) {
    background-color: var(--nav-back);
}

.lbox-title {
    display: flex;
    align-items: center;
    height: 32px;
    padding-right: 10px;
    font-size: 14px;
    width: 130px;
    flex-shrink: 0;
    justify-content: flex-end;
    user-select: none;
}

.lsrow {
    display: flex;
    align-items: center;
    height: 32px;
}

.lstop {
    background-color: var(--white);
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    border-radius: 6px 6px 0 0;
}

.lsite,
.lstate {
    color: var(--black);
    transform: translateY(24px);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lbox,
.lsrow {
    margin-bottom: 0;
}

.lbox{
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: var(--border) #888;
    border-radius: 3px;
    height: 32px;
    width: 200px;
    padding-left: 6px;
    box-shadow: inset 2px 2px 0 #bbb;
    font-size: 14px;
    user-select: none;
    transition: all var(--transition-fast);
}

.lbox:not(.dead):hover {
    background-color: #D1D2EE;
    border-color: #4F52BD;
    box-shadow: inset 2px 2px 0 #BEC0D9;
}

.dead {
    background-color: var(--dmp-background);
    border-color: #bbb;
    cursor: not-allowed;
}

.lst-pie {
  background: conic-gradient(
    blue 0% 5.56%,
    lightblue 5.56% 11.12%,
    red 11.12% 16.68%,
    green 16.68% 22.24%,
    navy 22.24% 27.8%,
    #927465 27.8% 33.36%,
    #984984 33.36% 38.92%,
    #846168 38.92% 44.48%,
    #125479 44.48% 50.04%,
    #334489 50.04% 55.6%,
    #449531 55.6% 61.16%,
    #774891 61.16% 66.72%,
    #77aa66 66.72% 72.28%,
    #bb8ac7 72.28% 77.84%,
    #ad87e4 77.84% 83.4%,
    #da9744 83.4% 88.96%,
    #ad458b 88.96% 94.52%,
    #11aa99 94.52% 100%

    );
  width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 110px;
  transform: translateY(32px);
}


    /*LSTs*/
.blocks {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 15px;
}

.boxes {
    display: flex;
    flex-direction: column;
    flex: 1;
    border: var(--border) var(--note-border-color);
    border-radius: var(--radius);
    background-color: var(--white);
    color: var(--black);
    height: 250px;
}

.boxes-header {
    box-sizing: border-box;
    padding: 8px;
    text-align: left;
    font-weight: normal;
    font-size: 14px;
}

.boxes-content {
    display: flex; 
    flex: 1;
    font-size: 74px;
    font-weight: bold;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.lst-table-header {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    align-self: flex-start;
    font-size: 14px;
}

.lst-table-items {
    font-size: 14px;
    font-weight: normal;
    color: var(--win10border);
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: center;
    font-size: 14px;
    height: 48px;
    user-select: none;
}

.lst-table-search {
    display: flex;
    justify-content: space-evenly;
    flex: 1;
    flex-direction: row;
    color: black;
    font-size: 14px;
}

.lstnav {
    font-weight: normal;
    background-color: transparent;
    padding: 8px 12px 8px 12px;
    border-radius: var(--radius);
    user-select: none;
}

.lstnav:hover {
    background-color: var(--dmp-background-light);
}

.lstnav:focus {
    background-color: var(--dmp-background);
}

.lst-table-items:hover {
    background-color: var(--dmp-background);
    border-radius: var(--radius-sm);
    font-weight: bold;
    cursor: pointer;
}

.dark {
    background-color: var(--dmp-background-light);
}

.boxes-footer {
    font-size: 14px;
    padding: 8px;
    border-top: var(--border) var(--note-border-color);
    background-color: var(--dmp-background-light);
    border-radius: 0 0 var(--radius) var(--radius);
}

/* Keep table rows together at the top */
.boxes-content:has(.lst-table-header),
.boxes-content:has(.lst-table-items) {
    flex: 0 0 auto;
}

/* Keep footers at the bottom */
.boxes-footer {
    margin-top: auto;
}
    /*Nav Stuff*/
nav {
    box-sizing: border-box;
    position: relative;
	background-color: var(--nav-back);
	padding-left: 24px;
	padding-right: 24px;
	padding-top: 24px;
    margin-bottom: var(--indent-one);
	color: var(--text-color);
	font-weight: bold;
	text-align: center;
    width: auto;
    margin-inline: -30px;
    padding-inline: 54px;
}

nav hr {
    margin-bottom: 0;
}

nav a {
    padding: var(--nav-pad);
}

nav a:not(.home-icon):not(.search-result),
nav a:visited:not(.home-icon):not(.search-result),
nav a:active:not(.home-icon):not(.search-result) {
    display: inline-block;
    padding: var(--nav-pad);

    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);

    transition: 
        color var(--transition-fast),
        background-color var(--transition-fast),
        text-shadow var(--transition-fast);
}

nav a:not(.home-icon):not(.search-result):hover {
    color: #fff;
    background: rgba(0, 129, 99, 0.25);
    text-decoration: none;
    box-shadow: inset 2px 2px 0 rgb(0, 20, 15);
    border-radius: var(--radius-sm);
    text-shadow: 2px 2px rgb(0, 20, 15);
}

.nav-icon {
    height: 24px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
    transition: opacity var(--transition-fast);
}

.nav-icon:hover {
    opacity: 0.7;
}

.print-button {
    position: absolute;
    left: 24px;
    top: 10px;
    width: var(--print-button-size);
    height: var(--print-button-size);
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    border-radius: var(--radius);
    font-size: 24px;
    box-sizing: border-box;
}

.print-button:hover {
    cursor: pointer;
    border-color: var(--print-hover-col);
    color: var(--print-hover-col);
    border-width: 2px;
}

.print-button:hover .print-icon {
    display: block;
}

.print-button:active {
    border-color: var(--green);
    color: var(--orange);
}

    /*Primary Content*/
textarea {
    resize: none;
    overflow: hidden;
    border: none;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background: #f4fdff;
    padding: 0;
    margin: 0;
    text-align: center;
    outline: 1px solid;
    outline-color: transparent;
    border-radius: var(--radius-sm);
    transition: all 0.5s ease;
}

textarea:focus {
    outline: 1px solid;
    outline-color: var(--green);
}

main {
	flex: 1;
}

html, body {
    margin: 0;
    min-height: 100%;
    height: auto;
}

html {
	width: 100%;      /* allows it to shrink if space is small */
	text-align: left;
	font-family: Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--background-color);
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-inline: 30px;
    box-sizing: border-box;
    min-width: 0;

}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #000;
    background-image: 
        linear-gradient(rgba(23, 25, 28, 0.80), rgba(23, 25, 28, 0.80)),
        url("bg2d.svg");
    background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
    color: var(--text-color);
}

code,
.code {
    background-color: var(--nav-back);
    font-family: "DOS";
    border: var(--border) var(--rcvr-button-dark);
    border-radius: var(--radius-sm);
    padding: 2px 3px;
    font-size: 14px;
    white-space: nowrap;
}

    /*Headers*/
h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
    border-bottom: var(--border) var(--text-color);
    border-radius: var(--radius) 0px 0px 0px;
    padding-bottom: 2px;
    width: 300px;
    text-indent: var(--indent-one);
    background-image: linear-gradient(to right, var(--gradient), var(--background-color));
}

.lihead {
    font-size: 18px;
    font-weight: bold;
    list-style-type: none;
    margin-top: 6px;
    margin-left: -12px;
    padding-left: 3px;
    background-image: linear-gradient(to right, var(--gradient), var(--background-color));
    border-left: var(--border) white;
}

.emerghead {
    font-size: 20px;
    border-bottom: var(--border) var(--text-color);
    border-radius: var(--radius) var(--radius) 0px 0px;
    padding-bottom: 2px;
    width: 311px;
    text-indent: var(--indent-one);
    background-image: linear-gradient(to right, var(--gradient), var(--red));
}

.nethead {
    font-size: 20px;
    border-bottom: var(--border) var(--text-color);
    border-radius: var(--radius) var(--radius) 0px 0px;
    padding-bottom: 2px;
    width: 311px;
    text-indent: var(--indent-one);
    background-image: linear-gradient(to right, var(--gradient), var(--orange));
}

.guidehead {
    font-size: 20px;
    border-bottom: var(--border) var(--text-color);
    border-radius: var(--radius) var(--radius) 0px 0px;
    padding-bottom: 2px;
    width: 311px;
    text-indent: var(--indent-one);
    background-image: linear-gradient(to right, var(--gradient), var(--green));
}

.formhead {
    width: 311px;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ea, .ba, .na, .ua, .pa, .ig, .g, .f {
    animation: fade-in var(--fade-in-time) ease both;
}

.ea {animation-delay: 0s;}
.ba {animation-delay: calc(calc(var(--fade-in-time) / 2) * 0.5);}
.na {animation-delay: calc(calc(var(--fade-in-time) / 2) * 1);}
.ua {animation-delay: calc(calc(var(--fade-in-time) / 2) * 1.5);}
.pa {animation-delay: calc(calc(var(--fade-in-time) / 2) * 2);}
.ig {animation-delay: calc(calc(var(--fade-in-time) / 2) * 2.5);}
.g {animation-delay: calc(calc(var(--fade-in-time) / 2) * 3);}
.f {animation-delay: calc(calc(var(--fade-in-time) / 2) * 3.5);}

h3:not(.note h3, .urgent-note h3),
.h3:not(.note h3, .urgent-note h3) {
    font-size: 18px;
    text-indent: var(--indent-one);
}

h4 {
    font-size: 20px;
    border-bottom: var(--border);
    border-radius: var(--radius) 0 0 0;
    width: 200px;
    background-image: linear-gradient(
        var(--background-color) 0%,
        var(--gradient) 100%
    );
}

h1,
h2,
.h3,
h3,
h4 {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 8px 0px;
}

.subhead {
    margin-bottom: 0;
}

.date-box {
    box-sizing: border-box;
    align-self: flex-end;
    padding: 4px 8px 4px 8px;
    display: inline-block;
    width: fit-content;
    text-align: right;
    font-size: 24px;
    margin-top: 0px;
    border-bottom: 2px solid var(--text-color);
    border-radius: 0 var(--radius) 0 0;
    background-image: linear-gradient(to left, var(--gradient), var(--background-color))
}

/* Locks the space on the page so nothing jumps when clicked */
.zoom-container {
  align-self: flex-end;
  display: block;
  width: auto;
  height: 100px; /* Adjust to match your image's height */
  margin-top: -90px;
}

.zoom-container input[type="checkbox"] {
  display: none;
}

.zoom-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.zoom-container input[type="checkbox"]:checked ~ img {
  position: fixed;
  top: 50vh;
  left: 50vw;
  width: 360px;
  height: auto;
  /* Restores the zoom effect while keeping it centered */
  transform: translate(-50%, -50%) scale(2.2);
  cursor: zoom-out;
  z-index: 999;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.8);
}

    /*Interactives*/
a {
    text-decoration: none;
    color: var(--orange);
    font-weight: bold;
}

a:not(.home-icon, nav a):hover {
    border-bottom: var(--border) var(--green);
    padding-bottom: 1px;
}

    /*Content Specific*/
.indent {
    text-indent: var(--indent-one);
}

.extra-indent {
    padding-left: var(--indent-two);
    display: block;
}

/* Side Navigation */

.sidenav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    width: 200px;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(8px);
    transition:
        transform 0.5s ease;
    border-right: 2px dotted;
    border-image: linear-gradient(to bottom, transparent, white, transparent) 1;
    z-index: 10;
}

.sidenav:not(:hover) {
    transform: translateX(calc(clamp(15px, 2vw, 75px) - 100%));
}

.sidenav:not(:hover) > * {
    opacity: 0;
}

.sidenav > * {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.sidenav li {
    list-style-type: none;
    padding-left: 0px;
    margin-left: -12px;
    transition: padding 0.2s ease;
    border-radius: var(--radius-sm);
    white-space: pre-wrap;
}

.sidenav li > a {
    display: block;
}

.sidenav li:hover > a {
    color: white;
    text-decoration: none;
    border: none;
    padding-bottom: 0px;
}

.sidenav li:hover {
    background-color: var(--orange);
    text-decoration: none;
    padding-left: 6px;
}

.sidenav > h3 {
    border-bottom: 1px dashed white;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 8px;
}

/* Print */

@media print {
    .sidenav {
        display: none;
    }
}

.listhead {
    font-weight: bold;
    font-size: 20px;
    list-style-type: none;
    margin-bottom: 12px;
    margin-left: -16px;
}

.alarm1, .alarm2, .alarm3, .alarm4 {
    display: flex;
    margin-top: 12px;
    border-left: 1px solid var(--text-color);
    padding-left: 2px;
    height: 32px;
    align-items: center;
    border-radius: 0px var(--radius-sm) var(--radius-sm) 0px;
}

.alarm1 {
    background-image:
        linear-gradient(
            to left,
            var(--green) 0%,
            var(--background-color) 100%
        );
}

.alarm2 {
    background-image:
        linear-gradient(
            to left,
            var(--orange) 0%,
            var(--background-color) 100%
        );
}

.alarm3 {
    background-image:
        linear-gradient(
            to left,
            var(--red) 0%,
            var(--background-color) 100%
        );
}

.alarm4 {
    background-image:
        linear-gradient(
            to left,
            var(--dmpblue) 0%,
            var(--background-color) 100%
        );
}

p {
    padding-left: var(--indent-two);
}

.important-note {
    font-weight: bold !important;
    font-size: 18px;
}

.note,
.urgent-note {
    text-align: center;
    box-sizing: border-box;
    max-width: 70%;
    margin: 8px auto;
    border: var(--border);
    border-left: 4px solid;
    border-radius: var(--radius);
    flex: 0 1 600px;
    background-image: linear-gradient(to right, var(--background-color), var(--gradient));
    overflow: hidden;
}

.note p,
.urgent-note p {
    box-sizing: border-box;
    width: calc(100% - 30px);
    margin-inline: auto;
    padding: 0;
}

.h3 {
    font-weight: bold;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.note h3,
.urgent-note h3 {
    border-bottom: var(--border);
    padding-inline: 15px;
    box-sizing: border-box;
    min-height: 38px;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	margin: 0;
    background: rgba(0,0,0,0.14) !important;
}

.note,
.note h3 {
    border-color: var(--note-border-color);
}

.urgent-note,
.urgent-note h3 {
    flex-basis: 300px;
    background:
        linear-gradient(135deg, #252326 0%, #352426 60%, #41272a 100%);
    border-color: #684044;
    border-left-color: #b64a4c;
}

.note ul {
    text-align: left;
}

ul,
ol {
    margin-top: 0;
    box-sizing: border-box;
    width: calc(100% - 30px);
}

li {
    line-height: 1.6;
    margin: 0px 0px 0px 0px;
}

.restore {
    font-weight: bold;
    text-indent: var(--indent-three);
    color: #999;
    margin-bottom: 4px;
}
        /*SOCs Style*/
.form {
    width: 215.9mm;
    height: 279.4mm;
    box-sizing: border-box;
    margin: 0 auto;
    background: var(--white);
    color: var(--black);
    page: form;
    font-size: 14px;
}

@page landscape {
    size: letter landscape;
    margin: 0;
}

.formland {
    height: 215.9mm;
    width: 279.4mm;
    box-sizing: border-box;
    margin: 0 auto;
    background: var(--white);
    color: var(--black);
    page: form;
    font-size: 14px;
    page: landscape;
}

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

.trblbox > div {
    align-items: center;
}

.trblbox > div, 
.trblbox > div > div {
    display: flex;
    min-height: 20px;
    font-size: 10px;
    min-width: 123px;
    text-align: center;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.trblbox > div > div {
    border: var(--border) var(--black);
    align-self: flex-start;
}

.trbltitle {
    background-color: #7fd17f;
    font-weight: bold;
}

.trbltitle2 {
    background-color: #ebaa5f;
    font-weight: bold;
}

.form > div > div {
    box-sizing: border-box;
}

        /*Receiver Button*/

.win10butt {
    display: inline-block;
    box-sizing: border-box;
    padding: 0px 48px 0px 48px;
    border: 1px solid black;
    border-radius: 2px;
    background-color: white;
    transition: background-color var(--transition-fast);
    color: var(--black);
    user-select: none;
    transform: scale(0.8);
}

.win10butt:hover {
    background-color: #d7edff;
    border-color: var(--win10border);
}

.win10butt:active {
    background-color: var(--win10butt);
}

.rcvrbutton {
    display: inline-block;
    box-sizing: border-box;
    background-color: var(--dmp-background);
    color: var(--background-color);
    padding: 0px 48px 0px 48px;
    border-top: 2px solid var(--rcvr-button-light);
    border-left: 2px solid var(--rcvr-button-light);
    border-right: 2px solid var(--rcvr-button-dark);
    border-bottom: 2px solid var(--rcvr-button-dark);
    user-select: none;
    transform: scale(0.8);
}

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

.rcvrbutton:active .button-click {
    transform: translate(2px, 2px);
}

.rcvrbutton:active {
    border-right: 2px solid var(--rcvr-button-light);
    border-bottom: 2px solid var(--rcvr-button-light);
    border-top: 2px solid var(--rcvr-button-dark);
    border-left: 2px solid var(--rcvr-button-dark);
}

        /*DMP Button*/
.dmpbutton {
	background-color: #33738E;
	padding: 7px;
	border-radius: 2px;
	color: #FFF;
	font-size: 12px;
	transition: background-color 0.4s ease;
}

.dmpbutton:hover {
	background-color: #183743;
	cursor: pointer;
}

		/*Search Bar Styles*/
.nav-search {
	position: absolute;
	right: 24px;
    top: 21px;
}

.nav-search input {
	padding: 4px 8px;
	border-radius: 4px;
	outline: 1px solid #555;
	transition: outline 0.3s ease;
}

.nav-search input:focus {
    box-sizing: border-box;
	outline: 2px solid var(--green);
}

#searchResults {
	display: none;
	position: absolute;

	top: 100%;
	right: 0;

	width: 300px;

	background-color: var(--nav-back);

	border: 1px solid #555;
	border-radius: 4px;

	z-index: 1000;
}

.search-result {
	display: flex;

	color: var(--white);
	text-align: left;
    align-items: center;
	transition:
		background-color 0.3s ease,
		font-size 0.3s ease,
		text-shadow 0.3s ease;
	text-decoration: none;
	text-shadow: none;
    min-height: 54px;
}

.search-result:hover,
.search-result:active,
.search-result:visited {
	background-image: linear-gradient(
		90deg,
		var(--green) 0%,
		var(--nav-back) 100%);
	border-radius: 4px;
	border: 0;
	color: var(--text-color);
	text-shadow: 0 0 4px var(--text-color);
	font-size: 17px;
}

.search-result:active {
	font-size: 17px;
}

    /*Columns*/
.columns {
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	gap: 30px;
	align-items: flex-start;
}

/*.columns2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}*/

.grid{
    display: grid;
    /*grid-template-columns: repeat(center, minmax(250px, 1fr));*/
    margin-bottom: 0px;
	padding-bottom: 0px;
}

    /*Footer*/
footer {
    position: static;
    margin-top: auto;
    height: 48px;
    box-sizing: border-box;
    width: 100vw;
    text-align: right;
    padding: 8px 30px;
    margin-left: calc(50% - 50vw);
    background-color: var(--nav-back);
    z-index: 11;
}

		/*B930 Keys*/
.key {
	height: 15px;

	display: flex;
	align-items: center;
	justify-content: center;

	background-color: #E1E1DF;
	color: #4E4D4B;

	border: 0px solid #595A55;

	font-size: 10px;
	font-weight: bold;
}

.key:active {
	background-color:#AAA;
}

.softkey {
	background-color: #000;
	color: #444;
	font-size: 6px;
	text-align: center;
	padding: 2px 0;
}

.screen-area {
	display:grid;
	grid-template-columns: 18px 125px 18px;
	gap: 4px;

	width: fit-content;
	margin: 0 auto;
}

.screen-buttons {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 1px;
	padding-top: 12px;
}

.sidekey {
	width: 18px;
	height: 11px;
	background-color: #595A55;
}

.screen-buttons.left .sidekey {
	clip-path: polygon(
		0 15%,
		65% 15%,
		100% 50%,
		65% 85%,
		0 85%
	);
}

.screen-buttons.right .sidekey {
	clip-path: polygon(
		100% 15%,
		35% 15%,
		0 50%,
		35% 85%,
		100% 85%
	);
}

.keypad-section {
	position: relative;
}

.keypad-demo {
	position: absolute;
	right: 40px;
	top: 0;
}
    /*MAS Style*/
.mas-button {
    box-sizing: border-box;
    border: 2px solid #DAC4DC;
    background-image: linear-gradient(
        #F2ECF4 0%,  
        #DAC4DC 100%
    );
    border-radius: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 18px;
    font-size: 12px;
    user-select: none;
    text-align: center;
    color: var(--black);
}

.mas-button:hover {
    border-color: #333;
    box-shadow: inset 0 0 12px #000;
}

.mas-button:not(.chin-button-dead):active {
    background-image: none;
    background-color: var(--white);
    border: 2px solid transparent;
    box-shadow: inset 0 0 12px transparent;
}

	/*RPS*/


.filter-icon {
    width: 33px;
    height: 33px;
    background: linear-gradient(#6099C5, #06477A);
    position: relative;
    display: block;
}

.filter-icon::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 7px;
    width: 20px;
    height: 20px;
    background: white;
    clip-path: polygon(
        0 0,
        100% 0,
        60% 48%,
        60% 90%,
        45% 100%,
        35% 100%,
        35% 48%
    );
}


.rps {
    filter:
        drop-shadow(4px 0px 0px rgba(var(--rps-border), 1))
        drop-shadow(0px 4px 0px rgba(var(--rps-border), 1))
        drop-shadow(-4px 0px 0px rgba(var(--rps-border), 1))
        drop-shadow(0px -4px 0px rgba(var(--rps-border), 1));
    user-select: none;
}

.programming-parent {
	display: flex;
	width: fit-content;
	margin: 0 auto;
	font-size: 14px;
    user-select: none;
}

.programming {
	background-color: #F0F0F0;
	color: #946778;
	border: 1px solid #666;
	border-top: 2px solid var(--white);
	font-weight: bold;
	padding-left: 3px;
	padding-top: 0px;
	width: 76px;
	white-space: nowrap;
    user-select: none;
}

.programming-text {
	background-color: var(--white);
	color: var(--black);
	padding-left: 3px;
	padding-top: 0px;
	padding-bottom: 0px;
	width: 240px;
	border: 1px solid #eee;
    user-select: none;
}

.programming-text:hover,
.programming-code:hover
{
	background-color: #2C81C5;
	color: var(--white);
}

.programming-code {
	background-color: var(--white);
	color: var(--black);
	width: 64px;
	padding-left: 3px;
	padding-top: 0px;
	padding-bottom: 0px;
	border: 1px solid #eee;
    user-select: none;
}

        /*Work Orders*/
.wobutton {
    border-left: none;
    border-right: none;
    border-top: 2px solid var(--note-border-color);
    border-bottom: 2px solid var(--note-border-color);
    border-radius: var(--radius-sm);
	background-image: linear-gradient(
        90deg,
        var(--gradient) 0%,
        var(--background-color) 100%);
    color: var(--text-color);
    font-weight: bold;
    font-size: 18px;
    height: fit-content;
    min-height: 56px;
    transition:
        border-color var(--transition-fast),
        border-radius var(--transition-med),
        text-shadow var(--transition-med);
    cursor: pointer;
}

.wobutton:hover {
    text-shadow:
        0 0 4px rgba(var(--text-color-rgb), 0.35),
        0 0 8px rgba(var(--text-color-rgb), 0.35),
        0 0 16px rgba(var(--text-color-rgb), 0.35);

    background-image: linear-gradient(
        var(--background-color) 0%,
        #333 50%,
        var(--background-color) 100%);

    border-radius: var(--radius);
}

.wobutton:active {
    border-top: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
}

.preview {
	border-top: 2px solid;
	border-bottom: 2px solid;
	border-radius: 0px;
	padding: 6px;
	font-size: 12px;
	border-color: var(--note-border-color);
	font-weight: bold;
	background-image: linear-gradient(to right, var(--gradient), var(--background-color));
}

.workorder-list li {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 10px;
}

.workorder-list .wobutton {
	flex: 0 0 280px;
}

.workorder-list .preview {
	flex: 1;
	min-width: 0;
}

        /*Print Visuals KEEP AT END*/
@page form {
    size: letter portrait;
    margin: 0;
}

@page formland {
    size: letter landscape;
    margin: 0;
}

@page {
    size: letter portrait;
    margin: 12mm;
}

@media print {
    html,
    body,
    .page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }

    th, td, tr {
        background: transparent !important;
        color: var(--black) !important;
    }

textarea {
    background-color: white;
}

.ea, .ba, .na, .ua, .pa, .ig, .g, .f {
    animation: none;
}

.form {
    width: 215.9mm;
    height: 279.4mm;
    margin: 0;
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    padding-bottom: 0;
}

.formland {
    height: 215.9mm;
    width: 279.4mm;
    margin: 0;
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    padding-bottom: 0;
}

    .note,
    .urgent-note {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body,
    .page,
    a,
    html{
        background-color: var(--white) !important;
        background-image: none !important;
        color: var(--black) !important;
    }

    nav,
    footer,
	.keypad-section,
    .sidenav,
	.workorderselect,
    .blocks {
        display: none;
    }

    p,
    li,
    span,
    .note,
    .urgent-note {
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    code, .code {
        border: 1px solid transparent;
    }

    li {
        line-height: 1.3;
    }

    h2 {
        margin-bottom: 0px;
    }
        
}