/*
Theme Name: Ascend Premium Child Theme
Theme URI: http://themes.kadencethemes.com/ascend-premium/
Description: Child Theme for Ascend Premium
Author: Kadence Themes
Author URI: https://kadencethemes.com/
Template: ascend_premium
Version: 2.951


BETTER TO ADD CUSTOM STYLES TO WP BACK OFFICE / THEME OPTIONS / CUSTOM CSS

*/

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.new-style h1, .new-style h2, .new-style h3,
.new-style h4, .new-style h5, .new-style h6 {
  	text-transform: uppercase;
}

.imbue-extra-light {
  	font-family: "Imbue", serif !important;
  	font-optical-sizing: auto;
  	font-weight: 200;
  	font-style: normal;
}

.lexend-giga-light {
  	font-family: "Lexend Giga", sans-serif !important;
  	font-optical-sizing: auto;
  	font-weight: 300;
  	font-style: normal;
	letter-spacing: unset;
}

h1 { line-height: 1.2 !important; }
h2 { line-height: 1.2 !important; }
h3 { line-height: 1.2 !important; }
h4 { line-height: 1.2 !important; }
h5 { line-height: 1.2 !important; }
h6 { line-height: 1.2 !important; }

.new-style #pageheader h1 { font-size: 88px !important; line-height: 1.2; }

.above-footer-widget {
	margin-top: 20px;
}

.sf-menu ul { min-width: 14em !important; }
#menu-main-menu a { padding: 5px 20px !important; }

article.portfolio .portfolio-content-inner h1 {
	text-transform: uppercase !important;
}

.merchant-map-container a {
	color: #444444 !important;
	text-transform: uppercase !important;
}

.merchant-map-container a:hover {
	text-decoration: underline !important;
}

.kad-slider-parallax .kad-slider .kad-slide {
	background-position: 50% 100% !important;
}

