/*
Theme Name: Queensland Corrective Services
Theme URI: https://www.treasury.qld.gov.au/
Description: A custom WordPress theme designed and developed by Digital Craftsmen for the Queensland Corrective Services Department.
Author: Digital Craftsmen
Author URI: http://thedigitalcraftsmen.com.au/
Template: stockholm
Version: 1.0.1

*/

@import url("../stockholm/style.css");
@import url("css/style.css?v=3");

/*
 * Override to reset width to screen width
 */

@media screen and (min-width: 769px) {
  .page-template-full_width
    .wpsisac-slick-slider.design-1
    .slick-image-slide
    img {
    max-width: 100% !important;
  }
  .page-template-full_width .wpsisac-slick-slider .slick-image-slide {
    height: 28vw !important;
  }
  .grad-banner-mobile {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .grad-banner {
    display: none;
  }
  .grad-banner-mobile {
    display: block;
  }
}

.copy ul li,
.copy ol li {
  font-size: 1.4em;
}

.projectInfo .vc_col-has-fill > .vc_column-inner {
  padding-top: 0px !important;
}

h1, h2,h4, h5 {
  text-transform: unset;
}

/* headings
h1{margin-bottom:1em !important}
h2{margin-top:1em !important; margin-bottom:1em !important;}
.nomargintop h2{margin-top:0px !important; margin-bottom:0px !important}
h2{color:#1464AB}

.tealH2 h2 {color:#1464AB; margin-bottom:10px;padding-bottom:0px;}
.tealH2 h3{margin-top:0px;padding-top:0px;}
.tealH3 h3{color:#1464AB}
.nomargintoph4 h4{margin-top:0px}
*/

.header-title {
  /*    font-size: smaller; */
  line-height: 22px;
  font-weight: 500;
}

/* h1 {
  font-size: 40px;
  font-size: 2.5rem;
  line-height: 1.3;
}

h2 {
  font-size: 32px;
  font-size: 2rem;
  line-height: 1.25;
}

h3 {
  font-size: 24px;
  font-size: 1.5rem;
  line-height: 1.33333333;
}

h4 {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 1.2;
}

h5 {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.25;
} */

h6 {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.14285714;
}

.noTeal {
  font-size: 14px;
}

.copy .iconWidgets {
  font-size: 1.4em;
}

.copy .wpb_wrapper {
  margin-bottom: 10px !important;
}

.copy .q_icon_with_title {
  margin-bottom: 1em !important;
}

.copy ul.slides li:before {
  content: none;
}

.copy ul.slides li {
  margin-top: 0px;
}

.copy ul.slides {
  margin-top: 0px;
  margin-bottom: 0px;
}

/* Resources */

.resource-template-default .column1 h5 {
  font-size: 18px;
  font-weight: 500;
}

.resource-template-default .post-summary h5 {
  font-size: 2em;
}

.resource-template-default .column1 .documents a {
  color: #1464ab !important;
}

.resource-template-default .copy h1 {
  font-size: 2.5rem;
  font-weight: 300;
}

.resource-template-default div.lower .copy h2 {
  margin: 0 0 0 0;
  margin-bottom: 0px !important;
  padding: 20px 0 0 0;
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.2em;
  color: #1464ab;
}

.resource h3 {
  font-size: 1.5rem;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.2em;
  letter-spacing: 0.2px;
  color: #667080;
  margin-bottom: 8px;
  margin-top: 1em !important;
}

/*keep*/

sup {
  vertical-align: top;
  font-size: 0.8em;
  position: relative;
  top: -0.5em;
}

/*ninja forms */

.nf-field-element ul {
  list-style-type: none;
}

.nf-form-content .nf-field-element input[type="checkbox"].ninja-forms-field {
  background-color: #ffffff;
}

.label-right .checkbox-wrap .nf-field-label {
  width: 90% !important;
  vertical-align: top;
}

/*facet-search*/

.facetwp-dropdown {
  height: 50px;
  font-size: 18px;
  padding: 10px 17px;
  border: 1px solid rgba(117, 127, 144, 0.1);
}

.facetwp-dropdown select {
  width: 100%;
  background-color: #ffffff;
}

/* styles for Resources - Rulings */

.example {
  padding: 10px;
  margin: 1em 0px;
  display: block;
  background-color: rgb(229, 241, 252);
}

/* Nested OL and UL items */

.lowerAlpha {
  list-style-type: lower-alpha;
}

.lowerRoman {
  list-style-type: lower-roman;
}

.upperAlpha {
  list-style-type: upper-aplha;
}

/* Footnotes to be smaller and less spacing*/

.rulingFootnote {
  font-size: 85%;
}

.rulingFootnote li {
  clear: both;
  padding: 0px;
  margin: 0px !important;
}

/* Ruling Tables */

.rulingTables th {
  background-color: rgb(241, 243, 245);
}

.rulingTables td {
  border-bottom: 1px solid #e4e6ea;
}

.rulingTables th,
.rulingTables td {
  text-align: left !important;
  font-size: 1.4em !important;
}

.breadcrumb a,
.breadcrumb span {
  text-transform: none !important;
}

.resources ul li:before {
  content: "";
}

.doculink {
  display: block;
  padding-bottom: 4px;
  margin-bottom: 0 !important;
}

.doculink a {
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  color: #145f84;
  padding: 0.2em 0;
}

.doculink a:first-of-type:hover {
  text-decoration: underline;
}

.resource:hover .doculink a:first-of-type {
  color: white;
}

.doculink a:first-of-type:before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\f0f6";
  margin: 0px 6px 0 0;
}

