/* Custom styles for Dynamic Speech and Language Therapy theme */
body {
	font-family: "Dosis", sans-serif;
	color: #6f7072;
	font-size: 22px;
	max-width: 1920px;
	margin: 0 auto;
	background-position: top center;
}

@media (max-width: 675px) {
	body {
		background-size: contain;
		background-position: 0px 110px;
		font-size: 18px;
	}
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lato", sans-serif;
}

.site-header {
	width: 100%;
	float: left;
	background-color: rgba(255, 255, 255, 0.65);
	height: 110px;
	/* position: absolute; */
	top: 0px;
	max-width: 1920px;
	z-index: 1000;
	position: fixed;
}

@media (max-width: 1020px) {
	.site-header {
		padding: 0 10px;
	}
}

@media (max-width: 1080px) {
	.wp-custom-logo .site-container .title-area {
		max-width: 150px;
		padding-top: 20px;
	}
}

.site-header.shrink {
	background-color: #fff;
	border-bottom: 1px solid #696a6c;
}

@media (max-width: 560px) {
	body .soliloquy-container {
		padding-top: 110px;
	}
}

.soliloquy-viewport {
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); 
	clip-path: polygon(0 0px, 100% 0, 100% 80%, 0px 100%);
}

.soliloquy-container .soliloquy-wrapper, .soliloquy-container .soliloquy-item {
	height: 950px;
}

@media (max-width: 1620px) {
	.soliloquy-container .soliloquy-wrapper, .soliloquy-container .soliloquy-item {
		height: 740px;
	}
}

@media (max-width: 1220px) {
	.soliloquy-container .soliloquy-wrapper, .soliloquy-container .soliloquy-item {
		height: 575px;
	}
}

@media (max-width: 1080px) {
	.soliloquy-container .soliloquy-wrapper, .soliloquy-container .soliloquy-item {
		height: 500px;
	}
}

@media (max-width: 765px) {
	.soliloquy-container .soliloquy-wrapper, .soliloquy-container .soliloquy-item {
		height: 400px;
	}
}

@media (max-width: 675px) {
	.soliloquy-container .soliloquy-wrapper, .soliloquy-container .soliloquy-item {
		height: 280px;
	}
}

@media (max-width: 560px) {
	.soliloquy-container .soliloquy-wrapper, .soliloquy-container .soliloquy-item {
		height: 200px;
	} 
}

.genesis-nav-menu {
	padding: 20px 0 0;
}

@media (max-width: 970px) {
	.genesis-nav-menu {
		background: rgba(255,255,255,1);
		margin-top: 2px;
		padding-bottom: 5px;
	}

	.shrink .genesis-nav-menu {
		background: rgba(255,255,255,1);
		margin-top: 2px;
	}
}

@media (max-width: 970px) {
	.genesis-nav-menu .sub-menu a {
		background-color: transparent;
	}
}

.genesis-nav-menu .menu-item {
	padding: 0 5px;
	vertical-align: middle;
}

@media (max-width: 1220px) {
	.genesis-nav-menu .menu-item {
		padding: 0 0px;
	}
}

.genesis-nav-menu a {
	color: #333;
	font-size: 18px;
	font-weight: normal;
	font-family: "Dosis", sans-serif;
	text-transform: uppercase;
	padding-bottom: 5px;
	padding-top: 5px;
}

@media (max-width: 1200px) {
	.nav-primary .genesis-nav-menu a {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 16px;
	}
}

.genesis-nav-menu .sub-menu {
	border-top: none;
}

/* Free consult button */
#menu-item-67 {
	border: 1px solid #afd6b3;
	width: 125px;
	text-align: center;
	padding: 0px;
	margin: 0px;
}

@media (max-width: 970px) {
	#menu-item-67 {
		border: 1px solid #afd6b3;
		width: 90%;
		text-align: center;
		padding: 0px;
		margin: 5px 5% 5px 5%;
	}
}

#menu-item-67:hover {
    background-color: #afd6b3;
    color: #464646;
    border: 1px solid #464646;
    transition: all 1s;
}

#menu-item-67 a {
	padding: 5px;
}

body .genesis-nav-menu .sub-menu a {
	border: 3px solid #eee;
}

@media (max-width: 675px) {
	body .genesis-nav-menu .sub-menu a {
		border: none;
	}
} 

/* Home Call to Action */
#home-cta {
	position: absolute;
	top: 360px;
	left: 590px;
	width: 460px;
	text-align: center;
}

