/*
BIKES IN MOTION LTD.
File: Global Style Sheet
Version: 1.0
Date: 30/07/22
*/


:root {
    --red-80: #FAE8EA;
    --red-90: #F6D2D6;
    --red-100: #ECA4AC;
    --red-200: #E37783;
    --red-300: #D94959;
    --red-400: #D01C30;
    --red-500: #A61626;
    --red-600: #7D111D;
    --red-700: #530B13;
    --red-800: #3E080E;
    --red-900: #2A060A;

    --orange-80: #FEF3EA;
    --orange-90: #FDE7D6;
    --orange-100: #FACFAC;
    --orange-200: #F8B683;
    --orange-300: #F59E59;
    --orange-400: #F38630;
    --orange-500: #C26B26;
    --orange-600: #92501D;
    --orange-700: #613613;
    --orange-800: #49280E;
    --orange-900: #311B0A;

    --grey-80: #F9FAFC;
    --grey-90: #F4F5F6;
    --grey-100: #E9EBED;
    --grey-200: #DDE0E3;
    --grey-300: #D2D6DA;
    --grey-400: #B0B8BF;
    --grey-500: #848D9A;
    --grey-600: #6E7987;
    --grey-700: #49515A;
    --grey-800: #2E3338;
    --grey-900: #1C1F22;

    --white: #FFFFFF;
    --black: #000000;

    --red: var(--red-400);
    --red-hover: var(--red-700);
    --red-disable: var(--red-100);

    --orange: var(--orange-400);
    --orange-hover: var(--orange-600);
    --orange-disable: var(--orange-100);

    --primary-bg: var(--grey-900);
    --secondary-bg: var(--orange-80);

    --text-light: var(--white);
    --text-dark: var(--black);

    --font-caption: 0.875rem; /* Caption 14px */
    --font-body-s: 1rem; /* Body Small 16px */
    --font-button: var(--font-body-s); /* Button 16px */
    --font-body-l: 1.125rem; /* Body Large 18px */
    --font-h3: 1.25rem; /* Header 3 20px */
    --font-h2: 1.5rem; /* Header 2 24px */
    --font-h1: 2.5rem; /* Header 1 40px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-size: 16px;
    font-weight: 400;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-light);
    background-color: var(--grey-900);

}

p,
span,
a,
label {
    font-size: 100%;
}

a {
    text-decoration: none;
    color: var(--white);
}

a:hover {
    text-decoration: underline;
}

img {
    display: block;
}

section img {
    border-radius: 24px;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
}

section h1 {
    margin-bottom: 16px;
}

@media all and (min-width: 768px) {
    section h1 {
        margin-bottom: 32px;
    }
}

*:disabled {
    cursor: default;
}

section,
footer,
.container {
    width: 100%;
    max-width: 1032px;
    margin: 0 auto;
}

article {
    border-radius: 24px;
}

.inlinefix {
    font-size: 0;
}

form {
    width: 100%;
}

.warning {
    font-size: var(--font-caption);
    color: var(--red-400);
    display: none;
}

.warning.show {
    display: block;
}

input,
textarea {
    width: 100%;
    font-size: 1rem;
    border: 1px solid var(--grey-300);
    border-radius: 5px;
}

input {
    height: 40px;
    padding-left: 8px;
}

label {
    font-size: var(--font-caption);
    display: block;
}

textarea {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
    padding: 8px 8px 0;
    height: 160px;
    resize: none;
    display: block;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type=number] {
    -moz-appearance: textfield;
    -webkit-appearance: none;
}

.text--default {
    color: var(--text-dark);
}

/*--- Sizes ---*/

.w-100,
.w-50 {
    width: 100%;
}

@media all and (min-width: 768px) {
    .w-50 {
        width: 50%;
    }
}

/*--- Position ---*/

.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

/*--- Spacing ---*/

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-40 {
    margin-bottom: 40px;
}

.ml-8 {
    margin-left: 8px;
}

.ml-16 {
    margin-left: 16px;
}

.ml-24 {
    margin-left: 24px;
}

.ml-32 {
    margin-left: 32px;
}

.mr-8 {
    margin-right: 8px;
}

.mr-16 {
    margin-right: 16px;
}

.mr-24 {
    margin-right: 24px;
}

.mr-32 {
    margin-right: 32px;
}

/*--- Background Colour ---*/

.bg-primary {
    background-color: var(--red);
}

/*--- Buttons ---*/

button,
.btn,
input[type="submit"] {
    border-radius: 50px;
    font-size: 1rem;
    line-height: 24px;
    padding: 8px 16px;
    font-weight: 600;
    text-align: center;
    border: 0;
    cursor: pointer;
    transition: 0.2s ease background-color;
    width: 100%;
    display: inline-block;
}

.btn:hover {
    text-decoration: none;
}

@media all and (min-width: 768px) {
    button,
    .btn {
        max-width: 360px;
    }
}

button img {
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

button span {
    font-size: 1rem;
    display: inline-block;
    vertical-align: middle;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--black);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--orange-hover);
}

