/*
Theme Name:   OARC WP Elementor Child
Description:  Child theme for hello-elementor on the DFM AdminRules site.
Template:     hello-elementor
Version:      1.0.0
*/

header {
  background-color: #2b464a;
  padding: 0;
}

.header_search_form {
  position: absolute;
  top: 100%;
  right: 0px;
  background-color: #2b464a;
  padding-top: 13px;
  padding-right: 10px;
  padding-bottom: 13px;
  padding-left: 10px;
  display: none;
  width: 246px;
  z-index: 9;
}
.header_search_form input {
  font-size: 16px;
  padding: 9px 7px;
  font-family: "Arial";
  border: 0;
  border-radius: 12px;
  color: #363636;
  width: 100%;
}
.header_search_form input:focus {
  box-shadow: 1px 1px 8.4px 2px #ac883e;
}
.filter-options button {
  border: 0px;
}
.header_search.active .header_search_form {
  display: block;
}
.position-relative {
  position: relative !important;
}
#header_search_btn {
  font-size: 0;
  color: #e8edd9;
  fill: #e8edd9;
  padding: 15px 0 15px 15px;
  border-left: 1px solid #e8edd9;
  margin-left: 20px;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background-color: #00000000;
}
.header_search_form button {
  position: absolute;
  right: 0px;
  bottom: 0px;
  background-color: #fff;
  border: none;
  font-size: 16px;
  color: #696969;
  padding: 7px 8px 1px;
  border-radius: 0 12px 12px 0;
}
#header_search_btn span {
  font-size: 35px;
}
.header_search_form button:hover,
.header_search_form button:active,
.header_search_form button:focus {
  background-color: #00000000;
  border: 0;
  color: #696969;
}
#dfm-search .btn-transparent {
  padding: 10px 13px;
  height: auto;
  width: auto;
}
#header_search_btn:active,
#header_search_btn:focus {
  border-width: 0 0 0 1px;
  background-color: #00000000;
}
.d-flex {
  display: flex !important;
}
.align-items-center {
  align-items: center !important;
}
.justify-content-between {
  justify-content: space-between !important;
}
footer li {
  width: 33.33%;
}

.quick_links:before {
  position: absolute;
  content: "";
  width: 242px;
  height: 190px;
  display: block;
  top: 0;
  left: 0;
  background: url(https://adminrules.idaho.gov/wp-content/uploads/2025/03/quicklinks_before.png)
    no-repeat;
}
.quick_links:after {
  position: absolute;
  content: "";
  width: 210px;
  height: 160px;
  display: block;
  bottom: 0;
  right: 0;
  background: url(https://adminrules.idaho.gov/wp-content/uploads/2025/03/quicklinks_after.png)
    no-repeat;
}

header .tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-btn {
  display: block;
}

.hover-tabs-wrapper .active.tab-btn a.elementor-button {
  background-color: #2b464a;
  color: #e7edd7;
}
.hover-tabs-wrapper
  .active.tab-btn
  a.elementor-button
  span.elementor-button-icon {
  fill: #e7edd7;
}

.hover-tabs-wrapper .tab-btn .elementor-button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
}

.hover-tabs-wrapper .elementor-button-content-wrapper .elementor-button-icon {
  font-size: 20px;
}

.e-n-tab-title[aria-selected="true"],
.e-n-tab-title[aria-selected="false"]:hover {
  background: #2b464a !important;
}
span.elementor-button-icon {
  width: 30px;
  height: 30px;
  background: #000000;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

span.elementor-button-icon svg {
  width: 19px;
  height: 25px !important;
  fill: #e7edd7;
}

.hover-tabs-wrapper .active.tab-btn a.elementor-button .elementor-button-icon,
.hover-tabs-wrapper .elementor-button-link:hover .elementor-button-icon {
  background: #e7edd7;
}
.hover-tabs-wrapper
  .active.tab-btn
  a.elementor-button
  .elementor-button-icon
  svg,
.hover-tabs-wrapper .elementor-button-link:hover .elementor-button-icon svg {
  fill: #000;
}

.hover-tabs-wrapper .tab-btn a.elementor-button {
  text-align: left;
}

#menu-header-menu .menu-item > a {
  position: relative;
}

#header_menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  position: relative;
}
header .menu-item a {
  cursor: pointer;
}
header .menu-item > a:after {
  position: absolute;
  content: "";
  height: 2px;
  width: 100%;
  background-color: #ffd382 !important;
  bottom: 20px;
  left: 0;
  opacity: 0;
}

header #header_menu .menu-item.mega-menu-open > a {
  color: #ffd382;
}

