/* Global styles */
body
{
    padding-top: 4px;
}

/* Form customizations */
form.icon {
    display: inline;
}

form.icon button {
    border: none;
    background: transparent;
    text-decoration: none;
    padding: 0;
    line-height: normal;
}

/* fix delete icon color */
a.icon, button span.glyphicon {
    text-decoration: none;
    margin-left: 10px;
    color: #333;
}

/* Model search form */
form.navbar-form {
    margin: 1px 0 0 0;
}

form.navbar-form a.clear span {
    margin-top: 8px;
    margin-left: -20px;
}

form.navbar-form div.input-append {
    display: inline-flex;
}

form.search-form div input {
    margin: 0;
}

/* Filters */
table.filters {
    border-collapse: collapse;
    border-spacing: 4px;
}

table.filters:not(:empty) {
    margin: 12px 0px 20px 0px;
}

table.filters tr td {
    padding-right: 5px;
    padding-bottom: 3px;
}

.filters a.remove-filter {
    margin-bottom: 0;
    display: block;
    text-align: left;
    text-decoration: none;
}

.filters .remove-filter
{
    vertical-align: middle;
}

.filters .remove-filter .close-icon
{
    font-size: 16px;
}

.filters .remove-filter .close-icon:hover
{
    color: black;
    opacity: 0.4;
}

/* filters */
.filters .filter-op {
    width: 130px;
}

.filters .filter-val {
    width: 220px;
}

/* Inline forms */
.inline-field {
    margin-bottom: 5px;
}

.inline-field-control {
    float: right;
}

.inline-field .inline-form {
    border-left: 1px solid #eeeeee;
    padding-left: 8px;
    margin-bottom: 4px;
}

.inline-field-control .glyphicon-remove {
    margin-left: -30px;
}

.panel {
    padding-top: 25px;
    padding-left: 30px;
}

/* Image thumbnails */
.image-thumbnail img {
    max-width: 100px;
    max-height: 100px;
}

/* Forms */
.admin-form {
    margin-top: 35px;
}

.submit-row {
    margin-top: 5px;
}

td>span.glyphicon {
    padding-left: 35%;
}

/* link style */
a.btn-cancel {
    border-radius: 4px;
    border-color: #a08c8c;
    color: #333;
    background-color: #f0b8b8;
}

a.btn-link {
    border-radius: 4px;
    border-color: #95bee2;
}

a.btn-filter, a.btn-filter:hover {
    border-radius: 4px;
    border-color: #adadad;
    color: #333;
    background-color: #ebebeb;
    max-height: 32px;
    line-height: 16px;
}

.help-block {
    margin-bottom: 0px;
}

ul.has-error {
    margin-bottom: -8px;
}

.tooltip.top {
    font-size: 1.1em;
    top: -35px;
}

.checkbox input[type="checkbox"] {
    margin-left: 0px;
    margin-right: 15px;
}

.list-checkbox-column {
    width: 14px;
}

/* fix overlapping border between actions and table */
.model-list  {
    position: relative;
    margin-top: -1px;
    z-index: 999;
}