.primary.tsi-address {display:none !important;}
.primary.tsi-phone {width:100% !important;}
.b2b-location-get-directions.color_bodylinks {display:none !important;}
.footer-street-address.footer-address {display:none !important;}
.mobile-multi-locations .tsi-address a {display: none !important;}
.b2b-location-get-directions {display:none !important;}

body:not(.isMobile) #wrapper .page_title, #the_header, #the_footer, #container .full_width_content{
    max-width: 100% !important;
}

h3.gform_title {
    color: #333 !important;
    font-weight: bold !important;
    font-size: 2rem !important;
}

.gfield_description, #wrapper .large .the_list_item .gform_wrapper .ginput_complex label {
  color: #333 !important;
}

.ginput_container.ayah, span.num1 {
    color: #333 !important;
}

/* Fix security check (AYAH) visibility */
.ayah_label,
.ayah_textbox,
.ayah_text_field,
.ayah-wrapper,
.ayah-wrapper *,
[class*="ayah"] {
    color: #333 !important;
}

/* Fix math problem text specifically */
.gfield.field_sublabel_below.field_description_below span,
.gfield_description {
    color: #333 !important;
}

#header-cta{
    float: left !important;
    width: 100% !important;
    height: auto !important;
}

#header-cta .one-half{
    float: left !important;
    width: 50% !important;
    text-align: center !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

#header-cta .one-half:first-of-type{
    background: #8a7e8a !important;
}

#header-cta .one-half.last{
    background: #b4cc7a !important;
}

#header-cta .one-half.last:hover{
    background: #8a7e8a !important;
}

#header-cta .one-half:first-of-type:hover{
    background: #b4cc7a !important;
}

#header-cta .one-half a{
    font-size: 2rem !important;
    text-transform: uppercase !important;
    color: #fff !important;
}

