/* variables to use throughout the stylesheet */
:root {

    /* colors */

    --white_rgb: 250, 250, 250;
    --blue_rgb: 44, 106, 179;
    --light-blue_rgb: 33, 150, 243;
    --black_rgb: 13, 13, 13;
    --gray_rgb: 105, 112, 123;

    --white: rgb(var(--white_rgb));
    --black: rgb(var(--black_rgb));
    --black_75: rgba(var(--black_rgb),0.75);

    --blue: rgb(var(--blue_rgb));
    --blue_75: rgba(var(--blue_rgb),0.75);
    --blue_50: rgba(var(--blue_rgb),0.5);
    --blue_25: rgba(var(--blue_rgb),0.25);

    --light-blue: rgb(var(--light-blue_rgb));

    --gray: rgb(var(--gray_rgb));
    --gray_75: rgba(var(--gray_rgb),0.75);
    --gray_50: rgba(var(--gray_rgb),0.5);
    --gray_25: rgba(var(--gray_rgb),0.25);

    /* spacings and radius */

    --menu_height: 115px;
    --logo_width: 230px;
    --input_radius: 20px;
    --button_radius: 10px;

    --max_width: 1230px;
    --left_right: calc( (100% - var(--max_width))/2 );

}

/* general styles used on all pages */
body, html {
    margin: 0;
    padding: 0;
}

html {
    letter-spacing: unset;
    font-size: 16px;
    line-height: 32px;
    color: var(--black);
}

body {
    margin: 0;
    margin-top: var(--menu_height);
    font-family: Guanabara, "Google Sans", Roboto, Arial, sans-serif;
    background: linear-gradient(to bottom, var(--black) var(--menu_height), var(--white) var(--menu_height) );
}

a {
    color: var(--blue);
}

h1 {
    font-weight: 800;
}

h1, h2 {
    margin-top: 1em;
}

/*header-image stuff in preloaded */
h1, h2, h3, .heading-1, .heading-2, .heading-3 {
    text-align: unset;
    color: var(--blue);
    /*TODO disabling it in .header-image - it will shift LCP to logo*/
    font-weight: bold;
}

section {
    opacity: 0.8;
}

label.heading-3 {
    padding-top: 15px;
    display: inline-block;
}

input, select {
    height: 56px;
}

select, input, textarea {
    font-size: 1em;
}

textarea {
    padding-top: 15px;
    padding-bottom: 15px;
}

/* display messages, error, warning */

.warning, .error, .message {
    padding: 10px 25px !important;
    text-align: left;
    font-size: 20px !important;
    font-weight: bold;
    font-style: italic;
    border: 0;
    border-radius: var(--button_radius);
    flex-basis: unset !important;
    display: inline-block;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out; /* smooth appear and disappear */
}

.warning.hidden, .error.hidden, .message.hidden {
    height: 1px;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    visibility: hidden;
}

/* messages must have class hidden applied to them by default once implemented, this rule can be removed */

#messageId, #warningId, #errorId {
    /*display: none; - visibility:hidden holds space and prevents flickering  */
    visibility: hidden;
}

.message, .warning, .error {
    border: 5px solid;
}

.error {
    color: #a11d14 !important;
    background-color: rgba(255,192,192,0.75);
}

.message {
    color: rgb(0, 128, 64) !important;
    background-color: rgba(192,255,192,0.75);
}

.warning {
    background-color: rgba(255,255,64,0.75);
    color: #ff9800;
}

.diagonal-box-container {
    position: relative;
}

.diagonal-box {
    position: absolute;
    left: 40%;
    margin-left: -192px;
    top: 0;
    color: red;
    border: 8px solid red;
    border-radius: 10px;
    transform: rotate(-20deg);
    font-size: 80px;
    padding: 30px;
    opacity: 0.25;
}

.header-image .warning, .header-image .error, .header-image .message {
    margin-left: 10px;
    border-radius: var(--input_radius);
    z-index: 5;
}

.header-image .warning {
    /*color: #ea7800;*/
    color: rgba(255, 87, 34, 1);
    background-color: rgba(255, 230, 60, 0.75);
}

.errorField {
    border:1px solid #ff5722 !important;
}

.fieldError {
    color: #f44336 !important;
}

/* icons */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    cursor: pointer;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.quote-step1 {
    float: right;
}

