/* THEME VARIABLES
 * Define all color values as CSS custom properties for easy theming
 */

:root {
  --gt-blue: #0d4d95;

  /* Primary brand colors */
  --color-primary: var(--gt-blue);
  --color-primary-dark: #0a3d75;
  --color-primary-light: #2b63a2;
  --color-primary-accent: #8dabcd;

  /* Primary color with alpha variations */
  --color-primary-00: rgb(from var(--color-primary) r g b / 0);
  --color-primary-10: rgb(from var(--color-primary) r g b / 0.1);
  --color-primary-20: rgb(from var(--color-primary) r g b / 0.2);
  --color-primary-30: rgb(from var(--color-primary) r g b / 0.3);
  --color-primary-40: rgb(from var(--color-primary) r g b / 0.4);
  --color-primary-50: rgb(from var(--color-primary) r g b / 0.5);
  --color-primary-60: rgb(from var(--color-primary) r g b / 0.6);
  --color-primary-90: rgb(from var(--color-primary) r g b / 0.9);

  --color-accent: #f27b13;

  /* Background colors */
  --bg-dialog: #ffffff;
  --bg-secondary: #ebf0f6;
  --bg-secondary-rgb: 235, 240, 246;
  --bg-secondary-alpha: rgba(235, 240, 246, 0.5);
  --bg-tertiary: #efefef;
  --bg-hover: #d3d3d3;
  --bg-hover-light: #f0f0f0;
  --bg-disabled: #eee;
  --bg-disabled-light: #ddd;
  --bg-footer: #111;
  --bg-invalid: #ffdfdf;

  /* Text colors */
  --text-primary: #0d4d95;
  --text-primary-on-light: #0d4d95;
  --text-secondary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.25);
  --text-muted-80: rgba(255, 255, 255, 0.8);
  --text-dark: #333;
  --text-black: #000000;
  --text-black-20: rgba(0, 0, 0, 0.2);

  /* White with alpha variations */
  --white-15: rgba(255, 255, 255, 0.15);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-25: rgba(255, 255, 255, 0.25);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-90: rgba(255, 255, 255, 0.9);

  /* Border colors */
  --border-primary: var(--color-primary-accent);
  --border-primary-alpha: rgba(141, 171, 205, 0.63); /* #8dabcd with alpha */
  --border-dark: rgba(0, 0, 0, 0.4);
  --border-white-alpha: rgba(255, 255, 255, 0.63); /* #ffffffa0 */

  /* Overlay and shadow colors */
  --overlay-dark: #00000060;
  --overlay-light: #0000001a;
  --shadow-color: rgba(0, 0, 0, 0.53); /* #00000088 */
  --shadow-gray: #888;

  /* Sidebar styles */
  --sidebar-border: none;
  --sidebar-tab-selected-color: unset;
  --sidebar-tab-selected-bg: var(--color-primary-light);
  --sidebar-viewport-bg: transparent;
  --sidebar-product-bg: transparent;
  --sidebar-product-border: 1px solid var(--white-60);
  --sidebar-product-shadow: none;
  --sidebar-product-label-bg: var(--white-90);
  --sidebar-product-hover-bg: var(--white-25);
  --sidebar-product-hover-border-color: var(--white-60);
  --sidebar-product-hover-shadow: none;
  --lookup-color: var(--color-primary);
  --lookup-input-color: var(--text-muted-80);
  --lookup-placeholder-color: var(--text-muted);
  --lookup-alias-bg: var(--white-30);
  --lookup-alias-focus-bg: var(--white-60);
  --welcome-bg: var(--color-primary);
  --welcome-content-bg: var(--color-primary-light);
  --welcome-design-border: none;
  --welcome-thumbnail-bg: var(--sidebar-product-bg);
  --welcome-tab-selected-color: unset;
  --config-sidebar-color: var(--text-muted-80);
  --config-sidebar-border-color: var(--white-60);
  --config-sidebar-option-bg: var(--white-20);
  --config-sidebar-option-title-color: var(--color-primary);
  --config-sidebar-option-hover-bg: var(--white-25);
  --config-sidebar-option-hover-color: var(--text-secondary);

  /* Status colors */
  --color-success: #4CAF50;
  --color-error: #F44336;
  --color-warning: #ffea1f;
  --color-badge: red;

  /* Select component (existing variables) */
  --select-border: var(--color-primary-90);
  --select-focus: blue;
  --select-arrow: var(--select-border);

  /* Three.js material colors */
  --three-dimension-color: var(--color-primary);
  --three-highlight-color: #ffea1f;
  --three-scene-background: var(--bg-secondary);
}

/* Dark theme variant (example) */
[data-theme="dark"] {
  --color-primary: #000000;
  --color-primary-dark: #111111;
  --color-primary-light: #222222;
  --color-primary-accent: #444444;
  --three-scene-background: #f8f8f8;
  --three-dimension-color: #aa0000;
  --three-highlight-color: #33aaff;
}