#_the_map_wrapper .b2b-location.wide .b2b-location-items ul li.show-details {
    overflow: auto !important;
  }
  
  .the_list_item_action a,#gform_submit_button_46275,#gform_submit_button_2 {
    background: #b4cc7a !important;
    box-shadow: none !important;
    border: none !important;
    font-size: 1.7rem !important;
    text-transform: uppercase !important;
    color: #fff !important;
  }
  
  .the_list_item_action a:hover,#gform_submit_button_46275:hover,#gform_submit_button_2:hover {
    background: #8a7e8a !important;
    color: #fff !important;
  }
   .the_list_item_action {
    background-color: transparent !important;
  }
  
  
  .container-wrap {
  max-width: 100% !important;
  }
  
  #the_header {
    box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.15) !important;
  }
  
  h1, h2, h3{
    font-weight: normal !important;
  }
  
  #the_header .logo-variation.logo-variation-header .logo-slot img{
    max-height: 17rem !important;
  }
  
  #_the_navigation a, #menu-holder a {
    text-transform: uppercase !important;
    font-size: 1.3rem !important;
    font-weight: normal !important;
  }
  
  
  .home .full_width_content {
    background: rgba(255, 255, 255, 0) !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }
  html:not(.mobileview) .home #container {
    margin-top: -4rem !important;
  }
  
  .tsidesign_dl .the_list_wrap {
    padding: 12% 8% 12% !important;
    background: transparent !important;
    text-align: center !important;
  }
  .tsidesign_dl .the_list{
    margin-bottom: 0rem!important;
  }
  
  .tsidesign_dl .the_list_text{
    max-width:134rem !important;
    margin: 0 auto !important;
  }
  .tsidesign_dl .the_list_item_headline, .tsidesign_dl .the_list_item_subheadline {
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5) !important;
  }
  .tsidesign_dl .the_list_item_action {
    float: none !important;
    width: auto !important;
  }
  
  
  
  .tsidesign_content{
    max-width: 134rem !important;
    margin: 0 auto !important;
  }
  
  
  .home .content {
    padding-top: 3rem !important;
  }
  
  #the_footer {
    max-width:100% !important;
  }
  
  
  #the_footer #_the_logo, #the_footer #_the_copyright {
    margin: 0 auto !important;
    max-width: 134rem !important;
  }
  
  .tsidesign_feature{
    max-width: 134rem !important;
    margin: 0 auto !important;
  }
  .tsidesign_feature .the_list_item .the_list_item_headline {
      background: #b4cc7a;
      width: 50% !important;
      margin: 0 auto !important;
      margin-top: -4rem !important;
      position: relative;
      color: #fff !important;
      padding: 2rem 1rem !important;
  }
  
  .tsidesign_feature .the_list_item_heads {
      text-align: center !important;
  }
  
  
  .tsidesign_feature .the_list_item:hover {
    -webkit-transform: translateY(-8px) !important;
    transform: translateY(-8px) !important;
  }
  
  .tsidesign_feature h3.the_list_item_headline.hds_color a{
  color: #fff !important;
  
  }

  .tsidesign_feature .block_link {
    z-index: 3 !important;
}
  
  
  #container .tsidesign_content,
  #container .tsidesign_feature {
      margin: 0 auto !important;
  
      display: -webkit-box !important;
      display: -moz-box !important;
      display: box !important;
      display: -webkit-flex !important;
      display: -moz-flex !important;
      display: -ms-flexbox !important;
      display: flex !important;
  
      -webkit-box-align: stretch;
      -moz-box-align: stretch;
      box-align: stretch;
      -webkit-align-items: stretch;
      -moz-align-items: stretch;
      -ms-align-items: stretch;
      -o-align-items: stretch;
      align-items: stretch;
      -ms-flex-align: stretch;
  
      -webkit-box-orient: horizontal;
      -moz-box-orient: horizontal;
      box-orient: horizontal;
      -webkit-box-direction: normal;
      -moz-box-direction: normal;
      box-direction: normal;
      -webkit-flex-direction: row;
      -moz-flex-direction: row;
      flex-direction: row;
      -ms-flex-direction: row;
  
      -webkit-box-pack: justify;
      -moz-box-pack: justify;
      box-pack: justify;
      -webkit-justify-content: space-between;
      -moz-justify-content: space-between;
      -ms-justify-content: space-between;
      -o-justify-content: space-between;
      justify-content: space-between;
      -ms-flex-pack: justify;
  
      -webkit-box-lines: multiple;
      -moz-box-lines: multiple;
      box-lines: multiple;
      -webkit-flex-wrap: wrap;
      -moz-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  }
  #container .tsidesign_content .the_list_item,
  #container .tsidesign_feature .the_list_item{
      margin: .5rem !important;
  
      -webkit-flex-wrap: wrap;
      -moz-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  }
  
  .flexboxlegacy #container .tsidesign_content .the_list_item,
  .flexboxlegacy #container .tsidesign_feature .the_list_item{
      -webkit-flex-direction: row;
      -moz-flex-direction: row;
      flex-direction: row;
      -ms-flex-direction: row;
      -webkit-flex: 1 1 auto;
      flex: 1 1 auto;
  }
  
  .no-flexboxlegacy #container .tsidesign_content .the_list_item,
  .no-flexboxlegacy #container .tsidesign_feature .the_list_item{
      -webkit-box-orient: vertical;
      -moz-box-orient: vertical;
      box-orient: vertical;
      -webkit-box-direction: normal;
      -moz-box-direction: normal;
      box-direction: normal;
      -webkit-flex-direction: column;
      -moz-flex-direction: column;
      flex-direction: column;
      -ms-flex-direction: column; 
  }
  
  #container .tsidesign_content .the_list_item,
  #container .tsidesign_feature .the_list_item,
  .flexboxlegacy #container .tsidesign_content .the_list_item .the_list_wrap,
  .flexboxlegacy #container .tsidesign_feature .the_list_item .the_list_wrap {
      -webkit-box-flex: 1;
      -moz-box-flex: 1;
      box-flex: 1;
      -webkit-flex: 1 1 auto;
      -moz-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
      flex: 1 1 auto;
      display: -webkit-box;
      display: -moz-box;
      display: box;
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-align-self: stretch;
      -moz-align-self: stretch;
      align-self: stretch;
      -ms-flex-item-align: stretch;
  }
  
  #container .tsidesign_content .the_list_item .the_list_wrap,
  #container .tsidesign_feature .the_list_item .the_list_wrap {
      /*height: 100%;*/
      -webkit-box-orient: vertical;
      -moz-box-orient: vertical;
      box-orient: vertical;
      -webkit-box-direction: normal;
      -moz-box-direction: normal;
      box-direction: normal;
      -webkit-flex-direction: column;
      -moz-flex-direction: column;
      flex-direction: column;
      -ms-flex-direction: column;
  
  }
  
  .flexboxlegacy #container .tsidesign_content .the_list_item .the_list_wrap,
  .flexboxlegacy #container .tsidesign_feature .the_list_item .the_list_wrap {
      height: auto;
  }
  
  #container .tsidesign_content .the_list_item .the_list_item_action,
  #container .tsidesign_feature .the_list_item .the_list_item_action {
      margin-top: auto !important;
      display: block;
      width: 100%;
  }
  
  #container .tsidesign_content,
  #container .tsidesign_feature {
      justify-content: space-around;
  }
  #container .tsidesign_content .the_list_item,
  #container .tsidesign_feature .the_list_item {
      justify-content: space-between;
  }
  
  @media (max-width:815px) and (min-width:575px) {
  .tsidesign_content .the_list_item,
  .tsidesign_feature .the_list_item {
      width: 44.988% !important;
  }
  }
  
  /*THIS CODE GOES IN AS WELL - IGNORE THAT IT MAKES OVERFLOW VISIBLE*/
  
  @media only screen and (min-width: 475px) and (max-width: 830px) {
  #container .section .list_block.type_article.a1 .the_list_item.hero .the_list_wrap, 
  #container .section .list_block.type_article.a1.well .the_list_wrap, #container .section .list_block.type_article.a2 .the_list_item.hero .the_list_wrap, #container .section .list_block.type_article.a2.well .the_list_wrap {overflow: visible !important;}}
  
  
  .list_block.type_article.a1.column_amt_1.landscape_4_3.large.not_well.tsidesign_widemap {
      max-width: 100% !important;
      margin: 0rem !important;
      padding: 0rem !important;
      overflow: hidden !important;
  }
  
  
  
  
  html:not(.mobileview) .home .tsidesign_dl .caption {
     background-color: rgba(0, 0, 0, 0.4) !important;
    text-align:center !important;
  }
  
  .tsidesign_dl .slidesjs-pagination, .tsidesign_dl .slidesjs-previous.slidesjs-navigation, .tsidesign_dl .slidesjs-next.slidesjs-navigation {
    display:none !important;
  }
  
  
  .tsidesign_dl .the_list_text {
      background-color: rgba(255,255,255,.4) !important;
      max-width:65% !important;
      margin: 0 auto !important;
      margin-top: 6% !important;
      padding-bottom: 4% !important;
      /*border: solid white !important;*/
    text-align:center !important;
  }
  
  
  .tsidesign_5features .the_list_item {
  clear: none !important;
  width: 20% !important;
  margin: 0 !important;
    margin-bottom:3rem !important;
  }
  
   .tsidesign_5features,.tsidesign_4featureshome {
     margin: 0 !important;
     padding:0 !important;
  }
  
  .tsidesign_5features .the_list_item img:hover {
  opacity: .9 !important;
  }
  
  #container .the_list_item .gform_wrapper .top_label .gfield_label,
  #container .small .the_list_item .gform_wrapper .ginput_complex label{
    color: #333 !important;
  }
  
  /* Fix form text visibility on light backgrounds */
  .gform_wrapper label,
  .gform_wrapper .gfield_label,
  .gform_wrapper .ginput_complex label,
  .gform_wrapper .gfield_description {
    color: #333 !important;
  }
  
  /* Ensure input text is visible */
  .gform_wrapper input[type="text"],
  .gform_wrapper input[type="email"],
  .gform_wrapper input[type="tel"],
  .gform_wrapper textarea,
  .gform_wrapper select {
    color: #333 !important;
    background-color: #fff !important;
  }

  @media (max-width: 1500px){
    .tsidesign_dl .the_list_text{
      margin-top: 0 !important;
    }
    #container .small .the_list_item .the_list_item_headline{
      font-size: 1.25rem !important;
    }
  }

  @media (max-width: 1200px) {
    #container .type_gallery.large .the_list_item.hero.no_desc .the_list_item_headline{
      font-size: 3rem !important;
    }
  }

  @media (max-width: 900px) {
    #container .type_gallery.large .the_list_item.hero.no_desc .the_list_item_headline{
      font-size: 2rem !important;
    }
  }

  @media (max-width: 815px) {
    #container .type_gallery.large .the_list_item.hero.no_desc .caption{
      padding: 0 !important;
    }
    #header-cta .one-half a{
      font-size: 1.5rem !important;
    }
  }

  @media (max-width: 568px) {
    .tsidesign_dl .the_list_text{
      max-width: 100% !important;
    }
    #container .type_gallery.large .the_list_item.hero.no_desc .the_list_item_headline{
      font-size: 1.5rem !important;
    }
    .mobileview #container .section .list_block.type_gallery .the_list_item.hero .caption .the_list_text{
      padding: 4% 4% 0rem !important;
    }
    .the_list_item_action a, #gform_submit_button_46275, #gform_submit_button_2{
      font-size: 1.25rem !important;
    }
  }

  @media (max-width: 480px) {
    #header-cta .one-half a{
      font-size: 0.5rem !important;
    }
  }

  @media (max-width: 384px) {
    .tsidesign_dl .the_list_item_heads h3.the_list_item_subheadline{
      font-size: 1rem !important;
    }
    .mobileview #container .section .list_block.type_gallery .the_list_item.hero .caption .the_list_text{
      padding: 2% 3% 0rem !important;
    }
  }

