.sidebar-nav {
    padding: 9px 0;
}

.bs-docs-example {
    position: relative;
    margin: 15px 0;
    padding: 19px 19px 14px;
    background-color: white;
    border: 1px solid #DDD;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.bs-docs-example::after {
    content: "Info";
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    background-color: whiteSmoke;
    border: 1px solid #DDD;
    color: #9DA0A4;
    -webkit-border-radius: 4px 0 4px 0;
    -moz-border-radius: 4px 0 4px 0;
    border-radius: 4px 0 4px 0;
}

.dl-padded dt, .dl-padded dd {
    padding: .25em;
}

/*
dt, .table th a {
    color: #08C;
} */

dl.border-around {
    margin: 2em 0;
    padding: 0;
    /* min-width: 15em; */
}

.border-around dt {
    /* background-color: #131210; */
    background-color: #DBD8D8;
    /* color: #959289;
    padding: .5em; */
    color: black;
    padding: .3em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #08C;
    border-bottom: none;
    /*
    border-left: 1px solid #131210;
    border-right: 1px solid #131210;
    border-top: 1px solid #131210;
    */
}

.border-around dd {
    /* margin: 0 0 1em 0;
    background: #DBD8D8; */
    margin: 0px;
    text-align: center;
    /* padding: 1em .5em; */
    padding: .3em;
    font-style: italic;
    border: 1px solid #08C;
    border-bottom: none;
    /*
    border-left: 1px solid #131210;
    border-right: 1px solid #131210;
    border-bottom: 1px solid #131210;
    */
}

.border-around dd:last-child {
    border-bottom: 1px solid #08C;
}

.dl-fancy {
    margin-left: 10px;
}

.dl-fancy dt span {
    /* padding: 2px 4px; */
    padding: 0px 4px;
    /* color: #08C; */
    color: #D14;
    /* background-color: #F7F7F9; */
    border: 1px solid #E1E1E8;
    font-weight: normal;
    border-radius: 3px;
}

.dl-fancy dt span:after {
    content: ':';
}

.div-detail {
    position: relative;
    margin: 15px 0;
    padding: 19px 19px 14px;
    background-color: white;
    border: 1px solid #DDD;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.div-detail:after {
    content: "Info";
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    background-color: whiteSmoke;
    border: 1px solid #DDD;
    color: #9DA0A4;
    -webkit-border-radius: 4px 0 4px 0;
    -moz-border-radius: 4px 0 4px 0;
    border-radius: 4px 0 4px 0;
}

.div-detail-revision:after {
    content: "Revision History"
}

/* Sticky footer styles
-------------------------------------------------- */

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -60px;
}

/* Set the fixed height of the footer here */
#push,
#footer {
    height: 60px;
    padding-left: 60px;
}

#footer {
    background-color: #f5f5f5;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.container {
/*    width: auto; */
}

.container .credit {
    margin: 20px 0;
}

/* Page compresses here */
@media (max-width: 980px) {
    #navsearch {
        white-space: pre-wrap;
        text-align: center;
    }

    #navsearch .btn {
        -webkit-border-radius: 14px 14px 14px 14px;
        border-radius: 14px 14px 14px 14px;
        margin: 5px;
    }
}

/* Decrease Table Spacing */
.table th, .table td {
    /* padding: 0px; */
}

/* Decrease Control Group Spacing */
/* .control-group, .form-horizontal .control-group {
    margin-bottom: 0px;
} */

/* Shift dropdown calendar to the left to keep it on screen */
.dropdown-menu.datepicker {
    margin-left: -180px;
}

