body {
    padding-top: 50px;  /* to prevent navbar from overlapping body  */
    padding-bottom: 50px;
}

section {
    padding-top: 50px;
    margin-top: -50px;
    display: inline-block;
}

/* for centering footer navbar */
.navbar-collapse.collapse {
    text-align: center;    /* key code */
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
}

/* for centering footer navbar */
.navbar-nav {
    display:inline-block;
    float: none;
    margin: 0;
}

body table.table tbody tr td {
    vertical-align: middle;
}

body table.table tbody tr td.top {
    vertical-align: top;
}

body table.table tbody tr td.padding {
    padding: 30px 60px 30px 60px;
}

body table.table td.grey {
    background-color: #f0f0f0;
}

.actions {
    text-align: right;
}

.question {
    font-style: italic;
    font-size: 75%;
    text-align: right;
}

.small_note {
    font-style: italic;
    font-size: 75%;
}

.middle {
    text-align: center;
}

.right {
    text-align: right;
}

figure {
    text-align: center;
    font-style: italic;
    font-size: 90%;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

figcaption {
    display: table-caption;
    caption-side: bottom;
}

.input_error {
    color: red;
}

.input_ok {
    color: black;
}

.small_italic {
    font-style: italic;
    font-size: 90%;
}

h1, h2, h3, h4, h5 {
  font-family: 'Droid Serif', Georgia, serif;
}

p, div {
  font-family: 'Droid Sans', Georgia, serif;
}

p.indent {
    text-indent: -20px;
}

.ng-dirty.ng-invalid {
    border-color: maroon;
    outline-color: maroon;
}

.messages {
    font-size: smaller;
    padding-top: 5px;
    padding-bottom: 10px;
    color: maroon;
}

.dropdown-scroll {
    max-height: 250px;
    width: auto;
    overflow: auto;
    text-overflow: ellipsis;
}

.thumbnail-walkthrough {
    height: 150px;
}

.thumbnail-outline {
    height: 200px;
}

.thumbnail-box {
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
}

.monospace-textarea {
    font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,monospace;
}