.type_modal .modal_content .the_list_item {
    padding: 0rem 0rem 0rem!important;
}
.type_modal .modal_body_wrap {
    max-height: 80vh!important;
}
.type_modal .the_list_item_action {
    display: flex!important;
    justify-content: center;
}
.type_modal.open .modal_content {
    top: 0!important;
}
@media(max-width:815px){
.type_modal img{
  max-width:30rem!important;
}
}
@media(min-width:1400px){
.type_modal img{
  max-width:55rem!important;
}

/*------------------------ BANNER -----------------------------*/
#header-cta{float:left!important;width:100%!important;text-align:center!important;padding-top:.5rem!important;padding-bottom:.5rem!important;font-size:1.8rem!important;background:#212121 !important;background-size:400% 400%;-webkit-animation:Gradient 10s ease infinite;-moz-animation:Gradient 10s ease infinite;animation:Gradient 10s ease infinite;color:#fff!important;text-transform:unset!important;text-shadow:2px 2px 1px rgba(0,0,0,.5)!important;font-weight:bold!important}@-webkit-keyframes Gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}@-moz-keyframes Gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}@keyframes Gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}#header-cta a{color:#fff}

/*------------------------ COMPREHENSIVE TEXT VISIBILITY FIXES -----------------------------*/
/* Fix all form elements text visibility */
.gform_wrapper,
.gform_wrapper *,
.gfield,
.gfield * {
    color: #333 !important;
}

/* Exception: Keep white text on colored backgrounds */
.the_list_item_action a,
#gform_submit_button_46275,
#gform_submit_button_2,
.gform_button,
input[type="submit"] {
    color: #fff !important;
}

/* Fix feature section headline links that should be dark */
.tsidesign_feature .the_list_item_headline a,
.tsidesign_content .the_list_item_headline a {
    color: #333 !important;
}

/* Ensure all form labels are visible */
label,
.gfield_label,
.ginput_complex label,
.field_sublabel,
.gfield_description,
.gfield_required {
    color: #333 !important;
}

/* Fix placeholder text */
input::placeholder,
textarea::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Fix any math problems or captcha text */
.ayah,
.ayah *,
[id*="ayah"],
[class*="ayah"],
.security-check,
.captcha,
.math-problem {
    color: #333 !important;
}

/* Ensure modal text is visible when on light backgrounds */
.modal_wrap:not(.type_modal) .modal_content {
    color: #333 !important;
}

/* Fix any validation messages */
.validation_message,
.gfield_error,
.validation_error {
    color: #d00 !important;
}

/* Fix success messages */
.gform_confirmation_message,
.success-message {
    color: #333 !important;
    background: #d4edda !important;
    padding: 1rem !important;
    border: 1px solid #c3e6cb !important;
}

/* Homepage form specific formatting fixes */
.gform_wrapper.gravity-theme,
.gform {
    max-width: 100%;
    margin: 0;
}

.gform .gfield {
    margin-bottom: 1.5em;
    padding: 0;
    clear: both;
}

.gform .gfield_label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333 !important;
    font-size: 1em;
}