.quote-box {
    /*width: 280px;*/
    margin: 24px 8px;
    padding: 8px;
}

.quote-box h2 {
    margin: 2px 0 2px 0;
}

.quote-box h3 {
    margin: 2px 0 !important;
}

.quote-box a {
    display: block !important;
    text-align: center;
    padding-left: 0px !important;
}

.quote-box button {
    margin-top: 4px;
}

/* menu styles */
.topnav-wrapper {
    background: black;
    position: fixed;
    z-index: 1000;
    height: var(--menu_height);
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
    transition: height 0.5s ease-in-out;
}

/* toggle element appears when size is 992 and less, and is styled in corresponding media section */

.topnav-toggle {
    display: none;
}

.logo-container {
    width: var(--logo_width);
    min-height: 93px;
}

.collapsed .logo-container {
    min-height: 63px;
}

.logo-container img {
    height: auto;
    width: var(--logo_width);
    margin: 0 0 12px 10px;
    transition: all 0.5s ease-in-out;
}

.login-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.topnav {
    border-bottom: 0;
    margin: 0;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 16px;
    overflow: hidden;
}

.topnav a {
    color: var(--white);
    font-weight: 400;
    margin-bottom: 10px;
    white-space: nowrap;
    padding: 4px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.topnav a.active {
    color: var(--light-blue);
    /*font-weight: 800;*/
    border-bottom: 2px solid var(--light-blue);
}

.topnav a:hover {
    color: var(--blue);
}

.topnav, .topnav .left {
    display: flex;
    justify-content: space-evenly;
    flex-basis: 100%;
}

/* smaller menu for stick up */

.topnav-wrapper.collapsed {
    height: 60px;
}

.topnav-wrapper.collapsed .logo-container img {
    width: unset;
    height: 45px;
    margin: 8px 10px 0 10px;
}

/* icons are disabled for the menu except login */

.topnav a span {
    display: inline-block;
    margin: 0 4px;
    font-size: 20px;
}

.topnav #topNavLoginId span, .topnav #topNavLogoutId span {
    display: inline-block;
}


.topnav #topNavLoginId {
    text-transform: none;
    font-size: 14px;
    border-radius: var(--button_radius);
    border: 1px solid var(--white);
    /*margin-right: 10px;*/
    padding-left: 6px;
    background: transparent;
    transition: all 0.5s ease-in-out;
}

.topnav #topNavLoginId:hover {
    background: var(--white);
}

#topNavLogoutId {
    padding-left: 0;
    padding-right: 0;
}

#topNavLogoutId span {
    margin-right: 0;
}

/* blue blocks, header block with image and bottom block with buttons and quote */


/* quote number, quote itself & loader */

.quote-number {
    /*flex-basis: 100%;*/
    background: var(--gray_25);
    color: var(--white);
    border: none;
    margin: 20px 10px;
    border-radius: var(--input_radius);
    padding: 10px 20px;
}

.quote-cancelled {
    text-decoration:line-through !important;
    color: var(--gray_75) !important;
}

.column:first-child .quote-number {
    border-radius: var(--button_radius);
    background: var(--gray_75);
    margin: unset;
    padding: 8px 15px 6px 15px;
    margin: 0;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

.column:first-child .quote-number.current {
    background: var(--blue_75);
}

#loadSelectId {
    padding: 0;
    margin: 0;
    color: var(--white);
    height: unset;
    border: 0;
    font-weight: bold;
}

.header-bg .quote {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.header-bg .quote a {
    border: 0;
    border-radius: 0;
    background: unset;
    color: var(--blue);
    font-size: 60px;
    font-weight: 800;
    padding: 0 20px;
}

.quote-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
}

/* quote loading animation */