.btn-primary:disabled,
.btn-primary:disabled:hover {
    background-color: var(--orange-disable);
}

.btn-secondary {
    background-color: var(--red);
    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--red-hover);
}

.btn-secondary:disabled {
    background-color: var(--red-disable);
}

.btn-tertiary {
    background-color: var(--white);
    color: var(--black);
}

.btn-tertiary:hover,
.btn-tertiary:focus {
    background-color: var(--grey-100);
}

/*--- Fonts ---*/

body {
    font-size: var(--font-body-s);
}

@media all and (min-width: 768px) {
    body {
        font-size: var(--font-body-l);
    }
}

.f-c {
    font-size: var(--font-caption);
    line-height: 20px;
}

@media all and (min-width: 768px) {
    .f-c {
        font-size: var(--font-body-s);
    }
}

.f-b {
    font-size: var(--font-body-s);
    line-height: 24px;
}

@media all and (min-width: 768px) {
    .f-b {
        font-size: var(--font-body-l);
        line-height: 26px;
    }
}

h1,
.h1 {
    font-size: var(--font-h2);
    line-height: 32px;
}

@media all and (min-width: 768px) {
    h1,
    .h1 {
        font-size: var(--font-h1);
        line-height: 51px;
    }
}

h2,
.h2 {
    font-size: var(--font-h3);
    line-height: 32px;
}

@media all and (min-width: 786px) {
    h2,
    .h2 {
        font-size: var(--font-h2);
        line-height: 32px;
    }
}

h3,
.h3 {
    font-size: var(--font-body-l);
    line-height: 26px;
}

@media all and (min-width: 768px) {
    h3,
    .h3 {
        font-size: var(--font-h3);
        line-height: 32px;
    }
}

/*--- Font Format ---*/

.bold {
    font-weight: 600;
}

.italic {
    font-style: italic;
}

/*--- Paragraphs ---*/

p + p {
    margin-top: 16px;  
}

p + h3 {
    margin-top: 24px;
}

h2 + p {
    margin-top: 16px;
}

.block-content {
    background-color: var(--secondary-bg); 
    color: var(--black);
    padding: 16px 16px 24px;
}

@media all and (min-width: 768px) {
    .block-content {
        padding: 32px;
    }
}

/*--- Picture ---*/

picture img {
    width: 100%;
}

.img-s {
    display: none!important;
}

@media all and (min-width: 768px) {
    .img-s {
        display: block!important;
    }
}

/*--- Layout ---*/ 

.btn.center {
    margin: 0 auto;
}

.col,
.col-2 {
    width: 100%;
    display: grid;
    gap: 16px;
}

@media all and (min-width: 768px) {
    .col-2 {
        grid-template-columns: repeat(auto-fill, calc(50% - 8px));
    }
}

