/* CSS Document */

/* Global
---------------------------------------------------------------------------- */

.site-inner {
	padding-top: 0 !important;
}

.content > .entry {
	margin-bottom: 0;
}

*.invisible {
	display: none;
	visibility: hidden;
}


/* Hero
---------------------------------------------------------------------------- */

.hero > div {
	padding: 12vh 0;
}

.hero .underline,
.hero .underline .mobile {
	display: inline-block;
	position: relative;
}

.hero .underline::after,
.hero .underline .mobile::after {
	background: white;
	bottom: -5px;
	content: '';
    clip-path: url(#underline);
    -webkit-clip-path: url(#underline);
	display: block;
    height: 13px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 101%;
}

.hero .underline .mobile::after {
	bottom: -3px;
	display: none;
	height: 8px;
}


/* Solutions
---------------------------------------------------------------------------- */

.solutions {
	position: relative;
}

.solutions::before {
	background: url(../../images/rise.svg) no-repeat center;
	background-position: 90% 50%;
	background-size: 125% auto;
	content: '';
	display: block;
	height: 100%;
	left: 50%;
	opacity: .4;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	z-index: 0;
}

.solutions > div {
	position: relative;
}

.solutions .gb-layout-columns-2.gb-2-col-equal>.gb-layout-column-wrap {
	grid-template-columns: .6fr .4fr;
}

.solutions .wp-block-media-text {
	grid-template-columns: 80px auto !important;
}

.solutions .wp-block-media-text>.wp-block-media-text__content {
	padding: 0 6%;
}

.solutions .gb-layout-columns-2.gb-2-col-wideright>.gb-layout-column-wrap {
	grid-template-columns: 80px auto;
}

.entry-content .solutions h4 {
	margin-bottom: 5px;
	margin-top: 5px;
}

.entry-content .solutions h4,
.entry-content .solutions h4 a {
	color: #000;
	text-decoration: none;
}

.entry-content .solutions h4 a:focus,
.entry-content .solutions h4 a:hover {
	color: #cc2b29;
	text-decoration: underline;
}

.solutions p {
	line-height: 1.2;
}

.solutions .wp-block-image {
	border-radius: 30px;
	overflow: hidden;
}

.solutions .gb-layout-columns-2.gb-2-col-wideright .wp-block-image {
	overflow: visible;
}

.solutions .gb-layout-columns-2.gb-2-col-wideright .wp-block-image img {
	transition: all .2s ease-in-out;
}

.solutions .gb-layout-columns-2.gb-2-col-wideright .wp-block-image a:focus img,
.solutions .gb-layout-columns-2.gb-2-col-wideright .wp-block-image a:hover img {
	opacity: .8;
	transform: scale(1.05);
}


/* Success
---------------------------------------------------------------------------- */

.success .wp-block-image figure {
	margin: 0 !important;
}

.success p {
	line-height: 1.2;
}

.success p a {
	color: #fff;
}

.success p a:focus,
.success p a:hover {
	color: #cc2b29;
}


/* Testimonials
---------------------------------------------------------------------------- */

.testimonials .quotes {
	height: 100%;
	left: calc(((100vw - 970px) / 2) - 30px);
	position: relative;
}

.testimonials .quote-item {
	background-color: #e5e5e5;
	border-radius: 30px;
	height: 100%;
	margin-inline: 30px;
	max-width: 970px;
	padding: 40px 70px;
	text-align: left;
	transition: opacity .2s ease-in-out;
}

.testimonials .quote-item[aria-hidden="true"] {
	opacity: .5;
}

.testimonials .quote-item > .wrap {
	max-width: none;
}

.testimonials .quote-item img.logo {
	width: 100px;
}

.testimonials .quote-item .quote-desc {
	font-size: 26px;
	line-height: 1.25;
}

.testimonials .quote-item .meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	grid-gap: 10px 30px;
	left: 60%;
	line-height: 1.25;
	position: relative;
	text-align: left;
	width: 40%;
}

.testimonials .quote-item .meta img {
	border-radius: 100%;
	float: left;
	width: 85px;
}

.testimonials .quote-item .meta .quote-title {
	font-size: 24px;
	font-weight: 700;
}

.testimonials .quote-item .meta .testimonial_title {
	display: block;
	font-size: 21px;
	font-weight: 400;
}

.testimonials .bx-wrapper .bx-pager {
	bottom: -20px;
	position: relative;
}

.testimonials .bx-wrapper .bx-pager.bx-default-pager a {
	background-color: #e5e5e5;
	border: none;
	border-radius: 100%;
	margin: 0 8px;
	height: 22px;
	width: 22px;
}

.testimonials .bx-wrapper .bx-pager.bx-default-pager a:hover,
.testimonials .bx-wrapper .bx-pager.bx-default-pager a.active,
.testimonials .bx-wrapper .bx-pager.bx-default-pager a:focus {
	background-color: #cc2b29;
}


/* Blog
---------------------------------------------------------------------------- */

.blog {
	overflow: hidden;
	position: relative;
}

.blog::before {
	background: url("../../images/bg-arrows-1.png") repeat center;
	background-size: 500px 500px;
	content: '';
	display: block;
	height: 200vw;
	left: 50%;
	opacity: .13;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%) rotate(-54.5deg);
	width: 200vw;
	z-index: 0;
}

.blog > * {
	position: relative;
}

.blog .gb-layout-columns-2>.gb-layout-column-wrap {
	grid-template-columns: .6fr .4fr;
}