nav.main_menu ul li {
  min-width: 70px;
}

.drop_down .second,
.drop_down .narrow .second .inner ul li ul {
  border: none;
}

.latest_post_overlay {
  display: none;
}

body .accessability_container {
  height: auto;
}

body .accessability_container * {
  background: none !important;
}

body .accessability_container button.close_container {
  background: #145f84 !important;
}

body .accessability_container.dark_theme.accessability_container.active,
body .accessability_container.dark_theme #access_container,
body .accessability_container.dark_theme .access_container_inner,
body .accessability_container.dark_theme .a_module,
body .accessability_container.dark_theme .a_module_title,
body .accessability_container.dark_theme .a_module_exe,
body .accessability_container.dark_theme .font_resizer a,
body .accessability_container.dark_theme .contrast_trigger {
  background: #333 !important;
}

.footer_copyright a {
  color: white;
  text-decoration: underline;
}

.drop_down .second .inner ul,
.drop_down .second .inner ul li ul,
.shopping_cart_dropdown,
li.narrow .second .inner ul {
  background: rgb(51, 51, 51);
}

nav.main_menu .wrapper > ul > li > a {
  border-bottom: solid 4px rgb(0, 0, 0, 0);
}

.page-template-full_width button.wahout {
  padding: 0;
  float: none;
  margin-top: 0px;
}

.page-template-full_width button.wahout:after {
  content: none;
  background: none;
}

.page-template-full_width button.wahout button {
  text-align: right;
}

.resource-list {
  margin: 0 !important;
  list-style: none;
  margin: -10px -10px 10px -10px;
}

.copy ul.resource-list li:before {
  content: none;
}

.resource-item {
  position: relative;
  padding: 10px 10px 10px 60px;
  margin-bottom: 0px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.resource-item h3 {
  margin: -0.5em 0 0 0;
}

.resource-item .heading {
  font-size: 14px;
  font-weight: bold;
}

.resource-item .format-label {
  position: absolute !important;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 35px;
  background-position: 0px -62px !important;
  display: inline-block;
  vertical-align: text-bottom;
  position: relative;
  background-repeat: no-repeat;
  text-indent: -900em;
  background: url(/wp-content/uploads/2018/07/sprite-resource-icons.png)
    no-repeat 0 0;
}

.format-label[data-format="pdf"],
.format-label[data-format*="pdf"] {
  width: 32px;
  height: 35px;
  background-position: -64px -62px !important;
}

#content a:hover,
#footer a:hover {
  text-decoration: underline !important;
}

/*hide featured image on all single posts*/

body.single.single-post .blog_holder article .post_image {
  display: none;
}

.drop_down .second .inner ul,
.drop_down .second .inner ul li ul,
.shopping_cart_dropdown,
li.narrow .second .inner ul {
  background: #4a4f55;
}

.drop_down .second .inner ul li a,
.drop_down .second .inner ul li h4 {
  color: #f2f2f2;
}

nav.main_menu .wrapper > ul > li > a:hover {
  color: white;
}

.drop_down .second .inner ul li a:hover {
  background-color: #686f77 !important;
  color: #fff !important;
}

.footer_bottom ul li a:after {
  display: inline-block;
  text-decoration: none !important;
}

#content .wpb_text_column h3:last-child {
  margin-bottom: 20px;
}

.post-template-default.single-post .post_text_inner {
  box-shadow: 0 0 10px rgba(53, 52, 53, 0.1);
  border: 1px solid rgba(53, 52, 53, 0.1);
  border-radius: 2px;
}

.category article.type-post {
  box-shadow: 0 0 10px rgba(53, 52, 53, 0.1);
  border: 1px solid rgba(53, 52, 53, 0.1);
  border-radius: 2px;
}

.category article.type-post img {
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
}

.category article.type-post .post_text_inner {
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
}

.header-title {
  font-size: 17px;
}