.quote::before {
    content: "";
    width: 40px;
    --b: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 1px;
    background: conic-gradient(#0000 10%,#000) content-box;
    -webkit-mask:
      repeating-conic-gradient(#0000 0deg,#000 1deg 20deg,#0000 21deg 36deg),
      radial-gradient(farthest-side,#0000 calc(100% - var(--b) - 1px),#000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
            mask-composite: intersect;
    animation:l4 1s infinite steps(10);
    opacity: 0;
    /*transition: all 0.5s ease-in-out;*/
    position: absolute;
    filter: invert(35%) sepia(58%) saturate(716%) hue-rotate(172deg) brightness(94%) contrast(91%);
  }

@keyframes l4 {to{transform: rotate(1turn)}}


.quote.loading::before {
    opacity: 1;
    z-index: 11;
}

.quote.loading a, .quote.loading span {
    color: transparent;
}

.header-bg .quote::before {
    left: 40px;
}

/* stepper elements */

.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 0;
    border-top: 10px solid var(--white);
    background: var(--gray);
  }

.stepper-item {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      flex: 1;
      cursor: pointer;
      position: relative;
      top: -35px;
      padding-left: 10px;
      padding-right: 10px;
      margin-bottom: -10px;

    @media (max-width: 768px) {
      font-size: 12px;
    }
  }

  .stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    font-size: 35px;
    border-radius: 50%;
    background: var(--white);
    margin-bottom: 6px;
  }

.stepper-item.active {
    font-weight: bold;
 }

  .stepper-item.completed .step-counter {
    background: linear-gradient(to top, var(--blue_75),var(--blue_75)), #fff;
    color: var(--white);
  }

  .stepper-item.active .step-counter {
    color: #f2f2f2;
    background-color: var(--blue);
  }

  .stepper-item .step-counter.active {
    background: var(--blue);
}

  .stepper-item.attention .step-counter {
    color: #f2f2f2;
    background-color: yellow;
  }

  .stepper-item.completed::after, .stepper-item.active::before {
    position: absolute;
    content: "";
    border-bottom: 2px dashed var(--gray_50);
    width: 100%;
    top: 29px;
    left: 50%;
    z-index: 3;
}


.stepper-item.active::before {
    /* height: 2px; Ñ€Ð°ÑÑÑ‚Ð¾ÑÐ½Ð¸Ðµ Ð¼ÐµÐ¶Ð´Ñƒ Ð»Ð¸Ð½Ð¸ÑÐ¼Ð¸ */
    /* border: 2px solid var(--gray_50); ÑÐ°Ð¼Ð¸ Ð»Ð¸Ð½Ð¸Ð¸ */
    /* top: 27px; Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ Ð¿Ð¾ Ð²ÐµÑ€Ñ‚Ð¸ÐºÐ°Ð»Ð¸ */
    animation: appear 5s infinite linear;
}

.stepper-item:last-child::before {
    content: none !important;
}

@keyframes appear {
    0% {clip-path: rect(0px 30px 100% 0px); }
    100% {clip-path: rect(0px 100% 100% 0px);}
}

.step-name {
    color: var(--white);
    text-transform: uppercase;
    font-size: 16px;
}

/* when there is a decorative icon inside stepper element */

.stepper-item:has(.material-symbols-outlined) {
    align-items: flex-start;
}

.stepper-item:has(.material-symbols-outlined)::before, .stepper-item:has(.material-symbols-outlined)::after {
    content: none;
}

.stepper-item .step-counter:has(.material-symbols-outlined) {
    margin-bottom: -10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stepper-item .step-counter span {
    font-size: 33px;
    color: var(--black);
    margin-left: -3px;
    cursor: default;
}

.stepper-item .step-counter.active span {
    color: var(--white);
}


/* stepper end */

/* rows & colums for form */

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: var(--white);
    /*padding-bottom: 30px;*/
}

.row .column {
    padding: 0 10px;
    text-align: left;
    flex: 1;
}

.row .column p, .row .column h1, .row .column h2 {
    margin-left: 15px;
}

.row .column a {
    margin-top: 10px;
    display: inline-block;
    line-height: 18px;
}

.contracted-dot {
    text-align: right;
    padding: 0 6px;
    font-family: 'Roboto Mono', monospace;
}

.contracted-dot a {
    margin-top: 0px !important;
}

.row .column span.note-below {
    color: var(--gray);
    /*font-size: 18px;*/
    margin-top: 10px;
    display: inline-block;
    line-height: 18px;
}

.row .column p a {
    margin-top: 0;
}

.row .column input + a {
    padding-left: 15px;
}

.row .column.input input + label {
    margin-top: 10px;
    display: inline-block;
}

.row.no-wrap {
    flex-wrap: nowrap !important;
}

/* one column 100% layout */

.row-1 {
    flex-wrap: wrap;
}

.row-1 .column {
    flex-basis: 100%;
}

/* two column 50% layout */

.row-2 .column + .column {
    margin-left: 30px;
}

.row-2 .column {
    flex-basis: 50%;
}

.row-2 label.heading-3 {
    display: block;
}

.row-30-70 .column:first-child {
    flex-basis: 30%;
}

.row-70-30 .column:first-child {
    flex-basis: 70%;
}
.row-70-30 .column:nth-child(2) {
    flex-basis: 30%;
}

/* 3 column 33% layout */

.row-3 .column {
    flex-basis: 33%;
}

/* 4 column 25% layout */

.row-4 .column {
    flex-basis: 25%;
}

.row-4 input, .row-4 select, .row-2 input, .row-2 textarea {
    width: 100%;
}

.row-6 {
    flex-wrap: wrap;
}

.row-7 {
    flex-wrap: wrap;
}

.row .column.flex_30 {
    flex-basis: 30%;
}

.row .column.flex_70 {
    flex-basis: 70%;
}

/* labels and headers */

.column h3, .column .heading-3, .widget legend {
    color: var(--black_75);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 10px;
}

h4 {
    font-size: 16px;
}

/* dashed lines */

.row.bottom-dash, .column.bottom-dash, section.bottom-dash {
    border-bottom: 2px dashed var(--gray_25);
}

.row.upper-dash  {
    border-top: 2px dashed var(--gray_25);
}

.column.bottom-dash {
    padding-bottom: 20px;
}

.row.bottom-dash {
    padding-bottom: 30px;
}

/* end rows & columns */
/* widget */

.row .column .widget {
    margin-top: 60px;
    border: 1px solid var(--gray_75);
    border-radius: var(--input_radius);
}

.row .column .header-bg .widget {
    margin-top: 20px !important;
}

.widget legend {
    position: relative;
    top: -40px;
    left: -15px;
    margin-bottom: -20px;
}

.header-bg .widget + .widget {
    margin-left: 10px;
}

fieldset {
    border: 0;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
}

.widget fieldset input:where([type="checkbox"],[type="radio"]) { /*no screen blocking by invisible inputs*/
    min-width: 0;
    width: 0;
}

/* form styling */

/* bottom next last buttons */

.header-bg .ui-button {
    background: var(--blue) !important;
    border-radius: var(--input_radius);
    color: var(--white) !important;
    text-transform: uppercase;
    font-size: 16px;
    padding: 15px 30px;
    position: relative;
    font-weight: 600;
    transition: all 0.5s ease-in-out;
}

.header-bg .ui-button.button-next::before {
    content: "Next step: ";
}

.header-bg .ui-button.button-prev::before {
    content: "Back to ";
}

.header-bg .ui-button.button-next::after, .header-bg .ui-button.button-prev::after {
    content: "";
    display: inline-block;
    position: absolute;
    right: 10px;
    top: -2px;
    width: 48px;
    height: 100%;
    background-image: url(../img/arrow.webp);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.5s ease-in-out;
}

.header-bg .ui-button.button-prev::after {
    transform: rotate(180deg);
    left: 10px;
    right: unset;
}

.header-bg .ui-button.button-next {
    padding-right: 60px;
    margin-right: 0px !important;
}

.header-bg .ui-button.button-prev {
    padding-left: 60px;
    margin-left: 10px !important;
}

.header-bg .ui-button:hover, .header-bg .ui-button:focus {
    background: var(--white) !important;
    color: var(--blue) !important;
}

.header-bg .ui-button:hover::after, .header-bg .ui-button:focus::after {
    background-image: url(../img/arrow_blue.webp);
}

/* input select checkbox etc */

.column input, .column select, .column textarea {
    border-radius: var(--input_radius);
    border: 1px solid var(--gray_75);
    padding-left: 25px;
    padding-right: 15px;
    box-sizing: border-box;
    min-width: 200px;
}

/* some overrides for JQUery UI styling */

.ui-button, .ui-button:hover, .ui-button:focus  {
    background: transparent !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: var(--black) !important;
}

.ui-state-active {
    color: inherit;
}

.ui-checkboxradio-label .ui-icon-background {
    border: 1px solid var(--gray);
    background-color: var(--white);
    box-shadow: unset;


}

.ui-state-active .ui-icon-background {
    border: 1px solid var(--blue);
    background-color: var(--blue);
    box-shadow: unset;
    background-image: url(../img/checkmark.webp) !important;
    background-size: 32px 32px;
    background-position: center;
}

.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,
.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon {
    width: 24px;
    height: 24px;
}

.ui-checkboxradio-radio-label .ui-icon,
.ui-checkboxradio-radio-label:hover .ui-icon {
    width: 29px;
    height: 29px;
}

.ui-datepicker span.ui-icon {
    position: absolute;
    margin: -13px 0 0 -15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background-color: var(--blue);
}

.ui-datepicker a.ui-datepicker-prev span.ui-icon {
    background-image: url(../img/arrow-left.webp);
}

.ui-datepicker a.ui-datepicker-next span.ui-icon {
    background-image: url(../img/arrow.webp);
}

.date-input {
    padding-left: 40px !important;
}

/*a.ui-datapicker-prev, #shippingDate1Id a.ui-datapicker-next*/

fieldset .ui-icon {
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
}

/* general button styles */

.button-normal {
    cursor:pointer;
    border-radius: var(--input_radius);
    background: var(--blue) !important;
    color: var(--white) !important;
    text-align: center;
    padding: 15px 25px 13px 25px;
    font-weight: bold;
    /*text-transform: uppercase;*/
    transition: all 0.5s ease-in-out;
    border: 3px solid transparent;
    min-width: 150px;
    font-size: 16px;
}

a.button-normal {
    text-decoration: none;
}

.button-normal:hover, .button-normal:focus {
    border: 3px solid var(--blue) !important;
    color: var(--blue) !important;
    background: var(--white) !important;
    font-weight: bold;
}

/* equal labels styling for pages with multiple fields */

.equal-labels .input {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.equal-labels .input:first-child {
    margin-top: 20px;
}

.equal-labels .input label {
    flex-basis: 20%;
    min-width: 100px;
    line-height: 1;
}

.equal-labels .input input {
    width: 100%;
}

.equal-labels .input + button {
    margin-top: 15px;
}

#divWithTextId + #buttonSaveId {
    margin-top: 10px;
}

.trust-frame {
    margin: 8px;
    width: 100px;
    height: 100px;
}

.trust-frame a {
    margin: 0px !important;
    display: inline-block;
    vertical-align: top;
}

.trust-frame a img {
    vertical-align: top;
}

.shadow-container {
    padding: 8px;
}

.shadow {
    border-radius: 8px;
    box-shadow: 4px 4px 8px; rgba(0, 0, 0, 0.5);
}

/* load-status.jsp tile */
.load-status {
    border: 5px solid var(--gray);
    border-radius: var(--input_radius);
    padding: 5px;
    margin: 5px;
    padding-bottom: 15px !important;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

.red-checkbox {
    color: rgba(255, 0, 0, 0.25);
    vertical-align: sub;
}

.green-checkbox {
    color: rgba(0, 255, 0, 1);
    vertical-align: sub;
}

.disabled-link {
    color: var(--gray_50);
}

/* footer */

footer {
    background-color: var(--black);
    color: var(--gray);
    /*
    margin-top: -12px;
    margin-bottom: -12px;
    */
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

footer .copyright {
    font-size: 12px;
    padding-left: 20px;
    line-height: 16px;
}

footer .copyright a {
    display: flex;
    color: var(--white);
    text-decoration: none;
}

footer .copyright span.material-symbols-outlined {
    font-size: 30px;
    padding-right: 10px;
    vertical-align: sub;
}

footer .footer-nav {
    color: var(--white);
    /*font-size: 12px;*/
    margin: 20px 0;
    text-transform: uppercase;
    text-align: right;
    /*line-height: 16px;*/
}

footer .footer-nav a {
    text-decoration: none;
    color: var(--white);
    padding: 0 10px;
    white-space: nowrap;
}

footer .footer-nav a.active {
    font-weight: bold;
}

footer .footer-nav a.active, footer .footer-nav a:hover {
    color: var(--light-blue);
}

footer .footer-nav a span {
    display: none;
}

/* width limit for some classes */

.width-limit, .header-image, .stepper-wrapper, .header-bg, .row, footer {
    width: 100%;
    max-width: var(--max_width);
    padding-left: var(--left_right);
    padding-right: var(--left_right);
    box-sizing: content-box;
}

textarea#messageId {
 visibility: visible;
}

/* quote page */

#carMakeId {
    width: 14em;
}

#selectModelId {
    width: 20em;
}

