/*
Theme Name:		 Studio M Collective
Description:	 A child theme of dustin.com.au.
Author:			 dustin.com.au
Author URI:		 https://dustin.com.au/
Template:		 dustin-neue
Version:		 1.0.0
Text Domain:	 m
*/

/* @override https://studio-m.com.au/wp-content/themes/m/style.css?* */

/* @group Readmore */

.readmore-content {
	overflow: hidden;
	transition: all .25s;
	color: #fff;
	font-family: Poppins, sans-serif;
	font-size: 80%;
	line-height: 175%;
	margin: 0!important;
}

.readmore-content p {
	display: inline-block!important;
	margin-top: 4px!important;
	margin-bottom: 8px!important;
}

.readmore-content h1, 
.readmore-content h2, 
.readmore-content h3, 
.readmore-content h4 {
	margin-top: 12px!important;
	margin-bottom: 8px!important;
}

.readmore-content blockquote {
	font-style: italic;
	margin-top: -40px;
	margin-right: 0;
	margin-left: 40px;
}

.readmore-content[aria-expanded="false"]::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	/*	background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);*/
	position: absolute;
	bottom: 0;
	transition: all .5s;
}

.readmore-content[aria-expanded="true"]::after {
	height: 0px;
	opacity: 0;
}

.readmore-button {
	opacity: .8;
	transition: all .2s;
	display: block;
	float: right;
}

.readmore-button:hover {
	opacity: 1;
}

.readmore-button::after {
	content: "";
	width: 24px;
	height: 24px;
	display: inline-block;
	background: url("../m/assets/chevron.svg") center center no-repeat;
	background-size: contain;
	top: -20px;
	position: relative;
	transition: all .2s;
	margin: 0;
}

.readmore-button.close::after {
	transform: rotate(180deg);
}

/* @end */

/* @group Home Feature */

section.home-menu {
	margin-bottom: -100px!important;
	height: 100px!important;
}

#home-feature-block, 
#home-feature-block .home-feature-container, 
#home-feature-block .home-feature-content, 
#home-feature-block a.home-feature-link {
	width: 100vw;
	height: 90vh;
}

#home-feature-block .home-feature-container {
	
}

#home-feature-block .home-feature-content {
	display: flex;
	flex-direction: column; /* Stack children vertically */
	justify-content: flex-end;
	align-items: left;
	text-align: left;
	padding: 40px 40px 40px 60px;
	background: rgb(41,39,40);
	background: linear-gradient(0deg, rgba(41,39,40,0.25) 0%, rgba(41,39,40,0) 15%, rgba(41,39,40,0) 85%, rgba(41,39,40,0.25) 100%);
}

#home-feature-block .home-feature-link {
	text-decoration: none;
}

#home-feature-block .feature-post-title {
	font: 180% "Poppins", Arial, Helvetica, Geneva, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	opacity: 0;
	transition: all 1s;
	/*	 margin-top: auto; /* Push to the bottom *!/*/
	text-align: center;
	margin-right: 10px;
}

#home-feature-block:hover .feature-post-title {
	opacity: 1;
}

/* @end */

/* @group Page Slider */

#page-slider .page-slider-arrows .splide__arrow {
	opacity: 0;
	transition: .4s all;
}

#page-slider:hover .page-slider-arrows .splide__arrow {
	opacity: .6;
}

#page-slider .page-slider-arrows .splide__arrow {
	width: 40px;
	height: 40px;
	background: #fff;
	transition: .4s all;
}

#page-slider .page-slider-arrows .splide__arrow:hover {
	opacity: .8;
}

#page-slider .page-slider-arrows .splide__arrow svg {
	min-width: 20px;
	min-height: 20px;
	fill: rgba(47, 61, 59);
}

#page-slider ul.splide__pagination {
	/*	background-color: rgba(47,61,59,1);*/
	position: relative;
	margin-top: 14px;
	display: none;
}

#page-slider button.splide__pagination__page {
	background-color: rgba(47, 61, 59, 0.4);
}

#page-slider button.splide__pagination__page.is-active {
	background-color: rgba(47, 61, 59, 0.75);
}

#page-slider .page-slider-arrows button.splide__arrow svg {
	display: none;
}

#page-slider .page-slider-arrows button.splide__arrow {
	background: none;
	width: 32px;
	height: 32px;
}

#page-slider .page-slider-arrows button.splide__arrow--prev {
	background: url('/wp-content/themes/m/assets/arrow_left-rev.svg') no-repeat;
}

#page-slider .page-slider-arrows button.splide__arrow--next {
	background: url('/wp-content/themes/m/assets/arrow_left-rev.svg') no-repeat;
	transform: rotate(180deg);
	transform-origin: center;
}

/* @end */

/* @group Slides Animation */

body.animate-document {
	background-color: #1f1f1f;
}

.slide-row .brz-row {
	max-height: 80vh;
	max-width: 1440px!important;
	min-height: 480px;
}

.slide-row .brz-row, 
.slide-row .slide-col {
	padding: 0px!important;
}

.slide-row .brz-row {
	aspect-ratio: 16 / 9; /* Width / Height */
}

.slide-row .slide-col {
	
}

@media (max-width: 767px) {
	.slide-row .brz-row {
		aspect-ratio: 4 / 3; /* Width / Height */
	}
	
	.slide-row .brz-row {
		max-height: 60vh;
		min-height: 320px;
	}
}

.slide-col .brz-bg {
	clip-path: polygon(45% 0%, 100% 0%, 55% 100%, 0% 100%);
	margin-right: -50%!important;
	margin-left: -50%!important;
}

/* @end */

/* @group Menus */

