/*
Theme Name: Brandwell
Author: Nick Pitcher
Version: 1.0.0
Template: uncode
Text Domain: uncode
*/

/*--- START MEDIA QUERIES ---*/

@media (hover: hover) and (pointer: fine) {

	body:not(.disable-hover) [data-cursor="pointer"]#uncode-custom-cursor.basic-style > span:first-child {
		width: 25px;
		height: 25px;
	}
	
}

@media (max-width: 569px) {

	blockquote p {
		font-size: 16px;
	}
	
	.hero-video .uncode-single-media {
		width: calc(100vw * 16/9) !important;
	}
	
	.team-heading {
		padding-top: 27px !important;
    	border-top: 1px solid rgba(0,35,22,0.25);
	}
	
}

@media (max-width: 959px) {
	
	body, p, li, dt, dd, dl, address, label, pre, code, .nav-tabs .tab-excerpt {
		font-size: 16px;
	}
	
	.text-small, .text-small > *, .nav-tabs .tab-excerpt.text-small {
		font-size: 14px;
	}
	
	.text-lead, .text-lead > *, .nav-tabs .tab-excerpt.text-lead {
		font-size: 18px;
	}
	
	h1:not([class*="fontsize-"]), .h1:not([class*="fontsize-"]) {
		font-size: 40px;
	}
	
	h2:not([class*="fontsize-"]), .h2:not([class*="fontsize-"]) {
		font-size: 25px;
	}
	
	.menu-mobile-centered.menu-mobile-off-canvas .main-menu-container .menu-horizontal, .menu-mobile-centered.menu-mobile-off-canvas .vmenu-container .vmenu-row-wrapper, .menu-mobile-centered.menu-mobile-off-canvas .overlay-menu .navbar-main {
		margin: 0;
	}

	.uncode-close-offcanvas-mobile {
		width: auto;
		right: 5px;
	}
	
	.row[data-height-ratio] .row-inner {
		height: auto !important;
	}
	
	.work-posts-container > .row,
	.news-container > .row {
		padding-top: 36px !important;
	}
	
	body.single-post .header-wrapper > .row-container:first-child > .row,
	body.single-portfolio .header-wrapper > .row-container:first-child > .row {
		padding-bottom: 36px;
	}
	
	.case-study-details p {
		display: block;
	}

	.nga-logo .single-wrapper {
		max-width: 110px !important;
	}

}

@media (min-width: 960px) {
	
	.testimonials .t-entry-cf-testimonial {
		font-size: 26px;
	}
	
	.case-study-details p {
		display: inline;
	}
	
	.case-study-details p:not(:first-child) {
		margin-left: 18px;
	}

	body.home .news .owl-stage {
		width: 100% !important;
		display: flex;
		justify-content: center;
	}
	
	.team .row-internal:not(:first-child) {
		margin-top: 27px !important;
	}

}

/*--- END MEDIA QUERIES ---*/

/*--- START GENERAL STYLES ---*/

p, li, dt, dd, dl, address, label, small, pre, code, span.tab-excerpt,
.text-lead, .text-lead:not(ul):not(ol) > *,
.uncode_text_column *,
.testimonials .t-entry-cf-testimonial {
	line-height: 1.6;
}

.uncode_text_column h1:not(:first-child),
.uncode_text_column h2:not(:first-child),
.uncode_text_column h3:not(:first-child),
.uncode_text_column h4:not(:first-child),
.uncode_text_column h5:not(:first-child),
.uncode_text_column h6:not(:first-child), 
.uncode_text_column h1 + *,
.uncode_text_column h2 + *,
.uncode_text_column h3 + *,
.uncode_text_column h4 + *,
.uncode_text_column h5 + *,
.uncode_text_column h6 + * {
	margin-top: 36px;
}

.menu-item a {
	transition: 0.2s;
}

.page-wrapper .uncode_text_column a {
	text-decoration: underline;
}

.text-small li {
	font-size: inherit;
}

.text-lead, .text-lead:not(ul):not(ol) > *, .text-lead > *:not(ul):not(ol):not(li) {
	margin-top: 18px;
}

.style-dark a,
.style-dark .panel-title.active > a,
.style-dark .panel-title > a > span:after {
	color: #fcffff !important;
}

.style-dark .uncode_text_column[class*="-color"] a {
	color: inherit !important;
}

