
/*
Theme Name: MLDE
Theme URI: https://www.ashtreedesign.net/ash-tree-design/contact-us.html
Author: Ash Tree Design
Author URI: https://www.ashtreedesign.net
Description: Private Theme
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
Tags: one-column
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Joiin
This theme, like WordPress, is licensed under the GPL.


*/




  
@font-face {
  font-family: "CenturyGothicStdRegular";
  src: url('fonts/font.woff2') format('woff2'), url('fonts/CenturyGothicStdRegular/font.woff') format('woff');
}






/* Fundamentals */


*{outline:none;}


html {
	scroll-behavior: smooth;
}


body {
    position: relative;
    overflow-x: hidden;
}

html,
body{
	padding:0;
	margin:0;
	height:100%;
	width:100%;
	min-height:100%; font-family: CenturyGothicStdRegular; background-color: #ffffff; font-weight: 300

}



body {
    color:#272727;
    font-size: 16px;
    line-height: 25px; 
}



a {
	color: #272727;
	text-decoration: underline;  transition: 0.4s; text-underline-offset: 3px
}


a:visited {
	color: #272727;
	text-decoration: none;  transition: 0.4s;
}
	

a:hover {
	text-decoration: underline; 	color:#272727;
	outline: none;
}
	

a img ,img{
	border: none;
}	

a:focus, a:hover, a:active {
	outline: none;
}

a.more-link{display:none;}

img,fieldset{border:none;}

img{max-width: 100%;}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.sticky{}
.screen-reader-text{}
.gallery-caption{}
.bypostauthor{}
.wp-caption{}
.wp-caption-text{}










/* Titles and Paragraphs */


h1,h2,h3,h4{
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 16px;
	margin: 0;
 font-weight: 300
}

h1{font-size: 33px; line-height:39px; padding-bottom: 15px }

.home h1{font-size: 42px; line-height:47px;}


h2{font-size: 33px; line-height:43px; padding-bottom: 10px; text-transform: lowercase}

h3{font-size: 33px; line-height:43px; padding-bottom: 10px; text-transform: lowercase }

h4{font-size: 25px; line-height:28px; padding-bottom: 8px; text-transform: lowercase }

h5{font-size: 12px; line-height:13px; text-transform: uppercase; letter-spacing: 3px; font-weight: 300; padding-top: 20px; padding-bottom: 20px}



p{
	padding: 0;
	margin: 0px; padding-bottom: 12px;
}

li{
	padding: 0;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 7px;   
}


ul,ol{padding-left: 25px; margin-top: 0px}

ul.widget{
	list-style:none;
	padding:0;
	margin:0;
}

b,strong{

    font-weight: 600; 
}


blockquote{
    background-color: #FBFBFB;
    padding: 25px;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 30px;
    border-bottom-color: #08344C;
    border-bottom-width: 5px;
    border-bottom-style: solid
}









/* Theme Wrappers */


.wrap{	 
    max-width: 1300px;     margin: 0 auto; padding-left: 25px; padding-right: 25px
}

.wrap:after{display: table; clear:both; content:'';}

#wrapper{
	background:none;
	padding:0;
	margin:0;
	width:100%;
	box-shadow:none;
}


#mainbody{ max-width:100%; margin-left: auto; margin-right: auto;  }









/* Theme Header */


#headerwrap{
    width: 100%;max-width: 100%;
    display: block;  padding-top: 40px; padding-bottom: 30px; 
}




#centredlogo{
float: left;  padding-top: 29px
}

#centredlogo img{
height: 23px; width: auto
}


.scrolled{    position: fixed !important;
    left: 0px !important;
    right: 0px !important;
    top: 0px !important;
    z-index: 99999 !important;
background-color: #ffffff;     padding-top: 15px!important;
    padding-bottom: 10px!important; border-bottom-color: #EDEDED;border-bottom-style: solid; border-bottom-width: 1px}





 



/* Theme Naivgation Menus */


#main-nav{
  margin: 0 auto; display:inline-block; float:right;  text-align: right;  transition: 0.3s; padding-top: 10px
}


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

#main-nav ul li{
	display:inline-block;
		margin-left: 3px; margin-right: 3px; margin-bottom: 0px!important
}


body.home #main-nav ul li{border:none;}

#main-nav ul li a{
    font-size: 17px;
    padding: 0px; margin-left: 24px;
    display: block;  text-decoration: none; line-height: 60px; 
 }


#main-nav ul li a:hover{
color: #999999
}

#main-nav ul li.current-menu-item a{
color: #999999
}


#main-nav ul li.current_page_ancestor a{
color: #999999
}


