/**
 * Theme Name:     First Response - Builder Theme Child
 * Author:         SM
 * Template:       tenweb-website-builder-theme
 * Text Domain:	   first-response-builder-theme-child
 * Description:    This is a basic theme which helps you design your website.
 */

/* HD Variables */

:root {
  --hd-container-padding: 50px;
  --hd-container-padding-half: 25px;
  --hd-text-margin-bottom: 20px;
  --hd-font-size-headers: 48px;
  --hd-font-size-headers-h2: 42px;
  --hd-font-size-headers-h3: 36px;
  --hd-font-size-headers-h4: 24px;
  --hd-font-size-headers-h5: 24px;
  --hd-font-size-headers-h6: 18px;
  --hd-brand-blue: #013f69;
  --hd-brand-lt-blue: #e3eaf1;
  --hd-brand-red: #b3262d;
  --hd-brand-gray: #f8fafd;

/*
5170a5
*/
  --hd-brand-gray: #f6f6f8;
  --hd-brand-gray-r: 246;
  --hd-brand-gray-g: 246;
  --hd-brand-gray-b: 246;
  --hd-nav-color: #5170a5;

}




/* Text */

/*body, p, li, h2, h3, h4, h5, h6 {
  color:#000 !important;
}*/

h2 {
  color:var(--hd-brand-blue) !important;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  margin-top:0px !important;
  line-height:1em !important;
}

p, h1, h2, h3, h4, h5, .entry-content li {
  margin-bottom:var(--hd-text-margin-bottom) !important;
}

h1, .entry-content h1 {
  font-size: var(--hd-font-size-headers) !important;
  line-height: var(--hd-font-size-headers) !important;
  color:#000 !important;
}

h2, .entry-content h2 {
  font-size: var(--hd-font-size-headers-h2) !important;
  color:var(--hd-brand-blue) !important;
}

h3, .entry-content h3 {
  font-size: var(--hd-font-size-headers-h3) !important;
}

h4, .entry-content h4 {
  font-size: var(--hd-font-size-headers-h4) !important;
  color:var(--hd-brand-blue) !important;
}

h5, .entry-content h5, span.hd_top_header_slogans {
  font-size: var(--hd-font-size-headers-h5) !important;
}

h6, .entry-content h6 {
  font-size: var(--hd-font-size-headers-h6) !important;
}

h2 {
  padding-bottom:0px !important;
  margin-bottom:var(--hd-container-padding) !important;
}

.hd_bottom_margin_none h1, 
.hd_bottom_margin_none h2,
.hd_bottom_margin_none h3,
.hd_bottom_margin_none h4,
.hd_bottom_margin_none h5,
.hd_bottom_margin_none h6 {
  margin-bottom:0px !important;
}

h1:before,
h2:before,
h3:before,
h4:before,
h5:before,
h6:before {
  display:none !important;
}

.hd_section_bg_blue p,
.hd_section_bg_blue h2,
.hd_section_bg_blue h3,
.hd_section_bg_blue h4,
.hd_section_bg_blue h5,
.hd_section_bg_blue h6,
.hd_section_bg_blue li,
.hd_section_bg_blue div,
.hd_section_bg_red p,
.hd_section_bg_red h2,
.hd_section_bg_red h3,
.hd_section_bg_red h4,
.hd_section_bg_red h5,
.hd_section_bg_red h6,
.hd_section_bg_red li,
.hd_section_bg_red div,
.hd_section_bg_black p,
.hd_section_bg_black h2,
.hd_section_bg_black h3,
.hd_section_bg_black h4,
.hd_section_bg_black h5,
.hd_section_bg_black h6,
.hd_section_bg_black li,
.hd_section_bg_black div,
.hd_section_bg_dark p,
.hd_section_bg_dark h2,
.hd_section_bg_dark h3,
.hd_section_bg_dark h4,
.hd_section_bg_dark h5,
.hd_section_bg_dark h6,
.hd_section_bg_dark li,
.hd_section_bg_dark div,
.entry-content .hd_section_bg_blue a,
.entry-content .hd_section_bg_red a,
.entry-content .hd_section_bg_black a,
.entry-content .hd_section_bg_dark a {
  color:#fff !important;
  text-decoration:none !important;
}



