body {
  font-size: 0.875rem;
  background-color: #f8f8f8 !important;
}

.pstyle {
  margin-right: 40%;
  font-weight: 400;
  font-size: revert;
  margin-top: 12px;
}
/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding-left: 5px;
  padding-right: 5px;
}

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

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

.sidebar .nav-link:hover,
.sidebar .nav-link.active,
.nav-link.activem {
  opacity: 1;
  color: #0c63e4;
  background-color: #e7f1ff;
}

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

/*
 * Navbar
 */

.navbar {
  margin: 10px;
  border-radius: 5px;
  border: 1px solid #0000001f;
  background-color: white;
}
.navbar-brand {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
}

.navbar .navbar-toggler {
  top: 0.25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: 0.75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.iframe {
  border: 0;
  padding: 20px;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  max-height: 84vh;
  aspect-ratio: 16 / 9;
}

footer div {
  border: 1px solid #0000001f;
  background-color: white;
  border-radius: 10px;
  margin-bottom: 10px;
}

.container-fluid {
  background-color: #f8f8f8 !important;
}

#sidebarMenu {
  background-color: white;
  border: 1px solid #0000001f;
  left: unset;
  right: 0;
}
.accordion-header {
  margin-bottom: 0;
  direction: rtl;
}

.accordion-button:not(.collapsed) {
  color: #0c63e4;
  border-bottom: 1px solid #048cce;
}

.accordion-button::after {
  margin-right: auto;
  margin-left: unset;
}

li.nav-item {
  text-align: right;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  background-color: #f8f8f8;
  overflow-x: hidden;
  padding-top: 60px;
  transition: width 0.2s;
  -webkit-transition: width 0.2s;
  -moz-transition: width 0.2s;
  -ms-transition: width 0.2s;
  -o-transition: width 0.2s;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 15px;
  color: #818181;
  display: block;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.sidenav a:hover {
  color: #000000;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  left: -15px;
  font-size: 36px;
}
header div .navopen {
  font-size: 30px;
  cursor: pointer;
  display: none;
}
#mySidenav {
  display: none;
}
header div {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}
@media (max-width: 767.98px) {
  #mySidenav {
    display: unset;
  }

  .sidebar {
    top: 5rem;
  }
  .navbar {
    display: flex;
    flex-direction: column;
  }
  header div .navopen {
    display: block;
  }
  header div {
    padding: 5px;
  }
  .pstyle {
    margin: 10px auto;
  }
  #sidebarMenu {
    display: none;
  }
  .sidebar-sticky {
    position: relative;
    top: 0;
    height: 50vh;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

@media (max-width: 1280px) {
  .accordion-button {
    padding: 4% 5%;
    font-size: 12px;
  }
}
