/*
Theme Name: Delaware Criminal Justice Council (CJC)
Theme URI: http://cjc.delaware.gov
Author: Delaware GIC - Matt Campbell, Julianne Solum
Author URI: http://gic.delaware.gov
Description: Custom WordPress theme designed exclusively for the Delaware Criminal Justice Council (CJC)
Version: CLF 4.0.1
Tags: Bootstrap, mobile first, State of Delaware
Text Domain: dosgic_CJC_theme
*/

/* ############################################################################################## */

/*  D E V E L O P E R   C U S T O M I Z A B L E   S T Y L E S  */

/*  State of Delaware - CLF4 2016  */

/*  Developed by the GIC (Matt Campbell, Julianne Solum)  */

/* ############################################################################################## */

/*==========  Bootstrap 3 Mobile First Method CSS  ==========*/

/* Custom, iPhone Retina */

@media only screen and (min-width: 320px) {

  /* ============================= ELEMENTS ============================= */
  /* Prevent anchor links from scrolling behind menus */
  html {
    scroll-padding-top: 80px;
  }

  html {
    -webkit-font-smoothing: antialiased !important;
    position: relative;
    min-height: 100%;
  }

  body {
    width: 100%;
    min-height: 100%;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    -webkit-font-smoothing: antialiased !important;
    padding-bottom: 945px;
  }

  hr.clf {
    border-image: none;
    border: 2px solid #195089;
    margin-bottom: 20px;
    /*margin-top: -8px*/
  }

  hr.hr-light {
    border: 2px solid #f5f5f5;
    margin: 3em auto;
  }

  hr.hr-w-half {
    width: 50%;
  }

  p {
    padding-bottom: 1.2rem;
  }

  /* ============================= ID's ============================= */
  /* BOOTSTRAP NAV-WALKER COMPENSATORY CSS  */
  /* ID OF BELOW SELECTOR WILL CHANGE BASED ON WEBSITE */
  #menu-cjc-menu {
    z-index: 999;
  }

  .affix #menu-cjc-menu {
    position: absolute !important;
  }

  #menu-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #0273e8;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -ms-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
  }

  #main_header h1,
  #main_content h1 {
    font-family: "Source Sans Pro";
    color: #195089;
    font-size: 50px;
    font-weight: 300;
  }

  #main_header h2,
  #main_content h2 {
    font-family: "Source Sans Pro";
    color: #195089;
    margin-top: 0px;
  }

  #main_content a,
  #main_content a:link,
  #main_content a:active,
  #main_content a:visited {
    color: #0273e8;
    text-decoration: none;
    font-weight: bold;
  }

  #main_content a:hover {
    /* color: #ffa100; */
    color: #9e6400;
    text-decoration: underline;
    font-weight: bold;
  }

  #main_content ul,
  #main_content ol,
  #news_block ul,
  #news_block ol {
    font-size: 1em;
    line-height: 1.3;
    margin-top: 1em;
    margin-bottom: 1.4em;
  }

  #main_content ul li,
  #main_content ol li {
    line-height: 1.3;
    margin-bottom: 0.5em;
  }

  #loading1 {
    margin-left: auto;
    margin-right: auto;
    width: 100px;
  }

  #agencyFooter {
    background-color: #195089;
    color: #fff;
    font-size: 15px;
    line-height: 1.5em;
    padding-top: 30px;
    padding-bottom: 2em;
    border-bottom: 10px solid #245194;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 580px;
    z-index: 1029;
  }

  @-moz-document url-prefix() {
    #agencyFooter {
      height: 589px;
    }
  }

  #agencyFooter ul {
    list-style-type: none;
    margin-left: -45px;
  }

  #agencyFooter a,
  #agencyFooter a:link,
  #agencyFooter a:active,
  #agencyFooter a:visited {
    color: #fff;
    text-decoration: none;
  }

  #agencyFooter a:hover {
    color: #fff;
    text-decoration: underline;
  }

  #agencyFooter h2 {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700;
    color: #f4f088 !important;
    margin-top: -5px;
    margin-bottom: -10px;
    font-size: 20px;
  }

  #interiorTitleWrapper {
    background: #195089;
    border-bottom: 4px solid #f4db89;
  }

  #headerImage {
    height: 400px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    margin-top: -20px;
  }

  #featureHero {
    height: 500px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 60%;
    margin-top: -30px;
    position: relative;
  }

  #welcomeMessageWrapper {
    background: #195089;
    width: 100%;
    padding-top: 95px;
    padding-bottom: 95px;
    min-height: 300px;
    color: white;
    margin-bottom: 50px;
    border-top: solid 6px #f4db89;
    border-bottom: solid 6px #f4db89;
  }

  #welcomeMessageWrapper h2 {
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    line-height: 48px;
    color: white;
  }

  #welcomeMessageWrapper p {
    line-height: 28px;
  }

  #welcomeMessageWrapper a,
  #welcomeMessageWrapper a:link,
  #welcomeMessageWrapper a:active,
  #welcomeMessageWrapper a:visited {
    color: #f4db89;
    text-decoration: none;
    font-weight: bold;
  }

  #welcomeMessageWrapper a:hover {
    color: #ffa100;
    text-decoration: underline;
    font-weight: bold;
  }

  #servicesWrapper h2 {
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    line-height: 48px;
    color: #195089;
  }

  /* ============================= Classes ============================= */
  /* WordPress Core CSS */
  .alignnone {
    margin: 5px 20px 20px 0;
  }

  .aligncenter,
  div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
  }

  .alignright {
    float: right;
    margin: 5px 0 20px 20px;
  }

  .alignleft {
    float: left;
    margin: 5px 20px 20px 0;
  }

  a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
  }

  a img.alignnone {
    margin: 5px 20px 20px 0;
  }

  a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
  }

  a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
  }

  .wp-caption.alignnone {
    margin: 5px 20px 20px 0;
  }

  .wp-caption.alignleft {
    margin: 5px 20px 20px 0;
  }

  .wp-caption.alignright {
    margin: 5px 0 20px 20px;
  }

  .wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
  }

  .wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
  }

  .screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
  }

  .screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar */
  }

  img.alignright {
    float: right;
    margin: 0 0 1em 1em;
  }

  img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
  }

  img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .alignright {
    float: right;
  }

  .alignleft {
    float: left;
  }

  .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* End WP Core Classes */

  .btn-info {
    color: white !important;
  }

  .agencyFooter_logo {
    width: 100px;
    height: 100px;
    border: none;
    text-align: center;
  }

  h1.mainTitle {
    color: #195089 !important;
    font-size: 28px !important;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.2;
  }

  h1.interiorTitle {
    color: #f4db89 !important;
    font-size: 28px !important;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.2;
  }

  span.light {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300;
  }

  h1.mainTitle .thinFont {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 28px;
    color: #535353;
    font-weight: 200;
  }

  h1.mainTitle .office-of {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    color: #195089;
    font-weight: 300;
  }

  h1.interiorTitle .office-of {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    color: #f4db89;
    font-weight: 300;
  }

  h1.interiorTitle .thinFont {
    font-family: "Open Sans", sans-serif;
    font-size: 45px;
    color: #f4db89;
    font-weight: 400;
  }

  .thinFont {
    color: #295498;
    font-size: 35px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300;
  }

  .tagline {
    color: #626262;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
  }

  .fa-mdseafoam {
    color: #195089;
  }

  .no-dot {
    list-style: none;
    color: #cccccc;
    /*style the text mdseafoam*/
    font-weight: bold;
  }

  /*Removes bullets from list items */

  .no-dot-plain {
    list-style: none;
  }

  /*Removes bullets from list items leaves content in line */

  .services {
    padding-top: 45px;
    padding-bottom: 65px;
  }

  .services ul li {
    font-size: 24px;
    list-style-type: none;
    margin-bottom: 45px;
  }

  .impressive {
    font-weight: 600;
  }

  .about-link,
  .about-link:link,
  .about-link:active,
  .about-link:visited {
    color: #fff !important;
    text-decoration: underline !important;
    font-weight: bold !important;
  }

  .about-link:hover {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: bold !important;
  }

  .panel-title {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px !important;
  }

  h2.message-failure {
    color: #861600 !important;
    text-align: center;
  }

  h2.message-success {
    color: #32502b !important;
    text-align: center;
  }
}