.fullwidth-container {
	width: 100% !important;
	max-width: unset !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.fullwidth-container .main {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.new-style .alt-bg-container {
	width: 100%;
	padding: 80px 0;
	margin: 0 0 40px 0;
	background: #f3efee;
}

.masonry-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 360px;
	max-width: 960px;
	margin: 20px auto 40px;
}

.single-portfolio .masonry-grid {
	aspect-ratio: 1/1;
}

.single-portfolio .vendor-masonry-item.long-col {
    grid-column: span 2;
}

.masonry-grid-item {
	overflow: hidden;
	background-color: #fff;
	position: relative;
	box-shadow: 0 0 10px rgba(198, 162, 172, .5);
}

.masonry-grid-item:before {
	content: '';
	-webkit-mask-size: 100% 100%;
  	-webkit-mask-composite: exclude;
	mask-size: 100% 100%;
  	mask-composite: exclude;
	background: #ab8594;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	transform-origin: center;
	transform: scale(3.5);
	z-index: 1;
	opacity: 75%;
	transition: all .5s 0s ease-in-out;
}

.masonry-grid-item:hover:before {
	content: '';
	-webkit-mask-size: 100% 100%;
  	-webkit-mask-composite: exclude;
	mask-size: 100% 100%;
  	mask-composite: exclude;
	background: #ab8594;
	transform: scale(1.25) !important;
	opacity: 75%;
	transition: all .5s 0s ease-in-out;
}

.masonry-grid-item.short:before {
	content: '';
  	-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_short_2.svg");
	mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_short_2.svg");
}

.masonry-grid-item.tall:before {
	content: '';
  	-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
	mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
	transform: scale(6);
}

.masonry-grid-item.tall:hover:before {
	content: '';
  	-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
	mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
	transform: scale(1.75) !important;
}

.masonry-grid-item.long:before {
	content: '';
  	-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
	mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
	transform: scale(6);
}

.masonry-grid-item.long:hover:before {
	content: '';
  	-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
	mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
	transform: scale(1.25) !important;
}

.masonry-grid-item.square:before {
	content: '';
  	-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
	mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
	transform: scale(6);
}

.masonry-grid-item.square:hover:before {
	content: '';
  	-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
	mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
	transform: scale(1.25) !important;
}

.masonry-grid-item.short {
	grid-row: span 1;
}

.masonry-grid-item.tall {
	grid-row: span 2;
}

.has-tall-3 .masonry-grid-item.tall, .has-tall-4 .masonry-grid-item.tall {
	grid-row: span 1;
}

.single-portfolio .vendor-masonry-item.tall {
    order: 0;
}

.masonry-grid-item.long {
	grid-column: span 2;
}

.vendor-masonry-item {
	background-color: transparent !important;
	order: 1;
}

.vendor-masonry-item:before,
.vendor-masonry-item:after {
	content: '';
	display: none !important;
	-webkit-mask-size: unset !important;
  	-webkit-mask-composite: unset !important;
	mask-size: unset !important;
  	mask-composite: unset !important;
	background: transparent !important;
	position: unset !important;
	width: 0 !important;
	height: 0 !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	margin: 0 !important;
	transform-origin: center;
	transform: unset !important;
	z-index: 0 !important;
	opacity: unset !important;
	transition: unset !important;
}

.masonry-grid-item-contents {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.vendor-masonry-item .masonry-grid-item-contents {
	height: 100% !important;
}

.masonry-grid-item-thumbnail {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	width: 100%;
	height: 100%;
}

.masonry-grid-item-info {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	text-align: center;
	z-index: 1;
}

.new-style .masonry-grid-item-info .masonry-grid-item-title {
	display: inline-block;
	background-color: rgba(255, 255, 255, 0.75);
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 300;
	padding: 5px 30px;
	margin-top: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 48px;
	width: 260px;
	color: #000;
	box-shadow: 0 5px 3px rgba(0,0,0,0.5);
	transition: all 1s 0s ease-in-out;
}

.masonry-grid-item:hover .masonry-grid-item-title {
	margin-top: 160px;
	background-color: rgba(255, 255, 255, 1.0);
}

.fullwidth-container .masonry-hide,
.fullwidth-container .entry-content > #sb_instagram {
	display: none !important;
}

.portfolio-grid-container {
	width: 100% !important;
	max-width: 100% !important;
}

.portfolio-grid-container #portfolio_template_wrapper {
	display: flex;
	flex-wrap: wrap;
	height: auto !important;
}

.portfolio-grid-container .main {
	width: 90%;
	max-width: 1920px;
	margin: auto;
}

.portfolio-grid-container .portfolio-post-item {
	width: 33%;
	padding: 40px;
	text-align: center;
}

.portfolio-grid-container .portfolio-post-item .portfolio-post-item-link {
	display: block;
}

.portfolio-grid-container .portfolio-post-item .portfolio-post-item-thumbnail {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 0;
	padding-top: 60%;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}

.portfolio-grid-container .portfolio-post-item .portfolio-post-item-thumbnail:before {
	content: "LEARN MORE";
	background: transparent;
	display: inline-block;
	width: 200px;
	height: 45px;
	padding: 10px;
	margin: auto;
	color: #000;
    border: 2px solid #000;
	font-family: "Lexend Giga", sans-serif !important;
  	font-optical-sizing: auto;
  	font-weight: 300;
  	font-style: normal;
	letter-spacing: unset;
	font-size: 18px;
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
	opacity: 0%;
	z-index: 2;
	transform-origin: center;
	transform: scale(1.0) !important;
	transition: all .5s 0s ease-in-out;
	-webkit-mask-image: unset;
    -webkit-mask-size: unset;
    -webkit-mask-composite: unset;
    mask-image: unset;
    mask-size: unset;
    mask-composite: unset;
}

.portfolio-grid-container .portfolio-post-item .portfolio-post-item-thumbnail:hover:before {
	content: "LEARN MORE";
	background: transparent;
	opacity: 100%;
	transition: all .5s 0s ease-in-out;
	-webkit-mask-image: unset;
    -webkit-mask-size: unset;
    -webkit-mask-composite: unset;
    mask-image: unset;
    mask-size: unset;
    mask-composite: unset;
}


