/*
Theme Name: Department of Finance
Theme URI: http://finance.delaware.gov
Author: Delaware GIC - Matt Campbell, Julianne Solum
Author URI: http://gic.delaware.gov
Description: Custom WordPress theme designed exclusively for the Department of Finance.
Version: CLF 4.0.1
Tags: Bootstrap, mobile first, State of Delaware
Text Domain: dosgic_FINANCE_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 ============================= */
  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: 980px;
  }

  /* ============================= ID's ============================= */

  /* BOOTSTRAP NAV-WALKER COMPENSATORY CSS  */
  /* ID OF BELOW SELECTOR WILL CHANGE BASED ON WEBSITE */
  #menu-finance-main-navigation {
    z-index: 999;
  }

  .affix #menu-finance-main-navigation {
    position: absolute !important;
  }

  #menu-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #00627E;
    transition: all 0.25s ease-out;
  }

  #main_header h1,
  #main_content h1 {
    font-family: 'Raleway', sans-serif !important;
    color: #0a4f7c !important;
    font-size: 45px;
    font-weight: 500;
    margin-top: 10px;
  }

  #main_header h2,
  #main_content h2 {
    font-family: 'Raleway';
    font-weight: 300;
    color: #1799ba !important;
    margin-top: 12px;
    padding-top: 12px;
    font-size: 35px !important;
  }

  #main_content h3 {
    font-family: 'Raleway', sans-serif !important;
    font-size: 25px;
    font-weight: 600;
    color: #a2879d !important;
    margin-top: 0px;
  }

  #main_content h4 {
    font-family: 'Raleway', sans-serif !important;
    font-size: 20px;
    font-weight: 800;
    color: #222 !important;
    margin-top: 0px;
  }

  .breadcrumb a,
  .breadcrumb a:link,
  .breadcrumb a:active,
  .breadcrumb a:visited,
  #main_content a,
  #main_content a:link,
  #main_content a:active,
  #main_content a:visited,
  #headerArea a,
  #headerArea a:link,
  #headerArea a:active,
  #headerArea a:visited,
  #financeDivisions a,
  #financeDivisions a:link,
  #financeDivisions a:active,
  #financeDivisions a:visited,
  #featuredTopics a,
  #featuredTopics a:link,
  #featuredTopics a:active,
  #featuredTopics a:visited,
  #latestNews a,
  #latestNews a:link,
  #latestNews a:active,
  #latestNews a:visited {
    color: #0a4f7c;
    text-decoration: none;
    font-weight: bold;
  }

  .breadcrumb a:hover,
  #main_content a:hover,
  #headerArea a:hover,
  #financeDivisions a:hover,
  #featuredTopics a:hover,
  #latestNews a:hover {
    color: #6e5d9c;
    text-decoration: underline;
    font-weight: bold;
  }

  #main_content ul,
  #main_content ol {
    #font-size: 0.9em;
    line-height: 2.1em;
    margin-top: 1.0em;
    margin-bottom: 1.0em
  }

  #loading1 {
    margin-left: auto;
    margin-right: auto;
    width: 100px;
  }

  #loading2 {
    margin-left: auto;
    margin-right: auto;
    width: 100px;
  }

  #headerArea h1 {
    color: #1799b9 !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 30px;
    font-weight: 300;
  }

  #financeDivisions {
    padding: 30px;
  }

  #defac {
    background-color: #6e5d9c;
    border-top: 5px solid #a2879d;
    border-bottom: 5px solid #a2879d;
    padding: 40px;
    color: #fff;
    font-size: 20px;
  }

  #defac h2 {
    color: #fff !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 30px;
    font-weight: 300;
  }

  #featuredTopics p {
    font-size: 19px;
    margin-top: 30px;
  }

  #AgencyCarousel {
    margin-top: 0px;
  }

  #AgencyCarousel .carousel-caption h2 {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 900;
    display: inherit;
    text-transform: normal;
    text-align: left;
    color: #014f80 !important;
    font-size: 32px !important;
  }

  #AgencyCarousel .carousel-caption p {
    display: block;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    color: #fff !important;
  }

  #agencyFooter {
    background-color: #f8f2ec;
    color: #0a4f7c;
    font-size: 15px;
    line-height: 1.5em;
    padding-top: 30px;
    padding-bottom: 2.0em;
    border-top: 3px solid #0a4f7c;
    border-bottom: 10px solid #245194;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 695px;
    z-index: 1029;
  }

  @-moz-document url-prefix() {
    #agencyFooter {
      height: 706px;
    }
  }

  #agencyFooter a,
  #agencyFooter a:link,
  #agencyFooter a:active,
  #agencyFooter a:visited {
    color: #0a4f7c;
    text-decoration: none
  }

  #agencyFooter a:hover {
    color: #6e5d9c;
    text-decoration: underline
  }

  #agencyFooter ul {
    list-style-type: none;
    margin-left: -38px;
  }

  /* ============================= 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 */


  .agencyFooter_logo {
    width: 130px;
    height: 130px;
    border: none;
    text-align: center;
  }

  .emphasis {
    font-weight: bold;
  }

  .anchors {
    margin-top: -100px;
    /* Size of fixed header */
    padding-bottom: 100px;
    display: block;
  }

  .noshow {
    display: none;
  }

  hr.clf {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    -o-border-image: none;
    border-image: none;
    border: 1px solid #1799ba;
    margin-bottom: 25px;
    margin-top: 10px;
  }

  hr.homepage {
    border: 0;
    width: 200px;
    height: 5px;
    background-image: url('img/finance-hr.jpg');
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  hr.two {
    border: 1px solid #e1e1e1;
    color: #e1e1e1;
    width: 50px;
    margin-top: 0px;
    padding: auto;
    margin: 0 auto;
    margin-left: auto;
  }

  .border_none {
    border: none;
  }

  .small-top {
    font-size: 20px;
    color: #fff;
    line-height: 30px;
  }

  .interiorTitle {
    color: #0a4f7c;
    font-size: 25px;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
    line-height: 1.0;
    padding-top: 30px !important;
    padding-bottom: 15px !important;
    background-color: #f8f2ec;
    border-bottom: 3px solid #0a4f7c;
  }

  .interior-title-wrapper {
    margin-top: -20px;
    background-color: #f8f2ec;
  }

  .jumbo {
    font-size: 40px;
    font-weight: 800;
  }

  .divisons {
    border-right: 0px dotted #745aa1;
    min-height: 200px;
  }

  .btn-finance {
    color: #014f80;
    /* color: white !important; */
    font-weight: bold;
    text-decoration: none !important;
    background-color: #55CBEC;
    border-color: #55CBEC;
    /* background-color: #1799ba;
    border-color: #1799ba; */
  }

  .btn-finance:hover {
    color: white !important;
    font-weight: bold;
    text-decoration: none !important;
    background-color: #10738c;
    border-color: #10738c;
  }

  .btn-blue {
    color: white !important;
    font-weight: bold;
    text-decoration: none !important;
    background-color: #0a4f7c;
    border-color: #0a4f7c;
  }

  .btn-blue:hover {
    color: white !important;
    font-weight: bold;
    text-decoration: none !important;
    background-color: #043b5f;
    border-color: #043b5f;
  }

  .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
    list-style: none;
  }

  .carousel-indicators li {
    position: relative;
    flex: 0 1 auto;
    width: 30px;
    height: 4px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0px !important;
    border: none !important;
  }

  .carousel-indicators li::before {
    position: absolute;
    top: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: "";
  }

  .carousel-indicators li::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: "";
  }

  .carousel-indicators .active {
    background-color: #fff;
    width: 30px;
    height: 4px;
    margin-right: 3px;
    margin-left: 3px;
    border-radius: 0px !important;
  }

  .carousel-caption {
    top: 0 !important;
    padding-top: 20px;
    padding-bottom: 30px;
    text-shadow: none !important;
    background-color: #cbefff;
    margin-top: 30px;
    padding: 40px;
    margin-left: -30px;
    width: 100%;
    height: 360px;
  }
}

