/* general styling */

/* end appt-content */
:host {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
    display: block !important;
}

@media (min-width: 576px) {
    :host {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    :host {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    :host {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    :host {
        max-width: 1140px;
    }
}

/* end appt-content */

/* row */
div#apptdiv .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
    box-sizing: border-box;
}

div#apptdiv .row > * {
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}
/* row */

/* col */
.col {
    flex: 1 0 0%;
    box-sizing: border-box;
}

.col-6 {
    flex: 0 0 auto;
    width: 50%;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .col-sm-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) {
    .col-md-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
        box-sizing: border-box;
    }

    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
        box-sizing: border-box;
    }

    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
        box-sizing: border-box;
    }

    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
        box-sizing: border-box;
    }

    .col-md-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
        box-sizing: border-box;
    }

    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
        box-sizing: border-box;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
        box-sizing: border-box;
    }
}
/* end col */

/* utilities */
.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.order-md-last {
    order: 0;
}

@media (min-width: 768px) {
    .order-md-last {
        order: 999;
    }
}

.w-100 {
    width: 100%;
}

.d-none {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-start {
    text-align: left;
}

.fs-5 {
    font-size: 1.25rem;
}

.lh-sm {
    line-height: 1.25;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.mb-3 {
    margin-bottom: 1rem;
}

.min-vh-100 {
    min-height: 100vh;
}

.rounded-pill {
    border-radius: 50rem;
}

/* end utilities */

/* btn */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover:not(:disabled) {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-warning {
    color: #000;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-warning:hover:not(:disabled) {
    background-color: #ffca2c;
    border-color: #ffc720;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
    background-color: transparent;
}

.btn-outline-primary:hover:not(:disabled),
.btn-check:checked + .btn-outline-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-group {
    display: inline-flex;
    position: relative;
    vertical-align: middle;
    gap: 0;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.btn-group .btn:last-child {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.btn-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
/* end btn */

/* form-cntrol */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-sizing: border-box;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

.form-control:disabled {
    background-color: #e9ecef;
    opacity: 1;
}

textarea.form-control {
    resize: vertical;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #212529;
}
/* end form control */

/* form float */
.form-floating {
    position: relative;
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    min-height: calc(3.5rem + 2px);
    padding: 1.625rem 0.75rem 0.625rem;
}

.form-floating > .form-label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    transform-origin: 0 0;
    transition:
        opacity 0.1s ease-in-out,
        transform 0.1s ease-in-out;
    color: #6c757d;
}

.form-floating > .form-control:focus ~ .form-label,
.form-floating > .form-control:not(:placeholder-shown) ~ .form-label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
/* end form float */

/* accordion */
.accordion {
    width: 100%;
    box-sizing: border-box;
}

.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    background-color: #fff;
}
/*
.accordion-header {
    background-color: #cfe2ff;
    color: #000;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
}

.accordion-header span {
    margin-left: 0.25rem;
    color: mediumvioletred;
}
*/
.accordion-body {
    padding: 1rem;
    background-color: #fff;
}

.accordion-collapse {
    display: none;
}

.accordion-collapse.show {
    display: block;
}

.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50rem;
}

.bg-primary {
    background-color: #0d6efd;
    color: #fff;
}

.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 0.375rem;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1rem;
    color: #212529;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}

.list-group-item + .list-group-item {
    border-top-width: 0;
}

/* end accordion */

/* typography */

:host {
    font-family:
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

/* headings */

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* text */

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

small {
    font-size: 0.875em;
}

strong {
    font-weight: 700;
}

/* links */

a {
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}

a:hover {
    color: #0a58ca;
}

/* responsive typography */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }
}
/* end typography */

/* alert */
.alert {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #0f5132;
    background-color: rgb(209, 231, 221);
    border-color: #badbcc;
}

.alert-heading {
    color: inherit;
}
/* end alert */

/* end general styling */


/*custom modal */
.custom-modal {
    /*display: flex !important;*/
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;

    align-items: center;
    justify-content: center;
}

.custom-modal.show {
    display: flex;
}

.custom-modal-dialog {
    background: white;
    border-radius: 8px;
    padding: 24px;
    width: min(420px, 90vw);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.custom-modal-header {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.custom-modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.custom-modal-body {
    margin-top: 12px;
}

.custom-modal-title {
    margin: 0;
}

.custom-modal-close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.digit-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.digit-col {
    flex: 0 0 auto;
}

.digit-row input {
    width: 48px;
    text-align: center;
    font-size: 1.5rem;
}

.custom-modal-error {
    margin-top: 12px;
    color: red;
    text-align: center;
}

.custom-modal-retry {
    margin-top: 16px;
    text-align: center;
}

.digit-row input.form-control {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    text-align: center;
    font-size: 1.5rem;
    padding: 6px;
}

/*end custom modal*/

span.badge.bg
        {
            font-size: 2em;
        }

        a.fs:hover
        {
            color: darkgreen;
            cursor: pointer;
        }
        .error
        {
            height: 15px;
            background-color: #FFFE36;
            font-size: 11px;
            border: 1px solid #E1E16D;
            padding: 4px 10px;
            color: #000;
            display: none;
            -moz-border-radius: 4px;
            -webkit-border-radius: 4px;
            -moz-border-radius-bottomleft: 0;
            -moz-border-radius-topleft: 0;
            -webkit-border-bottom-left-radius: 0;
            -webkit-border-top-left-radius: 0;
            -moz-box-shadow: 0 0 6px #ddd;
            -webkit-box-shadow: 0 0 6px #ddd;
        }
        
        .error p
        {
            margin: 0;
        }
        
        a
        {
            cursor: pointer !important;
        }
        
        fieldset#makeandmodel p, fieldset#makeandmodel label, fieldset#makeandmodel input, fieldset#makeandmodel select
        {
            display: inline-block;
            margin-right: 10px;
        }
        
        fieldset#makeandmodel input, fieldset#makeandmodel select
        {
            min-width: 100px;
        }
        
        .button-link
        {
            display: none;
        }
        
        div.activeStep .button-link
        {
            /*padding: 10px 15px;*/
            display: inline;
            color: #E5E4E2;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
            -webkit-transition-duration: 0.2s;
            -moz-transition-duration: 0.2s;
            transition-duration: 0.2s;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            width: 50px;
            font-weight: bold;
            text-align: center;
            cursor: pointer;
            -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
            -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
            background: #FF6600;
            border: solid 1px #20538D;
        }
        
        
        .button-link:hover
        {
            background: #356094;
            border: solid 1px #2A4E77;
            text-decoration: none;
        }
        /*
.button-link {
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    background: #2E5481;
    border: solid 1px #203E5F;
}
*/
        
        
        /* the overlayed element */
        .apple_overlay
        {
            /* initially overlay is hidden */ /*display:none;*/ /* growing background image */
            /*background-image: url(/media/white.png);
            background: #fff url('Media/bk_popup_white.png') repeat-y fixed left bottom;*/
            border-radius: 8px;
            border: 2px #ccc solid; /*
      width after the growing animation finishes
      height is automatically calculated
      */
            width: 640px; /* some padding to layout nested elements nicely  */
            padding: 35px; /* a little styling */
            font-size: 11px;
        }
        
        div#apple
        {
            display: none; /*
      width after the growing animation finishes
      height is automatically calculated
      */
            width: 640px; /* some padding to layout nested elements nicely  */
            padding: 35px;
        }
        
        /* default close button positioned on upper right corner */
        .apple_overlay .close
        {
            /*background-image: url('Media/close.png');*/
            position: absolute;
            right: -50px;
            top: 15px;
            cursor: pointer;
            height: 35px;
            width: 35px;
        }
        
        div.activeStep, div.inactiveStep
        {
            padding-bottom: 15px;
        }
        
        div.activeStep div.steps
        {
            background: -moz-linear-gradient(center top , #F4F1E4, #D4D0C2) repeat-x scroll left bottom #F4F1E4 !important;
            color: #000000 !important;
        }
        
        div.inactiveStep div.section
        {
            display: none;
        }
        
        .steps
        {
            background: -moz-linear-gradient(center top , #F2F0EC, #E5E2D7) repeat-x scroll left bottom #F2F0EC;
            color: #999999;
            font-size: 18px;
            font-weight: bold;
            line-height: 30px;
            margin-top: 2px;
            padding: 0px 12px;
            border-radius: 4px;
            overflow: hidden;
        }
        #pricing-wrapper
        {
            color: #616161;
            font-family: Arial;
            line-height: 1;
        }
        
        div#price_table
        {
            background-color: #FFFFFF;
            border: 1px solid #DEDEDE;
            border-radius: 5px 5px 5px 5px;
            float: left;
            font-size: 13px;
            margin-bottom: 21px;
            margin-top: 21px;
        }
        
        #price_table #border
        {
            padding: 10px;
            text-align: center;
        }
        #price_table div
        {
            background-color: #FFFFFF;
        }
        
        #price_table .column.primary
        {
            background: none repeat scroll 0 0 #F8F8F8;
        }
        #price_table .column
        {
            float: left;
            margin-left: 1px;
            width: 31%;
        }
        
        div.product ul li
        {
            /* border-bottom: 1px solid #E3E3E3;*/
            overflow: hidden;
        }
        
        div.product ul li div.details
        {
            overflow: hidden;
            background: -moz-linear-gradient(center right , #FFFFFF, #F7ECB1) repeat-x scroll left bottom #FFFFFF; /*	background-color: #1a82f7; 
	background-image: url(images/linear_bg_1.png); 
	background-repeat: repeat-y; */ /* Safari 4-5, Chrome 1-9 
	background: -webkit-gradient(linear, left top, right top, from(#1a82f7), to(#2F2727)); 
	/* Safari 5.1, Chrome 10+  
	background: -webkit-linear-gradient(left, #2F2727, #1a82f7); 
	/* Firefox 3.6+ 
	 background: -moz-linear-gradient(left, #2F2727, #1a82f7); 
	/* IE 10 
	 background: -ms-linear-gradient(left, #2F2727, #1a82f7); 
	/* Opera 11.10+ 
	background: -o-linear-gradient(left, #2F2727, #1a82f7);*/
            min-height: 130px;
        }
        
        div.product ul li div.summary, div#cart div.summary
        {
            border-bottom: 1px solid #E3E3E3;
            min-height: 105px;
            overflow: hidden;
        }
        
        div.product ul li div.summary, div#cart div#time, div.product ul li div.summary, div#cart div#service
        {
            min-height: auto;
        }
        
        
        #price_table .header, div.product ul li div.name, div#cart div.summary div.name, div#cart div.summary div.vehicle
        {
            color: #000000;
            font-size: 24px;
            font-style: normal;
            font-weight: bold; /*    letter-spacing: -1px;*/
            margin-bottom: 0;
            padding: 5px 0;
            text-align: center;
            text-shadow: 3px 3px 3px #cdcdcd;
        }
        
        #price_table .header div.price, div.product ul li div.price, div#cart div.summary div.price, div#cart div#time, div.summary
        {
            clear: both;
            color: darkred; /*    float: left;*/
            font-size: 18px;
            line-height: 38px;
            width: 100%;
            text-align: center;
            font-weight: bold;
        }
        
        #price_table .included
        {
        }
        
        ul
        {
            list-style: none;
            text-decoration: none;
        }
        
        div.product ul
        {
        }
        #pricing-wrapper ol, #pricing-wrapper ul
        {
            list-style: none outside none;
            padding-left: 1em;
        }
        
        #price_table .column li
        {
            /*background: url("img/bullet.gif") no-repeat scroll 14px 6px transparent;*/
            border-bottom: 1px solid #E3E3E3;
            border-top: 1px solid white;
            line-height: 24px;
            padding-left: 45px;
            text-align: left;
        }
        
        li
        {
            display: list-item;
        }
        
        #price_table .footer
        {
            border-top: 1px solid white;
            height: 30px;
            padding-bottom: 20px;
            padding-top: 20px;
            text-align: center;
        }
        
        .glyph div
        {
            font-family: sans-serif;
            font-size: .5em;
            text-align: center;
        }

        .form-control-like {
            display: block; /* Ensures it behaves like a block element */
            width: 100%; /* Full width */
            padding: .375rem .75rem; /* Same padding as Bootstrap */
            font-size: 1rem; /* Same font size */
            line-height: 1.5; /* Same line height */
            color: #212529; /* Default text color */
            background-color: #f8f9fa; /* Default background color */
            border: 1px solid #ced4da; /* Default border */
            border-radius: .25rem; /* Default border radius */
            overflow: auto; /* Allow scrolling if needed */
            min-height: 3rem; /* Set a minimum height */
        }
        .accordion-header {
            background-color: rgb(207,226,255);
            padding:1%;
            color: black;
            border-bottom:1px solid lightgray;
        }

        .accordion-header span {
            margin-left: 3px;
            color: mediumvioletred;
        }

        .scroll-target {
            scroll-margin-top: 1rem; /* Adjust based on your needs */
        }

        /* modal styles*/
        #digitModal .modal-dialog {
            max-width: 90%;
            width: auto;
            margin: 30px auto;
        }

        #digitModal .modal-content {
            width: auto;
            max-width: 350px;
            margin: 0 auto;
        }

        #digitModal .form-control {
            font-size: 2rem;
            text-align: center;
            padding: 0.5rem;
            width: 100%;
            height: 60px;
        }

        #digitModal .form-row {
            display: flex;
            justify-content: center;
            gap: 5px;
        }

        #digitModal .col {
            flex: 1 1 16.6667%;
            padding: 0;
        }

        #digitModal .modal-body {
            padding: 20px;
        }

        #digitModal .modal-footer {
            display: flex;
            justify-content: space-between;
        }

        #digitModal input[readonly] {
            pointer-events: none;
        }

        @media (max-width: 768px) {
            #digitModal .form-control {
                font-size: 1.6rem;
                height: 50px;
            }
        }

        @media (max-width: 480px) {
            #digitModal .form-control {
                font-size: 1.4rem;
                height: 45px;
            }
        }
        /* end modal styles*/