#main-nav ul li.menu-item-has-children a{
    background-image: url(images/menuarrow.svg);
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 20px;
}








/* Dropdown Menus */


#main-nav li ul{position: absolute;width: 250px;
z-index: 9999;
    background-color: #272727;
    visibility: hidden;
    opacity: 0;  margin-top: -10px; margin-left: 0px; padding: 15px; border-radius: 9px;}

#main-nav li ul li{    float: none; text-align: left; 	margin-left: 0px; margin-right: 0px; display: block;}
#main-nav li ul li.current-menu-item{ border-radius: 0px}
#main-nav li ul li a{
    font-size: 15px;
    padding-top: 5px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    margin: 0px;
    border: none!important;
    color: #ffffff; letter-spacing: 0px; line-height: 19px
}
#main-nav li ul li a:hover {border-radius:0!important;color: #999999; text-decoration: none}
#main-nav li ul li.current-menu-item a{color: #999999; }
#main-nav li ul li.current-menu-item a:hover{color: #999999!important; text-decoration: none}
#main-nav li:hover ul{visibility:visible; opacity:1;}

.mobile-nav{display:none;}









/* Banners */


#banner{
    position: relative;
    width: 100%; height: auto
}

#banner img{
    width: 100%; height: auto; min-width: 100%
}


#banner-home{position:relative;}
#banner-home img{width:100%; display:block;}

.flexslider .slides > li{ height: 850px;}

#banner-home .flex-control-nav{right:20px; bottom:30px;z-index:55;text-align: right;}
#banner-home .flex-control-nav li{margin:0 5px;}
#banner-home .flex-control-paging li a{font-size:0;}
#banner-home .flex-control-paging li a{border:1px solid #fff; background:transparent;    width: 12px; height: 12px;}
#banner-home .flex-control-paging li a.flex-active{background:#FFF;}


.show-mob,.close-mob{display:none;}

#new-sub-banner {
    height: 580px; position: relative; z-index: 9; 
}

#new-sub-banner .wrap{
   position: relative; min-height: 580px
}

.sub-banner-inner{ text-align: left;max-width: 550px; position: absolute; left:8px; bottom: 60px }
.sub-banner-inner h1{}
.sub-banner-inner a{}
.sub-banner-inner p{color: #ffffff;    font-size: 26px;
    line-height: 30px; letter-spacing: 1px; text-shadow: 0px 0px 10px #333333}


.flex-direction-nav{display:none;}












/* Footer */


#footer-one {
 
}

#footer-one-inner {
    padding-top: 70px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 4fr;
    gap: 40px;
}


.home #footer-one-inner {
    border-top: 4px solid #272727;
}

#footer-one p {
font-size: 16px; line-height: 24px
}

#footer-one li {
    list-style: none;
    padding-bottom: 0;
}

#footer-one ul {
    margin: 0;
    padding: 0;
}


#footer-contact-details{}
#footer-hours{}
#footer-address{}
 #footer-small-print{text-align: right; font-size: 15px; line-height: 21px}

#footer-small-print a{text-decoration: none; margin-left: 10px}


#footer-message li{list-style: none}

.home #footer-message {display: none}

#footer-message .wrap {
    max-width: 650px; text-align: center
}


#footer-message h2 {
    font-size: 43px;
    line-height: 53px;
}









/* Contact Form 7 */


.wpcf7-form-control-wrap input[type=text],
.wpcf7-form-control-wrap input[type=email]{
    box-sizing: border-box; /* ← prevents padding from increasing width */
    border-radius: 0px;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 25px;
    max-width:100%;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right:16px;
    background-color: #2F2F2F;
font-family: CenturyGothicStdRegular;
    font-weight: 400;
    border-bottom-color: #DADADA; border-bottom-style: solid; border-width: 0px 0px 2px 0px;  
}


