/* header navigation styles */
.main-navigation { padding-right: 0; }
.global-header { box-shadow: none; }
/* header { background: #003F78 !important; } */
.nav li ul { border-top: none; }

/* darken text link for enhanced AAA accessbility compliance */
.page-container 

a {
 color: #014474;
  
}
.page-container a:focus {
  outline: solid 2px #1497F0;
}

.et_pb_widget_area .et_pb_widget a, .et_pb_bg_layout_light .et_pb_widget li a {
 color: #014474;
}

.et_pb_bg_layout_light .et-pb-controllers a {
    background-color: unset; !important
}

.et-pb-controllers{
bottom: -15px;
padding-top: 10px;
background-color: #FFF;
}

.et-pb-arrow-prev, .et-pb-arrow-next{
background-color: #FFFFFF;
padding: 5px;
border-radius: 10px;
}

.et-pb-controllers a {
  border: 3px gray solid;
  border-radius: 4px;
  width: 12px;
  height: 12px;
  color: black;
  opacity: unset; !important
}

.et_pb_bg_layout_light .et-pb-controllers .et-pb-active-control{
	color: #FFFFFF;
}

  .et_pb_toggle_open{
    background-color: #f4f4f4 !important;
  }
  .et_pb_toggle_close:nth-child(even){
    background-color: #ffffff !important
  }
  .et_pb_toggle_close:nth-child(odd){
    background-color: #f4f4f4 !important;
  }

@media (min-width: 992px){
    .unit1 { height: 100% !important; }
   
  .nav-item .first-level-link.has-sub .carrot, .first-level-btn .carrot { color: #fff; }
}
.top-level-nav .nav-item { background: #003F78; }
.first-level-link, .first-level-btn { color: #fff !important; }
.first-level-btn>span[class^="ca-gov-icon"]:not(.carrot) {
    color: #fff;
}
.first-level-link:hover, .first-level-link:focus, .first-level-btn:hover, .first-level-btn:focus { color: #fff; background: #153554; }
.nav-item:hover .first-level-btn>span[class^="ca-gov-icon"] { color: #fff; background: #153554; }

.nav ul li:hover { background-color: #153554; opacity: 1; }
.nav ul li.unit1:hover { background-color: #fff; }
.second-level-nav li { line-height: 1 !important; }
.sub-nav { background: #fff !important; }
a.second-level-link { padding: 5px !important; }
.second-level-link { color: #003F78 }

@media (min-width: 992px){
  .first-level-link>span[class^="ca-gov-icon"]:not(.carrot), .first-level-btn>span[class^="ca-gov-icon"]:not(.carrot) {
     display: none; 
  }
.nav-item .first-level-link.has-sub .carrot, .first-level-btn .carrot { line-height: 5; }
}

.top-level-nav .nav-item { font-size: 1.25rem; }
#navigation .nav-item .sub-nav {
    max-height: 0;
    line-height: 1 !important
}

@media  (min-width: 992px){
  .main-navigation .top-level-nav .nav-item {
    line-height: 3.4 !important;
  }
}
.nav ul li a:hover { opacity: 1; }

.second-level-nav>li {
    border-bottom: 2px solid #fff;
}
.nav ul li.unit1:hover {
    background-color: #fff;
    border-bottom: 2px solid #153554;
}

.nav ul li.unit1:focus-within {
    border-bottom: 2px solid #153554;
}

@media (min-width: 1280px) and (max-width: 1410px){
    .last-submenu-item {
        left: 0 !important;
        min-width: 200px !important;
        max-width: 200px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1279px){
    .last-submenu-item {
        left: 0 !important;
        min-width: 192px !important;
        max-width: 192px !important;
    }
}

@media (min-width: 1100px) and (max-width: 1199px){
    .last-submenu-item {
        left: 0 !important;
        min-width: 182px !important;
        max-width: 182px !important;
    }
}

@media (min-width: 990px) and (max-width: 1099px){
    .last-submenu-item {
        left: 0 !important;
        min-width: 142px !important;
        max-width: 142px !important;
    }
}
/* sticky navigation */

@media (min-width: 992px) {
  .fixed.compact .main-navigation { 
     margin-top: -58px;
   }
  .fixed.compact .main-navigation .top-level-nav .nav-item {
    line-height: 1 !important;
  }
  .compact .nav-item .first-level-btn .carrot {
    line-height: 1;
  }
}

/* styles for white background logo */
@media (max-width: 1200px){
  .branding .header-organization-banner img {
     max-width: 200px;
     max-height: 100%;
  }
}

/* mobile only styles */
@media (max-width: 991px) {
.first-level-btn span[class^="ca-gov-icon"]:not(.carrot) { 
   display: none;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {

    .first-level-btn .carrot { 
        line-height: 5; 
    }
    .main-navigation .top-level-nav .nav-item {
        font-size: 1.25rem;
  }

}

/* remove hyperlink underline */
.main-content #navigation a:not(.btn) {
    text-decoration: none;
    text-decoration-style: dotted;
    text-decoration-thickness: from-font;
}

/* table styles */
#caloes-table th { 
color: #fff; background-color: #003F78; border-style: solid; color: #fff; 
}
#caloes-table tbody tr:nth-child(odd) {
   background-color: #EDEDED!important;
}
#caloes-table tr td {
  border-top: 1px solid darkgrey;
}
@media screen and (max-width: 992px) {	
  table { width:100%; }
  thead { display: none; }
  tr { height: auto !important; }
  /* tr:nth-of-type(2n) { background-color: inherit; } */
  tr td:first-child { font-weight:bold;font-size:1.3em; } 
  tbody td {display: block;  text-align: center; width: 100% !important; height: auto !important; }
  tbody td:before {
      content: attr(data-th);
      display: block;
      text-align: center; 
  }
}

/* custom google search */
#head-search { 
    position: relative !important; 
    top: 0 !important;
    padding: 0 !important;
}

#head-search .container {
    padding-top: 0 !important;
    padding-left: 0;
}

#head-search #Search .close-search-btn {
    display: none;
}

body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content #head-search .container {
    padding-top: 0 !important;
    padding-right: 0 !important;
}

#google-search { margin-left: 50px; }
#google-search.breadcrumb-search { margin-left: 0; }
#google-search.breadcrumb-search #Search {
    max-height: 36px;
}
#google-search.breadcrumb-search #Search .gsc-search-button {
    max-height: 36px;
}
#head-search.search-container #Search .gsc-search-button {
    right: 0 !important;
}
.search-container #Search .gsc-search-button {
    right: 0 !important;
}
.search-container.active {
    background: none; 
    border: 1px solid #003F78;
}

