/*
******************************************************** DEFAULTS ********
*/

@import url('montserrat.css');


html,
body,
nav {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

body {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
}



/*
******************************************************** NAV ********
*/

.navbar-default.scrolled .custom-logo {
  height: 40px;
  margin-top: 0;
  margin-bottom: 0;
}

img.custom-logo {
  transition: all 0.3s ease-in-out;
}

.navbar-default .navbar-nav>li>a {
  text-transform: uppercase !important;
  font-weight: 700;
  margin-top: 5px;
}

.navbar-default .navbar-nav>li>a {
  font-weight: normal;
}

.navbar-default .navbar-nav>li>.dropdown-menu {
  background-color: #fff;
  min-width: 300px;
  padding: 20px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  left: -100%;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
  color: #2D373D;
  text-decoration: none;
}

.dropdown-menu {
  box-shadow: 3px 3px 10px #aaa;
}

/*
******************************************************** FINANCIAL YEAR ********
*/

.fin-year-wrapper {
  display: flex;
  flex-direction: column;
  padding: 0px 5px 5px 5px;
  background-color: #AF9914;
  border-radius: 7px;
  margin: 3px 0px;
}

.fin-year-title {
  margin-bottom: 1px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

.fin-year-form {
  display: inline-block;
}

span.fin_year_page_titles {
  margin-left: 10px
}

.nav-link.disabled.fin_current_year {
  background-color: #AF9914 !important;
  color: #ffffff !important;
}

span.individual-reform-title {
  max-width: 70%;
  display: inline-block;
}


/*
******************************************************** BANNERS ********
*/

.header-banner {
  height: 360px;
  background-color: #2D373D;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.home .header-banner {
  background-size: contain;
  background-attachment: scroll;
}

.gold-block {
  background-color: #AF9914;
  padding: 20px 20px 20px 20px;
  font-weight: bold;
  text-align: left;
  font-size: 22px
}

#deliverable-search {
  width: 100%;
}

#deliverable-search-form {
  margin: 40px 0 10px 0;
}

#deliverable-search-form .form-outline {
  width: 100%;
}

/*
******************************************************** individual reform ********
*/

.deliverable-data-wrapper {
  background-color: #666
}

.deliverable-data-detail {
  padding: 10px;
  display: block;
  color: #ccc;
  text-align: center;
  font-size: small;
}

/*
******************************************************** FORMS ********
*/

.wpcf7-form {
  color: inherit;
}

.wpcf7-form-control-wrap {
  margin: 0;
}

.wpcf7-list-item-label {
  margin-left: 10px;
}

.wpcf7-textarea {
  height: 50px;
}


/*
******************************************************** MAIN PROGRESS BARS ********
*/

.top-level {
  background-color: #514f4f;
}

.progress {
  border-top: 1px solid #514f4f;
  border-bottom: 1px solid #514f4f;
  background-color: #2d373d;
  margin: 0;
  padding: 0;
  border-radius: 0;
  height: 50px;
}

.progress-bar {
  margin: 0px;
  border-right: 0px;
  background-color: transparent;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 18px;
  font-weight: 700;
}

.progress-title {
  text-align: left;
}

.progress-value {
  text-align: right;
}

.progress .quarter {
  text-align: left;
}

.progress .value {
  text-align: right;
}

.progress .zero .value {
  text-align: left;
}

/*
******************************************************** GRID PROGRESS BARS ********
*/

.grid-container {
  width: 100%;
  box-shadow: 0px 0px 10px #aaa;
}

.grid-container.active {
  width: 100%;
  box-shadow: 0px 0px 10px #424242;
}

.grid-container p {
  padding: 10px;
}

.grid-container .progress {
  border: 0px;
  background-color: #2d373d;
  margin: 0;
  padding: 0;
  border-radius: 0;
  height: 30px;
}

.grid-container .progress-bar {
  margin: 0px;
  border-right: 0px;
  background-color: transparent;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 14px;
  text-align: right;
}

.grid-container .progress-bar.zero {
  background-color: #666;
}

.grid-link .grid-button a {
  text-decoration: none;
}

.grid-image {
  min-height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
}

.grid-link {
  background-color: #2D373D;
  padding: 5px 10px;
  color: #fff;
  text-decoration: none;
  display: block;
  font-weight: 500;
  min-height: 105px;
  font-size: 18px;
}

.grid-link span {
  font-weight: normal;
  font-size: 14px;
}

