/*@font-face {
    font-family: "TitlingGothic";
    src: url('TitlingGothic.cache.woff');
    font-style: normal;
    font-weight: 400
}

@font-face {
    font-family: "TitlingGothic";
    src: url('TitlingGothicFBCompStandard.cache.woff');;
    font-style: normal;
    font-weight: 700
}*/

@font-face {
    font-family: "TitlingGothicCompressed";
    src: url('TitlingGothicFBNarrMed.cache.woff');
    font-style: normal;
    font-weight: 400
}

/* Roboto font for Mopar/Stellantis */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('RobotoCondensed.cache.woff2');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('RobotoCondensedItalic.cache.woff2')';
}

/* Prompt font - from google fonts is a web alternative to Avenir Next, but it's weights needs to be adjusted to be -100 to match Avenir Next */
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('prompt-300.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('prompt-400.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('prompt-500.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('prompt-600.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('prompt-700.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --primary: #4579fb;
    --primary-mopar: #0068B3;

    --primary-semi: rgb(220, 230, 254);       /* primary color at 20% opacity */  
    --primary-semi-mopar: clear; /* rgb(214, 228, 242) primary color at 20% opacity */
    
    --service-mopar: #377621;
}


html, body, div, p, table, tbody, tr, td, img {
	margin: 0px;
	padding: 0px;
}

body {
	overflow: hidden;
}

#wl-container, #wl-bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

#wl-container {
	font-family: Prompt, Helvetica, Arial, "Nimbus Sans L", sans-serif;
	font-size: 2.4vw;
	color: #2d2d2d;
}

body.mopar #wl-container {
	font-family: "Roboto Condensed", Prompt, "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
}



#wl-outer {
	height: 90vh;
	position: relative;
}

#wl-bg {
	overflow: hidden;
}

#wl-header {
	padding-left: 0.65em;
	padding-right: 0.65em;
	padding-bottom: 0.5em;
	display: flex;
	align-items: center;
	font-size: 1.5em;
	font-weight: 500;
	position: relative;
}

body.mopar * {
	/* mopar fonts are all bold except the "Hr Min" literals in the upper right */
	font-weight: 700 !important;
}

#wl-icon {
	display: none;
	height: 100%;
	margin-right: 0.5em;
}

#wl-title {
	flex-grow: 1;
}

#wl-banner {
	display: none;
	height: 100%;
	padding-left: 16%;
}

#wl-icon img,
#wl-banner img {
	object-fit: contain;
}

body.mopar #wl-banner {
	margin-left: 0;
}

#wl-bottom-left,
#wl-bottom-right {
	position: absolute;
	display: flex;
	bottom: 1em;
	right: 5%;
	height: 0.93em;
}
#wl-bottom-left {
	left: 18%;
	color: #565F6B;
	align-items: center;
}

#wl-bottom-left * {
	font-size: 2.0vw;
	max-height: 1.5em;
}

#wl-store-number {
	font-size: 15pt;
	margin-right: 0.5em;
	color: #ccc;
	align-self: center;
	min-width: 110px;
}

body.mopar #wl-store-number {
	display: none;
}

#wl-nci-banner {
	background-color: #eee;
	background-image: linear-gradient(#F5F5F5, #D4D4D4);
	display: flex;
	align-items: center;
	font-size: 0.3em;
	color: #6f7fb4;
	padding-left: 0.5em;
	padding-right: 0.5em;
	white-space: nowrap;
}

#wl-nci-banner * {
	font-weight: normal !important;
}

#wl-nci-banner span:first-child {
	margin-top: -1em;
}

#wl-nci-banner span:last-child {
	margin-bottom: -1em;
}

#wl-nci-banner img {
	margin-left: 0.75em;
	margin-right: 0.75em;
	height: 1.5em;
}

#wl-est-wait {
	display: block;
	flex-grow: 1;
}

#wl-wait-header {
	margin-bottom: -0.2em;
	text-align: right;
	color: #2D2F31;
}

#wl-flex-span {
	display: flex;
	justify-content: flex-end;
	color: var(--primary);
}

body.mopar #wl-flex-span {
	color: var(--primary-mopar);
}

#wl-wait-hrs,
#wl-wait-min {
	font-weight: 500;
	font-size: 1.5em;
	line-height: 1.13em;
}

#wl-hrs,
#wl-min {
	font-weight: 400;
	font-size: 0.7em;
	padding-left: 0.2em;
	padding-top: .85em;	
}

body.mopar #wl-hrs, 
body.mopar #wl-min {
	padding-top: 1em;
	font-weight: 500 !important;
}

#wl-num-custs {
	display: none;
	color: #2D2F31;
	font-size: 0.5em;
	text-align: right;
}

#wl-nci-banner {
	font-family: Prompt, Helvetica, Arial;
	border: 1px solid rgb(182,182,182);
	border-radius: 5px;
}

.table {
	height: 100%;
	width: 100%;
	border-collapse: collapse;
}

.box, .bottom.box {
	background-color: #e9e9e9;
	border: solid rgb(92,98,204) 1px;
	position: relative;
}

.list {
	box-sizing: border-box;
	height: 100%;
	width: 100%;
	
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.list .listHeader {
	position: relative;
	left: 12.7%;
	color: var(--primary);
	font-weight: 500;
	padding-bottom: 1%;
}


.list.service .listHeader {
	color: #57A355;
}

body.mopar .list.service .listHeader {
	color: var(--service-mopar);
}

.list .row {
	position: relative;
	display: flex;
	align-items: stretch;

	gap: 10px;
	
	margin-left: 12%;
	margin-right: 5%;
}

.list .row span {
	font-size: 2.4vw;
	font-weight: 500;
	
	white-space: nowrap;
}

.list span, .text {
	padding: 0.1em 0;
}

.list .row span:nth-of-type(1) { /* customer number */
	padding-left: 5px;
	text-align: left;
}

.list .row span:nth-of-type(2) { /* customer name */
	flex-grow: 1;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.list .row span:nth-of-type(3) { /* wait time minutes */
	padding-right: 5px;
}

.list .row.firstWaiting {
	background: var(--primary-semi);
}

body.mopar .list .row.firstWaiting {
	background: var(--primary-semi-mopar);
}

.list .row .oci {
	position: absolute;
	background: url(pin.png) no-repeat;
	background-size: 0.98em;
	width: 1.04em;
	height: 1.2em;
	left: -7%;
	top: 16%;
}

body.mopar .list .row .oci {
	width: 1.04em;
	height: 1.2em;
	top: 10%;
	background: url(pin_mopar.png) no-repeat;
	background-size: 95%;
}

#wl-logo {
	position: absolute;
	right: 1.667em;
	top: 50%;
	margin-top: -1.125em;
	height: 2.25em;
}

.icslogo {
	position: relative;
	top: 0.333em;
	height: 1em;
}

#wl-disclaimer {
	position: absolute;
	bottom: 0.3em;
	left: 0;
	right: 0;
	
	font-size: 1vw;
	color: #505973;
	text-align: center;
	letter-spacing: 0.05em;
}

#wl-error {
	position: absolute;
	font-size: 0.5em;
	color: gray;
	background: white;
	padding: 0.75em;
	bottom: 0;
	left: 0;
	z-index: 1;
	max-width: 60%;
}
