/*
 Theme Name:     Colmec
 Author:         Design House
 Template:       design-house
 Version:        1.0.5

 Structure: Header | Page Layout | Typography | Components | Footer
 Colmec-specific: Footer uses #colophon scope to avoid header conflicts.
 Homepage banner/styles: css/homepage-banner.css (loaded only on Homepage template).
*/
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400');

/* -----------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------------- */

#page {
	height: 100vh !important;
	width: 100vw !important;
}

.site-branding {
	float: left;
	display: block;
	margin: 25px auto 0px;
}

.site-branding img {
    max-width: 220px;
    margin-top: 0px;
}

.navigation-wrap {
	text-align: center;
	max-width: 1002px;
}

.main-navigation {
	width: auto;
}

#primary-menu .menu-item a {
	text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.15em;
    color: #ffffff;
}

.menu-item a {
	margin: 0px 15px;
	padding: 0px;
	font-family: 'Roboto', sans-serif;
}


.menuWrap {
	background: rgba(0, 0, 0, 1);
}

#mobile-navigation {
	float: right;
	width: auto;
	margin-top: 35px;
}

#mobile-icon {
	float: none;
	margin: 0 auto;
}

#mobile-icon span {
	background-color: #fff;
}

#mobile-menu {
	margin: 0;
	padding: 0;
}

#mobile-menu li a {
    color: #fff;
    font-weight: 100;
    font-size: 35px;
    text-transform: uppercase;
	letter-spacing: 0.1em;
}

.mobileOnly {
	display: none;
}

@media only screen and (max-width: 940px) {
	#desktop-navigation {
		display: none;
	}

	#mobile-navigation, .mobileOnly {
		display: block;
	}

}

.menuLogo {
	margin: 5px;
	width: 150px;
}


/*

@media only screen and (max-width: 797px) {
	.site-branding {
		float: none;
		margin: 25px auto;
	}

}

/* 
	--------------------------------------------
	COMING SOON
	--------------------------------------------
*/

.page-id-281 #masthead {
	display: none;
}

.page-id-281 #colophon {
	display: none;
}


/* 
	--------------------------------------------
	Page Structure & Layout
	--------------------------------------------
*/

.wrap {
	max-width: 1000px;
}

.reducedWidth {
	max-width: 600px;
	margin: 0 auto !important;
}

 
.darkBackground, 
.darkBackground a,
.darkBackground h1 {
	color: #fff;
}

.entry-content {
	margin-top: 0px;
}

.page-id-128 .entry-content {
	margin-top: 40px;
}

.singleFeatured {
	height: 45vh;
	min-height: 400px;
	width: 100%;
	margin-bottom: 30px;
	float: left;
	background-size: cover;
	margin-top: -100px;
	background-position: center center; 
}

.blackOverlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
	position: relative;
}
.blackImg {
	background: rgba(0, 0, 0, 1);
}
.blackImg img {
	opacity: 0.55;
}

.borderLeft {
    border-left: 1px solid #ccc;
}



.wpb_text_column {
}

.noMargin {
	margin: 0 !important;
}

.largePadding {
	padding: 55px !important;
}

.vc_column_container > .vc_column-inner {
	padding: 35px 35px 25px 15px !important;
}


.noPadding .vc_column-inner {
	padding: 0px 0px 0px 0px !important; 
}
.halfPadding .vc_column-inner {
	padding: 0px 15px 0px 15px !important; 
}

.noPadding {
	padding: 0 0 0 0 !important; 
}

.parallaxSpace {
	height: 600px !important;
}


@media only screen and (max-width: 600px) {
	
	.parallaxSpace {
		height: 300px !important;
	}
}



/* 
 	--------------------------------------------
	Typography
	--------------------------------------------
*/

h1, .h1, h2, .h2, h3, .h3,
h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: #707070;
}

h1, .h1 {
	font-size: 1.6em;
	line-height: 1.7em;
}

h2, .h2 {
	font-size: 1.4em;
}

h5, .h5 {
    font-size: 1.1em;
}

h4 {
    text-transform: unset;
    font-size: 22px;
    margin: 10px 0px 14px;
}

