/* Responsive CSS
Large Desktop: 1405px and above
Standard Desktop: between 1100px and 1405px
Laptops and Large Tablets: between 980px and 1100px
Tablets: between 768px and 980px
Smartphones and small Tablets: between 320px and 768px;
Smartphones: between 320px and 480px;
*/

:root {
	--mobilemenu-bghighlight:	rgb(7,123,191);
	--mobilemenu-bghighlight2:	#c78513;
}

/* Portrait aspect ration */
@media (orientation: portrait) {
	/*@media (max-aspect-ratio: 3/2) {*/
	/* HX Headings  visible only on devices that are in portrait mode */
	h1.portrait, h2.portrait, h3.portrait, h4.portrait {
		display:initial;
	}
	h3.body_size {
		font-weight: 400; /* 600 */
	}
}
/* Landscape */
@media (orientation: landscape) {
	/*@media (max-aspect-ratio: 2/3 or aspect-ratio: 1/1) {*/
	/* HX Headings  invisible on devices that are in landscape mode */
	h1.portrait, h2.portrait, h3.portrait, h4.portrait {
		display:none !important;
	}
}
	

/* Default*/
.mobileonly {
	display:none !important;
}

/*
 * MENUS
 */
@media only screen and (max-width: 1050px) {
	#top-menu li a {
		font-size:var(--fs-300);
	}
}

/******* Flex Page logo - side by side with H1 ******/
@media screen and (max-width: 980px) {
	
	.twinkle.RingTwinkle {
		left: 189px;
	    top: 150px;
	}

	/* Adjust H1 WRT the floating logo */
	#page_header > div.et_pb_fullwidth_header_container > div.header-content-container > div.header-content {
		& > img {
			max-width: 40% !important;
		}
		& > h1 {
			width: 57%;
			float: right;
		}
	}
	

	.pageLogo-Parent {
		margin-block: 0 1em;
	}
	.pageLogo-Child.logo, .pageLogo-Child.header1 {
		flex:1;
	}
	
	.pageLogo-Child.logo {
		margin-right:10px;
	}
	div.header-content .pageLogo-Child img.header-logo {
		max-width:100% !important;
		width:85%;
		height: 130px !important;
	}
	div.header-content .pageLogo-Child img.header-logo.replaced {
		width: 75%;
	} 
	
}
@media screen and (max-width: 480px) {
	.pageLogo-Child.logo {
		flex: 0.8;
	}
	.pageLogo-Child.header1 {
		flex: 1.2;
	}

	div.header-content .pageLogo-Child img.header-logo {
		max-width:100% !important;
		width:100%
	}
	.pageLogo-Parent h1 {
		font-size: calc(var(--fs-h1) *0.90);
	}
	body.single .et_pb_title_container h1 {
		font-size: calc(var(--fs-h1) *0.7);
	}
}



/**********************/


/*********************** ==RESPONSIVE== ***************************************/
@media only screen and (max-width: 1190px) {
	div.fp_slider div.et_pb_slide > div.et_pb_container {
		height: 19em !important;
	}
}

/* Special situation to manage Available Times (long version) hour's size */
@media only screen and (max-width: 1160px) and (min-width: 981px) {
	table.iC_TableAvailableLong tr td.hour span.et-dropcap {
		font-size: 36px !important;
	}	
	table.iC_TableAvailableLong tr td.hour span.meridiem{
		font-size: 9px;
	}	
}

/* Special situation with the TLHS Logo */
@media only screen and (max-width: 1100px) and (min-width:981px) {
	div.logo_container > a > img {
		max-width: 150px;
	}
}

@media only screen and ( max-width: 1100px ) {
	/*div.header-content > img {display:none;} */

	/* Smaller pricing table */
	div.et_pb_pricing_table div.et_pb_pricing_heading h2.et_pb_pricing_title {
		font-size:30px;
	}
	div.et_pb_pricing_table div.et_pb_pricing_content_top span.et_pb_et_price span.et_pb_frequency,
		div.et_pb_pricing span.et_pb_et_price span.et_pb_dollar_sign {
		font-size:90%;
	}
	div.et_pb_pricing_table div.et_pb_pricing_content_top span.et_pb_et_price span.et_pb_sum {
		font-size: 66px;
	}
	div.et_pb_pricing_table div.et_pb_pricing_content ul.et_pb_pricing li {
		font-size:90%;
	}

	/*******************/

	body.home div.therapist_slider .et_pb_slide  .et_pb_container .et_pb_slide_description h2 {
		font-size:20px !important;
	}
	body.home div.therapist_slider .et_pb_slide  .et_pb_container .et_pb_slide_description .et_pb_slide_content{
		font-size:14px !important;
	}

	body.home .et_pb_slider.book-citation .et_pb_slide_content blockquote {
		line-height: 0.9em !important;
	}
	body.home .et_pb_slider.book-citation .et_pb_slide_content blockquote p {
		line-height:1.2em !important;
	}

	/*
	ul.et_pb_counters span.et_pb_counter_container span.et_pb_counter_amount {
		background: rgb(200,0,0);
		background: linear-gradient(to right, rgba(174,61,50,1) 0, rgba(240,143,24,1) 33%, rgba(229,245,12,1) 66%, rgba(87,230,39,1) 100%)  !important;
	}
*/
}
@media only screen and ( max-width: 1200px ) {

	body.home h1 {
		font-size: 46px;
	}

	body.single .et-l--body > .et_pb_section {
		background-image: url(/wp-content/uploads/sites/5/2021/04/Rect41361-1px.png);
	    background-size: 100% 100% !important;
		background-color: rgba(0,0,0,0) !important;
	}

	/* #lhc_status_widget_v2 { */
		/* bottom middle */
		/* inset: auto auto 42px calc(50% - 45px) !important; */

		/* top lhs */
		/* inset: -5px auto auto -6px !important; */
		/* inset: -5px -5px auto auto !important; */

		/* inset: auto auto 3px calc(50% - 45px) !important; */

	/* } */
}

