/*
Theme Name: Curriculum Comics
*/
:root {
  --swiper-theme-color: #cc0000;
  --swiper-navigation-color: #cc0000;
}

/* transitions */
/* Mixins */
html,
body {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui,
    helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial,
    sans-serif;
}

.cc-font {
  font-family: captain-comic, sans-serif;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

.cc-font b,
.cc-font strong {
  font-family: captain-comic, sans-serif;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "chaloops", sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

h1 {
  line-height: 1.2;
}

.flex {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.bg-red {
  background-color: #cc0000;
}

.bg-light-gold {
  background-color: #ffe699;
}

.bg-light-purple {
  background-color: #c4b0fe;
}

.border-dark-purple {
  border: 2px solid #aa95b3;
}

.border-dark-gold {
  border: 2px solid #cab578;
}

.blue-list {
  color: #737f97;
  margin-left: 0px;
}

.red-list {
  color: #cc0000;
}

.green-list {
  color: #425c3b;
}

.purple-list {
  color: #aa95b3;
}

.gold-list {
  color: #cab578;
}

.mustard-list {
  color: #ffc000;
}

/* home and global */
/* some items in respective headers are in template scss file (if main body of template is small)*/
.animatedfsmenu-navbar-toggler.right_top {
  top: 10px !important;
  right: 10px !important;
}

.home .animatedfsmenu-navbar-toggler {
  display: none !important;
}

@media (max-width: 1024px) {
  .home .animatedfsmenu-navbar-toggler {
    display: block !important;
  }
}

#mobile-menu-logo {
  max-width: 300px;
}

.online-tuition {
  max-width: 500px !important;
}

@media (max-width: 1600px) {
  .online-tuition {
    max-width: 400px !important;
  }
}

@media (max-width: 991px) {
  .online-tuition {
    max-width: 65% !important;
  }
}

@media (max-width: 767px) {
  .online-tuition {
    max-width: 55% !important;
  }
}

#primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  background: rgba(204, 225, 255, 0.5);
  padding-top: 10px;
  padding-bottom: 10px;
}

#primary-menu li {
  display: inline;
  padding: 18px;
}

#primary-menu li a {
  display: inline-block;
  padding: 10px;
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  transition: all 0.25s ease-in;
}

#primary-menu li a:hover {
  color: #cc0000;
}

@media (max-width: 1024px) {
  #primary-menu {
    display: none;
  }
}

.site-branding img {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#animatedfsmenu_css > button {
  background: transparent !important;
}

#animatedfsmenu_css > button .bar {
  background: #000 !important;
}

.navbar-collapse #menu-menu-1 {
  padding-left: 0px;
}

.presents {
  width: 200px;
  background: #ffff00;
  border: 3px solid #cc0000;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
}

.presents p {
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 18px;
}

.page-template-page-login .site-bg {
  background-size: 100vw auto;
  background-position: top left;
  background-color: #c5e0b4;
}

.site-bg {
  background-size: 100vw;
  background-position: top center;
  background-color: #cfddc6;
  background-repeat: no-repeat;
}

.site-bg .top-left-comics {
  position: absolute;
  top: 175px;
  left: 0px;
  max-width: 390px;
}

@media (max-width: 1400px) {
  .site-bg .top-left-comics {
    max-width: 300px;
  }
}

@media (max-width: 1199px) {
  .site-bg .top-left-comics {
    left: 20px;
    max-width: 250px;
  }
}

@media (max-width: 991px) {
  .site-bg .top-left-comics {
    left: 15px;
    max-width: 150px;
  }
}

@media (max-width: 767px) {
  .site-bg .top-left-comics {
    display: none;
  }
}

.site-bg .top-right-comics {
  position: absolute;
  top: 175px;
  right: 0px;
  max-width: 450px;
}

@media (max-width: 1400px) {
  .site-bg .top-right-comics {
    max-width: 350px;
  }
}

@media (max-width: 1199px) {
  .site-bg .top-right-comics {
    right: 20px;
    max-width: 300px;
  }
}

@media (max-width: 991px) {
  .site-bg .top-right-comics {
    right: 15px;
    max-width: 200px;
  }
}

@media (max-width: 767px) {
  .site-bg .top-right-comics {
    display: none;
  }
}

