/* for dropdown menu
ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
}

@media (min-width: 979px) {
  ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }
}
*/

.form-signin {
  width: 100%;
  max-width: 500px;
  padding: 15px;
  margin: auto;
}

/*code to change background color*/
.navbar-nav>.active>a {
  border-radius: 5px;
  background-color: #28a745;

}
.nav-item:hover .nav-link {
  border-radius: 5px;
  color: #ffffff;
  background-color: #28a745;
}

.user .nav-link{
  padding: 0;
  border-radius: 0;
  /*text-decoration: underline;*/
  border-bottom: solid #28a745;
}
.user.navbar-nav .nav-item:hover .nav-link {
  border-radius: 0;
  color: #ffffff;
  background-color: transparent;

}
.user.navbar-nav >.active > a {
  color: #ffffff;
  border-radius: 0;
  background-color: transparent;
}
/* .user a{
  text-decoration: underline;
} */

.alert-message {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.sm-text {
    height: calc(1.3em + .75rem + 2px);
}
.listStyleOrg {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    padding: .1rem;
    list-style-type: none;
    margin-bottom: 0rem;
}
/*for resizable textboxes
.listStyleOrgTextBox {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    resize: both;
    overflow: auto;
    padding: .1rem;
    list-style-type: none;
    margin-bottom: 0rem;
}*/

.listStyleOrg li {
  padding: .2rem;
}

.card-header {
  padding: .3rem 1.25rem;
}
.card-header.bgBlue {
  background-color: rgba(102,153,255,0.8);
}

.large-font {
  font-size: large;
}

.card-header.row {
  margin-right: 0px;
  margin-left: 0px;
}
.card-body {
  padding: .4rem 1.25rem;
}
.card-body.bgYellow {
  background-color: rgba(255,255,0,0.1);
}

/* status bar page */
.list-group-status {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    /* margin-left: -1.25rem */
    /* border-radius: .25rem; */
}

.list-group-status li {
    text-decoration: none;
    display: block;
}
/* css rotation reference https://bootsnipp.com/snippets/0ePXR */
.table-header-rotated th.row-header{
  width: auto;
  min-width: 200px;
  max-width: 300px;
}

.table-header-rotated td{
  width: 40px;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  vertical-align: middle;
  text-align: center;
}

.table-header-rotated th.rotate-45{
  height: 240px;
  width: 80px;
  min-width: 40px;
  max-width: 100px;
  position: relative;
  vertical-align: bottom;
  padding: 0;
  /* font-size: 12px; */
  line-height: 0.8;
}

.table-header-rotated th.rotate-45 > div {
  position: relative;
  top: 0px;
  /* left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  left: 120px; /*  240 / 2 */
  height: 100%;
  -ms-transform:skew(-45deg,0deg);
  -moz-transform:skew(-45deg,0deg);
  -webkit-transform:skew(-45deg,0deg);
  -o-transform:skew(-45deg,0deg);
  transform:skew(-45deg,0deg);
  overflow: hidden;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;

}

.table-header-rotated th.rotate-45 span {
  -ms-transform:skew(45deg,0deg) rotate(315deg);
  -moz-transform:skew(45deg,0deg) rotate(315deg);
  -webkit-transform:skew(45deg,0deg) rotate(315deg);
  -o-transform:skew(45deg,0deg) rotate(315deg);
  transform:skew(45deg,0deg) rotate(315deg);
  position: absolute;
  /* bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  bottom: 42px;
  left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  display: inline-block;
  width: 101px;
  /* width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
  text-align: left;
  white-space: nowrap; /*whether to display in one line or not*/

}

.table-height tbody{
  /* height: 90vh; */
  /* height: 90px; */
  /* height: 100%; */
  display: block;
  height: 60vh;
  overflow-y: auto;
}
