/* Color Settings */
body {
    background-color: white;
}

.white-bg {
    padding-bottom: 4.5em;
}

.highlight-color {
    background-color: #4c89bf !important;
}

.form-control:focus {
    border-color: #4E96CA !important;
}

.btn-primary {
    background-color: #4c89bf;
    border-color: #4c89bf;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary:active:hover,
.btn-primary:focus {
    background-color: rgba(76, 137, 191, 0.7);
    border-color: rgba(76, 137, 191, 0.7);
}

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #5cb85c;
}
.btn-success:hover,
.btn-success:active,
.btn-success:active:focus,
.btn-success:active:hover,
.btn-success:focus {
    background-color: rgba(92, 184, 92, 0.7);
    border-color: rgba(92, 184, 92, 0.7);
}

.form-control, .input-group-addon {
    background-color: rgba(204, 204, 204, 0.4);
    color: #333;
}

.form-control:focus {
    background-color: white;
}

a {
    color: #1e73be;
}

p{
    font-size: 14px;
}

.progress-bar-success {
    background-color: #5cb85c;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover {
    background-color: #4c89bf;
}

.modal-header-danger{
    color:#fff;
    padding:9px 15px;
    background-color: #ed5565;
    border-bottom:1px solid #eee;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* Helper classes */
.pointer {
    cursor: pointer;
}

.checkbox input[type=checkbox] {
    margin: 0;
}

/* textarea resizing */
textarea {
    resize: none;
}

textarea.form-control {
    height: 100%;
}

@media (min-width: 768px) {
    .row.is-flex {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .row.is-flex > [class*='col-'] {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .row.is-flex > [class*='col-'] > .row,
    .row.is-flex > [class*='col-'] > .row > [class*='col-'] {
        height: 100%;
    }

    .row.is-flex > [class*='col-'] > .row > [class*='col-'] > .form-group {
        height: 100%;
        margin-bottom: 0;
        padding-bottom: 15px;
    }
}

/* Footer */
.footer {
    color: white;
}

.footer-link {
    color: white;
    text-decoration: underline;
}

.footer.fixed {
    margin-left: 0;
}

/* Header */
.navbar {
    border-bottom: 1px solid #e7eaec;
}

.navbar-brand > img {
    height: 100%;
}

.navbar-brand {
    /* reset all default padding, set padding left */
    padding: 0 0 0 1.25em;
}

.nav.navbar-top-links > li > a:hover,
.nav.navbar-top-links > li > a:focus {
    background-color: #eee;
}

a.navbar-toggle,
a.navbar-toggle:visited {
    background: none transparent;
    color: #676A6C;
    position: absolute;
    right: 1em;
}

a.navbar-toggle:hover,
a.navbar-toggle:focus {
    background-color: rgba(204, 204, 204, 0.4);
    color: #676A6C;
}

@media only screen and (min-width: 768px) {
    .navbar-toggle {
        display: inline;
    }

    .navbar-right {
        margin-top: 3.125em;
    }
}

/* Middle Box */

.middle-box h1, h1 {
    font-size: 1.875em;
    color: #1e73be;
}

.middle-box {
    padding-left: 1em;
    padding-right: 1em;
}

/* Table view */
tr td.selectable:last-child,
tr td.unselectable:last-child {
    text-align: center;
}

td.unselectable:last-child:before {
    content: "\f023"; /* fa-lock */
    font-family: FontAwesome;
}

tr td.selectable:last-child:before {
    content: "\f096"; /* fa-square-o */
    font-family: FontAwesome;
}

tr.selected td.selectable:last-child:before {
    content: "\f046"; /* fa-check-square-o */
    font-family: FontAwesome;
}

#deleteButton.btn {
    white-space: normal;
}

.dataTables_wrapper {
    padding-bottom: 1.5em;
}

/* select2 styling */

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-radius: 1px;
    background-color: rgba(204, 204, 204, 0.4);
    border: none;
    height: inherit;
    font-size: 14px;
    padding: 2px 4px;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    background-color: white;
    border: 1px solid #4E96CA;
    border-bottom: none;
}

.has-error .select2-container--default .select2-selection--single,
.has-error .select2-container--default .select2-selection--multiple{
    border: 1px solid #ed5565;
}

/* Ibox */
.ibox {
    margin-bottom: 0.5em;
}

.ibox-title {
    border: none;
    padding: 1em 1em;
}

.ibox-content {
    border: none;
    padding-top: 0;
}

h5 {
    font-weight: normal;
}

.content {
    padding-left: 1em;
}

/* Document list */
.document:hover,
.mutuality:hover {
    background-color: rgba(204, 204, 204, 0.4);
}

.upload-button {
    margin: 20px 0;
}

.list-group.clear-list li.list-group-item.document,
.list-group.clear-list li.list-group-item.mutuality {
    padding: 0;
}

li.document > .row > div,
li.mutuality > a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #676a6c;
}

li.mutuality > a:focus,
li.mutuality > a:hover{
    color: #676a6c;
}

/* Search bar */
#search-bar-button {
    padding: 0;
    border-radius: 0;
    border: 0;
}

#search-all-button {
    border-radius: 0 1px 1px 0;
}

@media only screen and (min-width: 768px) {
    #search-all-button {
        min-width: 8em;
    }

    #search-result > div {
        margin-top: inherit;
    }
}

#search-result.small-result > div {
    padding: 0;
}

#search-result.row {
    margin-top: -15px;
}

#search-result > div > ul {
    border: 1px solid #e7eaec;
    position: absolute;
    z-index: 999;
    width: 100%;
    background: white;
}

#search-result > div > ul > li {
    padding: 0;
}

#search-result > div > ul > li > a {
    color: #676a6c;
    display: block;
    padding: 10px;
}

#search-result > div > ul > li > a:hover {
    background-color: rgba(204, 204, 204, 0.4);
}

.input-loading {
    background: rgba(204, 204, 204, 0.4) url("/images/ajax-loader-800859dadcd4f157a59f606ea9126efa.gif") no-repeat right center;
}

.button-loading {
    background: url("/images/ajax-loader-800859dadcd4f157a59f606ea9126efa.gif") no-repeat right center;
}

/* userRoles checkboxes */

.user-roles-group > .checkbox {
    padding: 6px;
    background: rgba(204, 204, 204, 0.4);
    margin: 0;
    border: 1px solid #e5e6e7;
    border-radius: 1px;
}

.user-roles-group > .checkbox > label {
    margin-left: 1em;
}

/* invoice template */
.paloma-brand{
    font-size: 3em;
}

@font-face {
    font-family: GeoSansLight;
    src: url('/fonts/GeoSansLight.ttf');
}

.paloma-brand-sub{
    font-size: 1.2em;
}

.paloma-brand, .paloma-brand-sub{
    font-family: GeoSansLight, Helvetica;
}