/*!
Theme Name: Wooster Dental
Author: Sandra Mars
Author URI: http://sandramars.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: woosterdent
*/
/*--------------------------------------------------------------*/
/* @group NORMALIZD, RESET, ETC.  */
/*--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, nav, section {
    display: block
}

html {
	-webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
	}

a {
	background-color: transparent;
}

b, strong {
	font-weight: 600;
}
code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}
small {
	font-size: 80%;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,input,optgroup,select,textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}
button,
input { 
	overflow: visible;
}

button,
select { 
	text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box; 
	color: inherit; 
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}
progress {
	vertical-align: baseline;
}
textarea {
	overflow: auto;
}

details {
	display: block;
}
summary {
	display: list-item;
}
template {
	display: none;
}
[hidden] {
	display: none;
}

a img {
    border: 0
}
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

img {
	height: auto;
	max-width: 100%;
	}

/* @end */
	 
/*--------------------------------------------------------------*/
/* @group TYPOGRAPHY  */
/*--------------------------------------------------------------*/
body, button, input, select, optgroup, textarea {
	color: #6c6c6c;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	font-style: normal;
	
}
body {
	background: #9362a7;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: 600;

}
h1 {
    font-size: 24px;
}

h2 {
    font-size: 22px;
    line-height: 28px;
	margin: 0 0 16px;
	color: #4a4a4a;  
}

h3 {
    font-size: 18px;
	line-height: 24px;
    margin: 0 0 10px;
    color: #4a4a4a;
}

p {
	margin-bottom: 24px;
}

ul, ol {
	 margin: 0 0 28px 40px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

dfn, em, i {
	font-style: italic;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group LINKS */
/*--------------------------------------------------------------*/
a {
	color: #2a88c2 ;
	text-decoration: none;
}

a:visited {
	color: #2a88c2 ;
}

a:hover, a:focus, a:active {
	color: #4a4a4a;
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

.site-footer a, .site-footer a:visited {
	color: #fff;
	text-decoration: underline;
}
.site-footer a:hover {
	text-decoration: none;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group MENUS and NAVIGATION  */
/*--------------------------------------------------------------*/

.main-navigation {
	display: inline-block;
	float: right;
	clear: right;
	padding-top: 18px;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	text-transform: uppercase;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 100%;
} 

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	 display: inline-block;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #4a4a4a;
	padding: 14px 10px;
}
.main-navigation a:hover {
    color: #2a88c2;
}
ul.sub-menu {
    background: #9362a7;
}

ul.sub-menu li {
    border-bottom: 1px solid #b898c6;
    padding: 0;
}
ul.sub-menu a {
    color: #e5daea;
    text-transform: capitalize;
    padding: 14px 0 14px 20px;
}
ul.sub-menu a:hover {
    color: #fff;
}

.current-menu-item>a,
.current_page_item>a,
.current-menu-parent>a,
body.single-post .current-menu-parent>a  {
	color: #2a88c2;
}
body.single-post #menu-item-26>a,
body.archive #menu-item-26>a,
body.search #menu-item-26>a {
	color: #2a88c2;
}

/* Small menu. */
.menu-toggle {
    width: 100%;
}

.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group BASIC STRUCTURE  */
/*--------------------------------------------------------------*/
#content {
	background: #fff;
	float: left;
	position: relative;
	width: 100%;
	padding-bottom: 40px;
}

.col-full {
	margin: 0 auto;
	padding: 0 20px;
	max-width: 1000px;
	overflow: auto;
}
.col1, .col2, .col3 {
	float: left;
}

#masthead {
	background: #fff; 
	position: relative;
	width: 100%;
}
body.home #masthead {
	background: rgba(255, 255, 255, 0.8); 
	position: absolute;
	top: 0;
	z-index: 100000000000;
	width: 100%;
}

#masthead .col-full {
	padding: 10px 20px;
	overflow: visible;
}

.site-branding {
	float: left;
	padding: 0;
}
.site-branding img {
	width: 148px;
}

