/**
* Theme Name: Agro Child
* Description: This is a child theme of Agro, generated by Merlin WP.
* Author: <a href="http://ninetheme.com/about">Ninetheme</a>
* Template: agro
* Version: 1.6.7
*/


/* Variables */
:root {
	--phg-color-nitros: #0d9444;
	--phg-color-nitros-light: #5dab2b;

	--phg-color-vita: #008080;
	--phg-color-vita-light: #66b2b2;

	--phg-color-exponent: #a67c00;
	--phg-color-exponent-light: #bf9b31;

	--phg-color-guardian: #f66e11;
	--phg-color-guardian-light: #f39c13;

	--phg-color-slingshot: #783201;
	--phg-color-slingshot-light: #ab6634;

	--phg-color-phinisher: #92cf43;
	--phg-color-phinisher-light: #c1f77f;
}

/* Color utilities */
.phg-color--nitros {
	color: var(--phg-color-nitros);
}
.phg-color--vita {
	color: var(--phg-color-vita);
}
.phg-color--exponent {
	color: var(--phg-color-exponent);
}
.phg-color--guardian {
	color: var(--phg-color-guardian);
}
.phg-color--slingshot {
	color: var(--phg-color-slingshot);
}
.phg-color--phinisher {
	color: var(--phg-color-phinisher);
}

/* Layout */
.row .row {
	margin-left: 0;
	margin-right: 0;
}

.container .container {
	padding-left: 0;
	padding-right: 0;
}

