html,body
{
    height: 100%;
}
@import "font-awesome";
body { font-family: Arial, Helvetica, sans-serif; }
*    { box-sizing:  border-box; }
.closed {
    display: none;
}
.opened {
    display: block;
}
.btn.btn-primary.paginationlink.page.pageactive
{
    background-color: green;
    border-color: green;
}
.paginationlink
{
    margin: 0px 5px;
}
table.table thead
{
    background-color: #bbb;
}
table.table thead tr th:nth-child(1)
{
    position: sticky;
    top: 0;
}
.table .thead-dark th
{
    color: #000 !important;
    background-color: transparent !important;
    border-color: transparent !important;

}
table td.actionbutton
{
    white-space: nowrap;
    /*display: inline-flex;*/
}
.tagactive
{
    width: 70px;
    background-color: green;
    border-radius: 0px 10px 0px 10px;
    text-align: center;
}
.radio
{
    display: block;
}
div.question
{
    /*overflow-x: scroll;*/
}
.actionbtn
{
    display: inline-block;
}
.subjectitem,.groupitem
{
    display: inline-block;
    position: relative;
    width: 300px;
}
.topspace
{
    margin: 10px 0px 0px 0px;
}
.students,.class,.section,.teacher,.question,.roleslist,.pagepermission,.exam,.showexam,.subject,.subjectgroup,.users,.portion,.groupstd,.teacherexpertise,.subportion,.portiontree
{
    position: relative;
    width: 100%;
    padding: 20px 0px;
}
ul li p
{
    display: inline;
}
.capitalize
{
    text-transform: capitalize;
}
.req 
{
    color: red;
}
label.error
{
    color: red;
    display: block;
}
/* Button used to open the chat form - fixed at the bottom of the page */
.open-button 
{
    background-color: #555;
    color: white;
    padding: 20px 20px 20px 20px;
    border-radius: 50px 50px 50px 50px;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    bottom: 23px;
    right: 28px;
    width: 75px;
}
/* Add styles to the form container */
.form-container 
{
  max-width: 300px;
  padding: 10px;
  background-color: white;
}
.sidebaractive
{
    background: #e10d0d !important;   
}
.listactive
{
    color:  red;
}
.sidebar ul li.sidebaractive a
{
    color: #000;
}
.sidebar ul li:hover
{
    background-color: red;
    border-radius: 25px;
    overflow: hidden;
}
/*---------------- chatpage css--------------------- */
.invalid_err
{
    display: none;
    color: red;
}
.success
{
  color: green;
}
.sidebar 
{
    width: 100%;
    /*background: rgb(5,68,104);*/
    background: transparent;
    position: sticky;
    top: 0;
    left: 0;
    /*min-height: calc(100vh - 50px);*/
    min-height: 100%;
    padding: 5px 0;
    transition: all 0.5s ease;
    border-radius: 10px;
}
.sidebar ul
{
    list-style-type: none;
    padding: 0px 0px 0px 0px;
}
.sidebar ul li a
{
    color: #101011;
}
.contentarea
{
    background: grey;
    height: 100%;
    position: relative;
    display: inline-block;
    width: 100%;
}
.dashboard
{
    position: relative;
    width: 100%;
    /*height: 100%;*/
    padding: 20px 0px;
}

.timetable 
{
    max-width: 100%;
    overflow: auto;
}
.studentcreate table thead tr th
{
  text-align: center;
}
.studentcreate table thead tr 
{
  background-color: yellow;
}
.dashboard .box
{
  width: 150px;
  height: 150px;
  background: green;
  display: inline-block;
  margin:  20px 50px;
  border-radius: 20px;
}
.dashboard .box h2
{
  text-align: center;
}
.dashboard .box .count
{
  color: #f1f1f1;
  font-size: 20px;
  text-align: center;
}
header
{
  /*background: rgb(204, 151, 219);*/
  background-image: linear-gradient(#ffb121,white,#16d016);
  position: fixed;
  /*top: 0;*/
  border-bottom: 5px solid #000;
  color: #0f0f0;
  z-index: 1000;
  width: 100%;
}
header .links
{
  float: right;
}
footer 
{
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: purple;
    text-align: center;
    color: #fff;
}
.studentpanel
{
    background-color: red;
}
.teacherpanel
{
   background-color: purple;
}
.custom_panel
{
    height: 180px;
    border-radius: 15px 10px;
    float: left;
    margin: 0px 0px 5px 5px;
    background: #959090;
    color: #000;
    padding: 25px;
}
.countresult
{
   text-align: center;
}
.set50px
{
    width: 50px;
}
div.notes
{
    bottom: 0;
    position: absolute;
}
div.timetable table.table tr.holiday
{
    background: #285922;
    color: #f1f1f1;
    text-align: center;
    font-weight: 600;
}
ul.portion,ul.subportion
{
    margin: 0px 0px 0px 10px;
    list-style: none;
}
ul.portion li:before,ul.subportion li:before
{
    content: '\2192';
    width: 10px;
    height: 10px;
}
table.table tbody tr:nth-child(even)
{
    background-color: #0000001c;
}
table.table tbody tr:hover:nth-child(even)
{
    background-color: #b0b0b0;
}
div.container1 table.table tbody tr td:nth-child(1) {
    position: sticky;
    left: 0;
    background: white;
}

div.container1 table.table{
    overflow: auto;
    display: block;
    height: 200px;
}
div.container1 table.table td{
    width: auto;
    padding: 0px;
}
div.container1 table.table td.divider{
    max-width: 20px;
    background-color: blue;
    padding: 20px;
    border: 0px;
}
.setsize{
    width: 100%;
}
div.menu
{
    box-sizing: border-box;
    background: #f1f1f1;
    border-radius: 25px;
    padding: 5px;
    width: 100%;
    height: 100%;
    border-block: dashed;
}
div.menu ul:hover
{
    background-color: #fff;
    border-radius: 20px;
}

/* teacher vs subject & periodvstime page css starts*/
table.teachervssubject tbody tr.firsthead{
    background-color: red;
    /*display: inline-block;*/
}
table.teachervssubject td.addvertical{
  white-space: nowrap;
  writing-mode: tb-rl;
  transform: rotate(180deg);
}
table.teachervssubject tbody tr td{
    padding: 0px;
}
table.teachervssubject tbody tr td input[type='text']{
    width: 50px;
    padding: 0px;
}
table.teachervssubject tbody tr td:nth-child(1){
    background-color: yellow;
    position: sticky;
    left: 0;
}
table.teachervssubject tbody tr td.setdropdown select{
    display: block;
}

/* teacher vs subject & periodvstime page css end*/

.content .loadcontent img.contentimage
{
    width: 300px;
    height: 300px;
    border-radius: 20px 20px;
    border: 1px solid #645e5e;
    margin: 5px;
}
.container-fluid1
{
    width: 100%;
    overflow: auto;
    position: relative;
    display: inline-block;
}
a.navbar-brand
{
    color: rgb(5,68,104);
}
.navbar-header
{
    float: left;
}
#section{
    float: right;
}
.container-fluid{
    overflow: auto;
    position: relative;
    top: 70px;
}