/*************************************
* Curriculum Category Search Styling
*************************************/

/* Search Filter & Search Results Title */
.title-box .title {
  color: #7f7f7f;
  font-weight: normal;
  margin: 0 0 12px 0;
  font-size: 24px;
  line-height: 1.5;
}

.title-box {
  margin-bottom: 0;
  border-bottom-width: 0px;
}

.title-box:before {
  display: none;
}

.view-curriculum-revised .view-header {
  margin-bottom: 2rem;
}

.view-curriculum-revised .col-sm-6 {
  padding-left: 0;
}

/* Curriculum columns */

.curriculum-output-col {
  min-width: 220px;
  padding-bottom: 1em;
  margin: 1em 1em 1em 0em;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  border-radius: 10px;
  background: #f5f5f5;
  min-height: 450px;
  /* max-height: 450px; */
}

.curriculum-output-col .field-name-field-resource-image {
  /* background: linear-gradient(to right, rgba(232,172,37,1), rgba(232,123,37,1)); */
  background: #2c4960;
  border-radius: 10px 10px 0px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 90px;
  text-indent: -10000000px;
  /* padding: 1rem; */
  /* min-height: 100px; */
}

.curriculum-output-col .field-name-field-resource-image img {
  width: 30%;
}

/* Hover effect */

.curriculum-output-col:hover {
  transition: all 0.4s ease-in-out;
  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

/* Curriculum result titles */

.curriculum-output-title {
  clear: both;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.3;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0px;
  /* color: #2ea3aa; */
  padding: 1rem 2rem 0rem 2rem;
}

.curriculum-output-title a {
  color: #2ea3aa;
}

/* Remove link styling on title */
.curriculum-output-title a:hover {
  text-decoration: none;
}

/* Curriculum result descriptions */

/* Limits number of characters to 8 lines */

.curriculum-output-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow-y: hidden;
  text-overflow: ellipsis;
  font-size: 1.2em;
  padding: 0rem 2rem 0rem 2rem;
}

/* Curriculum result grades */

.curriculum-output-grade {
  margin: 0.5em 0em;
  clear: left;
  font-weight: 600;
  font-size: 1.1em;
  font-size: 14px;
  padding: 0rem 2rem 0rem 2rem;
}

/**********************
* Theme Icon Styling
***********************/

/* Display in a line and grow/shrink as necessary */

.curriculum-theme-icons {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 1rem 2rem 0rem 2rem;
  color: #f5f5f5;
  text-indent: -1000000px;
}

.curriculum-theme-icons img {
  height: 40px;
  width: 40px;
}

/**********************
* Filter Menu Styling
***********************/

[id^="views-exposed-form-curriculum-revised-"] .views-exposed-widget {
  min-width: auto !important;
  width: 100%;
}

/*****************************
* Pagination Control Styling
*****************************/

.pagination-box {
  text-align: center;
  display: inline-block;
}

.pagination-box .item-list {
  line-height: 3em;
}

/***********************
* Main Search Styling
***********************/

#curriculum-library-frame {
  /* background: linear-gradient(to top, rgba(232,172,37,1),rgba(232,123,37,.7), rgba(0,0,0,.2)); */
  background: linear-gradient(
    to right,
    rgba(232, 172, 37, 1),
    rgba(232, 123, 37, 0.7),
    rgba(0, 0, 0, 0.2)
  );
  padding: 150px 75px;
  width: 100%;
}

.isafe-curriculum-homepage.container {
  width: 100%;
  padding: 0;
  background: linear-gradient(
    to right,
    rgba(232, 172, 37, 1),
    rgba(232, 123, 37, 1)
  );
  margin: 0px;
}

.homepage-welcome.col-lg-6 {
  color: #fff;
  padding: 125px 50px;
  text-align: center;
  font-weight: normal;
}

.homepage-welcome h1 {
  font-size: 48px !important;
  line-height: 1.2 !important;
}

.homepage-welcome p {
  font-size: 1.3;
}

.dc4-curriculum-library-icon {
  background: transparent !important;
  width: 21%;
  margin-bottom: 0;
}