@media (max-width: 1620px) {
	#home-cta {
		left: 340px;
	}
}

@media (max-width: 1360px) {
	#home-cta {
		left: 315px;
		top: 300px;
	}
}

@media (max-width: 1220px) {
	#home-cta {
		top: 230px;
	}
}

@media (max-width: 1080px) {
	#home-cta {
		left: 250px;
	}
}

@media (max-width: 1000px) {
	#home-cta {
		left: 200px;
	}
}

@media (max-width: 970px) {
	#home-cta {
		left: auto;
		right: 10%;
		top: 180px;
	}
}

@media (max-width: 675px) {
	#home-cta {
		left: auto;
		right: auto;
		top: auto;
		position: relative;
		margin: 35px auto 45px;
		width: 100%;
	}
}

#home-cta h1 {
	font-size: 42px;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
	font-family: "Lato", sans-serif;
	color: #464646;
}

@media (max-width: 1080px) {
	#home-cta h1 {
		font-size: 32px;
	}
}

#home-cta h2 {
	color: #464646;
	text-transform: uppercase;
	font-family: "Dosis", sans-serif;
	font-weight: medium;
}

@media (max-width: 1080px) {
	#home-cta h2 {
		font-size: 24px;
	}
}

#home-cta .button,
body .site-container .wp-block-button .wp-block-button__link {
	background: transparent;
	border: 1px solid #464646;
	border-radius: 0px;
	padding: 5px;
	text-decoration: none;
	font-family: "Lato", sans-serif;
	color: #464646;
	text-transform: uppercase;
	padding: 5px;
	margin: 0px;
}

#home-cta .button:hover,
body .site-container .wp-block-button .wp-block-button__link:hover {
    background-color: #afd6b3;
    color: #464646;
    border: 1px solid #464646;
    transition: all 1s;
}

.wp-block-button .wp-block-button__link:not(.has-background),
.wp-block-button .wp-block-button__link:not(.has-background):focus,
.wp-block-button .wp-block-button__link:not(.has-background):hover {
    color: #464646;
}


#home-cta .button a {
	text-decoration: none;
	font-family: "Lato", sans-serif;
	color: #464646;
	text-transform: uppercase;
	padding: 5px;
	margin: 0px;
}


#home-free-consult {
	position: absolute;
	top: 400px;
	width: 420px;
	right: 210px;
	text-align: center;
}

@media (max-width: 1620px) {
	#home-free-consult {
		right: 60px;
		top: 250px;
	}
}

@media (max-width: 1220px) {
	#home-free-consult {
		right: 20px;
		width: 325px;
	}
}

@media (max-width: 970px) {
	#home-free-consult {
		position: relative;
		width: 100%;
		top: auto;
		right: auto;
	}
}

#home-free-consult-inner {
	background: #afd6ce;
	padding: 90px 20px 40px 20px;
	text-align: center;
	position: relative;
	top: -80px;
	z-index: 1;
	-webkit-clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
	clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
}

#home-free-consult img {
	border: 5px solid #afd6ce;
	border-radius: 50%;
	position: relative;
	z-index: 2;
}

@media (max-width: 1220px) {
	#home-free-consult img {
		max-width: 250px;
	}
}

#home-free-consult h2 {
	text-transform: uppercase;
	font-size: 22px;
	font-family: "Dosis", sans-serif;
	font-weight: bold;
	color: #464646;
}

#home-free-consult h3 {
	text-transform: uppercase;
	font-size: 15px;
	color: #464646;
}

.gform_heading {
	font-size: 18px;
	font-family: "Dosis", sans-serif;
	color: #464646;
}

fieldset {
	padding: .35em .75em .625em;
	border: none;
}

#field_1_4 {
	padding-top: 10px;
}

.gfield_required {
	display: none;
}

.gfield_label {
	padding: 0 10px;
	display: inline-block;
	vertical-align: bottom;
	line-height: 18px;
}

.ginput_container {
	display: inline-block;
	width: 50%;
	background: transparent;
	border-bottom: 1px solid #464646;
	/* float: left; */
	padding: 0px;
	margin: 10px 0 0 0;
	line-height: ;
}

.ginput_container.ginput_container_checkbox {
	border-bottom: none;
	margin: 0;
	width: auto;
}

.gfield--type-choice {
	padding: 10px 0px 0 0;
}

input, select, textarea {
	background-color: transparent;
	border: none;
	color: #333;
	font-size: 18px;
	font-weight: 400;
	padding: 0 3px;
	width: 100%;
	line-height: 18px;
	margin: 0px;
}