.background-home-header {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.home-ribbon {
  max-width: 475px;
  margin-top: 10px;
}

.description-wrapper {
  max-width: 310px;
  text-align: center;
  font-size: 14px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: -105px;
  margin-bottom: 75px;
  text-transform: uppercase;
}

.home-bottom-band ul {
  padding-left: 15px;
}

.home-bottom-band ul li {
  list-style-type: none;
}

.home-bottom-band ul li:before {
  font-family: "FontAwesome";
  content: "\f19d";
  margin: 0 5px 0 -15px;
  color: #cc0000;
}

footer {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #cce1ff;
}

footer .footer-row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer #footer-menu {
  padding-left: 0px;
}

footer #footer-menu li {
  list-style-type: none;
}

footer #footer-menu li a {
  color: #000;
}

footer .logo-col img {
  max-width: 225px;
  height: auto;
  float: right;
}

@media (max-width: 991px) {
  footer .logo-col img {
    max-width: 150px;
  }
}

@media (max-width: 767px) {
  footer .logo-col img {
    float: none;
    display: block;
    margin-right: auto;
    margin-left: auto;
  }
}

.login-form-container {
  width: 350px;
  height: auto;
  background-size: 350px;
  background-repeat: no-repeat;
  margin-top: 80px;
}

.login-form-container .login-form {
  padding-top: 13px;
}

.login-form-container h1 {
  font-size: 18px;
  color: white;
  text-align: center;
}

.login-form-container form {
  padding-top: 35px;
}

.login-form-container form p {
  margin-bottom: 15px;
  padding-left: 60px;
  padding-right: 60px;
}

.login-form-container .submit-wrap {
  padding-top: 6px;
  padding-left: 41px;
  padding-right: 41px;
  padding-bottom: 1rem;
}

.login-form-container input[type="submit"] {
  width: 100%;
  height: 33px;
  text-decoration: none;
  line-height: 0;
  color: white !important;
}

.login-form-container input[type="submit"]:hover {
  border: 1px solid #cc0000;
  background: #cc0000 !important;
}

.login-form-container .rcp_success {
  margin: 16px 60px 0 60px;
  padding: 10px;
}

.shop-link {
  z-index: 100;
  position: fixed;
  bottom: 0rem;
  left: auto;
  right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.shop-link a {
  text-align: center;
  font-size: 18px;
  font-family: captain-comic, sans-serif;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 3rem 6rem;
  text-decoration: none;
  color: black;
  transition: all 0.25s ease-in;
}

.shop-link a:hover {
  color: #cc0000;
}

@media (max-width: 1199px) {
  .shop-link a {
    font-size: 12px;
    padding: 2rem 4rem;
  }
}

.first-content-wrapper {
  margin-top: 75px;
}

.first-content-wrapper .about-title-graphic {
  margin-top: -75px;
  max-width: 375px;
  margin-bottom: 10px;
}

@media (max-width: 1199px) {
  .first-content-wrapper .about-title-graphic {
    max-width: 275px;
    margin-top: -60px;
  }
}

.second-content-wrapper {
  margin-bottom: 100px !important;
}

.content-wrapper {
  background: #b1c844;
  padding: 20px;
  margin-bottom: 25px;
  border: 2px solid #425c3b;
}

.content-wrapper h1 {
  font-size: 18px;
  font-weight: 700;
}

.content-wrapper a {
  color: black;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease-in;
}

.content-wrapper a:hover {
  color: #cc0000;
}

.great-moments-graphic {
  position: absolute;
  right: 50px;
  max-width: 325px;
  padding-top: 125px;
  height: auto;
}

@media (max-width: 1199px) {
  .great-moments-graphic {
    max-width: 275px;
  }
}

@media (max-width: 767px) {
  .great-moments-graphic {
    display: none;
  }
}

.comic-character-graphic {
  position: absolute;
  bottom: 25px;
  right: 50px;
  max-height: 550px;
  width: auto;
}

@media (max-width: 767px) {
  .comic-character-graphic {
    display: none;
  }
}

.about-wrapper {
  background: #9daf3f;
}

#physics-slide {
  padding-bottom: 4rem;
}

@media (max-width: 991px) {
  #physics-slide .col-lg-3 {
    margin-bottom: 15px;
  }
}

