/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

a.services-classic-figure img {
  width: 100%;
  height: 100%;
}

.services-classic {
	padding: 0 12px 0 12px;
}


.oiw-row .button {
	background-color: #000;
	color: #fff;
	transition: all 0.2s ease-in-out;
}

.oiw-row .button:hover {
    background-color: #EE3843;
    color: #fff; 
	transition: all 0.2s ease-in-out;
}

.widget_links li a {
	transition: all 0.2s ease-in-out;
}

.widget_links li a:hover {
	padding-left: 7px;
	transition: all 0.2s ease-in-out;
}

.column-aside .widget_links h4 {
	font-size: 20px;
	font-weight: 600;
	text-transform: none;
}

.column-aside .widget_links h4::after {
  display: block;
  content: "";
  background: #EE3843;
  border: 1px solid #EE3843;
  width: 40px;
  height: 4px;
  margin-top: 13px;

}

h5.services-classic-title {
	margin-top: 10px;
}

#oiw-accessory h4.oiw-panel-title {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 0px;
}

#oiw-accessory a {
	margin-bottom: 0px !important;
}

.tab-pane ul {
	margin-left: 40px;
}

.map-wrapper {
  width: 100%;          /* or a fixed width like 400px */
  height: 650px;        /* set the height you want */
  overflow: hidden;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hist-box-one {
	background-color: #f4f4f4;
	margin-right: 15px;
}
.hist-box-two {
	background-color: #e1e1e1;
}
.two-column-row {
  display: flex;
  gap: 30px; /* Adjust as needed */
  flex-wrap: nowrap; /* Prevent columns from stacking */
  
}

.hist-box-one,
.hist-box-two {
  flex: 1; /* Optional: makes both columns grow equally */
	padding: 20px 12px 25px 12px;
	border-top-right-radius: 30px; /* Adjust radius as needed */
}

.hist-box-one h4::after, .hist-box-two h4::after {
  display: block;
  content: "";
  background: #d4b509;
  border: 1px solid #d4b509;
  width: 40px;
  height: 4px;
  margin-top: 13px;
}

.two-column-row .part-logo {
	max-width: 250px;
	height: auto;
	padding: 10px 5px;
	margin-bottom: 15px;
}

.partner-box-one {
	background-color: #f4f4f4;
	transition: background-color 0.3s ease;
}
.partner-box-one:hover {
	background-color: #FBD504;
	transition: background-color 0.3s ease;
}

blockquote h2 {
	color: #000 !important;
}

blockquote h4 {
	color: #FBD504;
	font-weight: 400;
	line-height: 1.1;
	font-size: 1.35rem;
}

blockquote p {
	color: #e9e9e9;
	font-size: 16px;
}

blockquote .highlight {
  background-color: #FBD504; /* bright yellow */
  color: #000000 !important;            /* black text for contrast */
}

#secondary h3 {
	color: #888 !important;
	font-weight: 400;
	line-height: 1.2;
	font-size: 1.35rem;
}

@media (max-width: 399px) {
	.portfolio-item.col-sm-02 {
		width: 100%;
	}
}

.oiw-row .isotope-item {
	padding: 0 10px 0 10px !important;
}

.oiw-row .isotope-item img {
  width: 410px; 
	height: 304px; 
	object-fit: cover;
}

.eco-sect-wrap .heading-block h2 {
  max-width: 650px;       /* Controls line length */
}
.form-note {
  font-size: 12px;
  font-style: italic;
  margin-bottom: 20px;
}

#secondary ol, #secondary ul {
	margin-left: 30px;
}
.widget_links ul {
	margin-left: 0 !important;
}

.breaking-news {
  background-color: #f7f7f7 !important;
}

.sub-menu-container .menu-link {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    line-height: 1.1;
}

.sub-menu-container .menu-link div {
    line-height: 1.4;
}

.section.services-home {
	background-color: #f5f5f5 !important
}
.service-feature-box .fbox-content .subtitle {
    font-size: 14px;
    line-height: 1.5;
    display: block;
    margin-top: 8px;
	padding-bottom: 10px;
}

/* About Us Pages */

.relationship-section {
    margin-bottom: 35px;
}

.relationship-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin: 25px 0;
}

.relationship-img {
    flex: 0 0 200px;
}

.relationship-img img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #f1f1f1;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    display: block;
}

.relationship-content {
    flex: 1;
}

.relationship-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .relationship-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .relationship-img {
        flex: 0 0 auto;
    }
}


.certification-block {
    display: flex;
    flex-direction: row-reverse; /* image right */
    align-items: flex-start;
    gap: 30px;
    margin: 30px 0;
}

.certification-image {
    flex: 0 0 180px;
    text-align: center;
}

.certification-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.certification-content {
    flex: 1;
}

@media (max-width: 768px) {
    .certification-block {
        flex-direction: column; /* image above text */
        align-items: center;
        text-align: center;
    }

    .certification-image {
        margin-bottom: 15px;
    }

    .certification-content {
        text-align: left;
    }
}

.safe-icons {
  float: left;
  padding-right: 10px;
  padding-top: 10px;
  width: 100px;
  clear: both;
  overflow: hidden;
}
.safety-reimagined-badge {
  width: 400px;
}
a.button-safe, a.button-safe:focus {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	color: #fff;
	background-color: #e13523;
	border-color: #e13523;
	padding: 12px 22px;
	margin-top: 25px !important;
	transition: .3s;
	text-decoration: none;
}

a.button-safe:hover, a.button-safe:active {
	color: #fff;
	background-color: #66b4f7;
	border-color: #66b4f7;
	transition: .3s;
	text-decoration: none;
}


.county-list {
    columns: 2;
    column-gap: 50px;
    margin-bottom: 35px;
}

.county-list li {
    break-inside: avoid;
    margin-bottom: 4px;
}

@media (max-width: 600px) {
    .county-list {
        columns: 1;
    }
}

.radio-engraving {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    margin: 30px 0;
}

.radio-engraving-image {
    flex: 0 0 180px;
    text-align: center;
}

.radio-engraving-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.radio-engraving-content {
    flex: 1;
}

.radio-engraving-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .radio-engraving {
        flex-direction: column;
        align-items: center;
    }

    .radio-engraving-image {
        margin-bottom: 20px;
    }

    .radio-engraving-content {
        width: 100%;
    }
}

.service-flex {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 30px 0;
}

.service-flex-image {
    flex: 0 0 220px;
    display: flex;
    justify-content: center;
}

.service-flex-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;

    /* Circle */
    border-radius: 50%;

    /* White frame */
    border: 8px solid #fff;

    /* Shadow */
    box-shadow: 0 6px 18px rgba(0,0,0,.18);

    /* Optional light gray ring */
    outline: 1px solid #ddd;
    outline-offset: 3px;
}

.service-flex-content {
    flex: 1;
}

.service-flex-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .service-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-flex-image {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }

    .service-flex-content {
        width: 100%;
        text-align: left;
    }
}