/* Website theme variant (example) */
[data-theme="Website"] {
  --gt-midnight: #061630;
  --color-primary: var(--gt-midnight);
  --color-primary-dark: #111111;
  --color-primary-light: var(--gt-midnight);
  --color-primary-accent: #444444;
  --three-scene-background: #dde2ea;
  --three-dimension-color: var(--gt-blue);
  --sidebar-border: 2px solid var(--color-primary);
  --sidebar-tab-selected-color: var(--color-primary);
  --sidebar-tab-selected-bg: #f8f8f8;
  --sidebar-viewport-bg: #f8f8f8;
  --sidebar-product-bg: #dde2ea;
  --sidebar-product-bg-darker: #b9bfc9;
  --sidebar-product-border: 1px solid #9eabb8;
  --sidebar-product-shadow: 0 2px 12px rgba(6, 22, 48, 0.08);
  --sidebar-product-label-bg: #f8f8f8;
  --sidebar-product-hover-bg: var(--sidebar-product-bg);
  --sidebar-product-hover-border-color: var(--color-accent);
  --sidebar-product-hover-shadow: 2px 3px 26px rgba(6, 22, 48, 0.12);
  --lookup-color: var(--color-primary);
  --lookup-input-color: var(--color-primary);
  --lookup-placeholder-color: #9eabb8;
  --lookup-alias-bg: var(--sidebar-product-bg);
  --lookup-alias-focus-bg: var(--sidebar-product-bg-darker);
  --welcome-content-bg: var(--sidebar-viewport-bg);
  --welcome-design-border: 1px solid #9eabb8;
  --welcome-thumbnail-bg: var(--sidebar-product-bg);
  --welcome-tab-selected-color: var(--color-primary);
  --config-sidebar-color: var(--color-primary);
  --config-sidebar-border-color: var(--color-primary);
  --config-sidebar-option-bg: var(--sidebar-product-bg);
  --config-sidebar-option-title-color: var(--white-90);
  --config-sidebar-option-hover-bg: var(--sidebar-product-bg-darker);
  --config-sidebar-option-hover-color: var(--color-primary);
}

/* GLOBAL
 */

html {
  font-family: Roboto, sans-serif;
  font-size: 18px;
}

body {
  overflow: hidden;
}

body,
p {
  margin: 0;
}

.white-text {
  color: var(--text-secondary) !important;
}

input,
textarea {
  font: inherit;
  border: none;
  /* Don't use color with alpha channel because it will break some things visually. */
  background-color: var(--bg-secondary);
  padding: .4rem .5rem;
  outline: none;
}

button {
  padding: .5rem 1rem;
  border: 0;
  margin: 0;
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 700;
  min-width: 64px;
  cursor: pointer;
  outline: none;
  transition: background-color 300ms ease;
  background-color: var(--bg-tertiary);
}

button.disabled {
  opacity: .2;
  background-color: transparent;
  cursor: not-allowed;
}

button:not(.disabled):focus {
  text-decoration: underline;
  text-decoration-style: dotted;
}

button:not(.disabled):hover {
  background-color: var(--bg-hover);
}

button+button {
  margin-left: 0.5rem;
}

button.blue {
  color: var(--text-secondary);
  background-color: var(--color-primary-90);
}

button.blue:not(.disabled):hover {
  background-color: var(--color-primary);
}

button.transparent {
  border: 2px solid var(--border-dark);
  background-color: transparent;
}

button.transparent:not(.disabled):hover {
  background-color: var(--overlay-light);
}

button.transparent.white {
  color: var(--text-secondary);
  border: 2px solid var(--border-white-alpha);
}

button.transparent.white:not(.disabled):hover {
  background-color: var(--white-20);
}

button.transparent.blue {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

button.transparent.blue:not(.disabled):hover {
  background-color: var(--color-primary-20);
}

button.toolbar {
  padding: .25rem .5rem;
  min-width: 0;
  font-size: 1.2rem;
  border: none;
  background-color: transparent;
}

button.toolbar:not(.disabled):hover {
  background-color: var(--overlay-light);
}

button.icon-button {
  font: inherit;
  color: inherit;
  padding: 0;
  background-color: transparent;
  min-width: unset;
}

.blue-text {
  color: var(--color-primary);
}

/* Pulsator
 */

.pulsator {
  background: var(--color-primary-50);
  border-radius: 50%;
  margin: .5rem;
  height: 1rem;
  width: 1rem;

  box-shadow: 0 0 0 0 var(--color-primary-50);
  transform: scale(1);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    box-shadow: 0 0 0 0 var(--color-primary-50);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px var(--color-primary-00);
  }

  100% {
    transform: scale(0.5);
    box-shadow: 0 0 0 0 var(--color-primary-00);
  }
}

/* Ellipsis.js
 */

.ellipsis-dot1 {
  animation: dot1-visibility 2s ease-in-out infinite;
}

