/**
* Theme Name: The Independent Investigations Office of BC
* Description: The Independent Investigations Office of BC WordPress theme based on the Pressville theme.
* Author: FreshWorks Studio
* Author URI: https://freshworks.io
* Template: bcgov-iio-theme
* Version: 1.3.0
*/

/* Add your custom CSS after this comment */
@font-face {
  font-family: "nunito_sans";
  src: url("assets/fonts/nunitosans-regular-webfont.woff2") format("woff2"),
    url("assets/fonts/nunitosans-regular-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

/* General START */
body,
input,
button,
textarea {
  font-family: "nunito_sans";
  font-size: 16px;
  line-height: 22px;
}
a {
  text-decoration: none !important;
}
a:hover {
  text-decoration: underline !important;
}
a.iio-empty-link,
a.iio-empty-link:hover {
  cursor: default;
  text-decoration: none !important;
  border: none !important;
}
p {
  line-height: 1.3em;
}
h1,
h2,
h3,
h4,
h5 {
  color: #006e99 !important;
  font-family: "nunito_sans";
}
h1 {
  font-size: 40px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid #d6dadc;
  margin-bottom: 15px !important;
}
h2 {
  font-size: 28px !important;
}
.iio-col-2-clear {
  clear: both;
}
.columns__sidebar--right #sidebar {
  padding-left: 40px;
}
.page__content {
  margin-bottom: 0;
}
.iio-no-posts-found {
  padding: 25px;
  text-align: center;
  color: #676d70;
}
.page__content {
  min-height: auto;
}
#breadcrumbs {
  margin-bottom: -20px !important;
}
.breadcrumbs__link {
  color: #676d70 !important;
}
/* .size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
  width: 100%;
} */
a i.iio-content-external-link {
  color: #676d70;
  margin-left: 5px;
  font-size: 0.85em;
}
.lsvr-pressville-post-grid__post-bg {
  background: none !important;
}
/* General END */

/* Header START */
.header-titlebar--large,
.header-titlebar {
  padding: 68px 0 64px 0;
}
.header-titlebar__logo {
  max-width: 351px !important;
  max-height: 65px;
  width: 100% !important;
  padding: 0;
}
.header-navbar {
  background-color: #2f95be !important;
}
.header-menu-primary__item--level-0 {
  padding: 0 0 18px 0;
}
.header-menu-primary__item-link--level-0 {
  color: #d6dadc !important;
  font-size: 18px;
  padding: 10px 0 30px;
  margin: 0 12px;
  border-radius: 0 !important;
  border-width: 0 0 4px 0;
  border-style: solid;
  border-color: transparent;
}
.header-menu-primary__item-link--level-0:hover {
  text-decoration: none !important;
}
.header-menu-primary__item--level-0:first-child
  .header-menu-primary__item-link--level-0 {
  margin-left: 0;
}
.header-menu-primary__item--level-0:last-child
  .header-menu-primary__item-link--level-0 {
  margin-right: 0;
}
.header-menu-primary__item--is-hover .header-menu-primary__item-link--level-0,
.header-menu-primary__item-link--level-0:hover,
.current-menu-ancestor .header-menu-primary__item-link--level-0,
.current-menu-item .header-menu-primary__item-link--level-0 {
  color: #ffffff !important;
  background-color: transparent !important;
  border-width: 0 0 4px 0;
  border-style: solid;
  border-color: #ffffff;
}
.current-menu-ancestor .header-menu-primary__item-link--level-0:before,
.current-menu-item .header-menu-primary__item-link--level-0:before {
  background-color: none !important;
  display: none;
}
.header-menu-primary__dropdown .header-menu-primary__item-link {
  color: #2f95be !important;
}
.header-menu-primary__dropdown .header-menu-primary__item-link:hover {
  color: #545e69 !important;
}
.header-menu-primary__list {
  padding-top: 18px;
}
.header-search {
  width: 340px;
  top: 0;
  border-radius: 0 0 3px 3px;
}
.header-search__toggle {
  width: 280px;
  background-color: #ffffff !important;
  top: 21px;
  height: 40px;
  overflow: hidden;
}
.header-search__input {
  font-size: 16px;
  padding: 10px 45px 10px 20px;
}
.iio-navbar-search-button {
  background-color: rgba(225, 231, 236, 0.15);
  border-radius: 3px;
  border: 1px solid #d6dadc;
  color: #676d70;
  padding: 10px 31px 8px 19px;
  text-align: left;
}
.header-search__toggle-icon {
  color: #2f95be;
  left: auto;
  right: 13px;
  width: 20px;
  margin-top: -7px;
}
.header-search__arrow {
  display: none;
}
.header-search__results-item {
  font-size: 16px;
}
.header-search__results-item-icon {
  line-height: 20px !important;
}
/* Header END */