.blog .gb-block-post-grid-image {
	aspect-ratio: 16/9;
	border-radius: 30px;
	overflow: hidden;
}

.blog .gb-block-post-grid-image a img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all .2s ease-in-out;
	width: 100%;
}

.blog .gb-block-post-grid-image a:focus img,
.blog .gb-block-post-grid-image a:hover img {
	opacity: .9;
	transform: scale(1.02);
}

.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid-image {
	aspect-ratio: 16/9;
}

.blog .gb-block-post-grid-header {
	display: grid;
	grid-template-areas: "byline" "title";
}

.blog .gb-block-post-grid-header .gb-block-post-grid-title {
	font-size: 36px;
	font-weight: 700;
	grid-area: title;
	line-height: 1.1;
	margin-bottom: 10px;
}

.blog .gb-block-post-grid-header .gb-block-post-grid-title a {
	color: #000;
}

.blog .gb-block-post-grid-header .gb-block-post-grid-title a:focus,
.blog .gb-block-post-grid-header .gb-block-post-grid-title a:hover {
	color: #cc2b29;
	text-decoration: none;
}

.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid-header .gb-block-post-grid-title {
	font-size: 26px;
}

.blog .gb-block-post-grid-header .gb-block-post-grid-byline {
	color: #000;
	font-size: 20px;
	font-weight: 400;
	grid-area: byline;
	margin: 0;
}

.blog .gb-block-post-grid-excerpt {
	font-size: 24px;
	line-height: 1.25;
}

.blog a.gb-block-post-grid-more-link.gb-text-link {
	font-size: 18px;
	font-weight: 600;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
}

.blog a.gb-block-post-grid-more-link.gb-text-link::after {
	content: '>';
	display: inline;
	position: relative;
}

.blog a.gb-block-post-grid-more-link.gb-text-link:focus,
.blog a.gb-block-post-grid-more-link.gb-text-link:hover {
	color: #cc2b29;
}


/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (min-width: 1024px) {
	
	.full-width-content .content {
		width: 100%;
	}
	
}

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

	.blog .gb-layout-columns-2>.gb-layout-column-wrap {
		grid-template-areas: "col1" "col2";
		grid-template-columns: auto;
	}
	
	.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid .is-grid.columns-1,
	.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid .gb-is-grid.gb-columns-1 {
		grid-template-columns: 1fr 1fr;
	}
	
	.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid .is-grid article:nth-child(odd) {
		grid-column: 1;
	}
	
	.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid .is-grid article:nth-child(even) {
		grid-column: 2;
	}
	
	.blog .gb-block-post-grid-image {
		aspect-ratio: 1.7/1;
	}

}

@media only screen and (max-width: 1023px) {
	
	.testimonials .quotes {
		left: calc(((100vw - 600px) / 2) - 30px)
	}
	
	.testimonials .quote-item {
		background-color: #e5e5e5;
		margin-inline: 30px;
		max-width: 600px;
	}
	
	.testimonials .quote-item .quote-desc {
		font-size: 22px;
	}
	
	.testimonials .quote-item .meta {
		left: 0;
		width: 100%;
	}

	
}

@media only screen and (max-width: 767px) {
	
	.solutions .gb-layout-columns-2.gb-2-col-equal>.gb-layout-column-wrap {
		grid-template-areas: "col1" "col2";
		grid-template-columns: auto;
		margin-top: -20px;
	}
	
	/*.solutions .wp-block-image {
		float: left;
		margin: 20px 10px;
		width: calc(50% - 20px);
	}*/
	
	.solutions .wp-block-image:not(.icon) {
		margin: 20px auto;
	}
	
	.testimonials .quotes {
		left: calc(((100vw - 90vw) / 2) - 30px);
	}
	
	.testimonials .quote-item {
		max-width: 90vw;
	}
	
}

@media only screen and (max-width: 600px) {
	
	.solutions .wp-block-media-text {
		grid-template-columns: 100% !important;
		text-align: center;
	}
	
	.solutions .gb-layout-columns-2.gb-2-col-wideright>.gb-layout-column-wrap {
		grid-template-areas: "col1" "col2";
		grid-template-columns: auto;
		text-align: center;
	}
	
	.solutions .wp-block-image {
		margin-inline: auto;
	}
	
	.solutions .wp-block-media-text__media img,
	.solutions .wp-block-image.icon {
		width: 100px;
	}
	
	.testimonials .quote-item {
		padding: 30px;
		text-align: center;
	}
	
	.testimonials .quote-item .quote-desc {
		font-size: 20px;
	}
	
	.testimonials .quote-item .meta {
		text-align: center;
	}
	
	.testimonials .quote-item .meta img {
		float: none;
		margin: 0 auto;
	}
	
	.testimonials .quote-item .meta .quote-title {
		flex-basis: 100%;
	}
	
	.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid .is-grid.columns-1,
	.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid .gb-is-grid.gb-columns-1 {
		grid-template-columns: auto;
	}
	
	.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid .is-grid article:nth-child(odd),
	.blog .gb-block-layout-column:nth-child(2) .gb-block-post-grid .is-grid article:nth-child(even) {
		grid-column: 1;
	}
	
	.blog .gb-block-post-grid-header .gb-block-post-grid-title {
		font-size: 32px;
	}
	
}

@media only screen and (max-width: 500px) {
	
	.hero .underline {
		display: inline;
	}
	
	.hero .underline::after {
		display: none;
	}
	
	.hero .underline .mobile::after {
		display: block;
	}
	
	.solutions .wp-block-image {
		float: none;
		width: 100%;
	}
	
}