﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    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;
}

/* Old global width restriction removed (was causing layout issues especially RTL) */
/* input, select, textarea { max-width: 280px; } */

/* Allow full width controls by default */
input.form-control, select.form-control, textarea.form-control { max-width:100%; }

/* Arabic (RTL) alignment adjustments */
[dir=rtl] label { text-align:right; }
[dir=rtl] .form-control { text-align:right; }

/* Force labels to stay above inputs in custom forms */
.company-form-basic label.form-label, .company-form-basic .field-block label { display:block; float:none; width:auto; margin:0 0 4px 0; }

/* Compact validation message styling */
.text-danger.small { font-size:11px; }
