/* ==============================================================================
Theme Name: Phlox Pro Child
Theme URI: http://phlox.pro/go/
Author: averta
Author URI: http://www.phlox.pro
Description: Phlox Pro Child Theme
Template: phlox-pro
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column,two-columns, three-columns, left-sidebar, right-sidebar
Text Domain: phlox-pro-child
================================================================================= */

/* Adjust blog post title */
.single-post .aux-primary .hentry .entry-title {
	color: #204f5d !important;
}

/* Calendly remove scroll bars */
.calendly-inline-widget {
	height: 850px !important;
}

@media all and (min-width: 670px) {

	.calendly-inline-widget {
		height: 950px !important;
	}
}

@media all and (min-width: 901px) {

	.calendly-inline-widget {
		height: 845px !important;
	}
}

@media all and (min-width: 1071px) {

	.calendly-inline-widget {
		height: 910px !important;
	}
}

@media all and (min-width: 1610px) {

	.calendly-inline-widget {
		height: 720px !important;
	}
}

/* Adjust staff card height */
.equal-height-columns .elementor-widget-wrap {
	align-content: stretch;
}

.equal-height-columns .elementor-widget-container,
.equal-height-columns .widget-container,
.equal-height-columns .aux-widget-staff,
.equal-height-columns .aux-staff-container,
.equal-height-columns .aux-staff-content {
	height: 100%;
}

/* Adjust logo size */
.aux-widget-logo img {
	width: 155px !important;
}

/* Align burger menu to the left */
.aux-burger {
	margin-left: auto;
}

/* Adjust submenu font size */
@media all and (max-width: 768px) {
	.aux-fs-menu .aux-master-menu .aux-menu-item > .aux-item-content {
		padding: 8px 0;
		font-size: 1.125em;
	}
}

/* Adjust position of call us cta */
.aux-header .elementor-widget-aux_modern_button {
	display: block !important;
}

@media all and (max-width: 768px) {
	.aux-header .elementor-widget-aux_modern_button {
		position: fixed;
		top: calc(100vh - 30px - 35px - 8px);
		right: 30px;
		transform: translateY(-100%);
	}
}

@media all and (min-width: 700px) and (max-width: 768px) {
	.aux-header .elementor-widget-aux_modern_button {
		right: 50px;
	}
}

@media all and (max-width: 1069px) {
	.aux-header .elementor-widget-aux_modern_button .aux-icon {
		margin-right: 0 !important;
	}

	.aux-header .elementor-widget-aux_modern_button .aux-text {
		display: none !important;
	}
}

/* Add half-flame in background */
.flame-shape {
	position: relative;
}

.flame-shape::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg clip-rule='evenodd' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' viewBox='0 0 246 584' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3CclipPath id='a'%3E%3Cpath clip-rule='evenodd' d='m0 0h243.75v583.333h-243.75z'/%3E%3C/clipPath%3E%3Cpath d='m0 0h243.75v583.333h-243.75z' fill='none'/%3E%3Cg clip-path='url(%23a)' fill-rule='nonzero'%3E%3Cpath d='m243.646 1.75-171.875 171.875c-45.586 45.565-71.225 107.443-71.225 171.896s25.639 126.331 71.225 171.896c31.31 31.393 70.649 53.592 113.708 64.166-.208-.458-.417-.875-.583-1.333-5.139-2.469-10.121-5.252-14.917-8.333-63.531-40.997-82.076-127.009-41.083-190.542l74.75-115.833 115.792 74.75c63.511 41.011 82.052 127.003 41.083 190.541-13.674 21.308-32.989 38.416-55.792 49.417 0 .25 0 .5-.333.708 42.144-10.788 80.61-32.742 111.333-63.541 45.586-45.565 71.225-107.443 71.225-171.896s-25.639-126.331-71.225-171.896z' fill='%23275160'/%3E%3Cpath d='m244.688 489.917h.118c35.681 0 65.042 29.36 65.042 65.041 0 8.688-1.741 17.288-5.119 25.292 22.885-10.98 42.276-28.106 56-49.458 40.969-63.539 22.428-149.531-41.083-190.542l-116-74.75-74.75 115.833c-40.993 63.534-22.448 149.545 41.083 190.542 4.796 3.082 9.778 5.865 14.917 8.333-3.406-8.026-5.161-16.656-5.161-25.375 0-35.633 29.319-64.955 64.953-64.958z' fill='%23275160'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 100% 0;
	opacity: 0.15;
}
