@import url("https://fonts.googleapis.com/css2?family=Rampart+One&display=swap");

:root {
  /* --primary-color: #5e07cf; */
  --primary-color: rgb(67, 7, 207);
  --primary-color-rgb: 67, 7, 207;
  --secondary-color: #e7d3ff;
  --light-color: #f8f9fa;
  --white-color: rgb(255, 255, 255);
  --bs-white-rgb: rgb(255, 255, 255);
}

body {
  background-color: var(--light-color) !important;
}

main > .container {
  padding: 70px 15px 20px;
}

.footer {
  background-color: #f5f5f5;
  font-size: 0.9em;
  height: 60px;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}
.c-pointer {
  cursor: pointer;
}
.embed-responsive {
  display: flex;
  justify-content: center;
}

.embed-responsive-item {
  width: 800px;
  max-width: 100%;
  height: 600px;
  max-height: 80vh;
}
/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* style the navigation*/
.pagination {
  display: flex;
  list-style: none;
  padding: 0;
}

.pagination li {
  margin: 0 2px;
}

.pagination li.disabled span {
  color: #888;
  pointer-events: none;
}

.pagination li.active a {
  background-color: #007bff;
  color: #fff;
}

.pagination li a,
.pagination li span {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
}

.pagination li a:hover {
  background-color: #f0f0f0;
}

#main {
  margin-top: 40px;
}

.side-menu {
  min-height: 100vh;
  width: 100px;
  position: fixed;
  display: block;
  z-index: 1050;
  top: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.home-appname {
  font-family: "Rampart One", cursive;
}

.rampart-font {
  font-family: "Rampart One", cursive;
}

.popover-lg {
  --bs-popover-max-width: 300px;
  --bs-popover-border-color: var(--primary-color);
  --bs-popover-header-bg: var(--primary-color);
  --bs-popover-header-color: var(--bs-white);
  --bs-popover-body-padding-x: 1rem;
  --bs-popover-body-padding-y: 0.5rem;
}

.lead-bg {
  margin: 5rem;
  height: 300px;
  width: 300px;
}

.lead-bg-sm {
  margin-top: -4rem;
  height: 200px;
  width: 200px;
}

.teacher-svg {
  background-image: url("../img/teacher.svg");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

.presentation-svg-container {
  top: 50% !important;
}
.presentation-svg {
  background-image: url("../img/presentation.svg");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}
.multitasking-svg {
  background-image: url("../img/multitasking.svg");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}

.settings-svg {
  background-image: url("../img/settings.svg");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  margin: 1rem;
  width: 100%;
}

.sign-up-svg {
  background-image: url("../img/sign_up.svg");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  margin: 1rem;
  width: 100%;
}

.sign-in-svg {
  background-image: url("../img/sign_in.svg");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  margin: 1rem;
  width: 100%;
}

.text-site-primary {
  color: var(--primary-color) !important;
}

.bg-site-primary {
  --bs-bg-opacity: 1;
  background-color: rgba(
    var(--primary-color-rgb),
    var(--bs-bg-opacity)
  ) !important;
}

.text-with-shadow {
  text-shadow: 2px 2px 4px #5e07cf68;
}

.shadow-site-sm {
  box-shadow: 0 0.125rem 0.25rem #5e07cf46;
}

.btn-bd-primary {
  --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-border-radius: 0.5rem;
  --bs-btn-hover-color: white;
  --bs-btn-color: var(--primary-color);
  --bs-btn-hover-bg: var(--primary-color);
}

.course-card {
  position: relative;
}

.course-card-img,
.course-card .screen {
  height: 200px;
  width: 100%;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.course-card:hover .screen {
  background-color: #00183048;
}

.course-card .screen {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background-color: #00183024;
}

.img-fit {
  object-fit: cover !important;
}

.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.z-100 {
  z-index: 100;
}

.menu-item:hover,
.menu-item.current {
  background-color: var(--primary-color);
  box-shadow: 0 0.125rem 0.25rem #5e07cf46;
  color: var(--white-color) !important;
}

.menu-item:hover a,
.menu-item.current a {
  color: var(--white-color) !important;
}

.main-page .content-part,
.main-page .page-footer {
  margin-left: 0px;
  transition: margin-left 0.5s ease;
}

.main-page.menu-open .content-part,
.main-page.menu-open .page-footer {
  margin-left: 100px;
  width: calc(100% - 100px);
  transition: margin-left 0.5s ease;
}

.main-page .side-menu {
  width: 0;
  background-color: var(--primary-color) !important;
  transition: width 0.3s ease, background-color 0.6s ease;
  overflow: hidden;
  padding: 0 !important;
}

.main-page .menu-screen {
  background-color: #00183048;
  position: fixed;
  width: 100vw;
  top: 0;
  right: 0;
  height: 100vh;
  display: none;
}

.main-page.menu-open .menu-screen {
  display: block;
}

.main-page.menu-open .side-menu {
  width: 100px;
  background-color: var(--white-color) !important;
  transition: width 0.3s ease, background-color 0.6s ease;
  padding: 0.5rem;
}

.popover-header {
  border-top: var(--primary-color) 4px solid !important;
}

.course-cover-bg {
  background-color: #000f2f49;
}

.course-cover-bg .course-title {
  background-color: var(--primary-color);
  padding: 5px;
  border-radius: 5px;
}

.text-light-glow {
  text-shadow: 0 0 0.5px rgb(4, 12, 100);
}

.topic-content-card .thumbnail {
  height: 60px;
  width: 100px;
}

.topic-content-card .title {
  max-width: 550px;
}
.multitasking-svg-container {
  top: 50% !important;
}

.sm-profile-photo {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
  border-color: var(--bs-primary);
  border-style: solid;
  border-width: 1px;
  margin: 5px;
}
label p,
.option p {
  margin-bottom: 0;
  display: inline;
}
.ql-tooltip{ 
  z-index: 1;
}
@media (max-width: 576px) {
  /* CSS rules for small screens -- phones*/

  .main-page .content-part,
  .main-page .page-footer {
    margin-left: 0;
    transition: margin-left 0.5s ease;
  }

  .main-page.menu-open .content-part,
  .main-page.menu-open .page-footer {
    margin-left: 0;
    transition: margin-left 0.5s ease;
  }

  .topic-content-card .thumbnail {
    height: 150px;
    width: 100%;
  }

  .topic-content-card .title {
    max-width: 250px;
  }

  .settings-svg {
    height: 80px;
  }
  .multitasking-svg {
    height: 80px;
  }
  .multitasking-svg-container,
  .presentation-svg-container {
    top: 70% !important;
    opacity: 0.5;
  }
  .presentation-svg {
    height: 80px;
  }
}

@media (min-width: 576px) and (max-width: 992px) {
  /* CSS rules for medium screens */
  .topic-content-card .title {
    max-width: 400px;
  }
}