.style-dark .ui-br, .style-light .style-dark .ui-br, .style-dark hr, .style-light .style-dark hr, .style-dark pre, .style-light .style-dark pre, .style-dark table, .style-light .style-dark table, .style-dark table td, .style-light .style-dark table td, .style-dark table th, .style-light .style-dark table th, .style-dark input, .style-light .style-dark input, .style-dark textarea, .style-light .style-dark textarea, .style-dark select, .style-light .style-dark select, .style-dark .seldiv, .style-light .style-dark .seldiv, .style-dark .select2-choice, .style-light .style-dark .select2-choice, .style-dark .select2-selection--single, .style-light .style-dark .select2-selection--single, .style-dark fieldset, .style-light .style-dark fieldset, .style-dark .seldiv:before, .style-light .style-dark .seldiv:before, .style-dark .tab-container .nav-tabs, .style-light .style-dark .tab-container .nav-tabs, .style-dark .nav-tabs > li.active > a, .style-light .style-dark .nav-tabs > li.active > a, .style-dark .border-100 .tab-content::before, .style-light .style-dark .border-100 .tab-content::before, .style-dark .tab-content.vertical, .style-light .style-dark .tab-content.vertical, .style-dark .nav-tabs.tabs-vertical > li, .style-light .style-dark .nav-tabs.tabs-vertical > li, .style-dark .panel, .style-light .style-dark .panel, .style-dark .panel-group .panel-heading + .panel-collapse:before, .style-light .style-dark .panel-group .panel-heading + .panel-collapse:before, .style-dark .divider:before, .style-light .style-dark .divider:before, .style-dark .divider:after, .style-light .style-dark .divider:after, .style-dark .plan, .style-light .style-dark .plan, .style-dark .plan .plan-title, .style-light .style-dark .plan .plan-title, .style-dark .plan .item-list > li, .style-light .style-dark .plan .item-list > li, .style-dark .plan .plan-button, .style-light .style-dark .plan .plan-button, .style-dark .uncode-single-media-wrapper.img-thumbnail:not(.single-advanced), .style-light .style-dark .uncode-single-media-wrapper.img-thumbnail:not(.single-advanced), .style-dark .post-share, .style-light .style-dark .post-share, .style-dark .post-tag-share-container, .style-light .style-dark .post-tag-share-container, .style-dark .widget-container .widget-title, .style-light .style-dark .widget-container .widget-title, .style-dark .widget-container.widget_calendar #wp-calendar caption, .style-light .style-dark .widget-container.widget_calendar #wp-calendar caption, .style-dark .widget-container.widget_calendar .wp-calendar-nav, .style-light .style-dark .widget-container.widget_calendar .wp-calendar-nav, .style-dark #comments .comment-list .comments-list:first-child, .style-light .style-dark #comments .comment-list .comments-list:first-child, .style-dark #respond .comment-list .comments-list:first-child, .style-light .style-dark #respond .comment-list .comments-list:first-child, .style-dark #comments .comments-list .comment-content, .style-light .style-dark #comments .comments-list .comment-content, .style-dark #respond .comments-list .comment-content, .style-light .style-dark #respond .comments-list .comment-content, .style-dark ul.dwls_search_results, .style-light .style-dark ul.dwls_search_results, .style-dark ul.dwls_search_results li, .style-light .style-dark ul.dwls_search_results li, .style-dark .ajax-filter-sidebar .ajax-filter-sidebar-header, .style-light .style-dark .ajax-filter-sidebar .ajax-filter-sidebar-header, .style-dark .ajax-filter-sidebar .ajax-filter-sidebar-footer, .style-light .style-dark .ajax-filter-sidebar .ajax-filter-sidebar-footer, .style-dark .swatch-type-label, .style-light .style-dark .swatch-type-label, .style-dark .swatch--logo, .style-light .style-dark .swatch--logo, .style-dark .widget-container .tagcloud a, .style-light .style-dark .widget-container .tagcloud a {
	border-color: #fcffff;
}

.hero-video {
	background-image: url(https://www.brandwell.co.nz/wp-content/themes/uncode/library/img/oval-anim-dark.svg);
	background-repeat: no-repeat;
	background-position: center center;
}

.hero-video .uncode-single-media {
	width: calc(100vh * 16/9);
	min-width: 100vw;
	left: 50%;
	transform: translateX(-50%);
}

.panel:not(.has-padding) .panel-title > a {
	padding: 27px 0;
}

.testimonials .t-entry-visual {
	width: 125px;
	margin: auto;
}

.testimonials .t-entry-title {
	margin-top: 36px !important;
}

.testimonials .t-entry-title:before {
	content: '– ';
}

.testimonials .owl-item {
	transition: 0.6s;
}

.testimonials .owl-item:not(.active) {
	opacity: 0.2;
}

.news .t-entry-date {
	color: inherit !important;
}

.team-heading .heading-text > div > p {
	font-size: 18px;
	color: #249e6b;
}

body.single-post .post-content .uncode_text_column > *:first-child,
.author-info a {
	color: inherit;
}

/*--- END GENERAL STYLES ---*/

/*--- START PORTFOLIO ---*/

.marquee-logo {
	margin-top: 0 !important;
	top: 50%;
	transform: translateY(-50%);
	position: fixed !important;
}

.work-posts {
	z-index: 1;
}

.work-posts .term-filter:not(:last-child) {
	margin-right: 36px !important;
}

.work-posts .tmb .t-entry-visual-overlay {
	mix-blend-mode: color;
}

.work-posts .tmb .t-entry-visual img,
.work-posts .tmb .t-entry-visual .t-background-cover,
.work-posts .tmb .t-entry-visual .fluid-object {
    filter: gray;
    filter: grayscale(100%);
	transition: 0.2s ease-in-out;
}

.work-posts .tmb .t-entry-visual:hover img,
.work-posts .tmb.tmb-all-hover.tmb-content-under .t-inside:hover img,
.work-posts .tmb .t-entry-visual:focus img,
.work-posts .tmb.tmb-all-hover.tmb-content-under .t-inside:focus img,
.work-posts .tmb .t-entry-visual:hover .t-background-cover,
.work-posts .tmb.tmb-all-hover.tmb-content-under .t-inside:hover .t-background-cover,
.work-posts .tmb .t-entry-visual:focus .t-background-cover,
.work-posts .tmb.tmb-all-hover.tmb-content-under .t-inside:focus .t-background-cover,
.work-posts .tmb .t-entry-visual:hover .fluid-object,
.work-posts .tmb.tmb-all-hover.tmb-content-under .t-inside:hover .fluid-object,
.work-posts .tmb .t-entry-visual:focus .fluid-object,
.work-posts .tmb.tmb-all-hover.tmb-content-under .t-inside:focus .fluid-object {
    filter: none;
    filter: grayscale(0%);
}

.post-type-archive-portfolio .work-posts .t-entry-title {
	padding: 0 18px;
}

.style-light .work-posts .t-entry-title > a {
	color: rgba(0,35,22,.5) !important;
}

.case-study-content .uncode_text_column > *:not(.wpb-content-wrapper) {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	
}

/*--- END PORTFOLIO ---*/