#phone-number {
	background: #9362a7;
	color: #fff!important;
	float: right;
	padding: 5px 10px;
	letter-spacing: 1px;
	clear: right;
	margin: 0;	
}
/*for iOS adds link color to phone numbers*/
#phone-number a, #phone-number a:link, #phone-number a:visited, #phone-number a:hover, #phone-number a:active, #phone-number a:focus {
  text-decoration: none;
  color: #fff;
}

#content .col-full {
	padding-top: 20px;
	padding-bottom: 20px;
	max-width: 1000px;
}

body.home #content {
	padding-bottom: 0;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group HERO IMAGES  */
/*--------------------------------------------------------------*/
#home-intro {
	position: relative;
	overflow: hidden;
	max-height: 580px;
	z-index: 1;
	top: 0;
}
#page-intro {
	position: relative;
	overflow: hidden;
	max-height: 480px;
	z-index: 1;
}	
#page-intro img, #home-intro img{
	display: block;/*removes stupid space under photo*/
}
.page-intro-overlay {
	background: rgba(0, 0, 0, 0.3);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    padding: 0;
}
.intro-text{
	color: #fff;
	margin: 0 auto;
	text-align: center;
	position: absolute;
	left: 0;
	bottom: 60px;
	right: 0;
	width: 100%;
}
#home-intro .intro-text h1 {
	font-size: 56px;
	line-height: 56px;
	margin-bottom: 10px;

}
#home-intro .intro-text p {
	font-size: 28px;
	margin: 0 auto;
	line-height: normal;	
	font-weight: 500;
	max-width: 560px;
}
#page-intro .intro-text {
	text-align: left;
	max-width: 1000px;
	padding: 0 20px;
}
#page-intro .intro-text h1 {
	font-size: 36px;
	font-weight: 400;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group homepage BIG REVIEWS and REVIEWS page  */
/*--------------------------------------------------------------*/

/*using blockquotes as a "call out" on a page, for the big reviews and for the reviews page*/
blockquote {
	background: #e1f0f9;
	padding: 40px 40px 18px 40px;
	margin: 40px;
	font-family: 'PT Sans', sans-serif;
	font-style: italic;
}

.review-big {
	background: #e8e8e8 url('https://www.woosterdental.com/wp-content/uploads/2018/05/bkgd-review-a.jpg') no-repeat center center;
	  -moz-background-size: cover;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    padding: 60px 0 40px 0;clear: both;
}
.review-big {
	text-align: center;
	color: #fff;	
}
.review-big h2{
	color: #fff;
	font-weight: 400;
	padding-bottom: 22px;
}

.review-big blockquote {
	font-size: 22px;
	background: transparent;
	color: #fff;
	padding: 0;
	margin: 0;
}
.review-big footer {
	margin-bottom: 40px;
}
.review-big footer p{
	font: normal 16px/1.5 'Montserrat', sans-serif;
}

.review-big a {
	color: #fff;
	text-decoration: underline;
	font: normal 16px/1.5 'Montserrat', sans-serif;
}

body.page-reviews blockquote {
	font-size: 20px;
	margin-left:60px;
	margin-right:60px;
}
	
body.page-reviews blockquote footer {
	text-align: right;
}
body.page-reviews blockquote footer p {
	color: #858585;
	font: normal 16px/1.5 'Montserrat', sans-serif;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group homepage BENEFITS section  */
/*--------------------------------------------------------------*/
#benfits .col1 img, #services .col1 img, #age-groups .col1 img {
	display: block;
}/*get rid of space below images*/

#benefits {
	background: #2d92d0;
	color: #fff;
	text-align: center;
}
#benefits .col-full {
	padding: 20px 0;
}

#benefits .brand {
	width: 160px;
	margin: 0 auto 40px auto;
}
#benefits .col1 {
	width: 25%;
	padding: 0 1em;	
}
#benefits .col1 p {
	margin-top: 20px;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group homepage AGE GROUPS section  */
