#ethnio-campaign-theme {left: 45px !important;}

/* GLOBAL 
Style adjustments for CAWeb v1.5.7 
*/

a:focus,
button:focus {
  outline: solid 2px #fdb81e !important;
}
/* Changing site's global max width */
@media (min-width: 1280px) {
  .main-navigation,
  .mobile-controls,
  .container,
  .main-content > .section,
  .two-column .main-content > .section,
  .branding,
  .non_divi_builder .main-content,
  #main-content .entry-content .et_builder_inner_content > .et_pb_section > .et_pb_row,
  #main-content .entry-content .et_builder_inner_content > #et-fb-app .et-fb-post-content > .et_pb_section > .et_pb_row,
  #main-content .entry-content > .et_pb_section > .et_pb_row,
  .et_pb_module.et_pb_fullwidth_menu .et_pb_row {
    max-width: 1176px !important;
  }
}

/* Colorscheme root variables */
:root {
  --primary-color: #064e66;
  --primary-hover-color: #043747;
  --standout-color: #2f4c2c;
  --standout-hover-color: #21351f;
  --secondary-color: #cf5d28;
  --highlight-color: #fdb81e;
}

.global-header {
  border-bottom: 1px solid #ededef;
  box-shadow: none;
}

/*START -  utility header custom styles  */
.utility-header {
  background-color: #f9f9fa !important;
  min-height: 44px;
  border-bottom: 1px solid #ededef;
}

/*add different ca.gov logo */
.header-cagov-logo {
  background-image: url("https://california.azureedge.net/cdt/CAgovPortal/images/ca-gov-logo.svg");
  background-repeat: no-repeat;
  background-position: 0px 7px;
  width: 40px;
  background-size: contain;
}
.header-cagov-logo a {
  width: 45px;
  height: 34px;
}
.header-cagov-logo img {
  display: none;
}

/* replace home icon with state of california text */
.social-media-links .ca-gov-icon-home:before {
  content: "Official website of the State of California" !important;
  font-family: "Public Sans", sans-ferif !important;
  font-size: 0.95rem;
}

/* in case you want to use custom translate link to stand alone page */
#caweb-gtrans-custom:after {
  content: "Translate";
}

/*  remove google name and logo from 'select language' in utility header */
.goog-logo-link,
.goog-logo-link:link,
.goog-logo-link:visited,
.goog-logo-link:hover,
.goog-logo-link:active {
  display: none;
}
div.goog-te-gadget {
  color: transparent !important;
  margin-left: 15px;
  margin-bottom: -10px;
}

#google_translate_element.standard-translate {
  margin-bottom: -6px;
}
/* end - remove google name and logo from 'select language' in utility header */

/* modify settings button */
.utility-header .flex-row .settings-links button.btn-primary {
  color: black !important;
  border: none !important;
  background: none !important;
  display: none;
}
/* Utility header in mobile */
@media (max-width: 991px) {
  .utility-header {
    padding-bottom: 8px;
  }
  .utility-header .flex-row .settings-links {
    display: none;
  }

  .social-media-links .ca-gov-icon-home:before {
    content: "State of California" !important;
  }
}

/* END -- Utility Header custom styles */

/* START -- BRANDING */
.header-organization-banner {
  background-image: url("https://california.azureedge.net/cdt/CAgovPortal/images/cannabis-logo.svg");
  background-repeat: no-repeat;
  background-position: 0px 7px;
  width: 230px;
  background-size: contain;
}
.header-organization-banner img {
  display: none;
}
.header-organization-banner a {
  width: 240px;
  height: 80px;
}

.branding:after {
  content: "";
  border-bottom: 1px solid #ededef;
  position: absolute;
  width: 100%;
  left: 0px;
  bottom: -5px;
}
@media (min-width: 992px) {
  .branding {
    position: unset;
  }
  .branding:after {
    content: "";
    border-bottom: 1px solid #ededef;
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: 55px;
  }
  .fixed.compact .header-organization-banner {
    max-height: 55px;
    width: 160px;
  }
  .fixed.compact .header-organization-banner a {
    height: 60px;
  }
}
@media (max-width: 991px) {
  .header-organization-banner {
    height: 90px;
    width: 250px;
    background-position: 0px 3px;
  }
}

/* END --  branding */