#selectYearId {
    width: 4em;
}

/* pop up elements on quote page */

#ui-datepicker-div {
    border-radius: var(--button_radius);
    border-color: var(--gray);
}

#ui-datepicker-div .ui-state-default, #ui-datepicker-div .ui-datepicker-title span, #ui-datepicker-div .ui-widget-header {
    border-radius: var(--button_radius);
    border: 0 !important;
}

#ui-datepicker-div .ui-state-active {
    background: var(--blue) !important;
}

.suggestions {
    display: none; /* hide at first */
    margin-top: 0;
    list-style-type: none;
    border-radius: var(--button_radius);
    padding: 15px;
    border: 1px solid var(--gray);
    background: white;
    cursor: pointer;
    li { /* overlay on top */
        z-index: 99;
        position: relative;
    }
}

/* terms */
#contractEditId {
    display: none;
}

.term-header {
    font-size: 20px;
    font-weight: bold;
}

::marker {
    font-weight: bold;
}

.customTerm, .signed {
    font-style: italic;
    color: var(--blue);
}

.widget fieldset:has(.signature) {
    flex-direction: column;
    align-items: flex-start;
}

.signature {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.signature:nth-of-type(2) .signature-date {
    margin-top: 45px;
}

.signature:nth-of-type(2) .signature-block {
    margin-top: 10px;
    display: inline-block;
}

.signature-block label {
    margin-right: 10px;
}

.signature .signature-date {
    margin-right: 20px;
}

.signature .ui-button {
    padding: 0;
}

.signature-content .signature-block:first-of-type {
    margin-right: 20px;
}

/* additional elements on payment page */
#cardDivId label {
    font-weight: 700;
    line-height: 0;
}

