﻿body {
    padding-top: 50px;
}

@media print {

    @page {
        size: auto !important;
    }
}

.starter-template {
    padding: 15px 5px;
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3 {
    margin-top: 0px;
}

table.add-horiz-padding td {
    padding: 0px 4px;
}

table.add-horiz-padding-xl td {
    padding: 0px 16px;
}

.buffer-top {
    margin-top: 25px;
}

.buffer-top-sm {
    margin-top: 15px;
}

.buffer-top-xs {
    margin-top: 5px;
}

.buffer-bottom {
    margin-bottom: 25px;
}

.buffer-bottom-sm {
    margin-bottom: 15px;
}

.buffer-bottom-xs {
    margin-bottom: 5px;
}

.buffer-left {
    margin-left: 25px;
}

.buffer-left-sm {
    margin-left: 15px;
}

.buffer-left-xs {
    margin-left: 5px;
}

.buffer-right {
    margin-right: 25px;
}

.buffer-right-sm {
    margin-right: 15px;
}

.buffer-right-xs {
    margin-right: 5px;
}

.inline-label label {
    display: inline;
    white-space: nowrap;
}

table.nowrap td {
    white-space: nowrap;
}

.dropdown-toggle:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.dropdown-menu > li > a:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.dropdown-menu > .active > a:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.version-number {
    text-align: right;
    border-top: 1px solid #888;
    margin-top: 8px;
    padding: 5px 13px 15px 10px;
    color: #666;
}


.skip {
    position: absolute;
    top: -1000px;
    left: -1000px;
    height: 1px;
    width: 1px;
    text-align: left;
    font-size: 18px;
    overflow: hidden;
    background-color: #000;
    padding: 6px;
    font-weight: bold;
    color: White;
    border-bottom-right-radius: 8px;
}

a.skip:active, a.skip:focus, a.skip:hover {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
    z-index: 9999;
    color: White;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: right;
    }
}


.jumbotron {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

    .jumbotron img.logo {
        float: left;
        margin-right: 15px;
    }

a.top-bar-logo {
    padding: 3px 8px 3px 15px !important;
}

    a.top-bar-logo img {
        max-height: 45px !important;
    }


/* vertical alignment styles */
.col-top {
    vertical-align: top;
}

.col-middle {
    vertical-align: middle;
}

.col-bottom {
    vertical-align: bottom;
}

/* columns of same height styles */
.row-full-height {
    height: 100%;
}

.col-full-height {
    height: 100%;
    vertical-align: middle;
}

.row-same-height {
    display: table;
    width: 100%; /* fix overflow */
    table-layout: fixed;
}

.col-xs-height {
    display: table-cell;
    float: none !important;
}

div.page-container {
    background-color: #777;
    border: 2px solid #222;
}

img.next-page, img.prev-page, div.prev-page {
    cursor: pointer;
}

.page-container img.page-view {
    border: 1px solid black !important;
}

.ellipsesAfter400 {
    width: 50%;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.page-number-footer {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap;
}

#thumbnails-container {
    width: 100%;
    float: left;
    white-space: nowrap;
    display: inline-block;
    margin-top: 25px;
    padding: 10px;
    background-color: #999;
    border: 1px solid #444;
    overflow-x: auto;
    overflow-y: hidden;
}

#thumbnails {
    float: left;
}

    #thumbnails .pdf-thumb {
        margin-right: 15px;
        cursor: pointer;
        float: left;
        text-align: center;
    }

        #thumbnails .pdf-thumb p {
            margin-top: 9px;
            margin-bottom: 0px;
            font-weight: bold;
        }

.checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"], .radio input[type="radio"], .radio-inline input[type="radio"] {
    margin-left: 0px;
    margin-right: 5px;
}

.radio-horizontal label {
    margin-right: 25px;
}

.page-header {
    margin: 10px 0 20px;
}


.form-control-text-short-narrow {
    width: 175px;
    height: 24px;
    font-size: 12px
}

.form-control-text-short-narrowest {
    width: 100px !important;
    height: 24px;
    font-size: 12px
}

.form-control-dropdown-short-narrow {
    width: 175px !important;
    font-size: 11px;
    padding: 3px 3px 0px 0px;
    height: 24px;
}

/*.control-label-short {
    font-size: 12px
}*/

.form-control-text-narrow {
    width: 200px;
}

.form-control-text-narrowest {
    width: 120px !important;
}

.form-control-text-narrowesttwodigit {
    width: 60px !important;
}

.form-control-text-widest {
    width: 450px !important;
}

.form-control-numeric {
    width: 100px !important;
    text-align: center;
}

.form-control-dropdown-narrow {
    width: 200px !important;
}

.form-control-dropdown-wide {
    width: 300px !important;
}

.form-control-dropdown-wideAuto {
    width: auto !important;
}

.form-control-inline {
    display: inline-block;
}

.collapse-panel-extra-space table td {
    padding: 5px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.form-control-nowidth .form-control {
    width: auto;
}

a.bordered img, img.bordered, input[type="image"].bordered {
    border: 1px solid #222 !important;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        border-right-width: 1px;
        border-right-style: solid;
    }
}

@media (min-width: 469px) {
    .form-control-text-wide {
        width: 350px !important;
    }

    .form-control-dropdown-widest {
        width: 375px !important;
    }
}
    /* Sidebar navigation */
    .nav-sidebar {
        margin-right: -21px; /* 20px padding + 1px border */
        margin-bottom: 20px;
    }

    .nav-sidebar > li > a {
        padding-right: 20px;
        padding-left: 20px;
    }


/*
 * Main content
 */

.main {
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}

button.toggle-ddl {
    margin-top: 6px;
}

span.flow-checkboxlist label {
    margin-right: 10px;
    font-weight: normal;
}

.checkbox-inline label {
    padding-left: 20px;
}

td.text-middle {
    vertical-align: middle !important;
}

.navbar-right {
    padding-right: 15px;
}

.required {
    color: red;
}

input[readonly=true], textarea[readonly=true], select[disabled] {
    background-color: #eee;
    color: #777;
}

.fixedHeader {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
    input[readonly=true], textarea[readonly=true], select[disabled] {
        background-color: #eee;
        color: #777;
    }

    /*.text-wrap {
        white-space: pre-wrap !important;
    }*/