h6, .h6 {
    font-size: 1.0em;
	font-weight: 300;
}

p, .p {
    font-family: 'Roboto', sans-serif;
	font-weight: 300;
	line-height: 2em;
}

p a {
    text-decoration: none;
}

.home .entry-header {
	display: none;
}

.roundButton {
	padding: 13px 25px;
	border-radius: 25px;
	border: 1px solid #ccc;
	text-transform: uppercase;
	text-decoration: none;
	color: #666;
	letter-spacing: 0.05em;
	line-height: 5em;
	transition-duration: 0.6s;
	transition-timing-function: linear;
	transition-delay: 0s;
}

.roundButton:hover {
	color: #000;
	background-color: #ccc;
}
.sidebarServicesText p {
    line-height: 2.5em !important;
    letter-spacing: 0.08em;
    font-size: 1.2em;
    font-weight: 100 !important;
}


.portfolioInfoHead {
    width: 910px;
    float: none;
    margin-top: 32vh;
    height: auto;
    color: #fff;
    margin-left: calc(50% - 484px);
    font-size: 1.8em;
    font-weight: 100;
    letter-spacing: 0.065em;
	position: absolute;
    text-transform: uppercase;
	line-height: 1em;
	font-family: 'Roboto', sans-serif;
}
@media only screen and (max-width: 1000px) {
	.portfolioInfoHead {
		width: 100%;
		margin-left: 15px;
	}
}


.locationInfo {
    font-size: 0.65em;
    font-style: italic !important;
    text-transform: capitalize;
}


.portfolioBack {
    text-align: right;
    padding: 0 20px;
    margin: 0 !important;
    height: 20px;
    float: right;
    text-transform: uppercase;
    font-style: italic;
    font-size: 0.8em;
    letter-spacing: 0.05em;
}