@keyframes dot1-visibility {
  0% {
    opacity: 1;
  }
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.ellipsis-dot2 {
  animation: dot2-visibility 2s ease-in-out infinite;
}

@keyframes dot2-visibility {
  0% {
    opacity: 0;
  }
  21% {
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.ellipsis-dot3 {
  animation: dot3-visibility 2s ease-in-out infinite;
}

@keyframes dot3-visibility {
  0% {
    opacity: 0;
  }
  43% {
    opacity: 0;
  }
  44% {
    opacity: 1;
  }
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Overlay.js
 */

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

  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: auto;
  transition: opacity 0.3s;
  animation: fade-in 0.3s;
  z-index: 1;
  background-color: var(--overlay-dark);
}

.overlay.transparent {
  background-color: transparent;
}

.overlay.hide {
  animation: fade-out 100ms;
}

.overlayElement {
  margin: auto;
}

@media screen and (max-width: 800px) {
  .overlayElement {
    padding: 0;
  }
}

.overlayElement.popup {
  position: absolute;
  margin: 0;
  padding: 0;
}

/* Dialog
 */

.dialog {
  background-color: var(--bg-dialog);
  max-width: calc(100vw - 4rem); /* Take padding into account */
  border-radius: 3px;
  overflow: hidden;
  padding: 2rem;
  margin: 2rem;
  color: var(--color-primary);
}

@media screen and (max-width: 700px) {
  .dialog {
    max-width: calc(100vw - 3rem); /* Take padding/margin into account */
    padding: 1rem;
    margin: .5rem;
  }
}

.dialog-header {
  position: relative;
  color: var(--color-primary-90);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dialog-header > div {
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dialog-header > button {
  margin-left: .5rem;
  flex: 0 0 auto;
  cursor: pointer;
}

.dialog-content {
  position: relative;
}

.dialog-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.dialog-buttons > button {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: .25rem;
  color: var(--text-secondary);
  background-color: var(--color-primary-90);
  transition: background-color 300ms ease;
}

.dialog-buttons > button:last-child {
  margin-right: 0;
}

.dialog-buttons > button:not(.disabled):hover {
  background-color: var(--color-primary-60);
}

.dialog-buttons > button + button {
  margin-left: .25rem;
}

.dialog-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.dialog-line {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.dialog-line.column {
  flex-direction: column;
  align-items: flex-start;
}

.dialog-line.vertical-centered {
  align-items: center;
}

.dialog-line + .dialog-line {
  margin-top: 10px;
}

.dialog-field {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dialog-field + .dialog-field {
  margin-left: 10px;
}

.dialog-label {
  color: var(--color-primary);
  font-size: .9rem;
}

.dialog-input {
  width: 20rem;
}

.dialog-field > .dialog-input {
  width: unset;
  flex: 1 1 auto;
}

.dialog-field.invalid > .dialog-input {
  background-color: var(--bg-invalid);
}

/* Submit dialog
 */

.submit-info {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 750px;
}

/* Announcements dialog
 */

.announcements-dialog {
  max-height: calc(90vh - 4rem);
  display: flex;
  flex-direction: column;
}

.announcements-dialog .dialog-content {
  padding: 1rem;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--color-primary-10);
}

.announcement + .announcement {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dotted var(--color-primary);
}

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

.announcement-header h2 {
  flex: 1 1 auto;
  margin-top: 0;
  font-size: 1rem;
  font-weight: 700;
}

.announcement-date {
  flex: 0 0 auto;
  font-size: .8rem;
  color: var(--color-primary);
  margin-left: .5rem;
}

/* Settings dialog
 */

/* Styling for select from here:
 * https://www.sliderrevolution.com/resources/css-select-styles/
 * https://codepen.io/5t3ph/pen/MWyyYNz
 */

.settings-dialog .dialog-content {
  display: grid;
  place-content: center;
  grid-gap: 0.1rem;
}


.select select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  z-index: 1;
  outline: none;
}

.select select::-ms-expand {
  display: none;
}

.select {
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  position: relative;
  min-width: 15ch;
  max-width: 30ch;
  padding: 0.4rem 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1.1;
  background-color: var(--bg-secondary);
}

.select select, .select::after {
  grid-area: select;
}

.select:not(.select--multiple)::after {
  content: "";
  justify-self: end;
  width: 0.8em;
  height: 0.5em;
  background-color: var(--select-arrow);
  -webkit-clip-path: polygon(100% 0%, 0 0%, 50% 100%);
          clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

.select select:focus + .focus {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 2px solid var(--select-focus);
  border-radius: inherit;
}

.select select[multiple] {
  padding-right: 0;
  /*
   * Safari will not reveal an option
   * unless the select height has room to
   * show all of it
   * Firefox and Chrome allow showing
   * a partial option
   */
  height: 6rem;
  /*
   * Experimental - styling of selected options
   * in the multiselect
   * Not supported crossbrowser
   */
}

.select select[multiple] option {
  white-space: normal;
  outline-color: var(--select-focus);
}

.select .select--disabled {
  cursor: not-allowed;
  background-color: var(--bg-disabled);
  background-image: linear-gradient(to top, var(--bg-disabled-light), var(--bg-disabled) 33%);
}

.settings-dialog label {
  color: var(--color-primary-90);
  font-size: .9rem;
}

.settings-dialog .select + label {
  margin-top: 1rem;
}

/* Save dialog
 */

.save-dialog .select select {
  font-size: .8rem;
}

/* Save to URL dialog
 */

.save-to-url {
  padding: .5rem;
  border: 4px solid var(--bg-secondary);
  background-color: var(--bg-secondary-alpha);
}

.save-to-url a {
  text-decoration: none;
  color: var(--color-primary);
}

.save-to-url a:hover {
  text-decoration: underline;
}

/* Issue dialog
 */

.issue-dialog {
  min-width: 0;
  max-width: 750px;
  margin: 2rem auto;
  padding: 1rem;
}

/* Insert popup.
 */

.insertPopup {
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 5px var(--shadow-gray);
  border-radius: 3px;
  overflow: hidden;
}

.insertPopup button {
  border-radius: 0;
  background-color: var(--bg-dialog);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 300;
  padding: .5rem 2rem;
}

.insertPopup button:hover {
  background-color: var(--bg-hover-light);
}

.insertPopup button+button {
  margin: 0;
  border-top: 1px dotted var(--color-primary);
}

/* App layout
 */

.app-layout {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  display: flex;
  flex-direction: column;
}

.app-content {
  position: relative;
  flex: 1 1 auto;
}

.app-footer {
  flex: 0 0 auto;
  color: var(--text-secondary);
  font-size: .6rem;
  background-color: var(--bg-footer);
  display: flex;
  flex-direction: row;
}

.app-terms {
  flex: 1 1 auto;
}

.app-terms a {
  color: var(--text-secondary) !important;
  text-decoration: none;
}

.app-copyright {
  flex: 0 0 auto;
}

/* Lookup
 */

.lookup {
  position: relative;
  display: flex;
  flex-direction: column;
}

.lookup-input {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: .5rem .5rem 0 .5rem;
}

.lookup-input > .lookup-placeholder {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 3px;
  background-color: transparent;
  border: 2px solid var(--border-primary);
  color: var(--lookup-placeholder-color);
  padding: .4rem .5rem;
  pointer-events: none; /* Otherwise we can't click into input */
}

.lookup-input > input {
  flex: 1 1 auto;
  border-radius: 3px;
  background-color: transparent;
  border: 2px solid var(--border-primary);
  color: var(--lookup-input-color);
  text-transform: uppercase;
  z-index: 1;
}

.lookup-desc {
  font-size: .9rem;
  color: var(--lookup-placeholder-color);
  margin: .1rem .6rem .3rem .6rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lookup-results {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lookup-results-viewport {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-y: auto;
  padding: 0 .5rem .5rem .5rem;
}

.lookup-alias {
  position: relative;
  padding: .25rem;
  background-color: var(--lookup-alias-bg);
  cursor: pointer;
  transition: background-color 300ms ease;
  color: var(--lookup-color);
  display: flex;
  flex-direction: row;
  align-items: center;
}

.lookup-alias:hover {
  background-color: var(--lookup-alias-focus-bg);
}

.lookup-alias + .lookup-alias {
  margin-top: 3px;
}

.lookup-alias.focused {
  background-color: var(--lookup-alias-focus-bg);
}

.lookup-alias > .modelNum {
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lookup-alias > .fa-caret-right {
  color: transparent;
  margin-right: .25rem;
}

.lookup-alias.focused > .fa-caret-right {
  color: unset;
}

/* Designer
 */

.designer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
}

.designer-drop-target {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary-60);
  z-index: 10000;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.designer-sidebar {
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 1 1 33%;
  width: 510px;
  min-width: 510px;
  max-width: 510px;
  background-color: var(--color-primary-light);
  overflow-x: hidden;
  overflow-y: auto;
}

.designer-sidebar-header {
  flex: 0 0 auto;
  padding: .5rem;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.designer-sidebar-header > img {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 2rem;
  max-height: 2rem;
}

.designer-sidebar-header > button {
  position: relative;
  flex: 0 0 auto;
  font-size: 1.25rem;
  padding: 0.25rem 0.5rem;
  min-width: 0;
  color: var(--text-secondary);
  background-color: transparent;
  transition: background-color 300ms ease;
}

.designer-sidebar-header > button.hidden {
  visibility: hidden
}

.designer-sidebar-header > button:hover {
  background-color: var(--white-20);
}

.designer-sidebar-badge {
  /* circle shape, size and position */
  position: absolute;
  right: -.2rem;
  top: -.1rem;
  min-width: 1.2rem; /* or width, explained below. */
  height: 1.2rem;
  border-radius: 0.6rem; /* or 50%, explained below. */
  background-color: var(--color-badge);

  /* number size and position */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: .8rem;
  color: var(--text-secondary);
}

.designer-sidebar-content {
  flex: 1 1 auto;
  position: relative;
}

.designer-sidebar-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: 0;
  transition: left 300ms ease, right 300ms ease;
  display: flex;
  flex-direction: column;
  scrollbar-color: var(--text-muted) transparent;
  overflow-x: hidden;
  overflow-y: auto;
}

.designer-sidebar-panel.left {
  left: -100%;
  right: 100%;
}

.designer-sidebar-panel.right {
  left: 100%;
  right: -100%;
}

.designer-sidebar-panel-tabs {
  flex: 0 0 auto;
  color: var(--text-muted-80);
  border-bottom: 2px solid var(--border-primary);
  display: flex;
  flex-direction: row;
  padding: .5rem 1rem 0 1rem;
}

.designer-sidebar-panel-tab {
  flex: 1 1 auto;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: .5rem;
  border: 2px solid transparent;
  background-color: transparent;
  transition: background-color 300ms ease;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: var(--white-15);
}

.designer-sidebar-panel-tab.icon-tab {
  flex: 0 0 auto;
  width: unset;
}

.designer-sidebar-panel-tab.selected {
  margin-bottom: -2px;
  color: var(--sidebar-tab-selected-color);
  border-color: var(--border-primary);
  border-bottom-color: var(--sidebar-tab-selected-bg);
  background-color: var(--sidebar-tab-selected-bg);
  font-weight: 700;
}

.designer-sidebar-panel-tab + .designer-sidebar-panel-tab {
  margin-left: .5rem;
}

.designer-sidebar-config-header {
  flex: 0 0 auto;
  color: var(--text-muted-80);
  border-bottom: 2px solid var(--border-primary);
  display: flex;
  flex-direction: row;
}

.designer-sidebar-config-title {
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: .25rem 1rem;
}

.designer-sidebar-config-subtitle {
  font-size: .9rem;
}

.designer-sidebar-config-maintitle {
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.designer-sidebar-config-header > button {
  margin: .5rem;
}

.designer-sidebar-panel-viewport {
  position: relative;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--sidebar-viewport-bg);
}

.designer-sidebar-panel-viewport > .lookup {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.designer-sidebar-products {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: .25rem;
}

.designer-product-button {
  position: relative;
  margin: .25rem;
  padding-top: .5rem;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  border: var(--sidebar-product-border);
  cursor: pointer;
  transition: background-color 300ms ease;
  color: var(--color-primary);
  background-color: var(--sidebar-product-bg);
  box-shadow: var(--sidebar-product-shadow);
}

.designer-product-button:hover {
  background-color: var(--sidebar-product-hover-bg);
  border-color: var(--sidebar-product-hover-border-color);
  box-shadow: var(--sidebar-product-hover-shadow);
}

.designer-product-button > img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
  object-position: center center;
}

.designer-product-label {
  background-color: var(--sidebar-product-label-bg);
  flex: 1 1 auto;
  margin-top: .5rem;
  padding: .5rem;
  box-sizing: border-box;
  width: 150px;
  max-width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.designer-product-family {
  text-align: center;
  font-weight: 700;;
}

.designer-product-desc {
  font-size: .9rem;
  text-align: center;
  overflow: hidden;
}

@media screen and (max-width: 1400px) {
  .designer-sidebar {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
  }
}

@media screen and (max-width: 800px) {
  .designer-sidebar {
    width: 225px;
    min-width: 225px;
    max-width: 225px;
  }

  .designer-sidebar-header>img {
    height: 2rem;
    max-height: 2rem;
  }

  .designer-sidebar-header>button {
    padding: .25rem;
  }

  .designer-sidebar-panel-tabs {
    padding: .5rem .25rem 0 .25rem;
    font-size: .7rem;
  }

  .designer-sidebar-panel-tab + .designer-sidebar-panel-tab {
    margin-left: .25rem;
  }

  .designer-sidebar-config-subtitle {
    font-size: .8rem;
  }

  .designer-sidebar-config-maintitle {
    font-size: .9rem;
  }
}

.designer-content {
  position: relative;
  flex: 1 1 100%;
  overflow: hidden;
}

.designer-content > .canvas {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.designer-name-banner {
  color: var(--color-primary-90);
  margin-bottom: 5px;
  pointer-events: none;
}

.designer-buttons {
  position: absolute;
  pointer-events: none;
}

.designer-buttons.top {
  top: 5px;
}

.designer-buttons.bottom {
  bottom: 5px;
}

.designer-buttons.left {
  left: 5px;
}

.designer-buttons.right {
  right: 5px;
}

.designer-buttons.stretch {
  left: 5px;
  right: 5px;
  text-align: center;
}

.designer-status-message {
  margin-top: 1rem;
  color: var(--color-primary);
  font-size: .9rem;
}

/* ConfigSidebar
 */

.config-sidebar {
  padding: 1rem;
  color: var(--config-sidebar-color);
}

.config-sidebar > * + * {
  margin-top: 1rem;
}

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

.config-sidebar-group .config-oneOf {
  border: none;
}

.config-sidebar-group .config-oneOf-values {
  margin: 0;
}

.config-sidebar-group + * {
  margin-top: 1rem;
}

.config-sidebar-group-name {
  font-size: 1rem;
  font-weight: 700;
  background-color: var(--config-sidebar-border-color);
  color: var(--config-sidebar-option-title-color);
  padding: 0 .25rem;
}

.config-sidebar-group-options {
  padding: .25rem;
}

.config-sidebar-group-options .config-oneOf-title {
  background-color: transparent;
  color: var(--config-sidebar-border-color);
  font-size: .8rem;
}

.config-sidebar-group-options .config-oneOf + * {
  margin-top: .5rem;
}

.slideDown {
  overflow: hidden;
  animation: slide-down 600ms;
  transform-origin: top;
}

@keyframes slide-down {
  from {
    opacity: 0;
    max-height: 0;
  }

  to {
    opacity: 1;
    max-height: 750px;
  }
}

.slideUp {
  overflow: hidden;
  animation: slide-up 200ms;
  transform-origin: top;
}

@keyframes slide-up {
  from {
    max-height: 750px;
  }

  to {
    max-height: 0;
  }
}

* + .config-sidebar-globals {
  margin-top: 1rem;
}

.config-sidebar-globals::before {
  content: "Overrides";
  margin-bottom: .25rem;
  display: block;
  font-weight: 700;
  text-align: center;
}

/* ScrollableToolbar
 */

.scrollable-toolbar {
  display: inline-flex;
  flex-direction: row;
  pointer-events: all;
  max-width: 100%;
}

.scrollable-toolbar > button {
  flex: 0 0 auto;
  font-size: 2rem;
  padding: 0;
  width: 2.5rem;
  min-width: 0;
  color: var(--color-primary-90);
  background-color: transparent;
  transition: opacity 300ms ease, color 300ms ease;
  opacity: 1;
}

.scrollable-toolbar > button.hidden.disabled {
  opacity: 0;
  cursor: revert;
}

.scrollable-toolbar > button:not(.disabled):hover {
  background-color: transparent;
  color: var(--color-primary);
}

.scrollable-toolbar-buttons {
  min-width: 0;
  flex: 1 1 auto;
  position: relative;
  display: inline-flex;
  border: 2px solid var(--color-primary-30);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollable-toolbar-buttons::-webkit-scrollbar {
  display: none;
}

.scrollable-toolbar-buttons > button {
  flex: 0 0 auto;
  font-size: 1.75rem;
  padding: .25rem;
  background-color: var(--white-50);
  border-radius: 0;
  color: var(--color-primary-60);
  transition: background-color 400ms ease-in-out;
}

.scrollable-toolbar-buttons > button.disabled {
  opacity: 1;
  color: var(--color-primary-10) !important;
}

.scrollable-toolbar-buttons > button:not(.disabled):hover {
  background-color: var(--color-primary-20);
}

.scrollable-toolbar-buttons > button + button {
  margin: 0;
  border-left: 2px solid var(--color-primary-30)
}

.scrollable-toolbar-buttons > button.text {
  font-size: revert;
  padding: 10px;
}

.scrollable-toolbar-buttons > .hide {
  opacity: 0 !important;
}

.scrollable-toolbar-buttons > button.globals-button {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-primary-60);
  padding: 2px .5rem;
}

/* OneOf
 */

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

.config-oneOf,
.config-detail {
  border: 1px solid var(--config-sidebar-border-color);
}

.config-oneOf + *,
.config-detail + * {
  margin-top: 1rem;
}

.config-oneOf:last-child {
}

.config-oneOf-title,
.config-detail-title {
  font-size: 1rem;
  font-weight: 700;
  background-color: var(--config-sidebar-border-color);
  color: var(--config-sidebar-option-title-color);
  padding: 0 .25rem;
}

.config-oneOf-values,
.config-detail-value {
  margin: .25rem;
  background-color: var(--config-sidebar-option-bg);
}

.config-detail-value {
  color: inherit;
  padding: .25rem;
}

.config-oneOf-option {
  cursor: pointer;
  padding: .25rem;
  transition: color 300ms ease, background-color 300ms ease;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.config-oneOf-option > span {
  flex: 1 1 auto;
  width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.config-oneOf-option > i {
  flex: 0 0 auto;
  display: none;
}

.config-oneOf-option.selected > i {
  display: unset;
}

.config-oneOf-values.expanded > .config-oneOf-option.selected {
  border-bottom: 1px dashed var(--white-60);
}

.config-oneOf-option:hover {
  color: var(--config-sidebar-option-hover-color);
  background-color: var(--config-sidebar-option-hover-bg);
}

.config-oneOf.filtered .config-oneOf-option {
  cursor: initial;
}

.config-oneOf.filtered .config-oneOf-option > span {
  white-space: normal;
}

.config-oneOf.filtered .config-oneOf-option:hover {
  color: unset;
  background-color: unset;
}

/* Checkbox
 */

.form-control {
  line-height: 1.1;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

.form-control input[type=checkbox] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  -moz-appearance: none;
       appearance: none;
  /* For iOS < 15 */
  background-color: var(--bg-dialog);
  margin: .25rem .5rem .25rem 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 0.15em;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
  padding: 0;
}

.form-control input[type=checkbox]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  -webkit-clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
          clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em currentColor;
}

.form-control input[type=checkbox]:checked::before {
  transform: scale(1);
}

.form-control input[type=checkbox]:focus {
  outline: 1px solid currentColor;
  outline-offset: 1px;
}

.form-control input[type=checkbox]:disabled {
  background-color: var(--color-primary-20);
  color: var(--color-primary-40);
  cursor: not-allowed;
}

/* Canvas
 */

.canvas {
  position: relative;
}

.canvas > canvas {
  width: 100%;
  height: 100%;
}

/* ClickThrough dialog
 */

.clickthrough > .dialog-content {
  font-size: 1.2rem;
  max-width: 750px;
}

/* Welcome
 */

.welcome {
  position: relative;
  width: 90%;
  height: 90%;
  background-color: var(--welcome-bg);
  color: var(--text-secondary);
  border-radius: 3px;
  box-shadow: 3px 3px 8px var(--shadow-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
}

.welcome-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.welcome-header {
  flex: 0 0 auto;
}

.welcome-content {
  flex: 1 1 auto;
  height: 0;
  display: flex;
  flex-direction: column;
}

.welcome-tutorial {
  text-align: right;
  margin-bottom: 1rem;
}

.welcome-tutorial > button {
  border: none !important;
  font-size: .9rem;
}

.welcome-title {
  flex: 0 0 auto;
  font-size: 1.75rem;
  padding: 0 .5rem .5rem .5rem;
  text-align: center;
  margin-bottom: .5rem;
}

.welcome-title-sub {
  font-size: .9rem;
}

.welcome-title-main {
  font-weight: 700;
}

.welcome-title-main > img {
  height: 3rem;
}

.welcome-title > p {
  font-size: 1.2rem;
}

.welcome-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease;
  background-color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.welcome-screen.visible {
  opacity: 1;
  visibility: visible;
}

.welcome-screen.scrollable {
  display: block;
  overflow-y: auto;
}

.welcome-video-iframe {
  width: calc(160vh);
  height: calc(90vh);
  box-sizing: border-box;
  padding: 2.5rem 4.4444444444rem;
}

@media (max-aspect-ratio: 16/9) {
  .welcome-video-iframe {
    width: calc(90vw);
    height: calc(50.625vw);
    padding: 1.40625rem 2.5rem;
  }
}


.welcome-screen-closer {
  position: absolute;
  top: .5rem;
  right: .5rem;
  font-size: .9rem;
  font-weight: 700;
  min-width: unset;
}

.welcome-tabs {
  flex: 0 0 auto;
  padding-top: .5rem;
  color: var(--text-muted-80);
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-bottom: 2px solid var(--border-primary);
}

.welcome-tab {
  cursor: pointer;
  padding: .5rem 1rem;
  border: 2px solid transparent;
  margin-bottom: -2px;
  background-color: var(--white-15);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.welcome-tab.selected {
  background-color: var(--welcome-content-bg);
  border-color: var(--border-primary);
  border-bottom-color: var(--welcome-content-bg);
  color: var(--welcome-tab-selected-color);
  font-weight: 700;
}

.welcome-tab + .welcome-tab {
  margin-left: .5rem;
}

.welcome-tabs-content {
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  background-color: var(--welcome-content-bg);
  position: relative;
}

.welcome-designs-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--welcome-content-bg);
  visibility: hidden;
  opacity: 0;
}

.welcome-designs-wrapper.visible {
  visibility: visible;
  opacity: 1;
}

.welcome-designs {
  position: relative;
  padding: .5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.design {
  flex: 0 1 100%;
  color: var(--text-black);
  transition: background-color ease 300ms;
  cursor: pointer;
}

@media screen and (min-width: 800px) {
  .design {
    flex: 0 1 50%;
  }
}

@media screen and (min-width: 1400px) {
  .design {
    flex: 0 1 33%;
  }
}

.design:hover {
  background-color: var(--white-20);
}

.design-padding {
  background-color: var(--bg-dialog);
  margin: .75rem;
  height: calc(100% - 1.5rem); /* exclude top/bottom margin */
  position: relative;
  border: var(--welcome-design-border);
}

.design-image {
  height: 0;
  padding-top: 56.25%;
  max-height: 50vh;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--welcome-thumbnail-bg);
}

.design-detail {
  padding: 1rem;
}

.design-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .25rem;
}

.design-desc {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.design-desc > span {
  flex: 1 1 auto;
}

.design-desc > button {
  margin-left: .5rem;
  flex: 0 0 auto;
}

.welcome-footer {
  flex: 0 0 auto;
  font-size: .8rem;
  padding: .25rem;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.welcome-footer-button {
  border: none !important;
}

.welcome-footer-button.disabled {
  opacity: .3;
}

.welcome-footer-button > i {
  margin-right: .25rem;
  color: var(--text-muted);
  padding: 2px;
}

.welcome-footer-button > i.bordered {
  border: 1px solid var(--text-secondary);
}

.welcome-footer-button.checked > i {
  color: var(--text-secondary);
}

@media screen and (max-height: 500px) {
  .welcome-body {
    flex-direction: row;
  }

  .welcome-header {
    flex: 0 0 33%;
  }

  .welcome-content {
    height: unset;
  }

  .welcome-tutorial {
    text-align: center;
  }

  .welcome-title-main > img {
    height: 2rem;
  }

  .welcome-title {
    margin-bottom: 0;
  }

  .welcome-title > p {
    font-size: 1rem;
  }

  .welcome-tabs-content {
    height: 0;
  }

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

  .welcome-footer {
    padding: .5rem;
  }

  .welcome-footer-button {
    padding: .25rem 1rem;
  }

  .design {
    flex: 0 1 60%;
  }
}


/* Equipment list
 */

.eql {
  font-size: .9rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.eql-header {}

.eql-header-content {
  padding: 1rem;
  text-align: center;
}

.eql-logo {
  font-size: 2.25rem;
  line-height: 0;
  font-weight: 700;
}

.eql-logo>img {
  width: 33%;
}

.eql-address-block {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--color-primary);
}

.eql-address+.eql-address::before {
  content: " • ";
}

.eql-content {
  overflow: hidden;
  margin: 2rem 3rem;
}

@media screen and (max-width: 700px) {
  .eql-content {
    margin: 1rem .5rem;
  }
}

.eql-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0;
}

.eql-job {
  position: relative;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.eql-job.uninitialized {
  color: var(--text-black-20);
}

.eql-job.uninitialized::after {
  content: "Enter job name";
}

.eql-job input {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.eql-table-wrapper {
  overflow-y: auto;
}

.eql-table {
  display: table;
  border-spacing: 0;
}

.eql-table-cell {
  display: table-cell;
  white-space: nowrap;
  vertical-align: top;
  text-align: left;
}

.eql-table-cell+.eql-table-cell {
  padding-left: 1rem;
}

.eql-table-cell.right {
  text-align: right;
}

.eql-table-cell.center {
  text-align: center;
}

.eql-table-cell.expanded {
  width: 100%;
  white-space: normal;
}

.eql-table-cell a {
  text-decoration: none;
  color: var(--color-primary);
}

.eql-table-cell img {
  width: 175px;
  height: 175px;
  object-fit: contain;
  display: block;
}

.eql-table-header {
  display: table-header-group;
}

.eql-table-header .eql-table-cell {
  font-weight: 700;
  color: var(--color-primary);
  padding-bottom: 1rem;
}

.eql-table-line {
  display: table-row;
  break-inside: avoid;
}

.eql-table-line + .eql-table-line {
  padding-top: 1rem;
}

.eql-table-line.first > .eql-table-cell {
  border-top: 1px solid var(--color-primary);
}

.eql-table-line.first > td {
  padding-top: 1rem;
}

.eql-table-line.last > td {
  padding-bottom: 1rem;
}

.eql-item-num,
.eql-model-num,
.eql-model-desc {
  font-size: 1rem;
  font-weight: 700;
}

.eql-item-num {
  color: var(--color-primary);
}

.eql-model-details {
  display: flex;
  flex-direction: column;
}

.eql-model-option {
  display: inline;
}

.eql-model-option::after {
  content: ", ";
}

.eql-model-option:last-child::after {
  content: none;
}

.eql-option-value {
  font-weight: 700;
  white-space: normal;
  word-break: break-word;
}

.eql-disclaimer {
  margin-top: 1rem;
  font-size: .8rem;
  font-style: italic;
  float: right;
}

.eql-renders {
  page-break-before: always;
  max-width: 1280px;
  margin: 0 auto;
}

.eql-render {
  border: 1px solid var(--color-primary);
  margin: 2rem auto;
  break-before: auto;
  break-after: auto;
  break-inside: avoid;
}

.eql-render>img {
  display: block;
  width: 100%;
}

.eql-render-label {
  color: var(--color-primary);
  font-weight: 700;
  padding: .5rem 1rem;
}

.eql-render-label img {
  height: 1rem;
  margin-bottom: -2px;
}

.report-buttons {
  position: absolute;
  top: 0;
  right: 0;
}

.report-buttons > button {
  border-radius: 0;
}

.report-buttons > button + button {
  margin-left: 0;
  border-left: none !important;
}

.print-only {
  display: none;
}

@media print {

  @page {
    margin: 10mm;
  }

  html {
    font-size: 9pt;
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-black);
  }

  body {
    margin: 0;
  }

  .print-only {
    display: revert;
  }

  .eql {
    max-width: unset;
    margin: 0;
  }

  .eql-renders {
    max-width: unset;
    margin: 0 3rem;
  }

  .eql-logo > img {
    width: auto;
    height: 3rem;
  }

  .eql-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .eql-title > div {
    display: inline;
  }

  .eql-job.uninitialized {
    display: none;
  }

  .eql-job + div {
    margin-left: .3rem;
  }

  .app-layout {
    display: none;
  }

  .overlay {
    position: relative;
    margin: 0;
    width: auto;
    height: auto;
    display: block;
  }

  .overlayElement {
    padding: 0;
  }

  .dialog {
    margin: 0;
    padding: 0;
    max-width: unset;
    border: none;
    border-radius: 0;
  }

  .dialog-header {
    display: none;
  }

  .dialog-content {
    margin: 0;
  }

  .dialog-buttons {
    display: none;
  }

  .report-print-button {
    display: none;
  }
}


/* Notifications
 */

.notifications {
  position: fixed;
  padding: 2px;
  bottom: 20px;
  right: 20px;
  color: var(--text-secondary);
  font-weight: bold;
  transition: transform 300ms ease-in-out;
}

.notifications > .notification:first-child {
  border-top-right-radius: 3px;
}

.notifications > .notification:last-child {
  border-bottom-right-radius: 3px;
}

.notification {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--bg-dialog);
  color: var(--color-primary-light);
}

.notification + .notification {
  margin-top: 3px;
}

.notification.success {
  border-left: 4px solid var(--color-success);
}

.notification.error {
  border-left: 4px solid var(--color-error);
}

.notification.progress {
  border-left: 4px solid var(--color-primary-light);
}

.notifications.hidden {
  transform: translateY(calc(100% + 20px));
}

.notification > .pulsator {
  margin: 0 .5rem 0 0;
}