/* Base */





html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    color: black;
    line-height: 24px;
}

body {
    font-size: 16px;
    background-color: var(--white);
    overflow-x: none;
    font-family: sans-serif;
    background: #E8E8E8;
}


h1,h2,h3,h4,h5,h6,p,ul,ol {
    margin: 0;
    padding: 0;
    font-weight: 400;
}

h2 {
    font-size: 36px;
    line-height: 40.2px;
}

h5 {
    font-size: 24px;
    line-height: 33px;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    opacity: 0.6;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}


/* Styleguide */

/* Utlity classes */

.upper-case {
    text-transform: uppercase;
}



/* Global styles */

.header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 12;
}

.header-nav {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    padding: 24px;
}


.header a {
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.1;
}

.hide-on-desktop {
    display: none;
}

.outter-container {
    width: 100%;
    /* height: 100vh; */
    background-color: #E8E8E8;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-content: end;
    position: fixed;
    bottom: 80px;
}

.inital-p{
    position: initial;
}

.error-404 {
    padding: 24px;
}

.footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    padding: 24px;
    line-height: 1.1;
    text-transform: uppercase;
    font-size: 14px;
    font-family: sans-serif;
}

.footer-link {
    grid-column: 3 / span 3;
}

.item-2 {
    grid-column: 3 / span 3;
}

.item-3 {
    grid-column: 6 / span 2;
}

.quote {
    grid-column: 8;
    text-align: right;
}

/* Menu Styles */

.menu {
    width: 45%;
    height: 100vh;
    background-color: #666C70;
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 10;
    transition: transform 1s ease-in-out;
    /* transform: translateX(-101%); */
}

.open {
    left: 0;
}

.menu-links {
    display: flex;
    flex-direction: column;
    padding: 28px;
    padding-bottom: 0;
    /* height: 95%; */
    width: 40%;
    justify-content: flex-end;
}

.menu-links a {
    font-size: 36px;
    margin-top: 32px;
    padding-bottom: 4px;
    text-decoration: none;
    text-transform: none;
    font-weight: 300;
    color: black;
    width: min-content;
    border-bottom: solid 2px transparent;
    transition: all .3s ease;
}

.menu-links a:hover {
    border-bottom: solid 2px black;
    transition: all .5s ease;
}

.contact-menu {
    display: flex;
    flex-direction: column;
    padding: 28px;
    padding-bottom: 0;
    height: 95%;
    /* width: 40%; */
    justify-content: flex-end;
    left: 300px;
    position: absolute;
    bottom: 32px;
    opacity: 1;
    transition: all 1s ease-in-out; 
}

.contact-menu a {
    font-size: 24px;
    /* line-height: 30px; */
    font-weight: 300;
    text-transform: none;
    border-bottom: 2px solid transparent;
    transition: all .5s ease;
}

.contact-menu a:hover {
    border-bottom: solid 2px black;
}

.contact-menu p {
    font-family: sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.contact-menu h4 {
    font-size: 24px;
    font-weight: 300;
    text-transform: none;
    border-bottom: 2px solid transparent;
}

.contact-menu div {
    margin-top: 28px;
}

.close-menu a {
    position: absolute;
    top: 28px;
    left: 28px;
    transition: all .25s ease-in-out;
    opacity: 1;
    z-index: 4;
}



/* Index Styles */

.logo-feature {
    grid-column: 3 / 9;
    align-content: unset;
    /* margin-bottom: 80px; */
    
}

.logo-feature h1 {
    font-size: 14vw;
    line-height: 0.8;
    text-transform: uppercase;
    font-family: sans-serif;
}



/* About Styles */


.about-main {
    padding: 24px;
}


.page-title {
    align-content: start;
    margin-top: 138px;
    grid-row-gap: 32px;

}

.page-title-container {
    grid-column: 3 / span 3;
}

.about-image {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 7;
}


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

.about-heading {
    grid-column: 3 span / 6;
    margin-bottom: 40px;
}

.about-heading p {
    font-size: 14px;
    font-weight: 350;
}

.about-copy {
    grid-row-start: 3;
    grid-column: 5 / span 4;
    margin-top: 32px;
}

.about-copy h5:first-child {
    margin-bottom: 40px;
}

.sub-heading {
    grid-row-start: 3;
    grid-column-start: 4;
    margin-top: 32px;
}

.sub-heading p {
    font-size: 14px;
    font-weight: 350;
}

.cta {
    grid-row-start: 4;
    grid-column: 3 / span 4;
}

.cta h2 {
    margin-bottom: 180px;
    margin-top: 68px;
    position: relative;
}

.arrow-svg {
    bottom: 14px;
}

.arrow-svg img {
    width: 16px;
}


/* Projects Page */


#projects-page {
    padding: 24px;
    margin-bottom: 224px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 48px;
    grid-row-gap: 48px;
}