/* START -- Navigation */
@media (min-width: 992px) {
  .navigation-search {
    padding-left: 0px !important;
  }
  .full-width-nav .main-navigation {
    margin-top: 5px;
    padding-left: 0px;
    min-height: 55px;
  }

  .top-level-nav {
    min-height: 55px;
  }
  .top-level-nav .nav-item {
    flex: unset !important;
    padding: 0 !important;
    margin-right: 5%;
  }
  .top-level-nav .nav-item:hover,
  .top-level-nav .nav-item:focus {
    background: none !important;
  }
  .top-level-nav .nav-item:hover .first-level-link,
  .top-level-nav .nav-item:hover .first-level-btn {
    color: #064e66 !important;
    text-decoration: underline;
  }
  .first-level-link,
  .first-level-btn {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 16px !important;
    color: #064e66 !important;
  }
  .full-width-nav .main-navigation .top-level-nav .first-level-btn {
    padding-right: 25px;
    padding-top: 17px !important;
  }
  .first-level-link:hover {
    background: none !important;
  }
  .main-navigation .first-level-link .ca-gov-icon-logo,
  .main-navigation .first-level-btn .ca-gov-icon-logo {
    display: none !important;
  }
  /*remove search button*/
  #nav-item-search {
    display: none;
  }
  /*Sub navigation styles */

  .nav-item .sub-nav.open {
    outline: 1px solid #efefef;
    box-shadow: 0px 4px 7px -1px rgba(0,0,0,0.49);
    z-index: -1;
  }

  a.second-level-link:hover,
  a.second-level-link:focus {
    background: none !important;
    text-decoration: underline !important;
  }
  .nav-item .first-level-link.has-sub .carrot,
  .first-level-btn .carrot {
    font-size: 1.4rem;
    bottom: 11px !important;
    color: var(--primary-color);
  }
  .second-level-nav .unit2, .second-level-nav .unit2 {
    overflow: visible !important;
    height: unset !important;
  }
}

/*Navigation mobile*/
@media (max-width: 991px) {
  .nav-item:focus, .nav-item:hover, nav-item-search:focus, nav-item-search:hover {
    background-color: #fff;
  }
  .main-navigation.dropdown .sub-nav {
    max-width: 100%;
  }
  .first-level-btn,
  .first-level-link {
    border-bottom: none !important;
    border-top: 1px solid #ededef;
  }
  .first-level-btn > span[class^="ca-gov-icon"]:not(.carrot),
  .first-level-link > span[class^="ca-gov-icon"]:not(.carrot) {
    display: none !important;
  }
  .has-sub .rotate,
  .first-level-btn,
  .first-level-link {
    color: var(--primary-color) !important;
  }
  /*mobile control buttons (search and menu) */
  .branding .header-organization-banner {
    padding-right: 0;
    position: relative;
  }
  .mobile-controls {
    min-height: unset !important;
    padding-top: 16px;
    padding-bottom: 10px;
  }
  .main-nav-icons {
    height: unset !important;
    justify-content: flex-start;
  }
  .mobile-controls .toggle-search {
    width: unset !important;
    height: unset !important;
    font-size: 1rem;
    margin-left: 25px;
  }

  .toggle-search:after {
    content: "Search";
    font-size: 1rem;
  }

  .toggle-search .ca-gov-icon-search:before {
    content: "\55" !important;
    font-size: 1.25rem;
    position: relative;
    top: 2px;
  }
  #nav-item-search {
    display: none;
  }
  .mobile-controls .toggle-menu {
    height: unset !important;
    width: unset !important;
    margin-left: -10px;
    margin-top: -2px;
  }
  .mobile-controls .toggle-menu:focus {
    outline: 2px solid #fdb81e;
  }
  .mobile-controls .toggle-menu:after {
    content: "Menu";
    font-size: 1rem;
    font-family: "Public Sans";
    display: block;
    color: #064e66 !important;
    margin-left: 35px;
  }

  .toggle-menu span {
    margin-left: 0;
    margin-right: 0;
    height: 2px;
    width: 20px;
    left: 10px;
  }
  .toggle-menu span:nth-child(1) {
    top: 2px;
  }
  .toggle-menu span:nth-child(2),
  .toggle-menu span:nth-child(3) {
    top: 9px;
  }
  .toggle-menu span:nth-child(4) {
    top: 16px;
  }
  /* second level mobile */
  .first-level-btn[aria-expanded="true"] {
    border-bottom: none;
  }
  .second-level-nav > li {
    border-bottom: none !important;
  }
  a.second-level-link {
    padding: 10px 15px 10px 15px !important;
  }
}
/* end mobile navigation */
/* navigation dropdown */
.main-navigation.dropdown .second-level-nav, .main-navigation.dropdown .second-level-nav > li {
  border: none !important;
}
.main-navigation.dropdown .sub-nav ul li {
  background-color: #ffffff;
  padding-left: 0;
  padding-right: 0;
  height: unset;
  overflow: visible !important;
  display: block;
}
.second-level-nav > li:focus,
.second-level-nav > li:hover {
  background-color: #ffffff;
}
.main-navigation .ca-gov-icon-triangle-down:before {
  content: "\33" !important;
}
.top-level-nav .nav-item {
  font-size: 1.125rem;
}
a.second-level-link {padding-left: 15px;}
a.second-level-link:focus {
  outline: 2px solid #fdb81e;
    outline-offset: -2px;
}