/*--------------------------------------------------------------*/
#age-groups .col-full {
	padding: 0;
	max-width: 100%;
	overflow: auto;
}

#age-groups .col1 {
	position: relative;
	width: 33.333333%;
    border-right: 1px solid #fff;
}

/*#age-groups .col1:last-child {
	border-right: 0;
}*/

#age-groups .col1 h2 {
	position: absolute;
	margin-bottom: 0;
    bottom: 0;
    width: 100%;
    color: #fff;
    font-weight: 400;
    text-align: right;
    padding: 10px;
    background-color: rgba(40, 57, 72, 0.8);
    background-image: url('https://www.woosterdental.com/wp-content/uploads/2018/05/logo-white-2x-1.png');
    background-size: 56px; 
    background-position: center center;
    background-repeat: no-repeat;
    background-position: left 10px top 50%;   
}
/* @end */

/*--------------------------------------------------------------*/
/* @group SERVICES section homepage, Services landing, Patient Resources landing  */
/*--------------------------------------------------------------*/
#services .col-full, #resources .col-full {
	padding-top: 0;
	margin: 20px auto 0 auto;
	max-width: 100%;
}
#services .col1, #resources .col1 {
	width: 25%;
	padding: 0 .313em;
	text-align: center;
}
#services .col1 img, #resources .col1 img {
	margin-bottom: 10px;	
}
#services .col1 h2, #resources .col1 h2 {
	background-color: #9362a7;
	color: #fff;
	font-weight: 400;
	padding: 20px 4px;
	margin-bottom: 0;	
}
#services .col1 a:hover, #resources .col1 a:hover {
	text-decoration: none;
}
body.page-our-services #services h2, body.page-patient-resources #resources h2{
	font-size: 18px;
	padding: 20px 5px;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group PAGES  */
/*--------------------------------------------------------------*/
#primary ul li {
	margin: 0 0 14px 0;
}

/*These are colums using Column Shortcodes plugin for side by side photos and video*/
.one_half {
    width: 47.91666% !important;
    margin-right: 4.1666% !important;
}
.one_half.last_column {
    width: 47.91666% !important;
    margin-right: 0px !important;
}

/* gray box with image background in content on Kids, Adults & Seniors pages; gray box with no image on 4 services pages*/
.boxed {
	padding: 40px 20px 20px;
	background: #e8e8e8;
}

.boxed ul {
	list-style: none;
	margin-left: 20px;	
}
body.page-the-one-for-kids .boxed {
	background: #e8e8e8 url('https://www.woosterdental.com/wp-content/uploads/2018/06/bkgd-kid.png') no-repeat 98% bottom;
	background-size: 350px;
}

body.page-the-one-for-adults .boxed {
	background: #e8e8e8 url('https://www.woosterdental.com/wp-content/uploads/2018/06/bkgd-adult.png') no-repeat 98% bottom;
}
body.page-the-one-for-seniors .boxed {
	background: #e8e8e8 url('https://www.woosterdental.com/wp-content/uploads/2018/06/bkgd-seniors.png') no-repeat 98% bottom;

}
/* @end */

/*--------------------------------------------------------------*/
/* @group OUR TEAM page */
/*--------------------------------------------------------------*/
body.page-our-team figure {
	width: 33.333%!important;	
	padding:  0 10px;
	margin: 10px 0;
	float: left;
}

body.page-our-team .wp-caption-text {
	background: #9362a7;
	color: #fff;
	margin: 0 0;
	padding: 10px 0;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group BLOG pages */
/*--------------------------------------------------------------*/
body.blog #primary, body.single-post #primary, body.archive #primary, body.search #primary {
	float: left;
	width: 68%;
	margin: 0 4% 0 0;
}
body.blog #content .col-full, body.single-post #content .col-full, body.archive #content .col-full, body.search #content .col-full {
 	max-width: 1100px;
 	padding-top: 40px;
}