@media only screen and ( max-width: 980px ) {

	ol li, ul li  {
		text-align: left;
	}

	footer#main-footer div#footer-bottom {
		padding-bottom:6em;
	}
	
	/* Margin not needed on tablet & smartphone */
	body.single div.pageLogo-Parent {
		margin-inline:initial;
	}

	/* Only show this span when the page is being viewed in desktop mode */
	.desktoponly, div.pageLogo-Child h1 mark, div.et_pb_fullwidth_header_container h1 > mark {
		display:none !important;
	}

	.mobileonly {
		display:block !important;
	}

	.PriceInformation {
		text-align:center;
	}

	#AddThisRow {
		margin-right:1em;
	}

	#ZeroDropoutRates #DropoutRatesFact {
        width:100%;
        /*text-align: center !important;*/
    }

	div.LocationCTA {
		font-size:100%;
		padding-bottom:3em;
	}
	div.LocationCTA, div.LocationCTA p {
		text-align: left;
		line-height: 1.3em;
	}
	div.LocationCTA img.CovidZoomImage {
		margin: 1em 0 0.2em 0.4em;
	}

	div.LocationCTA a.et_pb_button {
		font-size:90%;
	}

	div#ERT {
		text-shadow: none;
		font-weight: 400 !important;
	}

	/* Reading time... */
	body.single div#ERT {
		margin-left: 10px;
		margin-top:4px;
		font-size: 75%;
	}
	body.page div#ERT, body.archive div#ERT {
		top: 1.4em;
		font-size: 85%;
		left: 130px;
	}

	/* Contact Form Enhancements */
	form.wpcf7-form span.form-explain {
		margin-bottom:0.5em;
	}

	#lhc_status_widget_v2 {
		/* bottom middle  with a margin above the bottom */
		/*inset: auto auto 42px calc(50% - 45px) !important;*/

		/* bottom right */
		/* inset: auto 0 42px auto !important;*/

		/* bottom left */
		/* inset: auto auto 42px -7px !important;*/

		/* NB - AddThis Terminated */
		inset: auto auto -4px -7px !important;

	}

	/* Some patching to make the background work on Divi Thene Builder type posts */
	body.single .et_pb_section > .et_pb_row {
		margin: auto 0;
		padding-left: 1em;
		padding-right: 2em;
		width: 100%;
	}
	body.single .et-l--post > .et_builder_inner_content > .et_pb_section {
		background-color: rgba(0,0,0,0);
	}
	body.single .et-l--post > .et_builder_inner_content > .et_pb_section > .et_pb_row {
		padding:0;
	}
	/*****************************/
	

	h2, h3, h4, h5 {
		text-align: left;
	}
	/* ... aaaaand undo the above for header-content */
	div.header-content h2, .et_pb_blurb_container .et_pb_module_header, .et_pb_pricing_table .et_pb_pricing_title {
		text-align: center;
	}


	/* Singe post logo */
	#PostTitleHeader > div.et_pb_title_container > img {
		width: 56%;
		margin: 0 auto 1em;
		display: block;
	}

	/* More visible fonts? */
	.et_pb_text_inner, .et_pb_text_inner p /*, .et_pb_text_inner li*/ {
		text-align:justify;
		line-height: 1.4em;
	}
	.et_pb_text_inner #CTA_FAQ p {
		text-align: center;
	}

	body.single .et_builder_inner_content,
		body.single .et_pb_text_inner, 
		body.single .et_pb_text_inner p, 
		body.single .et_pb_text_inner li {
		font-size: 1.1rem; 
		line-height:1.5em;
		text-align: left;
	}
