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

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato-Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato-Black.ttf");
    font-weight: 900;
}

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

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

body {
    margin: 0;
    font-size: 12pt;
    padding-bottom: 50px;
}

a {
    text-decoration: none;
    color: #FF5100;
    transition: color 0.3s;
    font-weight: bold;
}

p {
    font-size: 120%;
}

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

.error-message-code {
    margin-top: 30px;
    opacity: 0.4;
}

.visible {
    display: block !important;
}

.nav {
    margin-bottom: 20px;
    background-image: url('/images/base/arrow-left-orange.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left center;
    text-transform: uppercase;
    transition: background-image 0.3s;
}

.nav a {
    display: block;
    padding-left: 30px;
}

.heading1 {
    font-size: 250% !important;
    font-weight: 900;
    margin: 0 0 0 0;
    padding-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 2px solid #FF5100;
}

.heading2 {
    font-size: 150% !important;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0;
}

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

.header-background, .header-background-shift {
    display: flex;
    position: fixed;
    width: 100%;
    transition: background-color 0.3s, border-bottom 0.3s;
    z-index: 1;
}

.header-background-shift {
    background-color: #ffffff;
    border-bottom: 1px solid #000000;
}

.header {
    display: flex;
    width: 100%;
    padding: 10px 20px 10px 20px;
}

@media(min-width: 1240px) {
    .header {
        margin-left: calc((100% - 1220px) / 2);
        margin-right: calc((100% - 1220px) / 2);
    }
}

.logo, .logo-shift {
    flex: 1;
    background-repeat: no-repeat;
    background-position: left center;
    transition: background-image 0.3s;
}

.logo {
    background-image: url('/images/base/logo-white.svg');
}

.logo-shift {
    background-image: url('/images/base/logo-graphic-only.svg');
}

@media(max-width: 900px) {
    .logo-shift {
        background-image: url('/images/base/logo-black.svg');
    }
}

.logo a {
    display: block;
    height: 100%;
}

.menu, .menu-shift {
    flex: 1.2;
    display: flex;
    /*max-width: 800px;*/
    text-transform: uppercase;
    transition: color 0.3s;
}

.menu {
    color: #ffffff;
}

.menu-shift {
    color: #000000;
}

.menu-dd {
    width: 40px;
    background-repeat: no-repeat;
    background-position: center center;
    transition: background-image 0.3s;
    display: none;
    background-image: url('/images/base/icon-hamburger-white.svg');
}

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

.menu-a, .menu-a-shift {
    width: 20%;
    text-align: center;
    font-size: 120%;
    transition: background-color 0.3s, color 0.3s;
    color: inherit;
    transition: line-height 0.3s;
}

.menu-a {
    line-height: 150px;
}

.menu-a-shift {
    line-height: 70px;
}

@media(max-width: 1100px) {
    .menu, .menu-shift {
        flex: 2;
    }
}

@media(max-width: 900px) {
    .menu-a, .menu-a-shift {
        line-height: 70px;
        font-size: 100%;
    }
}

@media(max-width: 750px) {
    .header {
        height: 70px;
    }
    
    .menu, .menu-shift {
        visibility: hidden;
        opacity: 0;
        width: 100vw;
        /*display: block;*/
        position: fixed;
        top: 90px;
        left: 0;
        background-color: #FF5100;
        flex-wrap: wrap;
        transition: display 0.3s, opacity 0.3s;
    }
    
    .menu-a, .menu-a-shift {
        width: 100%;
        color: #ffffff;
        font-size: 120%;
    }
    
    .menu-dd {
        display: block;
    }
}

.carousel {
    height: 90vh;
    background-image: url('/images/home/1.jpg');
    background-size: cover;
    background-position: center;
    transition: background-image 1s;
}

.carousel-content-background {
    position: relative; 
    top: 100%;
    transform: translateY(-100%);
    background-image: url('/images/base/transparent-black.svg');
    color: #ffffff;
}

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

.carousel-content p {
    font-size: 150%;
    margin: 10px 0 0 0;
}

.carousel-credit {
    font-size: 75% !important;
    text-align: right;
}

.carousel-heading {
    font-size: 200% !important;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px !important;
}

@media(max-width: 800px) {
    .carousel-heading {
        font-size: 130% !important;
    }
    
    .carousel-content p {
        font-size: 100%;
    }
}

.header-space {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

.header-space-shift {
    visibility: hidden;
}

.header-space, .header-space div {
    height: 170px;
}

.header-space div {
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(80%);
    transform: scale(1.1);
}

.content, .content-home {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
    margin: auto;
    max-width: 1200px;
}

.content {
    padding-top: 210px;
}

.content-home {
    padding-top: 20px;
}

@media(max-width: 900px) {
    .header-space, .header-space div {
        height: 90px;
    }
    
    .content {
        padding-top: 130px;
    }
}

.home-items {
    display: flex; 
    flex-wrap: wrap;
    margin: 60px auto 60px auto;
}

.home-item {
    width: 100%;
}

.home-item + .home-item {
    margin-top: 80px;
}

.home-item-heading {
    font-size: 300% !important;
    font-weight: 900;
    margin: 0;
    padding-bottom: 10px;
    text-transform: uppercase;
    color: #C3C9C7;
    border-bottom: 2px solid #FF5100;
}

@media(max-width: 800px) {
    .home-item-heading {
        font-size: 200% !important;
    }
}

.home-item-projects, .services {
    display: flex;
    flex-wrap: wrap;
    /*margin: 0 -40px -40px 0;*/
}

.home-item-project, .service {
    background-size: cover;
    background-position: center;
    transition: transform 0.2s;
    height: 180px;
    width: calc((100% / 3) - 40px);
    margin: 0 40px 40px 0;
    background-color: #ebebeb;
}

@media(max-width: 1000px) {
    .home-item-project, .service {
        width: calc((100% / 2) - 30px);
        margin: 0 30px 30px 0;
    }
}

@media(max-width: 850px) {
    .home-item-project, .service {
        width: 100%;
        margin: 0 0 20px 0;
    }
}

.service div {
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    background-image: url('/images/base/transparent-black.svg');
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 110%;
}

.home-item-project a {
    display: block;
    line-height: 180px;
    width: 100%;
}

.contact-item {
    padding-left: 30px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: left center;
    transition: color 0.3s, background-image 0.3s;
}

.banner-image {
    width: 100%;
    height: 500px;
    background-position: center;
}

.project {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-image {
    width: calc(50% - 20px);
    transition: transform 0.2s;
    margin-right: 20px;
    margin-bottom: 20px;
}

.project-image div {
    height: 500px;
    background-size: cover;
    background-position: center;
}

@media(max-width: 1000px) {
    .project-image div {
        height: 50vw;
    }
}

.project-image p {
    text-align: center;
    margin: 10px 0 0 0;
    text-transform: uppercase;
    color: #000000;
    font-style: italic;
    font-weight: normal;
    font-size: 100%;
}

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

.project-image-zoom-on {
    display: block !important;
}

@media(max-width: 800px) {
    .project-image {
        margin-right: 0;
        width: 100%;
    }
    
    .project-image-zoom-on {
        display: none !important;
    }

    .stop-scroll {
        height: auto;
        overflow: visible;
    }
}

.project-image-zoom img {
    position: relative;
    max-height: 90vh;
    max-width: 90vw;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.project-image-zoom div {
    background-image: url('/images/base/icon-x-white.svg');
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#contact-item-email {
    background-image: url('/images/base/icon-email-orange.svg');
}

#contact-item-phone {
    background-image: url('/images/base/icon-phone-orange.svg');
}

#contact-item-facebook {
    background-image: url('/images/base/icon-facebook-orange.png');
}

#contact-item-instagram {
    background-image: url('/images/base/icon-instagram-orange.png');
}

#contact-item-address {
    background-image: url('/images/base/icon-pin-orange.svg');
    background-size: 15px;
}

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

