/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
  font-family: "Poppins", sans-serif;
  background: #151414;
  color: #fff
}

body::-webkit-scrollbar {
  display: none;
}
body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

p {
  font-family: "Poppins", sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.7em;
  color: #ffffff;
}

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.navbar {
  padding: 15px 10px;
  background-image: linear-gradient(45deg, hsl(205.7, 14.9%, 18.4%), #3a5b75);
  border: 0px solid;
  border-radius: 0px 10px 0px 0px;
  margin-bottom: 40px;
  /* box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); */
}

.navbar-btn {
  box-shadow: none;
  outline: none !important;
  border: none;
}

.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #ddd;
  margin: 40px 0;
}

i,
span {
  display: inline-block;
}
.login-form {
  margin-left: 10px;
  margin-right: 10px;
}
.card {
  border: #306998;
  border-radius: 10px;
}
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.sidebar-list-items {
  background-color: #79a9cf40;
}
.wrapper {
  display: flex;
  align-items: stretch;
  margin: 10px;
  background-color: #26282B;
  height: 97vh;
  border-radius: 20px;
}

#sidebar {
  height: 97vh;
  overflow: scroll;
  min-width: 315px;
  max-width: 315px;
  background: #373c40;
  color: #fff;
  transition: all 0.3s;
  border-radius: 20px 0px 20px 0px;
}

.sidebarClass::-webkit-scrollbar {
  display: none;
}
.sidebarClass {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#sidebar.active {
  min-width: 80px;
  max-width: 80px;
  text-align: center;
  height: 97vh;
  overflow: scroll;
}

#sidebar.active .sidebar-header div h3,
#sidebar.active .sidebar-header div img,
#sidebar.active .CTAs {
  display: none;
}

#sidebar.active .sidebar-header strong {
  display: block;
}

#sidebar.active ul li a {
  padding: 20px 10px;
  text-align: center;
  font-size: 0.85em;
}

#sidebar.active ul li a i {
  margin-right: 0;
  display: block;
  font-size: 1.8em;
  /* margin-bottom: 5px; */
}

#sidebar.active ul ul a {
  padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
  top: auto;
  bottom: 10px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
}

#sidebar .sidebar-header {
  padding: 20px;
  background: #283036;
}

#sidebar .sidebar-header strong {
  display: none;
  font-size: 1.8em;
}

#sidebar ul.components {
  padding: 20px 0;
  border-bottom: 1px solid #4b8bbe;
}

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
}

#sidebar ul li a:hover {
  color: #306998;
  background: #fff;
}

#sidebar ul li a i {
  margin-right: 10px;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
  color: #fff;
  background: #4b8bbe;
}

a[data-toggle="collapse"] {
  position: relative;
}

.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

ul ul a {
  font-size: 0.9em !important;
  padding-left: 30px !important;
  background: #ffd43b;
}

ul.CTAs {
  padding: 20px;
}

ul.CTAs a {
  text-align: center;
  font-size: 0.9em !important;
  display: block;
  border-radius: 5px;
  margin-bottom: 5px;
}

/* a.download {
    background: #fff;
    color: #7386D5;
} */

/* a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
} */

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
  width: 100%;
  padding: 20px;
  /* min-height: cal(100vh -20px); */
  transition: all 0.3s;
  overflow: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
}

#content::-webkit-scrollbar {
  display: none;
}