/*
	body.page .et_pb_text_inner, body.page .et_pb_text_inner p, body.page .et_pb_text_inner li{
		font-size: 0.95rem;

	}
*/

	/* Better alignment with LI (and anchors that look a bit too much spaced out) */
	.et-custom-list ul li {
		text-align: initial;
	}

		/*More space inbetween bullet points */
		.et_pb_text_inner p {
			line-height:1.5em;
		}
		.et_pb_text_inner ul:not(:first-child), .et_pb_text_inner ol:not(:first-child), .et_pb_text_inner .et-custom-list ul:not(:first-child) {
			margin-top:1em !important;
		}
		.et_pb_text_inner ul li, .et_pb_text_inner ol li, .et_pb_text_inner div.et-custom-list ul li {
			line-height: 1.3em !important;
			margin-bottom:1em  !important;
		}
	
	

	#AboutDeanBottomBlurb {
		padding-top:4em;
	}
	#AboutDeanBottomBlurb p {
		line-height:1.3em
	}

	#psychologytodaybanner {
		bottom:57px;
		left:3px;
		right: unset;
	}

	/* Force AddThis Recommendations to be two heigh (by two wide) */
	body.page #LocationsFooter .addthis_recommended_horizontal .at4-recommended.at-medium .at4-recommended-horizontal {
		max-height: 464px !important;
	}

	#LocationsFooter div.et_pb_promo_description h4 {
		text-align: center;
	}
	#LocationsFooter div.links_footer {
		text-align: center;
	}
	
	body.single #post_comments .at4-recommended.at-medium .at4-recommended-horizontal {
		max-height: 464px !important;
	}





	/* Embedded Google Maps within Divi code module */
	div.et_pb_code.et_pb_map_container .et_pb_code_inner iframe	{
		height: 280px;
	}
	
	#page_header {
		margin-top:0;
	}
	.darimage_pop .et_pb_row {
		border-left-width: 1px;
		border-top-width: 1px;
	}
	.darimage_pop .et_pb_row_0 {
		margin-right:54px;
	}
	.darimage_pop .et_pb_row .et_pb_column_0 {
		width:initial; 
	}
	.darimage_pop .et-pb-slider-arrows {
		display:none;
	}
	div.book-citation > p,
	div.book-citation blockquote {
		font-size:14px;
	}
	
	.subpagehero {
		padding-bottom:0 !important;
	}
	.subpagehero .et_pb_fullwidth_header {
		padding-bottom:5em;
		
	}
	.subpagehero .addthis_buttons_container {
		top: -5em;
		height: 0px;
	}
	body:not(.home) .et_pb_section_1 {
		padding-top:2em;
	}

	body.home div#hero span.et_pb_fullwidth_header_subhead {
		line-height: 1.2em;
	}
	body.home div#hero img.header-logo {
		width: 25vw;
	}

	img.quotation {
		height: 4vw; 
		width: 4.5vw;
	}
	span.et_pb_price_alert {
		font-size: 10px;
	}
	._cs_covid_19_warning, .section_highlight, .CSwpga,
	._cs_covid_19_warning p, .section_highlight p, .CSwpga p
	{
		text-align: left;
	}
	/* Undo the "DAR Pop" amendments */
	.et_pb_row.darimage_pop .et_pb_column_0 {
		width:inherit;
		margin-right:inherit;
	}	
	.et_pb_row.darimage_pop .et_pb_column_1 {
		right: inherit;
	}
	.et_pb_row.darimage_pop .et_pb_column_1 .et_pb_image img {
		filter: none;
	}

	body.home h1 {
		font-size: 40px /*46px*/;
	}
	

	/* Headers */
	#page_header div.et_pb_fullwidth_header_container.center h2 {
		font-size: 20px;
		line-height: 1.2em;
		margin-bottom: 0.5em;
	}

	/* Menu container */
	#page-container #main-header .et_menu_container {
		width:93%;
	} 
	#hero > .et_pb_fullwidth_menu,
		#page_header > .et_pb_fullwidth_menu, 
		body.single .et_pb_section:first-child .et_pb_fullwidth_menu {
		position: unset !important;
	}	
	#hero>.et_pb_fullwidth_menu, #page_header>.et_pb_fullwidth_menu, body.single .et_pb_section:first-child .et_pb_fullwidth_menu {
		position:unset !important;
	}
