/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      0.6.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

html, body {
    overflow-x: hidden;
}

.navbar-brand img {
    max-height: 178px;
    width: auto;
}

.navbar-expand-md .navbar-collapse .navbar-nav:before {
    content: '';
    display: block;
    background: #85ab9f;
    height: 1px;
    position: absolute;
    left: 0.875rem;
    right: 0.875rem;
    bottom: 0;
}

#magic-line {
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 3;
    pointer-events: none;
    /*padding: 0 0.875rem;*/
}

#magic-line:before {
    content: '';
    display: block;
    background: #85ab9f;
    height: 3px;
}

header.entry-header {
    background: #85AB9F;
    height: 386px;
    position: relative;
    margin-bottom: 100px;
}

header.entry-header .entry-title {
    background: #CDD942;
    padding: 30px 15px 13px;
    color: #ffffff;
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.banner-img {
    min-height: 350px;
    width: 50%;
    position: absolute;
    overflow: hidden;
    right: 0;
    top: 0;
    bottom: 0;
}

.banner-img .angle {
    -webkit-transform: skew(-35deg);
    transform: skew(-35deg);
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    left: 110px;
}

.banner-img .angle div {
    background-size: cover !important;
    background-position: center;
    -webkit-transform: skew(35deg);
    transform: skew(35deg);
    position: absolute;
    top: 0;
    bottom: 0;
    left: -110px;
    right: 0;
}

.banner-pos.left {
    position: absolute;
    left: -165px;
    top: 0;
    z-index: 1;
    bottom: 0;
    margin-bottom: 0;
}

.banner-pos.left .vc_figure {
    height: 100%;s
}

.banner-pos.left .vc_single_image-wrapper {
    -webkit-transform: skew(-35deg);
    transform: skew(-35deg);
    overflow: hidden;
    height: 100%;
}

.banner-pos.left .vc_single_image-wrapper img {
    -webkit-transform: skew(35deg);
    transform: skew(35deg);
    width: auto;
    max-width: none;
    margin-left: 165px;
    height: 100%;
}

.angled-image-banner:after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 60px;
	background: #CDD942;
	display: block !important;
}

.vc_btn3 {
	overflow: hidden;
	z-index: 1;
	padding: 4px 20px !important;
	border: none !important;
	background: transparent !important;
	line-height: 1.3 !important;
	font-size: 34px !important;
	color: #ffffff !important;
	min-width: 250px;
	font-family: 'Teko', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 15px;
	position: relative;
	display: inline-block;
}

.vc_btn3:hover {
	text-decoration: none;
}

.bg-primary .vc_btn3 {
	color: #59595B !important;
}

.vc_btn3 span {
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
}

.vc_btn3 span:before,
.vc_btn3 span:after {
	content: '';
	display: block;
	position: absolute;
	-webkit-transform: skew(45deg);
	transform: skew(45deg);
	background: #85ab9f;
}

.bg-primary .vc_btn3 span:before,
.bg-primary .vc_btn3 span:after {
	background: #ffffff;
}

.vc_btn3 span.rotate {
    transform: rotate(180deg);
}

.vc_btn3 span.rotate:before,
.vc_btn3 span.rotate:after {
	-webkit-transform: skew(-45deg);
	transform: skew(-45deg);
}

.vc_btn3 span:before {
	left: 8px;
	right: 8px;
	top: 8px;
	bottom: 0;
	-webkit-transform-origin: bottom left;
	transform-origin: bottom left;
}

.vc_btn3 span:after {
	top: 0;
	bottom: 8px;
	right: 8px;
	left: 8px;
	-webkit-transform-origin: top right;
	transform-origin: top right;
}

.vc_btn3:hover span:before,
.vc_btn3:hover span:after {
	background-color: #85ab9f;
	-webkit-transition: 0.3s all linear;
    -moz-transition: 0.3s all linear;
    -ms-transition: 0.3s all linear;
    -o-transition: 0.3s all linear;
    transition: 0.3s all linear;
}

.bg-primary .vc_btn3 span:before,
.bg-primary .vc_btn3 span:after {
	background: #ffffff;
}

.vc_btn3:hover span:before,
.vc_btn3:hover span:after {
	background: #CDD942;
}

.title-bar {
    background: #85AB9F;
    color: #ffffff;
}

.underlay-block .vc_single_image-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 0 10px 10px;
}

.underlay-block .vc_single_image-wrapper:before {
    content: '';
    display: block;
    background: #CDD942;
    width: 100%;
    height: 100%;
    position: absolute;
    left: -10px;
    bottom: -10px;
    z-index: -1;
    -webkit-transform: skew(-25deg);
    transform: skew(-25deg);
}