/*.slideshow_wrapper{
  .slick-slide{
    height: 400px;
    @include backgroundImageContain();
    margin: 0 10px;

    @media(max-width: $mid-break){
      height: 300px;
    }
  }

  .slick-list{
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .slick-dots{
    list-style-type: none;
    display: inline;

    li{
      float: left;
      padding-left: 15px;

      button{
        border: none;
        background: $dark-green;
        color: white;
      }


    }
  }


}*/
.testi-header {
  min-height: 1000px;
}

@media (max-width: 767px) {
  .testi-header {
    min-height: 700px;
  }
}

.testi-header .great-moments-graphic {
  padding-top: 25px;
}

.wrapper1,
.wrapper4,
.wrapper7,
.wrapper10 {
  background: #ffe699 !important;
}

.wrapper2,
.wrapper5,
.wrapper8,
.wrapper11 {
  background: #b1c844 !important;
}

.wrapper3,
.wrapper6,
.wrapper9,
.wrapper12 {
  background: #cce1ff !important;
}

.pink-wrapper {
  background: #ffcccb !important;
}

.testi-content-wrapper .testi-title-graphic {
  max-width: 350px;
  margin-top: -60px;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .testi-content-wrapper .testi-title-graphic {
    max-width: 275px;
  }
}

.testi-content-wrapper span {
  text-decoration: underline;
  cursor: pointer;
}

.testi-content-wrapper .active a {
  color: #cc0000 !important;
}

.page-template-page-subscription-options {
  overflow-x: hidden;
}

.sub-header-background {
  padding-bottom: 400px;
}

@media (max-width: 500px) {
  .sub-header-background {
    padding-bottom: 250px;
  }
}

.subscription-options-title {
  margin-bottom: 50px;
}

.options-content-wrapper {
  min-height: 625px;
}

@media (max-width: 767px) {
  .options-content-wrapper {
    min-height: 100%;
  }
}

.options-content-wrapper h2 {
  font-size: 24px;
  margin-bottom: 25px;
}

.options-content-wrapper img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  margin-bottom: 25px;
}

.sub-banner {
  max-width: 700px;
  height: auto;
  position: absolute;
  right: -656px;
  bottom: 0px;
  opacity: 0;
}

@media (max-width: 767px) {
  .sub-banner {
    max-width: 100%;
    right: 0px;
  }
}

#page .rcp_registration_total_details tr {
  width: 100% !important;
}

#page table.rcp-table {
  width: 100% !important;
  margin-bottom: 2rem;
}

.rcp_form input[type="text"],
.rcp_form input[type="email"],
.rcp_form input[type="password"] {
  width: 100%;
  margin-bottom: 1rem;
  border: 1px solid black;
}

#rcp_profile_display_name_wrap {
  display: none;
}

.rcp_form legend {
  font-size: 1rem;
  margin-top: 1rem;
  font-weight: bold;
}

.rcp_form .btn {
  margin-top: 1rem;
}

.rcp-table-wrapper table {
  background-color: white;
  font-size: 13px;
  width: 100%;
}

.rcp-table-wrapper th {
  padding-top: 1rem;
}

.rcp-table-wrapper td {
  padding-bottom: 1rem;
}

.logged-in .hide-logged-in {
  display: none !important;
}

body:not(.logged-in) .hide-logged-out {
  display: none !important;
}

@media (max-width: 425px) {
  .home-ribbon {
    width: 100%;
  }
  .description-wrapper {
    font-size: 11px;
    margin-top: -80px;
    max-width: 250px;
  }
  .site-branding {
    margin-top: 50px;
  }
  .online-tuition {
    max-width: 50% !important;
  }
}

#student-row {
  display: none;
}

.single-comic .entry-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 3rem;
}

.description,
.comic-text-box {
  background-color: #ffe699;
  border: 2px solid #cab578;
}

img.comic,
video.comic {
  max-width: 100%;
  height: auto;
  display: block;
  background-color: black;
}

.swiper-container {
  --swiper-theme-color: #ffffff;
  --swiper-navigation-background: rgba(0, 0, 0, 0.5);
  --swiper-navigation-background-hover: rgba(0, 0, 0, 0.7);
  overflow-x: hidden;
}

.comic-swiper .swiper-button-next,
.comic-swiper .swiper-button-prev {
  --swiper-navigation-sides-offset: 0px;
  height: 100%;
  top: 0;
  margin-top: 0;
  padding: 3rem;
}

.comic-swiper .swiper-button-next {
  border-radius: 20px 0 0 20px;
}