/* Change Navbar color */
.navbar-inverse .navbar-inner {
    background-color: #50C46A;
    background-image: -moz-linear-gradient(top, #50C46A, #68A359);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#50C46A), to(#68A359));
    background-image: -webkit-linear-gradient(top, #50C46A, #68A359);
    background-image: -o-linear-gradient(top, #50C46A, #68A359);
    background-image: linear-gradient(to bottom, #50C46A, #68A359);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff50C46A', endColorstr='#68A359', GradientType=0);
    border-color: #252525;
}

.navbar-inverse .brand, .navbar-inverse .nav > li > a {
    color: white;
}

/* Make Required fields bold */
label.requiredField {
    font-weight: bold;
}

/* -- THIS BREAKS FIREFOX -- Fix Dropdown overflow inside an accordian */
/* .accordion-body.in {
    overflow: visible;
} */

.accordion-body.in:hover {
    overflow: visible;
}

/* Prevent dropdowns carets from wrapping */
.dropdown-toggle {
    white-space: nowrap;
}

/* Really small text input */
.input-micro {
    width: 18px;
}

.pre-formated {
    white-space: pre-line;
    text-align: left !important;
}

/* Wide Form */
.form-wide select,
.form-wide textarea,
.form-wide input[type="text"],
.form-wide input[type="password"],
.form-wide input[type="datetime"],
.form-wide input[type="datetime-local"],
.form-wide input[type="date"],
.form-wide input[type="month"],
.form-wide input[type="time"],
.form-wide input[type="week"],
.form-wide input[type="number"],
.form-wide input[type="email"],
.form-wide input[type="url"],
.form-wide input[type="search"],
.form-wide input[type="tel"],
.form-wide input[type="color"],
.form-wide .uneditable-input {
    width: 60%;
}

/* Remove Form Action highlights */
.form-actions {
    background-color: inherit;
}

.table-with-detail tbody tr:nth-child(odd) td, .table-with-detail tbody tr:nth-child(odd) th {
    border-top: 2px solid #666;
}

.table-with-detail tbody tr:nth-child(even) td, .table-with-detail tbody tr:nth-child(even) th {
    padding-bottom: 1em;
}

/* dJango Error Messages */
ul.errorlist {
    color: red;
}

ul.detail-list label {
    font-weight: bold;
    margin-bottom: 0;
}

ul.detail-list label:after {
    content: ":";
}

ul.detail-list li {
    clear: both;
    /* margin: 0; */
    list-style-type: none;
    margin-bottom: .25em;
}
/*
ul.detail-list-row {
    margin: 0px;
}
*/
ul.detail-list {
    margin-left: -25px;
}

ul.detail-list-row li {
    margin-bottom: 1em;
    float: left;
    clear: none;
}

ul.detail-list-inline li label {
    float: left;
    margin: 0;
    clear: none;
    list-style-type: none;
    width: 8em;
    text-align: right;
    margin-right: 1em;
}

.topbar-nav-active {
    font-size: 160%;
    background-color: black;
    opacity: .6;
    padding: 10px;
    float: left;
    border-right: 2px solid green;
    font-weight: bold;
    color: white;
    -webkit-border-radius: 14px 14px 0 0;
    border-radius: 14px 14px 0 0;
    margin-top: 5px;
}

.topbar-nav {
    font-size: 160%;
    background-color: #666;
    opacity: .6;
    padding: 10px;
    float: left;
    border-right: 2px solid green;
    color: #ccc;
    -webkit-border-radius: 14px 14px 0 0;
    border-radius: 14px 14px 0 0;
    margin-top: 5px;
}

.radio-horizontal .control-group .controls .radio input[type="radio"] {
    margin-left: -14px;
}

.radio-horizontal .control-group .controls label.radio {
    float: left;
    margin-right: 15px;
}

.radio-horizontal .control-group  .controls > .radio:first-child {
    padding-top: 0;
}

.inline-fields .control-group {
    float: left;
    margin-bottom: 0;
    margin-right: 2px;
}

.inline-fields select, .inline-fields input {
    margin-bottom: 1px;
}

.input-small input, .input-small select {
    width: 90px;
}

.input-medium input, .input-medium select {
    width: 150px;
}

.input-prepend select.input-medium {
    width: 120px;
}

.prepend-label label {
    margin-left: 30px;
}

/* Wizard Start */

.wizard a {
    padding: 14px 12px 10px;
    margin-right: 5px;
    background: #bbbbbb;
    position: relative;
    display: inline-block;
    color: white;
}
.wizard a:before {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #fff;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
}
.wizard a:after {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #bbbbbb;
    position: absolute;
    content: "";
    top: 0;
    right: -20px;
    z-index: 2;
}
.wizard a:first-child:before,
.wizard a:last-child:after {
    border: none;
}
.wizard a:first-child {
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}
.wizard a:last-child {
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}
.wizard .badge {
    margin: 0 5px 0 18px;
    position: relative;
    top: -1px;
}
.wizard a:first-child .badge {
    margin-left: 0;
}
.wizard .current {
    background: #007ACC;
    color: #fff;
}
.wizard .current:after {
    border-left-color: #007ACC;
}
.wizard .finished {
    /* background: #87EC87; */
    background: #00CC00;
    color: #fff;
}
.wizard .finished:after {
    border-left-color: #00CC00;
}
.wizard a.nobadge {
    padding-left: 2.5em;
}

/* Wizard End */

.accordion-heading .accordion-toggle {
    padding-left: 0px;
}

ul.form-fields label {
    font-size: 120%;
    display: block;
    background-color: #eee;
    /* background-color: #D2E3CD; */
    padding: .2em;
    border: 1px solid #ccc;
    border-bottom: 1px solid #999;
}

ul.form-fields div {
    border: 1px solid #ccc;
    border-top: 1px solid #999;
    padding: .2em;
    min-height: 1.2em;
}

ul.floating-fields li {
    clear: none;
    float:left;
    margin-left: 20px;
    margin-bottom: 6px;
}

/* Navlist filter */
.nav-list > .chosen > a,
.nav-list > .chosen > a:hover,
.nav-list > .chosen > a:focus {
    background-color: red;
}

a.sidebar_toggle {
    position:fixed;
    left:0;
    bottom:0;
    display:block;
    background-color:#ccc;
    color:white;
    padding:10px 20px;
}

/* Other */
.clear-both {
    clear:both !important;
}
