/*
Theme Name:BMD
Theme URI:https://www.bmd.ie
Author:Forza!
Author URI:https://www.forza.ie
Description:Responsive Wordpress theme
License:GNU General Public License v2 or later
License URI:http://www.gnu.org/licenses/gpl-2.0.html
Version:1

Text Domain:bmdforza

*/

:root {
  --padding:5rem;
  --gutter:2rem;
  --gap:3rem;
  --font:'Work Sans',Helvetica,Arial,sans-serif;
  --serif:'Work Sans',Helvetica,Arial,sans-serif;;
}


.top-bar { height:1px; text-align:right; }
.top-bar .wrapper { z-index:initial; }
.top-bar .social { display:inline-block; position:relative; z-index:60; padding: 32px 32px 0 0; }
.top-bar .social a { color:#0077B5; }
.top-bar .svg-inline--fa {
	height: 2em;
	vertical-align: -.25em;
}
@media only screen and (max-width:1000px) {
	.top-bar .social { padding: 0 0 0 0; }
}
@media only screen and (max-width:640px) {
	.top-bar .svg-inline--fa {
        	height: 1.5em;
	}
}

body { background-color:rgb(var(--white)); font-family:'Work Sans',Helvetica,Arial,sans-serif; font-size:1.6rem; font-weight:400; color:rgb(var(--text)); }

.wrapper { max-width:1240px; width:100%; margin:0 auto; padding-left:var(--gutter); padding-right:var(--gutter); position:relative; z-index:2; }
.wrapper.narrow { max-width:800px; }

.header { position:relative; background-color:rgb(var(--white)); border-bottom:7px solid rgb(var(--grey-mid)); z-index:52; }

.header .wrapper > .do-flex { justify-content:space-between; align-items:flex-end; }

.header .logo { padding:var(--gutter) 0; }

.main-menu { position:relative; font-size:1.6rem; margin-top:30px; z-index:201; }
.main-menu > ul { display:flex; justify-content:space-between; }
.main-menu > ul > li { list-style-type:none; position:relative; padding:0 0.75em; }
.main-menu > ul > li > a { padding:var(--gutter) 0; display:block; text-decoration:none; text-transform:uppercase; position:relative; transition:color 300ms; }
.main-menu > ul > li.current-menu-ancestor > a,
.main-menu > ul > li.current-menu-parent > a,
.main-menu > ul > li.current-menu-item > a,
.single-post .main-menu > ul > li.has-blog > a,
.archive .main-menu > ul > li.has-blog > a { color:rgb(var(--second)); }
.main-menu ul li { line-height:1em; }
.main-menu > ul > li > a:hover { color:rgba(var(--first),0.5); }
.main-menu ul li a { color:rgb(var(--first)); white-space:nowrap; }

.main-menu > ul > li.book-now { margin-left:1rem; }
.main-menu > ul > li.book-now > a { padding:0.5em 2.5em 0.5em 1em; border-radius:2em; display:block; text-decoration:none; position:relative; background-color:transparent; border:2px solid rgb(var(--white)); color:rgb(var(--white)); transition:background-color 300ms, color 300ms; }
.main-menu > ul > li.book-now > a:hover { background-color:rgb(var(--white)); color:rgb(var(--first)); }
.main-menu > ul > li.book-now > a:after { content:"\f274"; font:var(--fa-font-regular); display:none; }
.main-menu > ul > li.book-now > a svg { position:absolute; top:calc(50% - 0.5em); right:1em; color:inherit; }

.main-menu > ul > li > ul { visibility:hidden; opacity:0; transition:opacity 0.2s linear, visibility 0.2s linear; position:absolute; top:100%; padding:0; left:0; width:auto; min-width:100%; font-size:1em; z-index:+1; text-align:left; background-color:rgba(var(--grey-mid),1); border-bottom:5px solid rgb(var(--second)); }
.main-menu > ul > li:hover > ul { visibility:visible; opacity:1; }
.main-menu > ul ul li { display:block; margin:0; padding:0; width:100%; position:relative; white-space:nowrap; } 
.main-menu > ul ul a { white-space:nowrap; text-decoration:none; overflow:hidden; display:block; color:rgb(var(--first)); padding:15px; background-color:transparent; transition:background-color 300ms; }
.main-menu > ul > li > ul > li.current-menu-parent > a,
.main-menu > ul > li > ul > li.current-menu-item a,
.single-post .main-menu > ul > li > ul > li.has-blog > a,
.archive .main-menu > ul > li > ul > li.has-blog > a  { background-color:rgba(var(--first),0.5); color:rgb(var(--white)); }
.main-menu > ul > li > ul > li a:hover { background-color:rgba(var(--first),0.8); color:rgb(var(--white)); }

.main-menu > ul > li > ul > li > ul { visibility:hidden; opacity:0; transition:opacity 0.2s linear, visibility 0.2s linear; position:absolute; top:0; padding:0; left:100%; width:auto; min-width:100%; font-size:95%; z-index:+1; border-radius:10px; text-align:left; background-color:rgb(var(--second)); }
.main-menu > ul > li > ul > li:hover > ul { visibility:visible; opacity:1; }
.main-menu > ul > li > ul > li > ul li a { background-color:rgba(var(--second-hover),0.7); }
.main-menu > ul > li > ul > li > ul li.current-menu-item > a { background-color:rgba(var(--black),0.3); }
.main-menu > ul > li > ul > li > ul li a:hover { background-color:rgba(var(--black),0.3);  }
.main-menu > ul > li > ul > li > ul li:first-of-type > a { border-radius:10px 10px 0 0; }
.main-menu > ul > li > ul > li > ul li:last-of-type > a { border-radius:0 0 10px 10px; }

.main-menu > ul > li.menu-item-has-children { margin-right:0.5em; padding-right:1em; }
.main-menu > ul > li.menu-item-has-children > a { padding-right:0; }
.main-menu > ul > li.menu-item-has-children:after { content:"\f078"; font:var(--fa-font-solid); display:none; }
.main-menu > ul > li.menu-item-has-children svg { position:absolute; top:calc(50% - 0.5em); right:0; font-size:0.9em; color:rgb(var(--second)); }

.main-menu > ul > li.current-menu-ancestor.menu-item-has-children svg,
.main-menu > ul > li.current-menu-parent.menu-item-has-children svg,
.main-menu > ul > li.current-menu-item.menu-item-has-children svg,
.single-post .main-menu > ul > li.has-blog svg,
.archive .main-menu > ul > li.has-blog svg { color:rgb(var(--second)); }

.main-menu > ul > li > ul > li.menu-item-has-children > a { padding-right:calc(1.5em + 10px); }
.main-menu > ul > li > ul > li.menu-item-has-children:after { content:"\f0da"; font:var(--fa-font-solid); display:none; }
.main-menu > ul > li > ul > li.menu-item-has-children svg { position:absolute; top:calc(50% - 0.5em); right:5px; font-size:1.2em; color:rgb(var(--second)); }

.main-menu > ul > li.mobile-show { display:none; }

.mobile-menu-trigger { display:none; }

.nav-overlay { position:fixed; left:0; top:0; width:100%; min-height:100vh; z-index:200; visibility:hidden; opacity:0; transition:opacity 0.3s linear, visibility 0.3s linear; }
.nav-overlay .mobile-show { display:none; }


/*** Content Clearfix ***/

.clearfix:after,
.content:after { content:""; display:table; clear:both; }  


/*** COLUMNS ***/


.col-1, .col-2, .col-2-1, .col-3, .col-4, .col-5, .col-6, .gallery { display:flex; flex-wrap:wrap; justify-content:center; gap:var(--gap); }

.col-1 > * { width:calc(100% - var(--gap)); flex:1 1 auto; }
.col-2-1 > *:nth-of-type(odd),
.col-1-2 > *:nth-of-type(even) { width:calc(66.66% - var(--gap)/2); }
.col-2-1 > *:nth-of-type(even),
.col-1-2 > *:nth-of-type(odd) { width:calc(33.33% - var(--gap)/2); }

.col-2 > *,
.gallery-columns-2 > * { width:calc(50% - var(--gap)/2); }
.col-3 > *,
.gallery-columns-3 > * { width:calc(33.33% - var(--gap)/1.5); }
.col-4 > *,
.gallery-columns-4 > * { width:calc(25% - var(--gap)/1.33); }
.col-5 > * { width:calc(20% - var(--gap)/1.25); min-width:150px; }
.col-6 > * { width:calc(16.66% - var(--gap)/1.125); }

.min-col-2 > * { max-width:calc(50% - var(--gap)/2); }

.blocks .col-1 > * { margin-bottom:0; }

.col > *:last-child { margin-bottom:0; }
    
.gallery > br,
.gallery > p { display:none; }
.gallery figcaption { font-size:1.3rem; padding:0.5em 0.25em 0; }

/** SPLIT SECTIONS **/

.hide-overflow { overflow:hidden; position:relative; }

.do-flex, .gallery { display:flex; flex-wrap:wrap; }

.nowrap { flex-wrap:nowrap; }

.nogap { --gap:1px; }
.nogap > * { flex:1 1 auto; min-width:300px; }


/*** Buttons ***/

.more-button,
input.more-button { border:2px solid rgba(var(--white),0.3); background-color:rgb(var(--first-light)); border-radius:4px; padding:0.75em 1.2em; color:rgb(var(--white)); font-weight:600; font-size:1.3rem; line-height:1em; text-align:center; text-transform:uppercase; text-decoration:none; display:inline-block; transition:border-color 300ms, background-color 300ms, color 300ms; cursor:pointer; }
.more-button:hover,
input.more-button:hover { border-color:rgb(var(--first-light-hover)); background-color:rgb(var(--first-light-hover)); color:rgb(var(--white)); }
.content p .more-button { color:rgb(var(--white)); }
.content .more-button { color:rgb(var(--white)); }

span.more-button { cursor:pointer; }

a.more-button { text-decoration:none; }


/*.inherit .more-button,*/
.more-button.outline { border:2px solid rgb(var(--white)); padding:calc(1em - 4px) calc(2.5em - 4px); background-color:transparent; color:rgb(var(--white)); transition:background-color 300ms, border-color 300ms, color 300ms; }
/*.inherit .more-button:hover,*/
.more-button.outline:hover { background-color:rgb(var(--white)); color:rgb(var(--text)); }

.more-button.white { background-color:rgb(var(--white)); color:rgb(var(--second)); }
.more-button.white:hover { border-color:rgb(var(--white)); background-color:rgb(var(--second)); color:rgb(var(--white)); }

.more-button.text { background-color:rgb(var(--text)); color:rgb(var(--white)); }
.more-button.text:hover { border-color:rgb(var(--text-hover)); background-color:rgb(var(--text-hover)); color:rgb(var(--white)); }

.more-button.first { background-color:rgb(var(--first)); color:rgb(var(--white)); }
.more-button.first:hover { border-color:rgb(var(--first-hover)); background-color:rgb(var(--first-hover)); color:rgb(var(--white)); }

.more-button.first-light { background-color:rgb(var(--first-light)); color:rgb(var(--white)); }
.more-button.first-light:hover { border-color:rgb(var(--first-light-hover)); background-color:rgb(var(--first-light-hover)); color:rgb(var(--white)); }

.more-button.second { background-color:rgb(var(--second)); color:rgb(var(--white)); }
.more-button.second:hover { border-color:rgb(var(--second-hover)); background-color:rgb(var(--second-hover)); color:rgb(var(--white)); }

.more-button.second-light { background-color:rgb(var(--second-light)); color:rgb(var(--white)); }
.more-button.second-light:hover { border-color:rgb(var(--second-light-hover)); background-color:rgb(var(--second-light-hover)); color:rgb(var(--white)); }

.more-button.arrow { padding-right:2.25em; position:relative; }
.more-button.arrow:after { content:"\f061"; font:var(--fa-font-regular); display:none; }
.more-button.arrow svg { color:inherit; position:absolute; top:50%; transform:translateY(-50%); right:1em; }


.read-more { font-weight:400; padding-right:1.5em; position:relative; color:rgb(var(--second)); line-height:1.5em; text-decoration:none; display:inline-block; white-space:nowrap; transition:color 300ms; }
.read-more:hover { color:rgb(var(--first)); }
.content .read-more { color:rgb(var(--second)); }
.content .read-more:hover { color:rgb(var(--first)); }

.content .read-more.text-txt { color:rgb(var(--text)); }
.content .read-more.text-txt:hover { color:rgb(var(--text-hover)); }

.content .read-more.first-txt { color:rgb(var(--first)); }
.content .read-more.first-txt:hover { color:rgb(var(--first-hover)); }

.content .read-more.second-txt { color:rgb(var(--second)); }
.content .read-more.second-txt:hover { color:rgb(var(--second-hover)); }


.read-more:after { content:"\f061"; font:var(--fa-font-regular); display:none; }
.read-more svg { color:inherit; position:absolute; top:0.3em; right:0; transition:color 300ms, right 300ms; }
.content .read-more:hover svg { color:inherit; right:-10px; }

a.read-more { text-decoration:none; }

.show-more { font-weight:400; position:relative; color:rgb(var(--second)); line-height:1.5em; text-decoration:none; display:inline-block; white-space:nowrap; cursor:pointer; transition:color 300ms; }
.show-more:hover { color:rgb(var(--first)); }
/*.show-more:after { content:"\f078"; font:var(--fa-font-solid); display:none; }
.show-more.up-arrow:after { content:"\f077"; }*/
.show-more svg { color:inherit; position:absolute; top:0.2em; right:0; transition:color 300ms, right 300ms; }



/*** P ****/

.content :where(p) { line-height:1.75em; margin-bottom:1.75em; }

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

/*** H ***/

h1, h2, h3, h4, h5, h6,
.h-1, .h-2, .h-3, .h-4, .h-5, .h-6 { font-family:'Work Sans', Helvetica,Arial,sans-serif; font-weight:400; line-height:1.125em; margin-bottom:1em; color:rgb(var(--first)); }

h3, .h-3 { font-size:3rem; }

h4, .h-4 { font-size:2.6rem; }

h5, .h-5 { font-size:2.2rem; }

h6, .h-6 { font-size:2rem; }

h1, .h-1, .sidebar > h3:first-child { font-size:4rem; margin-bottom:0.5em; }

h2, .h-2 { font-size:3.4rem; margin-bottom:0.75em;  } 

h1 a, h2 a{ text-decoration:none; }

.banner-text h1,
.banner-text .h-1 { margin-bottom:0; line-height:1.125em;padding:0.3em 0 0.5em; }

.blocks.inherit h1, .blocks.inherit h2, .blocks.inherit h3, .blocks.inherit h4, .blocks.inherit h5, .blocks.inherit h6,
.blocks.inherit .content .h-1, .blocks.inherit .content .h-2, .blocks.inherit .content .h-3, .blocks.inherit .content .h-4, .blocks.inherit .content .h-5, .blocks.inherit .content .h-6 { color:inherit; }

.has-trim { margin-bottom:0.75em !important; padding-bottom:0.75em; position:relative; }
.has-trim:after { content:" "; position:absolute; left:2px; bottom:0; width:40px; height:4px; background-color:rgb(var(--second-light)); }

.logos-wrapper .has-trim:after { left:82px; }


/*** PAGES ***/



strong { font-weight:600; }

.content a:where(:not(.more-button):not(.read-more):not(.button):not(.unset)) { color:rgb(var(--second)); transition:all 300ms; }
.content a:where(:not(.more-button):not(.read-more):not(.button):not(.unset)):hover { color:rgb(var(--first)); }

.blocks .content a:not(.more-button):not(.read-more):not(.button):not(.unset),
.blocks .content a:not(.more-button):not(.read-more):not(.button):not(.unset):hover { color:inherit; }

.inherit a { color:inherit; }

/*.anchor-offset { position:relative; display:block; top:-65px; }*/

/*** LISTS ***/

.content ul,
.content ol  { line-height:1.5em; margin:0 0 1.5em 0; padding-left:1.5em; }

.content ul li { list-style-type:disc; margin-bottom:0.5em; } 

.content ol li { list-style-type:decimal; margin-bottom:0.5em; } 

.content ul.tick-list { overflow:visible; }
.content ul.tick-list li:before { content:"\f058"; font:var(--fa-font-light); display:none; }
.content ul.tick-list li svg { color:rgb(var(--second)); position:absolute; top:0.3em; left:-1.25em; }
.inherit .content ul.tick-list li svg { color:inherit; }
.content ul.tick-list li { position:relative; list-style-type:none; margin-left:0; margin-bottom:1em; padding-left:0.25em; }

/*
.content.page-content ul:not(.tick-list),
.content .col.text ul:not(.tick-list) { list-style:none; }
.content.page-content ul:not(.tick-list) li,
.content .col.text ul:not(.tick-list) li { list-style-type:none; }
.content.page-content ul:not(.tick-list) li::before,
.content .col.text ul:not(.tick-list) li::before { content:"\2022"; color:rgb(var(--first)); font-weight:bold; display:inline-block; width:0.75em; margin-left:-0.75em; position:relative; top:0.15em; }
.inherit .content .col.text ul:not(.tick-list) li::before { color:inherit; }

.content.page-content ol,
.content .col.text ol { list-style:none; counter-reset:li; }
.content.page-content ol li,
.content .col.text ol li { list-style-type:none; counter-increment:li; }
.content.page-content ol li::before,
.content .col.text ol li::before { content:counter(li); color:rgb(var(--first)); display:inline-block; font-weight:bold; width:1em; margin-left:-1em; text-align:right; position:relative; left:-0.75em; white-space:nowrap; }
.inherit .content .col.text > ol li::before { color:inherit; }
*/

/*** BANNER SLIDER ***/

.slides-wrapper { position:relative; overflow:hidden; border-bottom:5px solid rgb(var(--grey-mid)); }

/*
.home .slides-wrapper { height:39vw; max-height:750px; min-height:350px; }
.home .slides-wrapper .slides .slide { display:none; position:relative; }
*/
.slides-wrapper .text { position:absolute; width:100%; max-width:1240px; bottom:var(--gap); left:50%; padding:20px; transform:translateX(-50%); z-index:2;  }
.slides-wrapper .text p.h-1 { line-height:1.25em; margin-bottom:0.75em; max-width:900px; font-weight:500; }


/*** INTRO ***/

.intro p { font-size:1.8rem; color:rgb(var(--first)); }

/*** BLOCKS ***/

.blocks-wrapper .do-flex { flex-wrap:nowrap; align-items:center; position:relative; }
.blocks-wrapper > section:nth-of-type(odd) .reverse-flex { flex-direction:row-reverse; }

.blocks .do-flex { flex-wrap:wrap; }
.blocks .image img { border:7px solid rgba(var(--white),0.2); }
.blocks.white-bg .image img { border-color:rgba(var(--grey-mid),0.5); }

.full-blocks { overflow:hidden; }
.full-blocks .image { flex:1 1 100%; position:relative; min-height:600px; display:flex; }
.full-blocks .image img { position:absolute; object-fit:cover; height:100%; }

.full-blocks .text { flex:1 1 100%; position:relative; z-index:2; display:flex; align-items:center; justify-content:center; }
.full-blocks .text .inner-text { padding:5%; max-width:600px; width:100%; }
.full-blocks .mask { transition:background-color 700ms; }
.full-blocks:hover .mask { background-color:rgba(var(--first),1); }
.full-blocks:hover .more-button { background-color:rgb(var(--white)); color:rgb(var(--text)); }
.full-blocks > a { z-index:3; }

.blocks-wrapper > section.full-blocks:nth-of-type(even) .inner-text { margin-left:auto; }

.content > .buttons-wrapper { padding-top:20px; }
.buttons-wrapper .do-flex { justify-content:flex-start; align-items:center; flex-wrap:wrap; }
.buttons-wrapper .col { flex:0 1 auto; }

.text-center .buttons-wrapper .do-flex { justify-content:center; }


.invert:after { filter:brightness(0) invert(1); }

.corners { position:absolute; top:0; height:100%; width:100%; min-width:1600px; left:50%; transform:translateX(-50%); z-index:1; }
.corners svg { position:absolute; width:750px; }
.corners polygon { fill:rgba(var(--white),0.3); }
.second-gradient-bg .corners polygon,
.first-bg .corners polygon,
.second-bg .corners polygon   { fill:rgba(var(--white),0.1); }
.corners .top-right { top:0; right:0; }
.corners .bottom-left { bottom:0; left:0; }

/* PROJECTS GRID */

.projects-grid .project-title { display:flex; justify-content:space-between; gap:var(--gap); }
.projects-grid .project { background-color: rgb(var(--grey-mid)); padding:7px; }
.projects-grid .project a.mask { display:flex; justify-content:center; align-items:center; opacity:0; text-decoration:none; padding:2rem; background-color:rgba(var(--first),0.7); transition:opacity 400ms; }
.projects-grid .project p { margin-bottom:0; opacity:0; transform:translateY(30px); transition:opacity 500ms, transform 600ms; }
.projects-grid .project:hover a.mask { opacity:1; }
.projects-grid .project:hover p { opacity:1; transform:translateY(0); }

.projects-grid .photo-1,
.projects-grid .photo-6 { width:100% !important; max-width:unset !important; }

/*** SLICK CAROUSEL ***/

.slick-slider { position:relative; }
.slick-list { overflow-x:hidden; }
.slick-track { display:flex; }
.slick-track .slick-slide { height:auto; }

.slick-prev, .slick-next { text-indent:-9999px; left:0; position:absolute; z-index:10; top:calc(50% - 32px); display:block; width:32px; height:32px; padding:0; cursor:pointer; ; color:transparent; border:none; outline:none; background:transparent; }
.slick-next { left:auto; right:0; }

.slick-prev:before { content:"\f053"; font:var(--fa-font-solid); display:none; }
.slick-prev svg { position:absolute; top:0; left:0; font-size:5rem; color:rgb(var(--second)); }

.slick-next:before { content:"\f054"; font:var(--fa-font-solid); display:none;}
.slick-next svg { position:absolute; top:0; right:0; font-size:5rem; color:rgb(var(--second)); }

/*** BRAND LOGOS ***/

.logos-wrapper .wrapper { max-width:1400px }
.logos-wrapper .h-1 { padding-left:80px; padding-right:80px; }
.logos-wrapper .logos { padding:10px 80px; }
.logos .display { display:none; }
.logos .slick-track { display:flex; }
.logos .slick-track .display { display:flex; flex-direction:column; padding:0 20px; }
.logos .slick-track .display .logo { height:100px; display:flex; align-items:center; justify-content:center; }
.logos .slick-track .display img { display:block; height:auto; width:auto; max-height:90px; max-width:180px; margin:0 auto; }
.logos .slick-track .display .biog { flex:1 1 auto; }
.logos .slick-track .display .links { display:flex; flex-direction:column; align-items:center; }

/*** TESTIMONIALS ***/

/*.reviews-wrapper .bx-wrapper:before { content:"\f10d"; font:var(--fa-font-solid); display:none; }
.reviews-wrapper .bx-wrapper:after { content:"\f10e"; font:var(--fa-font-solid); display:none; }
.reviews-wrapper .bx-wrapper svg { color:rgba(var(--second-light),0.5); position:absolute; top:-3rem; font-size:12rem; }
.reviews-wrapper .bx-wrapper svg.fa-f10d { right:calc(100% + 20px); }
.reviews-wrapper .bx-wrapper svg.fa-f10e { left:calc(100% + 20px); }*/

.reviews-wrapper.have-reviews .wrapper { max-width:1400px }
.reviews-wrapper.have-reviews .h-1,
.reviews-wrapper.have-reviews .bx-viewport { padding-left:80px; padding-right:80px; }
.reviews-wrapper.have-reviews .has-trim:after { left:82px; }

.reviews-wrapper .bx-wrapper { position:relative; margin-bottom:50px; }
.reviews-wrapper .bx-controls { position:absolute; width:100%; height:100%; left:0; top:0; }

.reviews-wrapper .bx-wrapper blockquote p { font-size:2rem; }
.reviews-wrapper .bx-wrapper p.name { font-size:1.8rem; margin-bottom:0; }

/* Pager Dots */
.bx-wrapper .bx-pager { position:absolute; right:80px; bottom:-3px; z-index:100; }
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto-item { display:inline-block;  }
.bx-wrapper .bx-pager a { background-color:transparent; text-indent:-9999px; display:block; width:12px; height:12px; border-radius:50%; border:2px solid rgb(var(--white)); margin:0 5px; outline:0; transition:background-color 300ms; }
.bx-wrapper .bx-pager a:hover,
.bx-wrapper .bx-pager a.active { background-color:rgb(var(--white)); }

/* Control Arrows */
.bx-wrapper .bx-controls-direction { display:flex; justify-content:space-between; position:absolute; top:calc(50% - 5rem); width:100%; left:0; font-size:5rem; }
.bx-wrapper .bx-controls-direction a { color:rgba(var(--white),0.5) !important; }


/*** ACCREDIATIONS ***/

.accreditation-logos .do-flex { justify-content:space-between; flex-wrap:nowrap; margin-bottom:var(--gutter); }
.accreditation-logos .do-flex > p { min-width:250px; }
.accreditation-logos .do-flex .acc-logos { flex:1 1 auto; min-width:calc(100% - 250px); }


/***************************** INNER PAGES **************************/

.inner-banner { border-bottom:none; }
.inner-banner .text { top: 50%; bottom: auto; transform: translate(-50%,-50%); }
.inner-banner .text p.h-1 { line-height:1.25em; margin-bottom:0.25em; max-width:700px; font-weight:400; }
.inner-banner .text p.h-4 { line-height:1.25em; margin-bottom:0; max-width:700px; font-weight:400; }

/* Intro */

.page-intro .content p { font-size:1.8rem; }

/** Value Icons **/

.values-wrapper .col { display:flex; justify-content:space-between; gap:var(--gap); }
.values-wrapper .col .icon { min-width:65px; }
.values-wrapper .col .icon img { margin:auto; max-width:60px; }
.values-wrapper .col .value { flex:1 1 auto;  }

/** Leadership Team **/

.leadership .member img { margin-bottom:var(--gutter); }

.member-modal { display:flex; justify-content:space-between; gap:var(--gap); }
.member-modal .member-photo { min-width:30%; }
.member-modal .member-photo img { object-fit:cover; min-height:100%; }
.member-modal .member-details { flex:1 1 auto; }

.member-modal .social-links a { font-size:3rem; color:rgba(var(--first),0.8); }

/*** PROJECTS PAGE ***/

.projects-wrapper .col { display:flex; flex-direction:column; }
.projects-wrapper .col img { margin-bottom:var(--gutter); }
.projects-wrapper .col p { flex:1 1 auto; }
.projects-wrapper .col span span { padding-bottom:0.25em; border-bottom:2px solid rgb(var(--second)); width:120px; transition:color 400ms, border-color 400ms, width 700ms; }
.projects-wrapper .col:hover span span { border-bottom-color:rgb(var(--first)); color:rgb(var(--first)); width:100%; }

/* Single Project */

.project-info .item { display:flex; justify-content:space-between; gap:10px; }
.project-info p { margin-bottom:0.25em; }
.project-info p:last-child { flex:1 1 100%; }

/*** Project Gallery ***/
/* flexisel */

.gallery-wrapper.wrapper { max-width:1400px }
.nbs-flexisel-container { position:relative; max-width:100%;  padding-left:70px; padding-right:70px; }

.nbs-flexisel-inner { overflow:hidden; width:100%; }

.nbs-flexisel-ul { position:relative; width:99999px; margin:0px; padding:0px; text-align:center; display:block !important; }
.nbs-flexisel-ul .gallery-item { display:block; margin:0; padding:0; cursor:pointer; position:relative; float:left; }
.nbs-flexisel-ul .gallery-item img { display:block; width:100%; padding:10px; cursor:pointer; position:relative;  }

/*** flexisel navigation ***/
.nbs-flexisel-nav-left,
.nbs-flexisel-nav-right { width:32px; height:67px; position:absolute; cursor:pointer; z-index:100; top:calc(50% - 20px) !important; font-size:5rem; color:rgb(var(--second)); }
.nbs-flexisel-nav-left { left:0; }
.nbs-flexisel-nav-right { right:0; }
.nbs-flexisel-nav-left:before { content:"\f053"; font:var(--fa-font-solid); display:none; }
.nbs-flexisel-nav-left svg { color:rgb(var(--second)); position:absolute; top:0; left:0; }
.nbs-flexisel-nav-right:before { content:"\f054"; font:var(--fa-font-solid); display:none; }
.nbs-flexisel-nav-right svg { color:rgb(var(--second)); position:absolute; top:0; right:0; }

.gallery-carousel img { display:inline-block; }

.sl-wrapper .sl-image img { border:10px solid rgba(var(--white),0.5) !important; }

/** IMAGE BOXES ***/

.image-boxes-wrapper .col p.text { padding:2rem; }


/*** JOBS ***/

.jobs-wrapper .jobs > div.job:nth-of-type(even) { background-color:rgb(var(--grey-light)); }

/*** Member Testimonial ***/

.member-testimonial { display:flex; justify-content:space-between; }
.member-testimonial .member-photo { min-width:30%; z-index:2; }
.member-testimonial .member-photo img { object-fit:cover; min-height:100%; }
.member-testimonial .member-details { flex:1 1 auto; display:flex; align-items:center; }
.member-testimonial .member-details .content { padding:var(--gap); }
.member-testimonial .member-details .content p.testimonial { font-size:2rem; }


/*** TESTIMONIALS PAGE ***/

.testimonials-page .testimonial { margin-bottom:4%; padding-bottom:3%; border-bottom:1px solid rgba(var(--second-light),0.5); }
.testimonials-page .testimonial h3 { margin-bottom:0.25em; }
.testimonials-page .testimonial > p { font-size:1.8rem; margin-bottom:0.5em; }
.testimonials-page .testimonial blockquote p { line-height:2em; }

.underline { position:relative; padding-bottom:0.75em; }
.underline:after { content:""; position:absolute; width:60px; height:2px; left:calc(50% - 30px); bottom:0; background:rgb(var(--second)); }


/*** CONTACT PAGE ***/

.contact-wrapper .phone-number a,
.contact-wrapper .email-address a { color:rgb(var(--first)); text-decoration:none; font-size:2rem; } 
.contact-wrapper .address { display:flex; flex-direction:column; margin-top:var(--gutter); padding-top:var(--gutter); border-top:3px solid rgb(var(--second-light)); }
.contact-wrapper .address-text { flex:1 1 auto; }



/*** REMODAL ***/

/** Pop Up **/

body .remodal-overlay { background:rgba(var(--first),0.8); }
.remodal-wrapper .remodal { max-width:900px; }
.remodal-wrapper .remodal.popup { text-align:left; padding:0; }
.remodal-wrapper .remodal.popup h3 { margin:0; padding:30px; }
.remodal-wrapper .remodal.popup .content { margin:0; padding:30px; }

/*** Lightbox ***/

.sl-wrapper .sl-counter { font-size:2rem; }
.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button.sl-prev,
.sl-wrapper .sl-navigation button.sl-next { font-size:4rem; }

/*** BLOG ***/

/*.blog-wrapper { margin-top:160px; border-top:1px solid rgba(var(--text),0.3); }*/
.blog-wrapper > div.do-flex {  flex-wrap:nowrap; }
.content-wrapper { width:70.042%; padding-right:5%; border-right:1px solid rgba(var(--grey-mid),0.3); }
.sidebar { width:30%; padding-left:5%; }

.entry { border-bottom:1px solid rgba(var(--grey-mid),0.3); margin-bottom:5%; padding-bottom:1%; }
.entry.has-image { padding-left:34%; }
.entry h2 { margin-bottom:0.5em; }
.entry .postmetadata { margin-bottom:7px; }

.blog .entry img,
.archive .entry img { float:left; margin-left:-51%; margin-top:5px; width:45%; }

.entry p.more-wrapper { text-align:right; }

.sidebar h3 { color:rgb(var(--text)); }
.sidebar > ul {  }
.sidebar > ul li a { font-weight:400; }

.tagcloud { margin-bottom:50px; }

.content .navigation { text-align:center; }
.content .navigation ol.wp-paginate li { margin:0; }
.content .navigation ol.wp-paginate .current { background:rgb(var(--second)); border-color:rgb(var(--second-hover)); }

img.full-image { display:block; margin-bottom:5%; }

.postmetadata { font-size:1.4rem; display:block; margin-bottom:5%; }

.nav-next { float:right; }

.nav-single { font-size:2rem; border-top:1px solid rgba(var(--text),0.4);; border-bottom:1px solid rgba(var(--text),0.4);; padding:20px 0 25px; margin:10% 0 3%; }
.nav-single a { text-decoration:none; color:rgb(var(--second)) !important; }
.nav-single svg { font-size:1.5rem; }
.nav-single span.next { float:right; }
.nav-single span.prev svg { margin-right:5px; }
.nav-single span.next svg { margin-left:5px; }


/*** FORMS ***/

input, textarea, select {
  /* -webkit-appearance:none; */
  -webkit-border-radius:0;
	outline:none;
}

select { -webkit-appearance:none; }

/*** FORMS ***/

.contact-form { position:relative; }

.contact-form .wrapper { z-index:2; }

div.wpcf7 { margin:0 -1%; padding:0 0 60px; position:relative; }

.wpcf7 form { position:relative; max-width:800px; margin:0 auto; } 
.wpcf7 form:after { content:""; display:table; clear:both; }  
 

.screen-reader-response { display:none !important; } 

.wpcf7 p.notice { float:none; width:98%; font-size:1.1rem; display:block; text-align:center; }

.content .wpcf7 p { float:left; width:48%; margin:0 1% 2%; position:relative; }
.wpcf7 p.full { float:none; width:98%; clear:both; }
.wpcf7 p.third { width:31.33%; }
.wpcf7 label { position:absolute; z-index:-1; }
.wpcf7 label.show { position:relative; display:block; text-align:left; margin-bottom:5px; z-index:1; }
.wpcf7 input:not(.more-button), 
.wpcf7 textarea,
.wpcf7 select { width:100%; border:none; border:1px solid rgba(var(--grey-light),1); background-color:rgb(var(--grey-light)); padding:1em; border-radius:3px; font-size:1.6rem; }
.wpcf7 textarea { height:120px; resize:vertical; }

.wpcf7 .wpcf7-submit.more-button { text-transform:uppercase; -webkit-appearance:none; }


.wpcf7 span.wpcf7-not-valid-tip,
.wpcf7 span.wpcf7-not-valid-tip-no-ajax { display:none !important; }

.wpcf7-response-output { font-size:1.4rem; position:absolute; bottom:-25px; width:100%; color:rgb(var(--white)); text-align:center; }

div.wpcf7 span.wpcf7-spinner { position:absolute; display:none; left:calc(50% - 32px); bottom:-40px; width:64px; height:16px; background:url(images/ajax-loader.svg); }
div.wpcf7 .submitting span.wpcf7-spinner { display:block !important; }

.wpcf7-not-valid { border-color:red !important; }

span.wpcf7-form-control-wrap { display:inline; }


/*** CF7 ***/
.wpcf7-acceptance label { position:relative; display:flex; justify-content:center; align-items:start; line-height:1.5em; font-size:1.3rem; color:rgb(var(--first)); cursor:pointer; z-index:+1;}
.wpcf7-acceptance label a { color:rgb(var(--second-light)); font-weight:600; }
.wpcf7-acceptance label a:hover { color:rgb(var(--second)); }
.wpcf7-acceptance label span { padding:0 5px; }
.wpcf7-acceptance input[type=checkbox] { height:20px; width:20px; min-width:20px; margin-right:10px; box-shadow:none; }
input:disabled.wpcf7-submit { border:none; background-color:rgba(var(--second-hover),0.3); color:rgb(var(--white)); cursor:not-allowed; }


/*** TABLES ***/

table.cookie-table { width:100%; }
.cookie-table { background:rgb(var(--white)); border-collapse:separate; border-spacing:1px; text-align:center; margin-bottom:30px; }
.cookie-table th { background:rgb(var(--second)); padding:8px 10px 6px; vertical-align:top; text-align:center; font-weight:bold; color:rgb(var(--white));  }
.cookie-table td { background:rgba(var(--grey-mid),0.1); padding:10px; text-align:center; vertical-align:middle;  }
.cookie-table th, .cookie-table td { line-height:1.5em; }
.cookie-table tr th:last-of-type, .cookie-table tr td:last-of-type { text-align:left; }

table.content-table { width:100%; }
.content-table { background:rgb(var(--white)); border-collapse:separate; border-spacing:1px; text-align:left; margin-bottom:30px; }
.content-table th { background:rgb(var(--first)); background:linear-gradient(180deg, rgba(var(--first),1) 0%, rgba(var(--second),1) 100%); padding:8px 10px 6px; vertical-align:top; line-height:1.5em; font-weight:bold; color:rgb(var(--white));  }
.content-table td { background:rgba(var(--grey-mid),0.1); padding:10px; vertical-align:middle; line-height:1.5em; }

/*** Cookie Notice ***/

#cookie-notice .cn-text-container { margin:0; }
#cookie-notice #cn-accept-cookie { background-color:rgb(var(--second)) !important; transition:background-color 300ms; }

#cookie-notice a.cn-button,
.content p a.cn-revoke-inline { margin:0 0 0 10px; padding:0.25em 0.5em 0.35em; border-radius:3px; color:rgb(var(--white)); text-decoration:none; }

#cookie-notice #cn-refuse-cookie,
#cookie-notice #cn-more-info,
.content p a.cn-revoke-inline { background-color:#999 !important; transition:background-color 300ms; }

#cookie-notice #cn-accept-cookie:hover,
#cookie-notice #cn-refuse-cookie:hover,
#cookie-notice #cn-more-info:hover,
.content p a.cn-revoke-inline:hover { background-color:#333 !important; color:#fff !important; }



/** GOOGLE MAP **/

.map-frame { width:100%; }
#map_canvas { width:100%; height:500px; }
#map_canvas img { max-width:none; border-radius:10px; }
.map-frame .map-info h3 { font-size:1.3rem; text-align:center; line-height:1.25em; margin-bottom:0; font-weight:600; text-transform:uppercase; }
.map-frame .info-box { padding-top:5px; }
.map-frame .info-box p { line-height:1.25em; font-weight:600; text-align:center; }
.map-frame .gmnoprint .gm-style-mtc { display:none !important; }


/*** VIDEO PAGE ***/

.videowrapper { float:none; clear:both; width:100%; position:relative; padding-bottom:56.25%; height:0; margin-bottom:20px; }
.videowrapper iframe { position:absolute; top:0; left:0; width:100%; height:100%; }


/*** NEWSLETTER ***/

.newsletter-wrapper { border-bottom:8px solid rgba(var(--second-hover),0.3); }

form.mc4wp-form { width:100%; max-width:900px; margin:0 auto; padding-bottom:2%; }
form.mc4wp-form .mc4wp-form-fields { display:flex; gap:var(--gap); text-align:left; }
form.mc4wp-form .mc4wp-form-fields > div { background-color:rgb(var(--second-light)); min-width:25%; padding:0.2em 1em 0.4em; border-radius:23px; position:relative; overflow:hidden; }
form.mc4wp-form label { position:absolute; z-index:1; top:10px; left:10px; }
form.mc4wp-form input { border:none; background:rgb(var(--second-light)); color:rgb(var(--second-hover)); width:100%; line-height:1em; -webkit-appearance:none; -moz-appearance:none; outline:none; line-height:1.25em; padding:10px 0 5px 10px; position:relative; z-index:2; }
form.mc4wp-form .subscribe { flex:1 1 auto; }
form.mc4wp-form .subscribe input { width:calc(100% - 130px); } 
form.mc4wp-form button { border:none; background:rgb(var(--first)); outline:none; -webkit-appearance:none; color:rgb(var(--white)); position:absolute; top:50%; right:1px; height:42px; padding:0 30px; border-radius:21px; transform:translateY(-50%); transition:background-color 300ms; }
form.mc4wp-form button svg { color:inherit; }
form.mc4wp-form button:hover { background-color:rgb(var(--first-hover)); } 



/*** FOOTER **/

.sticky-footer { position:sticky; top:100vh;  }

.footer-wrapper { border-top:7px solid rgb(var(--grey-mid)); }

.footer { position:relative; z-index:2; }
.footer .do-flex { flex-wrap:nowrap; justify-content:space-between; }

.footer .logos-wrapper { flex:0 0 auto; font-size:1.5rem; line-height:1.75em; }
.footer .logos-wrapper img.site-logo { display:block; margin:0 auto 3.5em; }

.footer .footer-contacts p.h-6 { font-size:2rem; margin-bottom:0.5em; } 

.footer nav ul { column-count:2; column-gap:var(--padding); font-size:1.5rem; line-height:1.75em; }
.footer .footer-contacts p { font-size:1.5rem; line-height:1.5em; margin-bottom:1em; }

.footer .footer-contacts a { text-decoration:none; color:rgb(var(--white)); transition:color 300ms; }
.footer .footer-contacts a:hover { color:rgb(var(--second-light)); }

.footer .footer-address { padding:0 7%; border-left:2px solid rgba(var(--white),0.5); border-right:2px solid rgba(var(--white),0.5); }
.footer .footer-address .address p { line-height:1.75em; }


.footer .social { margin-bottom:1em; }
.footer .social span { display:inline-block; font-size:3rem; margin-right:var(--gap); }
.footer .social span a { text-decoration:none; color:rgb(var(--white)); }


.sub-footer { font-size:1.4rem; color:rgb(var(--white)); padding:var(--gutter); border-bottom:7px solid rgb(var(--grey-mid)); }

.sub-footer a { text-decoration:none; color:rgb(var(--white)); }
.sub-footer nav span { padding:1em 1em 1em 0; }
.sub-footer nav ul { display:flex; list-style-type:none; margin:0; padding:0; flex-wrap:wrap; justify-content:center; }
.sub-footer nav ul li { padding:0 1em; margin:0; border-right:2px solid rgba(var(--white),0.5); }
.sub-footer nav ul li:last-of-type,
.sub-footer nav ul li:nth-last-of-type(2) { border-right:none; }
.sub-footer nav ul li:first-child { padding-left:0; }
.sub-footer nav ul li:last-child { flex:1 1 auto; padding-right:0; text-align:right; }




/*** MISC ***/

img.alignleft { float:left; margin:3px 3% 2% 0; width:auto; max-width:45%; border-radius:3px; }
img.alignright { float:right; margin:3px 0 2% 3%; width:auto; max-width:45%; border-radius:3px; }
img.aligncenter { display:block; margin:5px auto 3%; width:auto; border-radius:3px; }

img.icon {  width:80px; }

.relative { position:relative; }

.line { clear:both; display:block; height:3rem; margin-bottom:3rem; border-bottom:3px solid #eee; }

.overflow { overflow:hidden; }

.clear { clear:both; padding:2% 0; }

.text-center { text-align:center !important; }
.text-right { text-align:right !important; }
.text-left { text-align:left !important; }

.uppercase { text-transform:uppercase; }

.less-margin { margin-bottom:0.25em; }

.font { font-family:'Work Sans',Helvetica,Arial,sans-serif !important; }
.serif { font-family:'Work Sans',Helvetica,Arial,sans-serif !important; }


.white-txt { color:rgb(var(--white)) !important; }
.black-txt { color:rgb(var(--black)) !important; }
.text-txt { color:rgb(var(--text)) !important; }
.text-hover-txt { color:rgb(var(--text-hover)) !important; }

.grey-txt { color:#ddd !important; }
.grey-hover-txt { color:#ddd !important; }
.grey-mid-txt { color:rgb(var(--grey-mid)) !important; }
.grey-mid-hover-txt { color:rgb(var(--grey-mid-hover)) !important; }
.grey-light-txt { color:rgb(var(--grey-light)) !important; }
.grey-light-hover-txt { color:rgb(var(--grey-light-hover)) !important; }

.first-txt { color:rgb(var(--first)) !important; }
.first-hover-txt { color:rgb(var(--first-hover)) !important; }
.first-light-txt { color:rgb(var(--first-light)) !important; }
.first-light-hover-txt { color:rgb(var(--first-light-hover)) !important; }
.second-txt { color:rgb(var(--second)) !important; }
.second-hover-txt { color:rgb(var(--second-hover)) !important; }
.second-light-txt { color:rgb(var(--second-light)) !important; }
.second-light-hover-txt { color:rgb(var(--second-light-hover)) !important; }

.white-bg { background-color:rgb(var(--white)); }
.black-bg { background-color:rgb(var(--black)); }
.text-bg { background-color:rgb(var(--text)); }
.text-hover-bg { background-color:rgb(var(--text-hover)); }

.grey-bg { background-color:#ddd; }
.grey-hover-bg { background-color:#ddd; }
.grey-mid-bg { background-color:rgb(var(--grey-mid)); }
.grey-mid-hover-bg { background-color:rgb(var(--grey-mid-hover)); }
.grey-light-bg { background-color:rgb(var(--grey-light)); }
.grey-light-hover-bg { background-color:rgb(var(--grey-light-hover)); }

.first-bg { background-color:rgb(var(--first)); }
.first-hover-bg { background-color:rgb(var(--first-hover)); }
.first-light-bg { background-color:rgb(var(--first-light)); }
.first-light-hover-bg { background-color:rgb(var(--first-light-hover)); }
.second-bg { background-color:rgb(var(--second)); }
.second-hover-bg { background-color:rgb(var(--second-hover)); }
.second-light-bg { background-color:rgb(var(--second-light)); }
.second-light-hover-bg { background-color:rgb(var(--second-light-hover)); }

.second-gradient-bg { background:linear-gradient(90deg, rgba(var(--second),1) 0%, rgba(var(--second-light),1) 100%); }

.mask { background-color:rgba(var(--first),0.3); }
.fill { position:absolute; inset:0; z-index:1; }

.padding { padding-top:var(--padding); padding-bottom:var(--padding); }
.padding-top { padding-top:var(--padding); }
.padding-bottom { padding-bottom:var(--padding); }


@media (hover:none) {

  .projects-grid .project a.mask { opacity:1; inset:unset; left: 7px; bottom: 7px; right: 7px; }
  .projects-grid .project p { opacity:1; transform:none; }

}

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

	h1, .h-1, .sidebar > h3:first-child { font-size:3.4rem;  }
  h2, .h-2 { font-size:3rem; } 
  h3, .h-3 { font-size:2.8rem; }
  h4, .h-4 { font-size:2.4rem; }

}


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

  .inner-banner .slides .slide { height:25vw; }
  .inner-banner .slides .slide img { object-fit:cover; object-position:center; height:100%; width:100%; max-width:unset; }

	.sub-footer span { padding:10px 0; }

	.sub-footer .do-flex { flex-direction:column; padding:20px 0; }

}

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

  .header .logo img { width:120px !important; }

  .header .mobile-menu-trigger { display:block; cursor:pointer; margin-bottom:1.5rem; }
  .header .fa-bars,
  .header .fa-times { font-size:4.4rem; color:rgb(var(--second)); }
  
  .main-menu { display:none; }

  .nav-overlay.active { visibility:visible; opacity:1; }
  .nav-overlay .scroll-overflow { position:absolute; top:0; left:0; width:100%; height:100vh; overflow:scroll; }

  .nav-overlay .top-nav { background-color:rgba(var(--first),0.9); min-height:100vh; width:100%; position:relative; padding:10px 0 80px; }
  .nav-overlay .top-nav ul { font-size:2rem; text-align:center; font-weight:600; margin-right:0; padding:0; }
  .nav-overlay .top-nav ul li { list-style-type:none; }
  .nav-overlay .top-nav ul li.desktop { display:none; }
  .nav-overlay .top-nav ul a { display:block; color:rgb(var(--white)); padding:1em 10px; border-bottom:1px solid rgba(var(--white),0.2); text-decoration:none; }
  .nav-overlay .top-nav ul li.current-menu-item > a { color:rgb(var(--second-light)); }
  .nav-overlay .top-nav ul ul { display:block; font-size:0.85em; background-color:rgba(var(--first),0.1); border-bottom:1px solid rgba(var(--white),0.4); }

  .nav-overlay .top-nav .switcher ul { display:flex; }
  .nav-overlay .top-nav .switcher ul li { flex:1 1 auto;  }
  .nav-overlay .top-nav .switcher ul li:first-child { text-align:right; }
  .nav-overlay .top-nav .switcher ul li:last-child { text-align:left; }
  .nav-overlay .top-nav .switcher ul li img { display:inline-block; width:22px !important; height:auto !important; border:3px solid transparent; border-radius:5px; overflow:hidden; transition:border-color 300ms; }
  .nav-overlay .top-nav .switcher ul li.current-lang  img{ border-color:rgb(var(--second-hover)); }

  .nav-overlay .top-nav .social { font-size:2rem; text-align:center; padding:1em; }
  .nav-overlay .top-nav .social svg { color:rgb(var(--white)); margin:0 10px; }


  .mobile-menu-close { display:block; cursor:pointer; text-align:center;  color:rgb(var(--white)); position:absolute; top:16px; right:24px; }
  .mobile-menu-close .fa-times { font-size:4.4rem; }
  .mobile-menu-close strong { display:block; font-size:1.4rem; text-align:center; }

	.inner-title { border-top-width:105px; }

	.anchor-offset { top:-85px; }

  .home .slides-wrapper .text { bottom:0; }

	.blocks .do-flex { align-items:unset; }

	.testimonials-wrapper .wrapper.narrow { max-width:unset; padding-left:80px; padding-right:80px; }
	.testimonials-wrapper .wrapper svg { top:1.25em; font-size:5rem; }
	.testimonials-wrapper .wrapper svg.fa-quote-left {right:auto; left:20px; }
	.testimonials-wrapper .wrapper svg.fa-quote-right { left:auto; right:20px; }


	.sub-footer .wrapper { text-align:center; }
	.sub-footer .wrapper > a { float:none; }

  .blog-wrapper { margin-top:20px; }

	.footer .col-3 > * { width:calc(50% - var(--gap)); }


	.sub-footer ul { float:none; margin:0; padding:20px 0 10px; }
	
}

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

	.col-4 > *  { width:calc(33.33% - var(--gap)); }

}

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

  :root { --gap:2rem; }

  .home .slides-wrapper .slides .slide { height:40vw; }
  .slides-wrapper .slides .slide img { object-fit:cover; object-position:center; height:100%; width:100%; max-width:unset; }

  .inner-banner.has-text .slides .slide { height:30vw; }
  .inner-banner.has-text .slides .slide img { object-position:right; }

  .projects-grid .photo-2,
  .projects-grid .photo-3,
  .projects-grid .photo-4,
  .projects-grid .photo-5 { width:100%; }


	.footer > .do-flex { flex-direction:column; align-items:center; text-align:center;  }
  .footer .logos-wrapper img.site-logo { padding:0 2rem; width:100% !important; }

  .footer nav ul { column-count:unset; column-gap:unset; display:flex; flex-wrap:wrap; justify-content:center; }
  .footer nav ul li { padding:0.5em 1em; }

  .footer .footer-contacts { margin-bottom:3rem; }
  .footer .footer-contacts > .do-flex { justify-content:center; }
  .footer .footer-contacts .do-flex .icon { margin-right:5px; }
  .footer .footer-contacts .address .icon { display:none; }
  .footer .footer-contacts .do-flex p { flex:0 1 auto; }

  .footer .footer-address { padding:0; border:none; }



}

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

	.header .sub-header .text { display:none; }

  .inner-banner.has-text .slides .slide { height:40vw; }

  .values-wrapper .col .icon { min-width:35px; }



	form.mc4wp-form .mc4wp-form-fields { flex-direction:column; }

}

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

	.blocks-wrapper > div:nth-of-type(n) .reverse-flex { flex-direction:column; }

	.blocks .col-2 > * { width:calc(100% - var(--gap)); }

  /*
	.full-blocks .image { min-height:unset; width:100%; }
	.full-blocks .image img { position:relative; object-fit:unset; min-height:unset; }
	.full-blocks .text .inner-text { max-width:unset; }
  */

	.blog-wrapper > div.do-flex { flex-wrap:wrap; }
	.content-wrapper,
	.sidebar { padding:0; min-width:100%; border:none; }

	.col-3:not(.nogap) > *,
	.col-4 > * { width:calc(50% - var(--gap)/2); }

  h1, .h-1, .sidebar > h3:first-child { font-size:3rem;  }
  h2, .h-2 { font-size:2.7rem; } 
  h3, .h-3 { font-size:2.4rem; }
  h4, .h-4 { font-size:2.1rem; }
  h5, .h-5 { font-size:2rem; }
  h6, .h-6 { font-size:1.8rem; }

	.footer .col-4.do-flex { flex-direction:column; }
	.footer .col-4 > * { width:100%; margin:0 auto 5%; }
	.footer .footer-contacts { text-align:center; }
	.footer .footer-contacts div.do-flex { justify-content:center; }
	.footer .footer-contacts div.do-flex span,
	.footer .footer-contacts div.do-flex p { flex:0 1 auto; }

	.footer .footer-contacts .footer-text p { padding-right:0; }

}


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

	.blocks .col-2 > div.col:nth-of-type(n) { width:100%; }	
	.blocks-wrapper > div:nth-of-type(n) .col-2 .text { padding:0; }

  .gallery-columns-3 .gallery-item,
  .gallery-columns-4 .gallery-item  { width:50%; }

}

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

	img.alignleft,
	img.alignright,
	img.aligncenter { display:block; float:none; margin:0 0 5%; width:100%; max-width:unset; }

	.content .wpcf7 p, 
	.content .wpcf7 p.full { float:none; width:98%; }

	.testimonials-page .testimonial { margin-bottom:10%; }
	
	.cookie-table { font-size:0.8em; }
	
	.wpcf7-acceptance label { align-items:start; }

}

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

  :root { --padding:3rem; --gap:2rem; }

	.header .sub-header { display:none; }
	.nav-overlay .mobile-show { display:block; }
	.header .mobile-menu-trigger { flex:1 1 auto; }

	.home .slides-wrapper .slides .slide { height:250px; }

  .inner-banner.has-text .slides .slide { height:220px; }

  .col-2 > * { width:100%; }
	
	h1, .h-1, .sidebar > h3:first-child { font-size:2.6rem;  }
  h2, .h-2 { font-size:2.4rem; } 
  h3, .h-3 { font-size:2.2rem; }
  h4, .h-4 { font-size:2rem; }
  h5, .h-5 { font-size:1.8rem; }
  h6, .h-6 { font-size:1.7rem; }

  .full-blocks .image { height:60vw; min-height:300px }

	.testimonials-wrapper .wrapper.narrow { padding-left:50px; padding-right:50px; }

  .accreditation-logos .do-flex { flex-direction:column; }

  .member-testimonial .member-details .content p.testimonial { font-size:1.6rem; }
	
	.wpcf7-response-output { font-size:13px; }

  .sub-footer nav ul li:nth-last-of-type(n) { padding:0.5em 1em; margin:0; border-right:none; }
  .sub-footer nav ul li:last-child { flex:0 1 auto; text-align:unset; }
	
}

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

	.col-3:not(.nogap) > *,
	.col-4 > *  { width:100%; }

  .slick-prev svg,
  .slick-next svg,
  .bx-wrapper .bx-controls-direction { font-size:3rem; }

  .reviews-wrapper .bx-wrapper blockquote p,
  .reviews-wrapper .bx-wrapper p.name { font-size:1.6rem; }
  .bx-wrapper .bx-pager { right:30px; bottom:-50px;  }
  .bx-wrapper .bx-pager a { width:18px; height:18px; }

  .logos-wrapper .logos { padding:10px 30px; }
  .logos-wrapper .h-1,
  .reviews-wrapper .h-1,
  .reviews-wrapper .bx-viewport { padding-left:30px; padding-right:30px; }

  .logos-wrapper .has-trim:after,
  .reviews-wrapper .has-trim:after { left:32px; }

  .projects-grid .project-title { flex-direction:column; margin-bottom:var(--gap); }

  .nbs-flexisel-container { padding-left:20px; padding-right:20px; }

  .col-2-1 > *:nth-of-type(n),
  .col-1-2 > *:nth-of-type(n) { width:100%; }
	
}


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

	.more-button { width:100% }

	.cookie-table, .cookie-table *,
	.cookie-table tr th:last-of-type, .cookie-table tr td:last-of-type  { display:block; text-align:center; }
	.cookie-table tr:first-of-type { display:none; }

	.sub-header span { margin-right:5px; }
	.sub-header svg { font-size:1.2rem; }

	.entry.has-image { padding-left:0; }
	.blog .entry img, .archive .entry img { float:none; display:block; margin:0 auto 20px; width:auto; }

	.footer .col.menu,
	.footer .col.contacts { width:calc(100% - var(--gap)); text-align:center; }
	.footer .contacts span { padding-left:0; }
	.footer .contacts span svg { position:relative; left:-5px; top:auto; }

	.reviews-wrapper .wrapper.narrow { padding-left:60px; padding-right:60px; }
	.reviews-wrapper .bx-wrapper svg { font-size:4rem; }
	.reviews-wrapper .bx-wrapper svg.fa-f10d { right:calc(100% + 10px); }
	.reviews-wrapper .bx-wrapper svg.fa-f10e { left:calc(100% + 10px); }

	.gallery-columns-2 .gallery-item,
  .gallery-columns-3 .gallery-item,
  .gallery-columns-4 .gallery-item  { width:100%; }

  .member-testimonial { flex-direction:column-reverse; }

	
}

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

  .header .logo { padding:1rem 0; }
  .header .mobile-menu-trigger { margin-bottom:0.5rem; }
  .nav-overlay .top-nav { padding-top:0; }

  .slides-wrapper .text p.h-1 { font-weight:400; font-size:2.4rem; }

}

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


}