#field_1_4 .gfield_label {
	width: 100%;
	padding-top: 20px;
	/* margin-bottom: 20px; */
}

#field_1_4 .ginput_container {
	border-bottom: none;
	width: 75%;
}

#field_1_4 .ginput_container.ginput_container_textarea textarea {
	width: 100%;
	height: 80px;
	border: 1px solid #464646;
	margin-bottom: 20px;
	padding: 5px;
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.site-container div.wpforms-container-full .wpforms-form input[type="submit"],
.site-container div.wpforms-container-full .wpforms-form button[type="submit"],
.button {
    background-color: transparent;
    border: 1px solid #464646;
    border-radius: 0px;
    color: #464646;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    width: auto;
    text-transform: uppercase;
    font-family: "Lato", sans-serif;
}

.button:hover,
button:focus,
button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
.site-container div.wpforms-container-full .wpforms-form input[type="submit"]:focus,
.site-container div.wpforms-container-full .wpforms-form input[type="submit"]:hover,
.site-container div.wpforms-container-full .wpforms-form button[type="submit"]:focus,
.site-container div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
.button:focus,
.button:hover {
    background-color: #afd6b3;
    color: #464646;
    border: 1px solid #464646;
    transition: all 1s;
}

.validation_message {
	color: #512020;
	font-size: 12px;
}

.gform_submission_error.hide_summary {
	font-size: 17px !important;
	color: #512020 !important;
}

/* Home page */
.site-inner {
	max-width: 1920px;
}

.content {
	width: 100%;
}

.home .entry-content {
	padding-top: 30px;
}

.home.page .entry {
	margin-top: 0;
}

.home.page .entry-content {
	padding: 0px 30px 30px 30px;
}

.home-heading {
	max-width: 1020px;
	font-family: "Dosis", sans-serif;
	color: #68a8a2;
	font-size: 26px;
	padding-left: 60px;
	line-height: 38px;
}

@media (max-width: 1560px) {
	.home-heading {
		max-width: 800px;
		padding-left: 10px;
	}
}

@media (max-width: 1360px) {
	.home-heading {
		max-width: 620px;
	}
}

@media (max-width: 1080px) {
	.home-heading {
		max-width: 590px;
	}
}

@media (max-width: 970px) {
	.home-heading {
		max-width: 100%;
	}
}

.home-services-header {
	font-family: "Lato", sans-serif;
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 0px;
}

.home-services-subheader {
	color: #68a8a2;
	font-size: 18px;
	max-width: 550px;
	text-align: center;
	margin: 0 auto;
	line-height: 28px;
	padding-top: 10px;
	text-transform: uppercase;
	font-family: "Lato", sans-serif;
	font-weight: bold;
}

/* Services fliper/cards */
.services-heading {
	padding: 40px 0 10px;
	font-size: 48px;
	font-weight: bold;
}

#home-services {
	text-align: center;
	max-width: 1360px;
	margin: 50px auto;
}

@media (max-width: 675px) {
	#home-services {
		text-align: center;
		max-width: 100%;
		margin: 0px auto;
		padding-top: 30px;
	}
}

.services-wrap {
		margin: 0 40px;
}

@media (max-width: 550px) {
	.services-wrap {
		margin: 0px;
	}
}

.services-wrap, .services-front, .services-back {
	width: 365px;
	height: 670px;
	text-align: center;
	display: inline-block;
}

.services-icon {
	z-index: 5;
	position: relative;
}

.services-icon a img {
	border: 4px solid #f5dba3;
	border-radius: 50%;
}

#home-services h2 {
	font-size: 24px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: "Dosis", sans-serif;
	padding-top: 10px;
}

#home-services p {
	line-height: 28px;
}

#services-front-inner a, #services-back-inner a {
	text-decoration: none;
	font-weight: bold;
}

#home-services span.dashicons {
	vertical-align: middle;
	display: inline-block;
}

#home-services p a i {
	padding: 0 5px;
	display: inline-block;
	/* margin: 0 5px; */
}

#services-front-inner {
	background: #afd6ce;
	padding: 70px 15px 20px 15px;
	font-size: 16px;
	position: relative;
	top: -65px;
	z-index: 3;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
	clip-path: polygon(0 0px, 100% 0, 100% 95%, 0px 100%);
}

/* entire container, keeps perspective */
.services-wrap {
	perspective: 1000px;
}
	/* flip the pane when hovered */
	.services-wrap:hover .flipper, .services-wrap.hover .flipper {
		transform: rotateY(180deg);
	}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	-webkit-transition: 0.6s;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	position: relative;
}