.post-thumbnail img {
    width: 100% !important;
    height: auto !important;
}

.text-under-tile{
    display: flex;
    justify-content: space-between;
}

.text-under-tile a,
.text-under-tile p {
    text-transform: uppercase;
    font-size: 14px;

}

.about-title-grid {
    margin-bottom: 40px;
    grid-template-columns: repeat(8, 1fr);
    display: grid;
    width: 100%;
    margin-top: 138px;
}

.page-heading {
    grid-column: 3 / span 3;
}


/* Project detail pages */

#project-detail {
        position: relative;
        height: 100vh;
}

.inner-project-container {
    height: 94vh;
}

.slideshow-container {
    height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Placeholder */
.project-slideshow {
    width: 600px;
    height: 400px;
    background-color: aliceblue;
}

.slideshow-info {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 11;
    padding: 24px;
    box-sizing: border-box;
}

.slideshow-name {
    grid-column-start: 3;
    grid-column-end: 5;
}

.info-link {
    grid-column-start: 6;
    text-align: right;
}

.info-link,
.slideshow-name,
.back-link {
    font-size: 14px;
    font-weight: 350;
}


.side-menu {
    /* display: none;
    opacity: 0; */
    transition: opacity .3s ease-in-out
}

.menu {
    width: 100%;
    height: 100vh;
    background-color: #666C70;
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 10;
    transition: transform 1s ease-in-out;
    transition: all .7s ease;
    /* transform: translateX(-101%); */
    
}

.open {
    left: 0;
}

.menu-links {
    display: flex;
    flex-direction: column;
    padding: 28px;
    padding-bottom: 0;
    /* height: 95%; */
    width: 40%;
    justify-content: flex-end;
    position: fixed;
    bottom: 26px;
}


.menu-links a {
    font-size: 18px;
    margin-top: 9px;
    padding-bottom: 4px;
    text-decoration: none;
    text-transform: none;
    font-weight: 300;
    color: black;
    width: min-content;
    border-bottom: solid 2px transparent;
    transition: all .3s ease;
}

.menu-links a:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-menu a,
.contact-menu h4 {
    font-size: 21px;
    font-weight: 300;
    text-transform: none;
    border-bottom: 2px solid transparent;
    transition: all .5s ease;
}

.contact-menu {
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-bottom: 0;
    height: 95%;
    justify-content: flex-end;
    left: 40%;
    position: absolute;
    bottom: 26px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.contact-open {
    opacity: 1;
    transition: all 0.5s ease-in-out;
}


/* Project info tab */
.project-info {
    height: auto;
    min-height: 100vh;
    background-color: #666C70;
    /* display: none; */
    /* position: relative; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity .5s ease-out;
    opacity: 0;
}

.project-info-open {
    opacity: 1;
    transition: opacity .5s ease-out;
    z-index: 3;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-row-gap: 32px;
    padding: 24px;
    position: absolute;
    top: 120px;
    background-color: #666C70;
}

.slideshow-info {
    position: fixed;
}

 /* Project Info */
 .project-overflow-mobile {
    overflow-y: hidden;
}

.info-about {
    grid-row-start: 2;
    grid-column-start: 3;
    font-size: 14px;
}

.info-copy {
    grid-column-start: 5;
    grid-row-start: 2;
    grid-column-end: 9;
    margin-bottom: 80px;
}

.info-copy h4 {
    margin-bottom: 32px;
}

.info-copy p {
    text-transform: none;
    font-size: 14px;
    margin-top: 32px;
    line-height: 1.3;
}


/* flickity slider */
/* 
.flickity-page-dots {
    display: none;
}

button.flickity-button.flickity-prev-next-button.next {
    top: 50%;
    width: 49%;
    height: 88%;
    border-radius: 0;
    transform: translateY();
}

.flickity-button:hover {
    background: transparent;
    cursor: pointer;
} */

/* Request a quote pop-up */


.request-a-quote-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(232, 232, 232, 0.9);
    transition: all 0.5s ease-in-out;
    opacity: 0;
    pointer-events: none;
}


.display-block {
    /* display: block; */
    opacity: 1;
    pointer-events: all;
}

.request-a-quote {
    width: 454px;
    background-color: #1B1B1B;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    position: relative;
}

div#wpforms-confirmation-68 p {
    margin-bottom: 60px;
    padding-right: 24px;
    padding-left: 23px;
    text-align: center;
}

.request-a-quote h3 {
    padding-top: 66px;
    padding-bottom: 50px;
    font-size: 36px;
    font-weight: 400;
}

.request-a-quote a {
    color: white;
    padding-bottom: 51px;
    padding-top: 91px;
}

.quote-form-fields {
    padding-bottom: 80px;
}

input {
    border: none;
    border-bottom: 1px solid white;
    background-color: rgba(-14, 0, 0, 0);
    width: 66%;
}

label{
    margin-bottom: 8px;
}

#quote-form {
    display: flex;
    flex-direction: column;
}


