/*
Theme Name: Teal Theme Base (Teal Framework)
Theme URI: https://katydwyerdesign.com/
Description: Custom Wordpress Theme by Katy Dwyer Design. Requires the Teal Framework (v1.38).
Author: Garrett Gardner
Author URI: http://garrett-gardner.com/
Version: 1.0 (2020-10-30)
*/
a.anchor {
	position: relative; /*why does Teal set anchors to absolute positioning?*/
}
.button,
.menu-button a {
	border-radius: 1em;
	text-transform: unset!important;
}
.button:hover,
.menu-button a:hover{
	background-color: #CB7389 !important;
}
.button.secondary {
	background-color: #CB7389 !important;
}
.button.secondary:hover {
	background-color: #131D3C !important;
}
.button.tertiary {
	background-color: #5A5837 !important;
}
.button.tertiary:hover {
	background-color: #fff !important;
	color: #5A5837;
}
.button {
	padding: 0.5rem 1.25rem 0.7rem 1.25rem!important;
}

.background-quaternary {
	background-color: #dcdbdb;
}
.background-quinary {
	background-color: #FCF6F8;
}

/* top bar */
.contrastToggle {
	display: none;
}
#header .topbar {
	background-color: #131D3C;
	color: #fff;
}
#header .headerButtons .button,
#menu .headerButtons .button,
#menu .menu-button a {
	background-color: #CB7389;
	padding: 2px 8px 4px 8px !important;
}
#menu .menu-button {
	width: fit-content;
	margin: auto;
}
#menu .headerButtons,
#menu .socialButtons {
	display: inline-flex;
}
#header .headerButtons .button:hover {
	background-color: #fff !important;
	color: #CB7389 !important;
}
#header .socialButtons a:hover {
	color: #CB7389;
}

/* menu */
#header .navigation.main>ul>li>a:hover,
#header .navigation.main>ul>li.current-menu-item>a {
	color: #CB7389;
}
#header .navigation.main>ul>li>a {
	color: #131D3C;
	text-transform: unset;
}
li.menu-button a {
	background: #131d3c none;
    border: 0 none;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .25s ease,color .25s ease,border .25s ease;
    padding: 0.5rem 1.25rem 0.7rem 1.25rem!important;
}

/* home page */
.home-hero {
	color: #fff;
}
.home-content::before {    
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.2;
	background-image: url("assets/images/Magnolia_icons_fullcolor.svg");
	background-repeat: no-repeat;
	background-position: bottom -20px left -55px;
	transform: scaleX(-1);
}

