@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

*{
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body{
    background: #f5f6fa;
    background-image: linear-gradient(rgba(255, 255, 255, 0.538), rgba(255, 255, 255, 0.515)), url(../assets/backhome.png);

}

.wrapper .sidebar{
    background: #172047;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    padding: 20px 0;
    transition: all 0.5s ease;
}
.wrapper .sidebar .profile{
    margin-bottom: 30px;
    text-align: center;
}

.wrapper .sidebar .profile img{
    display: block;
    width: 200px;
    height: 100px;

    margin: 0 auto;
}

.wrapper .sidebar ul li a{
    display: block;
    padding: 13px 30px;
    border-bottom: 1px solid #172047;
    color: rgb(241, 237, 237);
    font-size: 16px;
    position: relative;
}

.wrapper .sidebar ul li a .icon{
    color: #dee4ec;
    width: 30px;
    display: inline-block;
}
.wrapper .sidebar ul li a:hover,
.wrapper .sidebar ul li a.active{
    color: #172047;

    background:#f4dd3b;
    border-right: 2px solid #172047;
}

.wrapper .sidebar ul li a:hover .icon,
.wrapper .sidebar ul li a.active .icon{
    color:#172047 ;
}

.wrapper .sidebar ul li a:hover:before,
.wrapper .sidebar ul li a.active:before{
  display: block;
}
.contentdiv{
  margin-left: 260px ;
}
.topbarContent{
  margin-left: 250px ;


}

.dashboardContent .card{
    background-color: white;
    color: #172047;
    border: 2px solid #172047;
}
.topbarContent .navbar{
    background-color: #172047;
    color: #f4dd3b;
    padding-top: 20px;
}
.questionBankContent .card{

    background-color: white;
    color: #172047;
    border: 2px solid #172047;
  
}

/* Dropdown Button */
.dropbtn {
    background-color: #172047;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    border: #f4dd3b 5px solid;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #172047;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: #f4dd3b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #f4dd3b;color:#172047;}
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {display: block; }
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .dropbtn {background-color: #172047;}
  .jb{
      border: #172047 4px solid;
      background-color: white;
      margin: 10px;
      color: #172047;
      padding: 10px;
      border-radius: 2%;
  }




  .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    background-color: #dee4ec;
  }
  
  .table th,
  .table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #172047;
    background-color: #f5f6fa;
  }
  
  .table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #172047;
    background-color: #f5f6fa;

  }
  
  .table tbody + tbody {
    border-top: 2px solid #172047;
    background-color: #f5f6fa;

  }
  
  .table .table {
   
    background-color: #f5f6fa;

  }
  
  .table-sm th,
  .table-sm td {
    padding: 0.3rem;
  }
  
  .table-bordered {
    border: 1px solid #172047;
    background-color: #f5f6fa;

  }
  
  .table-bordered th,
  .table-bordered td {
    border: 1px solid #172047;
    background-color: #f5f6fa;


  }
  
  .table-bordered thead th,
  .table-bordered thead td {
    border-bottom-width: 2px;
    background-color: #f5f6fa;
  
  }
  .btn{
    margin: 0cm;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    color: #eee;
    background-color: #172047 !important;
  
  }
  .list-group-item{
    margin: 10px;
  }
/* plans page css */
.card3 {
  height: 100px;
  max-width: 360px;
  position: relative;
  margin: 30px 10px;
  padding: 20px 15px;
  background-color: #172047;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: 0.5s;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.205);
  border-radius: 16px;
  border: 5px solid #f4dd3b;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease-in-out;
}
/*apply css properties to card class when it get pointed by cursor*/
.card3:hover { 
  height: 250px;
}
/*apply css properties to imgbox class*/
.card3 .imgbox {
  position: relative;
  width: 260px;
  height: 180px;
  left: 20px;
}


/*apply css properties to img tag*/
.card3 .imgbox img {
  max-width: 100%;
  border-radius: 4px;
}

