/*
 * Base structure
 */
html {
    position: relative;
    min-height: 100%;
}

/* Move down content because we have a fixed navbar */
body {
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 20px;
    background: #f5f5f5;
}

.banner {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
}
.banner .btn {
    margin-left: 10px; 
}
.banner-offset {
    top: 54px;
}
.banner-spacer {
    height: 54px;
}
.center {
    text-align: center;
}

/*
 * Top navigation
 */

/* Fix logo position */
div.container a.navbar-brand > img {
    margin-top: -15px;
}

/*
 * Main content
 */

.main {
    padding: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}
.main .page-header {
    margin-top: 0;
}

.alert {
    margin-top: 20px;
}

/*
 * Buttons
 */
.btn i,
.modal-title i {
    margin-right: 5px;
}
.sunlap-list .panel-heading .btn-danger {
    margin-right: 15px;
}

/*
 * Sunlap panels and lists
 */
.panel-default .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}
.panel-title {
    margin: 7px 0;
}
.sunlap-summary .panel-body {
    padding: 7px 25px;
}
.sunlap-summary .panel-body>.row>div {
    padding: 8px;
}
.sunlap-summary-item {
    background: #f5f5f5;
    display: block;
    border-radius: 4px;
    padding: 25px 10px;
    text-align: center;
    position: relative;
    height: 130px;
}
.sunlap-summary-item:hover {
    text-decoration: none;
    background: #eee
}
.sunlap-summary-item>i {
    color: #bbb;
    display: block;
    text-align: center;
    margin-bottom: 5px;
}
.sunlap-summary-item h4 {
    margin: 0 auto;
}
.sunlap-summary-item .badge,
.sunlap-summary-item .label {
    position: absolute;
    top: 10px;
    right: 10px;
}
.sunlap-list .form-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0px;
}
.sunlap-list .search-form input,
.sunlap-list form input {
    padding-left: 32px;
}
.sunlap-list .search-form i.fa-search,
.sunlap-list form i.fa-search {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #999;
}
.sunlap-list .panel-body>.search-form>.row>div:first-child,
.sunlap-list .panel-body>form>.row>div:first-child {
    -padding-right: 0;
}
.list-group-item img {
    height: 40px;
    width: 40px;
    margin-right: 15px;
}
a.list-group-item {
    cursor: pointer;
}
a.list-group-item::before {
    font-family: FontAwesome;
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    font-size: 14px;
    line-height: 14px;
    margin-top: -7px;
    color: rgb(204, 204, 204);
}
a.list-group-item.active:before {
    color: #e1edf7;
}
.form-group label.between-col {
    position: absolute;
    margin-left: -7px;
    padding-top: 7px;
}
