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

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Elements
# Structure
# Header
# Navigation
# Content
	## Posts and pages
	## Contact Form 7
# Footer
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#page-content > .headsec {
	padding-top: 80px;
}

#page-content > .headsec > .l-section-h {
	padding-top: 0;
}

/* Mobile ----------------------------------------------------*/
@media screen and (max-width: 601px) {

	#page-content > .headsec {
		padding-top: 50px;
	}

}

#page-content > .headsec .w-image {
	position: absolute;
	bottom: 0;
	z-index: 1;
	width: 100%;
}

#page-content > .headsec .w-image img {
	width: 100%;
	display: block;
}

#page-content > .subsec {
	padding-top: 80px;
	padding-bottom: 0;
}

#page-content > .subsec > .l-section-h {
	padding-top: 0;
}

/* Mobile ----------------------------------------------------*/
@media screen and (max-width: 601px) {

	#page-content > .subsec {
		padding-top: 50px;
	}

}

#page-content > .subsec .w-image img {
	width: 100%;
}

#page-content > .iconsec {
	padding-top: 0;
	padding-bottom: 0;
	text-align: right;
}

#page-content > .iconsec .w-image {
	display: inline-block;
	max-width: 75px;
}

/* Fix fullwidth section */
.l-section.width_full .g-cols {
	margin: 0;
}

.l-section.width_full .g-cols > div > .vc_column-inner {
	padding: 0;
}
/* End fix fullwidth section */

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#page-content {
	font-size: 1.4rem;
	line-height: 1.5;
}

/* Tablet ----------------------------------------------------*/
@media screen and (max-width: 768px) {

	#page-content {
		/* font-size: 1.3rem; */
	}

}

/* Mobile ----------------------------------------------------*/
@media screen and (max-width: 767px) {

	#page-content {
		font-size: 1.2rem;
	}

}

.block-center {
	max-width: 900px;
	margin: 0 auto;
}

p.headline {
	font-family: Poppins;
	font-size: 2.5rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: #1a1a1a;
	margin-bottom: 0;
}

h1.subline {
	font-family: "Open Sans";
	font-size: 1.4rem;
	line-height: 1.4;
	font-weight: 300;
	text-align: center;
	text-transform: uppercase;
}

/* Tablet ----------------------------------------------------*/
@media screen and (max-width: 768px) {

	p.headline {
		font-size: 2.2rem;
	}

	h1.subline {
		padding-top: 1rem;
		font-size: 1.3rem;
	}

}

/* Mobile ----------------------------------------------------*/
@media screen and (max-width: 767px) {

	p.headline {
		font-size: 1.5rem;
	}

	h1.subline {
		font-size: 1rem;
	}

}

.teaser-headline {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 2.5rem;
	line-height: 1.4;
	letter-spacing: -0.02em;
}

/* Mobile ----------------------------------------------------*/
@media screen and (max-width: 767px) {

	.teaser-headline {
		font-size: 1.8rem;
	}

}

.teaser-block .vc_column-inner > .wpb_wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	background: #f1f1f1;
}

.teaser-block .w-image {
	margin-bottom: 1.5rem;
}

.teaser-block .w-image.icon {
	position: absolute;
	top: 1rem;
	left: 1rem;
	max-width: 49px;
	margin: 0;
}

.teaser-block .w-image:nth-child(2) {
	margin-bottom: 1.5rem;
}

.teaser-block .w-image:nth-child(2) img {
	width: 100%;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.teaser-block .wpb_text_column {
	padding: 0 1rem;
	font-size: 1rem;
	line-height: 1.75 !important;
}

.teaser-block .wpb_text_column h2 {
	font-size: 1.5rem;
}

.teaser-block .w-btn-wrapper {
	padding: 0 1rem;
	margin: 0 0 1rem 0;
}

.teaser-block .w-btn {
	width: 100%;
}

.teaser-block .w-separator {
	flex-grow: 1;
}

.w-grid.type_carousel .usg_post_custom_field_3 {
	color: #e3000b !important;
}

/* Column stacking -------------------------------------------*/
@media screen and (max-width: 899px) {

	.img-icon {
		max-width: 250px !important;
		margin: 0 auto;
	}

}

/* Column stacking -------------------------------------------*/
@media screen and (max-width: 899px) {

	.picbox .g-cols > div:first-child {
		min-height: 50vh;
	}

}

/*--------------------------------------------------------------
## Contact Form 7
--------------------------------------------------------------*/
.cf7-accept {
	margin-bottom: 1.5rem;
}

.cf7-accept input[type="checkbox"] {
	vertical-align: middle;
	margin-right: 0.3rem;
	height: 1.2rem;
	width: 1.2rem;
	min-height: 1em;
	margin-top: -3px;
	padding: 0!important;
	box-shadow: none!important;
}

/*--------------------------------------------------------------
## Sidetab
--------------------------------------------------------------*/
.sidetab {
	position: fixed;
	z-index: 2;
	top: 65vh;
	right: -400px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	transition: all 0.5s ease-in-out;
}

.sidetab.in {
	right: 0;
}

.sidetab .tab {
	width: 80px;
	padding: 15px 20px;
	background: #e3000b;
	border-bottom-left-radius: 0.4rem;
    border-top-left-radius: 0.4rem;
    cursor: pointer;
}

.sidetab .tab img {
	width: 100%;
	display: block;
}

.sidetab .content {
	width: 400px;
	padding: 20px 30px;
	background: #e3000b;
	border-bottom-left-radius: 0.4rem;
	color: #fff;
	font-size: 1.2rem;
}

.sidetab .content a,
.sidetab .content a:hover {
	color: #fff;
}

/* Tablet ----------------------------------------------------*/
@media screen and (max-width: 768px) {

	.sidetab {
		top: 35vh;
	}

}

/* Mobile ----------------------------------------------------*/
@media screen and (max-width: 767px) {

	.sidetab {
		right: -250px;
	}

	.sidetab .tab {
		width: 60px;
		padding: 10px 15px;
	}

	.sidetab .content {
		width: 250px;
		padding: 10px 20px;
		font-size: 1.2rem;
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#page-footer .w-image.map {
	max-width: 150px;
}