body{
    padding-bottom: 65px;
}

.main-header{
    /*height: 80px;*/
}

.main-page{
    margin-top: 0;
    margin-bottom: 65px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.main-footer{
    /*height: 50px;*/
}

#flash-message{
    position: fixed;
    width: 800px;
    left: 50%;
    margin-left: -400px;
    top: 25px;
    z-index: 99999;
}

#flash-message span.glyphicon{
    margin-right: 10px;
}

.page-header{
    margin-top: 20px;
}

.action_wrapper{
    display: inline-flex;
}

.action_wrapper a:first-child,
.action_wrapper form:first-child{
    margin-left: 0;
}

.action_wrapper a:last-child,
.action_wrapper form:last-child{
    margin-right: 0;
}

.action_wrapper a,
.action_wrapper form{
    margin: 0 5px;
}

.table th,.table th.filter_header span{
    line-height: 32px !important;
}

.table th .form-group{
    margin: 0;
}

.form-buttons{
    margin-top: 20px;
    border-top: 1px solid #c9c9c9;
    padding-top: 20px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
    z-index: 999;
    border-top: 1px solid #c9c9c9;
}

.footer .container{
    height: 60px;
    line-height: 60px;
}

.participation-0_pending{
    color: orange;
}

.participation-accepted{
    color: green;
}

.participation-rejected{
    color: red;
}

.participation-auto_rejected{
    color: brown;
}

.info-part{
    margin-bottom: 20px;
}

.info-part .info-label{
    float: left;
    margin-right: 15px;
}

.view-disabled{
    color: #e9e9e9;
}

.addStudent{
    position: absolute;
    top: 2px;
    right: 5px;
}

ul.students{
    margin-top: 10px;
}

ul.students li{
    position: relative;
}

.collection-btn-add{
    position: relative;
    right: 5px;
}

.collection-btn-sub{
    position: absolute;
    top: 7px;
    right: 10px;
}

.collection-btn{
    padding-left: 20px;
}

.collection-btn span.glyphicon{
    position: absolute;
    top: 3px;
    left: 3px;
}

.sort-box{
    width: 20px;
    float: left;
    margin-right: 5px;
}

.sort-element{
    margin: 0;
    padding: 0;
    line-height: 6px;
    overflow: hidden;
    position: relative;
}

.sort-link{
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.sort-link.active .sort-icon{
    color: #0f0f0f;
}

.sort-box .sort-element .sort-link .sort-icon{
    font-size: 18px;
    line-height: 16px !important;
}

.filter-box.sortered{
    margin-left: 25px;
}