body.blog #secondary, body.single-post #secondary, body.archive #secondary, body.search #secondary {
	float: left;
	width: 28%;
	margin: 0;
}

#content h1.entry-title, #content h2.entry-title  {
	margin-bottom: 12px;
}

.posted-on {
    font-size: 13px;
 }
.posted-on a {
	color: #666;
	text-decoration: none;
}
body.search .page-title, body.archive .page-title {
	font-size: 14px;
	text-transform: uppercase;
	color: #858585;
	margin: 0 0 28px 0;
}
footer.entry-footer {
    margin: 0 0 40px 0;
    padding-bottom: 5px;
    font-size: 13px;
    border-bottom: 1px solid #e8e8e8;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group WIDGETS */
/*--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

#content h2.widget-title {
	color: #858585;
	font-size: 14px;
	text-transform: uppercase;
}
#content .widget ul {
	list-style: none;
	margin: 0;	
}

#content .widget ul li {
	padding: 0 0 10px 0;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #e8e8e8;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group FOOTER*/
/*--------------------------------------------------------------*/
.site-footer {
	color: #fff;	
}
.site-footer ul {
	list-style: none;
	margin: 0;
}

.site-footer .col-full {
	padding: 40px 20px;
}  
.site-footer .col1 {
	float: left;	
	width: 29%;
	margin: 0 14% 0 0;
}

.site-footer .col2{
	float: left;
	width: 27%;
}
.site-footer .col2 li {
	padding: 0 0 14px 0;
}
.site-footer .col3 {
	float: left;
	text-align: right;
	width: 30%;
	}
#social-menu {
	margin: 0;
    overflow: auto;
    float: right;
    list-style: none;
}
#social-menu li {
	 float: left;
	/*display: inline-block;*/
	 padding: 0 0 0 10px;
	 background: none;
}
#social-menu a {
	display:block;
    width: 40px;
    height: 40px;
    /*text-indent: -9999px; use the below 3 styles from Zeldman*/
    text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
    background: url('https://www.woosterdental.com/wp-content/uploads/2018/05/icons-social-media-x2-1.png') no-repeat;
    background-size: 80px 80px;
}
#social-menu li.facebook a {
    background-position: 0 0;
}
#social-menu li.linkedin a {
    background-position: -40px 0;
}
#social-menu li.facebook a:hover {
    background-position: 0 -40px;
}
#social-menu li.linkedin a:hover {
    background-position: -40px -40px;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group ALIGNMENT and CLEARING */
/*--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	margin-bottom: 20px;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
	margin-bottom: 20px;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after{
	clear: both;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group Content, Posts, pages, comments, captions */
/*--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 40px 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
	vertical-align: top;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}
/* @end */

/*--------------------------------------------------------------*/
/* @group FORM stuff */
/*--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
div.wpforms-container-full .wpforms-form input[type=submit],
div.wpforms-container-full .wpforms-form button[type=submit],
div.wpforms-container-full .wpforms-form .wpforms-page-button{
	border: 0;
	/*border-color: #ccc #ccc #bbb;*/
	/*border-radius: 3px;*/
	background: #9362a7;
	color: #fff;
	text-transform: uppercase;
/*	font-size: 12px;
	font-size: 0.75rem;*/
	line-height: 1;
	padding: 8px 10px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
div.wpforms-container-full .wpforms-form input[type=submit]:hover,
div.wpforms-container-full .wpforms-form input[type=submit]:active,
div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wpforms-container-full .wpforms-form button[type=submit]:active,
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover,
div.wpforms-container-full .wpforms-form .wpforms-page-button:active{
	border: 0;
	background: #815394;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border: 0;
	background: #815394;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	background: #fff;
	/*border-radius: 3px;*/
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}
.nf-form-cont {
	margin-bottom: 40px;
}
/* @end */

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,iframe,object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

.content-column .one_half iframe {
	width: 460px;
	height: 259px;
}

