/* 
Theme Name: RiverStone Theme
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Layerslider Styles - Added Dec. 1 2023 */

.slider-button.ls-icon-layer {
	display: flex!important;
	justify-content: right;
	align-items: center;
    border-radius: 100px 100px 100px 100px;
	overflow: hidden;
}

.left.slider-button.ls-icon-layer {
 	justify-content: right;	
}

.right.slider-button.ls-icon-layer:hover {
	padding-left: 40px!important;
    border-radius: 50px 100px 100px 50px!important;
}

.left.slider-button.ls-icon-layer:hover {
	transform: translatex(-40px);
	padding-right: 40px!important;
    border-radius: 100px 50px 50px 100px!important;
}

.slider-button.ls-icon-layer::after {
	content: '';
    position: absolute;
    width: 70px;
    height: 2px;
    background: #fff;
	transition: ease-in-out .3s;
}

.right.slider-button.ls-icon-layer::after {
content: '';
    right: 120%;
}

.left.slider-button.ls-icon-layer::after {
content: '';
    left: 120%;
}

.right.slider-button.ls-icon-layer:hover::after {
    right: 29%;
}


.left.slider-button.ls-icon-layer:hover::after {
    left: 29%;
}

/* ————————————— */

.polaroid {
	z-index: 1;
}

.polaroid .elementor-widget-container  {
    background: #fff;
  padding: 1rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0,0,0,0.2);
    filter: grayscale(100%);
      transform: scale(0.8, 0.8) rotate(-5deg);
  transition: all 0.35s;
}

.polaroid.right .elementor-widget-container {
	      transform: scale(0.8, 0.8) rotate(5deg);
}

.polaroid .elementor-widget-container:hover {
  filter: none;
  transform: scale(1, 1) rotate(0deg) !important;
  transition: all 0.35s;
}

.polaroid .elementor-widget-container:before {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
    transform: rotate(0deg);
  height: 100%;
  width: 100%;
  bottom: 0px;
  left: 0px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
  
}

/* Style Details Collapsed Text */

details summary {
	position: absolute;
    bottom: -26px;
	padding-left: 5px;
	    font-weight: 600;
}

details summary::marker {
	color: transparent;
}

details[open] summary {
    color: transparent;
}

details summary::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    visibility: visible;
    z-index: 9;
    left: 0;
    top: 6px;
    color: #fff;
    background-image: url(/wp-content/uploads/Expand-Arrow.png);
    background-size: 11px;
    background-position: center center;
}

details[open] summary::before {
	background-image: url(/wp-content/uploads/Collapse-Arrow.png);
}

details[open] summary:after {
    content: 'Read Less';
    position: absolute;
    top: 0;
    left: 16px;
    color: #fff;
}

/* ---- */

ul.sub-menu {
	z-index: 9!important;
}

html,
body{
  width:100%;
  overflow-x:hidden;
	scroll-padding-top: 110px;
}


/* Provider Grid */

.people-grid .elementor-widget-theme-post-featured-image img {
	aspect-ratio: 3.8/4;
    object-fit: cover;
    object-position: top;
}

.people-grid h3,
.people-grid h4 {
	color: #fff;
	font-weight: 600;
	text-align: center;
}

.people-grid h3 {
	font-size: 24px;
    margin: 0px;
}

.people-grid h4 {
	font-size: 15px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
	    margin-top: 0px;
    margin-bottom: 8px;
}

.people-grid h4:before,
.people-grid h4:after {
    content: '';
    border-top: 2px solid #ffa300;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
    max-width: 100px;
}

.people-grid h4:after {
    margin: 0 0 0 20px;
}

/* Header Lines Accent */