.isafe-curriculum-homepage .isafe-curriculum-homepage-img {
  padding: 0;
  background-image: url("../img/dc4-kids-in-class-with-tablets.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

.curriculum-theme-section-row {
  text-align: center;
  padding: 25px;
}

.search-full-library-row {
  width: 101%;
  background-color: #2ea3aa;
  margin: 0px;
  padding: 25px;
  color: #fff;
}

.search-full-library-row h1 {
  text-align: center;
}

.search-full-library-row p {
  text-align: center;
  padding-bottom: 10px;
}

.search-full-library-form {
  width: 80%;
  margin: auto;
}

input.throbbing {
  background-repeat: no-repeat;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  padding: 0px;
  margin-bottom: -1px;
}

/*
.column {
  padding: 0px;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease-in-out;
}
*/

.column {
  display: flex;
  flex: 50%;
  padding: 0px;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  border-radius: 8px;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease-in-out;
  margin-bottom: 20px;
}

.column img {
  height: 200px;
  border-radius: 8px;
}

.column .description {
  background: rgba(0, 0, 0, 0.2);
  font-size: 20px;
  left: 0;
  right: 0;
  position: absolute;
  display: flex;
  padding: 0px;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
}

.column:hover {
  transition: all 0.3s ease-in-out;
  transform: scale(1.05);
  cursor: pointer;
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

/***********************
* Curriculum Library Theme Cards (Homepage)
***********************/

.curriculum-theme-card-row {
  padding: 0px 75px 50px 75px;
}

/* theme card container */
.theme-card {
  background-color: transparent;
  height: 250px;
  perspective: 1000px;
  border-radius: 6px;
  padding: 10px 0px;
}

.theme-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  /* transition: transform 1.3s; */
  /* transform-style: preserve-3d; */
}

/* horizontal flip on mouse over */
/*
.theme-card:hover .theme-card-inner {
	transform: rotateY(180deg);
	cursor: pointer;
}
*/

.theme-card-front,
.theme-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  /* -webkit-backface-visibility: hidden; */
  /* backface-visibility: hidden; */
}

/* front side */
.theme-card-front {
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-size: cover;
}

.theme-card-back {
  color: #fff;
  /* transform: rotateY(180deg); */
  border-radius: 8px;
  padding: 0.5em 1em;
}

.theme-card-back:hover {
  cursor: pointer;
}

/* fade in text effect */
.theme-card-back {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  /* background-color: #008CBA; */
}

.theme-card:hover .theme-card-back {
  opacity: 1;
  transition: 0.5s ease-in-out;
}

.theme-card-icon {
  width: 18%;
}

.theme-card-back-title {
  font-weight: 600;
  margin: 5px 0px;
  font-size: 1.4em;
  line-height: 1.1;
}

.theme-card-back-description {
  font-size: 0.9em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow-y: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}

.theme-card-back-btn {
  border-radius: 4px;
  font-size: 0.8em;
  padding: 0.5em;
  background: #fff;
  font-weight: 600;
}

.citizenship-front {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/citizenship%20%282%29.png");
  background-size: cover;
}

.citizenship-back {
  background: #ebae00;
}

.citizenship-card-btn {
  color: #ebae00;
}

.privacy-front {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/privacy_11.png");
  background-size: cover;
}

.privacy-back {
  background: #e68513;
}

.privacy-card-btn {
  color: #e68513;
}

.identity-management-front {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/identity-management_0.png");
  background-size: cover;
}

.identity-management-back {
  background: #d5002a;
}

.identity-management-card-btn {
  color: #d5002a;
}

.security-front {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/security-drupal.png");
  background-size: cover;
}

.security-back {
  background: #e43c45;
}

.security-card-btn {
  color: #d5002a;
}

.safety-front {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/safety_19.png");
  background-size: cover;
}

.safety-back {
  background: #2ea0a7;
}

.safety-card-btn {
  color: #2ea0a7;
}

.ethics-front {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/ethics_4.png");
  background-size: cover;
}

.ethics-back {
  background: #3163a0;
}

.ethics-card-btn {
  color: #3163a0;
}

.media-information-literacy-front {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/media-information-literacy_0.png");
  background-size: cover;
}

.media-information-literacy-back {
  background: #009776;
}

.media-information-literacy-card-btn {
  color: #009776;
}

.media-information-literacy-back .theme-card-back-title {
  font-size: 1.1em;
}

.technology-literacy-front {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/technology-litaracy.png");
  background-size: cover;
}

.technology-literacy-back {
  background: #7bad4e;
}

.technology-literacy-card-btn {
  color: #7bad4e;
}

/***********************
* Curriculum Search Results Styling
***********************/

#block-progressive-sub-content .library-search-result-frame {
  padding: 0px;
  min-height: 100vh;
}

