/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.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
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* box hover */
.box-hover {
	transform: scale(1);
	transition: transform .5s, box-shadow .5s;
	margin: 15px;
}

.box-hover:hover {
	transform: scale(1.05);
	box-shadow: 1px 5px 33px 2px rgb(0 0 0 / 12%);
	border-radius: 15px;
}
/* END: box hover */

/* myFinances App landing page */
.underline-to-side .elementor-heading-title {
	display: inline-block;
	position: relative;
}

.underline-to-side.left .elementor-heading-title::after {
	content: '';
	position: absolute;
	bottom: -6px;
	right: 0;
	width: 100vw;
	height: 2px;
	background-color: currentcolor;
}

.myfinances-experts .elementor-column.elementor-element.elementor-element > .elementor-element-populated >  .elementor-background-overlay {

    background-size: auto 52px;
    background-position: 42px center;

}
/* END: myFinances App landing page */

.elementor-widget-theme-post-content ol {
	margin-block-end: .9rem;
}

/* read more toggle functionality */
.rdv-team-member__expand {
	display: none;
}

.rdv-team-member__expand.is-visible {
	display: block;
}

/* END: read more toggle functionality */

/* post tag list */
.term-decoration .elementor-post-info__terms-list {
	color: #ecedf0;
}

.term-decoration .elementor-post-info__terms-list .elementor-post-info__terms-list-item {
	padding: .4em .75em;
	background-color: #ecedf0;
	color: var( --e-global-color-017900e );
	border: 1px solid #ecedf0;
}

.term-decoration .elementor-post-info__terms-list .elementor-post-info__terms-list-item:hover {
	background-color: #e2e6ea;
	color: var( --e-global-color-017900e );
	border-color: #dae0e5;
}
/* END: post tag list */


/* IHT Calculator form */
/* TODO: extract to separate file and load conditionally */

.IHTButton.IHTButton--cta {
	display: inline-block;
	margin-top: 5px;
	background-color: var( --e-global-color-ab142f3 );
	color: var( --e-global-color-5ab2ff8 );
	border-radius: 5px 5px 5px 5px;
	padding: 10px 20px 10px 20px;
}

.IHTForm label {
	display: inline-block;
	margin-bottom: 0.5rem;
}

.IHTForm input {
	display: block;
	width: 215px;
	max-width: 100%;
	padding: 1px 2px;
	border: 1px solid rgb(118, 118, 118);
}

.IHTForm .radioWidth {
	display: flex;
}

.IHTForm .radioWidth label {
	width: 50px;
	margin: 0;
}

.IHTForm .radioWidth input {
	display: inline-block;
	width: auto;
}

.IHTForm .IHTButton {
	margin: 30px 0;
}

.IHTForm .tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.IHTForm .tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  width: 200px; /* adjust as needed */
  background: #333;
  color: #fff;
  text-align: centre;
  border-radius: 4px;
  padding: 6px 8px;
  position: absolute;
  z-index: 10;
  bottom: 125%; /* show above the icon */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease-in-out;
  font-size: 13px;
  line-height: 1.4;
}

/* show on hover/focus */
.IHTForm .tooltip:hover .tooltiptext,
.IHTForm .tooltip:focus .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* replace the FA icon with a CSS-drawn one */
i.fa.fa-info-circle {
  display: inline-block;
  position: relative;
  bottom: 2px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  font-weight: 600;
  font-family: serif;
  font-size: 12px;
  border-radius: 50%;
  border: none;
  color: #fff;
  background-color: #feae35;
  margin-left: 2px;
  cursor: help;
  font-style: normal;
}
/* replace FA icon in case loaded by something else */
i.fa.fa-info-circle::before {
	content: "i";
}


.IHTResults {
	display: none;
	text-align: center;
}

.IHTResults .innerBoxResults {
	background-color: #fff;
	padding: 20px 40px 40px 40px;
	border: 1px solid #d7d7d7;
}

.IHTResults .innerBoxResults .results {
	list-style: none;
	margin: 0;
	padding: 0;
}

.IHTResults .innerBoxResults .sideCTA h2 {
	margin: 30px 0;
}
.IHTResults .innerBoxResults .potentialIHT {
	font-size: 30px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 1rem;
}

.iht-calculator ul.estateList {
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.iht-calculator .estateList li {
	font-size: 16px;
	color: #000;
	font-weight: bold;
	margin-bottom: 10px;
	margin-left: 0;
}

.iht-calculator.sideCTA {
	text-align: center;
}

/* END: IHT Calculator form */