.portfolio-grid-container .portfolio-post-item .portfolio-post-item-thumbnail:after {
	content: '';
	background-color: #dfc7d1;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	opacity: 0%;
	z-index: 1;
	transform-origin: center;
	transform: scale(1.25) !important;
	transition: all .5s 0s ease-in-out;
}

.portfolio-grid-container .portfolio-post-item .portfolio-post-item-thumbnail:hover:after {
	content: '';
	opacity: 100%;
	transition: all .5s 0s ease-in-out;
}

.new-style .portfolio-grid-container .portfolio-post-item .portfolio-post-item-title {
	color: #444;
	text-transform: uppercase;
	font-size: 32px;
	line-height: 1.2;
	-webkit-font-smoothing: unset !important;
	font-smoothing: unset !important;
}

.portfolio-grid-container .portfolio-post-item .portfolio-post-item-button {
	color: #444;
	border: 2px solid #444;
	padding: 10px 40px;
	text-transform: uppercase;
	margin-top: 20px;
	position: relative;
	top: 0;
	transition: all .5s 0s ease-in-out;
}

.portfolio-grid-container .portfolio-post-item:hover .portfolio-post-item-button {
	top: -10px;
	transition: all .5s 0s ease-in-out;
}

#kt-adv-heading_1a633e-70 {
	font-size: 14px !important;
}

#kad-mobile-banner .mobile-header-container {
	width: 100% !important;
}

.single-portfolio-type-separator {
	display: inline-block;
	padding: 0 10px;
}

.single-portfolio-type a {
	color: #000 !important;
}

.single-portfolio-type a:hover {
	text-decoration: underline !important;
}

.single-portfolio-content-row {
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	flex-wrap: wrap;	
}

.single-portfolio-content-row .single-portfolio-content-col {
	width: 33%;
	padding: 10px;
}


.single-portfolio-content-row .gallery-col {
	width: 67%;
}

.single-portfolio-content-row .fullwidth-col {
	width: 100% !important;
	border-bottom: 1px solid #cccccc;
	padding-bottom: 40px;
	margin-bottom: 20px;
}

.single-portfolio-meta {
	display: block;
}

.single-portfolio-spacer {
	margin-bottom: 40px;
}

.single-portfolio-meta a {
	color: #000 !important;
}

.single-portfolio-meta a:hover {
	text-decoration: underline !important;
}

.single-portfolio-meta .arrow {
	display: inline-block;
	width: 80px;
	margin-left: 10px;
}

.single-footer.new-layout {
	border-top: 1px solid #cccccc !important;
	
}

.single-footer.new-layout .post-footer-section {
	padding: 40px 0 0 !important;
	border-bottom: 0 !important;
}

.single-footer.new-layout .kad-post-navigation.portfolio-nav a {
	color: #000 !important;
	font-family: "Lexend Giga", sans-serif !important;
  	font-optical-sizing: auto;
  	font-weight: 300;
  	font-style: normal;
	letter-spacing: unset;
	text-transform: uppercase;
	font-size: 14px !important;
}

.single-footer.new-layout .kad-post-navigation.portfolio-nav a:hover {
	text-decoration: underline !important;
}

.single-footer.new-layout .kt_postlink_meta {
	 font-family: "Imbue", serif !important;
  	font-optical-sizing: auto;
  	font-weight: 200;
  	font-style: normal;
	text-transform: uppercase;
	font-size: 28px !important;
	line-height: 1.3 !important;
	color: #000 !important;
}

.single-footer.new-layout .kad-next-link .kt_postlink_meta.kt_color_gray:after {
	left: unset !important;
	right: 0 !important;
}

.single-portfolio-social {
	display: inline-block;
	width: 40px;
	height: 40px;
	position: relative;
	left: -5px;
	margin-top: 20px;
}

.single-portfolio-social svg {
	width: 40px;
}

.single-portfolio-social svg path {
	fill: #000 !important;
}

#popmake-10800 > .popmake-content > div {
	background-color: #896c76 !important;
}