/*
	#FullWidthMenu
*/
	
	#mobile_menu {
		box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.65);
	}
	.et_mobile_menu li a {
		padding:8px 5%;
	}
	.et_mobile_menu li li a {
		padding-bottom: 0.25em;;
		line-height: 1.2em;
	}
	.et_mobile_menu li li:last-child {
		padding-bottom:0.5em;
	}

	ul#mobile_menu > li.menu-item-has-children > a {
		margin-top:2em;
	}
	ul#mobile_menu > li.menu-item-has-children:nth-child(2) > a {
		margin-top:0 !important;
	}
	.et_mobile_menu .menu-item-has-children > a,
		.et_mobile_menu li#menu-item-2570 > a	/* Contact Me */ {
		background-color: var(--mobilemenu-bghighlight);
		border-radius: 16px;
	}

	.et_mobile_menu > li.menu-item-has-children > a,
	.et_mobile_menu li#menu-item-2570 > a	/* Contact Me */ { /* Each top-level Menu "Section" */
		padding-block: 4px;
		margin-bottom: 4px;
		box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
	}
	.et_mobile_menu li#menu-item-1552 > a {	/* how to begin */
		background-color: var(--mobilemenu-bghighlight2);
		box-shadow: 2px 3px 5px rgba(0,0,0,.5);
	}
	.et_mobile_menu li#menu-item-1552 > a::after {
		content: "\0020\2026";
	}

	.et_mobile_menu li#menu-item-2570 /* Contact me */ {
		margin-top:1em;
		font-weight: bold;
	}

	/* Make one Mobile menu item glow */
	/* Why choose Dean:	#mobile_menu > #menu-item-1553 > a */
	#mobile_menu .menu-item-1552 > a, 
	#mobile_menu1 .menu-item-1552 > a /* needs both these to manage two different ways the mobile menu is constructed - my bad, probably*/
	/* #mobile_menu > #menu-item-1552  > a */{
		font-weight: bold;
		color:black;
		opacity: 1; /*0.5;*/
		animation: opacity-glow 4s ease-in-out infinite alternate;
	}

	@keyframes opacity-glow {
		0%,50% {
			color: rgb(255, 255, 255);
			text-shadow:2px 2px 5px #000;
		}
		95%, 100% { 
			/*
			opacity: 1.0;
			color:white;
			*/
			color:rgb(165, 42, 42);
			text-shadow:2px 2px 5px #ffd86b /*rgba(0,0,0,0.8)*/;
		}
	}


	/* Patch to make the menu appear properly on Single/Posts */
	/*body.single .et_pb_menu__wrap {
		display:block;
	}*/
	body.single .et_pb_fullwidth_menu > .et_pb_row:first-child {
		margin-left:20px;
		margin-right:20px;
	}
	
	body.single .et_pb_fullwidth_menu {
		display:block;
		height: 4em;
	}
	body.single div.et_pb_fullwidth_menu ul.et_mobile_menu {
		position: relative;
		background-color: rgba(29,146,196,1) !important;
	}
	body.single a.mobile_nav {
		text-decoration:none
	}
	body.single a.mobile_nav.closed span.mobile_menu_bar,
		body.single #page-container > div.et_pb_fullwidth_menu div.et_mobile_nav_menu span.mobile_menu_bar {
		/*top: -13px;*/
		right: -10px;
		position: absolute;
		top: 10px;
	}

	body.single .et_pb_module .mobile_menu_bar:before {
    	top: 5px;
    	left: -10px;
	}

	/*
	body.single #page-container > div.et_pb_fullwidth_menu div.et_mobile_nav_menu div.mobile_nav.opened span.mobile_menu_bar {
		top:0;
	}
	*/
	body.single #mobile_menu1 {
		top: 4em;
		position:absolute;
		transform: translate(-5px,0px);
		width:100%; /* 106% */
		box-shadow: 4px 4px 10px rgb(0 0 0 / 65%);
	}

	/* Removed the "fixed" attribute on Post Mobile Menus */
	body.single div.et_pb_fullwidth_menu, body.single div.et_pb_fullwidth_menu.et_hover_enabled:hover {
		position:initial;
	}

	
	/* Single post menu logo */
	body.single .et_pb_menu__logo img, body.single .et_pb_menu__logo a img {
		/*width:82px;*/
		height:36px !important;
		/*width:auto;*/
		width: 90px !important;
		/*
		min-width:82px !important;
	    max-height: 40px !important;
		min-height: 40px !important;
		*/
	    padding-top: 4px;
		/*position:absolute;*/
		margin-top: 3px;

	}
	body.single .et_pb_menu__logo-wrap {
		align-self: flex-start;
	}
	body.single .et_pb_section_1_tb_header.et_pb_section,
	body.single > header > div.et_builder_inner_content > div.et_pb_section:first-child {
		padding-bottom:0;
	}
	body.single .et_pb_section:first-child {
		padding-top:0;
	}

	/* Comments */
	body.single #post_comments .et_pb_column:nth-child(2) div.et_pb_text p {
		text-align: left;
	}

	body.single #post_comments .et_pb_row .et_pb_column:first-child {
		padding:0px !important; 
	}
	body.single #post_comments .et_pb_row .et_pb_column:first-child .rwp-review-wrap {
		border-radius: unset;
		border:none;
		margin:0;
	}
	body.single #post_comments div.rwp-users-reviews-wrap > span.rwp-people-label em {
		padding:1em 0 2em;
		float:left;
	}
	body.single #post_comments div.rwp-users-reviews-wrap > div.rwp-users-reviews-toolbar,
	body.single #post_comments div.rwp-users-reviews-wrap > div.rwp-users-reviews {
		clear:both;
	}

	body.single div.rwp-review .rwp-u-review__comment {
		line-height: 1.3em;
		text-align: initial;
		font-size: 0.95rem;
	}

	.rwp-review-wrap .rwp-review .rwp-users-reviews-wrap .rwp-people-label em {
		padding-left:1em;
	}



	/* Archive/category visual fixes */
	body.category #main-content > div.container {
		padding-top:50px;
	}

	/* Undo the "jumping header" patch*/
	/*
	body.home #page-container {
		padding-top: initial;
	}
	*/

	/* Page CUstomisations */
	div#toggle_video_preparation, 
		div#toggle_video_preparation ul li {
		/*font-size: 110% !important;*/
		text-align: left; 
	}

	div#toggle_video_preparation ul li {
		line-height:1.4em;
		margin-bottom:0.5em;
	}
	div#toggle_video_preparation div.post-id-30539 .et_pb_row:first-child {
		padding-top:0;
	}

	/***********************************************/

	/* Repositioning the LGBT Flag */
	img#lgbtflag {
		width: 90%;
		height: auto;
		margin: 1em auto 2em auto;
		display: block;
		float: none;
	}

	/* Better positioning of the couch on the home page */
	.home .header-content-container.center {
		min-height: max-content;
	}
	.home .header-image-container.bottom {
		margin-bottom: 4em;
	}
	.home .et_pb_fullwidth_header_scroll {
	 	bottom: 5em;
	}

	body.home #hero div.et_pb_fullwidth_header_container > div.header-image-container.bottom > div > img {
		max-width:90%;
		width:auto;
	}


	/*************************************/

	/* Capture V4 box */
	div.grecaptcha-badge {
		bottom: 3.3em !important;
	}

	div.fp_slider div.et_pb_slide > div.et_pb_container {
		height: 16em !important;
	}

	/* Patch for DIVI Bork */
	body.home #hero /*div.et_pb_section_0*/ {
		padding: 0 !important;	/* override nasty top/bottom padding introduced */
	}

	/* On Smartphones, reduce the header's top space */
	section#page_header, #page_header > section {
		padding-top: 0 !important;
		padding-bottom: 20px !important;
	}
	.et_pb_fullwidth_header_0 .et_pb_fullwidth_header_container {
		padding-bottom:0 !important;
		padding-top:0 !important;
	}
	#page_header > section > div.et_pb_fullwidth_header_container > div.header-content-container {
		margin-top:0em;
	}
	div.entry-content .et_pb_section:first-child {
		padding-top:0;
	}
