.progress-spinner { display: inline-block; min-width: 20px; }
.js-richtext-view img { max-width: 100%; height: auto; }
.gritter-error .gritter-title { color: #d15b47; }
#login-error { margin-top: 10px; }

/* Responsive: wide data tables scroll inside their box instead of stretching the whole page on phones */
#List { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#List .dataTables_wrapper { min-width: 0; }

/* Forms are placed directly in a .row (negative margins) and again use .form-horizontal (negative margins):
   pad the form so nothing sticks out of the viewport. */
#content form.form-horizontal { padding-left: 15px; padding-right: 15px; }
#content .form-actions { margin-left: -15px; margin-right: -15px; }

@media (max-width: 767px) {
    #content form.form-horizontal .control-label { text-align: left; }
    #content form.form-horizontal input[type=text],
    #content form.form-horizontal select { max-width: 100%; }
    #content form.form-horizontal .col-xs-10 { width: 100%; }
    #partial fieldset .btn { margin-bottom: 4px; }
}