/* Extra Small Devices, Phones */

@media only screen and (min-width: 480px) {

  /* ============================= ELEMENTS ============================= */
  .thinFont {
    color: #295498;
    font-size: 40px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300;
  }

  /* ============================= ID's ============================= */
  #headerImage {
    background-position: 50%;
    height: 900px;
  }
}

/* ============================= Classes ============================= */

/* Small Devices, Tablets */

@media only screen and (min-width: 768px) {

  /* ============================= ELEMENTS ============================= */
  /* ============================= ID's ============================= */
  #agencyFooter {
    background-color: #195089;
    padding-top: 2em;
    padding-bottom: 2em;
    height: 262px;
  }

  @-moz-document url-prefix() {
    #agencyFooter {
      height: 266px;
    }
  }

  #headerImage {
    background-position: 50%;
    height: 900px;
  }

  #featureHero {
    height: 700px;
  }

  /* ============================= Classes ============================= */
  .news_wrapper {
    text-align: center !important;
  }

  .thinFont {
    color: #295498;
    font-size: 60px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300;
  }
}

/* Medium Devices, Desktops */

@media only screen and (min-width: 992px) {

  /* ============================= ELEMENTS ============================= */
  /* ============================= ID's ============================= */
  #agencyFooter {
    background-color: #195089;
    color: #fff;
    font-size: 15px;
    line-height: 1.5em;
    padding-top: 2em;
    padding-bottom: 2em;
    border-bottom: 10px solid #245194;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 218px;
    z-index: 1029;
  }

  @-moz-document url-prefix() {
    #agencyFooter {
      height: 221px;
    }
  }

  #headerImage {
    height: 900px;
  }

  #featureHero {
    height: 800px;
  }

  /* ============================= Classes ============================= */
  h1.mainTitle {
    color: #195089 !important;
    font-size: 60px !important;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.2;
  }

  h1.mainTitle .office-of {
    font-family: "Open Sans", sans-serif;
    font-size: 45px;
    color: #195089;
    font-weight: 300;
  }

  h1.interiorTitle {
    color: #f4db89 !important;
    font-size: 60px !important;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.2;
  }

  h1.interiorTitle .office-of {
    font-family: "Open Sans", sans-serif;
    font-size: 45px;
    color: #f4db89;
    font-weight: 300;
  }

  .tagline {
    color: #626262;
    font-family: "Open Sans", sans-serif;
    font-size: 28px;
    font-weight: 400;
  }

  .agency-seal {
    width: 175px;
    height: 175px;
    margin-top: 45px;
    margin-top: 20px;
  }

  .news_wrapper {
    text-align: left !important;
  }

  .thinFont {
    color: #295498;
    font-size: 60px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300;
  }
}