/* Reuqest a quote form 8 December new */

#wpforms-form-68 {
	margin-bottom: 70px;
}

#wpforms-form-68 .wpforms-submit-container {
 		display: flex;
 		justify-content: center;
 		margin-top: 65px;
}

/* Submit Button */
#wpforms-submit-68 {
    border: none;
    background: none;
    color: white;
    text-transform: uppercase;
    font-size: 13px;
    transition: opacity 0.3s ease;
}

#wpforms-submit-68:hover {
    opacity: 0.6;
}

#wpforms-68-field_2 {
    max-width: 260px;
    border-image: initial;
    background: none;
    border: none;
    border-top: 1px solid transparent;
    border-bottom: 1px solid white;
    color: white;
    height: 24px;
    resize: none;
}

.wpforms-field-container {
    max-width: 240px;
}

.wpforms-field {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    margin: 0 0 6px 0;
}

.wpforms-field-label {
    margin: 0 6px 0 0;
    text-transform: uppercase;
    font-size: 12px;
    height: 14px;
    line-height: 14px;
    position: relative;
    top: 2px;
}

.wpforms-field-medium {
    flex: 1;
    min-height: 26px;
    line-height: 26px;
    color: white;
}

.wpforms-required-label {
    display: none;
}

label.wpforms-error {
    min-width: 100%;
    margin: 10px 0 -10px;
    font-size: 12px;
    min-height: 14px;
    line-height: 14px;
}

/* Request a Quote close button */

.quote-close {
    position: absolute;
    top: 16px;
    right: 18px;
    padding: 0 !important;
}

.quote-close:hover {
    opacity: 0.6;
}


/* Project Info Slideshow */
.flickity-prev-next-button { 
    top: 50% !important;    
    width: 48% !important;    
    height: 100% !important;    
    border-radius: 0 !important;    
    transform: translateY(-50%);
}


.flickity-button-icon {
	display: none !important; 
}


.flickity-button:hover {    
    background: 0;
    cursor: pointer !important;
}

.flickity-button {    
    background: hsl(0deg 0% 100% / 0) !important;
}


/* Error 404 Page */ 

.error-page-styles {
    height: auto;
}


/* Menu screen sizes */

/* Menu Mobile */

/* 990px */

@media (min-width: 990px) {
    

    .menu {
        width: 70%;
        transition: all 1s ease;
        left: -100%;
    }

    .open {
        left: 0;
    }

    .menu-links a {
        font-size: 28px;
    }
    
    .contact-menu a,
    .contact-menu h4 {
        font-size: 24px;
        font-weight: 300;
        text-transform: none;
        border-bottom: 2px solid transparent;
        transition: all .5s ease;
    }

    .hide-d {
        display: none;
    }


}


/* 1180 */

@media (min-width: 1180px) {
    
    .menu {
        width: 50%;
        transition: all 1s ease;
        left: -50%;
    }

    .open {
        left: 0;
    }

}


.widget-area {
    display: none;
}


.carousel-cell {
    position: absolute;
    height: 76vh;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* .carousel-cell img {
    min-height: 76vh;
    width: auto;
}

.flickity-slider{
    left: 0px;
    transform: translateX(-200%);
    height: 76vh;
}

.flickity-viewport {
    height: 76vh;
    touch-action: pan-y;
} */

.main-carousel {
   height: 76vh;
}

.slideshow-outer-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 24px;
    padding-left: 24px;
}


.carousel-cell img {
    width: 100%  !important;
    height: 100% !important;
    object-fit: contain !important;
    max-width: 100% !important;
}

.flickity-page-dots {
    display: none;
}

@media (min-width: 650px ) {
    .item-3 {
        grid-column: 6 / span 3;
    }
}


@media (max-width: 926px) {
    .cta {
        grid-row-start: 4;
        grid-column: 3 / span 6;
    }
}


