/* Homepage specific styling goes here. Excluded on all subpages */
/* For most builds, this stylesheet should be wiped and started fresh */

/* PRELOADER */
.preloader-outer {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 9;
	width: 100%;
	height: 100vh;
	background: #fff;
	-webkit-transition: opacity 600ms ease-out;
	-moz-transition: opacity 600ms ease-out;
	-ms-transition: opacity 600ms ease-out;
	-o-transition: opacity 600ms ease-out;
	transition: opacity 600ms ease-out;
}

.preloader-outer.active {
	visibility: visible !important;
}

.preloader-outer.preloader-remove {
	opacity: 0;
	pointer-events: none;
}

.preloader-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.preloader-inner p {
	margin-bottom: 15px;
}

.preloader-inner p:last-of-type {
	margin: 0;
}

.preloader-part {
	display: none;
	margin: 20px;
}

.preloader-part-left.active {
	display: block;
	-webkit-animation: fadeInRight 800ms ease-out;
	animation: fadeInRight 800ms ease-out;
}

.preloader-part-right.active {
	display: block;
	-webkit-animation: fadeInLeft 500ms ease-out;
	animation: fadeInLeft 500ms ease-out;
}

/* HOME HERO AND/OR SLIDER */
.home-hero-height-sync {
	height: 400px;
}

.home-hero,
.home-hero-inner {
	position: relative;
}

.home-hero-image-container {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.home-hero-image-container img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	object-position: 50%;
}

.home-hero-form-container {
	display: none;
}

.home-hero-form-row {
	display: flex;
	justify-content: flex-end;
}

@media screen and (min-width: 640px) {

	.home-hero-height-sync,
	.home-hero {
		height: 600px;
	}
}

@media screen and (min-width: 1025px) {
	.home-hero-inner {
		display: block;
	}

	.home-hero-height-sync {
		height: 750px;
	}

	.home-hero-form-container {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		display: block !important;
	}

	.home-hero-form-container,
	.home-hero-form-inner,
	.home-hero-form-container .row,
	.home-hero-form-container .columns {
		height: 100%;
	}

	.home-hero-form-inner {
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.home-hero-form .contact-form-heading {
		font-size: 1.5rem;
		margin-bottom: 15px;
	}

	.home-hero-form form button {
		width: 100%;
	}

	.home-hero-form {
		margin-top: 80px;
		min-width: 375px;
		padding: 0;
		background: #E9F5F7;
	}
}

@media screen and (max-height: 700px) and (min-width: 1025px) {
	.home-hero-form {
		margin: 0;
		position: absolute;
		bottom: 0;
		right: 0;
		padding: 30px;
	}

	.home-hero-form .contact-form-heading {
		display: none;
	}
}
/**attorney**/
.attorney-single-box {
	padding: 0;
	background: #fff;
	display: flex;
	align-items: flex-end;
	position: relative;
	overflow: hidden;
	margin-bottom: 15px;
}

.attorney-results .attorney-single-box {
	width: 100%;
}

.attorney-single-box img {
	width: 100%;
	-webkit-transition: all 200ms ease-out;
	-moz-transition: all 200ms ease-out;
	-ms-transition: all 200ms ease-out;
	-o-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
}

.attorney-single-box:hover img,
.attorney-single-box:focus img {
	-webkit-transform: scale(1.03);
	-ms-transform: scale(1.03);
	transform: scale(1.03);
}

.attorney-single-box .attorney-single-box-info {
	padding: 12px;
	padding-top:5px;
	padding-bottom:5px;
	background-color: #447a7c;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	-webkit-transition: background 200ms ease-out;
	-o-transition: background 200ms ease-out;
	transition: background 200ms ease-out;
}

.attorney-single-box-info h2,
.attorney-single-box-info p {
	color: #fff;
	margin: 0;
}

.attorney-single-box:hover .attorney-single-box-info,
.attorney-single-box:focus .attorney-single-box-info {
	background: #313e49;
}

.attorney-single-box h2 {
	font-size: 1rem;
}

.attorney-single-box-info p {
	font-size: 0.9rem;
}

.attorney-single-row {
	display: flex;
	text-align: center;
	flex-direction: column;
	margin-bottom: 40px;
}

.attorney-row-link {
	justify-content: center;
	margin: 0 auto;
	max-width: 280px;
	-webkit-transition: opacity 200ms ease-out;
	-moz-transition: opacity 200ms ease-out;
	-ms-transition: opacity 200ms ease-out;
	-o-transition: opacity 200ms ease-out;
	transition: opacity 200ms ease-out;
}

.attorney-row-link:focus,
.attorney-row-link:hover {
	opacity: 0.9;
}

.attorney-row-info-main {
	padding-top: 20px;
	border-top: 2px solid #C0C3D3;
}

.attorney-row-additional span,
.attorney-row-info-main-contact span {
	display: block;
}

.attorney-single-row i {
	color: #14172F;
}

.attorney-row-additional {
	margin-top: 6px;
}

.attorney-row-info-main-position {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

@media screen and (min-width: 650px) {
	.attorney-results {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-row-gap: 20px;
		grid-column-gap: 20px;
	}
	.attorney-single-box {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 790px) {
	.attorney-results-rows {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-row-gap: 20px;
		grid-column-gap: 20px;
	}
	.attorney-single-row {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 900px) {
	.attorney-results {
		grid-template-columns: repeat(4, 1fr);
	}
	.attorney-results-rows {
		display: block;
	}
	.attorney-single-row {
		flex-direction: row;
		border-bottom: 2px solid #C0C3D3;
		text-align: left;
		margin-bottom: 30px;
	}
	.attorney-row-info-main-position,
	.attorney-single-row:last-of-type,
	.attorney-row-additional,
	.attorney-row-link {
		margin: 0;
	}
	.attorney-row-info {
		display: flex;
		flex: 1;
		padding: 0 0 40px 5vw;
	}
	.attorney-row-info-main {
		justify-content: flex-end;
		display: flex;
		flex-direction: column;
		padding: 0;
		border: none;
		flex: 1;
	}
	.attorney-row-info-main-contact {
		margin-top: 40px;
	}
	.attorney-row-additional {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		width: 50%;
	}
}