/* Large Devices, Wide Screens */

@media only screen and (min-width: 1200px) {

  /* ============================= ELEMENTS ============================= */
  /* ============================= ID's ============================= */
  #featureHero {
    background-position: 0% 50%;
    height: 800px;
  }

  #agencyFooter {
    background-color: #195089;
    color: #fff;
    font-size: 15px;
    line-height: 1.5em;
    padding-top: 2em;
    padding-bottom: 2em;
    border-bottom: 10px solid #245194;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 218px;
    z-index: 1029;
  }

  @-moz-document url-prefix() {
    #agencyFooter {
      height: 221px;
    }
  }

  /* ============================= Classes ============================= */
  h1.mainTitle {
    color: #195089 !important;
    font-size: 60px !important;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.2;
  }

  h1.mainTitle .office-of {
    font-family: "Open Sans", sans-serif;
    font-size: 45px;
    color: #195089;
    font-weight: 300;
  }

  h1.interiorTitle {
    color: #f4db89 !important;
    font-size: 60px !important;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.2;
  }

  h1.interiorTitle .office-of {
    font-family: "Open Sans", sans-serif;
    font-size: 45px;
    color: #f4db89;
    font-weight: 300;
  }

  .tagline {
    color: #626262;
    font-family: "Open Sans", sans-serif;
    font-size: 28px;
    font-weight: 400;
  }

  .agency-seal {
    width: 200px;
    height: 200px;
    margin-top: 10px;
  }

  .news_wrapper {
    text-align: left !important;
  }

  .thinFont {
    color: #295498;
    font-size: 60px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300;
  }
}

/* ============================= CUSTOM MEDIA QUERIES ============================= */

@media (max-width: 874px) {
  .menu_text {
    position: absolute;
    margin-left: 60px;
    margin-top: -44px;
    opacity: 1;
    font-size: 20px;
    font-weight: bold;
    color: #195089;
  }
}

@media (min-width: 875px) {
  .menu_text {
    position: absolute;
    margin-left: 60px;
    margin-top: -44px;
    opacity: 0;
    font-size: 20px;
    font-weight: bold;
    color: #195089;
  }
}

@media (min-width: 1100px) {
  .menu_text {
    position: absolute;
    margin-left: 60px;
    margin-top: -100px;
    opacity: 0;
    font-size: 20px;
    font-weight: bold;
    color: #195089;
  }
}

@media (min-width: 1300px) {
  .menu_text {
    position: absolute;
    margin-left: 60px;
    margin-top: -100px;
    opacity: 0;
    font-size: 20px;
    font-weight: bold;
    color: #195089;
  }
}

/* ============================= END CUSTOM MEDIA QUERIES ============================= */

/* ======================== STYLE FOR THE PUBLIC MEETING CALENDAR ====================== */
#public-meetings a,
#public-meetings a:link,
#public-meetings a:active,
#public-meetings a:visited {
  color: #0273e8;
  text-decoration: none;
  font-weight: bold;
}

