﻿body {
    padding-top: 60px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* 自定义样式 */
.login-form {
    max-width: 320px;
    margin: 0 auto;
}

    .login-form .form-control {
        max-width: none;
    }

.body-wrap {
    display: table;
    width: 100%;
}

.body-content {
    display: table-cell;
    vertical-align: top;
    width: auto;
}

.side-nav {
    display: table-cell;
    vertical-align: top;
    width: 200px;
    min-width: 200px;
    padding-left: 15px;
}

@media (max-width: 820px) {
    .body-wrap {
        display: block;
    }
    .body-content {
        display: block;
    }
    .side-nav {
        display: none;
    }
}