html {
    scroll-behavior: smooth;
}

body {
    background-color: #1a1a1a;
}

body.loading {
    overflow: hidden;
}

section {
    position: relative;

}

section:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background-image: linear-gradient(to right, #462523, #cb9b51 20%, #f6e27a 28%, #f6f2c0 38%, #f6e27a 42%, #cb9b51 47%, #462523);

}

#loaderBackground {
    position: fixed;
    left: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background: #1a1a1a;
    z-index: 1030;
    pointer-events: none;
}

#loaderBackground.loading {
    overflow: hidden;
    pointer-events: all;
}

#contact:after {
    display: none;
}

/*Vertical Nav*/

#dot-nav {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    position: fixed;
    opacity: 0;
    transition-duration: 0.2s;
}

#dot-nav.inview {

    opacity: 0.5;

}

@media screen and (max-width: 767px) {
    #dot-nav {
        display: none;
    }
}

#dot-nav:hover {
    opacity: 1;
}

#dot-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#dot-nav li {
    position: relative;
    background-color: #cb9b51;
    border: 3px solid #cb9b51;
    border-radius: 15px 15px 15px 15px;
    cursor: pointer;
    padding: 5px;
    height: 10px;
    margin: 40px 10px 0px 0px;
    width: 10px;
    vertical-align: bottom;
}

#dot-nav li:after {
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    left: 50%;
    height: 50px;
    background: #cb9b51;
    transform: translate(-50%, -50%);
}

#dot-nav li:last-child:after {
    height: 0px;
}


#dot-nav li:hover:before {
    content: '';
    position: absolute;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    left: -10px;
    top: -10px;
}


#dot-nav a {
    outline: 0;
    vertical-align: top;
    margin: 0px 0px 0px 25px;
    position: relative;
    top: -5px;
}

.awesome-tooltip+.tooltip>.tooltip-inner {
    /*background-color: #8e44ad;*/
    color: #000;
    border: 1px solid #8e44ad;
}

.awesome-tooltip+.tooltip.left>.tooltip-arrow {
    top: 50%;
    right: 0;
    margin-top: -5px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #8e44ad;
}

.tooltip .arrow {
    background-color: transparent !important;
}

.bs-tooltip-auto[x-placement^=left] .arrow::before,
.bs-tooltip-left .arrow::before {
    border-left-color: transparent !important;
}

.tooltip-inner {
    color: #cb9b51;
    text-transform: uppercase;
    background-color: transparent;
    letter-spacing: 2px;
    font-size: 10px;
    width: 120px;
    text-align: right;
}

/* --------- */

.navbar {
    height: 200px;
    transition-duration: 1s;
    will-change: height;
}

.navbar.loading #socialContainer,
.navbar.loading .button {
    opacity: 0;
}

.navbar.scrolled {
    background-color: #1a1a1a;
    height: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar>.container {
    height: 100%;
    align-items: end;
    position: relative;
}

/* NAV LOGO */

#navLogo {
    width: 100%;
    align-self: center;
    will-change: padding;
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(40vh);
    height: 33.3vh;
    transition-duration: 0.7s;
    will-change: left, height;
}

.navbar.scrolled #navLogo {

    height: 55px;
    transform: translateX(-50%) translateY(0px);

}

@media screen and (max-width: 575px) {
    .navbar.scrolled #navLogo {
        left: 60px;
        height: 55px;
    }
}

#socialContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition-duration: 0.2s;
}

#socialContainer img {
    height: 25px;
    margin: 0 8px;
    opacity: 0.4;
    transition-duration: 0.2s;
    cursor: pointer;
}

#socialContainer img:hover {

    opacity: 1;
}


.navbar .button,
.navbar #socialContainer {
    top: 15px;
    position: absolute;
}

.navbar .button {
    right: 2px;
}


@media screen and (max-width: 676px) {

    .navbar .button {
        right: 15px;
    }

    .navbar #socialContainer {
        left: 15px;
    }
}