.map {
    flex: 1;
    margin-left: 10px;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    margin-right: 10px;
}

@media(max-width: 900px) {
    .map, .contact-form {
        flex: 0 1 auto;
        width: 100%;
    }
    
    .map {
        order: 1;
        margin-left: 0;
        margin-bottom: 40px;
    }
    
    .contact-form {
        order: 2;
        margin-right: 0;
    }
}

textarea {
    vertical-align: top;
}

.form-input {
    width: 100%;
}

.form-input + .form-input {
    padding-top: 10px;
}

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

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

.form-input-error {
    background-color: #ffceb7 !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: 12pt;
}

input[type="submit"] {
    color: #ffffff;
    text-transform: uppercase;
    background-color: #1F2221;
    border: 0;
    padding: 10px 20px 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 12pt;
}

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

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

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

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

.testimonial {
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
    min-height: 300px;
}

.testimonial-image {
    width: 35%;
    background-size: cover;
    background-position: center center;
}

.testimonial-text {
    width: calc(65% - 100px);
    font-style: italic;
    padding-left: 100px;
    background-image: url('/images/base/quote.svg');
    background-repeat: no-repeat;
    background-size: 40px;
    background-position-x: 40px;
    background-position-y: 5px;
    color: #707271;
}

.testimonial-text p:first-child {
    margin-top: 0;
}

.testimonial p:last-child {
    margin-bottom: 0;
}

.testimonial-tag {
    text-align: right;
}

.footer-background {
    width: 100%;
    background-color: #1F2221;
    color: #C3C9C7;
    position: absolute;
    bottom: 0;
}

.footer {
    margin: auto;
    max-width: 1200px;
    display: flex;
    height: 50px;
    line-height: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

#contact-item-email-footer {
    background-image:url('/images/base/icon-email-grey.svg');
}

#contact-item-phone-footer {
    background-image:url('/images/base/icon-phone-grey.svg');
    margin-left: 30px;
}

.footer .contact-item {
    color: #C3C9C7;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex: 1;
    text-align: right;
    font-weight: bold;
}

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

@media(max-width: 400px) {
    .abn {
        display: none;
    }
}