
/******************** GENERAL ********************/
html {
    position: relative;
    min-height: 100%;
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/Metropolis-Regular.otf");
    font-weight: normal;
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/Metropolis-Medium.otf");
    font-weight: bold;
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/Metropolis-Bold.otf");
    font-weight: 900;
}

body {
    margin: 0;
    background-size: cover;
    transition: background-image 1s;
}

body, input[type="submit"], textarea, select, button {
    font-size: 12pt;
}

body, input, textarea, select, button {
    font-family: Metropolis, Arial;
}

.content {
    margin: auto;
    max-width: 1500px;
    padding: 20px;
}

@media(max-width: 800px) {
    .content {
        padding: 10px;
    }
}

.narrow {
    max-width: 1000px !important;
}

a {
    font-weight: 900;
    color: #7B3637;
    transition: color 0.2s, background-image 0.2s;
}

.heading0 {
    font-size: 180%;
    font-weight: 900;
    text-transform: uppercase;
    width: 100%;
}
@media(max-width: 800px) {
    .heading0 {
        font-size: 150%;
    }
}

.heading1 {
    font-size: 150%;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 40px;
}

@media(max-width: 800px) {
    .heading1 {
        font-size: 120%;
    }
}

.heading2 {
    font-size: 120%;
    font-weight: bold;
    text-transform: uppercase;
}

@media(max-width: 800px) {
    .heading2 {
        font-size: 100%;
    }
}

.banner {
    width: 100%;
    background-position: center;
    background-size: cover;
    height: 500px;
    margin-top: 30px;
}

@media(max-width: 800px) {
    .banner {
        height: 33vw;
    }
}

.visible {
    display: block !important;
}

.stop-scroll {
    height: 100%;
    overflow: hidden;
}

.contact-link-right {
    padding: 0 0 0 60px;
    background-repeat: no-repeat;
    background-position-x: 30px;
}

.contact-link-left {
    padding: 0 0 0 30px;
    background-repeat: no-repeat;
}

.nav {
    text-transform: uppercase;
    margin-bottom: 30px;
}

.nav a {
    background-image: url('/images/base/back-arrow-red.svg');
    background-repeat: no-repeat;
    padding-left: 20px;
}

.error-message-code {
    margin-top: 3vh;
    opacity: 0.4;
}

/******************** TITLE BAR ********************/

.title-bar-background {
    background-image: url('/images/base/title-bar.svg');
    background-repeat: no-repeat;
    background-size: auto 125px;
    background-position: center center;
    background-color: #C3D3C3;
}

@media(max-width: 800px) {
    .title-bar-background {
        background-size: auto 85px;
    }
}

.title-bar {
    display: flex;
}

.logo {
    flex: 1;
}

.logo img {
    height: 80px;
}

.menu-small {
    width: 80px;
    background-image: url('/images/base/hamburger.svg');
    background-repeat: no-repeat;
    background-position: right;
    cursor: pointer;
    display: none;
}

@media(max-width: 800px) {
    .logo img {
        height: 50px;
    }
    
    .title-bar-background {
        border-bottom: 4px solid #7B3637;
    }
    
    .menu-small {
        display: block;
    }
}

/******************** MENU ********************/

.menu-background {
    background-color: #7B3637;
}

.menu-bar {
    display: flex;
}

.menu-bar a {
    font-weight: bold;
    color: #ffffff !important;
    text-decoration: none;
}

.menu {
    flex: 1;
    display: flex;
}

.menu-item {
    text-transform: uppercase;
    padding-right: 2vw;
}

@media(min-width: 1500px) {
    .menu-item {
        padding-right: 30px;
    }
}

.menu-item a {
    transition: background-color 0.3s;
    padding: 15px;
}

.contact {
    flex: 1;
    text-align: right;
}