.crop-container {
    float: right;
    width: 302px;
    height: 90px;
    overflow: hidden;
    display: block;
    margin: auto;
    margin-top: -75px;
}

.crop-container img {
    width: 302px;
}

.align-xs-center {
    text-align: center;
}

.siteseal {
    text-align: center;
    padding-top: 30px;
}

.column:has(.button-payment) {
    text-align: center;
    margin-top: -20px;
}

/* end payment page */

/* pickup page */

/* delivery page */

.material-symbols-outlined.big-icon {
    margin: 0 auto;
    margin-top: 20px;
    cursor: default;
    color: var(--gray_25);
    font-size: 300px;
    font-variation-settings: 'wght' 300;
}

/* login page */

#buttonContinueId {
    display: inline;
    margin: 0 auto;
}

/* edit account page */

.hidden-placeholder {
    width: 0px !important;
    height: 0px !important;
    opacity: 0 !important;
}

#iconOldVisibilityId, #iconVisibilityId, #iconOldVisibilityOffId, #iconVisibilityOffId {
    margin-left: -30px;
}

.material-symbols-outlined.location-from, .material-symbols-outlined.location-to, .material-symbols-outlined.shipping-icon {
    position: relative;
    margin-right: -30px;
}

.star-rating {
    color: rgba(255, 153, 7, 0.8);
    cursor: pointer;
    vertical-align: sub;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.location-rating {
    color: var(--gray_75);
    font-weight: 300;
    cursor: pointer;
}

li {
    scroll-margin-top: 115px;
}

#iconVisibilityId, #iconOldVisibilityOffId, #iconVisibilityOffId, #iconPhoneUnverifiedId, .location-from, .location-to, .shipping-icon {
    vertical-align: sub;
}