/* Global Elements - Buttons */

.wp-block-button .wp-block-button__link,
.wp-block-search .wp-block-search__button,
body .wp-block-file .wp-block-file__button,
a.ast-custom-button-link div.ast-custom-button,
.gform_button.button,
.hd_button_blue .elementor-button,
.elementor-widget-button .elementor-button,
.elementor-widget-button .elementor-button:visited,
.hd_btn a,
input.submit,
a.comment-reply-link,
input.wpcf7-submit,
button.wpcf7-submit,
a.button,
a.button:visited {
  background-color:var(--hd-brand-red) !important;
  color:#fff !important;
  font-size:22px !important;
  font-weight:normal !important;
  padding:10px 20px !important;
  transition: 0.3s !important;
  width:auto !important;
  border-radius:10px !important;
  display:inline-block !important;
  text-decoration:none !important;
  text-align:center !important;
  border:0px solid #000 !important;
}

.hd_button_alt .elementor-button,
.hd_button_alt .elementor-button:visited {
  background-color:#fff !important;
  color:#000 !important;
  border:0px !important;
}

/*
.gform_button.button,
button.wpcf7-submit,
.site-header-primary-section-right .ast-builder-layout-element.ast-header-button-1 a.ast-custom-button-link div.ast-custom-button,
.hd_section_bg_gray .elementor-button,
.hd_section_bg_gray .elementor-button:visited,
.hd_page_cta .elementor-button,
.hd_page_cta .elementor-button:visited,
.hd_button_black .elementor-button,
.hd_button_black .elementor-button:visited {
  background-color:rgba(0,0,0,0) !important;
  text-transform: uppercase;
  color:#000 !important;
  border:2px solid #000 !important;
}
*/

.hd_slider_slide_text_box .elementor-button,
.hd_slider_slide_text_box .elementor-button:visited,
.hd_button_white .elementor-button,
.hd_button_white .elementor-button:visited,
.hd_button_white .wp-block-button__link,
.site-navigation #ast-hf-menu-1 > li.menu-item .hd_button_white a.wp-block-button__link  {
  background-color:rgba(0,0,0,0) !important;
  text-transform: normal;
  color:#fff !important;
  border:2px solid #fff !important;
  padding:10px 20px !important;
}

a.ast-custom-button-link:hover {
  opacity:1 !important;  
}

a.ast-custom-button-link:hover div.ast-custom-button,
a.ast-custom-button-link:hover,
button.single_add_to_cart_button:hover, 
.gform_button.button:hover,
.elementor-widget-button .elementor-button:hover,
.hd_btn a:hover,
input.submit:hover,
input.wpcf7-submit:hover,
button.wpcf7-submit:hover,
a.comment-reply-link:hover,
a.button:hover {
/*  color:#fff !important;
  background-color:rgba(0,105,0,1) !important;
  border:2px solid #006900 !important;
  -webkit-transition: background-color 1000ms linear;
  -ms-transition: background-color 1000ms linear;
  transition: background-color 1000ms linear;
*/
  opacity:.7 !important;
}

.hd_section_bg_blue .elementor-widget-button .elementor-button:hover,
.hd_section_bg_black .elementor-widget-button .elementor-button:hover,
.hd_section_bg_dark .elementor-widget-button .elementor-button:hover,
footer.site-footer .elementor-widget-button .elementor-button:hover {
  background:none !important;
  border-color:#fff !important;
}

.hd_section_bg_gray .elementor-button:hover,
.gform_button.button:hover,
.hd_button_blue .elementor-button:hover {

  opacity:.5 !important;
}