.layout.horizontal,
.layout.vertical {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.layout.horizontal {
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
}

.layout.vertical {
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.layout.center {
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.end-justified {
    -ms-flex-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

.block {
    display: block;
}

.flex {
    -ms-flex: 1 1 0.000000001px;
    -webkit-flex: 1;
    flex: 1;
    -webkit-flex-basis: 1e-9px;
    flex-basis: 1e-9px;
}

iframe {
    width: 100%;
    height: 300px;
    border-radius: 24px;
}

@media all and (min-width: 768px) {
    iframe {
        height: 100%;
    }
}

/*--- Misc ---*/

.list li {
    margin-bottom: 8px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

header .container {
    padding: 8px 16px;
}

@media all and (min-width: 1024px) {
    header .container {
        padding: 8px 0;
    }
}

.spacer {
    margin-top: 138px;
}

@media all and (min-width: 600px) {
    .spacer {
        margin-top: 146px;
    }
}

.container {
    padding-left: 16px;
    padding-right: 16px;
}

@media all and (min-width: 1024px) {
    .container {
        padding-left: 0;
        padding-right: 0;
    }
}

header button {
    width: auto;
}

.logo {
    border-radius: 0;
}

@media all and (min-width: 1024px) {
    .navbar-btn {
        display: none;
    }
}

.navbar {
    display: none;
    width: 100%;
    background-color: var(--red);
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 8px 0 24px;
    border-radius: 0 0 24px 24px;
}

@media all and (min-width: 768px) {
    .navbar {
        width: 260px;
        left: inherit;
        right: 16px;
    }
}

@media all and (min-width: 1024px) {
    .navbar {
        display: inline-block;
        width: auto;
        position: relative;
        top: 0;
        padding: 0;
        right: inherit;
    }
}

.navbar.open {
    display: block;
}

button.active {
    padding-left: 8px;
    padding-right: 8px;
}

.active .menuIcon {
    display: none;
}

.closeIcon {
    display: none;
    margin: 0;
}

.active .closeIcon {
    display: block;
}

.active span {
    display: none;
}

.navbar li {
    list-style: none;
    display: block;
    width: 100%;
}

@media all and (min-width: 1024px) {
    .navbar li {
        display: inline-block;
        width: auto;
        margin-left: 8px;
    }
}

.navbar a,
.navbar span {
    font-size: var(--font-button);
    padding: 15px 16px 17px;
    display: block;
    font-weight: 600;
    font-size: var(--font-button);
    transition: ease 0.2s background-color;
}

@media all and (min-width: 1024px) {
    .navbar a,
    .navbar span {
        padding: 11px 16px 13px;
        border-radius: 24px;
    }
}

.navbar img {
    display: inline-block;
    vertical-align: middle;
}

.navbar a.selected,
.navbar span.selected {
    background: var(--red-hover);
    cursor: default;
}

.navbar a:hover {
    text-decoration: none;
}

.subnav {
    background: var(--red);
    
}

@media all and (min-width: 1024px) {
    .subnav {
        display: none;
        position: absolute;
        top: 48px;
        right: 0;
        width: 240px;
        padding: 27px 0 24px;
        border-radius: 0 0 24px 24px;
    }
}

.subnav li {
    display: block;
    margin-left: 0;
    border-radius: 0;
}

#train btn-secondary:hover {
    background-color: var(--red);
}

.subnav a {
    border-radius: 0;
    padding-left: 32px;
}

@media all and (min-width: 1024px) {
    .subnav a {
        padding-left: 16px;
    }
}

#train > .btn-secondary:hover {
    background-color: var(--red);
}

@media all and (min-width: 1024px) {
    #train > .btn-secondary:hover {
        background-color: var(--red-hover);
    }
}

.banner {
    margin-bottom: 16px;
    display: block;
}

@media all and (min-width: 768px) {
    .banner {
        margin-bottom: 32px;
    }
}

.banner img {
    border-radius: 24px;
}

.banner-text {
    top: 20px;
    left: 16px;
    max-width: 280px;
}

@media all and (min-width: 768px) {
    .banner-text {
        top: 40px;
        left: 32px;
        max-width: 380px;
    }
}

.banner-text span {
    background-color: rgba(0,0,0,0.6);
    padding: 3px 8px;
    display: inline-block;
}

.avatar {
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 16px;
}

.name {
    display: inline-block;
    vertical-align: middle;
}

.google-review {
    font-size: 0.625rem;
}

.honda-belle-vue,
.legal {
    font-size: 0.875rem;
}

.legal {
    margin-bottom: 16px;
}

.honda-belle-vue {
    max-width: 236px;
    display: inline-block;
    text-align: center;
    margin-bottom: 8px;
}

@media all and (min-width: 1024px) {
    .honda-belle-vue {
        text-align: right;
    }
}

footer {
    margin-top: 40px;
    margin-bottom: 8px;
}

footer,
.footer-info {
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

@media all and (min-width: 1024px) {
    footer {
        -ms-flex-direction: row-reverse;
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }

    .footer-info {
        -ms-flex-direction: row;
        -webkit-flex-direction: row;
        flex-direction: row;
        width: 66.666%;
    }

    .company-info {
        width: 33.333%;
    }
}

.honda-promo {
    margin-top: 32px;
}

@media all and (min-width: 1024px) {
    .honda-promo {
        margin-top: 0;
    }
}

.social {
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

@media all and (min-width: 1024px) {
    .social {
        -ms-flex-pack: inherit;
        -webkit-justify-content: inherit;
        justify-content: inherit;
    }
}

.legal-content {
    text-align: center;
}

@media all and (min-width: 1024px) {
    .legal-content {
        text-align: left;
    }
}

.addresses span {
    display: block;
}

.terms p,
.terms span {
    font-size: var(--font-body-l);
    margin-bottom: 16px;
}

.terms span {
    font-weight: 600;
    display: block;
}

.terms ul,
.terms ol {
    margin-bottom: 32px;
    margin-left: 16px;
}

.terms li {
    margin-bottom: 8px;
}

/*--- Menu Animation ---*/

@media all and (min-width: 1024px) {
    #train:hover .subnav {
        display: block;
    }
}

@media all and (min-width: 1024px) {
    #train:hover > .btn-secondary {
        background-color: var(--red-hover);
    }
}

.submitBlocker {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.phone[href^=tel] {
    color: var(--black);
}

.word-break {
    word-break: break-word;
}

.call-banner {
    background: var(--grey-900);
    padding: 10px 0 11px;
}

.call-banner__text {
    text-align: right;
    font-size: 15px;
}

@media all and (min-width: 600px) {
    .call-banner__text {
        font-size: 20px;
    }
}

.call-banner__text a {
    border-bottom: 1px dotted #d0d0d0;
    font-weight: 700;
}