#iconOldVisibilityOffId, #iconVisibilityOffId {
    display: none;
}

/* contact page */

div#map_canvas {
    border: 0;
    width: 100%;
}

#contactPictureId {
    position: absolute;
    width: 1;
    height: 1;
    top: -10px;
    left: -10px;
    opacity: 0;
}

/* services page */

.image {
    border-radius: var(--input_radius);
    width: 100%;
}

/* loads page */

.column button.button-normal.button-right {
    float: right;
    margin-top: -65px;
}

/* mobile adaptability */

@media (min-width:992px) and (max-width:1105px) {
    #selectModelId {
        width: 250px;
    }
    .topnav a {
        padding: 4px 6px;
    }
}

/* tablet size, general mobile menu styling */
@media (max-width:992px) {
    body {
        margin-top: 60px;
    }

    .row-2 {
        flex-wrap: wrap;
    }

    .topnav-wrapper {
        display: block;
        background: var(--gray_75);
        height: 60px;
        min-height: unset;
    }

    .topnav-wrapper.open {
        height: 100%;
    }

    .topnav-wrapper.open .topnav {
        display: flex;
    }

    .topnav-wrapper .logo-container img {
        width: unset;
        height: 45px;
        margin: 8px 20px !important;
    }

    .logo-container {
        width: 100%;
        background-color: var(--black);
        height: 60px;
        min-height: unset;
    }

    .topnav-toggle {
        position: absolute;
        width: 48px;
        height: 48px;
        line-height: 48px;
        background: none;
        border: 0;
        cursor: pointer;
        display: block;
        right: 30px;
        top: 5px;
    }

    .topnav-toggle span, .topnav-toggle span::after, .topnav-toggle span::before {
        content: "";
        display: block;
        position: relative;
        width: 24px;
        height: 3px;
        background: var(--white);
        backface-visibility: hidden;
        border-radius: 0;
        margin: auto;
        transition: .3s all ease;
    }

    .topnav-toggle span::before, .topnav-toggle span::after {
        transition-duration: .3s,.3s;
        transition-delay: .3s,0s;
        transition-property: top,transform;
    }

    .topnav-wrapper.open .topnav-toggle span:before,  .topnav-wrapper.open .topnav-toggle span:after {
        transition-delay: 0s, .3s;
    }

    .topnav-toggle span::before {
        top: 8px;
    }

    .topnav-toggle span::after {
        top: -11px;
    }

    .topnav-wrapper.open .topnav-toggle span {
        background: transparent;
    }

    .topnav-wrapper.open .topnav-toggle span:before {
        transform: rotate(45deg);
        top: 0;
    }
    .topnav-wrapper.open .topnav-toggle span:after {
        transform: rotate(-45deg);
        top: -3px;
    }

    .topnav {
        position: absolute;
        top: 60px;
        height: 100%;
        width: 100%;
        display: none;
        backdrop-filter: blur(10px);
        background-color: rgb(var(--black_rgb),0.75);
    }

    .topnav, .topnav .left {
        flex-direction: column;
        flex-basis: auto;
        width: auto;
    }

    .topnav {
        align-content: space-evenly;
        padding-left: 20px;
        padding-right: 20px;
    }

    .row-1, .row-3, .row-4 {
        flex-wrap: wrap;
    }

    .row-2 .column + .column {
        margin-left: 0;
    }

    .row-3 .column:first-child {
        flex-basis: 100%;
    }

    .row-4 .column {
        flex-basis: 45%;
    }

    #selectModelId, #selectYearId {
        width: 100%;
    }

    .quote-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-bottom a {
        padding-left: 15px;
    }

    .header-image .quote, .header-image h1 {
        flex-basis: unset;
    }

    .header-image .quote {
        margin-right: 15px;
    }

    .equal-labels .input label {
        flex-basis: 40%;
    }
}

