html, body {
    font-family: 'Montserrat', sans-serif;
}

body {
  padding-top: 60px;
}

h1 a.fa {
    color: #333;
    text-decoration: none;
}

.form-control {
    width: auto;
}

.select2-container {
    width: 20em !important;
    display: block !important;
}

.edit-form input[type='text'].picker__input {
    width: 8em;
    background-color: #fff;
}

#filters_form .form-group {
    display: inline-block;
    vertical-align: bottom;
    margin-left: 1em;
    margin-bottom: 1em;
}

#filters_form .deform-form-buttons > * {
    margin: 0;
}

.navbar-fixed-top .container,
.navbar-fixed-bottom .container,
.container {
    width: 90%;
}

.page-header .fa {
    font-size: 1.5em;
}

#content h1,
#content h2 {
    margin-bottom: 1em;
}

.hide {
    display: none;
}

.error-details {
    margin-top: 2em;
}

/* Edge fixes
-----------------------------------------------------------------------------*/
input[type=date].form-control,
input[type=time].form-control,
input[type=datetime-local].form-control,
input[type=month].form-control {
    line-height: normal;
}

/* Notifications
-----------------------------------------------------------------------------*/
.container > .notifications {
    padding: 1em 0;
    font-size: 1.2em;
}

.container > .notifications .alert {
    display: block;
    margin-top: 1em;
    margin-bottom: 0;
}

.container > .notifications .alert-danger,
.container > .notifications .alert-warning {
    font-size: 0.8em;
}

/* Fix issue with Firefox rendering the inputs */
select.form-control,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    height: 27px;
}

select.form-control {
    padding: 4px 12px;
}

input[type="text"].upload-filename {
    height: 34px;
}

.Layout #footer {
    text-align: right;
    font-size: 0.9em;
    border-top: 1px solid #ccc;
    margin-top: 2em;
    padding-top: 0.3em;
}

/* Standard pages, Login form
-----------------------------------------------------------------------------*/
.Layout.page,
.Layout.login {
    background-color: #e9e9e9;
    padding-top: 2em;
}

.Layout.page.logged-in,
.Layout.login.logged-in {
    padding-top: 6em;
}

.Layout.page .toolbar .buttons {
    background-color: #e9e9e9;
    border: none;
}

.Layout.login .toolbar .buttons {
    display: none;
}

.Layout.page #content,
.Layout.login #content {
    background: #fff;
    border-radius: 6px;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    margin: 100px auto 0;
    position: relative;
    z-index: 682;
}

.Layout.page #content,
.Layout.login #content {
    padding: 20px;
    margin: 0 auto 70px;
}

.Layout.login #content {
    max-width: 470px;
}

.Layout.page #content h1,
.Layout.login #content h1 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.3em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.Layout.page .logo,
.Layout.login .logo,
.Layout.login #content h1 {
    text-align: center;
}

.Layout.page .logo {
    margin-bottom: 3em;
}

.Layout.page #content .tab-content,
.Layout.login #content .tab-content {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 5px;
}

.Layout.login #content #login_form .item-username,
.Layout.login #content #login_form .item-password {
    margin: 1em auto;
    width: 16.5em;
}

.Layout.login #content #login_form .deform-form-buttons {
    margin-top: 2em;
}

/* Navigation
-----------------------------------------------------------------------------*/
.navbar-inverse,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:focus,
.navbar-inverse .navbar-nav > .open > a:hover {
    background: #2271A0;
}

.navbar-right {
    margin: 0.3em 1em;
}

