html {
  position: relative;
  min-height: 100%;
}
body {
  margin-bottom: 45px;
}
.footer {
  position: absolute;
  padding-top: 7px;
  bottom: 0;
  width: 100%;
  height: 45px;
  background-color: #f5f5f5;
}
.main-contents{
    margin-top:70px;
}

.btn-group-justified{
    margin-bottom: 7px;
}

/* scrollable table */
.table-scrollable{
    overflow-y: auto;
}
.table-scrollable tbody {
  height: 159px;
  overflow-y: auto;
  width: 100%;
}
.table-scrollable thead,
.table-scrollable tbody,
.table-scrollable tr,
.table-scrollable td,
.table-scrollable th {
  display: block;
}
.table-scrollable tbody td{
  height: 39px;
}
.table-scrollable tbody td, .table-scrollable thead > tr> th {
  float: left;
  border-bottom-width: 0;
}

.input-group {
  margin-bottom: 5px;
}

.form-group textarea {
  margin-top : 7px;
}

/* MODAL */

.modal.fade:not(.in).right .modal-dialog {
    margin-right: 0px;
    -webkit-transform: translate3d(25%, 0, 0);
    transform: translate3d(25%, 0, 0);
}

#sidebar-wrapper{
    margin-top:50px;
    float:right;
    position: fixed;
    left: auto;
    height: 100%;
    overflow: hidden;
}

#sidebar-wrapper .modal-dialog {
    width:100%;
    height: 100%;
    margin-top:0px;
    margin-right: 0px;
    overflow: hidden;
}

#sidebar-wrapper .modal-content{
    height: 100%;
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0);
    -moz-box-shadow: 0 5px 15px rgba(0,0,0,0);
    -o-box-shadow: 0 5px 15px rgba(0,0,0,0);
    box-shadow: 0 5px 15px rgba(0,0,0,0);
}

#sidebar-wrapper .modal-body{
    height: -webkit-calc(100% - 170px);
    height: -moz-calc(100% - 170px);
    height: -o-calc(100% - 170px);
    height: calc(100% - 170px);
    overflow-y: auto;

}

/* Responsive MODAL */

@media (min-width: 768px){

    #sidebar-wrapper{
        width: 42%;
    }
}

@media (max-width: 767px){

    #sidebar-wrapper{
        width: 100%;
    }
}

}