/*---------------------------------------------------------------------------------

 Theme Name:   Base Template
 Theme URI:    https://base-template.definitivedev.com/
 Description:  Infinite Base Template
 Author:       GM
 Author URI:   
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* FONT FAMILIES */
@font-face {
    font-family: 'TomatoGrotesk-Light';
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Light.eot);
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Light.eot?#iefix) format('embedded-opentype'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Light.woff2) format('woff2'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Light.woff) format('woff'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Light.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TomatoGrotesk-Regular';
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Regular.eot);
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Regular.eot?#iefix) format('embedded-opentype'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Regular.woff2) format('woff2'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Regular.woff) format('woff'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TomatoGrotesk-Medium';
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Medium.eot);
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Medium.eot?#iefix) format('embedded-opentype'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Medium.woff2) format('woff2'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Medium.woff) format('woff'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Medium.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TomatoGrotesk-SemiBold';
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.eot);
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.eot?#iefix) format('embedded-opentype'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.woff2) format('woff2'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.woff) format('woff'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TomatoGrotesk-Bold';
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.eot);
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.eot?#iefix) format('embedded-opentype'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.woff2) format('woff2'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.woff) format('woff'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-SemiBold.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TomatoGrotesk-LightSlanted';
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-LightSlanted.eot);
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-LightSlanted.eot?#iefix) format('embedded-opentype'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-LightSlanted.woff2) format('woff2'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-LightSlanted.woff) format('woff'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-LightSlanted.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TomatoGrotesk-Slanted';
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Slanted.eot);
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Slanted.eot?#iefix) format('embedded-opentype'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Slanted.woff2) format('woff2'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Slanted.woff) format('woff'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-Slanted.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TomatoGrotesk-MediumSlanted';
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-MediumSlanted.eot);
    src: url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-MediumSlanted.eot?#iefix) format('embedded-opentype'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-MediumSlanted.woff2) format('woff2'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-MediumSlanted.woff) format('woff'),
         url(https://ucmcic.com/wp-content/themes/base-template/Fonts/TomatoGrotesk-MediumSlanted.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* TYPOGRAPHY */

h1 {
	font-family: 'TomatoGrotesk-Light', Geneva, Verdana, sans-serif;
	font-size: 58px !important;
	letter-spacing: 1px !important;
	font-weight: normal;
	transition: all ease .3s;
	line-height: 1.1em !important;
	color: #f9f5eb;
}
h2 {
	font-family: 'TomatoGrotesk-Light', Geneva, Verdana, sans-serif;
	font-size: 40px !important;
	line-height: 1.1em !important;
	color: #789b61 !important;
}
h3 {
	font-family: 'TomatoGrotesk-Light', Geneva, Verdana, sans-serif;
	font-size: 24px !important;
	line-height: 1.3em !important;
	color: #f9f5eb;
}
h4 {
	font-family: 'TomatoGrotesk-SemiBold', Geneva, Verdana, sans-serif;
	font-size: 22px !important;
	color: #f9f5eb;
}
h5 {
	font-family: 'TomatoGrotesk-Bold', Geneva, Verdana, sans-serif;
	font-size: 19px !important;
	color: #f9f5eb;
}
h6 {
	font-family: 'TomatoGrotesk-Regular', Geneva, Verdana, sans-serif;
	font-size: 14px !important;
	color: #f9f5eb;
}
p, body, .uc-post-meta {
	font-family: 'TomatoGrotesk-Regular', Geneva, Verdana, sans-serif;
	font-size: 18px !important;
	line-height: 1.5em;
	color: #f9f5eb;
	font-weight: unset;
	font-style: normal;
}
p a:hover, li a:hover {
	color: #f9f5eb;
}
h1 strong {
	font-family: 'TomatoGrotesk-Medium', Geneva, Verdana, sans-serif;
	font-style: normal;
	font-weight: unset;
}
p strong {
	font-family: 'TomatoGrotesk-Medium', Geneva, Verdana, sans-serif;
	font-style: normal;
}
p em {
	font-family: 'TomatoGrotesk-Slanted', Geneva, Verdana, sans-serif;
	font-style: normal;
}
p em strong {
	font-family: 'TomatoGrotesk-MediumSlanted', Geneva, Verdana, sans-serif;
	font-style: normal;
}
h1 + p {
  margin-top: 40px;
}
h2 + p {
  margin-top: 20px;
}
h2 + h3 {
  margin-top: 30px;
}

h3 + p {
  margin-top: 0px;
}
p + h3, ul + h3, ol + h3, ol + p, ul + p {
  margin-top: 10px;
}
p + ul, p + ol {
  margin-top: -.5em;
}

h4 + p, h5 + p, h6 + p {
  margin-top: 10px;
}
p + h4, p + h5, p + h6 {
	margin-top: 10px;
}
p + h2 {
	margin-top: 15px;
}

.wp-block-quote + h2, .wp-block-quote + h3, .wp-block-quote + h4, .wp-block-quote + h5 {
	margin-top: 60px;
}
ul, ol {
	font-family: 'TomatoGrotesk-Regular', Geneva, Verdana, sans-serif;
	color: #f9f5eb !important;
}
.wp-block-quote p, blockquote p {
	font-family: 'TomatoGrotesk-SemiBold', Geneva, Verdana, sans-serif;
	font-size: 20px;
	margin-bottom: 10px;
}
.wp-block-quote p strong, blockquote p strong {
	font-family: 'TomatoGrotesk-Bold', Geneva, Verdana, sans-serif;
	font-size: 16px;
}
.wp-block-quote p {
	padding-bottom: 10px;
}
blockquote {
	border-left: 10px solid #789b61 !important;
	margin: 0 0 1em;
	padding-left: 2em !important;
}
ul, ol {
	margin-left: -2px;
}
li {
	padding-left: 10px;
}
li::marker {
	color: #789b61;
	font-weight: normal;
	font-style: normal;
	font-size: 18px;
}
sup, sub {
  font-size: 60%;
}
pre {
  background: #000;
}
.entry-content ol {
	list-style-position: outside !important;
	padding-left: 15px !important;
}

.uc-title-dark h1 {
	color: #06252a;
}
.uc-light-intro p {
  font-size: 22px !important;
  font-family: 'TomatoGrotesk-Light', Geneva, Verdana, sans-serif;
}
.uc-light-intro-dark, .uc-light-intro-dark p {
	font-size: 22px !important;
	color: #06252a;
	font-family: 'TomatoGrotesk-Light', Geneva, Verdana, sans-serif;
}

.uc-body-dark p, .uc-body-dark ul, .uc-body-dark ol {
	color: #06252a !important;
}
/*.uc-main-title h1 {
	text-shadow:0px 0px 10px black;
}*/

/* RESPONSIVE FONT SIZES */
@media (max-width: 780px) {
	h1 {
  font-size: 44px !important;
}
}
@media (max-width: 590px) {
	h1 {
  font-size: 36px !important;
}
}
@media (max-width: 480px) {
	h1 {
  font-size: 34px !important;
}
}

@media (max-width: 480px) {
	.uc-footer-links h2 {
  font-size: 30px !important;
}
}

/* BUTTONS */

.standard-button, .et_pb_button, .et_button_no_icon .et_pb_button, div.post-content a.more-link, .frm_button_submit, .frm_final_submit, .frm_prev_page {
	font-size: 20px !important;
	text-transform: capitalize;
	color: #06252a !important;
	background-color: #fff !important;
	padding: 10px 20px !important;
	transition: all ease 1s !important;
	-webkit-transition: all ease 1s !important;
	display: inline-block;
	margin: 15px 0 15px !important;
	border: 1px solid #06252a !important;
	border-radius: 50px !important;
	text-align: center;
}
.standard-button:hover, .et_pb_button:hover, .et_button_no_icon .et_pb_button:hover, div.post-content a.more-link:hover, .frm_button_submit:hover, .frm_final_submit:hover, .frm_prev_page:hover {
	color: #fff !important;
	background-color: #789b61 !important;
	border: 1px solid #789b61 !important;
	padding: 10px 20px !important;
	cursor: pointer;
	box-shadow: #79afb5 0px 0px 20px;
}

/* IMAGES */
.id-cover img {
	object-fit: cover;
}
.id-cover-top img {
	object-fit: cover;
	object-position: top;
}
.id-cover-bottom img {
	object-fit: cover;
	object-position: bottom;
}

/* FOOTER */

.uc-footer-links h2 {
  font-size: 44px !important;
	padding-bottom: 0px;
	line-height: 1.56em !important;
}

.uc-social p {
  line-height: 1em;
  padding-bottom: 10px;
  font-weight: bold;
}
.uc-social a:hover {
	color: #789b61 !important;
}
.uc-sub-footer p, .uc-sub-footer a {
  font-size: 12px !important;
	color: #f9f5eb;
}
.uc-sub-footer p, .uc-sub-footer a, .uc-social p, .uc-footer .uc-social a {
  color: #f9f5eb;
}
.uc-sub-footer a:hover {
	color: #789b61;
}

/* THE MAIN HEADER SECTION */

.uc-image-top-r .et_pb_image_wrap {
  min-width: 764px;

}
.uc-image-top-l img, .et_pb_row.uc-landscape-lines img, .uc-image-top-r img {
  transition: 1s all ease !important;
}
@media (min-width: 1920px) {
	.uc-alt .uc-main-title h1 {
		font-size: 72px !important;
		padding-top: 50px !important;
	font-weight: normal;
}
	.uc-alt .uc-image-top-r img {
		height: 600px !important;
		margin-top: -70px !important;
}
	.uc-alt .uc-image-top-l img {
		height: 450px !important;
}
	.uc-alt .et_pb_row.et_pb_row.uc-landscape-lines {
		margin-top: -340px !important;
}
	.uc-cs .uc-image-top-r img {
		height: 500px !important;
		margin-top: 20px !important;
}
	.uc-cs .uc-image-top-l img {
		height: 400px !important;
}
	.uc-cs .et_pb_row.et_pb_row.uc-landscape-lines {
		margin-top: -300px !important;
}
}

@media (max-width: 1280px) {
	.uc-main-header .uc-main-title {
		padding-right: 20% !important;
	}
	.uc-main-header.uc-cs .uc-main-title {
		padding-right: 0px !important;
	}
}
@media (max-width: 980px) {
	.uc-main-header .uc-main-title {
		padding-right: unset !important;
	}
}

/* THE HEADER IMAGE GRADIENT */
@media (max-width: 768px) {
.uc-image-top-r::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 131%;
  height: 45%; /* covers top 45% */
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0));
  pointer-events: none; /* ensure clicks pass through */
}
}
/* THIS IS HOW WE RESTRICT THE CHARACTERS IN THE MAIN HEADER */