.grid-link:hover {
  color: #fff;
}

.grid-link i {
  float: right;
  padding: 5px 0;
}

.grid-link span {
  display: inline-block;
  max-width: 95%;
}

.grid-title-row {
  color: #999;
}

.grid-score-title {
  padding: 10px;
  float: right;
  width: 75px;
  text-align: center;
  font-weight: 500;
}

.grid-score {
  padding: 10px;
  float: right;
  width: 75px;
  height: 40px;
  text-align: center;
  font-weight: 500;
  color: #fff;
}

.score-red {
  background-color: #FF0000 !important;
}

.score-orange {
  background-color: #FFA500 !important;
}

.score-blue {
  background-color: #0000FF !important;
}

.score-green {
  background-color: #008000 !important;
}

.score-gold {
  background-color: #AF9914 !important;
}


.grid-text {
  background-color: #fff;
  padding: 20px;
}

.tab-content .grid-text p a {
  color: blue;
}

.grid-text .row {
  background-color: #f5f5f5;
}

a[aria-expanded="false"] .show-toggle::before {
  content: "\f103";
}

a[aria-expanded="true"] .show-toggle::before {
  content: "\f102";
}

.grid-anchor {
  display: block;
  padding-top: 50px;
  margin-top: -50px;
}

.grid-view {
  width: 100%;
}

.grid-view.heatmap-view {
  display: flex;
  flex-wrap: wrap;
}

.view-toggle {
  margin-bottom: 10px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.view-toggle label {
  font-weight: bold;
  cursor: pointer;
}

.dropdown-wrapper {
  text-align: right;
}

.level {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 10px;
  width: 100%;
}

.heatmap-deliverable {
  cursor: pointer;
}

.level-reform,
.level-deliverables {
  display: none;
}

.level small {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}

/*
******************************************************** GRID STATUS ********
*/

#status-filters {
  margin-bottom: 20px;
}

.status-toggle.active {
  background-color: #af9914;
  color: white;
}

.status-toggle {
  border: none;
  background-color: #2d373d;
  color: #fff;
  margin-right: 5px;
  padding: 6px 12px;
  cursor: pointer;
}


/*
******************************************************** GRID FORMS ********
*/

.grid-link-toggle {
  min-height: unset;
}

.grid-form-hidden {
  display: none;
}

.form-text-title {
  font-weight: bold;
  padding: 10px;
}

/*
******************************************************** SPEEDOMETER ********
*/

.speedometer {
  display: inline-block;
  margin: 20px;
  border: 1px solid #ccc;
}

.speedometer-canvas {
  margin: 0 auto;
  max-width: 100%;
  display: block;
  background-image: url('../images/revcounter-background.png');
  background-size: contain;
}

.breadcrumb .speedometer-canvas {
  float: right;
}

/*
******************************************************** HEATMAP ********
*/

.heatmap-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
}

.heatmap-deliverable {
  font-size: 13px;
  width: 20%;
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  margin: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
}

.heatmap-deliverable:hover {
  color: #000;
}

.heatmap-deliverable.hidden {
  display: none;
}

.heatmap-deliverable.score-green,
.heatmap-deliverable.score-red {
  color: #fff;
}

.reformAreaDropdown {
  border: 1px solid #000;
  padding: 10px;
  margin-left: 20px;
}

.reform-dropdown-container {
  float: right;
}

.fix-height {

  height: 100px;
  /* Fixed height */
  max-height: 100px;
  /* Ensures the height doesn't exceed this value */
  overflow: hidden;
  /* Hide overflow content */
  text-overflow: ellipsis;
  /* Adds ellipsis (...) for overflowing text */
}

.tab-pane .btn-primary {
  margin-bottom: 20px;
}

.heatmap-robot {
  padding: 20px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  height: 100%;
}

.heatmap-key i {
  margin-right: 10px;
  font-size: 24px;
}

/*
******************************************************** TOOLTIPS ********
*/

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
  border-top-color: #fff !important;
}

.tooltip-inner {
  min-width: 300px;
  padding: 20px;
  background-color: #fff;
  color: #000;
  box-shadow: 5px 5px 10px #000;
}

/*
******************************************************** BLOG HOME, CATEGORIES AND SINGLE ********
*/

.category_header {
  background-color: #2D373D;
  color: #AF9914;
}

.category_header h1,
.single-post-section h1,
.single-post-section a {
  color: #AF9914;
}

.archive-post-section a {
  color: #AF9914;
}