blockquote {
    margin: 0 0em;
    background: url(https://colmec.co.uk/wp-content/uploads/2019/05/Quotation-Mark-5pc.jpg);
    background-position: top left;
    background-size: 180px auto;
    background-repeat: no-repeat;
	padding: 50px 90px; 

}
@media only screen and (max-width: 600px) {
	
	blockquote {
		padding: 25px 15px; 

	}
}



/*
	FELXIBLE POSTS WIDGETS
	-------------------------------------------------------------------------------------
*/

.flexiblePostSquaresContainer {
	width: 100% !important;
	height: 100% !important;
}

.flexiblePostSquares {
	height: 100%;
	background: transparent;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}

.flexiblePostSquares .FPWpost {
	width: 32.3333%;
	float: none;
	margin: 0.5% !important;
	background-color: transparent !important;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

@media only screen and (max-width: 750px) {
	.flexiblePostSquares .FPWpost {
  		width:49%;
	}
}

.FPWpost a {
	display: block;
	text-decoration: none;
}


.FPWpost h3{
    background: rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
    color: #fff;
    font-size: 1.45em !important;
    height: 0;
    margin: 0 !important;
    opacity: 1;
    padding: 50% 1%;
    text-align: center;
    z-index: 2 !important;
	transition: 0.7s ease-in-out;
	font-weight: 300 !important;
	line-height: 1em;
	letter-spacing: 0.075em;
}

.FPWexcerpt {
	font-size:0.65em;
	text-transform: capitalize;
}

.FPWpost:hover h3 {
    background: rgba(0, 0, 0, 0);
	opacity: 0;
}

/*
	Native Portfolio Projects Grid
	-------------------------------------------------------------------------------------
*/

.colmec-projects {
	margin-top: 10px;
	margin-bottom: 14px;
}

.colmec-portfolio-page__banner {
	margin-bottom: 44px;
}

.colmec-portfolio-page__header {
	margin-bottom: 8px;
	text-align: center;
}

.colmec-portfolio-page__title {
	margin: 0;
	text-transform: uppercase;
}

.colmec-gallery-page__header {
	margin-bottom: 8px;
	text-align: center;
}

.colmec-gallery-page__title {
	margin: 0;
	text-transform: uppercase;
}

.colmec-gallery-page__content {
	text-align: center;
}

.colmec-projects__inner {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
	padding-left: 8px;
	padding-right: 8px;
}

.colmec-projects__heading {
	margin: 0 0 16px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 300;
}

.colmec-projects__separator {
	border: 0;
	border-top: 1px solid #e5e5e5;
	width: min(100%, 1000px);
	margin: 44px auto 22px;
}

.colmec-projects__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.colmec-project-card {
	margin: 0;
	flex: 0 0 calc((100% - 16px) / 3);
}

.colmec-project-card__link {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	text-decoration: none;
	background: #111;
}

.colmec-project-card__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.colmec-project-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px;
	text-align: center;
	background: rgba(0, 0, 0, 0.5);
	opacity: 1;
	transition: opacity 450ms ease, background-color 450ms ease;
}

.colmec-project-card__title {
	margin: 0;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: clamp(1.2rem, 2vw, 2rem);
	line-height: 1.05;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.colmec-project-card__location {
	display: block;
	margin-top: 8px;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: clamp(0.95rem, 1.2vw, 1.2rem);
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: none;
}

.colmec-project-card__link:hover .colmec-project-card__overlay {
	opacity: 0;
	background: rgba(0, 0, 0, 0);
}

@media only screen and (max-width: 750px) {
	.colmec-project-card {
		flex-basis: calc((100% - 8px) / 2);
	}
}

@media only screen and (max-width: 520px) {
	.colmec-project-card {
		flex-basis: 100%;
	}
}

/*
	Gallery Page Template
	-------------------------------------------------------------------------------------
*/

.colmec-gallery {
	margin: 24px 0 40px;
}

.colmec-gallery__inner {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
	padding-left: 8px;
	padding-right: 8px;
}

.colmec-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.colmec-gallery__item {
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

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

@media only screen and (max-width: 900px) {
	.colmec-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 520px) {
	.colmec-gallery__grid {
		grid-template-columns: 1fr;
	}
}


/* 
 	--------------------------------------------
	Mandi Wise Isotope Posts
	--------------------------------------------
*/

#iso-loop {
	padding-left: 0px;
}

#iso-loop li {
	background-color: #f7f7f7;
}

.iso-title {
	text-align: left;
	margin: 0px;
}

.iso-wrapper {
	padding: 20px;
}

.review p {
	margin: 0px 0px 15px;
}

#iso-loop .highlight {
	background-color: #c6d4bb;
}

.highlight p {
	color: #fff !important;
	font-size: 24px;
	font-weight: 500;
}

.iso-review {
    color: #000;
    font-size: 13px;
    font-weight: 600;
	margin: 0px !important;
}

.highlight .iso-review {
	color: #fff;
}

.eventInfo {
    margin: 0px;
    font-style: italic;
    text-transform: none;
    font-size: 0.9em;
    letter-spacing: 0.05em;
}

/* 
 	--------------------------------------------
	Ninja Forms
	--------------------------------------------
*/

.nf-element {
    padding: 5px 0px 0px 0px !important;
	border-radius: 0px !important;
    border: 0px !important;
	border-bottom: 1px solid #efefef !important;
    background: #fff;
	resize: none;
	min-height: 40px;
	font-size: 16px;
	font-family: 'Roboto', sans-serif;
}

.nf-element::placeholder {
    font-weight: 300;
	font-family: 'Roboto', sans-serif;
    color: #000;
}

#nf-field-4 {
    padding: 10px 30px 10px !important;
	background-color: #efefef;
	color: #000;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 14px;
	letter-spacing: 0.2em;
	border: 0 !important;
}

.nf-error-msg {
	font-size: 12px;
	font-style: italic;
	color: #990000 !important;
}

.nf-before-form-content,
#nf-form-errors-1 {
	display: none;
}

/* -----------------------------------------------------------------------------
   Footer (scoped to #colophon)
   ----------------------------------------------------------------------------- */

#colophon {
	margin-top: 0px;
	padding: 60px 0px 20px;
}

#colophon a {
	color: #000;
}