.wpcf7-form-control-wrap select {
    appearance: none;         /* Standard */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none;    /* Firefox */
    
    background-image: url('images/selectarrow.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;  /* position arrow */
    background-size: 16px;                   /* adjust size */

    box-sizing: border-box;
    border-radius: 0px;
    margin: 0 0 5px 0;
    max-width:100%;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    padding: 16px 40px 12px 16px;  /* extra right padding so text doesn't overlap arrow */
font-family: CenturyGothicStdRegular;
    font-weight: 400;
    border-bottom-color: #DADADA; border-bottom-style: solid; border-width: 0px 0px 2px 0px;   cursor: pointer
}

    
    
    

textarea.wpcf7-form-control.wpcf7-textarea {
    box-sizing: border-box; /* ← prevents padding from increasing width */
    border-radius: 0px;
    margin-top: 25px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 25px;
    max-width: 100%;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right:12px;
    background-color: #2F2F2F;
font-family: CenturyGothicStdRegular;
    font-weight: 400; height: 200px;     border-bottom-color: #DADADA; border-bottom-style: solid;  border-width: 0px 0px 2px 0px;  
}

.wpcf7-form input[type=submit] {
	background-color: #93C020;
	color: #ffffff;
	padding-top: 12px;
	padding-right: 27px;
	padding-left: 27px;
	padding-bottom: 12px;
	text-decoration: none;
	font-size: 15px; display: inline-block; border-radius: 25px;font-weight: 500; margin-top: 20px;font-family: CenturyGothicStdRegular; border:none
}



.wpcf7-form-control-wrap input[type=text]::placeholder,
.wpcf7-form-control-wrap input[type=email]::placeholder, textarea.wpcf7-form-control.wpcf7-textarea::placeholder {
    color: #ffffff; 
    opacity: 1;
}


.wpcf7-form-control-wrap select option[disabled] {
    color: #ffffff;
}


.wpcf7-form input[type=checkbox] {
    border: 1px solid #C4C4C4;
}


.wpcf7-form p {
 font-size: 13px!important; line-height: 21px!important
}

.wpcf7-form a {
 font-size: 13px!important; line-height: 21px!important; text-decoration: underline!important; color: #ffffff!important
}

.wpcf7-form a:hover {
text-decoration: none!important; color: #93C020!important
}


.wpcf7-list-item {
    margin: 0 0 0 0!important;
}

.wpcf7-form {
padding-right: 35px
}


.wpcf7 form.sent .wpcf7-response-output {
    border-color: #93C020!important;
    border-radius: 12px;
    font-size: 16px;
    line-height: 27px;
    padding: 12px!important;
}











/* Slide Arrows */


.slick-prev{background: url(images/left.svg) no-repeat center center /cover!important;
    display: block!important;     width: 30px!important;
    height: 30px!important;     left: -7%!important;}

.slick-prev:hover{background: url(images/left-hover.svg) no-repeat center center /cover!important; transition: 0.4s;}

.slick-next{background: url(images/right.svg) no-repeat center center /cover!important;
    display: block!important;width: 30px!important;
    height: 30px!important;     right: -7%!important;}

.slick-next:hover{background: url(images/right-hover.svg) no-repeat center center /cover!important; transition: 0.4s;}

.slick-prev:before{
	content: "\f0a8"!important; font-family:FontAwesome!important; display:none;
}
.slick-next:before{
	    content: "\f0a9"!important;font-family:FontAwesome!important;display:none;
}






















/* Animation */

/* ===== Base Style for Transitions ===== */
.fade-in,
.fade-in-up,
.fade-in-down,
.fade-in-up-left,
.fade-in-up-right,
.fade-in-right {
  opacity: 0;
  transition: opacity 1.0s ease-out, transform 1.0s ease-out;
  will-change: opacity, transform;
}

/* ===== Variants ===== */

.fade-in {
  opacity: 0;
  transition: opacity0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Up */
.fade-in-up {
  transform: translateY(30px);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Down */
.fade-in-down {
  transform: translateY(-60px);
}
.fade-in-down.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Up Left */
.fade-in-up-left {
  transform: translate(60px, 60px); /* From bottom right */
}
.fade-in-up-left.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Fade-in Up Right */
.fade-in-up-right {
  transform: translate(-60px, 60px); /* From bottom left */
}
.fade-in-up-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Fade-in Right */
.fade-in-right {
  transform: translateX(-60px); /* From left */
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}






/* Featured Carousel */


.projects-carousel {
    background: #272727;
    border-radius: 12px;
    overflow: hidden;
}

.project-slide {
    display: flex !important;
    align-items: stretch;
}

.project-left,
.project-right {
    width: 50%;
}

.project-left {
    display: flex;
    flex-direction: column;
    color: #fff; position: relative
}
.project-left-inner{padding: 60px; min-height: 400px}

.project-left-inner a{color: #ffffff}
.project-left-inner a:hover{text-decoration: none}

.project-right{
    width:72%;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.project-right img{
    width:100%;
    flex:1;
    object-fit:cover;
}

.featured-project-category{
    padding-top: 8px;
    padding-left: 15px;
    padding-bottom: 8px;
    color: #ffffff;
    border-radius: 7px;
    background-color: #777777;
    display: inline-block;
    margin-bottom: 70px;
    padding-right: 15px; font-size: 15px
}

.project-excerpt {
    margin-bottom: 20px; max-width: 85%; font-weight: 400

}

/* Push arrows to the bottom */

.project-arrows {
    margin-top: auto; position: absolute; bottom:50px; right:50px
}

.project-arrows .slick-prev,
.project-arrows .slick-next {
    position: static;
    transform: none;
    display: inline-flex !important;
    width: 46px;
    height: 46px;
    margin-right: 12px;
}

.project-arrows .slick-prev:before,
.project-arrows .slick-next:before {
    color: #fff;
    font-size: 28px;
}



/* Mobile */

@media (max-width: 768px) {

    .project-slide {
        flex-direction: column;
    }

    .project-left,
    .project-right {
        width: 100%;
    }

    .project-right img {
        height: 320px;
    }

}






/* Project Category Grid */


.project-category-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:26px; margin-top: 25px
}

.project-category-card{
    position:relative;
    display:block;
    overflow:hidden;
    aspect-ratio:1 / 1;
    text-decoration:none; 
}

.project-category-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.project-category-card:hover img{
    transform:scale(1.05);
}

.project-category-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.35) 20%,
        rgba(0,0,0,0) 65%
    );
}

.project-category-title{
    position:absolute;
    left:21px;
    bottom:21px;
    color:#fff;
    text-align:left;
    z-index:2;
    max-width:85%;
        font-size: 16px;
    line-height: 20px; text-transform: lowercase
}

/* Tablets */

@media (max-width:1024px){

    .project-category-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

/* Phones */

@media (max-width:768px){

    .project-category-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .project-category-title{
        font-size:1rem;
        right:12px;
        bottom:12px;
    }

}







/* Services List */



.service-list{
    display:flex;
    flex-direction:column;
    gap:22px;
}



.service-box{
    background: #fff;
    padding: 18px;
    transition: .3s;
    border-radius: 12px;
}

.service-box:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 45px rgba(0,0,0,.14);
}



.service-inner{

    display:grid;

    grid-template-columns:30% 70%;

    gap:18px;

    align-items:stretch;
}


.service-image{

   background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    min-height:100%; 

    transition:transform .45s ease;  border-radius: 12px 0px 0px 12px
}




.service-content{
    padding-top: 20px;
    padding-right: 50px;
    padding-left: 5px;
    padding-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;     font-size: 16px;
    line-height: 26px;
}

.service-content h3{

    margin:0 0 20px;

    line-height:1.2;
}



.service-short{

    display:block;
}

.service-short p:last-child{

    margin-bottom:0;
}



.service-long{

    display:none;

    opacity:0;
}

.service-box.open .service-short{

    display:none;
}

.service-box.open .service-long{

    display:block;

    opacity:1;

    animation:fadeIn .35s ease;
}



.service-project-link{

    display:inline-block;

    margin-top:10px;

    text-decoration:none;

    font-weight:600;

    transition:opacity .25s ease;
}

.service-project-link:hover{

    opacity:.7;
}



.service-toggle{

    position:absolute;

    right:20px;

    bottom:0px;

    width:25px;

    height:25px;

    border:0;

    background:none;

    padding:0;

    cursor:pointer;
}



.service-toggle img{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:contain;

    transition:opacity .25s ease;
}

.arrow-up{

    opacity:0;
}

.service-box.open .arrow-down{

    opacity:0;
}

.service-box.open .arrow-up{

    opacity:1;
}



@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



@media (max-width:900px){

    .service-box{

        grid-template-columns:1fr;
    }

    .service-image{
        height:200px;
    border-radius: 12px 12px 12px 12px;
        min-height:200px;
    }
    
    .service-inner {
    grid-template-columns: 100%;
}

    
    .service-content {
    padding-top: 10px;
    padding-right: 50px;
    padding-left: 10px;
    padding-bottom: 10px;
}
    
    
    .service-toggle {
    right: 0px;
    bottom: 0px;
}
    
}





/* Single project layout */


#single-project-header{
    display:grid;
    gap:40px;
    margin-bottom:40px;
    align-items:stretch;
}