@media (min-width: 980px) {
  .uc-two-line {
    display: inline-block;
    width: fit-content;        /* shrink to content up to that cap */
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
}
	.uc-restrict-8 {
		max-inline-size: 8ch;      /* pick ~length of “Support”; tweak 7–9ch */
	}
}

.uc-two-line-fw {
    display: inline-block;
    width: fit-content;        /* shrink to content up to that cap */
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
}
.uc-restrict-flood {
	max-inline-size: 60ch;
}
.uc-restrict-hedge {
	max-inline-size: 38ch;
}
.uc-restrict-enviro {
	max-inline-size: 65ch;
}
.uc-restrict-habit {
	max-inline-size: 40ch;
}
.uc-restrict-soil {
	max-inline-size: 33ch;
}
.uc-restrict-river {
	max-inline-size: 29ch;
}

/* THE UC SLIDER */
.uc-slider .et_pb_slide, .uc-slider-new .et_pb_slide {
  padding: 0;
}
.uc-slider .et_pb_slide_image, .uc-slider-new .et_pb_slide_image {
  width: 55%;
  margin-right: 2%;
}
.uc-slider .et_pb_slide_image img , .uc-slider-new .et_pb_slide img {
  height: 500px;
  object-fit: cover;
}
.uc-slider .et_pb_slide_description, .uc-slider-new .et_pb_slide_description {
  width: 43%;
}
.uc-slider .uc-slide-image-2, .uc-slider-new .uc-slide-image-2 {
  width: 100%;
}
img.uc-slide-image-2 {
  height: 400px;
	object-fit: cover;
	margin-top: -10px;
}
@media (max-width: 980px) {
	img.uc-slide-image-2 {
		height: 300px;
	}
	.uc-slider .et_pb_slide_image img, .uc-slider-new .et_pb_slide_image img {
		height: 450px;
	}
}
@media (max-width: 768px) {
	.uc-slider .et_pb_slide_image {
		width: 100%;
		margin-left: -10%;
	}
	.uc-slider .et_pb_slide_image img {
		height: 400px;
	}
	.uc-slider .et_pb_slide_description {
		width: 100%;
	}
	img.uc-slide-image-2 {
		height: 300px;
		margin-top: -50px;
		margin-left: 10%;
}
		.uc-slider-new .et_pb_slide_image {
		width: 100%;
		margin-left: 0;
	}
	.uc-slider-new .et_pb_slide_image img {
		height: 350px;
		width: 100%;
	}
	.uc-slider-new .et_pb_slide_description {
		width: 100%;
	}
	.uc-slider-new .uc-slide-image-2 {
  width: 100%;
  margin-left: unset;
}
	.uc-slider-new img.uc-slide-image-2 {
		height: 350px;
		margin-top: 0px;
}
}

