@import url('template.css');
.epichead {
	background-color: #eee;
	text-align: left;
	padding: 140px 0 40px 0;
	color: #fff;
	overflow: hidden;
	position: relative;
}
.epichead::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 170%;
    background: #f46a37c4;
    z-index: 1;
    transform: rotate(15deg);
    bottom: -20%;
    left: -10%;
}
.epichead > img {
    position: absolute;
    width: 100%;
    min-height: 100%;
    z-index: 1;
    -webkit-animation: scaling-bg 56s linear infinite;
    animation: scaling-bg 20s linear infinite;
    top: 0;
    left: 0;
	object-fit: cover;
	object-position: center;
}
@keyframes scaling-bg {
    0%, 100% {
    -webkit-transform: scale(1);
    transform: scale(1);
}
50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
}
.epichead > .block {z-index:2}

.epichead h2 {
	font-size: 60px;
	text-shadow: 1px 1px 2px rgba(0,0,0,.4);
}
.epichead h3 {
	font-size: 40px;
	text-shadow: 1px 1px 2px rgba(0,0,0,.4);
	color: #5d6f7a
}
.fulldescription h2, h1 {
    font-size: 2.5em;
    padding: 20px 0 10px;
    display: inline-block;
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.3em;
    color: #000;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    margin: 0 auto;
	position: relative;
}
.fulldescription h2 {display: block;}
.fulldescription h2::after, h1::after {
	display: block;
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100px;
    height: 6px;
    background: #f46a37;
}
.twobl {
	position: relative;
	display: flex;
	flex-wrap: wrap;
}
.bl-1 {
	width: calc(100% - 350px);
	flex-basis: calc(100% - 350px);
}
.bl-2 {
	width: 350px;
	flex-basis: 350px;
}
.bl-1 .item-image {
	float: left;
	position: relative;
	left: 16px;
	margin: 0 40px 0 0
}
.bl-1 .item-image:after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 16px;
	left: -16px;
	background: #f46a37;
	z-index: 1
}
.bl-1 .item-image img {position: relative;display: block;z-index: 2;box-shadow: 0 1px 4px rgba(0,0,0,.4)}


.fulldescription a {text-decoration:underline}
.fulldescription a:hover {text-decoration:none}

.fulldescription .item-image {
	float: right;
	position: relative;
	right: 16px;
	margin: 0 0 0 40px;
	top: 40px;
}
.fulldescription .item-image:after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: -16px;
	left: 16px;
	background: #f46a37;
	z-index: 1;
}
.fulldescription .item-image img {position: relative;display: block;z-index: 2;box-shadow: 0 1px 4px rgba(0,0,0,.4)}



.overlay {
    position: absolute;
	top: 0;
	left: 0;
    width: 100%;
    height: 100%;
    background-color: #f46a37c4;
    z-index: 2;
}
.shortdescription ul, .fulldescription ul {
	margin: 40px;
	position: relative;
	display: inline-block;
	font-size: 20px;
	color: #333;
}
.shortdescription ul li, .fulldescription ul li {
	margin: 16px 0
}