/* END -- Navigation */

/*START -- Google Search */
@media (min-width: 992px) {
  .full-width-nav .featured-search {
    top: -60px !important;
    width: 32%;
    transition: none;
  }

#head-search .container {
    width: 100% !important;
  }
  /* for fixed nav */
  .full-width-nav #head-search.fixed-hide:not(.active) .search-textfield {
    height: 40px !important;
  }
  .full-width-nav #head-search.fixed-hide:not(.active) .gsc-search-button {
    height: 40px !important;
    top: 0 !important;
  }
}

.full-width-nav .featured-search input.search-textfield {
  border: 1px solid !important;
  border-color: #2f4c2c !important;
  height: 40px !important;
  border-radius: 5px;
}

.container #Search .gsc-search-button {
  position: relative !important;
  right: 5px !important;
  outline-offset: -2px;
  background-color: #2f4c2c !important;
  border: 1px solid #2f4c2c !important;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 0px 17px 0px 17px;
  height: 40px !important;
  width: 55px !important;
}
.gsc-search-button .ca-gov-icon-search:before {
  content: "\55" !important;
  color: white !important;
  position: relative;
  top:-11px;
  right: 4px;
  font-size: 25px;
}
.full-width-nav .featured-search input.search-textfield:focus {
  outline: 2px solid #fec02f;
  outline-offset: -2px;
}
@media (max-width: 991px) {
  .search-container.featured-search.active {
    background: #f9f9fa !important;
    padding-top: 20px;
    border-top: 1px solid #e1e0e3;
    border-bottom: 1px solid #e1e0e3;
  }
  #head-search .container {
    max-width: 100% !important;
    padding-left: 5px !important;
  }
  .close-search .ca-gov-icon-close-mark:before {
    font-family: "Public Sans", sans-serif !important;
    content: "Close" !important;
    color: #2f4c2c;
    text-decoration: underline;
    font-size: 1.1rem;
    position: relative;
    top: -0.6rem;
  }
  .close-search:hover .ca-gov-icon-close-mark:before {
    text-decoration: none;
  }
  .close-search {
    background-image: none !important;
  }
  .close-search-btn {
    width: unset !important;
    margin-right: 30px;
  }
}
/* serp page search */
.search-container.active {
  background: none;
}
.search-container.active .search-textfield {
  border: 1px solid !important;
  border-color: #2f4c2c !important;
  height: 40px !important;
  border-radius: 5px;
}
#main-content .container:before {
  background: none !important;
}
/* End -- Google Search
  
  /* START -- Main Content */

/* override card grid so they stack at theme breakpoint that slims main content */
/* @media (max-width: 991px) {
  .cagov-grid,
  .cagov-grid .block-editor-block-list__layout {
    grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
  }
} */

/* link underline not used in cannabis designs */
.main-content a.cagov-card {
  text-decoration: none;
}