#popmake-10800, .pum-theme-9188 .pum-container, .pum-theme-default-theme .pum-container {
	background-color: #896c76 !important;
}

.pum-theme-9188 .pum-content + .pum-close, .pum-theme-default-theme .pum-content + .pum-close {
	position: relative !important;
	margin-top: 20px;
}

#popmake-10800 #mc4wp-form-1 .mc4wp-form-fields > p input[type="submit"] {
	max-width: 250px !important;
}

.mc4wp-response {
	height: 0 !important;
}

.home-video {
	left: 0;
    right: 0;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
}

.spacer-section {
	padding: 100px 0;
}

.spacer-section > h2 {
	text-align: center;
    transform: skewY(-15deg);
    letter-spacing: .25em;
	color: #896c76;
}

.sbi_photo {
	height: 260px !important;
}

#sb_instagram {

}

#sbi_images {
	height: 380px;
	overflow: hidden;
}

#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_photo_wrap {
	height: 100%;
}

#sb_instagram .sbi_photo {
	height: 100% !important;
}

.animate-in span {
	display: inline-block;
  	opacity: 0;
  	transform: translateY(20px);
  	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-in.is-in-view {

}

.animate-in.is-in-view span {
    animation-name: animateLetter;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.animate-in span:nth-of-type(1) { animation-delay: 0.1s; }
.animate-in span:nth-of-type(2) { animation-delay: 0.2s; }
.animate-in span:nth-of-type(3) { animation-delay: 0.3s; }
.animate-in span:nth-of-type(4) { animation-delay: 0.4s; }
.animate-in span:nth-of-type(5) { animation-delay: 0.5s; }
.animate-in span:nth-of-type(6) { animation-delay: 0.6s; }
.animate-in span:nth-of-type(7) { animation-delay: 0.7s; }

@keyframes animateLetter {
	0% { opacity: 0; transform: translateY(-20px); }
	60% { opacity: 1; transform: translateY(12px); }
	70% { opacity: 1; transform: translateY(12px); }
	100% { opacity: 1; transform: translateY(0); }
}

/*
 * INTERACTIVE MAP 
 */

#interactive_map_wrapper {
	position: relative;
	width: 100%;
}

#map_controls {
    bottom: 20px;
    right: unset;
    right: 20px;
    width: auto;
    position: absolute;
    top: unset;
    left: unset;
    z-index: 2;
    text-align: left;
}

.map-control-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.map-control {
    width: 20px;
    height: 36px;
    padding: 5px;
    line-height: 1.75;
    cursor: pointer;
}

.map-control svg path {
    fill: #000;
}

.map-control-divider {
    height: 1px;
    background: #d3d3d3;
    display: block;
    margin: 0 4px;
}

.reset-wrapper {
    margin-top: 10px;
}

.reset-wrapper .map-control {
    height: 20px;
    line-height: 0;
    padding: 4px;
}

#interactive_map_container {
  	cursor: move;
  	background: #F6F8EF;
	position: relative;
    width: 100%;
    height: 0px;
    padding-top: 65.7142%;
    overflow: hidden;
}

#interactive_map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#interactive_map_group path { fill: transparent; cursor: pointer; }

#interactive_map_group .active path, #interactive_map_group .map_item:hover path { fill: #896c76; opacity: .8; }

.map-item-info {
  	display: block;
  	opacity: 0;
  	position: fixed;
  	top: 140px;
  	z-index: 150;
  	background: #f3efee;
  	width: 320px;
  	height: calc(100vh - 140px);
  	padding: 66px 0 0;
  	transition: all .25s ease-in-out;
  	text-align: center;
	overflow-y: auto;
}

.map-scroll-container {
	list-style: none;
}

.map-scroll-container:nth-child(even) {
	background: #eae2e0;
    border-top: 1px solid #e7dbd9;
    border-bottom: 1px solid #f8f5f4;
}

.map-info-contents {
	padding: 20px;
}

.slick-list.draggable {
	cursor: default !important;
}

