/* Legacy CDFW styles */

.tagline {
	color: #333;
	font-size: 1.2em;
	line-height: normal;
	font-weight: bold;
	font-style: italic;
}
.textBoldRed {
	color: #C00000;
	font-weight: bold;
}
/* END */

/* Images in HTML modules */
.DnnModule-DNN_HTML img {
  /* max-width: 100%; */
  height: auto;
}
/* END */

/* Linked Sub Nav Panel Heading */
.panel-overstated h2 a, .panel-overstated h2 a:hover, .panel-overstated h2 a:active, .panel-overstated h2 a:visited {
  color: white;
}
h3.ui-accordion-header {
    font-size: 1.1em;
    font-style: normal;
    line-height: normal;
}
table.table-default caption {
    text-align: left;
    font-weight: bold;
    padding-bottom: 20px;
}
/* END */

/* make .table-default tables responsive */

.table.table-default {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* END */

/* adjusts layer level of tools in embedded Esri maps so they're not on top of nav section */

.esriControlsBR, .esriSimpleSlider {
	z-index: inherit !important; 
}
/* END */

/* list style that looks like paragraphs */
.list-no-bullets {
  list-style-type: none;
  margin: 11px 0;
  padding: 0;
}
.list-no-bullets li {
    padding: 0 0 14px 0;
}
/* END */

/* CDFW Icons */
@font-face {
  font-family: 'CDFWicons';
  src:  url('/Portals/0/Fonts/CDFWicons.eot?smgd96');
  src:  url('/Portals/0/Fonts/CDFWicons.eot?smgd96#iefix') format('embedded-opentype'),
    url('/Portals/0/Fonts/CDFWicons.ttf?smgd96') format('truetype'),
    url('/Portals/0/Fonts/CDFWicons.woff?smgd96') format('woff'),
    url('/Portals/0/Fonts/CDFWicons.svg?smgd96#CDFWicons') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="cdfw-icon-"], [class*=" cdfw-icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'CDFWicons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cdfw-icon-drought:before {
  content: "\e903";
}
.cdfw-icon-leaf:before {
  content: "\e904";
}
.cdfw-icon-conservation:before {
  content: "\e900";
}
.cdfw-icon-deer:before {
  content: "\e901";
}
.cdfw-icon-fish:before {
  content: "\e902";
}
/* END */

/* places new window / external link icon -- works with cagov.core.js */
a[rel=noopener]::after {
    content: "\e9ed";
    font-family: 'CaGov' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
  	position: relative;
  	top: -0.2em;
    font-size: 0.8em;
  	padding-left: 1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
   /* for exceptions */
a.no-icon::after {
    content: none;
}
/* END */

/* Sub-nav image styling, height adjustment */
.second-level-link > img {
    width: 64px;
    height: 64px;
    margin-right: 10px;
    border-radius: 32px;
    box-shadow: 1px 1px 4px #888;
}
.sectionMain .sub-nav .unit1 {
	height: auto;
}
/* END */

/* link underline exceptions */
a.no-underline {
    text-decoration: none !important;
}
/* END */

/* Print Layout */
@media only print {
  header, div.breadcrumbMain, div.subFooter, footer  {
    display: none !important;
  }
  div#main-content {
    padding: 0 !important;
    margin: 0 !important;
  }
}
/* END */

.return-top {
  padding: 5px 5px 5px 5px;
  border: 1px solid #045070;
  border-right: none;
  color: #045070;
  background: #FFF;
  font-size: .8em;
  box-shadow: 0 0 4px rgba(0, 0, 0, .4);
}
.return-top:before {
  content: "↑ Back to top";
  font-family: "Source Sans Pro", sans-serif;
  font-weight: normal;
}
.return-top:hover {
  bottom: 127px;
}
figcaption {
  font-size: .9em;
}
/* GRID -  /source/less/cagov/grid.less - more room */
.group {
  margin-left: -25px;
  margin-right: -25px;
}
.full-width {
  padding-left: 25px;
  padding-right: 25px;
}
.half {
  padding-left: 25px;
  padding-right: 25px;
}
.third {
  padding-left: 25px;
  padding-right: 25px;
}
.two-thirds {
  padding-left: 25px;
  padding-right: 25px;
}
.quarter {
  padding-left: 25px;
  padding-right: 25px;
}
.three-quarters {
  padding-left: 25px;
  padding-right: 25px;
}
/* prevent intra-page links from scrolling too far */
.fixed + div :target:before {
  display: block;
  content: "";
  height: 200px;
  margin: -200px 0 0;
}
/* 'Card' styling */
.card-img, .card-img-top {
	border-radius: 15px 15px 0 0;
}
.card-understated {
	border-color: #666;
	color: inherit;
}
.card {
	border-radius: 15px;
}

/* Info Blocks (as used on /Regions/Marine) */
.bottom-minus-2 {
    bottom: -2px;
}
.right-0 {
    right: 0 !important;
}
.left-0 {
    left: 0 !important;
}
svg {
    overflow: hidden;
    vertical-align: middle;
}
.bg-white {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
}
article.rounded-15 header {
    border-radius: 15px 15px 0 0;
}
.bdr-s2 {
    border: solid 1px #AECAD5;
}

.bdr-primary {
    border: solid 1px #045070;
}
/* Live Content - Gallery Mode - style fix */
.jquery-lightbox-button-close {
    top: 5px !important;
}
.jquery-lightbox-buttons {
    top: -3px !important;
}
.jquery-lightbox-caption .lc-caption {
    height: auto !important;
    margin-right: 100px !important;
    overflow: visible !important;
}
.jquery-lightbox-title {
    height: 77px !important;
    top: -78px !important;
}