/*--------------------------------------------------------------
# /* @group MEDIA QUERIES
--------------------------------------------------------------*/
@media all and (min-width: 56.250em) /*greater than 900px*/ {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
	.main-navigation ul ul a {
		width: 200px;
	}

}
@media all and (max-width: 56.250em)/*less than 900px*/  {
#masthead .col-full {
	padding: 10px 0 0 0;
}
.site-branding {
	float: none;
	display: block;
	padding: 0;
	margin: 0 auto;
	text-align: center;
}

#phone-number {
	float: none;
	margin: 0 auto;	
	text-align: center;
	background: transparent;
	color: #9362a7!important;
}
#phone-number a, #phone-number a:link, #phone-number a:visited, #phone-number a:hover, #phone-number a:active, #phone-number a:focus {
  text-decoration: none;
  color: #9362a7;
}

.main-navigation {
    display: block;
    float: none;
    padding: 0;
    background: #815394;
}
.main-navigation li {
    display: block;
    border-bottom: 0;    
}
.main-navigation a {
	color: #e5daea;
	border-bottom: 1px solid #b898c6; 
}
.main-navigation a:hover {
    color: #fff;
    text-decoration: underline;
}
.main-navigation ul ul {
    box-shadow: none;
    float: none;
    position: relative;
    top: 0;
    left: 0;
    z-index: 99999;
}
.main-navigation ul ul a {
		width: 100%;
}

button.menu-toggle {
	padding: 14px;
	color: #4a4a4a;
	background: #fff;
}
button.menu-toggle:hover {
	color: #2a88c2;
}
ul.sub-menu li {
    border-bottom:0;
}
#age-groups .col1 h2 {
	background-image: none;
	text-align: center;
}
}

@media all and (max-width: 47.5em)/*less than 760px*/  {
#age-groups .col1 h2, #services .col1 h2 {
	font-size: 16px;
	line-height: normal;
	}
body.page-our-team figure {
	width: 50%!important;
}
#home-intro .intro-text h1 {
	font-size: 36px;
	line-height: 36px;

}
#home-intro .intro-text p {
	font-size: 18px;
	max-width: ;
}
.intro-text{
	bottom: 20px;
}

#page-intro .intro-text h1 {
	font-size: 24px;
}
}

@media all and (max-width: 37.50em)/*less than 600px*/  {
#benefits .col1, #services .col1 {
	width: 50%;
}
.site-footer .col1, .site-footer .col2, .site-footer .col3 {
	float: none;
	width: 100%;
	text-align: center;
}
#social-menu {
	float: none;
	display:inline-block;
}

.one_half {
    width: 100% !important;
    margin-right: 0 !important;
}
.one_half.last_column {
    width: 100% !important;
}
.boxed ul {
	margin-bottom: 0;
}
body.page-the-one-for-kids .boxed {
	background-image: none;
}

body.page-the-one-for-adults .boxed {
	background-image: none;
}
body.page-the-one-for-seniors .boxed {
	background-image: none;
}
body.page-reviews blockquote {
	margin-left: 0;
	margin-right: 0;
}
}

@media all and (max-width: 26.250em)/*less than 420px*/{

#home-intro img {
	height: 320px;	
}
#home-intro .intro-text h1 {
	font-size: 30px;
	line-height: 30px;

}
#home-intro .intro-text p {
	font-size: 18px;
	max-width: ;
}

#benefits .col1, #services .col1 {
	width: 100%;
}
#age-groups .col1 {
	width: 100%;
	margin-bottom: 10px;
	border-right: none;
}
#benefits .col1, #services .col1 {
	width: 100%;
	margin-top: 20px;
}
body.page-our-team figure {
	width: 100%!important;
}

}
@media (max-width: 560px){
body #home-intro img {
    height: 500px;
    object-fit: cover;
}
}


@media all and (max-width: 321px)/*less than 320px*/{
	#home-intro img {
	height: 360px;	
}
}
/* @end */


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}