.map-item-info a:not(.btn) { color: #000; text-decoration: none; }
.map-item-info a:not(.btn):hover { color: #896c76; text-decoration: underline; }
.map-info-view-btn { display: block; text-align: center; padding: 20px 0; }
.map-item-info .btn { text-decoration: none !important; background: #000; color: #fff; }
.map-item-info .btn:hover { background: #896c76; }

.admin-bar .map-item-info {
  	padding-top: calc(34px + 32px);
  	height: calc(100vh - 140px - 32px);
	top: 172px;
}

.map-item-info.active, .map-item-info.hover {
  	opacity: 1;
}

.map-item-info { left: -350px; box-shadow: 10px 0 10px rgba(0, 0, 0, 0.25); }
.map-item-info.active, .map-item-info.hover { left: 0px; }

.map-item-icon {
  	display: inline-block;
  	width: 16px;
  	margin-right: 16px;
	position: relative;
	top: 2px;
}

.map-item-icon svg path { fill: #000; }

.map-info-thumb {
  	width: 100%;
  	height: 190px;
  	position: relative;
  	border: 2px solid #000;
	margin-bottom: 10px;
	overflow: hidden;
}

.map-info-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.map-info-suite {
	margin-bottom: 20px;
}

.map-info-portfolio-types {
	margin: 3px 0 10px;
}

.map-info-portfolio-types span {
	font-size: 10px;
	line-height: 1em;
	text-transform: uppercase;
	display: inline-block;
	background: #896c76;
	color: #fff;
	padding: 5px 8px;
	border-radius: 3px;
	margin: 2px;
}

#close_info_panel {
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  display: block;
  position: absolute;
  top: 20px;
  right: 10px;
  cursor: pointer;
}

.admin-bar #close_info_panel { top: calc(-12px + 32px); }

.map-item-info ul { padding: 0; }
.map-item-info ul li { list-style-type: none; }

#close_info_panel svg { width: 100%; }
#close_info_panel svg path { fill: #000; }
#close_info_panel:hover svg path { fill: #896c76 }

.slick-prev, .slick-next {
	top: 232px;
	z-index: 99;
	height: 23px;
	width: 23px;
	border-radius: 100%;
}

.slick-next {
	right: 100px;
}

.slick-prev {
	left: 100px;
}

.slick-prev:before,
.slick-next:before {
	color: #000;
	opacity: 1.0	
}

.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
	
}

.btn:focus, .btn:hover, .button:focus, .button:hover, .submit:focus, .submit:hover, button:focus, button:hover, input[type=submit]:focus, input[type=submit]:hover {
	-webkit-box-shadow: unset;
	box-shadow: unset;
}

.map-info-hours, .map-info-phone, .map-info-website {
	display: block;
	margin-bottom: 10px;
}

.map-info-hours + .hours {
	display: block;
	margin-bottom: 10px;
}

.are-vertically-aligned-top {
	align-items: flex-start !important;
}
/* MOVED TO TIME.LY CSS
.timely-event-popup[_ngcontent-timely-calendar-c128] .timely-event[_ngcontent-timely-calendar-c128] .timely-event-body[_ngcontent-timely-calendar-c128] {
	width: 66.6666% !important;
}

.timely-event-popup[_ngcontent-timely-calendar-c128] .timely-event[_ngcontent-timely-calendar-c128] .timely-event-details[_ngcontent-timely-calendar-c128] {
	width: 33.3333% !important;
}
*/

#ctafoot-wrapper {
	width: 260px;
    height: 167px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-image: linear-gradient(45deg, #ffffff 25%, #f3efee 25%, #f3efee 50%, #ffffff 50%, #ffffff 75%, #f3efee 75%, #f3efee 100%);
	background-size: 56.57px 56.57px;
    z-index: 99;
}

@keyframes tilt-shaking {
  0% { transform: rotate(0deg); }
  1% { transform: rotate(5deg); }
  2% { transform: rotate(0deg); }
  3% { transform: rotate(-5deg); }
  4% { transform: rotate(0deg); }
  5% { transform: rotate(5deg); }
  6% { transform: rotate(0deg); }
  7% { transform: rotate(-5deg); }
  8% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.ctafoot-inner {
	padding: 20px;
	position: relative;
}

#ctafoot-contents {
	display: block;
	padding: 20px;
	border-radius: 50%;
	background-color: #ffffff;
	box-shadow: 0 5px 3px rgba(0,0,0,0.5);
	text-decoration: none !important;
}

#close-ctafoot-wrapper {
	position: absolute;
	top: 2px;
	right: 5px;
	color: #000;
	font-size: 24px;
}

#ctafoot-wrapper h3 {
	font-size: 28px !important;
	color: #000;
}

#ctafoot-wrapper h5 {
	font-size: 12px !important;
	color: #000;
}