#single-project-header.layout-simple{
    border-bottom:4px solid #000;
}

#single-project-header.layout-complex{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

#single-project-header.layout-complex .project-header-text{
    border-bottom:4px solid #000;
    padding-bottom:40px; padding-top: 40px
}


.project-header-text {
padding-bottom:40px; padding-top: 40px

}



#single-project-header.layout-simple{
    grid-template-columns:1fr 2fr;
}



/* Text */

.project-header-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
}



/* Simple Image */

#single-project-header.layout-simple .project-header-image {
    position: relative;
    overflow: hidden;
    min-width: 0;
        min-height: 500px;
}

#single-project-header.layout-simple .project-header-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Complex Images */



.portrait-image{
    height:100%;
    overflow:hidden;
}

.portrait-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}


/* Mobile */

@media (max-width:900px){

    #single-project-header.layout-simple,
    #single-project-header.layout-complex{
        grid-template-columns:1fr;
    }

    .project-header-image{
        height:350px;
    }

    .portrait-image{
        height:350px;
    }

}



#single-project-gallery{
    display:flex;
    flex-direction:column;
    gap:40px;
}

/* Rows */

.gallery-row{
    display:grid;
    gap:40px;
}

/* ---------- SIMPLE ---------- */

.landscape-portrait{
    grid-template-columns:2fr 1fr;
    height:500px;
}