.gallery {
	position: relative;
	padding: 40px;
	background: url(../../images/mainpage/window-glass-replacement.jpg) 50% 50% no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed
}
.swipergallery.swiper-container-horizontal > .swiper-pagination-bullets {margin: 16px auto 0;;bottom:0}
.gallery .obert {position: relative;margin: 0 15%;z-index: 3}
.gallery .swiper-slide {padding: 10px}
.gallery img {
	width: 100%;
	height: auto;
	display: block;
    border: 4px solid #fff;
	box-shadow: 0 0 9px rgba(0, 0, 0, .6);
}
.gallery .swiper-slide h4 {
    display: block;
    position: absolute;
    bottom: 60px;
    left: 0
}
.gallery .swiper-slide h4 span {
	position: relative;
	display: block;
	z-index: 2;
	background: #fff;
    padding: 8px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #f46a37;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
.gallery .swiper-slide h4:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 6px;
    left: 6px;
    background: #f46a37;
    z-index: 1;
}
.callnow {
	text-align: center;
	position: relative;
	top: -100px;
	z-index: 3;
	box-shadow: 0 1px 4px rgba(0,0,0,.4);
	color: #fff;
	font-size: 24px;
	background: #f46a37;
}
.callnow > div {
	display: block;
	background: #5d6f7a;
	padding: 30px 20px;
}
.callnow h4 {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 800;
	font-size: 30px;
	padding: 10px;
}
.callnow h3 {
	color: #f46a37;
	text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
.callnow .phone {
	font-size: 34px;
	color: #fff;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: 600;
	display: block;
	border: 2px solid #fff;
	padding: 8px 0;
}
.callnow button {
	display: block;
	width: 100%;
	height: auto;
	border: none;
	background: #f46a37;
	font-size: 22px;
	padding: 14px 0;
	text-transform: uppercase;
	font-weight: 600;
	color: #fff;
	letter-spacing: 1px;
	cursor: pointer;
}
.panel {background:#5d6f7a;}
.panel .block {padding: 40px 0;}
.maincard {
    width: 100%;
    display: flex;
	background: #f46a37;
	padding: 40px
}
.maincard > div {
    width: 50%;
    align-self: center;
}
.awards {
    background: #fff;
    padding: 16px;
	text-align: center;
}
.seemore a {
	display: block;
    font-size: 40px;
    text-align: left;
    color: #fff;
    padding-left: 40px;
	font-weight: 600;
	line-height: 1em;
}
.google-reviews {
    display: flex;
    max-width: 100%;
}

.google-reviews > div {
    padding: 10px 0 0 18px;
    letter-spacing: 1px;
    text-align: left;
}

.google img {
    height: 62px;
    max-width: 100%;
}
.awards h3 {
    display: none;
}
.awards ul, .awards h3 {
    align-self: center;
}
.awards li {
    display: inline-flex;
    padding: 0 5px;
}
.awards li img {
    display: block;
}
.aftersay {
    display: block;
    text-align: center;
    font-size: 24px;
    padding: 40px;
    background: #5d6f7a;
    color: #fff;
    margin-top: 40px;
	outline: 4px dashed rgba(255, 255, 255,.8);
	outline-offset: -15px;
}
.aftersay strong {display:block;font-size:30px;padding:30px 0 20px 0;text-transform:uppercase}

@media (max-width:767px){
	.epichead {padding: 80px 0 40px 0;}
	.epichead::after {width: 150%;left: -100%;}
	.epichead > img {width: auto;height: 100%;}
	.twobl {display: block;flex-wrap: inherit;margin-bottom: 20px;}
	.bl-1, .bl-2 {width: 100%;flex-basis:100%	}
	.epichead h2 {font-size: 40px;text-shadow: 1px 1px 2px rgba(0, 0, 0, .8);}
	.epichead h3 {font-size: 20px;color:#ffffffde;padding-top:18px}
	.bl-1 .item-image img {display:none}
	.callnow {top:0}
	.gallery {padding: 20px 0 0 0;background-attachment: initial}
	.gallery .obert {margin: 0}
	.gallery img {border: 3px solid #fff;box-shadow: none}
	.gallery .swiper-slide {padding: 0}
	.gallery .swiper-slide h4 {position: relative;bottom: 0;left: 0;}
	.gallery .swiper-slide h4::after {display:none}
	.gallery .swiper-slide h4 span {font-size: 10px;padding: 4px 8px;text-shadow: none;color: #5d6f7a;text-transform: uppercase;font-weight: 600;}
	.panel .block {padding: 0}
	.maincard {display: block;padding: 16px;background: transparent}
	.maincard > div {width: 100%;}
	.seemore a {padding: 16px 0 0 0;font-size: 24px;text-align: center;}
	.shortdescription ul, .fulldescription ul {margin: 20px 40px;}
	.fulldescription .item-image {display: none}
	.callme {padding: 0}
	.veha_recall form {display: block;white-space: normal;text-align: center;padding: 40px 0;}
	.veha_recall input {margin: 8px 0;padding: 12px 16px;font-size: 16px;width: 300px;max-width: 100%;}
	.veha_recall button {width: 300px;max-width: 100%;margin: 8px 0;}
	.awards li img {height: 40px;width: auto;}
	.fulldescription h2, h1 {display:block;text-align:center;font-size: 2em;}
	.fulldescription h2::after, h1::after {left: calc(50% - 50px);}
	.aftersay {font-size: 20px}
	.aftersay strong {font-size: 24px}
}