.cagov-stack h1,
.cagov-stack h2,
.cagov-stack h3,
.cagov-stack h4,
.cagov-card h1,
.cagov-card h2,
.cagov-card h3,
.cagov-card h4 {
  margin: 0;
}
.non_divi_builder.title_not_displayed .main-primary {
  padding-top: 32px;
}
/* step list */
ol.steps {
  padding-left: 0 !important;
  margin-left: 30px !important;
}
ol.steps li {
  list-style: none;
  border-left: 5px solid #fec02f;
  font-size: 1.75rem;
  font-weight: 700;
  position: relative;
  padding-left: 45px;
  line-height: 1.5;
}
ol.steps li:before {
  content: "";
  font-family: "Public Sans";
  font-size: 1.75rem;
  font-weight: 700;
  padding: 0 13px 0 13px;
  border: 5px solid #fec02f;
  background-color: #fff;
  border-radius: 50px;
  text-align: center;
  position: absolute;
  left: -29px;
  top: -5px;
  margin-left: -1px;
}
ol.steps li span.has-black-color {
  margin-top: 1rem;
  padding-bottom: 1.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  display: block;
}
ol.steps li:first-child:before {
  content: "1";
  padding: 0 16px 0 16px;
}
ol.steps li:nth-child(2):before {
  content: "2";
}
ol.steps li:nth-child(3):before {
  content: "3";
}
ol.steps li:nth-child(4):before {
  content: "4";
}
ol.steps li:nth-child(5):before {
  content: "5";
}
ol.steps li:nth-child(6):before {
  content: "6";
}
ol.steps li:nth-child(7):before {
  content: "7";
}
ol.steps li:nth-child(8):before {
  content: "8";
}
ol.steps li:nth-child(9):before {
  content: "9";
}
ol.steps li:nth-child(10):before {
  content: "10";
  padding: 0 7px 0 7px;
  margin-left: -1px;
}
ol.steps li:nth-child(11):before {
  content: "11";
  padding: 0 10px 0 10px;
}
ol.steps li:nth-child(12):before {
  content: "12";
  padding: 0 8px 0 8px;
  margin-left: -1px;
}
ol.steps li:nth-child(13):before {
  content: "13";
  padding: 0 7px 0 7px;
}
ol.steps li:nth-child(14):before {
  content: "14";
  padding: 0 7px 0 7px;
}
ol.steps li:nth-child(15):before {
  content: "15";
  padding: 0 7px 0 8px;
    margin-left: 3px;
}
ol.steps li:nth-child(16):before {
  content: "16";
  padding: 0 7px 0 7px;
}
ol.steps li:nth-child(17):before {
  content: "17";
  padding: 0 7px 0 7px;
}
ol.steps li:nth-child(18):before {
  content: "18";
  padding: 0 7px 0 7px;
}
ol.steps li:nth-child(19):before {
  content: "19";
  padding: 0 7px 0 7px;
}
ol.steps li:nth-child(20):before {
  content: "20";
  padding: 0 5px 0 5px;
}
ol.steps li:nth-child(21):before {
  content: "21";
  padding: 0 6px 0 6px;
}
ol.steps li:nth-child(22):before {
  content: "22";
  padding: 0 5px 0 5px;
}
ol.steps li:nth-child(23):before {
  content: "23";
  padding: 0 5px 0 5px;
}
ol.steps li:nth-child(24):before {
  content: "24";
  padding: 0 5px 0 5px;
}
ol.steps li:last-child {
  border-left: none;
}
/* border styles */
.wp-block-table {
  background: none !important;
  border:none !important
}
.wp-block-table table, .wp-block-table table th, .wp-block-table table td {
  border:1px solid #ededef !important;
}

/* END -- Main Content */