.gsc-search-button {
    color: #FFFFFF!important;
    background-color: #003f78!important;
    border-color: #003f78!important;
    width: 65px !important;
}

.gsc-search-button.large-search {
  width: 75px !important;
}
.gsc-search-button:focus {
    outline: none;
    background: #153554 !important;
}
.gsc-search-button .ca-gov-icon-search {
    display: none;
}
@media (min-width: 992px){
    #nav-item-search {
    display: none;
    }
}

@media (max-width: 991px){
    .search-container #Search .gsc-search-button {
        padding-left: 5px;
        padding-right: 5px;
    }
    .top-level-nav .nav-item#nav-item-search {
        display: none;
    }
}

.mobile-controls .toggle-search {
    display: none;
}

/* list item padding */
.entry-content ul li { padding-bottom: 0.5em; }

/* dotted underline all links */
.main-primary a:link {
	text-decoration: underline dotted !important;
}

/* exclude menu items, buttons, breadcrumbs from anchor text decoration 
.et_pb_ca_fullwidth_section_footer a:link { text-decoration: none !important; }
.lwp-breadcrumbs a:link { text-decoration: none !important; }
.et_pb_blurb a:link { text-decoration: none !important; }
.et_pb_tabs a:link { text-decoration: none !important; }
a.et_pb_button:link { text-decoration: none !important; }*/


/* fixing high constract call to action/blurb styles */

html.high-contrast .et_pb_promo h2 {
    color: #ffd600 !important;
}

html.high-contrast .et_pb_blurb .et_pb_module_header a {
    color: #ffd600 !important;
}

html.high-constrast .et_pb_toggle h2.et_pb_toggle_title {
    color: #ffd600 !important;
}

/* pods styles -events */
#pods-meta-applicant-briefing { display: none; }
#pods-meta-public-meeting-notice {display: none; }
.meeting-notice p { margin: 0; }
.meeting-notice p.mdate { margin-bottom: 0.7rem; }
.applicant-briefing .briefing-facts {
    column-count: 3;
    column-gap: 2em;
}

.briefing-facts div {
    break-inside: avoid;
}
.briefing-facts div h4, .briefing-loc h4, .briefing-counties h4 {
    padding-bottom: 0 !important;
}

.briefing-loc, .briefing-counties {
    margin-top: 5px;
}
.briefing-loc p, .briefing-counties p {
    margin: 0 !important;
}

.pods-form-filters-event { margin-bottom: 2em; }
.pods-form-filters-search { display: none; }
.pods-form-filters-submit { margin-top: 1rem; }
select#pods-form-ui-filter-counties { max-width: 350px; }
select#pods-form-ui-filter-ab-event-type { max-width: 500px; }


.procs-table td  { border: 2px solid #000; }


/*breadcrumb overlap fix*/
.entry-content { padding-top: 5px; }


/* darken alert text link for accessbility compliance */

.alert-text a { color: #282828; }
.alert-text a:hover { color: blue; }
