/* CLF Overides
---------------------------------------------------------------------------- */
div.navbar-default {
  background-color: var(--wp--preset--color--dk-blue);
  border-top: 10px solid var(--wp--preset--color--dk-blue);
  border-bottom: 1px solid var(--wp--preset--color--dk-blue);
}

#sb-search-main .sb-search-main-input {
  background-color: var(--wp--preset--color--dk-blue);
}

div.pull-right,
a.toggle-footer-btn {
  background-color: #337ab7; /* custom blue match DHSS site */
}

.site-container #agencyFooter.dhss {
  border-bottom: 10px solid #337ab7;  /* custom blue match DHSS site */
  background-color: var(--wp--preset--color--dk-blue);
}


/* Header Menu
--------------------------------------------- */

.nav-primary .genesis-nav-menu a {
  padding-left: 8px;
  padding-right: 8px;
}

/* Block Pallete Colors - Pre WP 5.9
---------------------------------------------------------------------------- */

.has-theme-primary-color { color: #0b4c92 }
.has-theme-secondary-color { color: #337ab7; }

/* Typography
---------------------------------------------------------------------------- */
.insight em {
  font-size: .8em;
}

/* Entry Content
---------------------------------------------------------------------------- */
.entry-content ol>li,
.entry-content ul>li {
  margin-bottom: 10px;
}

.entry-content h4 {
  margin-top: 20px;
}

/* Search Results
---------------------------------------------------------------------------- */
.search-results h2>a {
  color: var(--wp--preset--color--charcoal);
  text-decoration: none;
}

.search-results h2>a:link,
.search-results h2>a:visited,
.search-results h2>a:hover,
.search-results h2>a:active {
  color: var(--wp--preset--color--charcoal);
}

.search-results span>a {
  font-size: .5em;
  margin-left: 10px;
}

/* Utility Classes
---------------------------------------------------------------------------- */
.shadow-box {
  box-sizing: border-box;
  -webkit-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25);
}

.round-corners {
  border-radius: 15px;
}

.add-border {
  padding: 15px 0;
}

/* Hack to fix anchor link to FAQ page. */
#charts-not-working {
  height: 0;
  width: 0;
  position: relative;
  left: -9999;
  top: -200px;
}

/* CostAware Header Hero
---------------------------------------------------------------------------- */
#costaware-hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

#costaware-hero img {
  object-fit: cover;
}

#costaware-hero img {
  width: 100%;
  height: 100%;
}

#costaware-hero .measure-hero-headline {
  position: absolute;
  top: 0;
  left: 20px;
  bottom: 0;
  right: 20px;
  font-size: 20px;
  font-weight: 800;
  padding: 5px 20 5px 10px;
}

#costaware-hero .entry-title {
  font-size: 1.1em;
  line-height: 1.2;
  padding: 10px 0 0 0;
}

#costaware-hero .entry-title.left {
  float: left;
}

#costaware-hero .entry-title.right {
  float: right;
  margin-right: -20px;
}

.page-template-page-landing
#costaware-hero .measure-hero-headline {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 40px;
}

.page-template-page-landing
#costaware-hero .entry-title {
  padding: 5px 0 5px 40px;
  background-color: rgba(255, 255, 255, 0.8);
}

@media only screen and (min-width: 768px) {

  #costaware-hero .measure-hero-headline {
    position: absolute;
    top: 0;
    left: 60px;
    bottom: 0;
    right: 60px;
    padding-top: 20px;
  }

  #costaware-hero .entry-title {
    font-size: 2.0em;
    line-height: 1.1;
  }

  #costaware-hero .entry-title.right {
    margin-right: -40px;
  }

  .page-template-page-landing
  #costaware-hero .measure-hero-headline {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 40px;
  }
  
  .page-template-page-landing
  #costaware-hero .entry-title {
    padding: 5px 20px 5px 60px;
    background-color: rgba(255, 255, 255, .80);
  }

}

@media only screen and (min-width: 992px) {

  #costaware-hero .measure-hero-headline {
    position: absolute;
    top: 10px;
    left: 80px;
    bottom: 0px;
    right: 80px;
    padding-top: 20px;
  }

  .page-template-page-landing
  #costaware-hero .measure-hero-headline {
    left: 0px;
    padding-left: 0;
    padding-right: 0;
  }

  #costaware-hero .entry-title {
    font-size: 3.2em;
    line-height: 1.05;
  }

  #costaware-hero .entry-title.right {
    margin-right: -40px;
  }

  .page-template-page-landing
  #costaware-hero .measure-hero-headline {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 60px;
  }
  
  .page-template-page-landing
  #costaware-hero .entry-title {
    padding: 5px 0 5px 80px;
    background-color: rgba(255, 255, 255, .80);
  }
}