@media (max-width: 879px) {

    /* About Page */

    .about-heading {
        grid-column-start: 3;
        grid-column-end: 5;
        grid-column-end: none;
    }
   
    .about-image {
        grid-row-start: 2;
        grid-column-start: 1;
        grid-column-end: 9;
    }

    .sub-heading {
        grid-row-start: 3;
        grid-column-start: 3;
        grid-column-end: 5;
        margin-top: 32px;
    }

    .about-copy {
        grid-row-start: 4;
        grid-column: 3 / span 6;
        margin-top: -14px;
    }

    .cta {
        grid-row-start: 5;
        grid-column: 3 / span 6;
    }

    /* project page  */
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Project Info */
    .project-overflow-mobile {
        overflow-y: hidden;
    }

    .project-info-grid {
        background-color: #666C70;
    }

    .slideshow-info {
        position: fixed;
    }

    .info-copy {
        grid-column-start: 3;
        margin-top: -14px;
        grid-row-start: 3;
        margin-bottom: 120px;
    }

}

@media (max-width: 652px) {

    .cta br {
        display: none;
    }

}


/* Mobile sizes  375px */

@media (max-width: 599px) {


    /* Base styles */

    

    /* Home Page */

    .logo-feature {
        grid-column: 1 / 9;
        margin-bottom: 0px;
        padding-left: 20px;
    }
    
    .logo-feature h1 {
        font-size: 17vw;
        line-height: 0.86;
    }

    .outter-container {
        position: fixed;
        bottom: 56px;
    }


    /* Header */
    .header-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding: 24px;
    }

    .header a {
        align-self: center;
    }

    .hide-on-mobile {
        display: none;
    }
    
    .item-2 {
        grid-column: 2 / span 3;
    }

    .quote {
        background-color: black;
        padding: 8px;
        color: white;
        align-self: center;
    }

    .hide-on-desktop {
        display: block;
    }

    .menu-button {
        display: none;
    }

    .hamurger-nav {
        grid-column: 1 / span 1;
    }


    /* Footer */

    .footer-link.item-2 {
        display: none;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }

    /* side menu */ 
    .menu-links a {
        align-self: auto;
    }


    /* Request a quote */

    .request-a-quote-container {
        background-color: rgb(27 27 27);
    }

    .request-a-quote h3 {
        padding-top: 0px;
        padding-bottom: 32px;
        font-size: 24px;
        font-weight: 400;
        -webkit-font-smoothing: antialiased;
    }
    
    #wpforms-form-68 {
        margin-bottom: 0px;
    }

    .quote-close {
        position: fixed;
        top: 31px;
        right: 24px;
    }

    .wpforms-field-label {
        font-size: 14px;
    }

    .wpforms-field { 
        margin: 0 0 8px 0;
    }
   
    #wpforms-form-68 .wpforms-submit-container {
        margin-top: 56px;
    }

    #wpforms-submit-68 {
        font-size: 14px;
    }

    /* About page */

    .about-heading {
        grid-column: 1 / 8;
        margin-bottom: 8px;
    }

    .about-image {
        grid-column-end: 9;
    }

    .sub-heading {
        margin-top: 28px;
        grid-column-start: 1;
        grid-column-end: 4;
    }

    .about-copy {
        grid-row-start: 4;
        grid-column: 1 / span 8;
        margin-top: -14px;
    }

    .cta {
        grid-row-start: 5;
        grid-column: 1 / span 8;
    }

    .cta h2 {
        font-size: 36px;
        line-height: 43.5px;
        margin-top: 80px;
        margin-bottom: 160px;
    }

    .cta br {
        display: none;
    }

    .inital-p {
        position: initial !important;
    }

    /* Project Page */

    .page-heading {
        grid-column: 1 / span 4;
    }

    .projects-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    #projects-page {
        margin-bottom: 160px;
    }

    /* Indivdual project page */
    .back-link {
        display: none;
    }

    .info-link {
        grid-column-start: end;
    }

    .slideshow-name {
        grid-column-start: 1;
        grid-column-end: 8;
    }

    .info-about {
        display: none;
    }

    .info-copy {
        grid-column-start: 1;
    }

    .info-copy p {
        margin-top: 32px;
    }

    .slideshow-info {
        position: fixed;
    }

    .project-info-grid {
        background-color: #666C70;
        padding-bottom: 120px;
        grid-row-gap: 24px;
    }

    .project-overflow-mobile {
        overflow-y: hidden;
    }

}

