/* &raquo; \00BB */
/* large right carrot  \276D
a.ast-custom-button-link div.ast-custom-button:after,
.elementor-button:after,
.elementor-button:visited:after,
.hd_btn a:after,
input.submit:after,
a.comment-reply-link:after,
input.wpcf7-submit:after,
button.wpcf7-submit:after,
a.button:after,
a.button:visited:after {
  font-size:24px;
  content:"\00BB";
  display:inline-block;
  float:right;
  padding-left:13px;
}
 */


/* Global Elements */


.hd_spacer_half .elementor-spacer-inner,
.hd_spacer_half.wp-block-spacer {
  height:var(--hd-container-padding-half) !important;
}

.hd_spacer .elementor-spacer-inner {
  height:var(--hd-container-padding) !important;
}

/* e-con-inner seems to be only under the parent/top
 elementor-element.*/
.hd_section > .e-con-inner > .e-grid.e-child,
.hd_section > .e-con-inner > .e-flex.e-child,
.hd_rowgap {
  row-gap:20px !important;
}

.hd_section .e-con-inner,
.hd_section .e-con-inner > .elementor-element.e-child > .elementor-element.e-child,
.hd_rowgap_none.e-grid.e-child,
.hd_rowgap_none.e-con.e-child,
.hd_rowgap_none.e-con>.e-con-inner,
.hd_rowgap_none {
  row-gap:0px !important;
}

.hd_show_mobile {
  display:none !important;
}


/* Header */

.admin-bar .elementor-881 {
  top:31px !important;
}

.elementor-881 {
  position:absolute !important;
  top:0px !important;
  padding-top:var(--hd-container-padding-half) !important;
  left:0px !important;
  width:100% !important;
  z-index:99 !important;
}

.hd_site_header {
  background:none !important;
  padding-left:20px !important;
}

.hd_site_header h2 {
  font-size:33px !important;
  margin:0px !important;
}

.hd_header_grid {

}

.hd_logo {
  height:auto !important;
  margin:0px !important;
  padding:0px !important;
  min-height:0px !important;
}

.hd_header_contact ul {
  display:block;
  margin:0px !important;
  text-align:right !important;
}

.hd_header_contact ul li {
  display:inline-block;
  margin:0px !important;
  padding:0px 20px !important;
  text-align:right !important;
}

.hd_header_nav {

}

.hd_header_nav .elementor-nav-menu--main .elementor-nav-menu a,
.hd_header_nav .elementor-nav-menu--main .elementor-nav-menu a.highlighted,
.hd_header_nav .elementor-nav-menu--main .elementor-nav-menu a:focus,
.hd_header_nav .elementor-nav-menu--main .elementor-nav-menu a:hover {
    padding: 6px 20px
}

.hd_header_right {
  flex-direction:column !important;
}

.elementor-menu-toggle {
  margin-bottom:40px !important;
  margin-right:20px !important;
}

.elementor-nav-menu--toggle .elementor-nav-menu--dropdown {
  top:-13px !important;
}

/* Page General */

div[data-elementor-type=wp-page] {
  margin-top:112px !important;
}

div[data-elementor-type=wp-page] div[data-elementor-type=wp-page] {
  margin-top:0px !important;
}

/*
.admin-bar div[data-elementor-type=wp-page] {
  margin-top:112px !important;
}
*/

/* Footer */

.hd_footer {
  background:var(--hd-brand-blue) !important;
  color:#fff !important;
}

.hd_footer p,
.hd_footer a,
.hd_footer a:hover,
.hd_footer a:visited,
.hd_footer a:active {
  color:#fff !important;
}

.hd_footer a:hover {
  text-decoration:underline !important;
}

.hd_footer .twbb-nav-menu--main li,
.hd_footer .twbb-nav-menu--main li a {
  text-align:center !important;
  display:inline-block !important;
}


/* Sections */

footer.site-footer,
.hd_section {
  padding:var(--hd-container-padding) 15px !important;
  background:#fff;
}

.hd_section_padding_top {
  padding-top:var(--hd-container-padding) !important;
  padding-bottom:0px !important;
}

.hd_section_padding_bottom {
  padding-top:0px !important;
  padding-bottom:var(--hd-container-padding) !important;
}