/* home page services blocks */
.block.services_blocks.grid .grid>.row>.column>.content {
	padding: 0;
	min-height: 400px;
}
.services_blocks .row .content .inner .styles {
	bottom: 0;
  	background: linear-gradient(#131D3C 0 0)bottom/100% 75px no-repeat;
}
.services_blocks .row .content .inner .styles:hover {
  	background: linear-gradient(#CB7389 0 0)bottom/100% 75px no-repeat;
}
@media only screen and (max-width: 991px) {
	.services_blocks .row .content .inner .styles {
		bottom: 0;
	  	background: linear-gradient(#131D3C 0 0)bottom/100% 90px no-repeat;
	}
	.services_blocks .row .content .inner .styles:hover {
	  	background: linear-gradient(#CB7389 0 0)bottom/100% 90px no-repeat;
	}
}
@media only screen and (max-width: 767px) {
	.services_blocks .row .content .inner .styles {
		bottom: 0;
	  	background: linear-gradient(#131D3C 0 0)bottom/100% 80px no-repeat;
	}
	.services_blocks .row .content .inner .styles:hover {
	  	background: linear-gradient(#CB7389 0 0)bottom/100% 80px no-repeat;
	}
}
@media only screen and (max-width: 400px) {
	.services_blocks .row .content .inner .styles {
		bottom: 0;
	  	background: linear-gradient(#131D3C 0 0)bottom/100% 72px no-repeat;
	}
	.services_blocks .row .content .inner .styles:hover {
	  	background: linear-gradient(#CB7389 0 0)bottom/100% 72px no-repeat;
	}
}
@media only screen and (max-width: 375px) {
	.services_blocks .row .content .inner .styles {
		bottom: 0;
	  	background: linear-gradient(#131D3C 0 0)bottom/100% 70px no-repeat;
	}
	.services_blocks .row .content .inner .styles:hover {
	  	background: linear-gradient(#CB7389 0 0)bottom/100% 70px no-repeat;
	}
}
.services_blocks .row .content .inner .styles {
	color: #fff;
}
.services_blocks .row .content .inner .styles p:first-of-type {
	position: absolute;
    bottom: 15px;
    width: 100%;
}
.services_blocks .row .content .inner .styles a {
	color: #fff;
	position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    padding-bottom: 10px;
    justify-content: center;
}
.services_blocks .row .content .inner .styles a:after {
    /*font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f054";*/
    content: url("assets/images/White_Arrow.svg");
    padding-left: 7px;
    transform: translateY(2px);
    width: 16px;
}

.styles .textHeaderMD {
	    font-size: 1.65rem;
	}
@media only screen and (min-width: 425px) {
	.styles .textHeaderMD {
	    font-size: 2.25rem;
	}
}
@media only screen and (min-width: 576px) {
	.styles .textHeaderMD {
	    font-size: 1.0rem;
	}
}
@media only screen and (min-width: 768px) {
	.styles .textHeaderMD {
	    font-size: 1.25rem;
	}
}
@media only screen and (min-width: 1440px) {
	.styles .textHeaderMD {
	    font-size: 1.5rem;
	}
}
/* home meet our doctors */
.meet_our_doctors .styles {
	padding-left: 30px;
	padding-right: 20px;
}
.meet_our_doctors.block.grid .grid>.row>.column:first-child>.content.padding-top-lg,
.meet_our_doctors.block.grid .grid>.row>.column:first-child>.content.padding-top-default {
	padding-top: 12rem
}
.meet_our_doctors.block.grid .grid>.row>.column:first-child>.content.padding-bottom-lg, 
.meet_our_doctors.block.grid .grid>.row>.column:first-child>.content.padding-bottom-default {
	padding-bottom: 12rem;
}
.meet_our_doctors.block.grid .grid>.row>.column>.content.padding-top-lg {
	padding-top: 4rem
}
.meet_our_doctors.block.grid .grid>.row>.column>.content.padding-bottom-lg {
	padding-bottom: 4rem;
}
@media only screen and (min-width: 576px) {
	.meet_our_doctors.block.grid .grid>.row>.column:first-child>.content.padding-top-lg,
	.meet_our_doctors.block.grid .grid>.row>.column:first-child>.content.padding-top-default {
		padding-top: 15rem
	}
	.meet_our_doctors.block.grid .grid>.row>.column:first-child>.content.padding-bottom-lg,
	.meet_our_doctors.block.grid .grid>.row>.column:first-child>.content.padding-bottom-default {
		padding-bottom: 15rem;
	}
}
@media only screen and (min-width: 992px) {
	.meet_our_doctors.block.grid .grid>.row>.column>.content.padding-top-lg {
		padding-top: 8rem
	}
	.meet_our_doctors.block.grid .grid>.row>.column>.content.padding-bottom-lg {
		padding-bottom: 8rem;
	}
}

/* home page map */
@media only screen and (max-width: 768px) {
	.home .embedContent.third {
		padding-top: 50%;
	}
}
@media only screen and (max-width: 425px) {
	.home .embedContent.third {
		padding-top: 75%;
	}
}

/* events */
@media only screen and (min-width: 992px) {
	.event_list .excerpts .excerpt:not(:first-child) {
		margin-left: 10px;
	}
}
.event_list .event-excerpt-time {
	font-size: 1em;
}
.event-excerpt-readmore {
	background: #CB7389;
	display: inline-block;
	padding: 0.25rem 1.25rem;
	border-radius: 1em;
}

/* medical dermatology */
.block.medical_derm_blocks.grid .grid>.row>.column>.content {
	padding: 0 5px;
	background-color: #131D3C !important;
	min-height: 200px;
	color: #fff;
}
.block.medical_derm_blocks.grid .grid>.row>.column>.content:hover {
	background-color: #CB7389 !important;
}
.medical_derm_blocks .row .content .inner .styles {
	height: fit-content;
	position: absolute;
	top: 35%;
}

@media only screen and (min-width: 992px) {
	.medical_derm_blocks .row .column:nth-child(1) .content .inner .styles {
		top: 25%;
	}
}
@media only screen and (min-width: 1441px) {
	.medical_derm_blocks .row .column:nth-child(1) .content .inner .styles {
		top: 35%;
	}
}
.medical_derm_blocks .row .content .inner .styles p:first-of-type {
	/*position: absolute;
    bottom: 75px;
    width: 100%;*/
}
.medical_derm_blocks .row .content .inner .styles p {
    text-align: center;
    margin-bottom: 0;
}
.medical_derm_blocks .row .content .inner .styles a {
	color: #fff;
	/*position: absolute;*/
    /*bottom: 0;
    left: 0;*/
    width: 100%;
    height: 100%;
    display: flex;
    /*align-items: end;
    padding-bottom: 70px;*/
    justify-content: center;
}
.medical_derm_blocks .row .content .inner .styles a:after {
    /*font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f054";*/
    content: url("assets/images/White_Arrow.svg");
    padding-left: 7px;
    transform: translateY(2px);
    width: 16px;
}

/* footer */
#footer>div::before {    
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.2;
	background-image: url("assets/images/Magnolia_white-icon.svg");
	background-repeat: no-repeat;
	background-position: bottom -20px left -55px;
	transform: scaleX(-1);
}
#footer a {
	color: #fff;
}
#footer .social-icon {
	padding-right: 0.5em;
	font-size: 1.5em;
}
#footer .social-icon:hover {
	color: #CB7389;
}
#footer .button.secondary:hover {
	background-color: #c85678 !important;
}

/* footer Gravity form */
#footer .gform_wrapper.gravity-theme .ginput_container_email #input_3_1 {
	max-width: 340px;
}
#footer #gform_wrapper_3 .gform_heading {
	display: none;
}
#footer .gform_wrapper.gravity-theme #field_submit {
	position: absolute;
	margin-top: 4px;
	left: 288px;
}
#footer .gform_wrapper.gravity-theme #field_submit .button:hover {
	background-color: transparent !important;
}
@media only screen and (max-width: 320px) {
	#footer .gform_wrapper.gravity-theme #field_submit {
		left: 238px;
	}
}
#footer .gform_wrapper.gravity-theme #field_submit .gform_image_button {
	height: 32px !important;
}
#footer .gform_wrapper.gravity-theme #field_submit .button {
	padding: 0 !important;
}
#footer .gform_wrapper.gravity-theme .gfield input.medium, 
#footer .gform_wrapper.gravity-theme .gfield select.medium {
	width: 100%;
	color: #000;
}
#footer .gform_footer {
	display: none;
}
.testimonials .font-secondary {
	transform: translateY(30px);
}

/* footer Latham NY page */
.page-id-1006 #footer .patientbutton {
	display: none;
}
/* settings 

Primary color: #131D3C (Navy Blue)
Secondary color: #CB7389 (Pink)
Tertiary color: #5A5837 (green)
Quaternary color: #F5F4F4 (Light Gray)
Quinary color: #FFF6F5 (Light Pink)

*/