header #header_menu .menu-item.mega-menu-open > a:after,
header .menu-item.current-menu-parent > a:after,
header .menu-item > a.active:after,
header .menu-item > a:hover:after {
  opacity: 1;
}

.card-header h5 {
  margin: 0px;
}

span.elementor-button-text {
  flex: 1;
}

.tooltip-wrapper {
  display: inline-block;
  cursor: pointer;
}

.tooltip-trigger {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.tooltip-trigger:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #f6f6f6;
  padding: 6px 8px;
  border-radius: 12px 12px 12px 0;
  position: absolute;
  z-index: 100;
  cursor: default;
  transform: translate(13px, -111px);
  transition: opacity 0.2s ease;
  width: 343px;
  white-space: normal;
  font-size: 12px;
  color: #1d2a20;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: 1px solid #bbb;
  top: 30px;
  left: 0;
}
.tooltip-trigger:hover,
.tooltip-trigger:focus {
  background: none;
}

/* Visible state */
.tooltip-wrapper.is-open .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.mega-menu {
  left: 0 !important;
  top: 100% !important;
  display: none;
}
header .elementor-menu-toggle {
  align-items: center;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  color: #33373d;
  cursor: pointer;
  display: flex;
  font-size: 36px;
  justify-content: center;
  padding: 0;
  margin-top: -7px;
}

/* DFM SEARCH Page */
.search-results_header,
.results-container-header {
  background: none;
}
.search-results_page h1,
.search-results_page h2,
.search-results_page h3,
.search-results_page h4,
.search-results_page h5,
.search-results_page h6 {
  margin: 0;
}
.search-results_header h1 {
  margin: 0;
}
.dfm-search button,
.btn-transparent {
  border: 0;
  padding: 0;
}
.search-results_page a {
  /* color: #0a6ec0; */
  color: #004b84;
}

.search-results_page .results-container-header h3 {
  font-family: Arial;
  font-size: 24px;
}
.dfm-search input {
  border: none;
  height: 100%;
  width: 100%;
  padding: 0 12px;
  font-size: 15px;
}
.btn-set-year {
  border: 0;
}
dt.card-label {
  margin-bottom: 4px;
}
.search-results_page hr {
  margin: 1em 0 !important;
}
.search-results_page h4 {
  font-size: 16px;
}
.filters-container-header .btn:hover {
  background: #3a606e;
  color: #fff;
}

#contact_bg:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/contactUS-1.jpg) center top;
  background-size: cover;
  left: 100%;
  top: 0;
  bottom: 0;
}

#plan_custom_tab .e-n-tabs-heading {
  background: #2b464a;
  border-radius: 12px;
  padding: 13px;
}
#plan_custom_tab .e-n-tabs-heading button[aria-selected="true"] {
  color: #192a1f;
  background-color: #e7edd7 !important;
}
.modal-content .close-btn {
  padding: 0;
  border: 0;
}
.modal_wrap h4 {
  margin: 0 0 6px;
}

/* Media Querry */

@media screen and (min-width: 1300px) {
  header .e-con > .e-con-inner,
  .e-con > .e-con-inner {
    max-width: 1278px !important;
  }

  .e-con > .e-con-inner {
    max-width: 1278px !important;
  }
  footer .e-con > .e-con-inner {
    max-width: 1380px !important;
  }
}
@media screen and (min-width: 1440px) {
  header .e-con > .e-con-inner {
    max-width: 1400px !important;
  }
}

@media screen and (max-width: 1199px) {
  .tooltip-text {
    right: 0;
    transform: translate(0, -133px);
    left: -295px;
    border-radius: 12px 12px 0 12px;
    width: 343px;
  }
  footer .elementor-nav-menu a {
    white-space: normal !important;
    padding-right: 12px !important;
  }

  #plan_custom_tab .e-n-tabs-heading::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
  }

  #plan_custom_tab .e-n-tabs-heading::-webkit-scrollbar {
    height: 4px;
    background-color: #f5f5f5;
  }

  #plan_custom_tab .e-n-tabs-heading::-webkit-scrollbar-thumb {
    background-color: #dcf0a4;
  }
}

