/* ==================== Hidden Rules ====================*/

@media (max-width: 767px) {
	.hiddenS {
		display: none !important;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.hiddenM {
		display: none !important;
	}
}

@media (min-width: 1200px) and (max-width: 1499px) {
	.hiddenL {
		display: none !important;
	}
}

@media (min-width: 1500px) {
	.hiddenXl {
		display: none !important;
	}
}

/* ==================== Header ====================*/
.header {
  width: 100%;
}

.absolute.header {
  position: absolute;
  margin: 0 auto;
}

/* ==================== Overlay ====================*/
.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background: rgba(0, 0, 0, 15%);
    z-index: -1;
    transition: var(--cubic);
    opacity: 0;
    visibility: hidden;
}

.active .overlay {
    opacity: 1;
    visibility: visible;
    z-index: 556;
}

/* ==================== Privacy Policies ====================*/
.page-template-policy-page .site-main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 5rem;
  width: 100%;
  max-width: 1080px;
  min-height: 75vh;
  padding: 5rem 1.5rem;
  margin: 0 auto;
  
}

@media (min-width: 768px) {
  .page-template-policy-page .site-main {
    padding: 5rem 2rem;
  }
}

@media (min-width: 1200px) {
  .page-template-policy-page .site-main {
    padding: 5rem 3rem;
  }
}

@media (min-width: 1500px) {
  .page-template-policy-page .site-main {
    padding: 5rem;
  }
}

.page-template-policy-page .content {
  width: 100%;
}

.page-template-policy-page .content p {
  max-width: unset;
}

.page-template-policy-page .content h2,
.page-template-policy-page .content h3,
.page-template-policy-page .content h4,
.page-template-policy-page .content h5,
.page-template-policy-page .content h6 {
  margin: 2rem 0;
}

/* ==================== Gravity Forms ====================*/

/* Disable Heading */
.gform_heading {
	display: none !important;
}

.form .gform_fields {
	gap: 1rem;
}

/* 
 * Disable labels by default
 * use class "hasLabel" if you want them back! 
*/
.form .gfield_label:not(.form.labels .gfield_label) {
	display: none;
}

/* Style Labels */
.form .gfield_label {
	margin-bottom: 1.rem;
	text-align: left;
	font-weight: 500;
}

/* Style asterixs */
.form .gfield_required_asterisk {
	color: #ff5f5f;
}

/* Style Inputs */
.form .ginput_complex input,
.form .gfield input,
.form .ginput_complex select,
.form .gfield select,
.form .ginput_complex textarea,
.form .gfield textarea {
	display: flex;
	align-items: center;
	text-align: left;
	font-family: var(--text);
	font-weight: 500;
	border: 1.5px solid;
	border-radius: 0.5rem;
	min-height: 4rem;
	padding: 1.25rem;
	background: transparent;
}

/* Full Width Date Picker */
.form .gfield .datepicker {
	width: 100%;
}

/* Style Placeholders */
.form .gfield input::placeholder,
.form .gfield textarea::placeholder,
.form .gf_placeholder {
	opacity: .5;
}

/* Radio Layout */
.form .gfield_radio {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row !important;
	gap: 2rem !important
}

/* Radio Wrapper */
.form .gfield_radio .gchoice {
	display: flex;
	align-items: center;
	gap: .15rem;
}

/* Radio Label */
.form .gfield_radio .gchoice label {
	font-weight: 500;
}

/* 
 * Reset height and border radius
 * on Radio & Checkboxes.
*/
.form .gfield input[type="radio"],
.form .gfield input[type="checkbox"] {
	min-height: unset;
	border-radius: .33rem;
}

/* Footer Layout */
.form .gform_footer {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 3rem;
}

.form .gform_footer input[type="submit"] {
	padding: 1.5rem 2rem !important;
	background: var(--primary) !important;
	width: 100% !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	transition: var(--ease) !important
}

.form .gform_footer input[type="submit"]:hover {
	transform: translateY(-0.25rem);
}

/* Light Form Styles */
.form.light .gfield_label {
	color: var(--altLight);
}

.form.light .ginput_complex input:not([type="checkbox"]):not([type="radio"]),
.form.light .gfield input:not([type="checkbox"]):not([type="checkbox"]),
.form.light .ginput_complex select,
.form.light .gfield select,
.form.light .ginput_complex textarea,
.form.light .gfield textarea {
	color: var(--light);
	border-color: (--light);
	background: rgba(255, 255, 255, 7.5%);
}