.hd_section_padding_bottom_half {
  padding-bottom:var(--hd-container-padding-half) !important;
}

.hd_section_padding_none {
  padding-top:0px !important;
  padding-bottom:0px !important;
}

.hd_section_padding_side_none {
  padding-left:0px !important;
  padding-right:0px !important;
}

.hd_section_bg_black {
  background:#000 !important;
}

.hd_section_bg_blue {
  background:var(--hd-brand-blue) !important;
}

.hd_section_bg_lt_blue {
  background:var(--hd-brand-lt-blue) !important;
}

.hd_section_bg_red {
  background:var(--hd-brand-red) !important;
}

.hd_section_bg_gray {
  background:var(--hd-brand-gray) !important;
}







.hd_page_header,
.hd_page_header > .e-con-inner,
.hd_page_header > .e-con-inner > .e-grid {
  padding:0px !important;
}

.hd_page_header {
  padding:var(--hd-container-padding) 15px !important;
}

.hd_page_header > .e-con-inner {
}

.hd_page_header > .e-con-inner > .e-grid {
  width:80% !important;
  background:var(--hd-brand-blue) !important;
  border-radius:10px !important;
  overflow:hidden !important;
  column-gap:0px !important;
  grid-template-columns: 60% 40% !important;
  align-self:center !important;
}

.hd_page_header_right .elementor-widget-image {
  flex-grow: 1 !important;
}

.hd_page_header_right img {
  border-radius:0px !important;
  object-fit:cover !important;
  height:100% !important;
}

.hd_page_header_left h1,
.hd_page_header_left h2,
.hd_page_header_left h3,
.hd_page_header_left h4,
.hd_page_header_left h5,
.hd_page_header_left h6,
.hd_page_header_left p {
  color:#fff !important;
}

.hd_page_header_left a {
  color:var(--hd-brand-lt-blue) !important;
}

.hd_page_header_left {
  padding:20px 40px !important;
}

.hd_page_header_right {
  padding:0px !important;
}

.hd_page_header_right {
}

.hd_section_rt_sidebar > .e-con-inner > .e-grid {
  grid-template-columns: 1fr 250px !important;
}

.hd_section_rt_sidebar .hd_section_right {
  border-radius:10px !important;
  overflow:hidden !important;
  padding:var(--hd-container-padding-half) !important;
}

.hd_section_rt_sidebar .hd_section_right h3 {
  font-size:18px !important;
  margin-bottom:10px !important;
}

.hd_section_rt_sidebar .hd_section_right .page-list-ext-item {
  margin:0px !important;
}


.hd_fake_bg_image {
  overflow:hidden !important;
  max-height:600px;
  height:auto !important;
}

.hd_fake_bg_image_image {
  overflow:hidden !important;
}

.hd_fake_bg_image_overlay {
  position:absolute !important;
  top:0px;
  left:0px;
  width:100% !important;
  height:100% !important;
}

.hd_fake_bg_image_overlay a,
.hd_fake_bg_image_overlay a:hover {
  color:#fff !important;
}