.visible-t {
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

@media(max-width: 1080px) {
    .contact {
        display: none;
    }
    
    .menu-item {
        padding: 0;
        flex: 1;
        text-align: center;
    }
}

@media(max-width: 800px) {
    .menu-background, .menu-bar, .menu {
        visibility: hidden;
        opacity: 0;
        height: 0;
        transition: all 0.3s;
    }
    
    .menu-background {
        position: relative;
        top: -4px;
    }
    
    .menu {
        flex-wrap: wrap;
    }
    
    .menu-item {
        font-size: 120%;
        flex: 0 1 auto;
        width: 100%;
    }
    
    .menu-item a {
        display: block;
        padding: 20px 0 20px 0;
    }
}

/******************** HOME ********************/

.home-boxes {
    display: flex;
    align-items: stretch;
}

.home-box {
    width: calc(50% - 6vw - 40px);
    display: block;
    margin: 3vw;
    padding: 20px;
    background-image: url('/images/base/darkest.svg');
    color: #ffffff;
}

@media(min-width: 1500px) {
    .home-box {
        width: calc(50% - 130px);
        margin: 45px;
    }
}

@media(max-width: 1200px) {
    .home-boxes {
        flex-wrap: wrap;
    }
    
    .home-box {
        width: calc(100% - 6vw - 40px);
    }
}

.home-box p {
    font-size: 150%;
}

@media(max-width: 800px) {
    .home-box p {
        font-size: 120%;
    }
}

.home-box-heading {
    font-size: 180%;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 10px;
    margin: 0 0 20px 0;
}

@media(max-width: 800px) {
    .home-box-heading {
        font-size: 150%;
    }
}

.home-list {
    display: flex;
    flex-wrap: wrap;
}

.home-list-item {
    margin: 10px;
    background-size: cover;
    background-position: center center;
}

.home-list-item a {
    text-decoration: none;
    background-image: url('/images/base/dark.svg');
    width: 100%;
    font-size: 120%;
    display: block;
    line-height: 100px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    transition: background-image 0.3s;
}

.home-list-item-large {
    width: 100%;
    height: 100px;
}

.home-list-item-small {
    width: calc(50% - 20px);
    height: 14vw;
}

@media(min-width: 1500px) {
    .home-list-item-small {
        height: 210px;
    }
}

@media(max-width: 1200px) {
    .home-list-item-small {
        width: calc((100% / 3) - 20px);
        height: 16vw;
    }
}

@media(max-width: 800px) {
    .home-list-item {
        margin: 5px;
    }
    
    .home-list-item-small {
        width: calc(50% - 10px);
    }
}

.button {
    width: fit-content;
    text-transform: uppercase;
    background-color: #7B3637;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: auto;
    margin-top: 20px;
    text-align: center;
}

.button a {
    color: #ffffff;
    display: block;
    padding: 15px 30px 15px 30px;
    font-weight: bold;
    text-decoration: none;
}

/******************** LIST ********************/

.list {
    display: flex;
    flex-wrap: wrap;
}

.list-item {
    position: relative;
    width: calc(50% - 30px);
    height: 33vw;
    margin: 15px;
    transition: filter 0.3s;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.list-item > a {
    display: block;
    height: 33vw;
    width: 100%;
}

@media(min-width: 1500px) {
    .list-item, .list-item > a {
        height: 500px;
    }
}

@media(max-width: 800px) {
    .list-item {
        margin: 8px;
        width: calc(100% - 16px);
    }
    
    .list-item, .list-item > a {
        height: 60vw;
    }
}

.list-item-text {
    position: absolute;
    background-color: #ffffff;
    width: 100%;
    bottom: 0px;
}

.list-item-text p, .list-item-text a {
    margin: 0;
    padding-top: 10px;
}

.list-item-text a {
    display: block;
    text-decoration: none;
    color: #000000;
}

.list-item-zoom {
    background-image: url('/images/base/darker.svg');
    display: none;
    position: absolute;
    left: 0;
    z-index: 10;
}

.list-item-zoom-img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 85vw;
    max-width: 1200px;
    margin: auto;
}

.list-item-zoom-img img {
    width: 100%;
}

.list-item-zoom-img div {
    background-image: url('/images/base/icon-close.svg');
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

/******************** FORM ********************/

form {
    display: flex;
    flex-wrap: wrap;
    width: 750px;
    max-width: 100%;
}

.form-input {
    width: 100%;
    padding-top: 10px;
}

.g-recaptcha {
    width: 100%;
    padding-top: 10px;
}

.form-input input, textarea {
    width: calc(100% - 22px);
}

select {
    width: 100%;
}

.form-input-error {
    background-color: #FFFFB9 !important;
}

input[type="text"], textarea, select {
    padding: 10px 10px 10px 10px;
    border: 1px solid #ebebeb;
    background-color: #ebebeb;
    transition: background-color 0.3s;
    font-size: 90%;
}

input[type="submit"] {
    color: #ffffff;
    text-transform: uppercase;
    background-color: #7B3637;
    border: 0;
    padding: 10px 20px 10px 20px;
    margin-top: 10px;
    cursor: pointer;
}

input[type="text"]:focus, textarea:focus, select:focus {
    outline: 0;
    border: 1px solid #7B3637;
}

.form-error {
    width: 100%;
    color: #C68284;
    padding-top: 20px;
    font-weight: bold;
    display: none;
}

.email-fail {
    border: 1px solid #000000; 
    padding: 20px; 
    max-width: 600px; 
    font-style: italic; 
    margin-bottom: 30px;
}

.button-clicked {
    background-color: #4B4B4B !important;
}

/******************** FOOTER ********************/

.footer-space {
    height: 80px;
}

.footer-background {
    position: absolute;
    bottom: 0;
    background-color: #C3D3C3;
    height: 60px;
    width: 100%;
    color: #7B3637;
    border-top: 8px solid #7B3637;
    font-weight: bold;
}

@media(max-width: 800px) {
    .footer-background {
        height: 40px;
        border-top: 4px solid #7B3637;
    }
}

.footer {
    display: flex;
}

.footer-left, .footer-right {
    flex: 1;
}

.footer-right {
    text-align: right;
}

.footer-background .content {
    padding-bottom: 0 !important;
}

.footer a {
    text-decoration: none;
    font-weight: bold;
}

@media(max-width: 940px) {
    .footer-right {
        display: none;
    }
    
    .footer-left {
        text-align: center;
    }
}

@media(max-width: 500px) {
    .company-name-full {
        display: none;
    }
}