/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/***********/
/* Helpers */
/***********/

.villa_child [class^="wp-image-"]img.alignright {
	max-width: 50%;	
}


.hidden {
	display: none !important;
}

/******************/
/* Custom Styling */
/******************/

/** TOC as Quicknav with flex
 * Restyled the Table of Contents element to look like a inline quicknav situated in a dynamically sticky container
 * Harald Östreicher
 * 2024-08
 * */

.toc-to-quicknav {} /* Class on TOC element */

.toc-to-quicknav .awb-toc-el__content {
	min-height: 60px;
}

.toc-to-quicknav.awb-toc-el .awb-toc-el__list {
	display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: var(--awb-align-items);
    justify-content: var(--awb-justify-content);
    padding: 0;
    font-family: var(--awb-fusion-font-family-typography);
    font-style: var(--awb-fusion-font-style-typography);
    font-weight: var(--awb-fusion-font-weight-typography);
    text-transform: var(--awb-text-transform);
    margin-block-start: 0;
    margin-block-end: 0;    
    position: relative;
    transition: min-height calc(var(--awb-transition-time) * 1ms) cubic-bezier(.42, .01, .58, 1);
}

.toc-to-quicknav li.awb-toc-el__list-item {
    position: relative;
    display: flex;
    justify-content: center;
    margin-left: calc(.25em / 2); /* var(--awb-gap) */
    margin-right: calc(.25em / 2);
    line-height: var(--awb-line-height, inherit);
    letter-spacing: var(--awb-letter-spacing);
    border-radius: .5em;
	margin-bottom: 0.25em; /* same as .onpage-quicknav .awb-menu__main-li */
}

.toc-to-quicknav.awb-toc-el .awb-toc-el__item-anchor, .toc-to-quicknav.awb-toc-el .awb-toc-el__item-anchor:focus, .toc-to-quicknav.awb-toc-el .awb-toc-el__item-anchor:hover {
	color: var(--awb-color1);
}

.toc-to-quicknav li.awb-toc-el__list-item--highlighted {}

.toc-to-quicknav a.awb-toc-el__item-anchor {
    display: flex !important;
    align-items: center;
    justify-content: center;
	background-color: var(--awb-color7);
	color: var(--awb-color1);
}

.toc-to-quicknav a.awb-toc-el__item-anchor:hover {
	background-color: var(--awb-item-highlighted-bg-color); /* 	background-color: var(--awb-color7); */
}

/* END TOC as quicknav */

/* Quick Nav on long pages, e.g. Clinics */
.onpage-quicknav .awb-menu__main-li {
	margin-bottom: 0.5em;
    /* box-shadow: 0 1px 3px #0000002e; */
}

.villa_child .tablepress {
    --head-text-color: var(--awb-color1);
	--head-bg-color: var(--awb-color5);
}

/***********************************************/
/* Floating Buttons and Off Canvas for contact */
/***********************************************/

/* so you can click through */
.villa_child .pointer-events-none, .villa_child .container-floating-contact {
	pointer-events: none;
}
.villa_child .pointer-events-all {
	pointer-events: all;	
}

.villa_child .container-floating-contact {
	position: fixed !important;
	top: 45vh !important;
}


.villa_child .gravity-theme.ui-datepicker[style], .villa_child .gform-theme--foundation.ui-datepicker {
    z-index: 999999 !important;
}


.villa_child .gm-style .gm-style-iw {
    font-size: 17px;
}