/*
	div.et_pb_section_0 {
		padding-top:0 !important;
	}
*/
	body.page .et_pb_row {
		width:initial;
		margin: auto 54px /*20px*/ auto 54px;
	}
	/*
	body.single .et_pb_row {
		width: 100%;
		padding-left:1em;
		padding-right: 1em;
	}
	*/

	#main-header > div.et_search_outer form > input{
		border: 1px solid black;
	    background-color: rgba(0,0,0,0.5);
	    height: 30px;
	    box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
	    padding: 0 5px;
	}

	.et_pb_fullwidth_menu {
		display:none;
	}
	/* Smaller logo on smartphones */
	div.header-content img.header-logo
/*	body.home div.et_pb_fullwidth_section:first-child div.header-content > img */ {
		margin-top:0px !important;
	}
/*
	#main-header > div.et_menu_container > div.logo_container {
		display:none;
	}
*/
	#logo {
		/*max-height:65% !important;*/
		height:52px !important;
		width: auto !important;
	}
	#et_mobile_nav_menu {
		margin-top:0 !important;
	}

	/* Floating TOC */
	div#toc_container {
		/*bottom: 5em !important;*/

		/* AddThis Terminated */
		bottom: 1em !important;
	}
	div.show_toc div#toc_container ul.toc_list li {
		line-height:1.5em;
		font-size:102%;
		margin-bottom:6px !important;
	}

	/* Contact form */
	div.contact_form .jurisdiction {
		font-size: 13px !important;
		line-height: 1.2em;
	}


	blockquote.service_intro_blurb *:not(.blue) {
		font-size: calc(var(--fs-400) * 0.9);
		line-height: 1.3em !important;
	}
	
}

@media only screen and (max-width: 900px) {
	form.wpcf7-form div.left, form.wpcf7-form div.right {
		float:none !important;
		margin-right:0;
		width:100% !important;
	}
	form.wpcf7-form div.left {
		margin-right:initial !important;
	}
	form.wpcf7-form div.right {
		margin-top:20px;
	}
}

/* Tablet */
@media only screen and (max-width: 768px) {
	body.page .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
		margin-bottom: 1em;
	}
	blockquote.service_intro_blurb p {
		/*font-size:inherit;*/
		text-align: justify !important;
		/*
		font-size:95%;
		padding-left:5%;
		padding-right:5%;
		*/
		/*font-size: var(--fs-400)*/ /*90%*/;
		/*text-align: justify !important;*/
		padding-left: 1.5ch;
		padding-right: 1.5ch;
		padding-top: 1ch;
		line-height: 1.4em;
	}
	blockquote:not(.quote)::before {
		top: 9px !important;
		left: -24px !important;
	}
	blockquote.service_intro_blurb.noicon {
		padding-top:0.5em;
	}
	img.quotation {display:none;}

	#appointment_notification {
		font-size: 90% !important;
	}
	
	#appointment_notification p.label {
		display: block;
		padding: 0.5em 0;
	}
	
	#appointment_notification p.label span.client-checkbox-counselling span.wpcf7-list-item {
		margin-top: 0.5em;
	}
	
	#appointment_notification h2 {
		font-size: 1.5em !important;
	}
	#appointment_notification p.label input[type="text"],
		#appointment_notification p.label input.wpcf7-text {
		display:block;
		width: initial !important;
	}
	#appointment_notification div#explanation {
		font-size: 90% !important;
	}

	#appointment_notification {
		padding-inline:0;
		& h3 {
			padding-inline:20px;
		}

		& .et_pb_toggle_title:before {
			right: 10px;
		}
	}
	

	/***
   * Appointments Key Icons 
   */
   table.availability_guides td {
		line-height: 1.4em;
		padding-bottom: 1em;
		font-size:var(--fs-200) /*90%*/;
	}
	table.availability_guides tr {
		vertical-align: top;
	}


	
	div.fp_slider div.et_pb_slide > div.et_pb_container {
		height: 18em !important;
	}
	table.iC_TableAvailableLong {display:none;}
	div.iC_TableAvailableLong_isshowing table#appointmentstable {display:block;}
	table#appointmentstable {
		font-size:14pt;
	}

	table#appointmentstable > tbody > tr:first-child > td > span.redirect {
		font-size: 10pt;
    	font-style: italic;
		display: none;
	}
	table#appointmentstable tr:first-child td {
		padding-left:0;
		padding-right:0;
	}
	table#appointmentstable tr.dowrow td.dow {
		padding-right: 1em;
		padding-left:0;
		font-weight: bold;
	}

	table#appointmentstable tr.dowrow td.hod {
		padding-left:0;
		padding-right:0;
	}

	body.home div.therapist_slider .et_pb_slide  .et_pb_container{
    	position: relative;
    	top: 0;
   }

	body.home .et_pb_slide_image {
		display:inherit;
	}

	div.contact_form {
		padding: 0 1em;
	}
}