#public-meetings a:hover {
  color: #ffa100;
  text-decoration: none;
  font-weight: bold;
}

ul.meeting-container>li {
  list-style-type: none;
}

.meeting-container {
  text-align: center;
  padding: 0px;
}

span.meeting-title {
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #606060;
}

span.meeting-agency {
  display: none;
}

span.meeting-date {
  font-style: italic !important;
  color: #7e8082;
  font-weight: bold;
  font-size: 17px;
}

span.meeting-time {
  font-style: italic !important;
  color: #7e8082;
  font-weight: bold;
  font-size: 17px;
}

span.meeting-end {
  font-style: italic !important;
  color: #7e8082;
  font-weight: bold;
  font-size: 17px;
}

span.meeting-purpose {
  display: none;
}

span.meeting-address {
  color: #7e8082;
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 4px;
  display: block;
}

a.map-link,
a.map-link:link,
a.map-link:active,
a.map-link:visited,
a.info-link,
a.info-link:link,
a.info-link:active,
a.info-link:visited {
  color: #0273e8;
  background-color: #fff;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #0273e8;
  border-radius: 30px;
  padding: 15px 35px;
}

a.info-link:hover,
a.map-link:hover {
  color: #fff !important;
  background-color: #ffa100;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #ffa100;
  border-radius: 30px;
  padding: 15px 35px;
}

/*******External link icon*****/
#main_content sup,
#agencyFooter sup {
  top: -3px;
}

#main_content .extlink sup::after,
#agencyFooter .extlink sup::after {
  font: var(--fa-font-solid);
  content: "\f35d";
  padding-left: 5px;
}

.nav-menu .extlink sup::after,
.wp-caption-text .extlink sup::after {
  content: "";
}

#main_content .btn sup::after,
#main_content .extlink-no-icon sup::after,
#agencyFooter i+sup::after {
  content: "" !important;
}

/* ===============  BEGIN STYLE FOR THE "SUCCESS" LABEL - RELATED TOPICS TAG   ============== */
.label-success {
  background-color: #477c41;
}

/* ===============  END STYLE FOR THE "SUCCESS" LABEL - RELATED TOPICS TAG   ============== */

/* Table of Contents TOC */
@media only screen and (min-width: 320px) {
  #toc {
    margin-bottom: 1em;
  }
}

#toc.v-toc {
  border-bottom: 4px solid #ededed;
  background-color: #fff;
}

#toc.v-toc[open] {
  border-top: 0;
}

#toc.v-toc .v-toc__icon,
#toc.v-toc[open] .v-toc__icon {
  font-size: 1em;
  margin: 0 0.5em 0 0;
}

#toc.v-toc[open] .v-toc__icon {
  transform: rotate(90deg);
}

#toc .v-toc__summary:focus .v-toc__icon {
  font-size: 1em;
}

#toc.v-toc>summary {
  list-style: none;
}

#toc.v-toc>summary::-webkit-details-marker {
  display: none;
}

#toc .v-toc__summary {
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  background-color: #ededed;
  padding-left: 10px;
}

#toc .v-toc__summary:focus {
  color: inherit;
  outline: 0.25ch solid #0273e8;
}

#toc .v-toc__summary:focus .v-toc__title {
  text-decoration: none;
}

#toc .v-toc__summary-inner {
  display: flex;
  align-items: center;
  padding: 0.5em 0;
}

#toc .v-toc__title {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5em;
  margin: 0;
  color: inherit;
  padding-bottom: 0;
}

#toc .v-toc__title:hover {
  text-decoration: none;
}

#toc .v-toc__nav h3:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

#toc .v-toc__nav ul {
  padding: 0;
  list-style-type: none;
  margin-bottom: 0;
}

#toc .v-toc__nav ul>li {
  font-weight: 700;
  letter-spacing: 0.12ch;
  line-height: 1.2;
  padding: 0.5em 1em;
  color: #747474;
  margin-bottom: 0;
}

#toc .v-toc__nav li li {
  border-bottom: 1px dotted #c4c4c4;
}

#toc .v-toc__nav li li:last-child {
  margin-bottom: 1em;
}

#toc .v-toc__nav .toc-headline {
  color: #195089;
}

.well.p-2 {
  padding: 2em 3em;
}

#main_content .well a,
#main_content .well a:link,
#main_content .well a:active,
#main_content .well a:visited {
  color: #0251a7;
}

#main_content .well a:hover {
  color: #9e6400;
}

.p-2 {
  padding: 2em;
}

/* Bootstrap 5 Accordion - WP classic editor */
.panel-info>.panel-heading {
  font-size: 1.2em;
  font-weight: 700;
}

.panel-body {
  border: 1px solid #ddd;
}