#sidebar h2 {
  text-transform: uppercase;
  font-size: 24px;
}

#sidebar ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.blog-section {
  background-color: #e2e2e2;
  padding: 50px 0;
}

.blog-image {
  min-height: 300px;
}

.blog-section h3 a,
.blog-section h4 a,
.category-label a {
  color: #AF9914;
  text-decoration: none;
}

.category-label {
  display: block;
  width: 100%;
  text-align: right;
}

small {
  font-size: 12px;
}

/*
******************************************************** FOOTER ********
*/

#footer h3 {
  color: #AF9914;
  font-weight: normal;
}

#footer ul {
  margin-bottom: 30px;
}

#footer ul li a {
  text-decoration: none;
  padding-bottom: 10px;
  display: inline-block;
}

.widget-wrap {
  padding: 0 50px 0 0;
}

.footer-social a {
  font-size: 22px;
  margin: 0 5px;
}



/*
******************************************************** SORT ********
*/





.nav-tabs {
  border: 0px;
  padding: 0 5px;
  border-bottom: 1px solid #ccc !important;
}

.year-tabs,
.nav-tabs.year-tabs {
  border-bottom: 1px solid #ccc !important;
  background-color: #ebebeb;
  margin-bottom: 5px;
}

#myTab.nav-tabs {
  border-bottom: 0 !important;
}

.integrity {
  background-color: #ccc;
  padding: 20px;
}

.grid-open-link {
  display: block;
  margin: 10px 0;
}

.nav-tabs .nav-link,
.accordion-button {
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 !important;
  color: #999;
}

.accordion-button:focus,
.accordion-button:hover,
.accordion-button:not(.collapsed) {
  color: #af9914;
  background-color: #ebebeb;
}

.accordion-button::after {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #af9914;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  margin-left: auto;
  background-image: none;
  transform: none;
}

/* When accordion is open */
.accordion-button:not(.collapsed)::after {
  content: "!";
  background-color: #af9914;
}

/* Remove default Bootstrap chevron completely */
.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  background-image: none;
}

.nav-tabs .nav-link.active {
  color: #af9914;
  border-bottom: 1px solid #af9914 !important;
}

.nav-link.disabled {
  color: #ccc !important;
}

.nav-tabs .nav-link.disabled,
.nav-tabs .nav-link:disabled {
  color: #ccc !important;
}

.grid-container .wpcf7-form p {
  text-transform: initial;
}






/*
******************************************************** New Accordion on Home page  ********
*/
.accordion-item {
  border: 0px !important;
}

.info-button {
  padding: 0 10px;
  text-decoration: none;
}

.accordion-grid-header {
  background-color: #2D373D;
}

.accordion-grid-image {
  background-size: cover;
  background-position: center;
  height: 200px;
}

.accordion-grid-header-title {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}

.accordion-grid-header-title i {
  float: right;
}

.accordion-grid-content {
  padding: 30px;
  color: #fff;
}

.accordion-grid-button .accordion-grid-header-title i {
  transition: transform 0.3s ease;
}

.accordion-grid-button.collapsed .accordion-grid-header-title i {
  transform: rotate(0deg);
  /* Down */
}

.accordion-grid-button:not(.collapsed) .accordion-grid-header-title i {
  transform: rotate(180deg);
  /* Up */
}

.accordion-body .btn-close {
  float: right;
}


.in-progress::before {
  font-family: "Font Awesome 5 Free";
  content: "\f110";
  /* spinner */
  font-weight: 900;
}

.completed::before {
  font-family: "Font Awesome 5 Free";
  content: "\f058";
  /* check-circle */
  font-weight: 900;
}

.halted::before {
  font-family: "Font Awesome 5 Free";
  content: "\f28b";
  /* pause-circle */
  font-weight: 900;
}

.status-toggle::before {
  padding-right: 10px;
}

.acf-field-taxonomy {
  flex: 1 1 30%;
  min-width: 200px;
}

.acf-field-group {
  width: 100%;
}

.acf-form-submit {
  margin: 20px 0 50px;
}

/*
******************************************************** Media Over 1199 & Under 1399  ********
*/
@media (min-width: 1199px) and (max-width: 1399px) {
  .navbar-default .navbar-nav>li>a {
    font-size: 12px;
    /* reduce from default, adjust as needed */
    padding-left: 10px;
    padding-right: 10px;
  }
}