@media only screen and (max-width:720px) {
	/* Adjust H1  */
	#page_header > div.et_pb_fullwidth_header_container > div.header-content-container > div.header-content {
		& > h1 {
			width: 57%;
			font-size: calc(var(--fs-h1) * 0.92);

		}
	}

}

@media only screen and (max-width:626px) {
	#AppointmentsIntro #AppointmentPreBlurb, #AppointmentsIntro #AppointmentPracticeHours {
		float:none;
		width:initial;
	}
}

@media only screen and (max-width: 564px) {
	#page_header > div.et_pb_fullwidth_header_container > div.header-content-container > div.header-content {
		& > h1 {
			font-size: calc(var(--fs-h1) * 0.88);
		}
	}
}
/* Smartphone */
@media only screen and (max-width: 540px) {
	.twinkle.RingTwinkle {
		left: 97px;
    	top: 146px;
	}

	.DottedMarketing {
		text-align:center; /*left; justify*/
	}

	.PriceInformation {
		font-size:initial;
	}

	#AddThisRow #AddThisCol {
		padding-right: 5px !important;
		padding-left: 5px !important;
	}

	:root {
		--fs-100:						0.5rem;
		--fs-200:						0.85rem; /*0.79rem;*/
		--fs-300:						0.9rem; /*0.88rem;*/ /*0.84rem;*/
		--fs-350:						0.95rem;
		--fs-400:						1.1rem; /*1rem;*/	/* For a long time: 0.9rem;*/  /*0.88rem;*/
		--fs-600:						1.25rem; /*1.1rem;*/	/* for a long time: 1rem*/
		--fs-800:						1.4rem; /* 1.25rem */

		--fs-noticeme:					calc(var(--fs-600) * 1.1);
	}

	h2, h3, h4 {
		line-height:1.3em;
	}

	#LocationsFooter .et_pb_promo .et_pb_promo_description > h4 {
		/* Precedence Overrides the doubling by CSS elsewhere */
		font-size: var(--fs-600) !important; 
	}
	#LocationsFooter .et_pb_promo .et_pb_promo_description p {
		font-size: var(--fs-200);
		line-height: 1.3em;
	}


	#page_header > div.et_pb_fullwidth_header_container > div > div > img,
		div.header-content img.header-logo {
		height: 113px !important;
	}

	._cs_covid_19_warning, ._cs_covid_19_warning h3 {
		font-size: var(--fs-200) !important; /* 13px  */
		line-height: 1.3em;
	}

	.et_pb_fullwidth_header .header-content {
		padding: 0 8px 20px 8px;
	}

	.darimage_pop .et_pb_row_0 { 
		margin-right:1.3em;
	}
	body.home .et_pb_slider.book-citation .et_pb_slide_content blockquote,
	body.home .et_pb_slider.book-citation .et_pb_slide_content blockquote p {
		line-height: 1.4em !important;
	}
	div.fp_slider div.et_pb_slide > div.et_pb_container {
		height: 30em /*35em*/ !important;
	}
	div.fp_slider div.et-pb-slider-arrows {
		display:none;
	}
	div.fp_slider div.et_pb_slide {
		padding-left: 0 !important;
    	padding-right: 0 !important;
 	}

	blockquote, blockquote p {
		text-align: left !important;
	}

	#LocationsFooter .et_pb_text_inner, p.counselling_locations_service_summary, div.links_footer {
		font-size:0.9rem !important;
		line-height:1.3em;
	}

	#LocationsFooter .et_pb_row:first-child {
		margin-left: 0.5em;
		margin-right: 0.5em;
		padding-top:0;
	}
	#LocationsFooter .et_pb_row:first-child .et_pb_column:first-child {
		padding-left:0.5em;
		padding-right:0.5em;
	}


	p.et_pb_title_meta_container {
		text-align:center;
		font-size:100%;
	}
	div.office_address p {
		text-align:inherit;
	}
	div.wpcf7 p{
		text-align:left;
	}
	body.page .et_pb_row {
		width:initial;
		/*margin: auto 45px auto 20px;*/
		margin: auto 2em auto 1em;
	}
		/* Smaller Logo */
		/*
	div.header-content img.header-logo
		div.header-content > img:first-child {
		width: 50% !important;
	 }
	 */

	/* Adjust H1 WRT the floating logo */
	#page_header > div.et_pb_fullwidth_header_container > div.header-content-container > div.header-content {
		& > img {
			width: 38% !important;
		}
		& > h1 {
			width: 59%;
			/*font-size: calc(var(--fs-h1) * 0.88);*/
		}
	}

	div.addthis_buttons_container {display:block;}

	#page_header > div.et_pb_fullwidth_header_container span.et_pb_fullwidth_header_subhead h2 {
		line-height: 1.2em;
	}
	/*
	#page_header > div.et_pb_fullwidth_header_container span.et_pb_fullwidth_header_subhead {
		font-size: 96% !important;
	}
	#page_header > div.et_pb_fullwidth_header_container span.et_pb_fullwidth_header_subhead > p {
		font-size: 96% !important;
		line-height: 1.3em;
	}
	*/

	/* Overriding DIVI Dividers that won'#t respond to responsive instructions */
	.et_pb_section.section_has_divider.et_pb_top_divider .et_pb_top_inside_divider {
		height: 50px;
	}

	/* Therapy Fees Table */
	table.TherapyFees td {
		display: block;
	}
	table.TherapyFees td:nth-child(1) {
		padding-bottom:0em;
		padding-left: 1em;
	}
	table.TherapyFees td:nth-child(2) {
		padding-bottom:1.2em;
		padding-left: 2em;
	}

	div.contact_form {
		& .one_third, & .two_third_last {
			width:100%;
			float:none;
			margin-right:0;
		}
	}


}