@media (max-width: 767px) {
	body:not(.page-scrolled-top) section.home-menu .brz-bg-color {
		background-color: #3a393a!important;
		opacity: .8;
		transition: all .25s;
	}
}

.main-logo {
	max-width: 160px;
}

@media (max-width: 767px) {
	.main-logo {
		max-width: 140px;
	}
}

.mobile-menu .top-level {
	font-size: 125%;
}

.mobile-menu .top-level a {
	margin-top: 20px;
}

body:not(.brz-ed) .overlay-menu {
	z-index: 10000!important;
}

/* Home (page-id-6) only: transparent overlay header.
   #main-menu is the global header, so scope to the home page.
   Negative bottom margin = header height pulls the section below up beneath it. */
body.page-id-6:not(.brz-ed) #main-menu {
	margin-bottom: -98px; /* = header section height; pulls the section below fully under it */
}

/* Flatten the dark menu bar (Brizy paints it on the .brz-bg-color layer,
   not the section). Scoped to the header menu-item so popups keep their bg. */
body.page-id-6:not(.brz-ed) #main-menu .brz-section__menu-item > .brz-bg > .brz-bg-color {
	background-color: transparent !important;
}

/* @end */

/* @group General Styles  */

/*.body {
	background-color: #292728;
}*/

#project-gallery .brz-container {
	padding-top: 20px;
	padding-bottom: 20px;
}

.team-gallery-listing .brz-posts__item .team-gallery-image, 
.project-gallery-listing .brz-posts__item .project-gallery-image {
	transition: all 1s;
	filter: grayscale(100%);
}

.team-gallery-listing .brz-posts__item:hover .team-gallery-image, 
.project-gallery-listing .brz-posts__item:hover .project-gallery-image {
	filter: grayscale(0%);
}

.m-bg-06, 
section.m-bg-06 .brz-container {
	background: url(../m/assets/m_rev-06.svg) no-repeat fixed;
	background-size: 1920px;
	background-position: right 120px top 20%;
}

.m-bg {
	background: url(../m/assets/m_rev-06.svg) no-repeat fixed #23282b;
	background-size: 1920px;
}

.m-bg.green {
	background: url(../m/assets/m_rev-06.svg) center center no-repeat fixed #7d8778;
	background-size: 1920px;
}

.m-bg.grey {
	background: url(../m/assets/m_rev-06.svg) center center no-repeat fixed #292728;
	background-size: 1920px;
}


/*.brz-row__container.m-bg-06 {
 max-width: 2400px;
}*/

.para-image .brz-bg {
	clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.para-image .brz-columns {
	
}

.para-image {
	
}

/* @end */

/* @group Angles */

.angle-image-left .brz-rich-text:before, 
.angle-text-left .brz-rich-text:before {
	shape-outside: polygon(0 0, 0% 100%, 100% 0);
	height: 100%;
	float: left;
	opacity: 0;
	display: block;
	background-color: #ff0505;
	content: "";
}

.angle-text-left .brz-rich-text:before {
	width: 125px;
}

.angle-image-left .brz-rich-text:before {
	width: 90px;
}

.angle-text-column {
	margin-left: -12%;
	/*	margin-bottom: 80px;*/
}

.angle-image-left .brz-rich-text {
	margin-right: -10%;
}

/*.angle-text-left {
	padding-top: 12%;
	background: url(../m/assets/m-slash4.svg) no-repeat;
	background-position: left center;
}*/

.angle-text-left .brz-rich-text {
	margin-left: 8%;
}

@media (max-width: 1400px) {
	.angle-text-column {
		margin-left: -14%;
	}
	
	.angle-image-left .brz-rich-text:before {
		width: 150px;
	}
	
	.angle-text-left .brz-rich-text:before {
		width: 130px;
	}
	
	.angle-image-left .brz-rich-text {
		margin-right: -20%;
	}
}

@media (max-width: 1200px) {
	.angle-text-column {
		margin-left: -18%;
	}
	
	.angle-image-left .brz-rich-text:before {
		width: 125px;
	}
	
	.angle-text-left .brz-rich-text:before {
		width: 140px;
	}
	
	.angle-image-left .brz-rich-text {
		margin-right: -40%;
	}
}

@media (max-width: 992px) {
	.angle-text-column {
		margin-left: -12%;
		margin-bottom: 40px;
	}
	
	.angle-image-left .brz-rich-text:before {
		width: 80px;
	}
	
	.angle-text-left .brz-rich-text:before {
		width: 150px;
	}
	
	.angle-image-left .brz-rich-text {
		margin-right: -25%;
	}
}

@media (max-width: 767px) {
	.angle-text-column {
		margin-left: inherit;
		margin-bottom: inherit;
	}
	
	.angle-text-left .brz-rich-text {
		margin-left: -4%;
	}
	
	.angle-text-left .brz-rich-text:before {
		width: 60px;
	}
	
	.angle-image-left .brz-rich-text {
		margin-right: inherit;
	}
	
	.angle-image-left .brz-rich-text:before {
		width: 48px;
	}
	
	.angle-text-left {
		background: none;
		padding-top: inherit;
	}
}

/* @end */

/* @group Posts */

.brz-posts__filter-wrapper li * {
	text-transform: uppercase;
}

.project-nav .inner-nav {
	max-width: 1440px!important;
	margin-right: auto;
	margin-left: auto;
}

#custom_post_nav {
	font-family: Poppins, sans-serif;
	color: #979697;
}

#custom_post_nav a {
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
}

#custom_post_nav.brz-single-post-navigation::before {
	background-color: #3b393a;
}

#custom_post_nav.brz-single-post-navigation::before {
	display: none;
}

/* @end */

/* @group Popup Management */



/* @end */