/* overall style */

/*
body {
  background-color: #e3e3e3;
}
*/

.home-page-bg {
  background-image: url("BACKGROUND.svg");
  background-repeat: no-repeat;
  background-position: 90% 70%;
  background-attachment: scroll;
  background-size: 60vw 80vh;
}

@media (max-width: 769px) {
  .home-page-bg {
    background-image: url("BACKGROUND.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-attachment: fixed;
    background-size: contain;
  }
}

/*
a:hover {
  text-decoration: none !important;
}

a {
  text-decoration: none!important;
}
*/

.onsite-video-card:hover {
  box-shadow: 0 0 11px rgba(33,33,33,0.74);
}

h1 {
  font-size: 12px;
  font-weight: bold;
}

h4 {
  font-size: 2em;
  text-align: center;
  color: #112244;
}

h6 {
  font-size: 1.5em;
  color: #112244;
  font-weight: 500;
  font-style: italic;
  text-align: center;
}

.line {
  height: 1px;
  border-width: 0;
  background-color: #112244;
}

.spacer {
  margin: 10px;
  padding: 10px;
}

.col-md-4 {
  padding: 10px;
}

.card-text {
  height: 7em;
}

/* navbar */

.navbar {
  background: linear-gradient(to right, #5d9bbf, #2b398e);
  padding: 20px;
}

.rmsslogo {
  width: 280px;
}

@media (max-width: 439px) {
  .rmsslogo {
    width: 190px;
  }
}

.navbar-toggler:focus {
  border: 0 !important;
  box-shadow: none !important;
}

.navbar-toggler {
  border: 0 !important;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

/* Welcome Message */

.welcome-message {
  font-size: 1.5em;
  font-style: italic;
  text-align: center;
}

.student-name-font {
  font-weight: 800;
}

/* filter buttons */

/* Video Cards */

.card-img-overlay {
  border-radius: 20px;
}

.btn-play {
  background-color: rgb(121,181,121);
  color: white;
  padding: 8px 20px;
  font-size: 80%;
  border-radius: 10px;
}

.btn-primary {
  background-color: #4180ff;
  width: auto;
}

.videocard-header {
  font-weight: 650;
  font-size: 1em;
  border-bottom: solid 2px;
  background-color: unset;
  padding: 5px 10px 5px 10px;
  height: 4em;
}

.card-text {
  font-size: 0.8em;
}

.video-card-expiry {
  font-size: 0.8em;
}

.card-video-text {
  font-size: 0.9em !important;
}

.expiry-days-no {
  color: red;
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
}

/* Categories */

.catI {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 0.875rem;
  background: #393939;
  margin-inline: 0px 5px;
  margin-block: -2px;
}

.catC {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border: solid 4px;
  border-radius: 0.875rem;
  border-color: #393939;
  margin-inline: 0px 5px;
  margin-block: -2px;
}

.videocat {
  font-size: 0.8em;
}

.online-videos-box {
  padding: 10px;
}

.ma-bg {
  background-color: #a83543;
}

.am-bg {
  background-color: #f94144;
}

.em-bg {
  background-color: #f58223;
}

.sc-bg {
  background-color: #95268f;
}

.cs-bg {
  background-color: #9ad1d4;
}

.ph-bg {
  background-color: #7678ed;
}

.bi-bg {
  background-color: rgb(213,181,16);
}

.ch-bg {
  background-color: #38839e;
}

.cl-bg {
  background-color: #d35c9a;
}

.hc-bg {
  background-color: #d78988;
}

.ce-bg {
  background-color: #af94bc;
}

.el-bg {
  background-color: #35a2a5;
}

.gp-bg {
  background-color: #73ab94;
}

.ss-bg {
  background-color: #7aa960;
}

.ec-bg {
  background-color: rgba(176,167,7);
}

.ma-cc {
  color: #a83543;
}

.am-cc {
  color: #f94144;
}

.em-cc {
  color: #f58223;
}

.sc-cc {
  color: #95268f;
}

.cs-cc {
  color: #9ad1d4;
}

.ph-cc {
  color: #7678ed;
}

.bi-cc {
  color: rgb(213,181,16);
}

.ch-cc {
  color: #38839e;
}

.cl-cc {
  color: #d35c9a;
}

.hc-cc {
  color: #d78988;
}

.ce-cc {
  color: #af94bc;
}

.el-cc {
  color: #35a2a5;
}

.gp-cc {
  color: #73ab94;
}

.ss-cc {
  color: #7aa960;
}

.ec-cc {
  color: rgba(176,167,7);
}

.card-subject {
  border: solid 2px;
  width: auto;
  background-color: rgba(255,255,255,0.80);
}

/* CC Videos */

.cc-video-card {
  border: solid 7px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.5em;
  height: 160px;
  max-width: 100%;
  border-radius: 10px;
  margin: 10px 0px 10px 0px;
}

.card-cc-img-inside {
  width: 90px;
  margin-top: 10px;
}

.ma-border {
  border-color: #a83543;
}

.am-border {
  border-color: #f94144;
}

.em-border {
  border-color: #f58223;
}

.sc-border {
  border-color: #95268f;
}

.cs-border {
  border-color: #9ad1d4;
}

.ph-border {
  border-color: #7678ed;
}

.bi-border {
  border-color: rgb(213,181,16);
}

.ch-border {
  border-color: #38839e;
}

.cl-border {
  border-color: #d35c9a;
}

.hc-border {
  border-color: #d78988;
}

.ce-border {
  border-color: #af94bc;
}

.el-border {
  border-color: #35a2a5;
}

.gp-border {
  border-color: #73ab94;
}

.ss-border {
  border-color: #7aa960;
}

.ec-border {
  border-color: rgba(176,167,7);
}

.C-header-color {
  color: white;
}

.C-header-color {
  color: white;
}

/* Onsite Videos */

table.search-table > tbody > tr > td, table.search-table > thead > tr > th {
  background-color: rgba(255,255,255,0.2);
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.3);
  z-index: 2;
  cursor: pointer;
}

.video-js {
  max-width: 100vw;
  width: auto;
  max-height: 80vh;
  min-height: 60vh;
  height: auto;
}