@media (max-width:916px) {
    .header-image h1 {
        font-size: 40px;
    }

    .crop-container {
        float: none;
        margin-top: 10px;
        text-align: center;
    }

    #buttonDepositId {
        max-width: 400px;
        flex-direction: column;
        text-align: center;

    }
    #buttonDepositId::after {
        margin-top: 15px;
    }
}

/* large phone size */
@media (max-width:576px) {
    .header-bg .quote a, .header-image h1 {
        font-size: 30px;
    }

    .header-image h1 {
        max-width: 85%;
    }

    .widget legend {
        white-space: nowrap;
    }

    .signature {
        flex-direction: column;
    }

    .align-xs-center {
        text-align: center;
    }

    #cardDivId .container {
        max-width: 300px;
        max-height: 200px
    }

    #cardDivId input {
        min-width: unset;
    }

    .row-5 {
        padding-bottom: 5px;
    }

    .row-5 .column {
        padding: 0 5px;
        line-height: 1;
        font-size: 14px;
    }
    .row-5 .column a {
        font-size: 14px;
    }

    #buttonContinueId {
        margin-top: 15px;
    }

    .equal-labels .input {
        flex-wrap: wrap;
    }
    .equal-labels .input label {
        flex-basis: 100%;
    }

    .equal-labels #emailId {
        max-width: calc(100% - 25px);
    }

    .sticky-wrapper.right {
        display: none;
    }
}