/* UC SLIDER CUSTOM FADE IN FADE OUT */
@keyframes fadeInHoldSlideOutRight {
  0%   { opacity: 0; transform: translateX(0); }
  20%  { opacity: 0; transform: translateX(0); }   /* hold invisible */
  30%  { opacity: 1; transform: translateX(0); }   /* fade in fully */
  80%  { opacity: 1; transform: translateX(0); }   /* hold visible */
  100% { opacity: 0; transform: translateX(13vw); }/* fade + slide RIGHT */
}

/* POST LAYOUT */
/* --- Featured header image locked to 4:3 --- */
.uc-post-header .et_pb_title_featured_container .et_pb_image_wrap img, .uc-4-3-image img {
  width: 100% !important;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* --- All post images default to 4:3 --- */
.uc-post img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* --- Optional: portrait override for specific images --- */
/* Add class "uc-post-portrait" to the image (in the block settings / img class) */
.uc-post img.uc-post-portrait {
  aspect-ratio: 3 / 4;
}

/* --- Optional: don't crop SVGs/logos --- */
.uc-post img[src$=".svg"] {
  object-fit: contain; /* keeps SVG fully visible */
}

/* ===== Fallback for very old browsers (no aspect-ratio support) ===== */
@supports not (aspect-ratio: 1) {
  /* Gutenberg image blocks */
  .uc-post .wp-block-image {
    position: relative;
    overflow: hidden;
  }
  .uc-post .wp-block-image:not(.uc-post-portrait) {
    padding-top: 75%;           /* 4:3 */
  }
  .uc-post .wp-block-image.uc-post-portrait {
    padding-top: 133.3333%;     /* 3:4 */
  }
  .uc-post .wp-block-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.uc-post-meta-label p {
  color: #527c3d !important;
}
.uc-post.uc-body-dark h2 {
	font-family: 'TomatoGrotesk-Regular', Geneva, Verdana, sans-serif;
	font-size: 22px !important;
	color: #789b61 !important;
}
.uc-post.uc-body-dark p {
	font-family: 'TomatoGrotesk-Regular', Geneva, Verdana, sans-serif;
}
.uc-post.uc-body-dark h2 + p {
  margin-top: 0px;
}
.uc-post-header h1.entry-title {
  padding-bottom: 0px;
}
.uc-post-slider-title {
  font-family: 'TomatoGrotesk-Regular', Geneva, Verdana, sans-serif;
}
a.entry-featured-image-url img {
  transition: transform 1s ease; /* no need to transition "all" */
  will-change: transform;
}

.entry-featured-image-url {
  overflow: hidden;
  display: block; /* helps in some layouts */
}

.et_pb_post:hover a.entry-featured-image-url img {
  transform: scale(1.05);
}

/* CASE STUDY BLOG ROW */

.uc-blog-grid div.post-content-inner p {
	margin-bottom: 30px;
	font-weight: unset;
	font-style: normal;
}
div.post-content a.more-link {
  margin-bottom: 5px !important;
}
.uc-blog-grid a.entry-featured-image-url img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* DONATE PAGE AND FORM */
.uc-donate-intro {
	font-family: 'TomatoGrotesk-Light', Geneva, Verdana, sans-serif;
  font-size: 36px !important;
  line-height: 1.1em;
	font-weight: unset;
	font-style: normal;
	text-align: center;
	padding-bottom: 60px;
}
.uc-donate-btn div.frm_label_button_container {
  border-radius: 50px;
  font-size: 36px;
  color: #789b61 !important;
  border: 1px solid #789b61;
  background-color: #f9f5eb !important;
}
.uc-donate-btn div.frm_label_button_container:hover {
	border: 1px solid #06252a;
	box-shadow: none !important;
	color: #06252a;
}
.frm_display_format_buttons .frm_radio input[type="radio"]:checked + .frm_label_button_container, .frm_display_format_buttons .frm_radio input[type="radio"]:checked {
  background-color: #527c3d !important;
  color: #f9f5eb !important;
  border-color: #527c3d;
	box-shadow: none !important;
}
.uc-donate-amount .frm_primary_label {
  text-align: center;
	padding-bottom: 30px;
}
.uc-donate-amount div.frm_input_group.frm_with_box {
  margin: 0 30%;
	width: auto;
}
.uc-donate-amount .frm_description {
  text-align: center !important;
}
input#field_z2p {
  border-bottom: unset;
  border-radius: 50px;
  font-size: 36px;
  color: #789b61;
  border: 1px solid #789b61;
	text-align: center;
}
#field_z2p::placeholder {
  font-size: 36px;
  text-align: center;
  color: #789b61;
}
.uc-donate-frequency.horizontal_radio {
  margin-left: auto;
  margin-right: auto;
}
.uc-donate-frequency .frm_radio label {
  font-size: 24px !important;
  padding: 20px;
  color: #789b61 !important;
}
.uc-donate-frequency input[type="radio"]::before {
  background-color: #789b61 !important;
}
.uc-donate-details.form-field h3, .uc-donate-details.form-field p, .uc-payment-details.form-field h3 {
	color: #06252A !important;
}
.uc-payment-details {
	margin-top: 20px;
}
.frm-card-element {
  padding: 20px !important;
  background: #fff !important;
}
.frm_message h3, .frm_message p {
  color: #000 !important;
}
.frm_message {
  background-color: transparent !important;
  border: unset !important;
	padding: 0px !important;
}