/* Footer START */
#footer,
#footer a {
  color: #d6dadc !important;
  font-weight: 300;
  font-size: 16px;
}
.footer-widget__title {
  color: #ffffff !important;
  font-size: 20px;
}
.footer-text {
  text-align: center;
  font-size: 14px;
  color: #676d70;
}
#iio_footer_badge_container div {
  background: url(./assets/img/iio_badge.png) no-repeat center center;
  background-size: contain;
  width: 200px;
  height: 244px;
  margin: 60px auto 0;
  color: transparent;
}
.icon-rss {
  background: url("assets/img/icon_rss.png") no-repeat center center;
  background-size: contain;
  height: 16px;
  opacity: 0.7;
}
/* Footer END */

/* Home Carousel START */
.lsvr-pressville-post-grid--layout-title-left
  .lsvr-pressville-post-grid__header {
  padding-top: 10px;
}
.lsvr-pressville-post-grid__post-overlay-link {
  /* background: linear-gradient(
    180deg,
    rgba(0, 128, 179, 0) 0%,
    rgba(0, 128, 179, 0.85) 100%,
    rgba(26, 83, 102, 0.8) 100%
  ); */
  background: linear-gradient(
    180deg,
    rgba(0, 128, 179, 0) 20%,
    rgba(0, 128, 179, 0.9) 50%,
    rgba(0, 128, 179, 0.9) 100%
  );
}
.lsvr-pressville-post-grid__list-wrapper.iio-no-arrows button {
  display: none;
}
.lsvr-pressville-post-grid__post-title-link,
.lsvr-pressville-post-grid__post-meta {
  color: #ffffff !important;
}
.lsvr-pressville-post-grid__post-bg {
  vertical-align: middle;
}
.lsvr-pressville-post-grid__post-meta {
  height: 0;
}
ul.iio-home-carousel-container-links {
  color: #2f95be !important;
  margin: 20px 0 0;
}
ul.iio-home-carousel-container-links li {
  margin: 0;
}
.lsvr-pressville-post-grid__title {
  font-size: 28px;
  font-weight: bold;
}
.lsvr-pressville-post-grid__subtitle {
  font-size: 16px;
  color: #676d70;
}
.lsvr-pressville-post-grid {
  padding: 50px 0;
}
/* Home Carousel END */

/* Home IIO Users START */
.iio-users-outer-container h2 {
  font-size: 1.75em;
  border-bottom: 1px solid #d6dadc;
  padding-bottom: 10px;
  margin-bottom: 40px;
}
.iio-users-outer-container:after {
  clear: both;
  content: "";
  display: block;
}
.iio-users-container {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding: 0 40px 40px 100px;
  position: relative;
}
.iio-users-container .iio-user-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  font-size: 0;
  color: transparent;
}
.iio-users-container h3 {
  font-weight: bold;
  font-size: 1.25em;
  margin-bottom: 10px;
}
.iio-users-container p {
  margin-bottom: 0;
}
#iio_users_container {
  padding: 40px 0;
}
/* Home IIO Users END */

/* Listing START */
.lsvr_document-post-page .post__attachment-icon {
  color: #2f95be !important;
}
.c-button {
  padding: 10px 25px;
  border-color: #2f95be !important;
  text-align: center;
  border-radius: 10em;
}
a.c-button:hover,
a.iio-filter-link:hover {
  text-decoration: none !important;
  background-color: rgba(47, 149, 190, 0.05);
}
.iio-home-all-c-buttons a.c-button {
  margin: 0 20px 20px 0;
}
.post__meta {
  margin: 0 0 6px 0 !important;
  color: #676d70;
}
.lsvr_document-post-archive--default .post {
  margin-bottom: 20px;
}
.post__inner {
  border-bottom: 1px dashed #676d70;
  margin-bottom: 20px;
  padding-bottom: 10px;
}
.post__inner p {
  margin-bottom: 12px !important;
}
.post-archive article:last-of-type .post__inner,
.post-single article:last-of-type .post__inner {
  border-bottom: 1px solid #d6dadc;
}
.iio-recent-releases-intro {
  color: #676d70;
  border-bottom: 1px solid #d6dadc;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.iio-recent-releases-intro p {
  margin: 0;
}
.navigation.pagination {
  text-align: left;
  font-size: 20px;
}
article .iio-post-listing-icon {
  float: left;
  color: #2f95be;
  font-size: 22px;
  line-height: 28px;
  margin-top: 28px;
}
article .iio-post-listing-icon.iio-with-image {
  margin-top: 0;
}
article .iio-post-listing-icon-inner {
  padding-left: 40px;
}
.lsvr-grid:before {
  clear: none !important;
}
/* Listing END */