.gform .ginput_complex {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.gform .ginput_left,
.gform .ginput_right {
    flex: 1;
    min-width: 200px;
}

.gform .ginput_left label,
.gform .ginput_right label {
    display: block;
    font-size: 0.85em;
    margin-top: 0.25em;
    color: #666 !important;
    font-weight: normal !important;
}

.gform input[type="text"],
.gform input[type="email"],
.gform input[type="tel"],
.gform textarea {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1em;
    color: #333 !important;
    background: #fff !important;
    box-sizing: border-box;
}

.gform textarea {
    resize: vertical;
    min-height: 100px;
}

.gform .gfield_description {
    font-size: 0.85em;
    margin-top: 0.25em;
    color: #666 !important;
}

.gform .gfield_required {
    color: #d00 !important;
}

.gform_footer {
    margin-top: 1.5em;
    clear: both;
}

.gform_button,
.gform input[type="submit"] {
    background-color: #b4cc7a !important;
    color: #fff !important;
    padding: 0.75em 2em;
    border: none !important;
    border-radius: 3px;
    font-size: 1.2em !important;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    box-shadow: none !important;
}

.gform_button:hover,
.gform input[type="submit"]:hover {
    background-color: #8a7e8a !important;
}

/* Fix input alignment in complex fields */
.gform .ginput_complex input {
    margin-bottom: 0.25em;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .gform .ginput_complex {
        flex-direction: column;
    }
    
    .gform .ginput_left,
    .gform .ginput_right {
        width: 100%;
        min-width: auto;
    }
}