#block-progressive-sub-content
  .library-search-result-frame
  .library-search-result-container {
  margin: 0px;
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 3%;
  padding-bottom: 3%;
  background-color: #2ea3aa;
}

#block-progressive-sub-content
  .library-search-result-frame
  .library-search-result-content {
  color: #fff;
  margin-bottom: 0;
}

@media screen and (max-width: 1199px) {
  .column {
    display: none;
  }
}

.views-exposed-form .views-exposed-widget {
  padding: 8px;
}

/* Curriculum Homepage - Search Our Library */
#views-exposed-form-curriculum-search-searchlibrary {
  overflow: hidden;
}

#views-exposed-form-curriculum-search-searchlibrary label {
  color: #fff !important;
  font-weight: 600;
}

.views-element-container header {
  text-align: center;
}

#views-exposed-form-curriculum-search-searchlibrary .selectBox,
#views-exposed-form-curriculum-search-searchlibrary .form-control {
  border: none;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
}

#views-exposed-form-curriculum-search-searchlibrary .input-group-addon {
  border: none;
  border-radius: 0px 4px 4px 0px;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.08);
}

#views-exposed-form-curriculum-search-searchlibrary .js-form-item-title,
#edit-search-api-views-fulltext-wrapper {
  padding-right: 0;
  padding-left: 0;
  padding-top: 0;
  float: none;
}

#views-exposed-form-curriculum-search-searchlibrary .js-form-item-grade,
#edit-grade-wrapper {
  width: 20%;
  padding-left: 0;
}

#views-exposed-form-curriculum-search-searchlibrary .js-form-item-subject-area,
#edit-field-subject-area-wrapper {
  width: 40%;
}

#views-exposed-form-curriculum-search-searchlibrary .js-form-item-category,
#edit-field-catergory-wrapper {
  width: 40%;
  padding-right: 0;
}

#views-exposed-form-curriculum-search-searchlibrary .js-form-item-themed,
#edit-field-themed-wrapper {
  width: 25%;
  padding-left: 0;
}

.js-form-item-resource-type,
#edit-field-resource-type-wrapper {
  width: 20%;
}

.js-form-item-media-format,
#edit-field-media-format-wrapper {
  width: 20%;
}

.js-form-item-legacy-modules,
#edit-field-legacy-modules-wrapper {
  width: 25%;
  padding-right: 16px;
}

div.views-exposed-widget.views-submit-button {
  min-width: 100%;
  padding-right: 0;
  padding-left: 0;
}

/* Apply library search button */
#edit-submit-search-library {
  background: #2c4960;
  font-weight: 600;
  margin-top: 25px;
  width: 100%;
}

#views-exposed-form-curriculum-search-searchlibrary .form-actions {
  min-width: 10%;
  padding-right: 0;
  padding-left: 0;
  float: left;
}

#views-exposed-form-curriculum-search-searchlibrary .form-actions input {
  background: #2c4960;
  font-weight: 600;
  margin-top: 35px;
  width: 100%;
}

.form-item {
  float: left;
  padding: 10px;
}

/****************************************************
* Curriculum Resource Styling
* Template override in 
* progressive_sub/templates/node--curriculum.tpl.php
*****************************************************/

/* hr styling with Lesson Resources */
.hr-text {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  color: #2ea3aa;
  text-align: center;
  height: 1.5em;
  opacity: 1;
}

.hr-text:before {
  content: "";
  background: linear-gradient(to right, transparent, #818078, transparent);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.hr-text:after {
  content: attr(data-content);
  position: relative;
  display: inline-block;
  padding: 0 1em;
  color: #fff;
  background-color: #fff;
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 0px;
  color: #2ea3aa;
}

/* Wrapper Container */
.curriculum-resource-page {
  min-height: 80vh;
}

.curriculum-resource-page p {
  margin-top: 10px;
  margin-bottom: 0px;
}

.curriculum-resource-page strong {
  font-weight: 600;
}

.curriculum-resource-page a {
  color: #2ea3aa;
  font-weight: 600;
}

#curriculum-header {
  margin-bottom: 0;
  display: grid;
  grid-template-areas: "icon title print";
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  padding: 3rem 4rem 3rem 1rem;
  background: linear-gradient(
    to right,
    rgba(232, 172, 37, 1),
    rgba(232, 123, 37, 1)
  );
  background-size: cover;
}