@media (max-width: 980px) {
	.uc-donate-intro {
  font-size: 30px !important;
	}
	.uc-donate-btn div.frm_label_button_container, input#field_z2p, #field_z2p::placeholder {
  font-size: 30px;
}
	.uc-donate-frequency .frm_radio label {
		padding: 0px;
		margin-bottom: 20px;
}
	.uc-donate-frequency.horizontal_radio {
		text-align: center;
	}
}
@media (max-width: 768px) {
	.uc-donate-intro {
  font-size: 26px !important;
	}
	.uc-donate-btn div.frm_label_button_container, input#field_z2p, #field_z2p::placeholder {
  font-size: 24px;
}
}

/* CONTACT FORM */
.theme-dark #content {
  border-color: #06252a !important;
  background-color: #06252a !important;
}

/* DIVI CAROUSEL */
.uc-carousel .dcm-container * {
  margin: 0 auto;
}
.uc-carousel img.dcm-swapped-img {
  object-fit: contain;
  width: 100%;
  object-position: center;
  max-height: 200px;
}
.et_pb_row_0, .et_pb_row_1, .et_pb_row_2 { 
	overflow-x: clip;
}

/* SIX COLUMN TILES FORMAT */
.uc-tiles-panel .uc-tiles-six {
  padding: 30px;
}
.uc-tiles-six .et_pb_text_inner h3 {
	transition: 0.7s ease color;
}
.uc-tiles-six:hover .et_pb_text_inner h3 {
	color: #789b61 !important;
}
@media (min-width: 981px) {
  .et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 {
    width: 31%;
    margin-right: 3.5%;
  }
}

