@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,200;0,300;0,600;0,700;1,300;1,600&display=swap');

body {
    font-family: "Fira Sans", Helvetica, sans-serif !important;
    background-color: #f8f9fa;
}

.general-content {
    margin: 70px 0 0 0;
}

@media (min-width: 580.01px) {
    .general-content {
        margin: 90px 0 0 0;
    }
    .filter-menu {
        position: -webkit-sticky;
        position: -moz-sticky;
        position: -o-sticky;
        position: -ms-sticky;
        position: sticky;
    }
    .filter-menu-pagination {
        position: -webkit-sticky;
        position: -moz-sticky;
        position: -o-sticky;
        position: -ms-sticky;
        position: sticky;
    }
    .page-menu {
        float:right;
        margin-right: 10px;
    }
}

@media (max-width: 580px) {
    html, body {
        overflow-x: hidden;
    }
    .filter-menu {
        position:fixed;
        top: 60px !important;
    }
    .filter-menu-pagination {
        position:fixed;
    }
    .page-menu {
        position: fixed;
        bottom: 20px;
        left: 20px
    }
    .choose-header {
        font-size: 1rem;
    }
}

ul {
    list-style: none;
}

.form-heading {
    margin-bottom: 30px;
}

label {
    font-size: 18px;
    line-height: 26px;
}

ul li label {
    font-size: 16px;
    line-height: 24px;
}

.form-group {
    margin-bottom: 36px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #1D44B8;
}

a {
    color: #1D44B8;
}

a:hover {
    color: #000;
}

.affix-left {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: sticky;
    top: 90px;
}

.invalid-feedback {
    font-size: 95%;
    display: block;
}

.invalid-feedback::before {
    content: '*';
}

.white-shadow-custom {
    box-shadow: 0 0 10px 0 rgba(50,50,50,0.12);
    background-color: #fff;
}

.shadow-custom {
    box-shadow: 0 0 10px 0 rgba(50,50,50,0.12);
    margin-bottom: 30px;
    /* background-color: #f8f9fa; */
    background-color: #fff;
}

.shadow-custom-padding-sm {
    padding: 5px;
}

.shadow-custom-padding {
    padding: 22px;
    padding-bottom: 30px;
}

.nav-pills .nav-link {
    border-radius: 0px;
}

.full-width {
    width: 100%;
}

.sidenav-heading {
    padding: 15px;
    margin-bottom: 5px;
    border-bottom: 1px solid lightgray;
}

.sidenav-heading-sm {
    padding: 8px 3px 5px 3px;
    margin-bottom: 5px;
    border-bottom: 1px solid lightgray;
}

.navmenu-bg-color {
    background-color: #1D44B8;
    box-shadow: 0 2px 5px 0 rgba(50,50,50,0.35);
}

.navmenu-bg-color-st {
    background-color: #FA8072;
    box-shadow: 0 2px 5px 0 rgba(50,50,50,0.35);
}

.error-message {
    padding: 3px;
}

.error-message::before {
    color: red;
    content: "\2717";
}

.success-message {
    padding: 3px;
}

.success-message::before {
    color: green;
    content: "\2713";
}

.info-message {
    padding: 3px;
}

.info-message::before {
    color: #ffc107;
    content: "\2756";
}

.btn-outline-primary, .btn-outline-danger {
    background-color: #fff;
}

.security-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 24px;
}

.auth-link {
    font-size: 1.1rem;
}

.auth-link:hover {
    text-decoration: none;
}

.no-display {
    display: none;
}

.upload-preview {
    width: 100%;
    max-width: 500px;
    margin-top: 20px !important;
}

.upload-preview-logo {
    width: 100%;
    max-width: 300px;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.profile-image {
    width: 120px;
    max-width:100%;
    border-radius: 10px;
}

#solution_image_file_1, #question_image_file_1 {
    margin-bottom: 20px;
}

.p-messages {
    margin-bottom: 6px;
}

.content-card {
    background: rgba(0,0,0,.05);
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.badge {
    font-weight: 100;
}

h5 {
    margin: 10px 0 20px;
}

table td {
    border-top-width: 0.5px !important;
}

.general-content-test {
    margin: 70px 0;
}

.test-nav {
    background-color: #000;
    color: white;
}

.test-nav .test-nav-button {
    border-bottom: 1px solid #d5d5d5;
    width: 100%;
}

.test-nav .test-nav-button:hover, .test-nav .test-nav-button .test-nav-active {
    background-color: #d5d5d5;
    color: #fff;
}

.test-question {
    background-color: #fff;
    margin: 10px auto 30px auto;
}

.test-question, .test-question .test-question-image img {
    width: 100%;
    max-width: 450px;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;

    > .col,
    > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}




/* To be removed before deployment
.navmenu-bg-color {
    background-color: white;
} */

.selected-question-nav.attempted .nav-link, .selected-question-nav.not-attempted .nav-link,
.selected-question-nav.marked .nav-link, .question-nav.attempted .nav-link, .question-nav.not-attempted .nav-link,
.question-nav.marked .nav-link {
    padding: 5px;
    margin: 3px 6px;
    font-size: 16px;
    text-align: center;
    height: 40px;
    width: 40px;
    color: #000;
    border-radius: 5px;
}

.selected-question-nav.attempted .nav-link, .selected-question-nav.not-attempted .nav-link,
.selected-question-nav.marked .nav-link{
    background: #fff;
}

.selected-question-nav.not-attempted .nav-link {
    border-width: 1px;
    border-color: tomato;
    border-style: solid;
}

.selected-question-nav.attempted .nav-link {
    border-width: 1px;
    border-color: lightskyblue;
    border-style: solid;
}

.selected-question-nav.marked .nav-link {
    border-width: 1px;
    border-color: orange;
    border-style: solid;
}

.question-nav.attempted .nav-link {
    background: lightskyblue;
}

.question-nav.marked .nav-link {
    background: orange;
}

.question-nav.not-attempted .nav-link {
    background: tomato;
}

.margin-btn {
    margin-bottom: 5px;
}

.no-scrollbar::-webkit-scrollbar {
    width: 0px;
}

.no-scrollbar {
    scrollbar-width: none;
}

#pdf-js-viewer::-webkit-scrollbar {
    width: 0px;
}