.form.light .ginput_complex select option,
.form.light .gfield select option {
	color: initial;
}

.form.light .gfield_radio .gchoice label {
	color: var(--altLight)
}

.form.light .gfield--input-type-consent * {
	color: var(--light);
}

.form.light .gfield input[type="radio"]::before,
.form.light .gfield--input-type-consent input::before {
	color: var(--light);
	background: var(--light);
}

.form.light .gform_footer input[type="submit"] {
	background: var(--light) !important;
	color: var(--primary) !important;
}

/* ==================== Marquees ====================*/

:root {
    --marqueeTransformLeft: 0;
    --marqueeTransformRight: 0;
}

.marquees {
    transform: scale(1.1);
}

@media (min-width: 768px) {
	.marquees {
		transform: scale(1.05);
	}
}

.marquee {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    margin: auto;
    width: 125%;
    overflow: hidden;
    padding: 3rem 0;
    background: var(--primary);
    box-sizing: 5px 5px 45px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
	.marquee {
		padding: 3.5rem 0;
	}
}

.marqueeWrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
    transform-origin: center;
}

@media (min-width: 768px) {
	.marqueeWrapper {
		gap: 3rem;
	}
}

.marqueeHeading {
    white-space: nowrap;
}

.marquee.tiltRight {
    transform: rotate(-10deg);
    z-index: 1;
    background: var(--accent);
}

@media (min-width: 768px) {
	.marquee.tiltRight {
		transform: rotate(-5deg);
	}
}

.marquee.tiltLeft {
    transform: rotate(10deg);
    z-index: 2;
}

@media (min-width: 768px) {
	.marquee.tiltLeft {
		transform: rotate(5deg);
	}
}

.marquee.tiltRight .marqueeWrapper {
    animation: marqueeRight 30s linear infinite;
}

.marquee.tiltLeft .marqueeWrapper {
    animation: marqueeLeft 30s linear infinite;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
   }
    100% {
        transform: translateX(calc(-0.33 * var(--marqueeTransformLeft)));
   }
}

@keyframes marqueeRight {
    0% {
        transform: translateX(0);
   }
    100% {
        transform: translateX(calc(0.33 * var(--marqueeTransformRight)));
   }
}

/* ==================== Default Blog Post ====================*/

.single-post:not(.elementor-template-full-width) #header {
	 position: unset;
	 background: var(--primary);
}

 .single-post:not(.elementor-template-full-width) .post {
	 display: flex;
	 flex-direction: column;
	 justify-content: center;
	 align-items: center;
	 width: 100%;
	 max-width: 850px;
	 margin: 0 auto;
	 padding: 5rem 1.5rem;
}

 @media (min-width: 768px) {
	 .single-post:not(.elementor-template-full-width) .post {
		 padding: 5rem 2rem;
	}
}

 @media (min-width: 1200px) {
	 .single-post:not(.elementor-template-full-width) .post {
		 padding: 7.5rem 3rem;
	}
}

 .single-post:not(.elementor-template-full-width) .entry-header {
	 display: flex;
	 flex-direction: column;
	 gap: 1rem;
}

 @media (min-width: 768px) {
	 .single-post:not(.elementor-template-full-width) .entry-header h1 {
		 text-align: center;
	}
}

 .single-post:not(.elementor-template-full-width) .entry-meta {
	 display: flex;
	 align-items: center;
	 gap: 0.5rem;
}

 @media (min-width: 768px) {
	 .single-post:not(.elementor-template-full-width) .entry-meta {
		 justify-content: center;
	}
}

 .single-post:not(.elementor-template-full-width) .entry-meta a {
	 color: var(--primary);
	 font-weight: 700;
}

 .single-post:not(.elementor-template-full-width) .post-thumbnail {
	 width: 100%;
	 min-height: 376px;
	 margin: 1.5rem auto;
	 position: relative;
	 overflow: hidden;
}

 .single-post:not(.elementor-template-full-width) .post-thumbnail img {
	 position: absolute;
	 inset: 0;
	 margin: auto;
	 width: 100%;
	 height: 100%;
	 object-fit: cover;
	 object-position: center;
}

 @media (min-width: 768px) {
	 .single-post:not(.elementor-template-full-width) .post-thumbnail {
		 min-width: 576px;
	}
}

 .single-post:not(.elementor-template-full-width) .entry-footer {
	 display: none;
}