/* Bootstrap v4.5.0 */
/* accessibility: support dynamic type on apple devices */
/* accessibility: code fails powermapper but passes w3c css */
@supports (font: -apple-system-body) {
    html {
        font: -apple-system-body;
    }
}

/* accessibility: do not specify absolute root font size */
body {
    padding-top: 0rem;
    font-size: 1.3rem;
}

#bar {
    height: 50px;
    border-top: 2px solid #ffffff;
    background-color: #10243f;
}

.bar-marque {
    background-color: #D1D0CE;
    text-align: center;
}

.bar-video {
    background-color: #D1D0CE;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.bar-pictures {
    background-color: #D1D0CE;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

main {
    width: 100%;
    margin: auto;
    background-color: #ffffff;
    padding-top: 3rem;
}

div.content {
    width: 80%;
    margin: auto;
}

/* header video start */
header {
    position: relative;
    background-color: #ffffff;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

header .container {
    position: relative;
    z-index: 2;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #dddddd;
    opacity: 0.6;
    z-index: 1;
    background-image: url('https://www.usedcarsales.net/images/ads/ucs-stockport.jpg');
}

/* header video end */
/* accessibility: specify font sizes in rem or em */
p {
    margin-bottom: 2rem;
}

/* navbar/dropdown menu */
.navbar {
    background: #10243f !important;
    border-bottom: 2px solid #ffffff;
}

.navbar a {
    text-decoration: none;
}

.dropdown {
    border-radius: 0;
    border: 0;
}

.dropdown-menu {
    background: #000000;
    border: 0;
    top: 80%;
    border-radius: 0px 0px 5px 5px;
}

.dropdown-menu a {
    color: #ffffff;
    text-decoration: none;
}

.navbar .nav-item .nav-link {
    color: #ffffff !important;
}

.navbar .nav-item .nav-link:hover .navbar .nav-item .nav-link {
    color: #ffffff !important;
}

/* lists */
ul {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

ol {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

/* hamburger */
.navbar-toggler {
    border-color: #ffffff;
    background-color: transparent;
    color: #ffffff;
}

/* hamburger bars */
.navbar .navbar-toggler-icon {
    background-image: url("https://www.usedcarsales.net/images/design/hamburger-bars.gif");
}

/* tis footer */
.container-fluid {
    background-color: #25383C;
    width: 100%;
}

/* --- links ---- */
a {
    color: #0000ff;
    text-decoration: underline;
}

a:visited {
    color: #0000ff;
    text-decoration: underline;
}

a:hover {
    color: #0000ff;
    text-decoration: underline;
}

a:active {
    color: #0000ffc;
    text-decoration: underline;
}

/* accessibility: keyboard nav applied on sub menu */
ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

/* accessibility: visited items white on sub menu */
ul li a:visited {
    color: white;
}

/* --- accessibility: focus highlighted for keyboard users ---- */
a:focus,
a:hover {
    color: white;
    background-color: #880000;
    text-decoration: underline;
}

/* --- accessibility skip to main content ---- */
a.skip-main {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

a.skip-main:focus,
a.skip-main:active {
    color: #fff;
    background-color: #000;
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow: auto;
    margin: 10px 35%;
    padding: 5px;
    border-radius: 15px;
    border: 4px solid yellow;
    text-align: center;
    font-size: 1.2rem;
    z-index: 999;
}

h1 {
    font-size: 1.6rem;
    color: #ffffff;
    text-align: center;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 1.3rem;
    color: #000000;
    text-align: left;
    margin-bottom: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1.5rem;
}

img {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: auto;
    margin-top: 0rem;
    margin-bottom: 0rem;
}

/* ! -- footer -- */
footer {
    background-color: #10243f;
    color: #ffffff;
}

footer a {
    color: #EDE275;
    text-decoration: none;
}

footer a:visited {
    color: #EDE275;
    text-decoration: none;
}

footer a:hover {
    color: #ff0000;
    text-decoration: none;
}

footer a:active {
    color: #EDE275;
    text-decoration: none;
}

footer h2 {
    color: #ffffff;
}

/* --- hr ---- */
hr {
    display: block;
    margin-top: 1rem;
    margin-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 2px;
}

.red {
    color: #ff0000;
    font-weight: bold;
}

.white {
    color: #ffffff;
    font-weight: bold;
}

video-fluid {
    margin-bottom: 10rem;
}

.car-spec-category {
    background-color: #e0e0e0;
    border-width: 1px;
    border-color: #101010;
    border-style: solid;
    padding: 5px 10px 0 10px;
    margin: 18px 0;
    height: auto;
    border-radius: 13px;
}

.car-spec-category ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;

    /* -webkit-column-rule: 1px solid black;
     -moz-column-rule: 1px solid black;
     column-rule: 1px solid black; */
}

.car-spec-category ul li {
    /* padding: .1em;
  	margin: 2px 6px;
  background-color: #ccc; */
    margin: 2px 2%;
}

.car-spec-category h3 {
    color: #000000;
}

.full-spec-section {
    padding: 9px;
    border-width: 2px;
    border-color: #000000;
    box-sizing: border-box;

    /* background-color: orange; */
    background-color: #10243F;
    border-radius: 14px;
    margin: 10px 0 15px 0;
}

.full-spec-section h2 {
    text-align: center;
    color: #ffffff;
    font-size: 1.6em;
}

.vehicle-history-table-container {
    border: 4px groove #a4bce0;
    border-style: groove;
    border-radius: 14px;
    width: 100%;
    margin: 10px auto;
    padding: 0;
}

#vehicle-history-table {
    width: 100%;
    margin: 0px auto;
    color: #FFFFFF;
}

#vehicle-history-table th {
    border-bottom: 2px solid #a4bce0;
    border-top: 0;
    border-style: groove;
}

#vehicle-history-table td {
    border: 1px solid #a4bce0;
}

.background1 {
    background: #031a5e;
    color: #ffffff;
}