﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.layout-normal {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Search input with icon
-------------------------------------------------- */
.search-form-control:focus {
    outline: 0 !important;
    border-color: initial;
    box-shadow: none;
}

/* Larger checkbox
-------------------------------------------------- */
.custom-control-label::before,
.custom-control-label::after {
    top: .2rem;
    width: 1.25rem;
    height: 1.25rem;
}
.custom-control-checkbox {
    margin: 5px 0 0 0;
}


/* Larger checkbox
-------------------------------------------------- */
.bg-ivory {
    background-color: #FEFEFD;
}

.bg-grape {
    background-color: #47454B;
}

.bg-cinnabar {
    background-color: #E93E33;
}

/* Modal */
.modal-header  {
    border-bottom: 2px solid black;
}

.collapsed .fa-chevron-up:before {
    content: "\f078";
}

.collapsed.btn-link,
[data-toggle="collapse"].btn-link:focus {
    text-decoration: none;
}

/* Page banner
-------------- */
.page-banner {
    background-color: #000;
    color: #fff;
    padding: 2em;
}

.page-banner .breadcrumb {
    background-color: transparent;
    padding: 0;
}

    .page-banner .breadcrumb-item + .breadcrumb-item::before {
        color: inherit;
    }

    .page-banner .breadcrumb-item:first-of-type a {
        text-decoration: none;
    }

    .page-banner .breadcrumb-item.active {
        color: inherit;
    }

    .page-banner a {
        color: inherit;
        text-decoration: underline;
    }

    .page-banner .btn-primary {
        background-color: #db4133;
        border-color: #db4133;
        text-decoration: none;
    }


/* Properties filters
--------------------- */

.properties-filters {
}

    .properties-filters li {
        --property-color: white;
        border-bottom: none;
        border-right: none;
        border-left: 0.5rem solid var(--property-color);
        color: black;
        padding: 0;
        transition: background-color 0.25s ease-in;
    }

        .properties-filters li.active,
        .properties-filters li:hover {
            background-color: var(--property-color);
            border-color: rgba(0,0,0,.125);
            border-left-color: var(--property-color);
            color: black;
        }

        .properties-filters li:nth-of-type(1) {
            --property-color: #b7c1f5;
            border-top: none;
        }

        .properties-filters li:nth-of-type(2) {
            --property-color: #F7CA92;
        }

        .properties-filters li:nth-of-type(3) {
            --property-color: #D8E9FD;
        }

        .properties-filters li:nth-of-type(4) {
            --property-color: #F9FCC0;
        }

        .properties-filters li:nth-of-type(5) {
            --property-color: #C7FBD3;
        }

        .properties-filters li:nth-of-type(6) {
            --property-color: #F3BCBA;
        }

        .properties-filters li a {
            color: inherit;
            display: block;
            padding: 1.5em 1em;
        }

            .properties-filters li a:hover {
                text-decoration: none;
            }


/* Properties search
--------------------- */

.properties-search .input-group > .form-control {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    padding: 1.5em 1em;
}

.properties-search .btn {
    background-color: #fff;
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    border-left: none;
    color: #D74C3E;
}

/* Properties sort
--------------------- */

.properties-sort .btn {
    color: #000;
}
    .properties-sort .btn:hover {
        text-decoration: none;
    }

/* Properties list

*/
.properties-list li {
    border-bottom: none;
    border-left: none;
    border-right: none;
}

    .properties-list li:first-of-type {
        border-top: none;
    }

/* Property details

*/
    .btn-property-details {
    color: #D74C3E;
    border-color: #C7C7C7;
    padding: 0.5em 1.25em;
}