@media only screen and (max-width: 525px) {
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_one {
		margin-right:0
	}
	/*
	div.et_pb_fullwidth_header_container  div.header-image-container div.header-image img {

	}
	*/
	div.et_pb_section:first-child section.et_pb_fullwidth_header div.et_pb_fullwidth_header_container  {
		width:94% !important;
	}
	div.et_pb_section:first-child section.et_pb_fullwidth_header div.et_pb_fullwidth_header_container div.header-image-container div.header-image {
		margin-right:1%;
		margin-left:1%;
	}
	div.et_pb_section:first-child div.et_pb_fullwidth_header_scroll {
		padding-bottom:initial;
	}
}

@media only screen and (max-width: 479px) {
	/*
	div.fp_slider div.et_pb_slide > div.et_pb_container {
		height: 18em !important;
	*/

	/*
	form.wpcf7-form div.left, form.wpcf7-form div.right {

	}
	*/

	/* Notifications Form */
	/* Patch - not sure why WPCF is triggering (?) Google's "stuff is wider than the page" errors */

	#appointment_notification p.label input[type="text"],
	   #appointment_notification p.label input.wpcf7-text {
	   width: 95% !important;
	}

	/* HOME PAGE
 	 * Managing Mobile transitions of the home page hero section
	 */
	/* Manage position when #page-container has 79px padding-top; */
	body.home div#prehero>.et_pb_fullwidth_image > img {
		/* object-position: center 100px; */ /* 120px 80px*/
		object-position: calc(50% + 15px) 60px;
		/*transform: scale(1.1,1.1) translate(2px, 0px); */
		/*transform: scale(1, 1) translate(10px, -50px);*/
	}

	/* If this is a bot/crawler looking at us, switch off transitions */
	/*
	body.home.IsBot div#prehero>.et_pb_fullwidth_image > img {
		//object-position: center 100px;
		//transform: scale(1.2,1.2);
		transition: none;
	}
	*/
	
	/* THIS is where the prehero appears to move down */
	/* Have a faster transition on subpages than on Home */
	div#page-container.paddingoverridetransition {
		transition: padding 0.5s;
		transition-delay: 0.5s;
	}
	body.home div#page-container.paddingoverridetransition {
		transition: padding 1.5s;
		transition-delay: 0.5s;
	}
	div#page-container.IsCrawler {
		transition: padding 0s;
		transition-delay: 0s;
	}
	body.home div#page-container.IsCrawler {
		/* Making the Home Page Animation rather slow improves Google CLS score */
		transition: all 5s !important;
	}

	
	/* BOTH page-container paddings have to have the same DOM name for !important precedence */
	body.home div#page-container.paddingoverride {
		padding-top:79px !important; 
	}
	body.home div#page-container {
		padding-top:0 !important;	/* We'll override this in functions.js later*/
	}
	/*********************************************************************************************/

	a.et_pb_button {
		line-height: 1.4em !important;
	}

	#page_header div.et_pb_fullwidth_header_container span.et_pb_fullwidth_header_subhead,
		#page_header div.et_pb_fullwidth_header_container .et_pb_fullwidth_header_subhead p {
		font-size: var(--fs-300) !important; /*85%, 13px*/
		line-height: 1.3em  !important;
	}

	div.book-citation blockquote {
		margin:0 2px 1em 0 !important;
		padding:0 !important;
	}

	#hero h1 {
		line-height: 0.8em; /*1.0em;*/
	}

	h1 {font-size:30px;}

	/*h1.entry-title {line-height:1em !important;} .... amended to: */
	.entry-title h1.et_pb_module_header {line-height:1em !important;}
	
	/* Header logo */
	div.header-content img.header-logo {
		width: 40vw !important;
		max-width:50% !important;
	}
	span.et_pb_fullwidth_header_subhead {line-height:1.3em;}

	.et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content {
		width:98% !important;
	}

	input.wpcf7-text,
		textarea.wpcf7-textarea {
		width: 100% !important;
	}

	input[type="submit"].wpcf7-submit {
		width:100% !important;
		margin:30px 0 20px !important;
	}

	form.wpcf7-form div.one_half, form.wpcf7-form div.one_half_last {
		display:block !important;
		float:none !important;
		margin-right:0% !important;
		clear:none !important;
		position:inherit !important;
		width:100% !important;
	}
}


