/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.32
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/* Subheadings */
h6 {
	padding-top: 0;
}
.l-section[class*="color_"] h6 {
	color: var(--color-content-primary);
}
.l-section.color_alternate:not(.l-section[class*="color_"] h6) h6 {
	color: var(--color-content-secondary);
}

/* Counter */
.w-counter:not(.has_font_size) .w-counter-value {
	font-size: 3rem;
}
@media (max-width: 799) {
	.w-counter:not(.has_font_size) .w-counter-value {
		font-size: 2rem;
	}
}

/* Cut-outs */
.ag_img-cut, .w-btn {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.ag_img-cut {
	--cut: 70px;
}
.w-btn {
	--cut: 15px;
}
@media (max-width: 900px) {
	.fg_img-cut {
		--cut: 50px;
	}	
}

/* Margins */
.ag_mb {
	margin-bottom: 1.5rem;
}

/* Buttons */
.ag_button {
	margin-top: 1.5rem;
}

/* Header */
.ag_mainmenu {
	text-transform: uppercase;
	font-weight: 500;
	font-family: var(--h1-font-family);
}
.no-touch .w-nav.type_desktop .hover_underline .menu-item.level_1:hover .w-nav-title:after {
	color: var(--color-content-secondary);
}

/* Text */
@media (min-width: 800px) {
	.ag_large-text {
		font-size: 1.2rem;
		line-height: 1.5;
	}
}

/* Footer */
.ag_footer h1, .ag_footer h2, .ag_footer h3, .ag_footer h4, .ag_footer h5, .ag_footer h6 {
	font-size: 1rem;
	margin-bottom: 2rem;
}
.ag_footer.l-section.height_medium {
	padding-top: 4rem;
	padding-bottom: 1rem;
}
.ag_copyright {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 500;
	font-family: var(--h1-font-family);
}

/* Rows */
.ag_alt-row {
	background: var(--color-content-bg-alt);
}

/* Grids */
.w-grid .w-btn-label {
	float: left;
}
.w-grid .w-btn.icon_atright i {
	float: right;
}
.ag_grid-border .w-grid-item-h  {
	overflow: hidden;
	border: 3px solid var(--color-content-border);
}
.ag_g-outer-box {
	height: 100%;
	padding: 1rem;
}
.w-grid-none.type_message {
	border: 2px solid var(--color-26336a);
}
.ag_g-title {
	font-size: 1.3rem;
}
.ag_g-box {
	padding: 1rem;
}
.ag_g-link-alt {
	margin-top: auto;
}
.ag_g-icon img {
	height: 80px;
	width: auto;
	object-fit: contain;
}