.input-group-xs>.form-control,
.input-group-xs>.input-group-addon,
.input-group-xs>.input-group-btn>.btn {
    height: 22px;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}

.form-group{
    clear: both;
}

.open>.dropdown-menu {
    display: block;
    height: 150px;
    overflow-y: scroll;
}
.nav .open>.dropdown-menu  {
    display: block;
    height: inherit;
    overflow-y: hidden;
}

.btn.dropdown-toggle.btn-block .caret.pull-right{
    margin-top: 5px;
}

.unselectable {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.content-wrapper .box{
    margin-bottom: 0px;
}

.input-group-addon.min-150 {
    min-width: 150px;
    text-align: left;
}



/*  */

/* https://codepen.io/chriscoyier/pen/Fapif */
.table-header-rotated {
    border-collapse: collapse;
}

.table-header-rotated td {
    width: 30px;
}

.table-header-rotated th {
    padding: 5px 10px;
}

.table-header-rotated td {
    text-align: center;
    padding: 10px 5px;
    border: 1px solid #ccc;
}

.table-header-rotated th.rotate {
    height: 140px;
    white-space: nowrap;
}

.table-header-rotated th.rotate > div {
    transform: translate(9px, 4px) rotate(270deg);
    width: 30px;
}

.table-header-rotated th.rotate > div > span {
    border-bottom: 1px solid #ccc;
    padding: 5px 10px 7px;
}

.table-header-rotated th.rotate.is-event > div > span {
    border-bottom: none;
}

.table-header-rotated th.row-header {
    padding: 0 10px;
    border-bottom: 1px solid #ccc;
}

.checkbox-list ul, .checkbox-list li{
    list-style-type: none;
}

.confirm-bar{
    position: fixed;
    bottom: 55px;
    width: 90%;
    display: block;
    background: beige;
    text-align: center;
}

.table-responsive .table .row-header{
    position: absolute;
    background: white;
    height: 37px;
    display: block;
    width: 157px;
}

.table-responsive .table tr:first-child .row-header{
    margin-top: -100px;
    padding-bottom: 137px;
    padding-top: 105px;
}


.table-attendences > tbody > tr > td:nth-child(2),
.table-attendences > thead > tr > th:nth-child(2)
{
    padding-left: 170px;

}


.table-attendences-student-list {
    width: 140px;
}
.table-attendences-student-list .rotate-text{
    /* Safari */
    -webkit-transform: rotate(-90deg);

    /* Firefox */
    -moz-transform: rotate(-90deg);

    /* IE */
    -ms-transform: rotate(-90deg);

    /* Opera */
    -o-transform: rotate(-90deg);
}

.table-attendences-student-list td{
    height: 41px;
    white-space: nowrap;

}
.table-attendences-session-list th.rotate{
    padding-top: 55px;
    height: 100px;
}

.table-attendences-session-list-wrapper{
    width: calc(100vw - 430px);
    overflow-x: scroll;
}

 .table-attendences-session-list-wrapper{
    width: calc(100vw - 200px);

}

#scroller {
    width: 300px;
    overflow-x: scroll;
}
#scroller table {
    /* just a quick hack to make the table overflow the containing div
       your method may differ */
    width: 600px;
}

#scroller .table.fixedCol {
    width: auto;
    position: absolute;
    /* below styles are specific for borderd Bootstrap tables
       to remove rounded corners on cloned table */
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.table.fixedCol th,
.table.fixedCol td {
    /* background is set to white to hide underlaying column
       of original table */
    background: white;
}

.table-attendences-session-list th.is-event,
.table-attendences-session-list td.is-event{
    background-color: #deb887;
}

.table-attendences-session-list th.is-event{
    margin-left: 0;
    padding-left: 0px;
    margin: 0;
    padding-right: 19px;
}
.table-attendences-session-list th.is-event span{
    border: none;
}

.hide-fin .financial-data {
    display: none;
}