.nav .identity {
    float: none;
    padding: 9px 10px 11px;
    line-height: 19px;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    display: block;
    margin-right: 1em;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-brand:focus,
.navbar-inverse .navbar-brand:hover {
    color: #fff;
}

.navbar-inverse .navbar-brand {
    font-weight: bold;
}

.navbar .nav > li > a.logout-button {
    background-color: #bc2131;
    line-height: 0.3em;
    border-radius: 3px;
    margin-top: 0.3em;
    color: #fff;
}

/* Toolbar
-----------------------------------------------------------------------------*/
.toolbar {
    margin-bottom: 1em;
}

.toolbar .filters .tab-content {
    display: inline-block;
}

.toolbar .filters button[type="submit"] {
    margin-bottom: 1em;
    vertical-align: bottom;
}

.toolbar .filters,
.toolbar .buttons {
    min-height: 4.5em;
    margin-top: 1em;
    background-color: #f5f5f5;
    border-radius: 5px;
    border: 1px solid #dddddd;
    padding: 1em;
}

.toolbar .buttons .btn {
    margin-right: 1em;
}

.toolbar .buttons .right-buttons {
    display: inline-block;
    float: right;
}

/* Buttons
-----------------------------------------------------------------------------*/
.Layout .form-actions,
.Layout .deform-form-buttons,
.edit-form .form-actions {
    padding: 0;
}

.Layout .btn-close,
.form-actions .btn-close,
.form-actions .btn-save,
.form-actions .btn-save-and-close,
.deform-form-buttons .btn-close,
.deform-form-buttons .btn-save,
.deform-form-buttons .btn-save-and-close {
    margin-left: 1em;
    border-color: #ccc;
}

.Layout .btn-close,
.deform-form-buttons .btn-close,
.form-actions .btn-close {
    background: #fff url('../img/close.png') 0.5em center no-repeat;
    padding-left: 2em;
}

.deform-form-buttons .btn-save,
.form-actions .btn-save {
    background: #fff url('../img/save.png') 0.5em center no-repeat;
    padding-left: 2em;
}

.deform-form-buttons .btn-save-and-close,
.form-actions .btn-save-and-close {
    background: #fff url('../img/save_and_close.png') 0.5em center no-repeat;
    padding-left: 2em;
}

.Layout .btn-edit {
    background: #fff url('../img/edit.png') 0.5em center no-repeat;
    padding-left: 2em;
}

.Layout .item-grid .field_actions {
    min-width: 10em;
}

.item-grid .field_actions .btn {
    border: none;
    height: 16px;
    width: 16px;
    padding: 0;
    margin: 0;
    background-position: 0;
}

.buttons .btn-create.dropdown {
    display: inline-block;
}

.buttons .btn-create .dropdown-item {
    display: block;
    padding: 0.5em 1em;
    color: #333;
    text-decoration: none;
}

.buttons .btn-create .dropdown-item:hover {
    background: #f5f5f5;
}

/* Grid
-----------------------------------------------------------------------------*/
.Layout .item-grid .expired td {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.Layout .item-grid .expired .field_dead_line {
    color: #FF5966;
    font-weight: bold;
}

/* Pagination
-----------------------------------------------------------------------------*/
.pagination {
    text-align: right;
}

.pagination a:first-child ,
.pagination span:first-child {
    border-left-width: 1px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-topleft: 4px;
}

.pagination a:last-child ,
.pagination span:last-child {
    border-right-width: 1px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-topright: 4px;
}

.pagination a,
.pagination span {
    float: none;
    padding: 10px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
}

.pagination .pager_curpage {
    color: #999999;
    cursor: default;
    background-color: #f5f5f5;
}

/* Forms
-----------------------------------------------------------------------------*/
.modal-body .deform-form-fieldset .alert .error-msg-detail {
    border-bottom: 1px dotted;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
}

.edit-form .deform-seq-container .form-group,
.edit-form .deform-seq-container .panel-default {
    border: none;
    margin: 0;
}

.edit-form .deform-seq-container .panel-heading {
    display: none;
    border: none;
}

.edit-form .deform-seq-container .col-xs-1,
.edit-form .deform-seq-container .col-xs-11 {
    width: auto;
}

.edit-form .tab-content > .tab-pane .deform-seq > .panel > .panel-body > .deform-seq-container > .deform-seq-item > .col-xs-1 .close {
    padding-top: 0.75em;
}

/* Dashboard
-----------------------------------------------------------------------------*/
.Layout.home .chart-container {
    display: inline-block;
    margin-right: 10em;
}

/* Properties listing
-----------------------------------------------------------------------------*/
.Layout.properties-listing .item-grid .item-entry.inactive {
    background-color: #F7C2C7;
}

.Layout.properties-listing .dynamic-modal-form .property-info {
    padding: 0.5em 1em;
    margin-bottom: 1em;
}

.open-offer-link .dropdown-item {
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;
}