/* Header */
.top-bar.fixed {
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

/* "PHG Info" element */

/* - Layout */
.phg-info .phg--row {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.phg-info .phg--col-media {
	text-align: center;
}
.phg-info .phg--col.phg--width-100 {
	width: 100%;
}
.phg-info .phg--col.phg--width-30 {
	width: calc((100% - 30px) * 0.3);
}
.phg-info .phg--col.phg--width-40 {
	width: calc((100% - 30px) * 0.4);
}
.phg-info .phg--col.phg--width-50 {
	width: calc((100% - 30px) * 0.5);
}
.phg-info .phg--col.phg--width-60 {
	width: calc((100% - 30px) * 0.6);
}
.phg-info .phg--col.phg--width-70 {
	width: calc((100% - 30px) * 0.7);
}

/* - Text */
.phg-info .phg--title.phg--bold-1 .phg--part-1,
.phg-info .phg--title.phg--bold-2 .phg--part-2 {
	font-weight: 900;
}

.phg-info .phg--description h4 {
	font-weight: normal;
}

/* - Media */
.phg-info .phg--media {
	border-radius: 15px;
}

/* - Lightbox */
.phg-info .phg--lightbox-link {
	display: block;
	position: relative;
}

.phg-info .phg--lightbox-link .phg--image {
	filter: brightness(0.75);
}

.phg-info .phg--lightbox-link .phg--icon {
	align-items: center;
	border: 4px solid white;
	border-radius: 50%;
	display: flex;
	height: 100px;
	justify-content: center;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100px;
}

.phg-info .phg--lightbox-link .phg--icon .phg--arrow {
	border-bottom: 20px solid transparent;
	border-left: 20px solid white;
	border-top: 20px solid transparent;
	left: 5px;
	position: relative;
}

/* - Color preset */
.phg-info.phg--color-preset--nitros {
	--phg-primary-color: var(--phg-color-nitros);
	--phg-secondary-color: var(--phg-color-nitros-light);
}
.phg-info.phg--color-preset--vita {
	--phg-primary-color: var(--phg-color-vita);
	--phg-secondary-color: var(--phg-color-vita-light);
}
.phg-info.phg--color-preset--exponent {
	--phg-primary-color: var(--phg-color-exponent);
	--phg-secondary-color: var(--phg-color-exponent-light);
}
.phg-info.phg--color-preset--guardian {
	--phg-primary-color: var(--phg-color-guardian);
	--phg-secondary-color: var(--phg-color-guardian-light);
}
.phg-info.phg--color-preset--slingshot {
	--phg-primary-color: var(--phg-color-slingshot);
	--phg-secondary-color: var(--phg-color-slingshot-light);
}
.phg-info.phg--color-preset--phinisher {
	--phg-primary-color: var(--phg-color-phinisher);
	--phg-secondary-color: var(--phg-color-phinisher-light);
}

.phg-info[class*="phg--color-preset--"] .phg--title.phg--bold-1 .phg--part-1,
.phg-info[class*="phg--color-preset--"] .phg--title.phg--bold-2 .phg--part-2 {
	color: var(--phg-primary-color);
}

.phg-info[class*="phg--color-preset--"] .phg--description h4 {
	color: var(--phg-secondary-color);
}

.phg-info[class*="phg--color-preset--"] .phg--button {
	border-color: var(--phg-primary-color);
}
.phg-info[class*="phg--color-preset--"] .phg--button:hover {
	background-color: var(--phg-secondary-color);
	color: white !important;
}

/* - Responsive */
@media (min-width: 992px) {
	.phg-info .phg--media {
		width: 100%;
	}
}

@media (max-width: 991px) {
	.phg-info .phg--col-text {
		order: 2;
	}
	.phg-info .phg--col-media {
		order: 1;
	}
	.phg-info .phg--col.phg--width-30,
	.phg-info .phg--col.phg--width-40,
	.phg-info .phg--col.phg--width-50,
	.phg-info .phg--col.phg--width-60,
	.phg-info .phg--col.phg--width-70 {
		width: 100%;
	}
}

/* YouTube embed */
.phg-youtube-wrapper {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	width: 100%;
}

.phg-youtube-embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/* Magnific Popup */
.mfp-bg {
	z-index: 10000;
}

.mfp-wrap {
	z-index: 10010;
}

.mfp-iframe-holder .mfp-content {
	max-width: 1300px;
}

/* Jarallax */
.jarallax-bg div[id^="jarallax-container-"] {
	clip-path: inset(0 0 0 0 round 15px);
}


/* Sticky form */
@media (min-width: 768px) {
	body.phg--has-sticky #app {
		overflow: visible;
	}

	.nt-column.phg--has-sticky .nt-shortcode-wrapper {
		height: 100%;
	}

	.phg-sticky {
		position: sticky;
		top: 140px;
	}
}

.phg-sticky-form {
	border: 1px solid lightgray;
	border-radius: 15px;
}


/* "PHG Page Hero" element */
.phg-page-hero .phg--button {
	margin-top: 15px;
}

.phg-page-hero.phg--button-color-preset--nitros {
	--phg-primary-color: var(--phg-color-nitros);
	--phg-secondary-color: var(--phg-color-nitros-light);
}
.phg-page-hero.phg--button-color-preset--vita {
	--phg-primary-color: var(--phg-color-vita);
	--phg-secondary-color: var(--phg-color-vita-light);
}
.phg-page-hero.phg--button-color-preset--exponent {
	--phg-primary-color: var(--phg-color-exponent);
	--phg-secondary-color: var(--phg-color-exponent-light);
}
.phg-page-hero.phg--button-color-preset--guardian {
	--phg-primary-color: var(--phg-color-guardian);
	--phg-secondary-color: var(--phg-color-guardian-light);
}
.phg-page-hero.phg--button-color-preset--slingshot {
	--phg-primary-color: var(--phg-color-slingshot);
	--phg-secondary-color: var(--phg-color-slingshot-light);
}
.phg-page-hero.phg--button-color-preset--phinisher {
	--phg-primary-color: var(--phg-color-phinisher);
	--phg-secondary-color: var(--phg-color-phinisher-light);
}

.phg-page-hero[class*="phg--button-color-preset--"] .phg--button {
	background-color: var(--phg-primary-color);
	border-color: var(--phg-primary-color);
	color: white !important;
}
.phg-page-hero[class*="phg--button-color-preset--"] .phg--button:hover {
	background-color: var(--phg-secondary-color);
	color: white !important;
}

/* Header */
.top-bar {
	padding-top: 10px;
}

.logged-in #top-bar {
	top: 32px !important;
}
.top-bar.fixed {
	padding-bottom: 10px;
	padding-top: 10px;
}

.top-bar__logo {
	margin-left: 0;
}

.top-bar.fixed .top-bar__navigation {
	margin-bottom: 0;
}