.financeTitle {
  color: #1799ba;
  font-size: 45px;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  line-height: 1.1;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.news_date {
  color: #6e5d9c;
  border-top: 1px solid #6e5d9c;
  border-bottom: 1px solid #6e5d9c;
  font-size: 14px;
  padding: 5px;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  padding-right: 110px;
}

.news_title,
.news_title a,
.news_title a:link,
.news_title a:visited,
.news_title a:active {
  font-size: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-weight: 800;
  display: block;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  color: #0a4f7c;
  text-decoration: none;
}

.news_title a:hover {
  font-size: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-weight: 800;
  display: block;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  color: #6e5d9c;
  text-decoration: underline;
}

.news_desc {
  line-height: 1.5em;
  text-align: left;
}

.news_wrapper {
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  .no-padding {
    padding: 0 !important
  }

  .fullwidth {
    padding: 100px 0
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
  /* ============================= ELEMENTS ============================= */

  /* ============================= ID's ============================= */

  /* ============================= Classes ============================= */

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  /* ============================= ELEMENTS ============================= */

  /* ============================= ID's ============================= */
  #headerArea h1 {
    color: #1799b9 !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 48px;
    font-weight: 300;
  }

  #defac h2 {
    color: #fff !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 55px;
    font-weight: 300;
  }

  #AgencyCarousel .carousel-caption h2 {
    font-size: 25px;
  }

  #AgencyCarousel .carousel-caption p {
    display: none;
  }

  #agencyFooter {
    padding-top: 2.0em;
    padding-bottom: 2.0em;
    height: 259px;
  }

  @-moz-document url-prefix() {
    #agencyFooter {
      height: 263px;
    }
  }

  /* ============================= Classes ============================= */
  .financeTitle {
    color: #1799ba;
    font-size: 45px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.1;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }

  .carousel-caption {
    margin-top: 30px;
    padding: 40px;
    margin-left: -150px;
    width: 400px;
    height: 320px;
  }

  .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
    list-style: none;
  }

  .news_date {
    padding-right: 190px;
  }

  .divisons {
    border-right: 6px dotted #745aa1;
    min-height: 200px;
  }

  .small-top {
    font-size: 22px;
    color: #fff;
    line-height: 30px;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  /* ============================= ELEMENTS ============================= */

  /* ============================= ID's ============================= */
  #headerArea h1 {
    color: #1799b9 !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 48px;
    font-weight: 300;
  }

  #defac h2 {
    color: #fff !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 55px;
    font-weight: 300;
  }

  #AgencyCarousel .carousel-caption p {
    display: block;
  }

  #agencyFooter {
    background-color: #f8f2ec;
    color: #0a4f7c;
    font-size: 15px;
    line-height: 1.5em;
    padding-top: 2.0em;
    padding-bottom: 2.0em;
    border-bottom: 10px solid #245194;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 237px;
    z-index: 1029;
  }

  @-moz-document url-prefix() {
    #agencyFooter {
      height: 240px;
    }
  }

  /* ============================= Classes ============================= */
  .financeTitle {
    color: #1799ba;
    font-size: 45px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.1;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }

  .carousel-caption {
    margin-top: 30px;
    padding: 40px;
    margin-left: -200px;
    width: 400px;
    height: 400px;
  }

  .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
    list-style: none;
  }

  .news_date {
    padding-right: 60px;
  }

  .divisons {
    border-right: 6px dotted #745aa1;
    min-height: 200px;
  }

  .small-top {
    font-size: 20px;
    color: #fff;
    line-height: 40px;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  /* ============================= ELEMENTS ============================= */

  /* ============================= ID's ============================= */
  #headerArea h1 {
    color: #1799b9 !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 48px;
    font-weight: 300;
  }

  #defac h2 {
    color: #fff !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 55px;
    font-weight: 300;
  }

  #AgencyCarousel .carousel-caption p {
    display: block;
  }

  #agencyFooter {
    background-color: #f8f2ec;
    color: #0a4f7c;
    font-size: 15px;
    line-height: 1.5em;
    padding-top: 2.0em;
    padding-bottom: 2.0em;
    border-bottom: 10px solid #245194;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 237px;
    z-index: 1029;
  }

  @-moz-document url-prefix() {
    #agencyFooter {
      height: 240px;
    }
  }

  /* ============================= Classes ============================= */
  .financeTitle {
    color: #1799ba;
    font-size: 45px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.1;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }

  .carousel-caption {
    margin-top: 30px;
    padding: 40px;
    margin-left: -100px;
    width: 450px;
    height: 400px;
  }

  .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding-left: 300px;
    margin-right: auto;
    margin-left: auto;
    list-style: none;
  }

  .news_date {
    padding-right: 100px;
  }

  .divisons {
    border-right: 6px dotted #745aa1;
    min-height: 200px;
  }

  .small-top {
    font-size: 25px;
    color: #fff;
    line-height: 40px;
  }
}

