:root {
    color-scheme: light;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    overflow-x: hidden;
    color: #b3b3b3;
    background: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease, opacity .3s ease;
}

a:hover {
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
    color: #4e4e4e;
}

h1 {
    margin: 0;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
}

sup {
    position: relative;
    top: -.5em;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

.site-wrap {
    min-height: 100vh;
    position: relative;
    background: #fff;
    transition: transform .3s ease;
}

body.menu-open .site-wrap {
    transform: translateX(-240px);
}

.menu-toggle {
    position: fixed;
    z-index: 89;
    top: 20px;
    right: 20px;
    padding: 0;
    border: 0;
    color: #000;
    background: transparent;
    font: inherit;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    opacity: .7;
}

.menu-toggle:focus-visible,
.offcanvas-menu a:focus-visible,
.submit-button:focus-visible,
.form-control:focus-visible {
    outline: 2px solid #273d85;
    outline-offset: 3px;
}

.offcanvas-menu {
    position: fixed;
    z-index: 100;
    top: 0;
    right: -240px;
    width: 240px;
    height: 100vh;
    overflow-y: auto;
    padding: 20px 30px;
    background: #283149;
}

.offcanvas-menu ul {
    margin: 0;
    padding: 0;
}

.offcanvas-menu li {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.offcanvas-menu a {
    color: #fff;
    font-size: 18px;
}

.offcanvas-menu a:hover {
    opacity: .5;
}

.offcanvas-menu .active a {
    color: #dc3545;
}

.visual,
.page-content {
    width: 100%;
}

.visual {
    height: 400px;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.visual-home {
    background-image: url("murray-barnes.jpg");
}

.visual-contact {
    background-image: url("contact.png");
}

.page-content {
    position: relative;
    float: left;
    padding: 3% 7% 0;
}

.page-header {
    color: #273d85;
}

.page-body {
    margin-bottom: 3rem;
}

.tagline {
    margin: 0 0 1rem;
    color: #f35133;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
}

.subheader {
    color: #000;
}

.site-footer {
    margin-top: 3rem;
    color: #4e4e4e;
}

.site-footer small {
    font-size: 80%;
}

.text-danger,
.site-footer .text-danger {
    color: #dc3545;
}

.form-alert {
    padding-bottom: 1em;
    color: #dc3545;
}

.website-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.form-field {
    width: 100%;
    padding-bottom: .4em;
}

.form-control {
    display: block;
    width: 100%;
    height: 50px;
    padding: .75rem;
    border: 2px solid #ced4da;
    border-radius: .25rem;
    outline: 0;
    color: #495057;
    background: #fff;
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color .15s ease;
}

.form-control:focus {
    border-color: #273d85;
}

textarea.form-control {
    height: auto;
    min-height: 118px;
    resize: vertical;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    color: #dc3545;
    font-size: 80%;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

.captcha-question {
    display: flex;
    min-height: 28px;
    align-items: center;
    gap: 3px;
    color: #4e4e4e;
}

.captcha-question img {
    width: 24px;
    height: 20px;
    vertical-align: middle;
}

.floating-field {
    position: relative;
    margin-bottom: .5rem;
}

.floating-field .form-control {
    padding: .75rem;
}

.floating-field label {
    display: block;
    position: static;
    color: #b3b3b3;
    font-size: 15px;
    line-height: 1.8;
}

.submit-field {
    width: 100%;
    padding-bottom: 1.5em;
}

.submit-button {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: .75rem 1rem;
    border: 1px solid #343a40;
    border-radius: 0;
    color: #fff;
    background: #343a40;
    font: inherit;
    font-size: 13px;
    letter-spacing: .2em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.submit-button:hover {
    border-color: #23272b;
    background: #23272b;
}

@media (min-width: 576px) {
    .visual,
    .page-content {
        width: 50%;
    }

    .visual {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