.full-landscape{
    grid-template-columns:1fr;
    height:500px;
}

/* ---------- COMPLEX ---------- */

.triple-portrait{
    grid-template-columns:repeat(3,1fr);
    height:500px;
}

.double-square{
    grid-template-columns:repeat(2,1fr);
    height:500px;
}

/* Image containers */

.landscape,
.portrait,
.square{
    height:100%;
    overflow:hidden;
}

/* Images */

.landscape img,
.portrait img,
.square img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* Mobile */

@media (max-width:900px){

    .landscape-portrait,
    .full-landscape,
    .triple-portrait,
    .double-square{
        grid-template-columns:1fr;
        height:auto;
    }

    .landscape,
    .portrait,
    .square{
        height:320px;
    }

}





/* Project Gallery */


.project-gallery{
    display:grid;
    gap:40px;
    padding-bottom:35px;
    flex:1;
}

.project-gallery {
    scroll-margin-top: 300px;
}


.project-gallery-wrapper{
    display:flex;
    align-items:stretch;
    gap:40px;
    margin:0px;
}

.project-gallery-title{
    writing-mode:vertical-rl;
    transform:none;
    text-transform:lowercase;
    font-size:28px;
    font-weight:400;
    color:#CBCBCB;
    letter-spacing:-1px;
    white-space:nowrap;
    padding-right:20px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-shrink:0;
}



/* Desktop columns */

.project-gallery.columns-2{
    grid-template-columns:repeat(2,1fr);
}

.project-gallery.columns-3{
    grid-template-columns:repeat(3,1fr);
}

.project-gallery.columns-4{
    grid-template-columns:repeat(4,1fr);
}

.project-gallery.columns-5{
    grid-template-columns:repeat(5,1fr);
}

.project-gallery.columns-6{
    grid-template-columns:repeat(6,1fr);
}


/* Images */

.project-gallery-item{
    display:block;
    overflow:hidden;;
}

.project-gallery-image{
    width:100%;
    overflow:hidden;
}

.project-gallery-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .4s ease;
}

.project-gallery-item:hover img{
    transform:scale(1.05);
}


/* Tablet */

@media (max-width:991px){

    .project-gallery{
        grid-template-columns:repeat(2,1fr) !important;
    }

}


/* Mobile */

@media (max-width:640px){

    .project-gallery-wrapper{
        display:block;
    }

    .project-gallery-title{
        writing-mode:horizontal-tb;
        transform:none;
        border-right:none;
        border-bottom:1px solid #DDD;
        padding:0 0 15px;
        margin-bottom:25px;
        justify-content:flex-start;
        font-size:28px;
    }

    .project-gallery{
        grid-template-columns:1fr !important;
    }

}






/* Awards CArousel */


.awards-slider {
    position: relative;
    margin: 10px -15px;
}


.awards-slider .slick-list {
    overflow: hidden;
}

.awards-slider .award-slide {
    padding: 15px;
    box-sizing: border-box;
}

.awards-slider .award-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    height: 100%;
    box-sizing: border-box;
}

.awards-slider-2 .award-card {
    background: #333333!important;
}

.awards-slider h4{
font-size: 22px;
    line-height: 25px; min-height: 140px;     padding:10px;
}

.awards-slider-2 h4{
color: #ffffff!important
}

.awards-slider .award-subtitle {
color: #767676
}

.awards-slider-2 .award-subtitle {
color: #ffffff!important
}

.awards-slider .award-project {
    background: #333333;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.awards-slider-2 .award-project {
    background: #ffffff!important;
}

.awards-slider .award-project-image {
    width: 25%;
    flex: 0 0 25%;
}

.awards-slider .award-project-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.awards-slider .award-project-content {
    width: 75%;
    flex: 0 0 75%;
}

