/**
 * PrepSquared.
 *
 * This file adds the stylesheet to the PrepSquared front page.
 *
 * @package PrepSquared
 * @author  5.12 Design Lab
 * @license GPL-2.0-or-later
 * @link    https://512designlab.com/
 */


/* Table of Contents
- Homepage Widgets
- Media Queries
*/


/* Forms
--------------------------------------------- */

.content .button {
	max-width: 100%;
	width: 300px;
}


/* Site Container
---------------------------------------------------------------------------- */

.site-container {
	overflow: visible;
}

/* Site Inner
--------------------------------------------- */

.site-inner {
	max-width: none;
	padding: 0;
}

.site-inner > .wrap {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

.content {
	width: 100%;
}

.site-inner .widget-area > .wrap {
	margin: 0 auto;
	max-width: 1140px;
}

/* Homepage Widgets
---------------------------------------------------------------------------- */

/* Home Feature
--------------------------------------------- */

.home-feature {
	clear: both;
	font-size: 28px;
	line-height: 1.25;
	position: relative;
}

.home-feature .widget {
	margin: 0;
	position: relative;
	z-index: 1;
}

.home-feature .widget_text {
	float: left;
	padding: 20vh 0;
	width: 50%;
}

.home-feature .widget-title {
	font-size: 60px;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1;
	margin-bottom: 20px;
}

.home-feature a.button {
	background-color: #003a70;
	color: #fff;
	margin-bottom: 20px;
	max-width: 300px;
	padding: 15px 20px;
	width: auto;
}

.home-feature a.button:hover {
	background-color: #ffb500;
}

.home-feature .widget_media_image {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
}

.home-feature .widget_media_image::before {
	background: -moz-linear-gradient(left,  rgba(242,234,237,1) 12%, rgba(255,255,255,0) 87%);
	background: -webkit-linear-gradient(left,  rgba(242,234,237,1) 12%,rgba(255,255,255,0) 87%);
	background: linear-gradient(to right,  rgba(242,234,237,1) 12%,rgba(255,255,255,0) 87%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2eaed', endColorstr='#00ffffff',GradientType=1 );
	content: '';
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 61%;
	z-index: 1;
}

.home-feature .widget_media_image .widget-wrap {
	height: 100%;
	width: 100%;
}

.home-feature .widget_media_image img {
	height: 100% !important;
	object-fit: cover;
	object-position: 50% 50%;
	width: 100%;
}

/* Home About
--------------------------------------------- */

.home-about {
	clear: both;
	font-size: 18px;
	line-height: 1.25;
	padding: 10vh 0;
	padding-bottom: calc(10vh - 80px);
	text-align: center;
}

.home-about .widget:first-child {
	font-size: 24px;
	margin: 0 auto 60px;
	max-width: 925px;
}

.home-about .widget-title {
	font-size: 42px;
	line-height: 1;
}

.home-about .gallery {
	align-content: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.home-about .gallery-item {
	flex: 0 0 28%;
	margin-bottom: 80px;
}

.home-about .gallery h4 {
	color: #003a70;
	font-size: 25px;
	font-weight: 400;
	margin-bottom: 15px;
}

.home-about .gallery-icon {
	position: relative;
	width: 126px; 
	height: 72.75px;
	background-color: #ffb500;
	margin: 36.37px auto;
}

.home-about .gallery-icon:before,
.home-about .gallery-icon:after {
	border-left: 63px solid transparent;
	border-right: 63px solid transparent;
	content: "";
	display: block;
	left: 0;
	position: absolute;
	width: 0;
}

.home-about .gallery-icon:before {
	border-bottom: 36.37px solid #ffb500;
	bottom: 100%;
}

.home-about .gallery-icon:after {
	border-top: 36.37px solid #ffb500;
	top: 100%;
	width: 0;
}

.home-about .gallery img {
	background-color: #fff;
	border: none;
	border-radius: 100%;
	box-shadow: 3px 3px 2px rgba(0,0,0,0.25);
	height: 108px;
	margin: 0 auto;
	padding: 16px;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	width: 108px;
	z-index: 1;
}

.home-about .gallery-caption {
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.5;
	line-height: 1.5;
	margin: 57px 0 0;
	padding: 0 0 0;
}

/* Home GroupSmart
--------------------------------------------- */

.home-groupsmart {
	background-color: #003a70;
	clear: both;
	color: #fff;
	font-size: 21px;
	font-weight: 300;
	line-height: 1.25;
	overflow: hidden;
	padding: 10vh 0;
}

.home-groupsmart .grid-wrap {
	display: grid;
    grid-gap: 0;
	grid-template-columns: 45% 5% 50%;
    grid-auto-columns: 50%;
}

.home-groupsmart .grid-wrap .widget:nth-child(2) {
	grid-column: 1;
	grid-row: 1;
}

.home-groupsmart .grid-wrap .widget:nth-child(1) {
	grid-column: 3;
	grid-row: 1 / span 2;
}

.home-groupsmart .grid-wrap .widget:nth-child(3) {
	grid-column: 1;
	grid-row: 2;
}

.home-groupsmart .widget:nth-child(2) {
	font-size: 28px;
}

.home-groupsmart .widget-title {
	color: #fff;
	font-size: 60px;
	font-weight: 300;
	margin: 0 0 5px;
}

.home-groupsmart .widget_text {
	
}

.home-groupsmart .widget_media_image {
	position: relative;
}

.home-groupsmart .widget_media_image .widget-wrap {
	bottom: 0;
	position: absolute;
	width: 100%;
}

.home-groupsmart .widget_media_image .widget-wrap img {
	width: 100%;
}

.home-groupsmart a.button {
	background-color: #ffb500;
	color: #333;
}

.home-groupsmart a.button:hover {
	background-color: #fff;
}

/* Home History
--------------------------------------------- */

.home-history {
	clear: both;
	font-size: 21px;
	line-height: 1.25;
	/*margin: 5vh 0;*/
	padding: 15vh 0;
	position: relative;
}

.home-history .widget {
	margin: 0;
}

.home-history .widget-title {
	font-size: 42px;
	font-weight: 400;
	line-height: 1.1;
}

.home-history .widget_text:not(.widget_custom_html) {
	float: right;
	width: 46.5%;
}

.home-history .widget_media_image {
	height: 80%;
	left: 0;
	position: absolute;
	top: 10%;
	width: 50%;
	z-index: 0;
}

.home-history .widget_media_image .widget-wrap {
	height: 100%;
	width: 100%;
}

.home-history .widget_media_image img {
	height: 100% !important;
	object-fit: cover;
	object-position: 100% 50%;
	width: 100%;
}

.home-history a.button {
	background-color: #719971;
}

.home-history a.button:hover {
	background-color: #ffb500;
}

/* Home Services
--------------------------------------------- */

.home-service {
	clear: both;
	font-size: 21px;
	line-height: 1.25;
	position: relative;
}

.home-service .widget {
	float: left;
	margin: 0;
	padding: 10vh 0;
	position: relative;
	width: 46.5%;
	z-index: 1;
}

.home-service.tutoring .widget {
	float: right;
}

.home-service .widget-title {
	font-size: 40px;
	font-weight: 500;
	margin-bottom: 5px;
}

.home-service h5 {
	color: #003a70;
	font-size: 28px;
	font-weight: 300;
	margin-bottom: 30px;
}

.home-service h6 {
	color: #003a70;
	font-size: 18px;
	font-style: italic;
	font-weight: 500;
	margin-bottom: 30px;
	text-transform: uppercase;
}

.home-service a.button {
	background-color: transparent;
	border: 1px solid #003a70;
	color: #003a70;
	padding: 8px 43px;
}

.home-service a.button:hover {
	background-color: #003a70;
	color: #fff;
}

.home-service .widget_media_image {
	height: 100%;
	left: 0;
	padding: 0;
	position: absolute;
	top: 0;
	width: 50%;
	z-index: 0;
}

.home-service.testprep .widget_media_image {
	left: auto;
	right: 0;
}

.home-service .widget_media_image .widget-wrap {
	height: 100%;
	width: 100%;
}

.home-service .widget_media_image img {
	height: 100% !important;
	object-fit: cover;
	object-position: 50% 50%;
	width: 100%;
}

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

.home-testimonials {
	background-color: #003a70;
	clear: both;
	color: #fff;
	font-size: 28px;
	font-weight: 300;
	line-height: 1.25;
	margin-top: 5vh;
	padding: 10vh 0;
	text-align: center;
}

.home-testimonials .slide-wrap {
	height: 100%;
}

.home-testimonials .testimonial {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.home-testimonials .testimonial .wrap {
	margin: 0 auto;
	max-width: calc(100% - 120px);
	width: 900px;
}

.home-testimonials .testimonial blockquote {
	letter-spacing: 0;
	margin: 0 0 40px;
}

.home-testimonials .testimonial blockquote strong {
	font-weight: 500;
}

.home-testimonials .testimonial .name {
	color: #ffb500;
	font-weight: 700;
	position: relative;
}

.home-testimonials .testimonial .name::before {
	background: url("../images/icon-star.png") no-repeat center;
	background-size: 36px 34px;
	content: '';
	display: inline-block;
	height: 34px;
	margin-right: 10px;
	position: relative;
	top: 4px;
	width: 36px;
}

/* Home Testimonials - Google
--------------------------------------------- */

.home-testimonials .widget {
    margin: 0;
}

.home-testimonials .wp-google-place,
.home-testimonials .wp-google-review .wp-google-left,
.home-testimonials .wp-google-review .wp-google-time,
.home-testimonials a.wp-google-url {
    display: none;
}

.home-testimonials .wp-google-reviews {
    align-items: center;
    display: flex;
}

.home-testimonials .wp-google-review .wp-google-right {
    display: grid;
    grid-template-areas: "feedback" "name";
    grid-template-columns: auto;
    grid-template-rows: auto;
    margin: 0 auto;
	max-width: calc(100% - 120px);
	width: 900px;
}

.home-testimonials .wp-google-review .wp-google-right .wp-google-name {
    color: #ffb500;
	font-weight: 700;
    grid-area: name;
    pointer-events: none;
	position: relative;
    text-decoration: none;
}

.home-testimonials .wp-google-review .wp-google-right .wp-google-feedback {
    display: grid;
    grid-area: feedback;
    grid-template-areas: "text" "stars";
    grid-template-columns: auto;
    grid-template-rows: auto;
}

.home-testimonials .wp-google-review .wp-google-right .wp-google-text {
    font-style: italic;
    grid-area: text;
    margin: 0 0 40px;
}

.home-testimonials .wp-google-review .wp-google-right .wp-google-stars {
    grid-area: stars;
}


/* Home Outcomes
--------------------------------------------- */

.home-outcomes {
	background-color: #eee;
	clear: both;
	font-size: 21px;
	line-height: 1.25;
	padding: 10vh 0;
	padding-bottom: calc(10vh - 60px);
	text-align: center;
}

.home-outcomes .widget:first-child {
	font-size: 24px;
	margin: 0 auto 60px;
}

.home-outcomes .widget-title {
	font-size: 42px;
	line-height: 1;
}

.home-outcomes ul {
	align-content: center;
	color: #003a70;
	display: flex;
	flex-wrap: wrap;
	font-size: 25px;
	font-weight: 500;
	justify-content: space-between;
	line-height: 1.1;
	margin: 60px 0 30px;
}

.home-outcomes ul >li {
	flex: 0 0 18%;
	margin: 0 0 40px;
}

.home-outcomes li strong {
	background-color: #719971;
	border-radius: 100%;
	color: #333;
	display: block;
	font-size: 48px;
	font-weight: 500;
	letter-spacing: -2px;
	line-height: 140px;
	margin: 0 auto 12px;
	position: relative;
	width: 140px;
	z-index: 1;
}

.home-outcomes li strong::before {
	background-color: #fff;
	border-radius: 100%;
	box-shadow: 3px 3px 2px rgba(0,0,0,0.25);
	content: '';
	display: block;
	height: 114px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 114px;
	z-index: -1;
}

.home-outcomes li strong::after {
	border-left: 18px solid transparent;
	border-right: 18px solid transparent;
	border-top: 24px solid #719971;
	content: '';
	display: block;
	height: 0;
	left: 50%;
	position: absolute;
	top: 100%;
	transform: translate(-50%,-3px);
	width: 0;
	z-index: -1;
}

.home-outcomes li em {
	color: #333;
	display: inline-block;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.1;
	margin-top: 15px;
}

/* Home News
--------------------------------------------- */

.home-news {
	clear: both;
	font-size: 19px;
	line-height: 1.25;
	padding: 10vh 0;
	padding-bottom: calc(10vh - 60px);
}

.home-news .widget {
	margin: 0;
}

.home-news .widget-wrap {
	align-content: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.home-news .widget-wrap .entry {
	border: none;
	flex: 0 0 33%;
	margin: 0 0 60px;
	padding: 0 23px;
	text-align: center;
}

.home-news .entry-title,
.home-news .entry-title a {
	color: #111;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.1;
	margin-bottom: 20px;
}

.home-news .entry-title a:focus,
.home-news .entry-title a:hover {
	color: #003a70;
}

.home-news a.more-link {
	background-color: transparent;
	border: 1px solid #003a70;
	color: #003a70;
	display: table;
	font-size: 16px;
	font-weight: 500;
	margin: 20px auto 0;
	max-width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	text-transform: uppercase;
	width: auto;
}

.home-news a.more-link:focus,
.home-news a.more-link:hover {
	background-color: #003a70;
	border: 1px solid #003a70;
	color: #fff;
}


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

@media only screen and (min-width: 601px) {
	
	.home-feature a.button {
		width: 100%;
	}
	
}

@media only screen and (min-width: 999px) {
	
	.home-feature a.button {
		width: 48%;
	}
	
	.home-history .widget-title span {
		display: block;
	}
	
}

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

	
	.site-inner .widget-area > .wrap {
		margin-left: 5%;
		margin-right: 5%;
	}
	
}

@media only screen and (max-width: 1024px) {
	
	.home-groupsmart .widget-title {
		font-size: 55px;
		margin-bottom: 10px;
	}
	
}

@media only screen and (max-width: 1023px) {
	
	.home-groupsmart {
		text-align: center;
	}
	
	.home-groupsmart .grid-wrap {
		display: block;
	}
	
	.home-groupsmart .widget_media_image {
		height: 25vh;
		min-height: 250px;
		margin-bottom: 50px;
	}
	
	.home-groupsmart .widget_media_image .widget-wrap img {
		width: 500px;
	}
	
}


@media only screen and (max-width: 1000px) {
	
	.home-feature .widget_media_image img {
		object-position: 62% 50%;
	}
	
	.home-about .gallery-item {
		flex: 0 0 47%;
	}
	
	.home-outcomes ul {
		justify-content: center;
	}
	
	.home-outcomes ul >li {
		flex-basis: 29%;
		margin: 0 2% 40px;
	}
	
}

@media only screen and (max-width: 768px) {
	
	.home-feature .widget_text {
		width: 60%;
	}
	
	.home-feature .widget_media_image::before {
		width: 100%;
	}

	.home-feature .widget_media_image img {
		object-position: 72% 50%;
	}
	
	.home-history {
		font-size: 21px;
	}
	
	.home-history .widget-title {
		font-size: 36px;
	}
	
}

@media only screen and (max-width: 767px) {
	
	.home-feature,
	.home-groupsmart .widget:first-child {
		font-size: 24px;
	}
	
	.home-feature .widget-title,
	.home-groupsmart .widget:first-child .widget-title {
		font-size: 48px;
	}
	
	.home-about .widget:first-child,
	.home-outcomes .widget:first-child {
		font-size: 21px;
	}
	
	.home-about .widget-title,
	.home-service .widget-title,
	.home-outcomes .widget-title {
		font-size: 36px;
	}
	
	.home-groupsmart {
		text-align: center;
	}
	
	.home-history .widget_text:not(.widget_custom_html),
	.home-history .widget_media_image {
		position: relative;
		text-align: center;
		width: 100%;
	}
	
	.home-history .widget_text:not(.widget_custom_html) {
		margin-bottom: 30px;
	}
	
	.home-service {
		text-align: center;
	}
	
	.home-service .widget_text {
		padding: 7.5vh 0 10vh;
	}
	
	.home-service .widget,
	.home-service .widget_media_image,
	.home-service.testprep .widget_media_image {
		float: none;
		position: relative;
		width: 100%;
	}
	
	.home-service .widget_media_image,
	.home-service.testprep .widget_media_image {
		float: none !important;
		left: -5vw;
		max-height: 75vh;
		width: 100vw;
	}
	
	.home-service .widget_media_image img {
		max-height: 75vh;
	}
	
	.home-news .widget-wrap .entry {
		flex-basis: 100%;
		max-width: 500px;
	}
	
}

@media only screen and (max-width: 600px) {
	
	.home-feature .widget_text {
		text-align: center;
		width: 100%;
	}
	
	.home-feature a.button {
		width: 48%;
	}
	
	.home-feature .widget_media_image::before {
		display: none;
	}
	
	.home-feature .widget_media_image::after {
		background-color: rgba(242,234,237,1);
		content: '';
		display: block;
		height: 100%;
		left: 0;
		opacity: .75;
		position: absolute;
		top: 0;
		width: 100%;
		z-index: 0;
	}
	
	.home-about .gallery-item {
		flex-basis: 100%;
		margin-bottom: 60px;
	}
	
	.home-testimonials {
		font-size: 24px;
	}
	
	.home-outcomes ul >li {
		flex-basis: 46%;
	}
	
}

@media only screen and (max-width: 500px) {
	
	.home-feature a.button {
		width: 100%;
	}
	
	.home-groupsmart .widget-title {
		font-size: 42px;
	}
	
	.home-groupsmart .widget:nth-child(2) {
		font-size: 26px;
	}

	.home-outcomes ul >li {
		flex-basis: 100%;
	}
	
}