/*
Theme Name: Polaris14
Template: twentytwentyfive
Version: 1.0
*/

:where(.wp-site-blocks) > * {
	margin-block-start: 0;
}

.elementor-counter .elementor-counter-title {
	text-align: center;
}

header {
	position: fixed;
	z-index: 10;
	width: 100%;
	background-color: rgba(255, 255, 255, 0);
	transition: background .3s;
}
header.sticky {
	background-color: rgba(255, 255, 255, 1);
}

h3#name {
  font-weight: 700;
  font-size: 29px;
  line-height: 1.7em;
}
h3#name span {
  color: #ebbd5e;
}


.stacked-gallery .gallery {
	height: 500px;
	position: relative;
}
.stacked-gallery figure.gallery-item {
	width: 100% !important;
	max-width: 55% !important;
	position: absolute !important;
}
.stacked-gallery figure.gallery-item img {
	border-radius: 15px;
	height: unset !important;
	width: unset !important;
}
.stacked-gallery figure.gallery-item:nth-of-type(1) {
	left: 5% !important;
	top: 0% !important;
}
.stacked-gallery figure.gallery-item:nth-of-type(2) {
	left: 10% !important;
	bottom: 0% !important;
}
.stacked-gallery figure.gallery-item:nth-of-type(3) {
	left: 47% !important;
	top: 33% !important;
}

*:has(> hr.wave--before) {
	mask-image: linear-gradient(#000, #000), url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik0wIDUxLjc2YzM2LjIxLTIuMjUgNzcuNTctMy41OCAxMjYuNDItMy41OCAzMjAgMCAzMjAgNTcgNjQwIDU3IDI3MS4xNSAwIDMxMi41OC00MC45MSA1MTMuNTgtNTMuNFYwSDB6IiBmaWxsLW9wYWNpdHk9Ii4zIi8+PHBhdGggZD0iTTAgMjQuMzFjNDMuNDYtNS42OSA5NC41Ni05LjI1IDE1OC40Mi05LjI1IDMyMCAwIDMyMCA4OS4yNCA2NDAgODkuMjQgMjU2LjEzIDAgMzA3LjI4LTU3LjE2IDQ4MS41OC04MFYwSDB6IiBmaWxsLW9wYWNpdHk9Ii41Ii8+PHBhdGggZD0iTTAgMHYzLjRDMjguMiAxLjYgNTkuNC41OSA5NC40Mi41OWMzMjAgMCAzMjAgODQuMyA2NDAgODQuMyAyODUgMCAzMTYuMTctNjYuODUgNTQ1LjU4LTgxLjQ5VjB6Ii8+PC9nPjwvc3ZnPg==');
	mask-repeat: no-repeat, no-repeat;
	mask-position: top left, top left;
	mask-size: 100% 100%, 100% 100px;
	mask-composite: exclude;
	background-size: 100% 100px;
	margin-top: -100px;
	padding-top: 100px;
}
hr.wave--before {
	border: none;
	height: 0 !important;
	z-index: -1;
}

hr.fade--after {
	background-color: white !important;
	background-size: 100% 300px;
	mask-image: linear-gradient(transparent, black);
	width: 100%;
	height: 300px !important;
	margin-top: -200px;
	z-index: -1;
}
hr.fade--before {
	background-color: white !important;
	background-size: 100% 300px;
	mask-image: linear-gradient(black, transparent);
	width: 100%;
	height: 300px !important;
	margin-bottom: -200px;
	z-index: -1;
}

.wpcf7 form {
	background-color: #2E7D93;
	border-radius: 10px;
	padding: 20px;
	color: white;
	font-family: 'Open Sans', sans serif;
	font-size: 16px;
	font-weight: 400;
}
.wpcf7 form input,
.wpcf7 form textarea
{
	width: 100%;
	border: none;
	outline: none;
	background: #eee;
	color: #2E7D93;
	padding: 10px;
}
form.polaris-contact-form input:focus,
form.polaris-contact-form textarea:focus
{
	background: white;
}
form.polaris-contact-form .wpcf7-not-valid-tip {
	font-size: 14px;
	color: #eee;
	font-style: italic;
	text-align: right;
}
form.polaris-contact-form.invalid .wpcf7-response-output {
	border-color: #eb5b45;
	margin: 0;
}
form.polaris-contact-form.polaris-contact-form-red {
	background-color: #EB5B45;
}
form.polaris-contact-form.polaris-contact-form-red input,
form.polaris-contact-form.polaris-contact-form-red textarea
{
	color: black;
}
form.polaris-contact-form.polaris-contact-form-red.invalid .wpcf7-response-output {
	border-color: white;
}
