form {
    margin: 0;
    padding: 0;
}

.elementTitle label {
    font-weight: bold;
}

.elementTitle label > span:after {
    content: ':';
}

form label.required:after {
    margin-left: 0.3em;
    color: red;
    content: '*';
}

label.hint {
    font-style: normal;
}

label.hint img.icon {
    vertical-align: top;
    margin-left: .2em;
}
textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

form .field textarea {
    width: 100%;
    background-color: #dedede;
}

form input[readonly].readonly {
    border: none;
    background: transparent;
}

input[type="number"] {
    text-align: right;
}

.general-form input[type="number"].narrow {
    width: 5em;
}

.general-form .custom-fields input[type="file"] {
    margin-bottom: 1em;
}

form .field iframe {
    width: 350px;
    margin: 0;
    border: none;
}
form .field.text {
    line-height: 25px;
}

form .field.checkbox {
    padding-top: 8px;
}

/* Positioning tweaks for 'Attach Content', was 'broken' by Bootstrap... */
.field .attach-content input[type="checkbox"] ,
.field .attach-content-options input[type="checkbox"] {
    margin-top: -4px;
}
.field .attach-content label ,
.field .attach-content-options label {
    margin: 0 12px 0 4px;
}
.field .attach-content tr td ,
.field .attach-content-options tr td {
    padding: 0 0 2px 0;
}

.og li[ng-include] {
    list-style-type: none;
}

/**
 * Multi-Selector:
 * Both height/min-height set as auto for correct adjustment via JS.
 */
.multi-selector {
    height: auto;
    min-height: auto;
    width: 100%;
}

/**
 * File Info block:
 * Standardised formatting for file uploads with name, size, download and delete elements with a thumbnail.
 */
.file-info {
    max-width: 350px;
    overflow: hidden;
    margin: 5px 0 0 0;
}

.general-form .file-info {
    max-width: 100%;
}

.file-info .thumbnail {
    float: left;
    padding: 5px;
    width: 50px;
    overflow: hidden;
    border: 0px;
}

.file-info .information {
    margin-left: 55px;
    padding: 5px 0;
    margin-right: 55px;
}

.file-info .information li {
    line-height: 1.25em !important;
    padding: 2px 5px !important;
    width: auto !important;
    clear: none;
    display: block !important;
}

.file-info .information li.name {
    word-break: break-all;
    display: table-cell;
}

.file-info .information li.size {
    font-size: 0.9em !important;
}

.file-info .delete {
    overflow: hidden;
    position: relative;
    top: -25px;
}

.file-info .delete label {
    display: block;
    float: right !important;
    padding: 0 5px;
    font-weight: normal !important;
    width: auto !important;
    min-width: 40px !important;
    line-height: 1.5em;
}

.file-info .delete label input {
    margin: 0 1px 0 0;
}

.file-info.compact .thumbnail {
    padding: 0;
    width: 16px;
    border: none !important; /* overwrite bootstraps value */
}

.file-info.compact .information {
    margin: 0 0 0 16px;
    padding: 0;
}

.file-info.compact .delete {
    top: -18px;
    margin-bottom: -18px;
}

.file-info.compact .thumbnail img {
    margin-left: 0;
}

.edit-section {
    float: right;
    margin-top: -65px;
    margin-right: 5px;
}

/**
 * Thumbnails in Skin Images page
 */
td.thumbnail-wide {
    width: 100px;
    padding: 5px;
}

.thumbnail-wide img {
    display: block;
    width: 100px;
    height: 75px;
}

/**
 * Improve alignment for checkboxes (usually wrapped in label).
 */
.checkbox-fix {
    top: 3px;
    position: relative;
}

.multi-file-upload {
    margin-bottom: 1em;
}

.multi-file-upload input {
    display: block;
}