/*
******************************************************** Media Under 1399  ********
*/
@media (min-width: 768px) and (max-width: 1199px) {
  .navbar-default .container {
    max-width: 100%;
  }

  .navbar-default .navbar-nav>li>a {
    font-size: 12px;
    /* reduce from default, adjust as needed */
    padding-left: 10px;
    padding-right: 10px;
  }

  .home .gold-block {
    font-size: 14px;
  }

  .home .gold-block .btn-tertiary {
    padding: 10px;
    text-align: center;
    font-size: 11px;
    width: 100%;
  }



}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .tablet {
    display: block !important;
  }
}

/*
******************************************************** Media Under 1068  ********
*/
@media (min-width: 768px) and (max-width: 999px) {
  #menu-item-16 {
    display: none;
  }
}

/*
******************************************************** Media Under 1068  ********
*/
@media only screen and (max-width: 1068px) {

  .custom-logo {
    height: 40px;
  }

  .top-level .progress-bar {
    font-size: 18px;
    white-space: wrap;
  }

  .top-level .progress-value {
    padding-left: 0px;
  }

  .reform-dropdown-container {
    float: none;
    margin-top: 20px;
  }

  .heatmap-deliverable {
    width: 25%;
  }

}

/*
******************************************************** Media Under 968  ********
*/
@media only screen and (max-width: 968px) {
  .heatmap-deliverable {
    width: 33.3%;
  }
}

/*
******************************************************** Media Under 768  ********
*/
@media only screen and (max-width: 768px) {

  span.fin_year_page_titles {
    font-size: 20px;
  }

  .navbar-default .navbar-toggler {
    background-color: #af9914 !important;
  }

  .mobile-navbar .fin-year-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    /* space between title and dropdown */
    padding: 5px 10px;
    justify-content: center;
  }

  .mobile-navbar .fin-year-title {
    margin-bottom: 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .mobile-navbar .fin-year-form select {
    font-size: 13px;
    padding: 2px 6px;
  }

  .top-level .container {
    max-width: 100%;
    padding: 0;
  }

  .top-level .progress-bar {
    font-size: 18px;
    white-space: wrap;
  }

  .top-level .progress-value {
    padding-left: 0px;
  }

  .heatmap-deliverable {
    width: 50%;
  }

  .nav-tabs {
    flex-direction: column;
    width: 100%;
  }

  .nav-tabs .nav-item {
    width: 100%;
    border-bottom: 1px solid #aaa;
    padding-bottom: 1px;
  }

  .nav-tabs .nav-link {
    text-align: left;
    width: 100%;
  }

  .info-button {
    width: 100%;
    display: block;
    text-align: left;
    padding: 5px 10px;
    font-size: 14px;
    background-color: #ccc;
    border-bottom: 2px solid #fff;
  }

  .info-button:first-child {
    margin-top: 10px;
  }
}

/*
******************************************************** Media Under 568  ********
*/
@media only screen and (max-width: 568px) {


  .autoComplete_wrapper,
  .autoComplete_wrapper input,
  .autoComplete_wrapper ul {
    width: 100% !important;
  }

  #deliverable-search-form-mobile {
    padding: 10px;
    background: #AF9914;
    margin: 0px;
  }

  .top-level .progress-bar {
    font-size: 12px;
  }

  .top-level .progress-value {
    padding-left: 0px;
  }

  .progress {
    font-size: 14px;
  }

  .progress-bar {
    font-size: 14px;
  }

  .progress-title {
    text-align: left;
  }

  .progress-value {
    text-align: right;
  }

  .grid-container {
    box-shadow: none !important;
  }

  .grid-container p a {
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .nav-tabs .grid-container {
    display: flex;
    align-items: center;
    /* Vertically align items */
  }

  .nav-tabs .grid-image {
    width: 30%;
    height: 80px;
    min-height: auto;
  }

  .nav-tabs .grid-link {
    width: 70%;
    height: 80px;
    display: flex;
    align-items: center;
  }

  .accordion-grid-content {
    padding: 20px 20px 20px 10px;
  }

}

/*
******************************************************** Media Under 468  ********
*/
@media only screen and (max-width: 468px) {

  .custom-logo {
    height: 30px;
  }

  .fin-year-title {
    display: none;
  }

  span.fin_year_page_titles {
    display: block;
    float: none;
    margin-top: 5px;
  }

  span.individual-reform-title {
    max-width: 100%;
    display: block;
  }

  .accordion-grid-content span {
    font-size: 14px;
  }

}