@import url('https://fonts.googleapis.com/css?family=Nunito+Sans:400,700,900');

body {
    font-family: 'Nunito Sans';
    font-size: 16px;
    padding-left: 48px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #900;
    font-weight: bold;
}

.navbar {
    background-color: white;
    border-color: #c99;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.navbar .navbar-brand,
.navbar .navbar-nav > li > a,
.navbar .navbar-nav > li > .btn-link {
    color: #bf0000;
    font-weight: bold;
}

.navbar .navbar-brand {
    padding-bottom: 0;
    padding-top: 0;
}

.navbar .navbar-brand img {
    height: 100%;
    width: auto;
}

.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > .btn-link:hover {
    background-color: #bf0000;
    color: white;
}

.navbar .navbar-nav > li > .btn-link {
    border: 0;
    display: block;
    margin: 0;
    padding: 15px;
    text-decoration: none;
}

.navbar-toggle .icon-bar {
    background-color: #c00;
}

.h1-button {
    float: right;
    margin-left: 14px;
    margin-top: 23px;
}

.h1-form {
    float: right;
    margin-top: 10px;
}

.page-header {
    margin-top: 20px;
}

.page-header .h1-form {
    margin-top: -6px;
}

.btn .glyphicon {
    vertical-align: -1px;
}

th {
    background-color: #faf4f4;
}

a {
    color: #bf0000;
}

a:hover {
    color: #f33;
}

.form-control {
    font-size: 16px;
}

/* Wrapping element */
.body-content {
    min-height: calc(100vh - 73px); /* make sure footer is at bottom on shorter pages */
    padding: 30px 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display: inline-block;
    content: "[";
    padding-right: 0.5em;
}

.btn-bracketed::after {
    display: inline-block;
    content: "]";
    padding-left: 0.5em;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.editor-project-date {
    padding-top: 5px;
    padding-bottom: 5px;
}

.editor-project-date .row .row {
    padding-top: 3px;
    padding-bottom: 3px;
}


.mapview-ct {
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 48px;
    position: fixed;
    right: 0;
    top: 0;
}

.mapview-header {
    background-color: #f5f0f0;
    border-bottom: 1px solid #c99;
    flex-shrink: 0;
    overflow: hidden;
    padding: 8px 15px;
}

.mapview-header h1 {
    font-size: 1.5em;
    line-height: 1.5;
    margin: 0;
}

.mapview-header h1 small {
    font-size: .5em;
}

.mapview-header .logo {
    margin-right: 8px;
    margin-top: -8px;
}

.mapview-cols {
    align-items: stretch;
    display: flex;
    flex: 1;
    overflow: hidden;
}

.mapview-cols + hr {
    display: none;
}

.mapview-col {
    overflow: auto;
    overflow-y: scroll;
}

.mapview-col--sm {
    border-right: 1px solid #c99;
    max-width: 320px;
    padding: 0 15px 15px;
}

.mapview-col--fill {
    flex: 1;
}

footer {
    background-color: #f5f0f0;
    border-top: 1px solid #c99;
    bottom: 0;
    left: 48px;
    margin-top: 30px;
    padding: 10px 0;
    right: 0;
}

.mapview-ct + footer {
    display: none;
}

footer p {
    margin: 0;
    text-align: right;
}

.PublicListFilterForm {
    padding-top: 10px;
}

.PublicListFilterForm ul {
    list-style: none;
    margin: 0 0 1.5em;
    padding: 0;
}

.PublicListFilterForm label {
    font-weight: normal;
}

.projects-list {
    list-style: none;
    margin: 0 -15px;
    padding: 0;
}

.projects-list .project {
    border-top: 1px solid #ddd;
    display: flex;
    padding: 15px;
}

.projects-list .project.is-selected {
    background-color: #fbdfdf;
    border-color: #c99;
}

.projects-list .project.is-selected + .project {
    border-color: #c99;
}

.projects-list > li:last-child {
    border-bottom: 1px solid #ddd;
}

.projects-list .project-photo {
    margin-right: 15px;
}

.projects-list img {
    object-fit: cover;
}

.projects-list .project-info {
    flex: 1;
}

.projects-list .project-meta {
    font-size: .75em;
    margin-bottom: .25em;
}

.project-list-details {
    font-size: .875em;
}

.projects-list h4 {
    font-size: 1em;
    margin: 0 0 .125em;
}

.projects-list .project-phase {
    color: #900;
}

.projects-list ul {
    list-style: square;
    margin-left: 0;
    padding-left: 1.125em;
}

.project-list-details .label {
    padding: .3em .6em;
}

.mapview-map-ct {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.mapview-map {
    flex: 1;
}

.project-details {
    border-left: 1px solid #c99;
    display: none;
    padding: 15px;
    position: relative;
}

@keyframes spin { from { transform: rotate(-360deg); } }

.project-details-loading::before {
    animation: spin .3s infinite linear;
    border: 5px solid #eee;
    border-top-color: #ccc;
    border-radius: 20px;
    content: '';
    display: block;
    height: 40px;
    left: 50%;
    margin-left: -20px;
    position: absolute;
    top: 120px;
    width: 40px;
}

.project-details header {
    align-items: flex-start;
    display: flex;
    padding: 10px 0 10px 10px;
    width: 400px;
}

.project-details-title {
    flex: 1;
    margin: 0;
    transition: .5s;
}

.project-details-loading .project-details-title {
    color: #ccc;
    transition: none;
}

.project-popup-photo {
    height: auto;
    margin-top: 5px;
}

.project-popup-info {
    font-family: 'Nunito Sans';
    margin-top: 10px;
}

.project-popup-phase {
    color: #900;
}

.project-popup-address {
    font-size: 14px;
    margin: 2px 0;
}

.project-popup-details-link {
    font-size: 1em;
    padding: 0;
}

.has-details-open .project-popup-details-link {
    display: none;
}

.project-details-close {
    background: none;
    border: 0;
    line-height: 1;
    margin: -5px -20px 0 0;
    padding: 10px;
}

.project-details-contents {
    box-sizing: content-box;
    padding: 10px;
    transition: .5s;
    width: 400px;
}

.project-details-loading .project-details-contents {
    opacity: 0;
    transform: translateY(.5em);
    transition: none;
}

.project-details-heading {
    break-before: column;
    font-size: 1em;
    margin-bottom: .25em;
    margin-top: 1.5em;
}

.project-details-photo {
    height: auto;
}

.project-details-gallery-list {
    list-style: none;
    margin: 0 0 10px;
    overflow: hidden;
    padding: 0;
}

.project-details-gallery-item {
    float: left;
    opacity: .4;
}

.project-details-gallery-image {
    object-fit: cover;
}

.project-details-gallery-item.is-selected {
    opacity: 1;
}

.project-details-phase-list {
    background-image: linear-gradient(to bottom, transparent 44%, #ddd 44%, #ddd 48%, transparent 48%);
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0 10px;
}

.project-details-phase {
    box-sizing: content-box;
    width: 1.5em;
    padding: 5px 6px;
    border: 3px solid transparent !important;
}

.project-details-phase.is-current {
    border: 3px solid #900 !important;
}

.two-col {
    columns: 2;
}

.project-details-features {
    list-style: square;
    margin: 0;
    padding: 0 0 0 1.125em;
}

.project-details-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-details-link-item {
    display: inline;
    margin-right: .5em;
}

.project-details-link-item .glyphicon {
    font-size: 11px;
}

.chooser-layout {
    align-items: center;
    display: flex;
    min-height: 40vh;
    text-align: center;
}

.chooser-choice {
    flex: 1;
}

.chooser-choice .form-control {
    display: block;
    margin: 10px auto;
}

.chooser-conjunction {
    color: #777;
    margin: 0 50px;
}

.multi-editor {
    margin-bottom: 15px;
}

.multi-editor-item {
    margin-bottom: 15px;
}

.multi-editor--bordered .multi-editor-item {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.multi-editor-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}


.multi-editor-inner {
    align-items: flex-end;
    display: flex;
}

.multi-editor-field {
    margin-right: 15px;
    width: 180px;
}

.multi-editor-field--lg {
    width: 270px;
}

.multi-editor-img {
    height: auto;
    width: 150px;
    background-image: url('/images/property-default.png');
    background-size: contain;
    min-width: 150px;
    display: inline-block;
    min-height: 84px;
}

.multi-editor-field input,
.multi-editor-field select,
.multi-editor-field textarea {
    max-width: none;
    width: 100%;
}

.dl-inline .dli {
    display: inline-block;
    margin-right: 30px;
}

.dl-inline dd {
    color: #777;
}

.ledger-lines-transactions {
    border: 1px dotted grey;
    margin-bottom: 20px;
}

.glyphicon {
    -webkit-font-smoothing: antialiased;
}

td.sub-total,
th.sub-total {
    border-bottom: 1px solid black !important;
    text-align: right;
}

td.grand-total,
th.grand-total {
    border-bottom: 3px double black !important;
    font-weight: bold;
    text-align: right;
}

.press-items {
    padding: 0;
}

.press-item {
    list-style: none;
    margin: 3em 0 2em;
}

.press-link:hover {
    text-decoration: none;
}

    .press-link:hover .press-headline {
        color: red;
    }

.press-img {
    display: block;
    height: auto;
    max-width: 100%;
}

.press-headline {
    font-size: 1.25em;
    line-height: 1.3333;
    margin: 1em 0 0;
}

.press-meta {
    font-size: 0.875em;
    margin: 0.125em 0 0.5em;
}

.press-excerpt {
    border: 0;
    color: #888;
    margin: 0;
    padding: 0;
}