
h1, h2, h3, h4, h5 {
    font-weight: normal;
}

h1 {
    font-size: 4rem;
}

#homepage-top h1 {
    font-size: 3rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2rem !important;
}

footer ul li {
    line-height: 2em;
}


.site-wrapper {
    z-index: 9;
}

#page {
    z-index: 9;
}

.main-body {
    text-align: center;
}

.footer-logo {
    max-width: 196px;
}

.header {
    z-index: 10;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
}

.page-section {
    min-height: 66vh;
    position: relative;
    display: flex;
}

.project-page-section {
    position: relative;
    display: flex;
}

a.link-primary {
    color: #000;
}

ul.sitemap a {
    color: #000;
}

a.header-logo img {
     max-width: 100%;
     max-height: 122px;
}

.section-background {
    height: auto;
}

.section-background p {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.section-background-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; 
}

.section-background img {
    position: relative;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.53;
}

.content-wrapper {
    opacity: 0.999;
    width: 100%;
    box-sizing: content-box;
    margin: 0 auto;
    overflow: hidden;
}

.header-background-wrapper {
    position: absolute;
    top: 15rem;
}

.background-wrapper {
    position: absolute;
    top: 4rem;
}

.btn {
    border-radius: 300px;
    padding: 10px 18px 10px 18px;
    font-weight: 350;
}


p.large {
    font-weight: normal;
    font-size: 20px;
}



.section-title {
    font-size: 50px;
}

.col-title {
    font-size: 25px;
    line-height: 1.2em;
    margin-top: 0.6em;
}

.col-title-lg {
    font-size: 2.8rem;
}

.col-block {
    padding: 20px;
    line-height: 1.5em;
}

h1.large {
    font-size: 4.5em;
    line-height: 5.5rem;
    font-weight: 350;
}

#why-us-bottom h1 {
    font-size: 6em;
    line-height: 5.5rem;
    font-weight: 370;
}

.block-top {
    padding-top: 13rem;
}

.block-top .heading {
    padding-top: 3.5rem;
}

#project-top {
    padding-top: 18rem;
}


#why-us-top .heading {
    padding-top: 3.5rem;
}

#why-us-top .heading {
    padding-top: 3.5rem;
}

#why-us-top img {
    object-fit: none;
    object-position: 50% 50%;
    height: 782px;
}

#why-us-top p {
    font-size: 1em;
}

#why-us-top strong {
    font-size: 1.5em;
    font-weight: normal;
}

#form-message-warning, #form-message-success {
    display: block;
}
  
  #form-message-warning {
    color: #B90B0B; 
}
  
  #form-message-success {
    color: #55A44E;
    font-size: 18px;
    font-weight: bold; 
    margin-top: 10px;
    }
  
  .submitting {
    float: left;
    width: 100%;
    padding: 10px 0;
    display: none;
    font-weight: bold;
    font-size: 12px;
    color: #000; }


#homepage-services .col-block img {
    width: 392px;
}

.grid-thumbs {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-column-gap: 30px;
    grid-row-gap: 60px;
    grid-auto-rows: min-content;
}

.grid-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}



.grid-image {
    padding-bottom: 100%;
    order: 1;
    transition: opacity ease 200ms;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    line-height: 0;
}

.grid-image-inner-wrapper {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
}

.grid-image-inner-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.portfolio-text {
    margin-top: 20px;
    order: 2;
    position: relative;
    text-decoration: none;
}

.portfolio-title {
    color: #000;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0.5em;
    font-size: 2rem;
}

img.thumb {
    width: 258px;
}


.img-caption {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
}

.image-wrapper {
    overflow: hidden;
    display: flex;
    float: left;
    width: 258px;
    height: 290px;
}

.plan-image-wrapper {
    overflow: hidden;
    display: flex;
    float: left;
    width: 712px;
    height: 506px;
}


#expertise_bespoke .image-wrapper {
    width: 415px;
    height: 360px;
}



.search-form {
    margin-top: 10px;
}

.search-result h3 {
    margin-bottom: 0;
    color: #1E0FBE;
}

.search-result .search-link {
    color: #006621;
}

.search-result p {
    font-size: 12px;
    margin-top: 5px;
}

.hr-line-dashed {
    border-top: 1px dashed #E7EAEC;
    color: #ffffff;
    background-color: #ffffff;
    height: 1px;
    margin: 20px 0;
}

.hilite {
    font-weight: bold;
    color: #333;
}

#project-overview img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#project-overview ul {
    list-style-type: none;
    margin: 0 auto;
    margin-top: 20px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#project-overview  li {
    background-color: #DCDCDC;
    margin-right: 80px;
    padding: 15px;
    font-size: 1.5rem;
    width: 180px;
    border-radius: 20px;
  }
  
.project-sections .heading {
    font-size: 2.5rem;
}

.project-sections div.content {
    padding: 1rem;
}

.project-sections div.content h3 {
    font-size: 1.8rem;
    font-weight: 350;
    margin-bottom: 2rem;
}

.project-sections img.thumb {
    width: 330px;
    height: 330px;
    object-fit: cover;
}

.footer-logos img {
    width: 116px;
    height: 58px;
    object-fit: cover;
    margin-right: 6rem;
}


.item-pagination-link {    
    text-align: left;
    display: flex;
    align-items: center;
    max-width: 50%;
    width: auto;
    color: #000;
    text-decoration: none;
}

.item-pagination-link--next {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.item-pagination-link .item-pagination-prev-next {
    display: none;
}


.item-pagination .item-pagination-icon svg {
    stroke: #000;
}


.item-pagination-link .item-pagination-icon {
    width: 18px;
    height: 32px;
    padding-right: 25px;
}

.item-pagination-link--next .item-pagination-icon {
    padding-right: 0;
    padding-left: 25px;
}



.item-pagination-link--prev {
    margin-left: 0;
    margin-right: auto;
}

.item-pagination-link .item-pagination-icon {
    width: 18px;
    height: 32px;
    padding-right: 25px;
}

.item-pagination--prev-next {
    display: flex;
    padding: 3vw 2vw 3vw;
}

.icon {
    position: relative;
    display: block;
    width: 25px;
    height: 25px;
    box-sizing: content-box;
    line-height: 1;
}



@media screen and (max-width: 767px) and (orientation: portrait) {
    h2 {
        font-weight: normal;
        font-size: 40px;
    }

    #homepage-top h1 {
        font-size: 40px;
    }

    #homepage-services .col-block img {
        width: 300px;
    }

    p.large {
        font-weight: normal;
        font-size: 15px;
    }
    
    .header-background-wrapper {
        top: 18rem;
    }

    #why-us-bottom h1 {
        font-size: 4rem;
    }

    h1.large {
        font-size: 3rem;
    }

    #why-us-top {
        padding-top: 18rem;
    }

    .block-top {
        padding-top: 18rem;
    }

    #why-us-top img {
        height: 300px;
    }

    #project-overview ul {
        display: block;
    }

    #project-overview  li {
        margin: 0 auto;
        margin-top: 10px;
    }

    .project-sections div.content p {
        font-size: 0.9rem;
    }

    .project-sections .heading {
        font-size: 2rem;
    }

    .plan-image-wrapper {
      display: block;
      width: auto;
      height: auto;
    }

    .plan-image-wrapper img {
        max-width: 100%;
        height: auto;
    }

   
    
    
}