#costaware-hero .entry-title {
  color: var(--wp--preset--color--white);
  text-shadow: 1px 1px 3px rgba(34, 34, 34, .96), 0 0 5px rgba(34, 34, 34, 60);
}

#costaware-hero .entry-title.black {
  color: var(--wp--preset--color--charcoal);
  text-shadow: 1px 1px 3px rgba(255, 255, 255, .96), 0 0 5px rgba(255, 255, 255, 60);
}

#costaware-hero .entry-title.dk-blue {
  color: var(--wp--preset--color--dk-blue);
  text-shadow: none;
}

/* CostAware Header Hero - Video Embed
---------------------------------------------------------------------------- */
#costaware-hero .video-embed {
  box-sizing: border-box;
  position: relative;
  margin: -20px 10px 30px 10px;
  background-color: var(--wp--preset--color--white);
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25);
}

#costaware-hero .video-embed div {
  margin: 0 20px;
  padding: 10px 0;
}

#costaware-hero .video-embed iframe {
  display: block;
  margin: 0 auto;
  padding: 5px 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

#costaware-hero .video-embed h5 {
  margin: 0;
  font-weight: bold;
}

#costaware-hero .video-embed p {
  margin: 0;
}

@media only screen and (min-width: 768px) {

  #costaware-hero .video-embed {
    position: relative;
    width: 92%;
    margin: -60px auto 60px auto;
    -webkit-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25);
  }
}

@media only screen and (min-width: 1024px) {

  #costaware-hero .video-embed h5 {
    font-size: .98em;
  }

  #costaware-hero .video-embed p {
    font-size: .90em;
  }

  #costaware-hero .video-embed {
    position: absolute;
    top: -10px;
    left: 0;
    width: 440px;
    height: 340px;
    margin: 0;
    padding: 0;
    transform: scale(84%);
  }

  #costaware-hero .video-embed iframe {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-height: 280px;
    aspect-ratio: 16/9;
  }
}

@media only screen and (min-width: 1200px) {
  #costaware-hero .video-embed {
    position: absolute;
    top: 20px;
    left: 40px;
    transform: scale(100%);
  }
  
}

/* Upper Content
---------------------------------------------------------------------------- */
#upper-content .site-inner {
  position: relative;
}

#upper-content {
  max-width: 100%;
  position: relative;
  margin-top: -20px;
}

@media only screen and (min-width: 768px) {
  #upper-content {
    position: relative;
    margin-top: -60px;
  }
}

body.page-template-extended #upper-content {
  margin-bottom: 20px;
}

#upper-content header {
  background-color: var(--wp--preset--color--white);
  padding: 20px;
  margin: -15px -1px 0 -1px;
}

#upper-content header.front-page {
  background-color: var(--wp--preset--color--lt-gold);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom: none;
  padding: 10px 10px;
  min-height: 120px;
}

#upper-content header .extended {
  margin: 0 auto;
  width: 80%;
}

#upper-content .entry-title,
#upper-content .measure-title {
  text-align: center;
  margin: 0 10px;
}

body:not(.home) #upper-content .entry-title,
#upper-content .measure-title {
  border-bottom: 4px solid var(--wp--preset--color--dk-gold);
  padding-bottom: 5px;
  margin-bottom: 20px;
}

#upper-content header.front-page h1 {
  font-size: 34px;
  text-align: left;
  color: #0B4C92;
  max-width: 100%;
}

@media only screen and (min-width: 992px) {

  #upper-content header.front-page {
    padding: 10px 20px;
  }

  #upper-content header.front-page h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
  }

}

#upper-content header.measure h1 {
  text-align: center;
}

#upper-content .wrap {
  background-color: var(--wp--preset--color--white);
  border-top: none;
  border-bottom: none;
  padding: 20px 20px 5px 20px;
}

#upper-content .tableau-intro {
  text-align: center;
  display: block;
  font-weight: 600;
}

/* CostAware Video Embed
---------------------------------------------------------------------------- */

.is-about > div {
  max-width: 1000px;
  margin: 20px auto 0;
  padding: 0;
  aspect-ratio: 16 / 9;
}

.is-about iframe {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}


#ca-video-embed {
  position: relative;
  height: 100%;
  width: 95%;
  margin: 0 auto;
}

.ca-video-block {
  width: auto;
  margin: auto;
  background-color: #fff;
  z-index: 40;
  margin: -10px -20px;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .ca-video-block {
    margin: 0px; 
  }
}

.ca-video-block iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.ca-video-bar {
  padding: 10px 20px;
  margin: 0;
  border-top: 4px solid var(--wp--preset--color--dk-gold);
  background-color: var(--wp--preset--color--lt-gold);
}

@media only screen and (min-width: 768px) {
  .ca-video-embed {
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 10px;
  }
}

.ca-video-bar button {
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--dk-blue);
  font-weight: normal;
  text-decoration: none;

}