/* Curriculum Resource Tabs Styling */
.curriculum-resource-content .tabs {
  background: #f5f5f5;
  padding: 2rem 4rem 4rem 4rem;
  border-radius: 10px;
}

.curriculum-resource-content .nav-tabs > li.active > a {
  color: #2ea3aa;
  font-weight: 600;
  border: none;
  cursor: default;
  font-size: 1.1em;
  border-bottom: 2px solid #2ea3aa;
  background: rgba(0, 0, 0, 0);
}

.curriculum-resource-content .nav-tabs > li {
  float: left;
  margin-bottom: -1px;
  font-size: 1.1em;
}

.nav-tabs > li > a {
  border-radius: 2px 2px 0 0;
  color: #1e1e1e;
  font-size: 1.1em;
  border-bottom: none;
  padding: 10px 20px 11px;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  font-weight: normal;
}

.nav-tabs > li > a:hover {
  background: rgba(0, 0, 0, 0);
}

/* Curriculum Resource Accordion Styling */

/* accordion panel */
.panel-group > .panel-info > .panel-heading > .panel-title > a {
  background: linear-gradient(
    to right,
    rgba(232, 172, 37, 1),
    rgba(232, 123, 37, 1)
  );
  font-weight: 600;
  font-size: 1.1em;
}

/* accordion content open */
.panel-group .panel-body {
  padding: 2rem 0rem;
}

.panel-body h5 {
  margin-top: 0 !important;
}

.tab-content > .tab-pane {
  padding: 22px 0 0;
}

.tab-content h6 {
  margin-bottom: 0;
  margin-top: 1em;
}

/* Main Resource Title */
.curriculum-resource-title {
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0;
  padding: 10px 40px 10px 0px;
  font-size: 36px;
}

/* More Resources link titles */
a.curriculum-resource-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0px;
  color: #2ea3aa;
  padding: 10px;
  display: block;
}

.curriculum-resource-main-content {
  padding: 4rem;
}

/* resource type image icon */
.field-name-field-resource-image {
  grid-area: icon;
}

/* remove link styling */
.curriculum-resource-title:hover {
  text-decoration: none;
}

/* Container for lesson resources */

.curriculum-resources-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Individual lesson resource */

.curriculum-more-resources-content {
  padding: 1rem 2rem 2rem 2rem;
}

.curriculum-resource {
  flex-basis: 30rem;
  margin: 20px;
  /* padding: 10px; */
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  background: #f5f5f5;
  border-radius: 10px;
  /* box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); */
}

.curriculum-resource .field-name-field-resource-image {
  /* background: linear-gradient(to right, rgba(232,172,37,1), rgba(232,123,37,1)); */
  background: #2c4960;
  border-radius: 10px 10px 0px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 1rem; */
  width: 100%;
  /* min-height: 120px; */
  max-height: 90px;
}

.curriculum-resource .field-name-field-resource-image img {
  width: 30%;
}

.curriculum-resource p {
  margin-top: 0;
}

.curriculum-resource:hover {
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  border-radius: 10px;
}

.curriculum-resource-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow-y: hidden;
  text-overflow: ellipsis;
  padding-top: 0.5em;
  padding: 0px 10px 7px 10px;
}

.curriculum-resource-description-full {
  margin-bottom: 2em;
}

.curriculum-resource-description-header,
.curriculum-resource-main-content h5 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0px;
  color: #2ea3aa;
}

.curriculum-resource-main-content h5 {
  margin-top: 10px;
}

/* applied to resources after the 3rd one */

.curriculum-resource-extras {
  display: none;
}

/* Show more resources button */

#curriculum-show-all {
  flex-basis: 100%;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
}

#curriculum-show-all .btn {
  background: #2c4960;
  border-radius: 5px;
  color: #fff;
  width: 26%;
}

#curriculum-show-all .btn i.fa {
  margin-left: 5px;
}

/* Curriculum Terms of Use Footer Block */
.page-box .curriculum-terms-of-use-block {
  color: white;
  padding: 5rem;
  width: 100%;
  margin: auto;
  background-color: #5f5f5f;
}

/****************************
*       Print Styles
*****************************/

/* Print button */