.awards-slider .award-project-content p {
    color: #fff; padding-bottom: 0px

}

.awards-slider-2 .award-project-content p {
    color: #333333!important;

}

.awards-slider .award-project-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .3s; font-size: 12px
}

.awards-slider-2  .award-project-content a {
    color: #333333!important;

}

.awards-slider .award-project-content a:hover {
    opacity: .7;
}

/* Slick fixes */

.awards-slider .slick-track {
    display: flex;
}

.awards-slider .slick-slide {
    height: inherit;
}

.awards-slider .slick-slide > div {
    height: 100%;
}

.awards-slider .award-slide {
    height: 100%;
}



.awards-slider .slick-prev,
.awards-slider .slick-next{
    position: absolute;
    top: -50px;
    width: 25px!important;
    height: 25px!important;
    transform: none !important;
    z-index: 100;
}

.awards-slider .slick-prev{
    left: auto !important;
    right: 50px !important;
}

.awards-slider .slick-next{
    right: 12px !important;
}

.awards-slider .slick-prev:before,
.awards-slider .slick-next:before{
    display: none;
}







/* Map Locations */




.map-locations {
    position: relative;
    width: 100%;
    overflow: visible;
}

.map-locations-image {
    display: block;
    width: 100%;
    height: auto; padding-bottom: 180px
}

.map-locations-pins {
    position: absolute;
    inset: 0;
}

.map-location.is-open {
    z-index: 20;
}

/* =========================================================
   LOCATION
   ========================================================= */

.map-location {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 2;
}

.map-location.is-open {
    z-index: 20;
}


/* =========================================================
   MAP PIN
   ========================================================= */

.map-location-pin {
    position: absolute;
    left: 0;
    top: 0;

    width: 40px;
    height: 40px;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    transform: translate(-50%, -50%);

    cursor: pointer;

    z-index: 5;
}

.map-location-pin svg {
    display: block;
    width: 100%;
    height: 100%;
}

.map-location-pin circle {
    fill: #303030;
    stroke: #ffffff;
    stroke-width: 5;
}


/* =========================================================
   POPUP
   ========================================================= */

.map-location-popup {
    position: absolute;

    width: 400px;
    max-width: calc(100vw - 40px);

    /*
     * The .map-location is positioned exactly at
     * the ACF X/Y coordinate.
     *
     * 25px moves the popup underneath/behind
     * the right-hand half of the pin.
     */
left: -45px;
    top: -42px;

    padding: 0;

    background: #fff;

    border-radius: 20px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    z-index: 4;
}


/* Popup open */

.map-location.is-open .map-location-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Popup content */

.map-location-popup-content {
    padding: 78px 18px 18px;
}

.map-location-popup-content p{
padding-bottom: 0px
}


.map-location-popup-content a{
text-decoration: none; font-weight: 600
}


/* Left-hand popup */

.map-location.popup-left .map-location-popup {
    left: auto;
    right: -45px;
}


/*
 * Invisible bridge between the pin and popup.
 */

.map-location-popup::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: -25px;

    width: 25px;
}

.map-location.popup-left .map-location-popup::before {
    left: auto;
    right: -25px;
}


/* =========================================================
   DESKTOP HOVER BRIDGE
   ========================================================= */

/*
 * Creates an invisible area between the pin and popup,
 * making it easier to move the mouse from the pin into
 * the popup without it disappearing.
 */

.map-location-popup::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: -30px;

    width: 30px;
}

.map-location.popup-left .map-location-popup::before {
    left: auto;
    right: -30px;
}


.map-location-popup-close {
    display: none;
}



/* Subtle pulse on inactive map pins */

.map-location-pin {
    position: relative;
}

.map-location-pin::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    border: 2px solid #ffffff;
    border-radius: 50%;

    transform: translate(-50%, -50%) scale(1);

    opacity: 0;

    animation: map-pin-pulse 3s ease-out infinite;

    pointer-events: none;
}


@keyframes map-pin-pulse {

    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    60% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }

}

.map-location.is-open .map-location-pin::after {
    animation: none;
    opacity: 0;
}