.ca-video-bar button:focus,
.ca-video-bar button:hover {
  background-color: var(--wp--preset--color--lt-blue);
  color: var(--wp--preset--color--dk-blue); 
  font-weight: normal;
  text-decoration: none;
}

.ca-tableau-link {
  padding: 0;
  margin-top: 5px;
  text-align: center;
  font-size: 16px;
}

/* Formidable Forms
---------------------------------------------------------------------------- */
.frm_forms {
  margin: 0 40px;
}

#form_contact-form h3.frm_form_title {
  font-size: 24px;
  border-bottom: 4px solid var(--wp--preset--color--lt-gold);
  padding-bottom: 10px;
  margin-bottom: 10px;
}


/* Mobile First Tableau Embed
---------------------------------------------------------------------------- */
.tableau-placeholder {
  overflow: hidden;
  margin: 0 -20px 0; 
}

.tableau-placeholder .tableauViz-measure,
.tableau-placeholder iframe {
  display: block;
  width: 100%;
  height: 1000px;
  border: none;
}

.tableau-placeholder
img.imposition {
  display: block;
  min-width: 375px;
  margin: 0 auto;
}

.tableau-placeholder 
img.imposition.desktop {
  display: none;
}

div.tableau-placeholder.default {
  opacity: 20%;
  border: 1px solid var(--wp--preset--color--charcoal);
  background-color: var(--wp--preset--color--dk-blue);
  margin: 0 auto;
}

#cervical-cancer-screening.tableau-placeholder,
#inpatient-services.tableau-placeholder,
#imaging-procedures.tableau-placeholder,
#outpatient-services.tableau-placeholder, 
#prescription-drug-costs.tableau-placeholder {
  height: 920px;
}

#quality-measures.tableau-placeholder {
  height: 680px;
}

/* Tablet Tableau Embed - Tableau Mobile Breakpoint
---------------------------------------------------------------------------- */

@media only screen and (min-width: 390px) {
  .tableau-placeholder {
    overflow: hidden;
    margin: 0 -10px 0; 
  }

  #imaging-procedures.tableau-placeholder {
    height: 700px;
  }
  
}


/* Tablet Tableau Embed - Tableau Mobile Breakpoint
---------------------------------------------------------------------------- */
@media only screen and (min-width: 500px) {
  
  .tableau-placeholder .tableauViz-measure,
  .tableau-placeholder iframe {
    display: block;
    width: 500px;
    height: 1000px;
    border: none;
    margin: 0 auto;
  }
}

/* Desktop Tableau Embed
---------------------------------------------------------------------------- */
@media only screen and (min-width: 1100px) {

  .tableau-placeholder {
    width: 1100px;
    height: 920px;
    margin: 0 -10px 0;
  }

  .tableau-placeholder
  img.imposition.mobile {
    display: none;
  }

  .tableau-placeholder 
   img.imposition.desktop {
    display: block;
    min-width: 1040px;
    margin: 0 auto;
  }

  #aco-quality.tableau-placeholder,
  #cervical-cancer-screening.tableau-placeholder,
  #imaging-procedures.tableau-placeholder,
  #outpatient-services.tableau-placeholder,
  #inpatient-services.tableau-placeholder,
  #outcomes.tableau-placeholder,
  #prescription-drug-costs.tableau-placeholder,
  #quality-measures.tableau-placeholder {
    height: 920px;
  }  

  #quality-measures.tableau-placeholder 
  img.imposition.desktop {
   min-width: 1100px;
   margin: 0 auto;
  }
  
  .tableau-placeholder .tableauViz-measure,
  .tableau-placeholder iframe {
    display: block;
    width: 100%;
    height: 1000px;
    border: none;
  }

}

/* Tableau embed extras
---------------------------------------------------------------------------- */

.after-tableau {
  margin-top: 10px;
  font-size: 14px;
}

.place-of-service {
  font-size: 14px;
  margin-top: 20px;
}

.place-of-service h4 {
  border-bottom: 2px solid var(--wp--preset--color--lt-gray);
}

.place-of-service p {
  line-height: 1.12;
  margin-bottom: 10px;
}

.dhin-credit {
  border-top: 2px solid var(--wp--preset--color--lt-gray);
  margin-top: 20px;
  padding-top: 10px;
}

.dhin-credit p {
  font-size: 14px;
  line-height: 1.12;
  margin-bottom: 20px;
}

/* Admin bar hack
---------------------------------------------------------------------------- */

@media only screen and (min-width: 480px) {

  #wpadminbar {
    position: fixed;
  }

}

/* Media Queries
---------------------------------------------------------------------------- */

/* Unsured Media Queries, Keep as a referance.

@media only screen and (min-width: 768px) {}

@media only screen and (min-width: 782px) {}

@media only screen and (min-width: 875px) {}

@media only screen and (min-width: 992px) {}

@media only screen and (min-width: 1100px) {}

*/