/*apply css properties to content class*/
.card3 .content {
  position: relative;
  margin-top: -100px;
  padding: 10px 15px;
  text-align: center;
  color: #fff;
  font-size: 17px;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in-out;
}
.card3 .contents {
  position: relative;
  margin-top: -100px;
  padding: 10px 15px;
  text-align: center;
  color: #fff;
 
  font-size: 17px;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in-out;

}

/*apply css properties to content when card gets hovered*/

.card3:hover .content {
  visibility: visible;
  opacity: 1;
  margin-top: -10px;
  transition-delay: 0.3s;
  padding-top: 10px;
}

.card3:hover .contents {
  visibility: visible;
  opacity: 1;
  margin-top: -10px;
  transition-delay: 0.3s;
  padding-top: 10px;
}

/* styling for tabel css */
.cmdiv{
  background-color: aliceblue;
  border: #172047 5px solid;
  border-radius: 5px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  max-width: 15%;
  padding: 8px;
  text-align: left;
  border: 1px solid #4272a1;
  white-space:normal ; 
}
.responsive-table {
  overflow-x: auto;
}
.div1{
  background-color: white;
  border: #172047 5px solid;
  border-radius: 5px;
  margin-top: 10%;
  padding: 10px;
}
.div2{
  background-color: white;
  border: #172047 5px solid;
  border-radius: 5px;
  padding: 10px;
}
/* style for pop up div to edit student */
.sm .modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}

/* Modal Content */
.sm.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80% !important;

 
}
.sm.modal-content.div2{
  padding: 20px;
}
/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.form-control{
  width: fit-content !important;
}
 .search-container button {
  float: right;
  padding: 6px 10px;
  margin-top: 8px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.search-container button:hover {
  background: #ccc;
}
.search-container input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 17px;

}
.div2{
  padding: 20px;
}
.col{
  text-align: left;
}
.div3{
  background-color: #172047;
  border: #f4dd3b 5px solid;
  border-radius: 5px;
  padding: 10px;
}
.qbx{
  background-color: #172047;
  color: #f4dd3d;
}
#questions{
  color: #f4dd3b;
  height:fit-content;
  
}
.question{
  font-size: 20px;
  margin: 10px;
  font-weight: bold;
  
}
.options_list{
  list-style-type: none;
  margin: 35px 0px;
}
.mainbody .container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 3;
  left: 0;
  height: 25px;
  width: 25px;
  margin-left: 30px;
  border: 2px solid #f4dd3b;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #f4dd3b;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

.li{
  margin:4px;
}

/*home button css  */
.buton {
  z-index: 1;
  transition: 0.5s;
  position: fixed;
  left: 0;
  background-color: #f4dd3b;
  width: 70px;
  height: 70px;
  color: #172047;
  font-size: 30px;
  margin: 25px;
  border-radius: 50%;
  bottom: 0;
  border: 5px solid#172047;
  box-shadow: 3px 3px 3px 3px rgba(128, 128, 128, 0.445);
}

.buton:hover {
  transform: scale(1.3);
  box-shadow: 9px 9px 9px 9px rgba(128, 128, 128, 0.445);
}

.points{
font-size: medium;
text-align: end;
float: right;
}  
.loginbox .wrapper{
  background-color: #172047;
  color: #f4dd3b;
  border: #f4dd3b 4px solid;
  border-radius: 10px;
}
.loginbox{
  
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10%;
}
.lgbt{
  
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
.topbarlogout{
  background-color: #f4dd3b;
  color: #172047;
  padding:5px;
  margin:5px;
  margin-top: 5px;
  margin-left: 5px;
  border: #f4dd3b 1px solid;
  border-radius: 10px;

}
.topbarlogout:hover{
  background-color: #f4dd3b;
  color: #172047;
  padding:5px;
  margin:5px;
 
  border: #f4dd3b 1px solid;
  border-radius: 10px;

}
.question-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 10px;
  width: 100%;
}

.question-row .form-group {
  flex: 1;
  margin-right: 10px;
}