.map-location:hover .map-location-pin::after {
    animation: none;
    opacity: 0;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    
    .map-locations-image{    padding-bottom: 140px;}
    
    .map-location-pin {
        width: 44px;
        height: 44px;
    }

    .map-location-popup {
     width: calc(100vw - 30px);
        max-width: 400px;
    }

    .map-location-popup-pin {
    position: absolute;

    top: 18px;
    left: 18px;

    width: 50px;
    height: 50px;

    z-index: 2;
    }
    
        .map-location.is-open .map-location-pin {
        opacity: 0;
        visibility: hidden;
    }

    .map-location-popup-content {
        padding: 50px 25px 25px;
    }
    
        .map-location-popup-close {
        display: flex;

        position: absolute;

        top: 18px;
        right: 18px;

        width: 36px;
        height: 36px;

        align-items: center;
        justify-content: center;

        padding: 0;

        border: 0;
        border-radius: 50%;

        background: transparent;

        color: #2f2f2f;

        font-size: 32px;
        font-weight: 300;
        line-height: 1;

        cursor: pointer;

        z-index: 10;
    }

    .map-location-popup-close:hover {
        opacity: 0.6;
    }
    
    

}






.map-locations-lightbox {
  position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;

    overflow: auto;
}

.map-locations-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-locations-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.map-locations-lightbox-inner {
    position: relative;
    z-index: 2;

    width: 90vw;
    max-width: 500px;
    max-height: 90vh;

    box-sizing: border-box;

    background: #fff;
    padding: 40px;

    overflow: visible; border-radius: 15px
}


.map-locations-lightbox-inner .map-locations-image{
    padding-bottom: 0px;
}


.map-locations-lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;

    border: 0;
    background: none;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}



.map-container {
    position: relative;
}



.map-inline-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    
    width: 36px;
    height: 36px;
    
    padding: 0;
    border: 0;
    background: white;
    
    font-size: 28px;
    line-height: 32px;
    cursor: pointer;
    
    border-radius: 50%;
    
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}



.map-container.map-inline-active > *:not(.map-inline-panel) {
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}

.map-inline-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 300ms ease;
    z-index: 10;
}

.map-inline-panel.map-inline-visible {
    opacity: 1;
}






/* Single Post */

#post-details{display: block;overflow: hidden}
#post-details-left{width: 60%; float:left; margin-right: 10%}
#post-details-right{width: 30%; float:left}


.post-sidebar-featured {
    width: 100%;
    margin-bottom: 50px;
}

.post-sidebar-featured-image {
    width: 100%;
    margin-bottom: 20px; padding: 15px; background-color: #F6F6F7;  box-sizing: border-box; border-radius: 10px
}

.post-sidebar-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}


.post-sidebar-meta {
   display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 15px;
    font-size: 14px;
    line-height: 1.4;
    padding: 15px;
    background-color: #F6F6F7;
    margin-bottom: 20px;
    border-radius: 10px;
}



.post-sidebar-read-time,
.post-sidebar-date {
    color: #777;
}

.post-sidebar-date:before {
    content: "•";
    margin-right: 15px;
}


/* Other posts */

.post-sidebar-other {
    width: 100%; padding: 15px; background-color: #F6F6F7;  box-sizing: border-box;  border-radius: 10px
}

.post-sidebar-other h3 {
    margin: 0 0 25px;
}


.post-sidebar-item {
    display: flex;
    width: 100%;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.post-sidebar-item-image {
    display: block;
    width: 75px;
    min-width: 75px;
    height: 75px;
    overflow: hidden;
}

.post-sidebar-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.post-sidebar-item-content {
    flex: 1;
}

.post-sidebar-item-date {
    margin-bottom: 5px;
    font-size: 12px;
    color: #777;
}

.post-sidebar-item h4 {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

.post-sidebar-item h4 a {
    color: inherit;
    text-decoration: none;
}

.post-sidebar-item h4 a:hover {
    text-decoration: underline;
}


/* ---------------------------------
   Mobile
--------------------------------- */

@media (max-width: 767px) {

    
        #post-details-left {
        width: 100%;
        margin-top: 40px;
    }
    
    #post-details-right {
        width: 100%;
        margin-top: 40px;
    }

}






/* Blog Grid */


.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.blog-grid-item {
    background: #fff;
    overflow: hidden; border-radius: 10px
}


.blog-grid-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-grid-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.blog-grid-content {
    padding: 25px;
}


.blog-grid-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.4;
}


.blog-grid-meta span + span:before {
    content: "•";
    margin-right: 12px;
}


.blog-grid-date,
.blog-grid-author,
.blog-grid-read-time {
    color: #777;
}


.blog-grid-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.25; max-width: 300px
}


.blog-grid-title a {
    color: inherit;
    text-decoration: none;
}


.blog-grid-title a:hover {
    text-decoration: underline;
}


/* Tablet */

@media (max-width: 900px) {

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

}


/* Mobile */

@media (max-width: 600px) {

    .blog-grid {
        grid-template-columns: 1fr;
    }

}








/* WP Bakery Styles */