#ctafoot-wrapper h5 a {
	color: #896c76;
}

#topcontrol {
	right: unset !important;
	left: 0px !important;
}

#topcontrol .to_the_top {
	right: unset;
	left: 20px;
}

.font-smooth {
	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}

.wp-block-kadence-advancedbtn .kb-btn7644_e38934-1b.kb-button:hover,
.wp-block-kadence-advancedbtn .kb-btn7644_e38934-1b.kb-button:focus {
	color: #ffffff;
    background: #896c76 !important;
    border-top-color: #896c76 !important;
    border-top-style: solid;
    border-right-color: #896c76 !important;
    border-right-style: solid;
    border-bottom-color: #896c76 !important;
    border-bottom-style: solid;
    border-left-color: #896c76 !important;
    border-left-style: solid;
}

@media screen and (min-width: 1800px) {
	.home-page-container, .masonry-grid {
		max-width: 1770px;
		margin: auto;
	}
}

@media screen and (min-width: 1500px) {
	.home-page-container, .masonry-grid {
		max-width: 1470px;
		margin: auto;
	}
}

@media screen and (min-width: 1200px) {
	.home-page-container, .masonry-grid {
		max-width: 1170px;
		margin: auto;
	}
}

@media screen and (max-width: 1300px) {
	.portfolio-grid-container .portfolio-post-item {
		padding: 10px;
	}
}

@media screen and (max-width: 1200px) {
	.portfolio-grid-container .portfolio-post-item {
		padding: 40px;
		width: 50%;
	}
	
	.single-portfolio-content-col .masonry-grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 1024px) {
	
	.portfolio-grid-container .portfolio-post-item {
		padding: 40px 20px;
		width: 50%;
	}
	
	.masonry-grid-item.short:hover:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_short_2.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_short_2.svg");
		transform: scale(1.65) !important;
	}

	.masonry-grid-item.tall:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
		transform: scale(6);
	}

	.masonry-grid-item.tall:hover:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
		transform: scale(1.75) !important;
	}

	.masonry-grid-item.long:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
		transform: scale(6);
	}

	.masonry-grid-item.long:hover:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
		transform: scale(1.25) !important;
	}
	
}

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

	.admin-bar .map-item-info {
		top: 84px;
		padding-top: calc(64px + 32px);
		height: calc(100vh - 60px - 32px);
	}
	
	.admin-bar #close_info_panel {
		top: calc(18px + 32px);
	}
	
}

@media screen and (max-width: 1016px) {
	
	.map-item-info {
		top: 84px;
		padding-top: 66px;
		height: calc(100vh - 60px);
	}
	
	#close_info_panel {
		top: 20px;
	}
	
}

@media screen and (min-width: 992px) {
	.home-page-container, .masonry-grid {
		width: 90%;
        max-width: 1170px;
		margin: auto;
	}
}

@media screen and (max-width: 992px) {
	
	.single-portfolio-content-row .single-portfolio-content-col,
	.single-portfolio-content-row .gallery-col,
	.single-portfolio-content-row .fullwidth-col {
		width: 100% !important;
		text-align: center !important;
	}
	
	.single-portfolio-content-col .masonry-grid {
		grid-template-columns: 1fr 1fr;
	}
	
}