#pdf-js-viewer {
    scrollbar-width: none;
}

.student-box {
    border-radius: 5px;
    box-shadow: 0 0 10px 0 rgba(50,50,50,0.12);
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 15px;
}

#timer {
    font-size: 72px;
}

button {
    margin: 5px 0;
}

html, body {
    max-width: 100%;
    /*overflow-x: hidden;*/
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
    min-height: 100vh;
}

iframe {
    max-width: 100%;
    /*overflow-x: hidden;*/
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar, html::-webkit-scrollbar {
  display: none;
}

/* Avatar CSS */
.avatar-xxl {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
}
.rounded-circle {
    border-radius: 50% !important;
}
.avatar-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.bg-avatar {
    background: tomato;
    color: ivory;
}
.bg-avatar-green {
    background: #28a745;
    color: ivory;
}
.avatar-text-container {
    height: 100%;
    width: 100%;
    display: table;
    text-align: center;
}
.avatar-text {
    display: table-cell;
    vertical-align: middle;
}
.col-12 {
    max-width:1050px !important;
}

.footer-link {
    color: #fffff0;
}
.footer-link:hover {
    color: #ffc107;
}




.box {
  position: relative;
  width: 100%;
  max-width: 800px;
  /* desired width */
  margin: 0 auto;

}

.box:before {
  content: "";
  display: block;
  padding-top: 100%;
  /* initial ratio of 1:1*/
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #e0e0e0;
  color: #fff;
/*   display: flex;
  align-items: center; */
  line-height:100%;
  height:100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

.ratio1_2:before {
  padding-top: 145%;
}

.tile-padding {
    padding: 0.85rem !important;
}

.profile-page-content-card {
    background: #fff;
    color: black;
    border-radius: 10px;
}

.btn-success {
    background-color: #15c39a !important;
    border: #15c39a;
    color:ivory;
}
.btn-success:hover, .btn-success:focus {
    background-color: #12AF8A !important;
    border: #12AF8A;
    color:ivory;
}
.btn-danger, .badge-danger {
    background-color: #FF6347 !important;
    border: #FF6347;
    color:ivory;
}
.btn-danger:hover, .btn-danger:focus {
    background-color: #e5593f !important;
    border: #e5593f;
    color:ivory;
}
.btn-success, .btn-primary, .btn-secondary, .btn-danger {
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.25);
    outline: none;
}
.btn-success:hover, .btn-primary:hover, .btn-secondary:hover, .btn-danger:hover,
.btn-success:focus, .btn-primary:focus, .btn-secondary:focus, .btn-danger:focus{
    outline: none;
    box-shadow: 0px 0px 10px 0 rgba(0, 0, 0,0.35)
}
.svg-icon {
    background-color: #15c39a !important;
}
.mobile {
    max-width: 100% !important;
}
.dot-1 {
  height: 10px;
  width: 10px;
  background-color: #15c39a;
  border-radius: 50%;
  display: inline-block;
}
.dot-2 {
  height: 10px;
  width: 10px;
  background-color: #FF6347;
  border-radius: 50%;
  display: inline-block;
}
.pagination {
    width:100%;max-width:100%;overflow-x:scroll;
}

#answer li {
    margin-bottom: 5px;
}
.fixed-message {
    color:ivory;
    background:red;
    padding:15px;
    text-align:left !important;
    border-radius:5px;
}
.play-button {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    line-height: 23px;
    padding-left: 12px;
    margin-top: 9px;
}
.play-button img {
    width: 16px;
    height: 16px;
}
.view-button {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    line-height: 21px;
    padding-left: 12px;
    margin-top: 9px;
}
.view-button img {
    width: 16px;
    height: 16px;
}
.upload-preview img {
    image-resolution: 300dpi;
    filter: brightness(100%) contrast(115%);
    mix-blend-mode: multiply;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.pagination::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.pagination {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

#filter-form .form-group label { font-size: 17px !important; line-height: 20px !important; margin-bottom: 6px !important; }

#test-search-results .list-group-item {
    cursor: pointer;
}