.paddingtopsmall{padding-top:30px}
.paddingbottomsmall{padding-bottom: 30px}

.paddingtop{padding-top:70px}
.paddingbottom{padding-bottom:70px}

.paddingright{padding-right: 40px}

.paddingtoplarge{padding-top:110px}
.paddingbottomlarge{padding-bottom:150px}

.nobottommargin{margin-bottom: 0px!important}

.whitetext p, .whitetext a, .whitetext h1, .whitetext h2, .whitetext h3, .whitetext h4, .whitetext li, .whitetext h5{color: #ffffff!important}
.darktext p, .darktext a, .darktext h1, .darktext h2, .darktext h3, .darktext h4, .darktext li{color: #272727!important}


.greybackground{background-color: #F6F6F7}
.blackbackground{background-color: #272727}
.whitebackground{background-color: #ffffff}


.greenlinks a{color: #93C020; text-decoration: none}
.greenlinks a:hover{color: #ffffff}


.shiftup{margin-top: -150px}

.topborder{border-top: 3px solid #272727;}

.box{
    padding-top: 40px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 25px
}

.smallbox{
    padding-top: 25px;
    padding-right: 25px;
    padding-left: 25px;
    padding-bottom:5px
}


.logobox{
    padding-top: 50px;
    padding-right: 50px;
    padding-left: 50px;
    padding-bottom: 50px; border-radius: 12px
}

.logobox img{
border-radius: 12px
}



.roundedcorners{border-radius: 12px}
.roundedcorners img{border-radius:12px}



.darkbutton a, a.darkbutton{
	background-color: #272727;
	color: #ffffff;
	padding-top: 12px;
	padding-right: 19px;
	padding-left: 19px;
	padding-bottom: 10px;
	text-decoration: none;
	font-size: 12px; display: inline-block; border-radius: 8px;font-weight: 400; margin-top: 20px; line-height: 19px; border-width: 1px; border-style: solid; border-color: #ffffff; text-transform: uppercase; letter-spacing: 1px

}
    
    .darkbutton a:hover, a.darkbutton:hover{
	background-color: #ffffff; color: #272727; 
}
    
    
    .whitebutton a, a.whitebutton{
	background-color: #ffffff;
	color: #272727!important;
	padding-top: 11px;
	padding-right: 19px;
	padding-left: 19px;
	padding-bottom: 12px;
	text-decoration: none;
	font-size: 12px; display: inline-block; border-radius: 8px;font-weight: 400; margin-top: 20px; line-height: 19px; border-width: 1px; border-style: solid; border-color: #ffffff; text-transform: uppercase; letter-spacing: 1px

}


.whitebutton a:hover, a.whitebutton:hover{
	background-color: #272727; color: #ffffff!important; 
}




.banner-overlay {
    position: relative;
}

.banner-overlay ::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.6)
    );
    pointer-events: none; border-radius: 0px 0px 12px 12px
}


.banner-overlay-title h1 {
    position: absolute; margin-top: -100px
}





.largeparagraph p{    font-size: 18px;
    line-height: 29px}


.awardrow p{max-width:650px}

.mobile-nav{display:none}
.mobile-only{display:none!important}
.desktop-only{}

.cky-title{display: none!important}
.cky-notice-des a{color:#ffffff}
.cky-notice-des p{padding-bottom: 5px; color:#ffffff!important}



.cky-notice-btn-wrapper .cky-btn {
	font-size: 15px!important;border-radius: 12px!important;
}


.cky-btn-reject {
    color: #272727!important;
    background: #ffffff!important;
    border: 2px solid #272727!important;
}

.cky-btn-accept {
    background: #272727!important;
    color: #ffffff!important;
    border: 2px solid #ffffff!important;
}


.cky-consent-container .cky-consent-bar {
    box-shadow:none!important;  background-color: #272727!important; color: #ffffff!important; border:none!important
}


.cky-notice-btn-wrapper .cky-btn {
    border-radius: 25px!important;
}


.wpb_gmaps_widget .wpb_wrapper {

    padding: 0px!important; background-color: transparent!important}


iframe {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 12px;
    display: block;
    overflow: hidden;
}


/* 1. Flexbox layout for the row */
.flexrow {
  display: flex;
  flex-wrap: wrap;
}

/* 2. Stretch each column */
.flexrow > .wpb_column {
  display: flex;
  flex-direction: column;
}

/* 3. Stretch inner container */
.flexrow .vc_column-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 4. Make wrapper fill the height */
.flexrow .wpb_wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 5. Stretch the actual Text Block */
.flexrow .wpb_text_column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; min-height: 100px
}