/* Single START */
a.iio-filter-link {
  display: inline-block;
  border-radius: 3px;
  border: 1px solid #2f95be;
  padding: 4px 8px;
  font-size: 12px;
  margin: 0 10px 10px 0;
}
.blog-post-single .post__header {
  margin-bottom: 30px !important;
}
.post-navigation {
  margin-top: 15px;
}
.post-single .post__content p {
  line-height: 22px;
}
/* Single END */

/* Widgets START */
.widget__title {
  font-size: 20px;
  margin-bottom: 20px;
  color: #2f95be !important;
}
.iio-widget-container .post-archive__list {
  margin-top: 10px;
  padding-top: 20px;
}
.iio-widget-container .lsvr_document-post-archive--default .post__title {
  font-size: 16px;
}
.iio-widget-container .lsvr_document-post-archive--default .post__header {
  margin-bottom: 20px;
}
.iio-widget-container .post__inner {
  padding-bottom: 0;
}
.iio-widget-container
  .lsvr_document-post-archive--default
  .post__attachment-list {
  margin: 0 0 20px 20px;
}
.iio-widget-container a.c-button {
  font-size: 12px;
  margin: 0 0 10px 0 !important;
  padding: 7px 15px;
  border-width: 1px;
}
.iio-widget-container .iio-home-all-c-buttons a.c-button:first-child {
  margin-right: 10px !important;
}
.widget_nav_menu .current-menu-item > a {
  color: #000000;
  font-weight: normal;
}
.iio-blue-header-container {
  border: 1px solid #d6dadc;
  border-radius: 3px;
  margin: 0 0 60px 0;
}
.iio-blue-header-container .widget {
  margin-bottom: 0;
}
.iio-blue-header-container .widget__title {
  background-color: #2f95be;
  font-size: 20px;
  color: #ffffff !important;
  padding: 16px;
  line-height: 40px;
  margin-bottom: 0;
}
.iio-blue-header-container .widget__title .fa {
  width: 40px;
  height: 40px;
  text-align: center;
  margin-right: 12px;
  line-height: 40px;
}
.iio-blue-header-container .menu-quick-links-container {
  padding: 20px;
}
/* Widgets END */

/* Filters START */
.iio-filters-container {
  background-color: #f5f5f5;
  padding: 25px 40px 10px;
  border-radius: 3px;
  margin-bottom: 30px;
}
.iio-filter-title {
  color: #2f95be;
  font-size: 16px;
  font-weight: bold;
  line-height: 48px;
  margin-right: 15px;
  float: left;
  width: 60px;
  text-align: right;
}
.iio-filter-container {
  padding-left: 80px;
}
.iio-filter-container::after {
  content: "";
  display: block;
  clear: both;
}
.iio-filter-container input {
  width: 100%;
  max-width: 100%;
  border: 1px solid #d6dadc;
  display: block;
  border-radius: 3px;
  background-color: #ffffff;
  margin-bottom: 15px;
  height: 48px;
}
.select2-container {
  width: auto !important;
  margin: 0 10px 15px 0 !important;
  max-width: 100%;
  min-width: 180px;
}
.iio-filter-container .c-button {
  float: right;
  margin: 0 0 15px 10px !important;
  padding: 5px 15px;
  text-transform: uppercase;
}
.iio-filter-container input,
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 48px !important;
  font-size: 16px !important;
  color: #676d70 !important;
  padding: 0 15px !important;
}
.select2-container--default .select2-selection--single {
  border-color: #d6dadc !important;
  border-radius: 3px !important;
  height: 48px !important;
  padding-right: 48px;
  outline: none;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 48px !important;
  width: 48px !important;
}
.iio-dropdown-icon {
  color: #676d70;
  line-height: 48px !important;
  width: 48px;
  text-align: center;
}
.select2-dropdown {
  border: 1px solid #e9f0f3 !important;
  border-radius: 3px !important;
  background-color: #ffffff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #e9f0f3 !important;
  border-radius: 3px !important;
  color: #676d70;
}
.select2-results__option {
  margin: 0 !important;
  font-size: 14px;
  color: #000000;
  padding: 10px 15px !important;
}
.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: rgba(245, 245, 245, 0.5) !important;
  color: #000000 !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__clear {
  right: -15px;
}
.iio-search-results.iio-filter-title {
  line-height: 35px;
}
/* Filters END */

