.scaffold {
    background-color: rgba(102, 51, 153, 0.432) !important;
    border: 1px solid black;
}

html {
    scroll-behavior: smooth;
}

*:focus {
    /* outline: 1px solid var(--blue); */
    outline-color: var(--focus);
}

*::placeholder {
    color: #b3b3b3 !important;
}

ul li {
    padding-bottom: 2em;
}

.container-xxl {
    width: 95%;
    margin: 0 auto;
}

.container-xl {
    width: 90%;
    margin: 0 auto;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.red {
    color: #97363b;
}

/* .toReveal {
    opacity: 0;
} */

.compact {
    line-height: 1;
}

/* Inserting a collapsed row between two flex items will make 
 * the flex item that comes after it break to a new row */

.break {
    flex-basis: 100%;
    height: 0;
}

/* Use a collapsed column to break to a new column */

.break-column {
    flex-basis: 100%;
    width: 0;
}

#header .logo {
    line-height: 0;
    padding-top: 1.4em;
    padding-bottom: 0.9em;
    margin-left: 3.4em;
    margin-top: -0.6em;
}

#header .logo:hover {
    background-color: var(--grey);
    filter: brightness(1.1)
}

#header .logo img {
    height: 2em;
}

#header nav>*:not(.shrink) {
    display: none;
}

.ctaButton {
    height: auto;
    line-height: 1.5em;
    font-size: 1.1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

#projectsButton {
    width: 18%;
}

#projectsButton:before {
    background-color: #97363b;
}

/* Footer items */

footer ul.list {
    font-weight: bold;
}

ul.list {
    cursor: default;
    list-style: none;
    /* color: rgb(70, 69, 69); */
    color: var(--black);
    text-align: center;
    padding: 0;
}

ul.list .header {
    font-weight: bold;
    /* color: black; */
    color: var(--black);
    text-transform: uppercase;
}

ul.list li {
    display: block;
    padding: 0;
}

ul.list li:last-child {
    padding-bottom: 0;
}

footer .inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1.4em 0 !important;
    padding-bottom: 0 !important;
}

footer .inner.legal {
    padding: 0 !important;
}

footer .inner.legal .list:first-child {
    margin-left: -3.3em;
}

footer .list {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: column;
    margin: 0;
}

footer .list:first-of-type {
    text-align: right;
    padding: 0 0.7em 0 0;
}

footer .list:last-of-type {
    text-align: left;
    padding: 0 0 0 0.7em;
}

footer .list li {
    font-size: 10px;
    line-height: 1.5;
    padding-left: 0;
    padding-right: 0;
}

footer .list:last-child li {
    line-height: 1.8;
}

footer .list img {
    width: 80px;
}

#footerLogo {
    padding: 0 18px;
    border-left: 3px solid #891113;
    border-right: 3px solid #891113;
}

#websiteby {
    display: flex;
    /* padding-top: 0.4em; */
    color: var(--black);
    font-family: 'Montserrat', Helvetica, Arial sans-serif;
    line-height: normal;
}

#websiteby img {
    height: 0.7em;
}

.websiteby-text {
    font-size: 0.75em;
    position: relative;
    top: -1.3px;
    vertical-align: middle;
}

.left-aligned {
    text-align: start !important;
}

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

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

.justify-aligned {
    text-align: justify !important;
}

.centered {
    display: block;
    margin: 0 auto;
}

.fluid {
    width: 100% !important;
    max-width: 100% !important;
}

.blockItem> :nth-child(2) {
    color: #97363b;
    margin-left: auto;
    margin-right: auto;
}

.blocksContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 4em;
    margin-bottom: 2em;
}

.blocksContainer.underline .blockItem :nth-child(2) {
    border-bottom: 3px solid;
    /* width: 60%; */
}

.blockItem {
    margin-bottom: 1em;
    max-width: 24em;
}

.blockItem p {
    margin: 0 0 1em 0;
    line-height: 1;
}

.blockItem ul {
    line-height: 1;
}

.blockItem .icon {
    height: 6em;
}

.image img {
    max-height: 100%;
    object-fit: contain;
}

.image.fit img {
    max-height: 100%;
    object-fit: cover;
}

.banner {
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    /* background-image: url("../../images/banner.jpg"); */
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    padding: 6em 0 2em 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 0 !important;
    cursor: default;
    position: relative;
}