/* Footer: logo left, horizontal menu right (scoped to #colophon to avoid header conflicts) */
#colophon .colmec-footer-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 20px 0 40px;
}

#colophon .colmec-footer__logo .site-branding {
	display: block;
	float: none;
	margin: 0;
}

#colophon .colmec-footer__logo img {
	width: 200px;
	height: auto;
	display: block;
	filter: brightness(0);
	opacity: 0.85;
}

#colophon .colmec-footer__nav {
	margin-left: auto;
}

#colophon .colmec-footer-menu,
#colophon #colmec-footer-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0 1.5em;
	list-style: none;
	margin: 0;
	padding: 0;
}

#colophon .colmec-footer-menu li,
#colophon #colmec-footer-menu li {
	margin: 0;
}

#colophon .colmec-footer-menu a,
#colophon #colmec-footer-menu a {
	font-size: 14px;
	font-weight: 300;
	text-decoration: none;
}

@media (max-width: 775px) {
	#colophon .colmec-footer-content {
		display: grid;
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	#colophon .colmec-footer__logo {
		width: auto;
		text-align: center;
	}

	#colophon .colmec-footer__logo .site-branding {
		display: inline-block;
		margin: 0 auto;
	}

	#colophon .colmec-footer__logo img {
		margin-left: auto;
		margin-right: auto;
	}

	#colophon .colmec-footer__nav {
		margin-left: 0;
		width: auto;
	}

	#colophon .colmec-footer-menu,
	#colophon #colmec-footer-menu {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.45em 0;
		text-align: center;
	}

	#colophon .site-info {
		text-align: center;
	}

	#colophon .site-info a {
		display: block;
	}

	#colophon .copyright,
	#colophon .dhStudio {
		float: none;
	}
}

/* Legacy: Care Commission widget (if used elsewhere) */
.careCommision img {
	width: 130px;
	float: right;
}

.site-info {
    border-top: 1px solid #eee;
    padding-top: 20px;
	margin-top: 40px;
}

.site-info a {
	text-decoration:  none;
	opacity: 0.3;
	transition: opacity 0.3s ease-in-out;
}

.site-info a:hover {
	opacity: 1;
}

.copyright {
	float: left;
}

.dhStudio {
	float: right;
}

#sb_instagram {
	margin-top: 40px;
}

/*
	Portfolio Template 2026
	-------------------------------------------------------------------------------------
*/

.portfolio-2026-intro-row {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	margin: 50px 0 40px;
}

.portfolio-2026-intro-text,
.portfolio-2026-intro-media {
	width: 50%;
	flex: 1 1 0;
	min-width: 0;
}

.portfolio-2026-content {
	clear: both;
}

.portfolio-2026-intro-media img {
	display: block;
	width: 100%;
	height: auto;
}

.portfolio-2026-parallax-row {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	height: 600px;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-top: 20px;
	margin-bottom: 40px;
	overflow: hidden;
}

.portfolio-2026-parallax-bg {
	position: absolute;
	top: -80px;
	left: 0;
	width: 100%;
	height: calc(100% + 160px);
	background-size: cover;
	background-position: center center;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.portfolio-2026-supporting-images {
	margin: 10px 0 40px;
}

.portfolio-2026-supporting-row {
	display: grid;
	gap: 20px;
	margin: 0 0 20px;
}

.portfolio-2026-supporting-row--1 {
	grid-template-columns: 1fr;
}

.portfolio-2026-supporting-row--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-2026-supporting-row--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-2026-supporting-item {
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f5f5f5;
}

.portfolio-2026-lightbox-link {
	display: block;
	width: 100%;
	height: 100%;
}

.portfolio-2026-supporting-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media only screen and (max-width: 1024px) {
	.portfolio-2026-intro-row {
		flex-direction: column;
		gap: 20px;
		margin: 30px 0 30px;
	}

	.portfolio-2026-intro-text,
	.portfolio-2026-intro-media {
		width: 100%;
	}

	.portfolio-2026-parallax-row {
		height: 420px;
	}

	.portfolio-2026-supporting-row--2,
	.portfolio-2026-supporting-row--3 {
		grid-template-columns: 1fr;
	}
}