.button {
    color: #ffffff;
    position: relative;
    padding: 10px 40px;
    letter-spacing: 2px;
    font-size: 10px;
    transition-duration: 0.2s;
    background-color: transparent;
    border: 0;
}

.button:hover {
    text-decoration: none;
    color: #ffffff;
}

.button:before {
    content: '';
    position: absolute;
    outline: 0.5px solid rgba(255, 255, 255, 0.4);
    width: 100%;
    height: 140%;
    left: 0;
    top: -20%;
    transition: all 0.2s;
    will-change: height, top;
}

.button:after {
    content: '';
    position: absolute;
    outline: 1px solid rgba(255, 255, 255, 0.4);
    width: 110%;
    height: 100%;
    left: -5%;
    top: 0;
    transition: all 0.1s;
    will-change: width, left;
}

.button:hover:before {
    height: 100%;
    top: 0;
}

.button:hover:after {
    width: 100%;
    left: 0;
}

#hero {
    background-image: url('../images/heroBG_XL.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 10;
    left: 0;
}


#hero #heroFlex {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 676px) {
    .heroTextHolder {
        font-size: 8px;
        max-width: 90%;
        height: 27em;
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: space-around;
    }
}


.icon-scroll,
.icon-scroll:before {
    position: absolute;
    left: 50%;
}

.icon-scroll {
    width: 40px;
    height: 70px;
    margin-left: -20px;
    margin-top: -35px;
    box-shadow: inset 0 0 0 1px #fff;
    border-radius: 25px;
    position: absolute;
    bottom: 40px;
    transform: scale(0.6);
}

.icon-scroll.scrolled {
    opacity: 0;
}

.icon-scroll:before {
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    margin-left: -4px;
    top: 8px;
    border-radius: 4px;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: scroll;
    animation-name: scroll;
}

@-webkit-keyframes scroll {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(46px);
        transform: translateY(46px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(46px);
        transform: translateY(46px);
    }
}



/* --------------- */

/*#services {
    height: 1300px;
    overflow: hidden;
    position: relative;
    margin-bottom: 130px;
}

@media screen and (max-width: 1200px) {
    #services {
        padding: 0 15px;
        min-height: 700px;
    }
}

@media screen and (max-width: 991px) {
    #services {
        padding: 0 15px;
        min-height: 700px;
    }
}

@media screen and (max-width: 676px) {
    #services {
        padding: 0 15px;
        min-height: 700px;
    }
}



#services .intro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 55em;
    z-index: 100;
}

#services .intro h2 {
    text-align: center;
    background-color: #1A1A1A;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#services .intro h2 span {
    color: #cb9b51;
}

#services .container {
    position: relative;
    height: 100%;
}


#services .container .row {
    padding: 100px 0 0;
}

@media screen and (max-width: 991px) {
    #services .container .row {
        padding: 70px 0 0;
    }

    #services .container .row>.flex {
        width: 100%;
    }
}

#services .container .row:last-child {
    padding-bottom: 100px;
}

.imgOuter {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: absolute;
}

.imgFrame {
    overflow: hidden;

}


.flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


#office {
    top: 10%;
    left: 0;
}

#office .imgFrame {
    position: relative;
    width: 0;
    transition-duration: 1s;
}

#office.inview .imgFrame {
    position: relative;
    width: 100%;
}

#building {
    top: 15%;
    right: 0;
}

#logo {
    top: 58%;
    right: 0;
}

#logo .imgFrame {
    position: relative;
    width: 0;
    transition-duration: 1s;
}

#logo.inview .imgFrame {
    position: relative;
    width: 100%;
}

#gherkin {
    top: 55%;
    left: 0;
    z-index: -1;
}

#services #office img {
    max-height: 400px;
}

#services #building img {
    max-height: 300px;
}

#services #logo img {
    height: 490px;
}

#services #gherkin img {
    height: 590px;
}

@media screen and (max-width: 1200px) {

    .imgOuter {
        display: flex;
        flex-grow: 1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: absolute;
    }

    .imgFrame {
        overflow: hidden;
        height: 100%;
    }

    #office {
        top: 20%;
        left: 5%;
        width: 60%;
        z-index: 0;
    }

    #building {
        top: 10%;
        right: 0;
        width: 50%;
    }

    #logo {
        top: 66%;
        right: 0px;
        width: 50%;
    }

    #gherkin {
        top: 60%;
        left: 5%;
        width: 50%;
    }

    #services img {
        max-width: 100%;
    }

    #services #office img {
        max-height: 300px;
    }

    #services #building img {
        max-height: 300px;
    }

    #services #logo img {
        height: 344px;
    }

    #services #gherkin img {
        height: 590px;

    }

}*/

