/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 300px;
    margin-top: 70px;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

a {
    color: #337ab7;
    text-decoration: none;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 300px;
    background-color: white;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.footer h6 {
    font-size: 12px;
    margin-bottom: 15px;
}


/* Sticky footer styles ends
-------------------------------------------------- */

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

.h3, h3 {
    font-size: 24px;
}

.h4, .h5, .h6, h4, h5, h6 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.h4, h4 {
    font-size: 18px;
}

@media (min-width: 1200px) {
    body .h4, body h4 {
        font-size: 1.1rem !important;
    }
}

.h5, h5 {
    font-size: .9rem;
}

.h6, h6 {
    font-size: 0.7rem;
}

img {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}


/* Google map
-------------------------------------------------- */

.map-container {
    width: 100%;
    -webkit-filter: sepia(20%);
    filter: sepia(20%);
}

.map-container iframe {
    width: 100%;
    display: block;
    pointer-events: none;
    position: relative;
    height: 300px;
    border: 0;
}

.map-container iframe.clicked {
    pointer-events: auto;
}

.dropdown-menu>li>a {
    color: #e6891f;
    font-size: 15px;
}

.bg-contact {
    background-image: url("~/../../images/bg-contact.png");
    background-position-x: center;
    background-position-y: bottom;
    background-size: cover;
    padding: 20px 0;
}

@media (max-width: 767px) {
    .bg-contact {
        padding-bottom: 0;
    }
}

.bg-404 {
    background-image: url("~/../../images/404-bg.jpg");
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
}

.bg-faq {
    background-image: url("~/../../images/faq-bg.png");
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.bg-how-it-works {
    background-image: url("~/../../images/how-it-works-bg.jpg");
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
}

.bg-about-us {
    background-image: url("~/../../images/about-bg.png");
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
}

@media screen and (min-width: 1800px) {
    .bg-about-us {
        max-width: 1800px;
        margin: 0 auto;
    }
}

.navbar {
    min-height: 70px;
}

.navbar-default {
    background-color: white;
    border-color: white;
}

.navbar-toggle {
    margin-top: 16px;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #e6891f;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 0;
}


.navbar-default .navbar-nav>li>.btn-green:focus,
.navbar-default .navbar-nav>li>.btn-green:hover {
    background-color: #4a7c0f;
}

.navbar-default .navbar-nav>li>a {
    color: #e6891f;
    font-size: 15px;
    padding: 10px 20px;
}

.desktop {
    margin: 5%;
    padding: 30px 25px;
    background: #f3f3f3;
    border-radius: 25px;
    -webkit-box-shadow: 5px 5px 44px -9px rgba(0, 0, 0, 1);
    -moz-box-shadow: 5px 5px 44px -9px rgba(0, 0, 0, 1);
    box-shadow: 5px 5px 44px -9px rgba(0, 0, 0, 1);
}

.panel-default {
    border-radius: 2px 20px 2px 20px;
}

.panel-body {
    padding-top: 12px;
    padding-bottom: 5px;
}

.panel {
    margin-bottom: 10px;
}

.panel-default>.panel-heading {
    padding: 5px 15px;
    color: white;
    background-color: #e6891f;
    border-color: #e6891f;
    border-radius: 2px 20px 2px 2px;
}

.btn-green {
    background: #578b1a;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 28px;
    font-weight: 700;
    display: inline-block;
    transition: all .25s ease;
    text-decoration: none;
}

.btn-green:hover,
.btn-green:focus {
    background: #4a7c0f;
    color: white;
    text-decoration: none;
}


/*Row with equal height columns*/

.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

.row-eq-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.text-box-left {
    padding: 5% 10% 5% 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.text-box-right {
    padding: 5% 5% 5% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.img-container-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2%;
}

.img-container-right img {
    max-width: 100%;
    height: auto;
}

#mastercard img {
    max-width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

.navbar-brand {
    padding: 12px 15px;
}

.logo {
    height: 45px;
    width: auto;
}

.green {
    color: #578b1a;
}

.orange {
    color: #e6891f;
}

.white {
    color: white;
}

.gray {
    color: #7a7a7a;
}

.black {
    font-weight: 700;
}

.fa-2x {
    color: #333;
}

.fa-2x:hover {
    color: #e6891f;
}

.bg {
    background-image: url("~/../../images/bg.png");
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 10px;
}

.cars-sold-today {
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.4);
    margin: 20px;
    padding: 20px;
}

.slick-prev:before {
    font-family: 'FontAwesome';
    content: "\f053";
    color: #e6891f;
    font-size: 25px;
    display: block;
}

.slick-next:before {
    font-family: 'FontAwesome';
    content: "\f054";
    color: #e6891f;
    font-size: 25px;
    display: block;
}

.slick-prev {
    left: -15px;
}

.slick-next {
    right: -15px;
}

.slick-slide {
    outline: none;
}

.slide-item {
    border: 1px solid #000000;
    padding: 10px;
    margin: 10px;
    min-height: 280px;
    overflow-y: none;
    position: relative;
}

.slick-dots li.slick-active button:before {
    opacity: .5;
    color: black;
}

.slick-dots li button:before {
    font-size: 10px;
    opacity: .25;
    color: black;
}

.slider-car .slick-slide.slick-active img {
    transform: scale(1.2) !important;
}

.fa-star {
    color: #daaf02;
}

.google-icon {
    height: 18px;
    width: auto;
    display: inline !important;
    margin-right: 5px;
}

.google-link {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 5px;
}

.brand-logo {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.has-error .form-control {
    border-color: #a94442;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    background-color: rgba(224, 43, 26, 0.1);
}

.has-error .form-control:focus {
    background-color: transparent;
}

.radio-group.has-error {
    border: 2px solid #e02b1a;
    background: rgba(224, 43, 26, 0.1);
    border-radius: 6px;
}

.nopadding {
    padding: 0;
    margin: 0;
}

select.input-sm {
    height: 25px;
}

.form-select {
    padding: 0 5px !important;
}

hr {
    margin: 30px -15px 20px;
    border: 0;
    border-top: 1.5px solid #c9c7c7;
}

.sticky-btn {
    display: none;
}

.sticky-btn-show {
    position: fixed;
    display: block;
    opacity: 1;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
    background: #f3f3f3;
    border-top: 1px solid #a7a7a7;
    z-index: 1000;
    display: block;
}

.input-sm {
    height: 25px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: table-cell;
    white-space: nowrap;
    vertical-align: middle;
    width: 1%;
}

.input-group-addon:first-child {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-addon:last-child {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group {
    display: table;
    border-collapse: separate;
}

.input-group .form-control {
    display: table-cell;
    width: 100%;
}

.input-group .form-control:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.input-group .form-control:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.input-group .form-control:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.input-group .form-control {
    font-size: 14px;
    color: #999;
}

.input-group .form-control::placeholder {
    color: #999;
    font-size: 14px;
}

/* Contact form field spacing */
.contact-field {
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-field::placeholder {
    font-size: 14px;
}

.animated {
    animation-duration: 1s;
    animation-delay: 3s;
}

.animated.infinite {
    animation-iteration-count: 3;
}


/*Use this class when you want your content to be hidden*/

.BeforeScroll {
    height: 100px;
    /*Whatever you want*/
    width: 100%;
    /*Whatever you want*/
    display: none;
}


/*Use this class when you want your content to be shown after some scroll*/

.AfterScroll {
    height: 100px;
    /*Whatever you want*/
    width: 100%;
    /*Whatever you want*/
    display: block;
}

.phone-number:focus {
    border-color: #a94442;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(169, 68, 66, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(169, 68, 66, .6);
}

@media only screen and (max-width: 767px) {
    .cars-sold-today {
        box-shadow: none;
        margin: 0;
    }
    .bg {
        background-image: url("~/../../images/bg-mobile.png");
        background-position-x: center;
        background-position-y: center;
        background-size: cover;
    }
    .form-group {
        margin-bottom: 8px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .cars-sold-today {
        box-shadow: none;
        margin: 0;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1220px) {}

@media only screen and (max-width: 450px) {
    .h1,
    h1 {
        font-size: 30px;
    }
    .h6,
    h6 {
        font-size: 10px;
    }
}

.snow {
    background: #e6891f;
    background-image: url('../images/snow-medium.png'), url('../images/snow-small.png'), url('../images/snow-small.png');
    width: 100%;
    z-index: 1;
    -webkit-animation: snow 20s linear infinite;
    -moz-animation: snow 20s linear infinite;
    -ms-animation: snow 20s linear infinite;
    animation: snow 20s linear infinite;
}

@keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    50% {
        background-position: 500px 500px, 100px 200px, -100px 150px;
    }
    100% {
        background-position: 500px 1000px, 200px 400px, -100px 300px;
    }
}

@-moz-keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    50% {
        background-position: 500px 500px, 100px 200px, -100px 150px;
    }
    100% {
        background-position: 400px 1000px, 200px 400px, 100px 300px;
    }
}

@-webkit-keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    50% {
        background-position: 500px 500px, 100px 200px, -100px 150px;
    }
    100% {
        background-position: 500px 1000px, 200px 400px, -100px 300px;
    }
}

@-ms-keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    50% {
        background-position: 500px 500px, 100px 200px, -100px 150px;
    }
    100% {
        background-position: 500px 1000px, 200px 400px, -100px 300px;
    }
}

/* Bootstrap 5 Migration Compatibility */

/* Navbar fixes for Bootstrap 5 */
.navbar-light {
    background-color: white !important;
    border-color: white;
}

.navbar-light .navbar-nav .nav-link {
    color: #e6891f;
    font-size: 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #d67a1a;
}

/* GET STARTED button in navbar */
.navbar-light .navbar-nav .nav-link.btn-green {
    background: #578b1a !important;
    color: white !important;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 0;
    margin-left: 10px;
}

.navbar-light .navbar-nav .nav-link.btn-green:hover,
.navbar-light .navbar-nav .nav-link.btn-green:focus {
    background: #4a7c0f !important;
    color: white !important;
}

/* Mobile hamburger menu styling */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23e6891f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu GET STARTED button full width */
@media (max-width: 991px) {
    .navbar-light .navbar-nav .nav-link.btn-green {
        width: 100%;
        text-align: left;
        margin-left: 0;
        margin-top: 10px;
    }
}

.navbar-default {
    background-color: white;
    border-color: white;
}

.navbar-fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

/* Dropdown menu fixes */
.dropdown-menu {
    border: none;
    background-color: transparent;
}

.dropdown-item {
    color: #6c757d !important;
    font-size: 15px;
    background-color: transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: transparent;
    color: #6c757d !important;
}

/* Gray text when dropdown is open - mobile only */
.navbar-light .navbar-nav .nav-item.dropdown.show > .nav-link {
    background-color: transparent !important;
    color: #6c757d !important;
}

.navbar-light .navbar-nav .nav-item.dropdown.show > .nav-link:hover,
.navbar-light .navbar-nav .nav-item.dropdown.show > .nav-link:focus {
    color: #6c757d !important;
}

/* Desktop dropdown styles - white background, orange text */
@media (min-width: 992px) {
    .dropdown-menu {
        background-color: white !important;
        border: 1px solid rgba(0, 0, 0, 0.15);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    }
    
    .dropdown-item {
        color: #e6891f !important;
        background-color: white;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #f8f9fa;
        color: #d67a1a !important;
    }
    
    .navbar-light .navbar-nav .nav-item.dropdown.show > .nav-link {
        background-color: transparent !important;
        color: #e6891f !important;
    }
}

/* Hidden/Visible classes for Bootstrap 5 */
.hidden-xs {
    display: none !important;
}

@media (min-width: 576px) {
    .hidden-xs {
        display: block !important;
    }
}

.hidden-sm {
    display: none !important;
}

@media (min-width: 768px) {
    .hidden-sm {
        display: block !important;
    }
}

@media (max-width: 767.98px) {
    .hidden-sm {
        display: none !important;
    }
}

.hidden-md {
    display: none !important;
}

@media (min-width: 992px) {
    .hidden-md {
        display: block !important;
    }
}

.hidden-lg {
    display: none !important;
}

@media (min-width: 1200px) {
    .hidden-lg {
        display: block !important;
    }
}

.visible-xs {
    display: none !important;
}

@media (max-width: 575.98px) {
    .visible-xs {
        display: block !important;
    }
}

.visible-sm {
    display: none !important;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .visible-sm {
        display: block !important;
    }
}

.visible-md {
    display: none !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .visible-md {
        display: block !important;
    }
}

.visible-lg {
    display: none !important;
}

@media (min-width: 992px) {
    .visible-lg {
        display: block !important;
    }
}

/* Grid system backwards compatibility */
@media (max-width: 575.98px) {
    .col-xs-1 { width: 8.333333%; }
    .col-xs-2 { width: 16.666667%; }
    .col-xs-3 { width: 25%; }
    .col-xs-4 { width: 33.333333%; }
    .col-xs-5 { width: 41.666667%; }
    .col-xs-6 { width: 50%; }
    .col-xs-7 { width: 58.333333%; }
    .col-xs-8 { width: 66.666667%; }
    .col-xs-9 { width: 75%; }
    .col-xs-10 { width: 83.333333%; }
    .col-xs-11 { width: 91.666667%; }
    .col-xs-12 { width: 100%; }
    
    .col-xs-offset-1 { margin-left: 8.333333%; }
    .col-xs-offset-2 { margin-left: 16.666667%; }
    .col-xs-offset-3 { margin-left: 25%; }
    .col-xs-offset-4 { margin-left: 33.333333%; }
    .col-xs-offset-5 { margin-left: 41.666667%; }
    .col-xs-offset-6 { margin-left: 50%; }
    .col-xs-offset-7 { margin-left: 58.333333%; }
    .col-xs-offset-8 { margin-left: 66.666667%; }
    .col-xs-offset-9 { margin-left: 75%; }
    .col-xs-offset-10 { margin-left: 83.333333%; }
    .col-xs-offset-11 { margin-left: 91.666667%; }
}

@media (min-width: 576px) {
    .col-sm-offset-1 { margin-left: 8.333333%; }
    .col-sm-offset-2 { margin-left: 16.666667%; }
    .col-sm-offset-3 { margin-left: 25%; }
    .col-sm-offset-4 { margin-left: 33.333333%; }
    .col-sm-offset-5 { margin-left: 41.666667%; }
    .col-sm-offset-6 { margin-left: 50%; }
    .col-sm-offset-7 { margin-left: 58.333333%; }
    .col-sm-offset-8 { margin-left: 66.666667%; }
    .col-sm-offset-9 { margin-left: 75%; }
    .col-sm-offset-10 { margin-left: 83.333333%; }
    .col-sm-offset-11 { margin-left: 91.666667%; }
}

@media (min-width: 768px) {
    .col-md-offset-1 { margin-left: 8.333333%; }
    .col-md-offset-2 { margin-left: 16.666667%; }
    .col-md-offset-3 { margin-left: 25%; }
    .col-md-offset-4 { margin-left: 33.333333%; }
    .col-md-offset-5 { margin-left: 41.666667%; }
    .col-md-offset-6 { margin-left: 50%; }
    .col-md-offset-7 { margin-left: 58.333333%; }
    .col-md-offset-8 { margin-left: 66.666667%; }
    .col-md-offset-9 { margin-left: 75%; }
    .col-md-offset-10 { margin-left: 83.333333%; }
    .col-md-offset-11 { margin-left: 91.666667%; }
}

@media (min-width: 992px) {
    .col-lg-offset-1 { margin-left: 8.333333%; }
    .col-lg-offset-2 { margin-left: 16.666667%; }
    .col-lg-offset-3 { margin-left: 25%; }
    .col-lg-offset-4 { margin-left: 33.333333%; }
    .col-lg-offset-5 { margin-left: 41.666667%; }
    .col-lg-offset-6 { margin-left: 50%; }
    .col-lg-offset-7 { margin-left: 58.333333%; }
    .col-lg-offset-8 { margin-left: 66.666667%; }
    .col-lg-offset-9 { margin-left: 75%; }
    .col-lg-offset-10 { margin-left: 83.333333%; }
    .col-lg-offset-11 { margin-left: 91.666667%; }
}

/* Form control fixes */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Pull classes */
.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

/* Center block */
.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Text alignment */
.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}