.hd_fake_bg_image .hd_yellow_highlight {
  background: linear-gradient(to right, transparent, #efdb9d 25%, #efdb9d 75%, transparent);
  color:#000 !important;
  padding:0px 100px;
  display:inline-block;
}


.hd_teasers h3 a {
  color:var(--hd-brand-red) !important;
}

.hd_teaser h5 {
  margin-bottom:0px !important;
  background:var(--hd-brand-red) !important;
  padding:5px 10px !important;
  color:#fff !important;
  text-align:center !important;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

a.hd_teaser:hover {
  text-decoration:none !important;
  opacity:.7 !important;
}

.hd_teaser {
  border-radius:10px !important;
  overflow:hidden !important;
}

.hd_teaser .twbb_cta-content-wrapper {
  min-height:0px !important;
}

.hd_teaser .twbb_cta-image-background-wrapper {
  max-height:150px !important;
  overflow:hidden !important;
}

.hd_teaser img,
.hd_teaser .twbb_cta-image-background-wrapper img {
  border-radius:0px !important;
  min-height:none !important;
  max-width:100% !important;
  height:auto !important;
  width:auto !important;
}

.page-list-ext:before,
.page-list-ext:after {
  display:none !important;
}

.page-list-cols-2 {
  display:grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap:var(--hd-text-margin-bottom) !important;
  row-gap:var(--hd-text-margin-bottom) !important;
}


/* Forms */

.hd_contact_form_home {
  background:var(--hd-brand-gray) !important;
  border-radius:10px;
  padding:0px;
  max-width:400px !important;
  width:100% !important;
  overflow:hidden !important;
}

.hd_contact_form_home .hd_form_inner {
  width:100% !important;
  padding:0px 10px 10px 10px;
}

.hd_contact_form_home .hd_form_inner p {
  margin-bottom:0px !important;
  line-height:1em !important;
}

.hd_contact_form_home h2 {
  background:var(--hd-brand-blue) !important;
  color:#fff !important;
  font-size:24px !important;
  width:100% !important;
  padding:10px !important;
  margin-bottom: 0px !important;
  text-align:center !important;
}

.hd_contact_form_home input.wpcf7-submit,
.hd_contact_form_home button.wpcf7-submit {
  width:100% !important;
  background:var(--hd-brand-blue) !important;
}

.hd_contact_form_home h2,
.hd_contact_form_home input {
  margin-bottom:10px !important;
  width:100% !important;
}

.hd_contact_form_home .wpcf7-spinner {
  display:none !important;
}


/* Responsive */


@media (max-width: 1024px) {
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main {
    display: flex;
  }
}

@media (max-width: 1023px) {

  .hd_teasers .elementor-element.e-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    row-gap:20px !important;
  }

  .hd_page_header > .e-con-inner > .e-grid {
    width:95% !important;
    grid-template-columns: 60% 40% !important;
  }

}

@media (max-width: 1000px) {
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main {
    display: none;
  }
}

@media (max-width: 767px) {

  .hd_teasers .elementor-element.e-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hd_page_header > .e-con-inner > .e-grid {
    grid-template-columns: 1fr !important;
    padding-bottom:20px !important;
  }

  .hd_section_rt_sidebar > .e-con-inner > .e-grid {
    grid-template-columns: 1fr !important;
  }

}

@media (max-width: 699px) {

  .hd_header_right {
    display:grid !important;
    grid-template-columns: 1fr 40px !important;
    flex-direction:row !important;
    padding-right:20px !important;
    
  }

  .hd_header_contact ul li {
    display:block !important;
    padding-left:0px !important;
    padding-right:5px !important;
  }

  .elementor-menu-toggle {
    margin-bottom:5px !important;
    margin-right:0px !important;
  }

  .elementor-nav-menu--toggle .elementor-nav-menu--dropdown {
    top:-19px !important;
  }

}

@media (max-width: 499px) {

  .hd_header_contact .hd_show_mobile {
    display:inline !important;
  }

  .hd_header_contact .hd_hide_mobile {
    display:none !important;
  }

  .hd_fake_bg_image_overlay h1 {
    margin-top:0px !important;
    font-size:24px !important;
    line-height:1em !important;
  }

  .hd_fake_bg_image_overlay p {
    font-size:16px !important;
  }

  .hd_fake_bg_image .hd_yellow_highlight {
    padding:0px 50px;
  }

  .hd_teasers .elementor-element.e-grid {
    grid-template-columns: 1fr !important;
  }

}

@media (max-width: 425px) {

  .hd_site_header {
    padding-left:10px !important;
  }

  .hd_header_right {
    padding-right:10px !important;
  }

  .hd_header_grid {
    column-gap:0px !important;
  }

  .hd_header_contact ul li {
    font-size:14px !important;
  }

  .hd_fake_bg_image_overlay h1 {
    margin-top:0px !important;
    margin-bottom:10px !important;
    font-size:18px !important;
    line-height:1em !important;
  }

  .hd_fake_bg_image_overlay p {

  }

}