/* START -- Footer */
.global-footer {
  background: #f9f9fa !important;
  padding-top: 20px;
  font-size: 1rem !important;
}
.global-footer .copyright {
  background: #f9f9fa;
  padding-top: 20px;
  padding-bottom: 60px;
}
.global-footer a:not(.btn) {
  color: #000;
  text-decoration: underline;
}
.global-footer .footer-links a:hover {
  color: #000;
  text-decoration: none !important;
}
/* remove back to top link */
.footer-links li:first-child {
  display: none;
}
/* add ca.gov лого to the first link in the footer navigtion */
.footer-links li:nth-child(2) {
  background-image: url("https://california.azureedge.net/cdt/CAgovPortal/images/ca-gov-logo.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 0px 8px;
  width: 40px;
  height: 40px;
  margin-left: 5px;
  position: relative;
  top: 10px;
}
.footer-links li:nth-child(2) a {
  width: 50px;
  display: block;
  height: 40px;
  margin-top: 10px;
}
.footer-links a:focus {
  outline: solid 2px #fdb81e !important;
  color: #000 !important;
}
/* footer mobile */
@media (max-width: 767px) {
  .footer-links {
    display: flex;
    flex-direction: column;
    margin-left: 0 !important;
  }
  .global-footer .footer-links li {
    width: 100%;
  }
  .footer-links li:nth-child(2) {
    margin-bottom: 20px;
    margin-left: 1px;
    background-position: 0px 0px;
  }
  .footer-links li:nth-child(2) a {
    margin-top: 0;
  }
}
/* remove CAWeb credits */
.global-footer .copyright .half.text-right span {
  display: none;
}
/* END -- Footer */

/* START -- Alert banner */
.alert-banner {
  background-color: #064e66 !important;
  padding-top: 20px;
  padding-bottom: 40px;
  padding-left: 45px;
}
.alert-banner .container {
  border-left: 5px solid #fec02f;
}

.alert-link {
  float: none !important;
  border: none;
  color: #064e66 !important;
  padding: 0.725rem !important;
  background-color: #fff !important;
  border-radius: 4px !important;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}
.alert-link:hover {
  background-color: #fec02f !important;
}
.alert-text {
  display: block;
  color: #fff;
  margin-bottom: 1rem;
}
.alert-level {
  display: block;
  margin-bottom: 0.5rem !important;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  padding-top: 0;
  padding: 0;
  margin: 0;
}
.alert-level [class^="ca-gov-icon-"] {
  display: none !important;
}

.caweb-alert-close span {
  content: "\4d";
  font-family: "CaGov";
  color: #fff;
  font-size: 2.5rem;
  opacity: 1 !important;
}
.caweb-alert-close:hover span {
  color: #fec02f;
}
@media (max-width: 767px) {
  .alert-banner {
    padding-left: 15px;
  }
}
/* END -- Alert Banner */

/* START -- back to top */
.return-top.is-visible {
  background-color: #fff;
  color: #064e66;
  border: 1px solid #064e66;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  bottom: 90px;
  right:-2px;
}
.return-top:after {
  content: "Back to Top";
  font-family: "Public Sans";
  font-size: 1rem;
  position: relative;
  top: -5px;
}
.return-top:before {
  font-size: 1.2rem;
  position: relative;
  top: -4px;
}

.return-top.is-visible:hover:after,
.return-top.is-visible:hover:before {
  color: #043747;
}
.return-top.is-visible:hover {
  border-color: #043747;
  background-color: #f9f9fa;
}
/* enable back-to-top in mobile */
@media (max-width: 767px) {
.return-top.is-visible {display: block !important;} 
.return-top:after {content: "";}
}
/* END -- back to top */

/* temporary accordion override */
cagov-accordion .cagov-accordion-card {
  border: solid 1px #ededef !important;
}
/* temp homepage spacing fix */
.cagov-stack.cagov-featured-sidebar {
  margin-top: 0;
}
/* check with Konstantin why important is on header spacing now, requiring this override */
.cagov-featured-sidebar h2 {
  margin-top: 0 !important;
}

/* START -- page footer */
@media (min-width: 768px) {
  .content-menu-links,
  .social-links-container {
    margin-bottom: 0;
    margin-top: 5px;
  }
}
/* END -- page footer */

/* Some manual style? Who added it? */
.cagov-card svg { max-height: 25px; }

/* Fix incorrect padding in CAWeb theme (needs to be updated in theme code) */
@media (min-width: 1176px) {
  .container,
  .branding {
    padding-left: 0;
    padding-right: 0;
  }

  .first-level-link:first-child, .first-level-btn:first-child {
    /* padding-left: 0; */
  }
  .top-level-nav {
    margin-left: -15px; /* Push buttons left, to decide on */
  }
}

/* PDF Links */
.link-icon {
  font-size: 0.85rem;
  position: relative;
  top: -3px;
  padding-left: 2px;
  display: inline-block;
  text-decoration: none;
}

.pdf-link:after {
    font-family: "Roboto", sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    content: ".PDF";
    display: inline-block;
    text-decoration: none;
    outline: 1px solid;
    outline-offset: -2px;
    padding: 1px 4px 0px 4px;
    position: relative;
    left: 1px;
    top: -3px;
  }

.pdf-link-icon {
  font-family: "Roboto", sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  display: inline-block;
  outline: 1px solid;
  outline-offset: -2px;
  padding: 1px 4px 0px 4px;
  position: relative;
  left: 1px;
  top: -3px;
  line-height: .9rem;
  margin-left: 4px;
}

.no-underline-icon {
  display: inline-block;
  text-decoration: none;
}

.wp-block-button__link {
  background-color: #064E66;
  border-radius: 5px;
  font-weight: 700;
  padding: 0.5rem 1rem;
}

.wp-block-button__link:hover {
background-color: #043747;
}

h1.page-title {
padding-top: 0  !important;
padding-bottom: 0  !important;
margin-top: 0 !important;
margin-bottom: 2rem !important;
}

/* content navigation  */
sidebar cagov-content-navigation ul li {
  padding-top: 16px;
  padding-bottom: 16px;
  margin-top: 0px;
  margin-bottom: 0px;
border-top: none;
  border-bottom: 1px solid var(--gray-200, #ededef);
  line-height: 28.2px;
  list-style: none;}
sidebar cagov-content-navigation ul li:first-child {
 border-top: 1px solid var(--gray-200, #ededef);}
sidebar cagov-content-navigation ul li a {text-decoration:none;}
sidebar cagov-content-navigation ul li a:hover {text-decoration: underline;}

/* main content */
#main-content.landing {
  margin-top: 0 !important;
}
/* department footer fixes */
.menu-section .logo-small img {
  max-width: 100%;
  height: auto;
}
.content-menu-links {
  padding-left: 0;
}
.menu-section ul li {
  list-style: none;
}