#curriculum-print {
  grid-area: print;
  align-self: inherit;
  background: #fff;
  /* color: #e77126; */
  color: #2c4960;
  font-weight: 600;
  line-height: 1.2em;
  padding: 12px 20px;
  box-shadow: 5px 8px 10px 0px rgba(122, 55, 10, 0.27);
  transition: all 0.5s ease-in-out;
}

#curriculum-print i.fa.fa-print {
  margin-left: 5px;
}

#curriculum-print:hover {
  transition: all 0.5s ease-in-out;
  transform: scale(1.03);
}

/************************************************
 * Template generates resource titles outside div to be
 * displayed when printing. We dont want to show until
 * then however so hide by default
 ************************************************/

.resource-title-print {
  display: none;
}

/* css applied when browser prints */
@media screen {
  #curriculum-copyright {
    display: none;
  }
}

@media print {
  /* hide all unnecessary content */
  header,
  .primary,
  .curriculum-resource,
  #curriculum-show-all,
  #curriculum-print,
  footer,
  .panel > .panel-collapse,
  .panel > .panel-heading,
  .tabs > .nav-tabs {
    display: none !important;
  }

  /* add margin to page for readability */
  @page {
    margin-top: 1.5cm;
    margin-left: 1cm;
    margin-right: 1cm;
    margin-bottom: 1cm;
  }

  #curriculum-header {
    padding: 0cm;
    grid-area: icon;
    display: block;
  }

  .curriculum-resource-main-content {
    padding: 0;
  }

  .curriculum-resource-description-full {
    margin-bottom: 0;
  }

  /* override flex container */
  .curriculum-resources-wrap {
    display: block;
    text-align: left;
    margin: 3px;
  }

  /* show hidden titles */
  .resource-title-print {
    font-size: 1rem;
    display: block;
  }

  /* expand all tab content */
  .tab-content > .tab-pane {
    display: block !important;
    opacity: 1;
    padding-top: 0;
  }

  /* expand all accordian content */
  .panel > .panel-collapse {
    display: block !important;
    height: auto !important;
    opacity: 1;
  }

  .panel-body {
    padding: 0;
  }

  /* display copyright info at bottom of page */
  #curriculum-copyright {
    position: fixed;
    bottom: 0cm;
    left: 0cm;
    font-size: 8pt;
  }

  /* remove left & right page padding */
  .curriculum-resource-page {
    padding: 0cm;
  }

  .curriculum-resource-content .tabs {
    padding: 0cm;
  }

  /* shrink paragraph font size */
  .curriculum-resource-main-content {
    font-size: 10pt;
    margin-bottom: 10px;
  }

  /* remove padding on bulleted lists */
  .curriculum-resource-main-content ul {
    padding-left: 2rem;
  }

  /* shrink resource image size */
  .field-name-field-resource-image img {
    /* width: 100%; */
    display: none;
  }

  /* shrink sub header sizes */
  .curriculum-resource-description-header,
  .curriculum-resource-main-content h5,
  .curriculum-resource-main-content h6 {
    font-size: 18pt;
    margin-bottom: 5pt;
  }

  .curriculum-resource-main-content h5,
  .curriculum-resource-main-content h6 {
    page-break-after: avoid;
  }

  /* remove lesson accordion hr border */
  hr {
    display: none;
  }

  /* remove top padding in lesson tabs */
  .tab-content > .tab-pane,
  .pill-content > .pill-pane {
    padding: 0;
  }

  .panel-body {
    padding: 0;
  }

  .panel-heading {
    display: none;
  }

  /* remove spacing between accordion content */
  .spacer {
    display: none;
  }

  /* remove curriculum footer spacing &
	place Terms of Use on new page */
  .curriculum-terms-of-use-block {
    padding: 0;
    page-break-before: always;
    font-size: 10pt;
  }

  p,
  ul li {
    font-size: 1em !important;
  }
}

/*************************************************
* Responsive Styles
*************************************************/
@media only screen and (max-width: 989px) {
  /* Curriculum Search Homepage */
  .homepage-welcome.col-lg-6 {
    color: #fff;
    padding: 50px;
    text-align: center;
  }

  .isafe-curriculum-homepage-img {
    min-height: 20vh;
    margin: 0 50px 50px;
    border-radius: 8px;
    background-attachment: unset;
  }

  .curriculum-theme-section-row {
    padding: 25px 50px;
  }
}