.box {
  margin-top: 2rem;
  border-radius: 10px;
  padding: 2rem;
  background-color: #373c40;
  color: aliceblue;
}
.bp {
  font-size: 1em;
  color: rgb(255, 255, 255);
}
.coll {
  background-color: #159c80;
  color: black;
  cursor: pointer;
  padding: auto;
  width: auto;
  margin-bottom: 20px;
  text-align: center;
  outline: none;
  font-size: 20px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.coll:hover {
  background-color: #bfb051;
}

/* Style the collapsible content. Note: hidden by default */
.lab {
  padding: 18px;
  display: none;
  overflow: hidden;
  background-color: #444c53;
  border-radius: 1rem;
}
.display {
  padding: 20px;
}
code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
}
.img {
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
.pg{
  display: none;
}

ul, li {
  color:#ffffff
}
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
  #sidebar {
    min-width: 242px;
  }
  .pg{
    display: block;
    position: fixed;
    font-size: 35px;
    z-index: 1000;
    color: #fff;
    font-weight: 500;
    left: 29px;
    top: 36px;
  }
  .pg.active{
    display: none;
  }
  .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
  }
  #sidebar.active {
    margin-left: -95px !important;
  }
  #sidebar .sidebar-header{
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  #sidebar .sidebar-header h3,
  #sidebar .CTAs {
    display: none;
  }
  #sidebar .sidebar-header strong {
    display: block;
  }
  #sidebar ul li a {
    padding: 20px 10px;
  }
  #sidebar ul li a span {
    font-size: 0.85em;
  }
  #sidebar ul li a i {
    margin-right: 0;
    display: block;
  }
  #sidebar ul ul a {
    padding: 10px !important;
  }
  #sidebar ul li a i {
    font-size: 1.3em;
  }
  #sidebar {
    margin-left: 0;
  }
  #sidebarCollapse span {
    display: none;
  }
  .navbar{
    margin-right: -17px;
  }
}

code {
  padding: 2px 4px;
  font-size: 90%;
  color: #94edfa;
  border-radius: 4px;
  background-color: #159c8100;
}

.code {
  /* background-image: linear-gradient(to right, #000000, #30989a); */
  background-color: #8dc2ed;
  padding: 30px;
  margin-top: 30px;
}

#sidebarCollapse {
  display: none;
}

.h2,
h2 {
  font-size: 4rem;
}

#owasp10_2021 {
  width: 90%;
  background: #283036;
  margin-top: 15px;
  left: 5%;
  height: 110px;
  padding: 17px;
  border-radius: 10px;
  text-align: center;
  padding: 13% 0 0 0;
}
#owasp10_2017 {
  width: 90%;
  margin-top: 15px;
  background: #283036;
  left: 5%;
  height: 110px;
  padding: 17px;
  border-radius: 10px;
  text-align: center;
  padding: 13% 0 0 0;
}

#sidebar li ul a #owasp10_2021 {
  padding: 13% 0 0 0;
}

#OWASP10_2021 {
  width: 95%;
  padding-left: 5%;
}
#OWASP10_2017 {
  width: 95%;
  padding-left: 5%;
}

#sidebar-home {
  width: 90%;
  margin-top: 15px;
  background: #283036;
  left: 5%;
  height: 110px;
  padding: 17px;
  border-radius: 10px;
  text-align: center;
  padding: 13% 0 0 0;
}

#homeSubmenu {
  width: 95%;
  padding-left: 5%;
}

.active,
.coll:hover {
  background-color: #bfb05100;
}

#challengeMenu {
  width: 90%;
  margin-top: 15px;
  background: #283036;
  left: 5%;
  height: 110px;
  padding: 17px;
  border-radius: 10px;
  text-align: center;
  padding: 13% 0% 0% 0%;
}
#challengeSubmenu {
  width: 95%;
  padding-left: 5%;
}
#Mitre25 {
  width: 95%;
  padding-left: 5%;
}
#sans25 {
  width: 95%;
  padding-left: 5%;
}

#help {
  width: 90%;
  margin-top: 15px;
  background: #283036;
  left: 5%;
  height: 110px;
  padding: 17px;
  border-radius: 10px;
  text-align: center;
  padding: 13% 0% 0% 0%;
}
#mitre25 {
  width: 90%;
  margin-top: 15px;
  background: #283036;
  left: 5%;
  height: 110px;
  padding: 17px;
  border-radius: 10px;
  text-align: center;
  padding: 13% 0% 0% 0%;
}

#stylesheet-toggle{
  background: #f0f8ff8a;
  border: 0px;
  border-radius: 2px;
  margin-right: 5px;
}

.Mitigation li {
  list-style-type: disc;
}

.requiredField {
  color: #26282B
}

.jumbotron {
  color:#26282B
}

.container li {
  color: #6c757d!important
}

pre {
  color: #ffffff
}