/* Cases START */
.iio-table {
  display: table;
  width: 100%;
  margin-bottom: 4rem;
}
.iio-tr {
  display: table-row;
}
.iio-th,
.iio-td {
  display: table-cell;
  padding: 10px 5px;
}
.iio-th {
  background-color: #f5f5f5;
  color: #2f95be;
  font-weight: bold;
  font-size: 0.85rem;
  vertical-align: middle;
  border-bottom: 1px solid #003468;
  white-space: nowrap;
}

.iio-th .fa {
  color: #676d70;
  width: 25px;
  text-align: center;
}
.iio-td {
  border-right: 1px solid #d6dadc;
  border-bottom: 1px solid #d6dadc;
  vertical-align: top;
  font-size: 14px;
  line-height: 16px;
}
.iio-td-title {
  color: #2f95be;
  font-weight: bold;
  display: none;
}
.iio-tr .iio-td:first-child {
  border-left: 1px solid #d6dadc;
}
.iio-case-info-container {
  border-radius: 3px;
  background-color: #f5f5f5;
  margin: 40px 0;
  padding: 10px 25px;
}
.iio-case-info-container::after {
  content: "";
  clear: both;
  display: block;
}
.iio-case-info-container .iio-case-info-item {
  float: left;
  width: 33.333%;
  padding: 15px 0;
}
.iio-case-info-item .iio-case-info-title {
  color: #2f95be;
  font-weight: bold;
  line-height: 17px;
  margin-bottom: 5px;
}
.iio-case-info-item .iio-case-info-value {
  color: #000000;
  font-size: 16px;
  line-height: 22px;
}
.iio-case-info-separator-col2,
.iio-case-info-separator-col3 {
  font-size: 0;
  line-height: 0;
  color: transparent;
  border-bottom: 1px solid #d6dadc;
  margin-bottom: 15px;
  padding-bottom: 15px;
  clear: both;
}
.iio-case-info-separator-col2 {
  display: none;
}
.iio-case-info-separator-col2:last-of-type,
.iio-case-info-separator-col3:last-of-type {
  display: none;
}
/* Cases END */

/* Accordion START */
.iio-accordion-group-outer-container:first-of-type
  h2.iio-accordion-group-header {
  border-radius: 3px 3px 0 0;
}
.iio-accordion-group-outer-container:last-of-type
  h2.iio-accordion-group-header {
  border-radius: 0 0 3px 3px;
}
.iio-accordion-outer-container {
  margin-top: 25px;
}
h2.iio-accordion-group-header {
  border: 1px solid #d6dadc;
  margin: 0;
}
h2.iio-accordion-group-header a::after,
h3.iio-accordion-header a::after {
  clear: both;
  content: "";
  display: block;
}
h2.iio-accordion-group-header i.fa {
  float: right;
  line-height: 27px;
  text-align: center;
  font-size: 32px;
  padding-right: 20px;
  color: #979797;
}
h2.iio-accordion-group-header a {
  font-size: 20px;
  line-height: 27px;
  padding: 18px 0 18px 25px;
  display: block;
}
h2.iio-accordion-group-header a:hover {
  text-decoration: none !important;
  background-color: rgba(47, 149, 190, 0.05);
}
.iio-accordion-group-container {
  background-color: #f5f5f5;
  padding: 0 20px 0 45px;
  display: none;
}
h3.iio-accordion-header {
  border-bottom: 1px solid #d6dadc;
  margin: 0;
}
h3.iio-accordion-header a {
  font-size: 16px;
  line-height: 22px;
  font-weight: bold;
  padding: 20px 0;
  display: block;
}
h3.iio-accordion-header i.fa {
  float: right;
  line-height: 22px;
  width: auto;
  font-size: 32px;
  color: #979797;
}
.iio-accordion-container {
  padding: 20px 0 1px;
  border-bottom: 1px solid #d6dadc;
  display: none;
}
.iio-accordion-container:last-of-type {
  border: none;
}
/* Accordion END */

/* Search START */
form#iio_filter_form .c-search-form__inner {
  margin-bottom: 40px;
}
.c-search-form__input-holder,
.c-search-form__input {
  max-width: 100% !important;
}
.iio-filter-container .header-search__filter-checkbox {
  display: none !important;
}
.iio-filter-container .header-search__filter-label {
  font-size: 16px;
  line-height: 22px;
  padding: 5px 10px;
  font-weight: normal;
  background: none;
  border: 1px solid #2f95be;
  color: #2f95be;
  margin: 0 10px 10px 0;
}
.iio-filter-container .header-search__filter-label:hover {
  background-color: rgba(47, 149, 190, 0.05);
}
.iio-filter-container .header-search__filter-label--active,
.iio-filter-container .header-search__filter-label--active:hover {
  background-color: #2f95be;
  color: #ffffff;
}
/* Search END */