.justify-content-center.wpb_column .wpb_wrapper {
    justify-content: center;
    display: flex;
}

img.greyscale {
    filter: grayscale(100%);
    margin: 0 30px;
    -webkit-transition: 0.3s all linear;
    -moz-transition: 0.3s all linear;
    -ms-transition: 0.3s all linear;
    -o-transition: 0.3s all linear;
    transition: 0.3s all linear;
    opacity: 0.7;
}

img.greyscale:hover {
    filter: grayscale(0);
    opacity: 1;
}

.bg-primary h2 {
    color: #ffffff;
}

.quote-request {
	font-size: 27px;
	margin-top: 75px;
	padding: 50px 20px 30px;
	position: relative;
}

.quote-request > * {
    z-index: 2;
    position: relative;
}

.quote-request:after {
	content: '';
	position: absolute;
	right: -70px;
	top: 0;
	background: #CDD942;
	height: 100%;
	width: 300px;
	-webkit-transform: skew(-30deg);
	transform: skew(-30deg);
}

.skewed-bg {
    background: -moz-linear-gradient(115deg, rgba(205,217,66,1) 0%, rgba(205,217,66,1) 25%, rgba(133,171,159,1) 25%, rgba(133,171,159,1) 100%);
    background: -webkit-linear-gradient(115deg, rgba(205,217,66,1) 0%, rgba(205,217,66,1) 25%, rgba(133,171,159,1) 25%, rgba(133,171,159,1) 100%);
    background: linear-gradient(115deg, rgba(205,217,66,1) 0%, rgba(205,217,66,1) 25%, rgba(133,171,159,1) 25%, rgba(133,171,159,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cdd942",endColorstr="#85ab9f",GradientType=1);
}

.skew-img {
    position: relative !important;
}

.skew-img .vc_column-inner {
    position: absolute;
    top: 0;
    bottom: 0;
}

.skew-img .wpb_wrapper,
.skew-img .wpb_wrapper .wpb_single_image,
.skew-img .wpb_wrapper .wpb_single_image figure,
.skew-img .wpb_wrapper .wpb_single_image figure .vc_single_image-wrapper,
.skew-img .wpb_wrapper .wpb_single_image figure .vc_single_image-wrapper img {
    height: 100%;
    margin: 0;
}

.skew-img .wpb_wrapper .wpb_single_image figure .vc_single_image-wrapper {
    -webkit-transform: skew(-25deg);
    transform: skew(-25deg);
    overflow: hidden;
    /*height: 100%;*/
    margin-left: -80px;
}

.skew-img .wpb_wrapper .wpb_single_image figure .vc_single_image-wrapper img {
    -webkit-transform: skew(25deg);
    transform: skew(25deg);
    width: auto;
    max-width: none;
    margin-left: -35%;
    height: 100%;
}

.skew-img .wpb_wrapper .wpb_single_image figure:before {
    content: '';
    position: absolute;
    left: -55px;
    right: 25px;
    bottom: 0;
    top: 0;
    background: #cdd942;
    -webkit-transform: skew(-25deg);
    transform: skew(-25deg);
}


#wrapper-footer {
    background: #59595B;
    color: #ffffff;
    padding-top: 25px;
}

#wrapper-footer a {
    color: inherit;
}

#footer-menu {
    column-count: 3;
    list-style: none;
    text-transform: uppercase;
    padding: 0;
    margin-top: 25px;
    max-width: 350px;
}

#footer-menu a {
    padding: 0 2rem 0 0;
    font-size: 16px;
}

#wrapper-footer .navbar-brand {
    position: relative;
    padding: 30px 13px 40px;
    width: 160px;
    overflow: hidden;
    margin-bottom: -7px;
}

#wrapper-footer .navbar-brand:before {
    content: '';
    display: block;
    height: 170px;
    -webkit-transform: skewY(-16deg);
    transform: skewY(-16deg);
    background: #ffffff;
    position: absolute;
    left: 0;
    right: 0;
    top: 24px;
}

#wrapper-footer .navbar-brand img {
    position: relative;
}

.footer-contacts {
    font-size: 14px;
}


/*Elementor Styles*/
a.elementor-button-link:before,
a.elementor-button-link:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    top: 0;
    border-width: 8px;
    border-style: solid;
    border-color: #ffffff;
    border-bottom-color: transparent;
    border-top-color: transparent;
}

.elementor-button-info a.elementor-button-link:before,
.elementor-button-info a.elementor-button-link:after {
    border-color: #85ab9f;
    border-bottom-color: transparent;
    border-top-color: transparent;
}


a.elementor-button-link:before {
    left: -8px;
    border-left: none;
}

a.elementor-button-link:after {
    right: -8px;
    border-right: none;
}

a.elementor-button-link {
    position: relative;
}

