﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #ffffff;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-primary-white {
    color: #D4002A !important;
    background-color: white !important;
    border: 2px solid !important;
    border-color: #D4002A !important;
}

.btn-primary-green {
    color: white !important;
    background-color: green !important;
    border: 0px solid !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 16px;
}

.horizontal-div {
    border-right: 1px solid #ccc;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .horizontal-div {
        border-right: none;
    }

    .horizontal-div:after {
        content: ""; /* This is necessary for the pseudo element to work. */
        display: block; /* This will put the pseudo element on its own line. */
        margin: 0 auto; /* This will center the border. */
        width: 50%; /* Change this to whatever width you want. */
        margin-bottom: 10px; /* This creates some space between the element and the border. */
        border-bottom: 1px solid #ccc; /* This creates the border. Replace black with whatever color you want. */
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.card-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: .5rem;
}

.horizontal-list {
    list-style: none;
    margin-left: 25px;
    margin-right: 25px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding: 0px;
}

.horizontal-list-item {
    display: inline-block;
    margin: 0;
    padding: 0 10px;
    vertical-align: middle;
}

.zero-bottom-margin {
    margin-bottom: 0px !important;
}

.car-list-item {
    padding-left: 0;
    margin-bottom: 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.flip-card {
    background-color: transparent;
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #bbb;
    color: black;
}

.flip-card-back {
    background-color: #2980b9;
    color: white;
    transform: rotateY(180deg);
}

standard-form__input {
    background: #fff;
    border-color: #ccc;
    color: #121212;
    font-family: "Open Sans",sans-serif;
    font-weight: 400;
    border-radius: 0;
    box-shadow: inset 0 5px 0 #f7f7f7;
    appearance: none;
    border: 1px solid transparent;
    display: block;
    float: left;
    font-size: 14px;
    line-height: 22px;
    width: 100%;
    height: 45px;
    padding: 0 10px;
}

.locations {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#left-menu {
    float: left;
}

#middle-menu {
    margin: 0 auto !important;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

#right-menu {
    float: right;
}

#right-menu-responsive {
    display: none;
    float: right;
}

#burger-menu-toggle-container {
    transition: .4s;
    padding: 6px;
}

    #burger-menu-toggle-container:hover .bar {
        background-color: rgba(253, 52, 131, .9);
    }

#burger-menu-toggle {
    margin: 0;
    display: block;
    position: absolute;
    width: 35px;
    height: 27px;
    opacity: 0;
    outline: none;
    -webkit-appearance: none;
    border: none;
    z-index: 100;
    cursor: pointer;
}

#bar1, #bar2, #bar3 {
    width: 32px;
    height: 4px;
    background-color: rgba(225, 225, 225, 1);
    border-radius: 6px;
    margin: 6px 0;
    transition: 0.5s;
}

#burger-menu-toggle:checked ~ #bar1 {
    -webkit-transform: rotate(45deg) translate(-6px, 4px);
    transform: rotate(45deg) translate(6px, 6px);
}

#burger-menu-toggle:checked ~ #bar2 {
    opacity: 0;
}

#burger-menu-toggle:checked ~ #bar3 {
    -webkit-transform: rotate(-45deg) translate(-8px, -8px);
    transform: rotate(-45deg) translate(8px, -8px);
}

#burger-menu-toggle:checked ~ #burger-menu {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

#burger-menu {
    background: white;
    transition: .4s;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 95px;
    /*width: 50%;*/
    max-height: 0;
    overflow: hidden;
}

#burger-menu-body {
    border-radius: 2px;
    display: grid;
    position: relative;
    margin: auto;
    padding: 4px;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

#burger-menu-links {
    display: grid;
    grid-template-rows: 1fr;
    color: #212529 !important;
    font-weight: bold;
    font-size: 18px;
}

.burger-menu-link {
    padding: 5px 30px;
}

@media screen and (max-width: 1030px) {
    #middle-menu, #right-menu {
        display: none !important;
    }

    #right-menu-responsive {
        display: flex !important;
        float: right;
    }

    #footer div.container {
        margin: 0px;
        max-width: none !important;
    }
}

@media screen and (max-width: 768px) {
    #locations #left-side {
        padding-left: 0px;
        padding-right: 0px;
    }

    #contact #left-side {
        display: none;
    }

    #locations #title {
        height: 60px !important;
    }
}


@media screen and (max-width: 575px) {
    #locations, #contact {
        font-size: 14px !important;
    }

        #locations #title, #contact #title {
            font-size: 18px !important;
        }

        #locations #right-side div.horizontal-list-item div.col-sm-4 {
            display: none;
        }
}

@media screen and (max-width: 400px) {
    #locations {
        font-size: 12px !important;
    }

        #locations #title {
            font-size: 14px !important;
        }

        #locations #title {
            height: 40px !important;
        }
}