/*
Theme Name: Enfold Child
Description: A child theme of Enfold
Version: 1.0
Author: Armour Creative
Author URI: http://armourcreative.com
Template: enfold
*/


#top h2 { 
	letter-spacing: inherit;
}
#top h4, #top .avia-icon-list .iconlist_title {
	text-transform: none;
}

#top .gray p {
	color: #c7c7c9;
}
/* SOCKET */
#header_meta {
	background: #00366a;
}
#top .phone-info, #top .phone-info a {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}
#top .phone-info, .phone-info a:hover {
	opacity: .8;
}
/* Nav */

#top #wrap_all #header.header_color .av-menu-button-colored > a .avia-menu-text {
	background-color: #00366a;
    text-transform: uppercase;
    font-weight: 600;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    letter-spacing: .5px;
    padding: 10px 15px;
}


/* Inline + responsive fields for Form ID 2 */
#gform_wrapper_2 .gform_body .gform_fields {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: flex-end; /* keep button aligned with inputs */
}

/* Default: every field gets one slot */
#gform_wrapper_2 .gform_body .gfield {
  margin: 0;
  padding: 0;
}

/* Name field takes up 2 slots */
#gform_wrapper_2 #field_2_10 {
  flex: 2 1 400px;
}

#gform_wrapper_2 #field_2_10 .ginput_container_name {
  display: flex;
  gap: 1rem;
}

#gform_wrapper_2 #field_2_10 .ginput_container_name span {
  flex: 1 1 50%; /* First + Last evenly */
}

#gform_wrapper_2 .gform_required_legend {
	display: none;
}

#gform_wrapper_2 .gfield_validation_message {
	color:red;
	background-color: white;
	border: none;
    font-size: 11px;
    padding: 8px;
    line-height: 20px;
}

#gform_wrapper_2 .gform_validation_errors {
	display: none;
}

/* Inputs & selects fill their container */
#top #gform_wrapper_2 .gform_body input,
#top #gform_wrapper_2 .gform_body select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
background-color: #216bb3;
    padding: 12px 15px 10px;
    border: 1px solid #81a9cf;
    border-radius: 0;
    width: 140px;
    color: #fff;
}

#top #gform_wrapper_2 .gform_body input::placeholder,
#top #gform_wrapper_2 .gform_body select::placeholder {
    color: #fff;
	border-color: #fff;
	opacity: 1;
}

/* Custom submit button */

#gform_submit_button_2 {
  display: none !important;
}

/* Button styling */
#field_2_16 {
	min-width: 250px;
    margin-top: 2px;
    border: 0;
}
#gform_wrapper_2 .custom-submit-btn {
  background: #fff;
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 0;
  line-height: 1;
  padding: 17px 25px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
	border: 0;
}

#gform_wrapper_2 .custom-submit-btn:hover {
  background: #000;
  color: #fff;
}
@media screen and (max-width: 768px) {
	#gform_wrapper_2 .gform_body .gform_fields {
		flex-direction: column;
		align-items: center;
	}
	#top #gform_wrapper_2 .gform_body input,
	#top #gform_wrapper_2 .gform_body select,
	#top #gform_wrapper_2 .gform_body .gfield {
	width: 100%;
	}
#gform_wrapper_2 .custom-submit-btn {
	margin-top: 20px;
	}
	
}

#gform_wrapper_2 .gform_body .gform_fields {
	align-items: flex-start;
}
/* home hero */

#top.home .av-section-color-overlay {
	background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: multiply;
}
/* Home gradient grid boxes */

.home .services .flex_column {
  position: relative; /* allow pseudo-element positioning */
  overflow: hidden;   /* clip overlay to the column */
	height: inherit;
}
.home .services .flex_column .av_textblock_section {
	aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    padding: 30px;
}
.home .services .flex_column .av_textblock_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,   
	rgba(0,0,0,0.5) 33%,   
	rgba(0,0,0,0.5) 66%,   
    rgba(0,0,0,.1) 100%    
  );
  z-index: 1;
}

/* bring the text above the overlay */
.home .services .flex_column .avia_textblock {
  position: relative;
  z-index: 2;
}

/* Maps Widgets */
.map-section {
  position: relative;
  width: 100%;
  height: 450px; /* adjust as needed */
  overflow: hidden;
}

.map-section iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: #fff;
  padding: 20px 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 8px;
	margin-bottom: 30px;
}

.map-overlay h2 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: bold;
	font-size: 22px;
    text-align: center;
	margin-bottom: 0;
}
/* FOOTER */
#top #locations ul, 
#top #services ul,
#top #hours ul {
  list-style-type: none;
  margin-left: 0;
}

#top #locations li, 
#top #services li,
#top #hours li {
  margin-bottom: 0;
	    text-indent: 0;
    margin-left: 0;
}
#top #locations li:last-child {
	padding-top: 20px;
}
#top #locations address {
  font-style: normal; /* prevents italics */
}