.banner:after {
    -moz-transition: opacity 2.5s ease;
    -webkit-transition: opacity 2.5s ease;
    -ms-transition: opacity 2.5s ease;
    transition: opacity 2.5s ease;
    -moz-transition-delay: 0.75s;
    -webkit-transition-delay: 0.75s;
    -ms-transition-delay: 0.75s;
    transition-delay: 0.75s;
    pointer-events: none;
    /* background-color: #242943; */
    background-color: #88444a;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.85;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

/* .banner h1 {
        font-size: 3.25em;
    } */

.banner>.inner {
    -moz-transition: opacity 1.5s ease, -moz-transform 0.5s ease-out, -moz-filter 0.5s ease, -webkit-filter 0.5s ease;
    -webkit-transition: opacity 1.5s ease, -webkit-transform 0.5s ease-out, -webkit-filter 0.5s ease, -webkit-filter 0.5s ease;
    -ms-transition: opacity 1.5s ease, -ms-transform 0.5s ease-out, -ms-filter 0.5s ease, -webkit-filter 0.5s ease;
    transition: opacity 1.5s ease, transform 0.5s ease-out, filter 0.5s ease, -webkit-filter 0.5s ease;
    padding: 0 !important;
    position: relative;
    z-index: 2;
}

.banner>.inner .image {
    display: none;
}

@media screen and (max-width: 980px) {
    /* @media screen and (max-width: 1280px) { */
    .banner {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 736px) {
    .banner {
        padding: 5em 0 1em 0;
        height: auto;
        /* margin-bottom: -2.75em; */
        max-height: none;
        min-height: 0;
        /* top: -2.75em; */
    }
    .banner h1 {
        font-size: 2em;
    }
    .banner>.inner .content {
        display: block;
    }
    .banner>.inner .content>* {
        margin-right: 0;
        margin-bottom: 2em;
    }
    .banner.major {
        height: auto;
        min-height: 0;
        max-height: none;
    }
}

@media screen and (max-width: 480px) {
    .banner {
        padding: 6em 0 2em 0;
    }
    .banner>.inner .content p br {
        display: none;
    }
    .banner.major {
        padding: 8em 0 4em 0;
    }
}

textarea {
    resize: none;
}

.smooth {
    -moz-transition: opacity 1.5s ease, -moz-transform 0.5s ease-out, -moz-filter 0.5s ease, -webkit-filter 0.5s ease;
    -webkit-transition: opacity 1.5s ease, -webkit-transform 0.5s ease-out, -webkit-filter 0.5s ease, -webkit-filter 0.5s ease;
    -ms-transition: opacity 1.5s ease, -ms-transform 0.5s ease-out, -ms-filter 0.5s ease, -webkit-filter 0.5s ease;
    transition: opacity 1.5s ease, transform 0.5s ease-out, filter 0.5s ease, -webkit-filter 0.5s ease;
}

body.is-preload .smooth {
    -moz-filter: blur(0.125em);
    -webkit-filter: blur(0.125em);
    -ms-filter: blur(0.125em);
    filter: blur(0.125em);
    -moz-transform: translateX(-0.5em);
    -webkit-transform: translateX(-0.5em);
    -ms-transform: translateX(-0.5em);
    transform: translateX(-0.5em);
    opacity: 0;
}

.tiles header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.tiles .description>* {
    margin: 0;
}

.tiles .tiles-group {
    display: contents;
}

#projectsButton h1 {
    line-height: 1.3em;
    font-size: 2.7em;
}

.tiles {
    text-transform: uppercase;
}

.ll-fix {
    letter-spacing: -1em;
}

.alert {
    /* width: 75%; */
    /* min-height: 3em; */
    border-radius: 3px;
    /* display: flex; */
    margin: 1em auto;
    /* position: absolute; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* justify-content: center; */
    /* align-items: center; */
    /* color: var(--info-text); */
    /* transition: 2s linear all; */
}

.alert span {
    display: flex;
    width: 100%;
    min-height: 3em;
    padding: 0.5em 1em;
    justify-content: center;
    align-items: center;
}

.alert.info {
    background-color: var(--info-fill);
    border: 3px solid var(--info-border);
    color: var(--info-text);
}

.alert.error {
    background-color: var(--error-fill);
    border: 3px solid var(--error-border);
    color: var(--error-text);
}

.hidden {
    display: none;
}

.underline {
    text-decoration: underline;
}

/* ----- navigation menu ----- */

.navigation a {
    text-decoration: none;
}

.navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    width: 100%;
}

.navigation li {
    color: #fff;
    display: block;
    float: left;
    padding: 1rem;
    position: relative;
    text-decoration: none;
    transition-duration: 0.5s;
}

.navigation li a {
    color: #fff;
}

.navigation .dropdown {
    background-color: #c6ced2;
}

.navigation .dropdown li {
    padding-top: .5em;
    padding-bottom: .25em;
}

.navigation .dropdown li:hover {
    background-color: var(--red);
}

.navigation .dropdown a {
    border-radius: 3px;
    line-height: normal !important;
}

.navigation li:hover {
    cursor: pointer;
}

.navigation li:focus-within {
    box-shadow: inset 0 0 0 2px var(--focus);
}

.navigation .dropdown li:focus-within {
    background-color: var(--red);
}

.navigation li:focus-within a {
    outline: none;
}

.navigation ul li ul {
    visibility: hidden;
    opacity: 0;
    min-width: 5rem;
    position: absolute;
    transition: all 0.5s ease;
    left: 0;
    display: none;
}

.navigation ul li:hover>ul, ul li:focus-within>ul, ul li ul:hover, ul li ul:focus {
    visibility: visible;
    opacity: 1;
    display: block;
}

.navigation ul li ul li {
    clear: both;
    width: 100%;
}

#menu .inline {
    display: flex;
    justify-content: space-around;
}