@media screen  and ( max-width: 479px ) {
	div#main-header {
		background-color: rgba(29,146,196, 1); 
	}
}

@media screen and (max-width: 400px) {
	#page_header > div.et_pb_fullwidth_header_container > div.header-content-container > div.header-content {
		& > img {
			width: 40% !important;
		}
		& > h1 {
			width: 55%;
			font-size: calc(var(--fs-h1) * 0.84);
		}
	}

}

@media screen and (max-width: 320px) {
	#page_header > div.et_pb_fullwidth_header_container > div.header-content-container > div.header-content {
		& > img {
			float: none;
			/*height: auto !important;*/
			width:90% !important;
			max-width:none !important;
		}
		& > h1 {
			float:none;
			width:100%;
		}
	}

}


/* Screen isn't very high... */
@media only screen and ( max-height: 570px ) {
	/* Hide the Addthis footer layer */
	div.at-share-dock-outer.addthis-smartlayers.addthis-smartlayers-mobile {
		display:none;
	}

	/* Move these footer widgets down a bit */
	#lhc_status_widget_v2 {
		/*inset: auto auto 10px calc(50% - 45px) !important;*/
		inset: auto auto -7px -7px !important;

	}
	#psychologytodaybanner {
		bottom: 12px;
	}
	div#toc_container {
		bottom: 16px !important;
	}
}
/* Link guides within an inserted section */

/* Column widths - total 97%*/
.et_pb_section_guides .et_pb_column_1_4 {
    /* Original width: 22.75%*/
    width: 15%;
}
.et_pb_section_guides .et_pb_column_3_4 {
    /* Original width: 74.25% */
    width: 82%;
}

.et_pb_section_guides_top {
	margin-top:1.5em;
}

.et_pb_section_guides {
	padding:0 !important;
}

span.link {
	white-space: nowrap;
	/*padding-right:3ch;*/
	display: inline-block;
    line-height: 1.8em;
}
span.link::after {
	content: " ";
	padding-right:2ch;
}

@media (orientation: landscape) {
	span.link::after {
		/*
		content: " ";
		padding-left:1ch;
		padding-right:1ch;
		*/
		padding-right:1ch;
	}
}
span.link:last-child::after {
	content:"";
	padding-inline: 0;
}

span.link > a:first-child { /* the icon */
	border-bottom: none;
}


.et_pb_section_guides > .et_pb_row > .et_pb_column:first-child .et_pb_text_inner {
	font-weight: bold;
} 

.et_pb_section_guides > .et_pb_row > .et_pb_column:last-child {
	padding-top:0;
}

div.et_pb_section_guides span.link > a:first-child {
	text-decoration: none;
	padding-right: 0.5ch;
	color: black;
}
div.et_pb_section_guides span.link > a > span.icon {
    font-size:1.6em;
}

.et_pb_section_guides > .et_pb_row /* > .et_pb_column:first-child*/ {
	padding-inline: 1em;
}


.et_pb_section_guides > .et_pb_row > .et_pb_column {
	padding-top: 0.5em;
    padding-bottom: 0.5em;
}

/* Section 1 that comes immediately after a section guide */
.et_pb_section_guides + .et_pb_section_1 {
	padding-top:1.5em !important;
}

/* Bottom Section */
.et_pb_section_guides_bottom {
	padding-top:1em !important;
}
.et_pb_section_guides_bottom .et_pb_row {
	padding-top:1em;
	margin-bottom:1em !important;
}

/* Tablet downwards... */
@media only screen and ( max-width: 980px ) {
	
	/* Column widths - total 97%*/
	.et_pb_section_guides .et_pb_column_1_4 {
		/* Original width: 22.75%*/
		width: 20%;
	}
	.et_pb_section_guides .et_pb_column_3_4 {
		/* Original width: 74.25% */
		width: 77%;
	}
	
	.et_pb_section_guides > .et_pb_row {
		padding-right: 0em;
		padding-left: 0.5em;
	}
	.et_pb_section_guides > .et_pb_row > .et_pb_column {
		padding-bottom: 0;
		margin-bottom:0 !important;
	}
    div.et_pb_section_guides span.link > a:first-child {
		padding-right: 0;
    }
	div.et_pb_section_guides span.link > a {
		top:1px;
	}
    div.et_pb_section_guides span.link > a > span.icon {
		font-size: 1.4em;
        width: 2.75ch;
        display: inline-block;
    }
	
    div.et_pb_section_guides span.link::after {
		padding-left: 0.5ch;
        padding-right: 0.5ch;
    }
}

/* Smartphone */
@media only screen and ( max-width: 767px ) {
	.et_pb_section_guides > .et_pb_row > .et_pb_column:nth-child(2) {
		line-height:2.25em;
	}
}