/* SIX COLUMN TILES TO 3 X 2, 2 X 3 AND 1 X 6 */
@media (min-width: 1281px) {
.et_pb_row_1-6_1-6_1-6_1-2 > .et_pb_column.et_pb_column_1_6, .et_pb_row_6col > .et_pb_column.et_pb_column_1_6 {
  width: 31.333%;
  margin-right: 3%;
}
	.uc-tiles-panel.et_pb_row_6col {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
  }
	.uc-tiles-panel .et_pb_column {
		width: 100%;
		margin-bottom: 30px;
  }
	.uc-tiles-panel.et_pb_row_6col > .et_pb_column.et_pb_column_1_6:nth-child(3n) {
		margin-right: 0;
	}
}
@media (max-width: 1280px) {
.et_pb_row_1-6_1-6_1-6_1-2 > .et_pb_column.et_pb_column_1_6, .et_pb_row_6col > .et_pb_column.et_pb_column_1_6 {
  width: 48%;
  margin-right: 4%;
}
	.uc-tiles-panel.et_pb_row_6col {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
  }
	.uc-tiles-panel .et_pb_column {
		width: 100%;
		margin-bottom: 30px;
  }
	.uc-tiles-panel.et_pb_row_6col > .et_pb_column.et_pb_column_1_6:nth-child(3n) {
		margin-right: 4%;
	}
	.uc-tiles-panel.et_pb_row_6col .et_pb_column:nth-last-child(-n+3) {
		margin-bottom: 30px;
  }
	.uc-tiles-panel.et_pb_row_6col > .et_pb_column.et_pb_column_1_6:nth-child(2n) {
		margin-right: 0;
	}
}
@media (max-width: 760px) {
.et_pb_row_1-6_1-6_1-6_1-2 > .et_pb_column.et_pb_column_1_6, .et_pb_row_6col > .et_pb_column.et_pb_column_1_6 {
  width: 100%;
  margin-right: 0;
}
	.uc-tiles-panel.et_pb_row_6col > .et_pb_column.et_pb_column_1_6:nth-child(3n) {
		margin-right: 0;
	}
}