body, html {
  height:100%;
}

/*
 * Off Canvas sidebar at medium breakpoint
 * --------------------------------------------------
 */
@media screen and (max-width: 992px) {

  .row-offcanvas {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -33%;
  }

  .row-offcanvas-left.active {
    left: 33%;
    margin-left: -6px;
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 33%;
    height: 100%;
  }
}

/*
 * Off Canvas wider at sm breakpoint
 * --------------------------------------------------
 */
@media screen and (max-width: 34em) {
  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -45%;
  }

  .row-offcanvas-left.active {
    left: 45%;
    margin-left: -6px;
  }
  
  .sidebar-offcanvas {
    width: 45%;
  }
}

.card {
    overflow:hidden;
}

.card-body .rotate {
    z-index: 8;
    float: right;
    height: 100%;
}

.card-body .rotate i {
    color: rgba(20, 20, 20, 0.15);
    position: absolute;
    left: 0;
    left: auto;
    right: -10px;
    bottom: 0;
    display: block;
    -webkit-transform: rotate(-44deg);
    -moz-transform: rotate(-44deg);
    -o-transform: rotate(-44deg);
    -ms-transform: rotate(-44deg);
    transform: rotate(-44deg);
}

/* The sidebar menu */
.sidebar {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
 
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  left: 0;
  //background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  //padding-top: 60px; /* Place content 60px from the top */
  transition: 0.9s; /* 0.5 second transition effect to slide in the sidebar */
}

/* The sidebar links */
.sidebar a {
  //padding: 8px 8px 8px 12px;
  text-decoration: none;
  font-size: 13px;
  color: #818181;
  display: block;
  transition: 0.9s;
  
}

/* When you mouse over the navigation links, change their color */
.sidebar a:hover {
  color: red;
}



/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .9s; /* If you want a transition effect */
  //padding: 20px;
}


.bgToday {background: rgba(0,128,0,1)}
.bgThisMonth {background: rgba(0,128,0,0.5)}
.bgPending {background: rgba(128,128,128,0.3)}
.bgTodayBad{background: rgba(128,0,0,1);color:white;}
.bgThisMonthBad{background: rgba(128,0,0,0.7);color:white;}
.bgPendingBad{background: rgba(128,128,128,0.3)}