.comic-swiper .swiper-button-prev {
  border-radius: 0 20px 20px 0;
}

.comic-swiper:hover .swiper-button-next,
.comic-swiper:hover .swiper-button-prev {
  transition: background-color 0.25s ease-in;
  background-color: rgba(0, 0, 0, 0.65) !important;
}

.comic-swiper .swiper-slide {
  position: relative;
  text-align: center;
  width: auto;
  border: 3px solid white;
}

.comic-swiper .swiper-slide img {
  display: block;
  width: auto;
  height: auto;
  max-width: 400px;
  max-height: 400px;
  object-fit: contain;
  position: relative;
  z-index: 0;
}

.comic-swiper .swiper-slide h5 {
  display: block;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  font-size: 15px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 50px 5px 10px 5px;
  margin: 0;
  z-index: 10;
}

.comic-swiper .swiper-slide a {
  color: white;
}

.comic-swiper .swiper-slide a:hover h5 {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
}

.page-template-page-comics section,
.page-template-page-videos section,
.single section,
.category section,
.tax-comic-themes section,
.post-type-archive-comic section,
.post-type-archive-video section,
.post-type-archive-experiment section,
.post-type-archive-worksheet section,
.post-type-archive-powerpoint section,
.post-type-archive-test section,
.post-type-archive-tricky-problem section,
.post-type-archive-simulations section,
.post-type-archive-self-test section {
  padding: 3rem 0;
}

.page-template-page-comics section h3,
.page-template-page-videos section h3,
.single section h3,
.category section h3,
.tax-comic-themes section h3,
.post-type-archive-comic section h3,
.post-type-archive-video section h3,
.post-type-archive-experiment section h3,
.post-type-archive-worksheet section h3,
.post-type-archive-powerpoint section h3,
.post-type-archive-test section h3,
.post-type-archive-tricky-problem section h3,
.post-type-archive-simulations section h3,
.post-type-archive-self-test section h3 {
  padding-left: 30px;
  font-size: 2.1rem;
  padding-bottom: 0.3rem;
}

/* Archive header title only */
.archive-header .archive-header-title {
  font-size: 2rem;
}
@media screen and (min-width: 768px) {
  .archive-header .archive-header-title {
    font-size: 3rem;
  }
}

@media screen and (min-width: 768px) {
  .page-template-page-comics section h3,
  .page-template-page-videos section h3,
  .single section h3,
  .category section h3,
  .tax-comic-themes section h3,
  .post-type-archive-comic section h3,
  .post-type-archive-video section h3,
  .post-type-archive-experiment section h3,
  .post-type-archive-worksheet section h3,
  .post-type-archive-powerpoint section h3,
  .post-type-archive-test section h3,
  .post-type-archive-tricky-problem section h3,
  .post-type-archive-simulations section h3,
  .post-type-archive-self-test section h3 {
    padding-left: 70px;
  }
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  pointer-events: unset;
}

.swiper-button-prev.swiper-button-disabled {
  opacity: 0;
}

.locked {
  pointer-events: none;
  overflow: hidden;
  position: relative;
  rotate: 5deg;
}

.locked:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23cc0000'%3E%3Cpath d='M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zM264 392c0 22.1-17.9 40-40 40s-40-17.9-40-40v-48c0-22.1 17.9-40 40-40s40 17.9 40 40v48zm32-168H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 20%;
  background-repeat: no-repeat;
  rotate: -4deg;
}

.locked img {
  width: auto;
  box-shadow: 10px 5px rgba(0, 0, 0, 0.5);
  max-height: 75vh;
  margin: auto;
}

.btn-danger {
  background-color: #cc0000;
}

.btn-outline-danger {
  font-family: captain-comic, sans-serif;
  color: #cc0000;
  border-color: #cc0000;
}

.btn-outline-danger:hover,
.btn-outline-danger.active {
  color: white;
  background-color: #cc0000;
  border-color: #cc0000;
}

.card,
.card-img,
.card-img-top {
  border: 0;
  border-radius: 0 !important;
}

.btn-locked:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23cc0000'%3E%3Cpath d='M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zM264 392c0 22.1-17.9 40-40 40s-40-17.9-40-40v-48c0-22.1 17.9-40 40-40s40 17.9 40 40v48zm32-168H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z'/%3E%3C/svg%3E");
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.h-lg-100 {
  @media (min-width: 992px) {
    height: 100% !important;
  }
}
