/*
Theme Name: Atmox
Theme URI: https://atmox.com/
Description: Custom Theme by Gordon Multimedia.
Author: Gordon Multimedia
Version: 1.0
Template:Divi
*/
@media only screen and (max-width: 767px) {
  h1 {
    font-size: 45px !important;
  }
  h2 {
    font-size: 38px !important;
  }
  h3 {
    font-size: 30px !important;
  }
  h4 {
    font-size: 25px !important;
  }
  h5 {
    font-size: 20px !important;
  }
  h6 {
    font-size: 18px !important;
  }
  /* Adjust as needed */
}

.vert-center-row {
	display: flex;
	align-items: center;
}
.reverse-order-row {
	display: flex;
	flex-wrap: wrap;
}
/* give the row the reverse-order-row style, then the left column (tablet and or mobile) give the Main Element the CSS property: 'order: 2; and the right col 'order: 1;' */
/* Flex container styling */
.flex-buttons .et_pb_column {
  display: flex;
  flex-wrap: wrap;
  justify-content: left; /* center on desktop */
  gap: 10px; /* spacing between buttons */
}
.flex-buttons.center .et_pb_column {
	justify-content: center;
}
/* Stack buttons vertically on mobile */
@media (max-width: 767px) {
  .flex-buttons .et_pb_column {
    flex-direction: column;
    align-items: center; /* center each button */
  }
}
.call-to-action {
	background-color: #1b3e6f!important;
	padding: 0 !important;
}
.call-to-action a {
	color: #fff !important;
    padding: 15px 15px 15px 15px !important;
}
.acf-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.acf-gallery img {
    max-width: 150px;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.acf-gallery a:hover img {
    transform: scale(1.1);
}
#top-menu li a {
    font-weight: 400;
}
h1, h2, h3, h4 {
	margin-bottom: .5em;
}
.keep-bottom-margin p:last-of-type {
    margin-bottom: 1em; /* Adjust as needed */
}
.featured-image-icon {
	font-family: 'ETmodules';
	font-size: 35px;
	display: block;
	margin: 0 auto;
	position: relative;
	left: -3px;
	text-align: center;
	font-weight: 400;
	padding-bottom: 5px;
}
.featured-image-text {
	font-size: 18px;
	line-height: 1em;
	font-weight: normal;
	display: block;
}
.product-catalog-title {
	line-height: 1.2em;
}
.divi-engine-grid-list-view-switcher {
	display: none;
}
/* for the catalog filter select menu */
.et_pb_contact_select {
	font-size: 18px !important;
	color: #FFF !important;
	background-color: #7b9abe !important;
}
.et-db .et-l .et_pb_contact_field[data-filtertype="select"]:after {
	border-top-color: #FFF !important;
}
.header-row {
	background: #f5f5f5;
}
.header-row-blue {
	background: #f0f8ff;
}
@media (max-width: 1220px) and (min-width: 981px) {
  #logo {
    max-height: 40px !important;
  }
}
@media only screen and (max-width: 767px) {
  .el-dbe-blog-extra.list .et_pb_post_extra {
    display: flex;
    flex-direction: column;
  }

  .el-dbe-blog-extra.list .et_pb_post_extra .post-media {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
	height: auto !important;
    float: none !important;
  }
	#product-column .et_pb_post_extra .post-media img {
		height: auto !important;
		max-width: 100% !important;
		width: 100% !important;
	}
  .el-dbe-blog-extra.list .et_pb_post_extra .post-content {
    width: 100% !important;
  }
}
@media only screen and (min-width: 981px) {
		#product-column .et_pb_post_extra .post-media img {
		height: auto !important;
	}
}
.atmox-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
	margin-bottom: 50px;
}
.atmox-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.atmox-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.atmox-gallery-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    width: 100%;
    text-align: center;
    padding: 5px;
    font-size: .8em;
    line-height: 1em;
}