/** Pagination START */

.iio-pagination {
  margin: -2rem 0 3rem;
}
.iio-pagination > * {
  padding: 0.2rem 0.75rem;
  border: 1px solid #ddd;
  font-size: 1.2rem;
  margin: 0;
  display: inline-block;
}
/* Pagination END */

/* -----------------------------------------------------------------------------

    RESPONSIVE DEFINITIONS

----------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
        EXTRA LARGE DEVICES
		devices with width greater than 1280px
    ------------------------------------------------------------------------- */

@media (max-width: 1279px) {
  /* your CSS here */
  .header-search__toggle {
    width: 45px;
  }
  .iio-navbar-search-button {
    display: none;
  }
}

/* -------------------------------------------------------------------------
        LARGE DEVICES
		devices with width between 992px and 1199px
    ------------------------------------------------------------------------- */

@media (max-width: 1199px) {
  /* your CSS here */
  .lsvr-pressville-post-grid--layout-title-left
    .lsvr-pressville-post-grid__header {
    padding-top: 0;
  }
}

/* -------------------------------------------------------------------------
        MEDIUM DEVICES
		devices with width between 768px and 991px
    ------------------------------------------------------------------------- */

@media (max-width: 991px) {
  /* your CSS here */
  .header-titlebar__inner {
    padding: 0;
  }
  .iio-users-container {
    width: 100%;
    float: none;
    padding-right: 0;
  }
  .header-search {
    width: 100%;
  }
  .header-menu-primary__item--level-0:first-child
    .header-menu-primary__item-link--level-0 {
    margin-left: 12px;
  }
  .header-menu-primary__item--level-0:last-child
    .header-menu-primary__item-link--level-0 {
    margin-right: 12px;
  }
  .columns__sidebar--right #sidebar {
    padding-left: 0;
  }
  .lsvr-pressville-post-grid__list-wrapper.iio-no-arrows button {
    display: block;
  }
  .header-titlebar__overlay {
    opacity: 0.4 !important;
  }
  .header-menu-primary__item-link--level-0 {
    border: none !important;
  }
  .header-menu-primary__item--open .header-menu-primary__item-link--level-0,
  .header-menu-primary__submenu--level-0 {
    background: none !important;
  }
  .header-menu-primary__dropdown .header-menu-primary__item-link,
  .header-menu-primary__dropdown .header-menu-primary__item-link:hover,
  .header-menu-primary__submenu-toggle-icon--active {
    color: #ffffff !important;
  }
}

/* -------------------------------------------------------------------------
        SMALL DEVICES
		devices with width between 481px and 767px
    ------------------------------------------------------------------------- */

@media (max-width: 867px) {
  /* your CSS here */
  .select2-container {
    width: 100% !important;
  }
  .iio-table {
    display: block;
  }
  .iio-th {
    display: none;
  }
  .iio-tr {
    display: block;
    border-left: 1px solid #d6dadc;
    border-right: 1px solid #d6dadc;
    border-bottom: 1px solid #d6dadc;
  }
  .iio-td {
    display: inline-block;
    width: 40%;
    border: none !important;
    padding: 10px 20px !important;
  }
  .iio-td-title {
    color: #2f95be;
    font-weight: bold;
    display: block;
  }
  .iio-case-number-cell {
    display: block;
    width: 100%;
    background-color: #f5f5f5;
    box-sizing: border-box;
    font-size: 16px;
  }
  .iio-case-number-cell .iio-td-title,
  .iio-case-number-cell .iio-td-title a {
    color: #000000;
    display: inline-block;
  }
  .iio-case-info-container .iio-case-info-item {
    width: 50%;
  }
  .iio-case-info-separator-col2 {
    display: block;
  }
  .iio-case-info-separator-col3 {
    display: none;
  }
}

/* -------------------------------------------------------------------------
        EXTRA SMALL DEVICES
		devices with width up to 480px
    ------------------------------------------------------------------------- */

@media (max-width: 480px) {
  /* your CSS here */
  .header-titlebar__inner {
    padding: 0 20px;
  }
  .iio-filter-title {
    float: none;
  }
  .iio-filter-container {
    padding-left: 0;
  }
  .iio-case-info-container .iio-case-info-item {
    width: 100%;
    float: none;
  }
  .iio-case-info-separator-col2,
  .iio-case-info-separator-col3 {
    display: none;
  }
}

.iio-case-count {
  margin: 1rem 0 1rem;
  font-size: 1.1rem;
}