/* hide back of pane during swap */

.services-front,
.services-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
}

/* front pane, placed above back */
.services-front {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
	-webkit-transform: rotateY(0deg);
}

/* back, initially hidden pane */
.services-back {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
}

#services-back-inner {
	background: #afd6ce;
	padding: 70px 15px 20px 15px;
	font-size: 16px;
	position: relative;
	top: -65px;
	z-index: 3;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%); 
	clip-path: polygon(0 0px, 100% 0, 100% 100%, 0px 95%);
}

.services-back-heading h2 {
	font-size: 24px;
	color: #464646;
	font-family: "Lato", sans-serif;
}

#home-services ul {
	padding: 0px 0px 0 30px;
	list-style-position: inside;
	line-height: 28px;
	margin-bottom: 10px;
}

#home-services ul li {
	list-style: none;
	position: relative;
	padding: 0 10px 10px 10px;
	text-align: left;
	list-style-position: outside;
	line-height: 22px;
}

#home-services ul li::before {
	position: absolute;
	top: 1px;
	left: -20px;
	content: "\f14a";
	font-family: "FontAwesome", sans-serif;
	font-size: 22px;
	font-weight: normal;
	vertical-align: bottom;
	display: inline-block;
	color: #464646;
}

/* Home page testimonials */
.wptww-testimonials-list h4, .wptww-testimonials-slidelist h4, .wptww-testimonials-slide-widget h4 {
	display: none;
}

.wptww-testimonials-slidelist.design-1 .fa-quote-left, .wptww-testimonials-list.design-1 .fa-quote-left, .wptww-testimonials-slide-widget.design-1 .fa-quote-left {
	display: none;
}

.testimonial-slider {
	background: #f3d9a1;
	-webkit-clip-path: polygon(0 25%, 100% 0, 100% 75%, 0 100%);
	clip-path: polygon(0px 25%, 100% 0, 100% 75%, 0px 100%);
	padding: 100px 0;
}

@media (max-width: 1220px) {
	.testimonial-slider .wp-block-spacer {
		display: none;
	}
}

@media (max-width: 1080px) {
	.testimonial-slider {
		-webkit-clip-path: polygon(0 15%, 100% 0, 100% 90%, 0 100%);
		clip-path: polygon(0px 15%, 100% 0, 100% 90%, 0px 100%);
	}
}

@media (max-width: 765px) {
	.testimonial-slider {
		-webkit-clip-path: polygon(0 15%, 100% 0, 100% 90%, 0 100%);
		clip-path: polygon(0px 10%, 100% 0, 100% 95%, 0px 100%);
	}
}


.testimonial-slider h2 {
	text-transform: uppercase;
	font-size: 28px;
	font-weight: 600;
}

.wptww-testimonials-list .wptww-testimonials-text p, .wptww-testimonials-slidelist .wptww-testimonials-text p, .wptww-testimonials-slide-widget .wptww-testimonials-text p {
	font-size: 22px;
}

@media (max-width: 970px) {
	.wptww-testimonials-list .wptww-testimonials-text p, .wptww-testimonials-slidelist .wptww-testimonials-text p, .wptww-testimonials-slide-widget .wptww-testimonials-text p {
		font-size: 18px;
	}
}

.wptww-testimonials-slidelist.slick-slider {
	padding: 0 15px;
	max-width: 70%;
	margin: 25px auto 0;
}

@media (max-width: 675px) {
	.wptww-testimonials-slidelist.slick-slider {
		padding: 0 15px;
		max-width: 90%;
		margin: 25px auto 0;
	}
}

.wptww-testimonials-slidelist .slick-slide {
	padding: 0 50px;
}

@media (max-width: 1220px) {
	.wptww-testimonials-slidelist .slick-slide {
		padding: 0 20px 0px 20px;
		margin-bottom: 15px;
	}
}

@media (max-width: 675px) {
	.wptww-testimonial-client {
		font-size: 1rem;
		padding-bottom: 10px;
	}
}

.wp-block-group__inner-container {
	padding-top: 30px;
}

.slick-list.draggable {
	font-family: "Dosis", sans-serif;
}

.testimonial-slider .wptww-testimonials-text p span {
	font-family: "Dosis", sans-serif;
}

.testimonial-slider a {
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
}

.testimonial-slider a::after {
	content: "\f0a9";
	padding: 0 5px;
	font-family: "Font Awesome 6 Free", sans-serif;
}

