/* Paragraphs */
.field--name-field-sections > .field__item {
  margin-bottom: 2em;
}
.field--name-field-sections > .field__item::after {
  display: block;
  content: "";
  width: 0;
  height: 0;
  clear: both;
}
/* Grid links */
@media all and (min-width: 481px) {
  .field--name-field-grid-links .field__item {
    float: left;
  }
  .layout-2-columns .field--name-field-grid-links > .field__item {
    width: 50%;
  }
  .layout-3-columns .field--name-field-grid-links > .field__item {
    width: 33%;
  }
  .layout-4-columns .field--name-field-grid-links > .field__item {
    width: 25%;
  }
}
.field--name-field-grid-links .grid-item {
  border: 1px solid #ccc;
  height: 80px;
  margin: 0.5em;
  padding: 10px 100px 10px 10px;
  position: relative;
}
.field--name-field-grid-links .grid-item a {
  color: #002d64;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.field--name-field-grid-links .grid-item img {
  position: absolute;
  right: 0;
  top: 0;
}
.field--name-field-grid-links .grid-item .field--name-field-grid-ribbon {
  background-color: #002d64;
  bottom: 10px;
  color: #fff;
  font-size: 0.875em;
  line-height: 1em;
  opacity: 0.8;
  padding: 5px 10px;
  position: absolute;
  right: 0;
}
/* Banner item */
.banner-item {
  height: auto;
  position: relative;
  margin-bottom: 1em;
}
.banner-item a {
  padding: 0;
}
.banner-item .field--name-field-banner-image {
  overflow: hidden;
}
.banner-item .banner-item-box {
  bottom: 0;
  background-color: #002d64;
  box-sizing: border-box;
  color: #fff;
  left: 0;
  padding: 1em;
  max-width: 100%;
  position: relative;
}
@media all and (min-width: 481px) {
  .banner-item .field--name-field-banner-image {
    max-height: 280px;
  }
  .banner-item .banner-item-box {
    background-color: rgba(0,45,100,0.8);
    position: absolute;
    width: 80%;
  }
}
@media all and (min-width: 701px) {
  .banner-item .banner-item-box {
    width: 66%;
  }
}
.banner-item .field--name-field-banner-image img {
  display: block;
}
#content-inner .banner-item .banner-item-box .field--name-field-banner-header {
  color: #fff;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5em;
}
/* Collapsible */
.paragraph--type--collapsible .field--name-field-label {
  cursor: pointer;
}
.paragraph--type--collapsible .field--name-field-body {
  padding: 1em;
  margin: 0;
  overflow: hidden;
}
body .closed .paragraph--type--collapsible .field--name-field-body {
  padding: 0;
  border: 0;
  height: 0;
}
.collapsible-arrow .paragraph--type--collapsible .field--name-field-label {
  text-align: center;
  color: #962d91;
  font-size: 1.2em;
  font-weight: 600;
}
.collapsible-arrow .paragraph--type--collapsible .field--name-field-label::after, .collapsible-arrow .paragraph--type--collapsible .field--name-field-label::before {
  display: block;
  content: "";
  width: 0;
  height: 0;
  margin: 1px auto;
  border-color: #962d91;
  border-style: solid;
  border-left: 20px solid transparent !important;
  border-right: 20px solid transparent !important;
  border-bottom-width: 20px;
  border-top-width: 0;
}
.collapsible-arrow .closed .paragraph--type--collapsible .field--name-field-label::after {
  border-bottom-width: 0;
  border-top-width: 20px;
}
.collapsible-arrow .paragraph--type--collapsible .field--name-field-label::before {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -20px;
}
.collapsible-arrow .paragraph--type--collapsible {
  position: relative;
  padding-bottom: 22px;
}
.collapsible-arrow .closed .paragraph--type--collapsible {
  padding-bottom: 0;
}
.collapsible-arrow .closed .paragraph--type--collapsible .field--name-field-label::before {
  display: none;
}
.collapsible-blue-list .paragraph--type--collapsible .field--name-field-label {
  background-color: #002d64;
  color: #fff;
  font-size: 1.2em;
  padding: 0.5em 1em;
  margin: 1px 0 0;
}
.collapsible-blue-list .field--name-field-collapsible-item .field--name-field-label::before {
  content: "▶";
  display: inline-block;
  position: relative;
  padding-right: 0.5em;
  transform: rotate(90deg);
  top: 5px;
  transition: transform 0.5s, top 0.5s;
}
.collapsible-blue-list .field--name-field-collapsible-item .field__item.closed .field--name-field-label::before {
  top: -1px;
  transform: rotate(0deg);
}
.collapsible-blue-list .field--name-field-collapsible-item .field__item:first-child .field--name-field-label {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.collapsible-blue-list .field--name-field-collapsible-item .field__item:last-child.closed .field--name-field-label {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}
.collapsible-blue-list .field--name-field-collapsible-item .field__item:last-child.open .field--name-field-label {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.collapsible-blue-list .paragraph--type--collapsible .field--name-field-body {
  border: 2px solid #002d64;
  border-top: 0;
}
/* Image gallery */
.field--name-field-gallery-image .field__item {
  float: left;
}
.field--name-field-gallery-image .field__item img {
  padding: 0 0.5em 0.5em 0;
}
/* Feature */
.paragraph--type--feature.feature-default .feature-item {
  height: auto;
  position: relative;
}
.paragraph--type--feature.feature-default .feature-item .feature-forestplot:after {
  background-image: url("/assets/img/forestplot-transparent.png");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: top right;
  content: " ";
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 128px;
}
.paragraph--type--feature.feature-default .feature-item .feature-forestplot {
  position: relative;
}
.paragraph--type--feature.feature-default .feature-item .feature-forestplot img {
  display: block;
  height: auto;
  width: 100%;
}
.paragraph--type--feature.feature-default .feature-item .field--name-field-feature-image {
  overflow: hidden;
}
.paragraph--type--feature.feature-default .feature-item .feature-textbox {
  background-color: rgba(0, 45, 100, 1);
  bottom: 0;
  box-sizing: border-box;
  color: #fff;
  left: 0;
  padding: 1em;
  max-width: 100%;
}
.paragraph--type--feature.feature-default .feature-item .feature-textbox .field--name-field-feature-title {
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5em;
}
.paragraph--type--feature .field--name-field-feature-expandable-text {
  display: block;
  background-color: #e8e8e8;
  padding: 1em;
}
.paragraph--type--feature.closed .field--name-field-feature-expandable-text {
  display: none;
}
.paragraph--type--feature.expandable .expand-toggle {
  color: #962d91;
  cursor: pointer;
  width: 100%;
  height: 24px;
  display: block;
  position: relative;
  text-align: center;
  background-color: #d8d8d8;
}
.paragraph--type--feature.expandable.closed .expand-toggle {
  background-color: #e8e8e8;
}
.paragraph--type--feature.expandable .expand-toggle:hover {
  background-color: #d8d8d8 !important;
}
.paragraph--type--feature.expandable .expand-toggle::after {
  content: "▲";
  width: 100%;
  height: 24px;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 32px;
  line-height: 20px;
}
.paragraph--type--feature.expandable.closed .expand-toggle::after {
  content: "▼";
}
@media all and (min-width: 481px) {
  .paragraph--type--feature.feature-default .feature-item .field--name-field-feature-image {
    max-height: 280px;
  }
  .paragraph--type--feature.feature-default .feature-item .feature-textbox {
    background-color:rgba(0,45,100,0.8);
    position: absolute;
    width: 80%;
  }
}
@media all and (min-width: 701px) {
  .paragraph--type--feature.feature-default .feature-item .feature-textbox {
    width: 66%;
  }
}
/* Portal items */
.paragraph--type--portal-item a {
  display: block;
  margin: 1em;
  border: 1px solid #ccc;
  height: 130px;
  position: relative;
}
.paragraph--type--portal-item .field--name-field-portal-title {
  padding: 0.5em 140px 0 0.5em;
}
.paragraph--type--portal-item .field__item {
  color: #002D64;
}
.paragraph--type--portal-item .field--name-field-portal-image {
  position: absolute;
  top: 0;
  right: 0;
}
.paragraph--type--portal-item .field--name-field-portal-image img {
  display: block;
}
.paragraph--type--portal-item .field--name-field-portal-ribbon {
  position: absolute;
  bottom: 20px;
  right: 0;
  background-color: rgba(0, 45, 100, 0.9);
  color: #fff;
  padding: 0.25em 1em;
}
@media only screen and (min-width: 600px) {
  .field--name-field-portal-items > .field__item {
    width: 50%;
    float: left;
    min-width: 280px;
  }
  body:not(.no-sidebars) .field--name-field-portal-items > .field__item:nth-child(2n+1){
    clear:left
  }
}
@media only screen and (min-width: 800px) {
  .field--name-field-portal-items > .field__item {
    width: 50%;
    float: left;
    min-width: 280px;
  }
  .no-sidebars .field--name-field-portal-items > .field__item {
    width: 33%;
    float: left;
  }
  .no-sidebars .field--name-field-portal-items > .field__item:nth-child(3n+1){
    clear:left
  }
  body:not(.no-sidebars) .field--name-field-portal-items > .field__item:nth-child(2n+1){
    clear:left
  }
}
/* Learning dashboards */
/* CIL */
.layout-cil .learning-module {
  position: relative;
}
@media only screen and (min-width: 481px) and (max-width: 720px) {
  .layout-cil .learning-module {
    float: left;
    width: 50%;
  }
  .layout-cil .learning-module:nth-child(2n+1) {
    clear: left;
  }
}
@media only screen and (min-width: 721px) {
  .layout-cil .learning-module {
    float: left;
    width: 33%;
  }
  .layout-cil .learning-module:nth-child(3n+1) {
    clear: left;
  }
  .layout-cil.consumerlearning-modules .learning-module {
    float: left;
    width: 50%;
  }
  .layout-cil.consumerlearning-modules .learning-module:nth-child(3n+1) {
    clear: none;
  }
  .layout-cil.consumerlearning-modules .learning-module:nth-child(2n+1) {
    clear: left;
  }
}
.layout-cil .learning-module .inner {
  background-color: #002D64;
  color: #fff;
  margin: 0.5em;
  position: relative;
}
.layout-cil .learning-module .title {
  padding: 1em 1em 0 1em;
  position: relative;
}
#content-inner .layout-cil .learning-module h3 {
  color: #fff;
  margin: 0;
}
.layout-cil .learning-module .field--name-field-module-duration {
  background: url('/assets/img/time-white.png') no-repeat;
  padding-left: 20px;
  line-height: 16px;
  font-size: 0.875em;
  font-style: italic;
  margin: 0.75em 1em;
}
.layout-cil .learning-module .field--name-field-module-description {
  max-height: 500px;
  overflow: hidden;
  padding: 0.5em 1em 1em 1em;
  position: relative;
  transition: max-height 1s;
}
#content-inner .layout-cil .learning-module a {
  color: #fff;
  border-bottom: 0.0625rem solid #7f96b1;
  text-decoration: none;
}
#content-inner .layout-cil .learning-module a:hover {
  border-color: #fff;
  text-decoration: none;
}
.layout-cil:after {
  display: block;
  content: " ";
  clear: both;
}
.layout-cil .learning-module .process {
  padding: 1em;
  padding-left: calc(1em + 30px);
  position: relative;
}
.layout-cil .learning-module .process:before {
  border: 2px solid #fff;
  content: " ";
  display: block;
  height: 20px;
  left: 1em;
  position: absolute;
  width: 20px;
}
.layout-cil .learning-module .process.process-completed:before {
  background-color: green;
}
.layout-cil .learning-module .process.process-passed:before {
  background-color: green;
  content: "✔";
  text-indent: 4px;
}
.layout-cil .learning-module .process.process-partially:after {
  background-color: orange;
  border: 2px solid #fff;
  border-right: none;
  content: " ";
  display: block;
  height: 20px;
  left: 1em;
  position: absolute;
  top: 1em;
  width: 10px;
}
.layout-cil .learning-module .process.process-restricted:before {
  background: red url('/assets/img/lock-white.png') no-repeat 2px 2px;
}
.layout-cil .cil-passed .inner {
  opacity: 0.3;
}
.layout-cil .learning-module .module-launch-button a {
  border-top: 2px solid #002d64;
}
.layout-cil .learning-module .module-launch-button a:hover {
  background-color: #002D64;
  border-color: #fff;
}
.layout-cil .learning-module .certificate a, .layout-cil .learning-module .module-launch-button a {
  color: #fff;
  background-color: #962d91;
  display: block;
  padding: 0.5em 1em;
  text-align: center;
  border-bottom: none;
}
.layout-cil .learning-module .certificate {
  border-top: 2px solid #002d64;
}
.layout-cil .cil-passed .certificate {
  margin: -0.5em 0.5em 0.5em 0.5em;
}