/* ============================= CUSTOM MEDIA QUERIES ============================= */

/* Xtra-Small Portrait devices (phones, 400px and up) */
@media (max-width: 767px) {

  .carousel-inner>.item>img,
  .carousel-inner>.item>a>img {
    overflow: hidden;

    max-width: 100%;
    min-height: 475px;
    /* Set slide height here */

    -o-object-fit: cover;

    object-fit: cover;
  }
}

/* Conditional Styles for IE Edge */
_:-ms-lang(x),
_:-webkit-full-screen,
.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
  min-width: 100%;
  min-height: 100%;
  margin: auto;
}

@media (max-width: 874px) {
  .menu_text {
    position: absolute;
    margin-left: 60px;
    margin-top: -44px;
    opacity: 1;
    font-size: 20px;
    font-weight: bold;
    color: #0a4f7c;
  }
}

@media (min-width: 875px) {
  .menu_text {
    position: absolute;
    margin-left: 60px;
    margin-top: -44px;
    opacity: 0;
    display: none;
    font-size: 20px;
    font-weight: bold;
    color: #0a4f7c;
  }
}

@media (min-width: 1100px) {
  .menu_text {
    margin-top: -100px;
  }
}

/* ============================= END CUSTOM MEDIA QUERIES ============================= */
#public-meetings a,
#public-meetings a:link,
#public-meetings a:active,
#public-meetings a:visited {
  color: #9e6b12;
  text-decoration: none;
  font-weight: bold;
}

#public-meetings a:hover {
  color: #00b4eb;
  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: #9e6b12;
  background-color: #fff;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #9e6b12;
  border-radius: 30px;
  padding: 15px 35px;
}

a.info-link:hover,
a.map-link:hover {
  color: #fff !important;
  background-color: #9e6b12;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #9e6b12;
  border-radius: 30px;
  padding: 15px 35px;
}

/*  =============== END OF PMC STYLESHEET  ==============*/

/* Bootstrap Overrides */
.label-success {
  background-color: #477C41;
}

.text-muted {
  color: #606060;
}

/*******External link icon*****/
#main_content sup {
  top: -3px;
}
#main_content .extlink sup:after {
    font-family: "Font Awesome 5 Pro";
    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 {
    content: "" !important;
}

/*******Rebate status alert box styles*****/
#main_content .rebate-status h2 {
  color: #3C763D !important;
  font-weight: bold !important;
}

.rebate-status .btn-success {
  background-color: #198754;
  border-color: #198754;
  color: #fff !important;
}