/* Pages */

body.page {
	background-repeat: no-repeat;
}

.page .entry {
	background-color: transparent;
	margin-bottom: 40px;
	padding: 0px 0px 40px;
	position: relative;
	margin-top: 230px;
}

@media (max-width: 675px) {
	.page .entry {
		margin-top: 170px;
	}	
}

.page .site-inner {
	padding: 60px 0px;
}

.entry-header {
	background: rgba(255,255,255,0.75);
	padding: 5px 0px 5px 50px;
}

@media (max-width: 675px) {
	.entry-header {
		padding: 5px 0px 5px 30px;
	}
}

.entry-title {
	font-size: 30px;
	margin-bottom: 0px;
	color: #727375;
	font-family: "Lato", sans-serif;
	text-transform: capitalize;
	font-weight: bold;
}

@media (max-width: 675px) {
	.entry-title {
		font-size: 24px;
	}	
}

.page .entry-content {
	padding: 50px 30px 30px 30px;
}

/* About me customizations */
.bio-pic img {
	border-radius: 50% !important;
	border: 5px solid #afd6ce;
	margin-top: -20px;
	margin-bottom: 30px;
}


/* Table */
thead {
	background: #90ae96;
	color: #fff;
}

td, th {
	word-break: break-word;
	padding: 0.25em;
}

/* Contact Page */

.contact-form {
	background: #afd6ce;
	padding: 90px 20px 40px 20px;
	text-align: center;
	position: relative;
	z-index: 1;
	-webkit-clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
	clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
}

#field_9004111222007378_8 .gfield_label {
	width: 100%;
	padding-top: 20px;
	/* margin-bottom: 20px; */
}

#field_9004111222007378_8 .ginput_container {
	border-bottom: none;
	width: 75%;
}

#field_9004111222007378_8 .ginput_container.ginput_container_textarea textarea {
	width: 100%;
	height: 80px;
	border: 1px solid #464646;
	margin-bottom: 20px;
	padding: 5px;
}

/* Free consultation */

.free-speech-therapy-consultation-box {

}

.uagb-block-87a62133 > .uagb-section__overlay {
	clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
}

.free-speech-therapy-consultation-box img {
	border: 5px solid #afd6ce;
	border-radius: 50% !important;
}

.free-speech-therapy-consultation-box .wp-block-image, .free-speech-therapy-consultation-box .alignleft {
	margin: 0;
}

.free-speech-therapy-consultation-box .wp-block-image {
	display: inline-block;
	width: 25%;
	position: relative;
	left: -50px;
	top: 0;
	vertical-align: top;
}

.free-speech-therapy-consultation-box .uagb-section__wrap {
	display: inline-block;
	width: 74%;
}

#gform_9004111222008544 .gfield {
	margin: 24px 0 0 0;
}

#gform_3 .gfield, #gform_3 .textarea {
	padding: 10px 0 10px 0;
}

.uagb-block-c7c4de5f form label.gfield_label {
	color: #333;
	display: block;
	text-align: center;
}

.uagb-block-c7c4de5f .ginput_container {
	width: 100%;
}

#gform_submit_button_9004111222008544 {
	width: 100%;
	margin-top: 20px;
}

/* Footer */
.footer-widgets .wrap {
	max-width: 1920px;
}

.footer-widgets {
	border-top: none;
}

.footer-widget-area {
	margin-bottom: 40px;
	padding-left: 100px;
	padding-right: 100px;
}

@media (max-width: 1220px) {
	.footer-widget-area {
		padding-left: 25px;
		padding-right: 25px;
	}
}

.textwidget.custom-html-widget {
	max-width: 350px;
	margin: 0 auto;
	text-align: center;
}

.widget_custom_html img {
	max-width: 250px;
}

#custom_html-2 p {
	padding: 30px 70px;
	font-size: 14px;
}

#custom_html-3 p a {
	font-size: 22px;
	text-decoration: none;
	color: #6f7072;
}

@media (max-width: 1020px) {
	#custom_html-3 p a {
		font-size: 18px;
	}

	#custom_html-3 p {
		font-size: 18px;
	}
}



#footer-social {
	font-size: 28px;
}

#custom_html-4 img.profile-pic {
	border-radius: 50%;
	border: 5px solid #afd6ce;
	margin-top: -20px;
	margin-bottom: 30px;
}

.site-footer {
	background-color: #fff;
	border-top: none;
	font-size: 12px;
	line-height: 1.5;
	padding: 30px;
	text-align: center;
}