.lines-accent .elementor-heading-title {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lines-accent .elementor-heading-title:before,
.lines-accent .elementor-heading-title:after {
    content: '';
    border-top: 2px solid #ffa300;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
	width: 100px;
}

.lines-accent .elementor-heading-title:after {
    margin: 0 0 0 20px;
}

.right-line-accent .elementor-heading-title {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

.right-line-accent .elementor-heading-title:after {
    content: '';
    border-top: 3px solid #ffa300;
    margin: 0.3em 0 0 20px;
    flex: 1 0 20px;
    width: 100px;
    max-width: 100px;
}

.under-construction::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width:100%;
	height:100%;
	background: red;
	opacity: .3;
	pointer-events: none;
}

/* FONTS */

	b, strong {
		font-weight: 600;
	}

	blockquote {
		background: #b1ecfa;
		width: 100%;
		margin: 0px;
		padding: 30px;
		border-radius: 2px 50px;
		margin: 15px 0px;
	}

	blockquote p {
		margin:0px;
	}

	blockquote h5 {
		margin: 0px;
		line-height: 1.3em!important;
	}

/* PAGE HEADERS */

	.riverstone-header-content,
	.bdt-prime-slider-skin-general div.bdt-slider-excerpt {
		width: fit-content;
		max-width: 920px;
	}

	.header-cta h4 {
		line-height: 1em!important;
	}

	.header-cta > .elementor-element:hover * {
		color: #ffa300!important;
		fill: #ffa300!important;
		transition: ease-in-out .3s;
	}

	h2.subtitle { 
		color: #fff; 
	}

@media screen and (max-width:767px) {
		.subtitle .elementor-heading-title { 
		font-size: 24px!important;
	}
}


/* HOMEPAGE SLIDER */



.bdt-position-large {
    width: 100%;
    max-width: 1440px;
    padding-left: 50px;
}



.bdt-slideshow-item {
    justify-content: flex-start;
    align-items: center;
}

.bdt-prime-slider-skin-general .bdt-prime-slider-desc .bdt-slider-excerpt {
    margin: 0 0 10px;
    background: rgba(0, 0, 0, 0.2);
    text-shadow: rgb(0 0 0 / 40%) 2px 2px 2px;
    padding: 50px;
    border-radius: 2px 2px 50px 2px;
}

.bdt-prime-slider-skin-general div.bdt-slider-excerpt h1,
.bdt-prime-slider-skin-general div.bdt-slider-excerpt h2 {
 	font-family: 'Agenda';
    font-weight: 600;
    font-size: 57px;
    line-height: 1em;
    margin-bottom: 10px;
    color: #fff;
}

.bdt-prime-slider-skin-general .bdt-prime-slider-previous,
.bdt-prime-slider-skin-general .bdt-prime-slider-next {
    /*margin-bottom:7%!important;*/
	top: 5%;
}

@media screen and (max-width: 1024px) {
	
	.bdt-slideshow-item {

	}
	
	.bdt-position-large {
		padding-left: 0px;
	}
	
	.bdt-prime-slider-skin-general .bdt-prime-slider-desc .bdt-slider-excerpt {
		padding: 20px;	
	}
	
	.bdt-prime-slider-skin-general div.bdt-slider-excerpt h1, 
	.bdt-prime-slider-skin-general div.bdt-slider-excerpt h2 {
		font-size: 43px;
	}
	
	.bdt-prime-slider-skin-general .bdt-prime-slider-previous,
	.bdt-prime-slider-skin-general .bdt-prime-slider-next {
		margin-bottom:14%!important;
	}
	
	.bdt-scroll-down-wrapper {
		display: none;
	}
	
}


/* SERVICE POST TYPE TEMPLATE */

	.services-template-default .elementor-button {
		color: #ffa300;
	}

	.services-template-default h3 {
		margin-top: 30px;
	}

	.services-template-default .elementor-button:hover {
		background-color: #7AD0E5;
	}

	.appointments-button > a {
		padding: 15px 10px 12px 15px;
		background: rgba(255,163,0,.2);
		min-height: 0px;
		height: 27px;
		align-self: center;
		border-radius: 0px 17px;
		margin-bottom: 6px;
	}

	.rs-inner-content {
		max-width: 500px;
	}

/* MAIN MENU */

	.sub-menu {
		padding: 15px 0px!important;
	}

	.sub-arrow {
		font-size: 13px;
		padding-left: 3px!important;
	}

	.sticky-header .top-bar-bg {
		opacity:0;
		transition: ease-in-out .3s;
	}

	.sticky-header.elementor-sticky--effects .top-bar-bg {
		opacity:1;
	}

	.sticky-header .elementor-widget-theme-site-logo a {
			display: contents;
		height: 120px;
		transition: ease-in-out .3s;
	}

	.sticky-header.elementor-sticky--effects .elementor-widget-theme-site-logo a {
		display: block;
		transition: ease-in-out .3s;
		height: 90px;
	}

	.sticky-header.elementor-sticky--effects .main-nav-wrap .e-con-inner {
		padding-top: 0px!important;
		transition: ease-in-out .3s;
	}

	.sticky-header.elementor-sticky--effects img {
		opacity: 1;
		transition: ease-in-out .3s;
    width: 100%;
    height: 100%;
    object-fit: contain;
	}

	.elementor-search-form__container {
		border-radius: 0px 15px;
			flex-direction: row-reverse;
			padding-right: 10px;
	}

/* Design Elements */

	.highlight-grid p {
		margin-bottom: 0px;
	}

	.icon-button-grid .icon-button h4 {
		line-height: 1em!important;
	}

	.icon-button-grid .icon-button:hover h4 {
		color: #fff;
	}

	.icon-button-grid .icon-button img {
		transition: ease-in-out .1s;
	}

	.icon-button-grid .icon-button:hover img {
		filter: brightness(0) invert(1);
	}

/* Services Image Buttons for Overview Pages */ 

.services-image-button img {
	transition: ease-in-out .3s;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.services-image-button:hover img {
    border-radius: 2px 50px;
}

@media screen and (max-width: 767px) {
    .services-image-button img {
    aspect-ratio: 1.618 / 1;
    object-fit: cover;
}
}


/* Clinic Services Grid */

.clinic-services-item .elementor-heading-title {
	transition: ease-in-out .1s;
}

.clinic-services-item:hover .elementor-heading-title {
	color: #fff!important;
}

/* FAQ Accordion */

.faq-accordion .elementor-accordion-icon svg {
	height: .7em!important;
}

/* Clinic Services */

@media screen and (max-width: 767px) {
.clinic-list .elementor-widget-container ul {
    padding-left: 15px;
	}
}

@media screen and (min-width: 767px) {
.clinic-list .elementor-widget-container ul {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
	list-style-type: none;
}

.clinic-list .elementor-widget-container li {
	margin: 10px;
    padding: 10px 30px 8px;
    background: #c0e9f6;
    border-radius: 2px 30px;
	transition: ease-in-out .3s;
	box-shadow: 0px 3px 0px #00689200;
}

.clinic-list .elementor-widget-container li:hover {
    transform: scale(1.05);
    box-shadow: 0px 1px 3px -1px #00364c;
    background: #006892;
    color: #fff;
    cursor: pointer;
}
}

.clinic-service-item, .clinic-service-item:before {
	border-radius: 2px;
}

.clinic-service-item {
    transition: ease-in-out .3s;
    outline: solid 5px #00689200;
}

.clinic-service-item:hover {
    outline: solid 3px #006892;
    transition: ease-in-out .3s;
}



.clinic-service-item .elementor-widget-heading,
.clinic-service-item .elementor-widget-heading .elementor-widget-container {
	width: 100%;
    aspect-ratio: 1.618/1;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 3px;
}

.clinic-service-item h3  {
    box-shadow: 0px 1px 2px #00587c;
    background: #c6ebf4e3;
    border-radius: 2px 15px;
    padding: 10px 20px 7px;
    display: inline-block;
    transition: ease-in-out .3s;
}

.clinic-service-item:hover h3 {
    background: #006892;
    color: #fff!important;
    transform: translate(0px, 10px);
}

/* FORMS */

	.gform_required_legend {
		display: none;
	}

/* FEEDBACK FORM */

	.feedback-form .gfield_radio {
		display: flex;
	}

	.feedback-form .gchoice {
		display: flex;
		flex-direction: column-reverse;
		width: 25%;
		justify-content: center;
		align-items: center;
		background: #f6f6f6;
		padding-bottom: 8px;
		border: solid 1px #efefef;
	}

	.feedback-form .gchoice label {
		max-width: 100%!important;
		width: 100%;
		text-align: center;
		padding: 8px;
		background: #e7e7e7;
		margin-bottom: 8px!important;
		position: relative;
	}

	.feedback-form .gchoice label::after {
		content: '';
		position: absolute;
		top: 100%;
		left: 0;
		height: 100%;
		width: 100%;
	}

/* Mobile Menu */ 

@media screen and (max-width: 1024px) {
	.elementor-nav-menu--dropdown.elementor-nav-menu__container {
		margin-top: 0px!important;
	}

	.elementor-nav-menu--dropdown .elementor-item:focus {
		background-color: #3B95BA!important;
		color: #fff!important;
	}
	
	.sub-menu {
		background-color: #B1ECFA!important;
	}
	
		.elementor-nav-menu--dropdown .elementor-item:focus,
	.appointments-button > a {
		background-color: #fff;
		height: unset;
		border-radius: 0px;
		margin-bottom: 0px;
	}
}