/* --------------- */

#services {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
}

#services .container {
    position: relative;
}

#top {
    position: relative;
}

#top .line {
    position: absolute;
    width: 0;
    height: 5px;
    background-color: #cb9b51;
    top: 20%;
    left: 40%;
    z-index: 20;
    transition-duration: 1s;
    transition-timing-function: ease-in;
}

#top .line.scrolled {
    width: 20%;
}

@media screen and (max-width: 991px) {
    #top .line {
        display: none;
    }
}


.decor {
    position: absolute;
    content: '';
    top: 40%;
    left: 20%;
    width: 40%;
    height: 200px;
    border: 4px solid #cb9b51;
    filter: blur(2px);
}

.intro {
    width: 100%;
    display: flex;
    justify-content: center;
}

.intro h2 {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 5px;
    background-color: #1a1a1a;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 200;
}

@media screen and (max-width: 767px) {
    .intro h2 {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}

.intro h2 span {
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid #fff;
}

@media screen and (max-width: 767px) {
    .intro h2 span {
        position: relative;
        padding-right: 0px;
        margin-right: 0px;
        margin-top: 15px;
        margin-bottom: 15px;
        border-right: 0px solid rgba(255, 255, 255, 0.5);
    }

    .intro h2 span:before {
        position: absolute;
        content: '';
        top: 35px;
        left: 50%;
        height: 1px;
        width: 20px;
        transform: translateX(-50%);
        background-color: #fff;
    }

    .intro h2 span:last-child:before {
        display: none;
    }
}



.intro h2 span:last-of-type {
    padding-right: 0px;
    margin-right: 0px;
    border-right: 0px solid #fff;
}

#services img {
    width: 100%;
}

.contactDetails .address {
    position: relative;
    padding-left: 40px;
}

.contactDetails .address:before {
    content: '';
    width: 25px;
    height: 25px;
    position: absolute;
    top: 5px;
    left: 0;
    background-image: url(../images/pin.svg);
    background-size: cover;
}


.contactDetails .email {
    position: relative;
    padding-left: 40px;
}

.contactDetails .email:before {
    content: '';
    width: 25px;
    height: 25px;
    position: absolute;
    top: 5px;
    left: 0;
    background-image: url(../images/email.svg);
    background-size: cover;
}

.email a:hover {
    color: #ffffff;
}

#map {
    position: relative;
    padding: 0;
    height: 570px;
}

@media screen and (max-width: 767px) {
    #map {

        height: 430px;
    }

}

/*
#map:before {
    position: absolute;
    pointer-events: none;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #cb9b51;
    mix-blend-mode: multiply;
    opacity: 0.3;
}
*/

#map:after {
    position: absolute;
    pointer-events: none;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #cb9b51;
    mix-blend-mode: color-burn;
}

#map iframe {
    width: 100%;
    height: 100%;
}

.contactDetails form {
    margin-top: 30px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 40px;
}

@media screen and (max-width: 767px) {
    .contactDetails form {

        padding-right: 0px;
        padding-bottom: 50px;
    }
}

.contactDetails form input[placeholder],
form textarea {
    width: 100%;
    min-height: 40px;
    padding-left: 10px;
    margin-bottom: 10px;
    border: 1px solid #cb9b51;
    background-color: transparent;
    color: #ffffff;
}

form,
textarea {
    padding-top: 10px;
}

form .button {
    margin-top: 25px;
}


#footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#footer img {
    height: 160px;
    margin: 100px 0 50px;
}

#footer p {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
}