@media screen and (max-width: 800px) {
	
	.portfolio-grid-container .portfolio-post-item {
		padding: 40px 20px;
		width: 100%;
	}
	
	.masonry-grid-item.short:hover:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_short_2.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_short_2.svg");
		transform: scale(2) !important;
	}

	.masonry-grid-item.tall:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
		transform: scale(6);
	}

	.masonry-grid-item.tall:hover:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_tall_2.svg");
		transform: scale(1.75) !important;
	}

	.masonry-grid-item.long:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
		transform: scale(6);
	}

	.masonry-grid-item.long:hover:before {
		content: '';
		-webkit-mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
		mask-image: url("https://www.thirtyavenue.com/wp-content/uploads/2025/08/door_long.svg");
		transform: scale(1.5) !important;
	}
	
}

@media screen and (max-width: 768px) {
	
	.single-portfolio-content-col .masonry-grid {
		grid-template-columns: 1fr;
	}
	
	.home-page-container > h1, .home-page-container > h2, .home-page-container > h3,
	.home-page-container > h4, .home-page-container > h5, .home-page-container > h6 {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.portfolio-post-item-thumbnail:hover:before {
		content: '';
		display: none !important;
	} 
	
	.portfolio-grid-container .portfolio-post-item:hover .portfolio-post-item-button {
		top: 0px;
	}
	
	.masonry-grid-item:hover .masonry-grid-item-title {
		margin-top: 200px !important;
	}
	
	.masonry-grid-item.short:before {
		content: '';
		display: none !important;
	}
	
	.masonry-grid-item.short:hover:before {
		content: '';
		display: none !important;
	}

	.masonry-grid-item.tall:before {
		content: '';
		display: none !important;
	}

	.masonry-grid-item.tall:hover:before {
		content: '';
		display: none !important;
	}

	.masonry-grid-item.long:before {
		content: '';
		display: none !important;
	}

	.masonry-grid-item.long:hover:before {
		display: none !important;
	}
	
	.map-item-info {
		width: 100vw !important;
		height: 100vh !important;
		left: 0 !important;
		right: 0 !important;
		top: unset !important;
		bottom: -110vh !important;
		z-index: 9999999 !important;
	}

	.map-item-info.active {
		top: unset !important;
		bottom: 0vh !important;
	}

	.map-info-thumb { height: 160px !important; }

	#close_info_panel {
		top: 20px;
	}

	.slick-prev, .slick-next {
		top: 202px;
	}
	
	.home-page-container, .masonry-grid {
		margin: auto;
	}
	
	.masonry-grid {
		display: block !important;
		padding: 0 40px;
	}
	
	.masonry-grid-item {
		height: 360px;
		margin: 20px 0;
	}
	
	.masonry-grid-item-thumbnail {
		background-position: center top !important;
	}
	
	#popmake-10800 {
		width: 100% !important;
	}
	/*
	.timely-event-popup[_ngcontent-timely-calendar-c128] .timely-event[_ngcontent-timely-calendar-c128] .timely-event-body[_ngcontent-timely-calendar-c128] {
		width: 50% !important;
	}

	.timely-event-popup[_ngcontent-timely-calendar-c128] .timely-event[_ngcontent-timely-calendar-c128] .timely-event-details[_ngcontent-timely-calendar-c128] {
		width: 50% !important;
	}
	*/
}

@media screen and (min-width: 767px) {
	.home-page-container, .masonry-grid {
		width: 90%;
        max-width: 1140px;
		margin: auto;
	}
}

@media screen and (max-width: 600px) {
	/*
	.timely-event-popup[_ngcontent-timely-calendar-c128] .timely-event[_ngcontent-timely-calendar-c128] .timely-event-body[_ngcontent-timely-calendar-c128] {
		width: 100% !important;
	}

	.timely-event-popup[_ngcontent-timely-calendar-c128] .timely-event[_ngcontent-timely-calendar-c128] .timely-event-details[_ngcontent-timely-calendar-c128] {
		width: 100% !important;
	}
	*/
	
	div#sb_instagram {
		width: calc(100% - 80px) !important;
		margin: auto 40px;
	}
	
	#sbi_images {
		height: auto;
	}
	
}