@media (max-width: 476px) {
    .header-image .quote a {
        font-size: 40px;
    }
    .quote-bottom a {
        font-size: 16px;
        padding-left: 20px;
    }

    .stepper-item .step-counter {
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
    .stepper-item .step-counter span {
        font-size: 25px;
    }

    .stepper-item {
        top: -25px;
        padding-left: 3px;
        padding-right: 3px;
    }

    .stepper-item:first-of-type {
        padding-left: 10px;
    }
    .stepper-item:last-of-type {
        padding-right: 10px;
    }

    .stepper-wrapper {
        border-width: 5px;
    }

    .step-name {
        font-size: 14px;
    }

    #cardDivId .field-container label {
        font-size: 14px;
        white-space: nowrap;
    }

    .button-normal {
        min-width: unset;
    }

    .column a.button-normal.button-right {
        float: none;
        margin: 0;
    }

    .option-arrows {
        display: none;
    }

    .quote-step1 {
        float: left; /*when too narrow - push other content down*/
    }

    .left-of-quote-step1 {
        clear: left; /* not too narrow */
    }

    .car-delivered {
        max-width: 366px !important;
    }

    .delivered-row {
        max-width: 366px !important;
    }

    .delivered-column {
        max-width: 181px !important;
    }

    .delivered-image {
        width: 180px;
    }
}

/* small phone size */
@media (max-width: 376px) {
    .header-image {
        background-position: 60% center;
    }

    .header-bg {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-bottom {
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
    }

    .quote-bottom a {
        margin-bottom: 10px;
    }

    .header-bg .ui-button {

        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .header-bg .widget + .widget {
        margin-left: 0;
        margin-top: 10px;
    }

    .header-bg .widget:has(.button-next),     .header-bg .widget:has(.button-prev) {
        text-align: center;
        width: 100%;
    }

    .step-name {
        font-size: 12px;
    }

    .header-image .quote a {
        font-size: 50px;
    }

    #cardDivId .container {
        max-width: 240px;
        max-height: 170px;
        padding: 0;
        padding-bottom: 25px;
    }

    #cardDivId .form-container {
        padding: 10px;
    }

    .crop-container {
        width: 100%;
        height: auto;
    }

    .crop-container img {
        width: 100%;
    }
}


/* limits for large screen size */

@media(min-width:992px) {
    .row-2 .column input, .row-2 .column select, .row-2 .column textarea {
        max-width: 50vw;
    }

    .equal-labels .input input {
        max-width: 30vw;
        min-width: 350px;
    }
}

/* modal popup */
.overlay {
    background-color:rgba(0,0,0,0.8);
    position:fixed;
    top:0;
    left:0;
    height:100%;
    width:100%;
    z-index:998;
    /*text-align: center;*/
}

.modal-popup {
    margin-top: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.modal-popup h2 {
    text-align: center;
}

.modal-popup .row {
    background-color: transparent;
    padding-bottom: 0;
}

.centered {
    display: block;
    margin: auto;
}

.car-delivered {
    max-width:404px;
    border: 1px solid var(--blue_50);
    border-radius: 4px;
    margin-bottom: 4px;
}

.car-delivered-title {
    text-align: center;
    max-width: 400px;
    line-height: 19px;
}

.no-wrap-container {
    overflow: hidden;
}

.no-wrap-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delivered-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 404px;
    margin-bottom: -8px;
}

.delivered-column {
    flex: 1;
    max-width: 200px;
    margin-bottom: -2px;
    padding: 0 1px !important;
}

.delivered-image {
    border-radius: 4px;
}

.help-icon {
    color: var(--gray_50);
    cursor: pointer;
    vertical-align: sub;
}

/* to make sure the header text is wrapped and not above cards */

@media(min-width:577px) {
    .column:has(h1 + .crop-container) h1 {
        margin-right: 300px;
    }
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}

/* tables */
table {
    border: 1px solid var(--blue_25);
}

thead {
    background-color: var(--blue_25);
}

tbody {
    font-size: 12px;
    opacity: 0.8;
    overflow-y: auto;
}

tbody tr {
    line-height: 16px;
}

tbody tr.current, .car-delivered.current {
    color: rgba(255, 87, 34, 1);
    background-color: rgba(255, 255, 64, 0.75);
}