.top-bar__navigation .menu-item .submenu a,
.top-bar__navigation .menu-item .submenu a:hover,
.top-bar__navigation .menu-item .submenu a:focus {
	color: black;
}

.top-bar__navigation .menu-item .caret {
	color: var(--phg-color-nitros);
}

.top-bar__navigation .custom-btn {
	background-color: var(--phg-color-nitros);
	border-color: var(--phg-color-nitros);
	color: white;
}
.top-bar.fixed .top-bar__navigation .custom-btn {
	background-color: var(--phg-color-nitros);
	border-color: var(--phg-color-nitros);
	color: white;
}

.top-bar.fixed .top-bar__navigation-toggler {
	top: 12px;
}

.top-bar.fixed .top-bar__navigation-toggler span,
.top-bar.fixed .top-bar__navigation-toggler span:after,
.top-bar.fixed .top-bar__navigation-toggler span:before {
	background-color: #404040;
}
.top-bar.fixed .top-bar__navigation-toggler.is-active span,
.top-bar.fixed .top-bar__navigation-toggler.is-active span:after,
.top-bar.fixed .top-bar__navigation-toggler.is-active span:before {
	background-color: white;
}

@media (min-width: 992px) {
	.top-bar__navigation .submenu {
		background-color: #a6d4b8;
		border-radius: 12px;
		min-width: unset;
		width: max-content;
	}
}

@media (max-width: 992px) {
	#top-bar.fixed .top-bar__logo img,
	#top-bar.foxed .top-bar__logo img {
		height: auto;
		max-width: 200px;
		width: auto;
	}
}

@media (max-width: 991px) {
	.top-bar.fixed.is-expanded {
		padding-top: 25px;
	}

	.top-bar.is-expanded .top-bar__inner {
		border: none;
		height: calc(100% - 110px);
		padding: 25px 20px;
		top: 110px;
	}
	.logged-in .top-bar.is-expanded .top-bar__inner {
		height: calc(100% - 142px);
		top: 142px;
	}

	.top-bar__inner > div {
		width: 100%;
	}
	.top-bar.is-expanded .top-bar__inner > div:first-child,
	.top-bar.is-expanded .top-bar__inner::before {
		vertical-align: top;
	}

	.top-bar.is-expanded .top-bar__navigation-toggler {
		top: 27px;
	}

	.top-bar__navigation li {
		margin-top: 20px;
	}

	.top-bar .top-bar__navigation .menu-item a {
		color: white !important;
		font-size: 17px;
	}

	.top-bar__navigation-toggler.is-active + .top-bar__inner span.caret {
		align-items: center;
		display: flex;
		font-size: 16px;
		height: 23px;
		justify-content: center;
		width: 23px;
	}
	.top-bar__navigation-toggler.is-active + .top-bar__inner span.caret:hover,
	.top-bar__navigation span.caret.opened {
		background-color: white;
		color: var(--phg-color-nitros);
	}
	.top-bar__navigation-toggler.is-active + .top-bar__inner span.caret::before {
		position: relative;
		top: 1px;
	}

	.top-bar__navigation .submenu {
		border-top-width: 5px;
	}

	.top-bar .top-bar__navigation .submenu .menu-item a {
		color: white;
		font-size: 16px;
	}
}

@media (max-width: 782px) {
	.logged-in #top-bar {
		top: 46px !important;
	}

	.logged-in .top-bar.is-expanded .top-bar__inner {
		height: calc(100% - 156px);
		top: 156px;
	}
}

@media (max-width: 600px) {
	.logged-in #top-bar.fixed {
		top: 0 !important;
	}

	.logged-in .top-bar.fixed.is-expanded .top-bar__inner {
		height: calc(100% - 110px);
		top: 110px;
	}
}

/* 404 page */
body.error404 .phg-home-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 28px;
  background-color: var(--phg-color-nitros);
  border: 2px solid var(--phg-color-nitros);
  color: white;
  font-size: 16px;
  text-decoration: none;
  border-radius: 35px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.error404 .phg-home-button:hover {
  background-color: white;
  color: var(--phg-color-nitros);
}

body.error404 span.nt-hero-subtitle {
  display: none !important;
}

body.error404 h3.error-content-title {
  text-transform: none;
  font-weight: 400;
  font-size: 2.8rem;
}