@media only screen and (max-width: 767px) {
  /* Individual Curriculum Accordion Tabs */
  .nav-tabs > li > a {
    background: rgba(0, 0, 0, 0);
    padding-left: 0;
  }

  .accordion-tab .tab-pane {
    padding-top: 0;
  }

  .accordion-tab > li > a .open-sub {
    display: none;
  }

  .curriculum-resource-content .nav-tabs > li {
    float: unset;
  }

  .curriculum-resource-content .nav-tabs > li.active > a {
    color: #2ea3aa !important;
    /* padding-left: 0; */
    padding-bottom: 5px;
  }
}

@media only screen and (max-width: 722px) {
  /* Curriculum Search Homepage */
  #edit-grade-wrapper {
    width: 50%;
  }

  #edit-field-subject-area-wrapper {
    width: 50%;
    padding-right: 0;
  }

  #edit-field-catergory-wrapper {
    width: 50%;
    padding-left: 0px;
    padding-right: 8px;
  }

  #edit-field-themed-wrapper {
    width: 50%;
    padding-left: 8px;
    padding-right: 0px;
  }

  #edit-field-resource-type-wrapper {
    width: 50%;
    padding-left: 0px;
  }

  #edit-field-media-format-wrapper {
    width: 50%;
    padding-right: 0px;
  }

  #edit-field-legacy-modules-wrapper {
    width: 100%;
    padding: 8px 0px;
  }

  div.views-exposed-widget.views-submit-button {
    width: 100%;
    padding: 0;
  }
}

@media only screen and (max-width: 411px) {
  #edit-grade-wrapper,
  #edit-field-subject-area-wrapper,
  #edit-field-catergory-wrapper,
  #edit-field-themed-wrapper,
  #edit-field-resource-type-wrapper,
  #edit-field-media-format-wrapper {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
  }
}

@media only screen and (max-width: 448px) {
  /* Individual Curriculum Page */
  #curriculum-header {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, minmax(50px, 5em));
    grid-template-areas: unset;
  }

  #curriculum-print {
    grid-area: unset;
    grid-column: 1 / 3;
    grid-row: 3;
    margin-left: 20px;
    margin-right: 20px;
  }

  .field-name-field-resource-image {
    grid-area: unset;
    grid-column: 1 / 3;
  }

  .field-name-field-resource-image img {
    width: 40%;
  }

  .curriculum-resource-title {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    padding: 0px 20px;
    width: 100%;
    padding-right: 0;
  }

  .content > ul,
  ul.list {
    padding-left: unset;
  }

  .curriculum-resource-content h5 {
    line-height: 1.2;
    padding-top: 1em;
  }

  .curriculum-terms-of-use-block {
    padding: 20px !important;
  }

  #curriculum-show-all {
    margin: 10px 20px;
  }

  #curriculum-show-all .btn {
    width: 100%;
  }

  /* Curriculum Search Result Page */
  .curriculum-output-col {
    margin-right: 0;
  }
}

@media only screen and (max-width: 320px) {
  #curriculum-header {
    grid-template-rows: repeat(3, 80px);
  }

  /* Resources for this lesson */
  .hr-text {
    line-height: 1.2;
    margin: 0;
    height: 7em;
  }

  .curriculum-resource {
    margin: 20px 0px;
  }

  .curriculum-resource-title {
    font-size: 18px !important;
  }
}

@media (max-width: 990px) {
  #views-exposed-form-curriculum-search-searchlibrary .js-form-item-grade,
  #edit-grade-wrapper {
    width: 100%;
    padding-left: 5px;
  }

  #views-exposed-form-curriculum-search-searchlibrary
    .js-form-item-subject-area,
  #edit-field-subject-area-wrapper {
    width: 100%;
  }

  #views-exposed-form-curriculum-search-searchlibrary .js-form-item-category,
  #edit-field-catergory-wrapper {
    width: 100%;
    padding-right: 5px;
  }

  #views-exposed-form-curriculum-search-searchlibrary .js-form-item-themed,
  #edit-field-themed-wrapper {
    width: 100%;
    padding-left: 5px;
  }

  .js-form-item-resource-type,
  #edit-field-resource-type-wrapper {
    width: 100%;
  }

  .js-form-item-media-format,
  #edit-field-media-format-wrapper {
    width: 100%;
  }

  .js-form-item-legacy-modules,
  #edit-field-legacy-modules-wrapper {
    width: 100%;
    padding-right: 5px;
  }

  .form-item {
    float: left;
    padding: 5px !important;
  }
}