@media (max-width: 1024px) {
  header {
    padding: 14px 0;
  }
  #header_search_btn {
    margin-left: 0;
    padding: 10px 0 10px 15px;
  }
  .search-results_header h1 {
    margin: 0;
    font-size: 30px;
    padding-bottom: 12px;
  }
  .search-results_wrapper {
    gap: 30px;
  }
  .search-results_header {
    padding: 0;
  }
  .filters-container {
    padding: 25px 15px;
  }
  .search-results_page .filters-container-header {
    font-size: 22px;
  }
  .filter-field legend {
    font-size: 20px;
  }
  .custom-checkbox p {
    font-size: 16px;
  }
  .card-header .flex-span {
    margin-bottom: 10px;
  }
  .card-body {
    display: flex !important;
  }

  /* Mobile Menu */

  #site-header .e-con-inner,
  .site-header .e-con,
  #header_menu {
    position: static;
  }
  .site-header {
    position: relative;
  }
  header #header_menu .menu-item.mega-menu-open > a {
    color: #1d2a20;
  }
  #header_menu .hover-tabs-wrapper .tab-btn a.elementor-button,
  #header_menu .hover-tabs-wrapper .active.tab-btn a.elementor-button,
  #header_menu .menu-item > a,
  .inner_sub_menu ul li a {
    color: #1d2a20;
    font-size: 18px;
    text-align: left;
    font-weight: 400;
    font-family: "Montserrat";
    padding: 10px;
    border-bottom: 1px solid #acacac;
    line-height: 30px;
    border-top: 1px solid #acacac;
    background-color: #fff;
    box-shadow: none;
    margin-bottom: -1px;
  }
  #header_menu .mega-menu .hover-tabs-wrapper .tab-btn a.elementor-button,
  #header_menu
    .mega-menu
    .hover-tabs-wrapper
    .active.tab-btn
    a.elementor-button {
    border: 0;
  }

  #header_menu .menu-item.contact > a {
    background-image: none;
    margin-bottom: 0;
  }
  #header_menu .menu-item > a {
    background: url(../images/angle_down.png) no-repeat right 15px center;
    margin-bottom: -1px;
  }
  #header_menu .menu-item.mega-menu-open > a {
    background-image: url(../images/angle_up.png);
    background-position: right 15px top 21px;
    background-repeat: no-repeat;
  }
  .inner_sub_menu,
  .inner_sub_menu ul {
    display: block !important;
  }
  #header_menu #header_menu .menu-item .inner_sub_menu a {
    background: #e8edd9 !important;
    margin-bottom: -1px;
    padding-left: 40px;
  }
  #header_menu .elementor-nav-menu--dropdown {
    position: absolute;
    width: 100%;
    left: 0;
    top: 68px;
    z-index: 99;
    margin: 0;
    transform: translate(0, 0);
  }
  #header_menu {
    gap: 0;
    margin-left: auto;
    z-index: 999;
  }
  #header_menu
    .mega-menu
    .hover-tabs-wrapper
    .tab-btn
    a.elementor-button
    .elementor-button-icon,
  header .menu-item > a:after {
    display: none;
  }

  #header_menu .mega-menu .hover-tabs-wrapper #rla-tab-2 a.elementor-button,
  #header_menu .mega-menu .hover-tabs-wrapper #budget-tab-3 a.elementor-button,
  #header_menu .mega-menu .hover-tabs-wrapper #budget-tab-2 a.elementor-button {
    background-color: #e8edd9;
  }
  .inner_sub_menu ul li a {
    border: 0;
    padding-left: 30px !important;
  }
}
@media screen and (max-width: 767px) {
  .quick_links:before {
    background-size: 100px;
    width: 103px;
    height: 82px;
  }
  .quick_links:after {
    background-size: 100px;
    height: 75px;
    width: 92px;
  }

  .dfm-search {
    height: 46px !important;
  }
  .search-results_header {
    gap: 30px;
  }
  .search-results_header h1 {
    font-size: 25px;
    padding-bottom: 8px;
  }
  .filter-dropdown-button h2 {
    font-size: 18px !important;
  }
  .filter-dropdown-button {
    padding: 12px;
    background-color: #f0f0f0;
  }
  .search-results_page .results-container-header h3 {
    font-size: 18px;
  }
  #contact_bg:after {
    display: none;
  }
}

@media screen and (max-width: 575px) {
  #header_menu .hover-tabs-wrapper .tab-btn a.elementor-button,
  #header_menu .hover-tabs-wrapper .active.tab-btn a.elementor-button,
  #header_menu .menu-item > a,
  .inner_sub_menu ul li a,
  #header_menu .menu-item > a {
    font-size: 16px !important;
  }

  footer li {
    width: 50%;
  }
  #header_search_btn {
    padding: 15px 0 15px 10px;
    margin-left: 0;
  }
  #site-header {
    padding: 8px 15px;
  }
  header {
    padding: 0;
  }
  #header_menu {
    margin-left: 0;
  }
}
@media screen and (max-width: 460px) {
  footer li {
    width: 100%;
  }
  footer li a {
    max-width: 150px;
  }
}
