/*
Colours
-----------------------------------------
DS-Tan: FCC79B
DS-Orange: F18721
DS-Burnt Orange: BD3A26
DS-Navy: 1A2B57
*/


:root {
    --row: 100%;
    --col: 100%;
    --dstan: #FCC79B;
    --dsorange: #F18721;
    --dsburnt: #BD3A26;
    --dsnavy: #1A2B57;
}

body {
    font-family: 'Tahoma', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

.hide {
    display: none
}

/**
Top bar styling
 */
.top-bar {
    background-image: linear-gradient(to right, var(--dstan), var(--dsorange), var(--dsburnt), var(--dsnavy) 85%);
    height: 10rem;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
}

.logo {
    height: 8rem;
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 6;
}

#logo {
    height: 100%;
}

footer, header {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
}

footer {
    background-color: var(--dsnavy);
    color: var(--dstan);
    width: 100%;
}

.footer-link {
    display: block;
    padding-left: 3rem;
    text-align: left;
}

.company-details {
    display: block;
    padding-right: 3rem;
    text-align: right;
}

.site-content {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    padding: 1.5em 1.5em 0;
    width: 100%;
}

.site-content::after {
    content: "\00a0";
    display: block;
    margin-top: 1.5em;
    height: 0;
    visibility: hidden;
}

.site-content--full {
    padding: 0;
}

.site-content--full::after {
    content: none;
}

.container {
    max-width: 200rem;
}

.main
    /* Use 'one true layout' methods to get equal height columns */
.content {
    padding: 0 2em 2em 2em;
    margin-top: 2em;
    margin-bottom: 3em;
}

.applet {
    background-color: white;
}


footer a {
    color: var(--dstan);
    text-decoration: none
}

a:focus, a:hover {
    color: var(--dsorange)
}

#overlay, #interactive-overlay, #message-popup {
    z-index: 5100;
    background-color: rgba(0, 0, 0, .8);
    color: var(--dsnavy);
    height: 1000%;
    width: 100%;
    position: absolute;
}

#interactive-overlay {
    z-index: 4900;
}

#message-popup {
    z-index: 5000;
}

#overlay > .panel, #interactive-overlay > .panel, #message-popup > .panel {
    position: fixed;
    overflow: scroll;
}

#message-popup > .panel {
    overflow: inherit;
}

#overlay-content, #interactive-content, #message-content {
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    position: relative;
}

#message-content {
    top: 5%;
    left: 5%;
    width: 90%;
    height: auto;
    position: relative;
}

.popup-button {
    flex-basis: 400px;
}

.next-step {
    width: 100%;
}

.msg-popup-small {
    font-size: 0.75em;
    padding-right: 10px;
}


.group-edit-icon, .group-delete-icon, .task-edit-icon, .task-delete-icon, .user-edit-icon, .user-delete-icon {
    cursor: pointer;
}

.sub-view {
    margin-top: 1em;
}

/*
Table styling
 */
table td {
    vertical-align: top;
    word-break: break-word;
}

/*table {
    background: #fff;
    margin-bottom: 1.25rem;
    border: none;
    table-layout: fixed;
    width: 100%;
}*/

/*table thead {
    background: none;
}*/

table tr {
    border-bottom: 1px solid var(--dstan);
}

table thead tr {
    border-bottom: 1px solid var(--dstan);
}

table tr th {
    color: var(--dsnavy);
    border-bottom: 2px solid var(--dstan);
}

table tr:nth-of-type(even) {
    background: none;
}

td.sub-table {
    padding-left: 100px;
}

.vertical-table th {
    padding: 0.5625rem 0.625rem;
    color: var(--dsnavy);
    text-align: left;
}

.vertical-table {
    vertical-align: middle;
}

.vertical-table td {
    text-align: right;
}

.desc:after {
    content: " \2193";
}

.asc:after {
    content: " \2191";
}

.table-header {
    border-bottom: var(--dsnavy) solid 3px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.table-header a {
    color: var(--dsnavy);
}

.row-selector {
    padding: 5px 0px 5px 0px;
    font-size: 0.87rem;
    color: var(--dsnavy);
}

.row-selector a {
    color: var(--dsnavy);
}

.row-selector:hover {
    background-color: var(--dstan);
    cursor: pointer;
    font-size: 1.3em;
}

.expense-row {
    min-width: 135px;
}

.sum-row {
    margin-top: 5px;
    border-top: var(--dsnavy) 1px solid;
    text-align: right;
}

.table-navigation, .table-ajax {
    cursor: pointer;
}

.row-delete {
    font-weight: bolder;
    font-size: 1em;
    color: red;
    cursor: pointer;
}

/*
Headings styling
 */
.content h3 {
    color: var(--dsburnt);
    padding-bottom: 0.5rem;
    margin-bottom: 0.2em;
}

.content h4 {
    color: var(--dsburnt);
    padding-bottom: 0.5rem;
    margin-bottom: 20px;
    border-bottom: 0.5px solid var(--dsburnt);
}

.content h5 {
    color: var(--dsburnt);
    padding-bottom: 0.5rem;
}

div.related {
    margin-top: 2em;
}

.content .related h4 {
    color: var(--dsburnt);
    padding-bottom: 0.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 0px;
}

a.header-link {
    font-size: 1.2em;
}

a.privacy {
    color: var(--dstan);
}

#chartpanel {
    display: none;
}

.no-data-chart {
    height: 100%;
    line-height: 300px;
    text-align: center;
}

.no-data-chart.generic::after {
    content: "No data to show";
}

/*
Form styling
 */
#filterpanel, #addresspanel {
    display: none;
    margin-bottom: 1rem;
}

fieldset {
    border: none;
    margin: 1.125rem 0;
    width: 100%;
}

fieldset legend {
    border-bottom: 2px solid var(--dsnavy);
    width: 100%;
    text-align: left;
}

form .error-message {
    display: block;
    padding: 0.375rem 0.5625rem 0.5625rem;
    margin-top: -1px;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: normal;
    font-style: italic;
    color: #C3232D;
}

.required > label {
    font-weight: bold;
}

.required > label:after {
    content: ' *';
    color: #C3232D;
}

div.checkbox {
    /*height: 3.8rem;*/
    margin-bottom: 1rem;
}

div.checkbox label {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

div.checkbox label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

div.checkbox label .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

div.checkbox label:hover input ~ .checkmark {
    background-color: #ccc;
}

div.checkbox label input:checked ~ .checkmark {
    background-color: var(--dsnavy);
}

div.checkbox label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

div.checkbox label input:checked ~ .checkmark:after {
    display: block;
}

div.checkbox label .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*
Message styling
 */
div.message {
    text-align: center;
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    background-color: #368a55;
    color: #FFFFFF;
    z-index: 999;
    overflow: hidden;
}

/*div.message:before {
    line-height: 0px;
    font-size: 20px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
    background-color: #FFF;
    padding: 12px 14px 12px 10px;
    content: "i";
    color: #a0d3e8;
}*/

div.message.error {
    background-color: var(--dsburnt);
}

div.message.warning {
    background-color: var(--dsorange);
}

/*div.message.error:before {
    padding: 11px 16px 14px 7px;
    color: var(--dsburnt);
    content: "x";
}*/

div.message.hidden {
    height: 0;
}

/*
Pagination
 */
ul.pagination li a {
    color: rgba(0, 0, 0, 0.54);
    margin: 0 0.5rem;
}

ul.pagination li.active a {
    background-color: var(--dsburnt);
    color: #FFF;
    font-weight: bold;
    cursor: default;
    padding: 0.4rem;
}

ul.pagination .disabled:hover a {
    background: none;
}

.paginator {
    text-align: center;
    margin-top: 2em;
}

.paginator ul.pagination li {
    float: none;
    display: inline-block;
}

.paginator p {
    text-align: right;
    color: rgba(0, 0, 0, 0.54);
}

/*
Highlighting
 */
.complete {
    background-color: var(--dsnavy);
    color: white;
}

.flex-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.flex-form.spaced {
    justify-content: space-around;
}

.flex-section {
    display: flex;
    flex-direction: column;
    margin: 0 5px;
    flex-grow: 1;
}

.edit-form {
    margin-top: 1.2em;
}


.page-header {
    border-style: solid;
    border-width: 1px;
    border-color: #d8d8d8;
    padding: 1.25rem;
    background: #f2f2f2;
    color: #333;
    flex-grow: 1;
    margin-bottom: 1.25rem;
    text-align: center;
}

.content-header {
    border-bottom: 0.2em solid var(--dsburnt);
    justify-content: space-between;
    margin-bottom: 1.2em;
    margin-top: 1.2em;
}

.section-header {
    margin: 1.2em 0 0 0;
    border-bottom: 0.2em solid var(--dsburnt);
    flex-flow: row wrap;
    display: flex;
    justify-content: space-between;
}

.section-status {
    font-size: 2.4rem;
    color: var(--dsburnt);
    padding: 0 2em;
    display: flex;
    align-items: center;
}

.section-status.green {
    color: white;
    background-color: green;
}

.section-status.blue {
    color: white;
    background-color: blue;
}

.section-status.orange {
    color: white;
    background-color: var(--dsorange);
}

.low {
    background-color: #368a55;
    color: white;
}

.medium {
    background-color: var(--dsorange);
    color: white;
}

.high {
    background-color: #C3232D;
    color: white;
}

.section-header h2 {
    margin-bottom: 0;
}

.panel {
    background: #f2f2f2;
    border: solid 1px #d8d8d8;
    color: #333;
    margin-bottom: 1.25rem;
    max-width: 100%;
    padding: 1.25rem;
}

.panel-header {
    border-bottom: 0.5px solid var(--dsburnt);
    display: flex;
    margin-bottom: 0.5em;
}

.panel-header h4 {
    border: 0;
}

.panel > :first-child {
    margin-top: 0
}

.panel > :last-child {
    margin-bottom: 0
}

/*.panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p, .panel li, .panel dl {
    color: var(--dsnavy);
}*/

.panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6 {
    line-height: 1;
    margin-bottom: 0.625rem
}

.panel h1.subheader, .panel h2.subheader, .panel h3.subheader, .panel h4.subheader, .panel h5.subheader, .panel h6.subheader {
    line-height: 1.4
}

.panel.callout {
    border-style: solid;
    border-width: 1px;
    border-color: #d8d8d8;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: white;
    color: #333
}

.panel.callout > :first-child {
    margin-top: 0
}

.panel.callout > :last-child {
    margin-bottom: 0
}

.panel.callout h1, .panel.callout h2, .panel.callout h3, .panel.callout h4, .panel.callout h5, .panel.callout h6, .panel.callout p, .panel.callout li, .panel.callout dl {
    color: #333
}

.panel.callout h1, .panel.callout h2, .panel.callout h3, .panel.callout h4, .panel.callout h5, .panel.callout h6 {
    line-height: 1;
    margin-bottom: 0.625rem
}

.panel.callout h1.subheader, .panel.callout h2.subheader, .panel.callout h3.subheader, .panel.callout h4.subheader, .panel.callout h5.subheader, .panel.callout h6.subheader {
    line-height: 1.4
}


.panel.radius {
    border-radius: 3px
}

.sub-view-links {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.panel-action {
    padding: 0 0.5em;
    font-size: 0.8em;
}

/* Dashboard chart canvas styling */
.dashboard-chart-panel {
    border: solid 1px grey;
    height: 360px;
    margin: 2rem 0;
    padding: 20px;
}

.dashboard-chart-panel.small {
    width: 360px;
}

.dashboard-chart-panel.wide {
    width: 720px;
}

#income-header, #expenses-header, #depreciation-header {
    background: var(--dsnavy);
    color: var(--dstan);
}

.border-bottom td {
    border-bottom: black solid 1px;
    margin-top: 2rem;
}

.border-thick-top td {
    border-top: black solid 5px;
    margin-top: 2rem;
}

.border-thick-bottom td {
    border-bottom: black solid 5px;
}

.income, .expenses, .depreciation {
    visibility: collapse;
}

.bhHeader {
    cursor: pointer;
}

.interest-chart-panel {
    border: solid 1px grey;
    flex-grow: 2;
    margin: 2rem 0;
    max-width: 320px;
    padding: 20px;
    text-align: center;
}

.bmt-logo {
    height: 4rem;
}

.tab-bar {
    border-bottom: 2px solid var(--dsnavy);
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.tab-bar > .column-responsive {
    padding: 0;
}

.tab-bar-item {
    border-top: 1px solid var(--dsnavy);
    border-right: 1px solid var(--dsnavy);
    border-left: 1px solid var(--dsnavy);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 2.5em;
    margin-top: 0.1em;
    padding: 0;
}

.tab-bar-item > h3 {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: var(--dsnavy);
    display: inline-block;
    font-size: 1.2em;
    height: 100%;
    line-height: 2em;
    margin: 0 0 -0.1em 0;
    padding: 0;
    width: 100%;
}

.tab-bar-item.active {
    background-color: var(--dsnavy);
}

.tab-bar-item :hover {
    background-color: var(--dstan);
    color: var(--dsnavy) !important;
}

.tab-bar-item.active :hover {
    background-color: var(--dstan);
    color: var(--dsnavy);
}

.tab-bar-item.active h3 {
    color: var(--dstan);
}

.property-photo {
    padding-top: 2em;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

/*
Spinner styling
 */
@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.spinner {
    height: 70px;
    opacity: 1;
    position: relative;
    transition: opacity linear 0.1s;
}

.spinner::before {
    animation: 2s linear infinite spinner;
    border: solid 3px var(--dsnavy);
    border-bottom-color: var(--dsorange);
    border-radius: 50%;
    content: "";
    height: 60px;
    left: 50%;
    opacity: inherit;
    position: absolute;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    transform-origin: center;
    width: 60px;
    will-change: transform;
}

.helpicon {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--dsburnt);
}

.login {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.side-nav {
    display: block;
    font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0.875rem 0
}

.side-nav li {
    font-size: 0.875rem;
    font-weight: normal;
    margin: 0 0 0.4375rem 0
}

.side-nav li a:not(.button) {
    color: #008CBA;
    display: block;
    margin: 0;
    padding: 0.4375rem 0.875rem
}

.side-nav li a:not(.button):hover, .side-nav li a:not(.button):focus {
    background: rgba(0, 0, 0, 0.025);
    color: #1cc7ff
}

.side-nav li a:not(.button):active {
    color: #1cc7ff
}

.side-nav li.active > a:first-child:not(.button) {
    color: #1cc7ff;
    font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
    font-weight: normal
}

.side-nav li.divider {
    border-top: 1px solid;
    height: 0;
    list-style: none;
    padding: 0;
    border-top-color: #e6e6e6
}

.side-nav li.heading {
    color: #008CBA;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

.field,
input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"],
input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="month"],
input[type="week"], input[type="datetime"], input[type="datetime-local"], input:not([type]), textarea,
select {
    border: solid 1px var(--dsnavy);
    border-radius: 0.3em;
    box-shadow: inset -2px -2px 2px rgba(255, 255, 255, 0.45), inset -2px -2px 2px rgba(60, 61, 64, 0.3);
    height: 1.9em;
    margin-bottom: 5px;
    padding: 0 0.5em 0 0;
    text-align: right;
}

.field.edit {
    box-shadow: inset -2px -2px 2px rgba(255, 255, 255, 0.45), inset 2px 2px 2px rgba(60, 61, 64, 0.3);
    padding: 0 0.3em;
    text-align: left;
}

.description {
    box-shadow: inset -2px -2px 2px rgba(255, 255, 255, 0.45), inset 2px 2px 2px rgba(60, 61, 64, 0.3);
    height: auto;
    max-height: 45rem;
    min-height: 1.9em;
    overflow-y: scroll;
    padding: 0.3em 0.5em;
    text-align: left;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 950px;
    margin: auto;
    background-color: grey;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.mySlides.photo-default {
    display: block;
}

.photo-thumbs {
    margin-top: 2em;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-evenly;
}

.photo-thumbnail {
    cursor: pointer;
}

.photo-thumbnail img {
    padding: 0.2em;
    height: 60px;
}

.photo-thumbnail.active img {
    border: 2px solid var(--dsorange);
}

.photo-thumbnail img:hover {
    border: 2px solid var(--dsburnt);
}

/* Next & previous buttons */
.prev-image, .next-image {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.prev-image {
    left: 0;
}

.next-image {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev-image:hover, .next-image:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Image styling */
.photo-text {
    color: #FFFFFF;
    font-size: 1em;
    padding: 0.2em 1em;
}

.number-text {
    font-size: 0.7em;
    position: absolute;
    top: 0;
}


/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

.table-navigation:hover, .table-ajax:hover {
    background-color: var(--dstan);
}

tbody > tr.nohover:hover {
    background-color: white;
    border-bottom: none;
}

.dashboard-panels {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    margin: 0 auto;
    max-width: 1200px;
}

.dashboard-panels .panel {
    width: 300px;
    height: 150px;
    text-align: center;
    margin: 1em 2em;
}

.dashboard-panels h3 {
    color: var(--dsnavy);
}

.dashboard-panels p {
    text-align: center;
    color: var(--dsburnt);
    font-size: 3em;
    margin-top: 0.4em;
}

.map {
    margin: 30px 30px 0 30px;
}

#map {
    height: 600px; /* The height is 400 pixels */
    width: 100%; /* The width is the width of the web page */
}

/* HTML marker styles */
.address-tag {
    background-color: var(--dsnavy);
    border-radius: 8px;
    color: var(--dsorange);
    padding: 2px 6px;
    position: relative;
}

.address-tag::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 0);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--dsnavy);
}

.map-marker-img {
    height: 35px;
    width: 35px;
}

.fields {
    flex: 1 0 250px;
    min-width: 250px;
    padding: 0 5px;
}

.lead-details {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.property-icons {
    display: flex;
    flex-wrap: wrap;
}

.property-icon-div {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

.property-icon {
    display: inline-flex;
    height: 50px;
    line-height: 50px;
    width: 120px;
}

.main-photo {
    display: inline-block;
}

.no-photo-div {
    align-items: center;
    border: var(--dsnavy) solid 2px;
    display: flex;
    height: 20em;
    justify-content: center;
    padding: 1em;
    text-align: center;
}

/**Feasibility Expenses Styling**/
.feasibility-expenses {
    margin-top: 1rem;
}

.feasibility-expenses-category {
    border: solid;
    cursor: pointer;
    margin-bottom: 1rem;
}

.feasibility-category-details {
    background: var(--dsnavy);
    color: var(--dstan);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 1rem;
    text-align: right;
}

.feasibility-category-left {
    display: flex;
    flex-basis: 600px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feasibility-expenses-details {
    background-color: white;
    padding: 0 1rem;
}

.feasibility-expense-item {
    border: 1px solid var(--dstan);
    cursor: default;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.feasibility-expense-item-header {
    background-color: var(--dstan);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.8rem;
    width: 100%;
}

.feasibility-expense-item-header .input {;
    padding: 0 1.2rem;
}

.feasibility-expense-type {
    background-color: white;
    text-align: left;
}

.feasibility-expense-item-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.8rem;
    width: 100%;
}

.feasibility-expense-item-details .input {
    flex-basis: 200px;
}

.feasibility-expense-item-details .textarea {
    flex-basis: 360px;
}

.group-ajax {
    cursor: pointer;
    border-bottom: solid 1px var(--dsnavy);
}

.group-ajax:hover {
    background: var(--dstan);
}

.select-group {
    background: var(--dstan);
}


/**FAQ Styling**/
.faq-section {
    margin-top: 1.5rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: solid;
}

.faq-heading {
    background: var(--dstan);
    cursor: pointer;
    padding: 0 1rem;
}

.faq-text {
    background-color: white;
    padding: 0 1rem;
}

/*CSS for Benefits page*/
.benefit-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 5rem;
}

.benefit-stage {
    border: 5px solid;
    border-radius: 5rem;
    flex-grow: 1;
    height: 100%;
    margin: 1rem;
    min-height: 320px;
    padding: 1rem 2rem;
    text-align: justify;
    width: 100%;
}

.benefit-header {
    font-size: 3.5rem;
    color: var(--dsnavy);
    margin-bottom: 3rem;
    text-align: center;
}

/*CSS for Pricing page*/
.pricing-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 5rem;
}

.pricing-div {
    border: 5px solid;
    border-radius: 5rem;
    flex-grow: 1;
    margin: 1rem;
    max-width: 450px;
    min-width: 320px;
    padding-top: 1rem;
    text-align: center;
}

.pricing-header {
    font-size: 6rem;
    color: white;
    height: 7rem;
}

.light {
    background-color: var(--dsorange);
    border-color: var(--dsorange);
}

.savvy {
    background-color: var(--dsburnt);
    border-color: var(--dsburnt);
}

.pro {
    background-color: var(--dsnavy);
    border-color: var(--dsnavy);
}

.pricing {
    font-size: 3rem;
}

.pricing-inclusions {
    background-color: white;
    padding: 2rem 0;
}

.pricing-block {
    color: white;
    margin: 1.5rem 0;
}

/*Styling for external task tiles*/
.tasks-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.task-tile-container {
    padding: 0.5rem 1rem;
}


.task-tile {
    border: 5px solid;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    max-width: 360px;
    width: 100%;
}

.task-tile.overdue {
    border-color: red;
}

.task-tile.on-time {
    border-color: #368a55;
}

.external-task-field {
    margin: 1rem;
}

.external-done {
    line-height: 6rem;
    margin: 2rem 1rem;
    text-align: center;
}

.external-task-field.expand-comments {
    cursor: pointer;
}

.external-done .input.checkbox {
    line-height: 2rem;
}

.task-comments {
    display: none;
}

/*Styling for index pages that use tiles*/
.tile-main-div {
    border: 5px solid;
    border-radius: 20px;
    cursor: pointer;
    max-width: 500px;
    margin: 0 1rem 3rem 1rem;
    width: 100%;
}

.tile-main-div.listed, .tile-main-div.active {
    border-color: green;
}

.tile-main-div.inactive {
    border-color: blue;
}

.tile-main-div.draft, .tile-main-div.project {
    border-color: var(--dsorange);
}

.tile-main-div.sold, .tile-main-div.withdrawn {
    border-color: red;
}

.tile-heading {
    color: white;
    display: flex;
    flex-wrap: wrap;
    font-size: 1.2em;
    font-weight: bold;
    justify-content: space-between;
    line-height: 2.4em;
    padding: 0 1em;
    text-align: left;
    width: 100%;
}

.tile-heading.listed, .tile-heading.active {
    background-color: green;
}

.tile-heading.inactive {
    background-color: blue;
}

.tile-heading.draft {
    background-color: var(--dsorange);
}

.tile-heading.sold, .tile-heading.withdrawn {
    background-color: red;
}

.lead-header {
    display: flex;
    flex-wrap: wrap;
    height: 300px;
    position: relative;
}

.tile-photo-div {
    position: relative;
}

.tile-photo {
    padding: 1rem;
    position: relative;
    width: 100%;
}

.property-icons {
    display: flex;
    flex-wrap: wrap;
}

.tile-icon-div {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.5rem;
    justify-content: flex-start;
    width: 100%;
}

.tile-icon {
    display: inline-flex;
    height: 50px;
    line-height: 50px;
    width: 150px;
}

.property-icon {
    display: inline-flex;
    height: 50px;
    line-height: 50px;
    width: 120px;
}

.block-view {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 3rem;
}

.block-outer {
    box-sizing: border-box;
    min-height: 160px;
    padding: 1rem;
    perspective: 600px;
    width: 50%;
}

.block-inner {
    backface-visibility: hidden;
    border-radius: 20px;
    border: 1px #1A2B57 solid;
    box-shadow: 5px 10px #888888;
    box-sizing: border-box;
    min-height: 500px;
    margin: 0 auto;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
    width: 95%;
}

.block-inner.withdrawn, .block-inner.sold {
    border: 2px red solid;
}

.block-inner.draft {
    border: 2px var(--dsorange) solid;
}

.block-inner.listed {
    border: 2px green solid;
}

.block-inner.is-flipped {
    transform: rotateY(180deg);
}

.block-inner-front, .block-inner-back {
    box-sizing: border-box;
    padding: 1rem;
    margin: 0 auto;
    cursor: pointer;
    position: absolute;
    width: 100%;
    min-height: 140px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.block-inner-back {
    transform: rotateY(180deg) translateZ(1em);
    background: inherit;
    border: inherit;
    border-radius: inherit;
    box-shadow: inherit;
    padding-top: 20px;
    position: relative;
}

.block-side {
    height: 18px;
    background-color: #F18721;
    width: 70px;
    font-size: 0.7em;
    color: white;
    display: inline-block;
    position: absolute;
    text-align: center;
    padding: 0;
    line-height: 18px;
}

.block-side-left {
    transform: rotate(-90deg);
    transform-origin: left top;
    bottom: -5px;
    left: 0;
}

.block-side-right {
    top: 0px;
    right: 0;
    padding-right: 6px;
    border: 0;
    border-radius: 0 20px 0 0;
}

.block-header {
    text-align: center;
    font-size: 1em;
    font-weight: bold;
}

.block-name {
    text-align: center;
    font-size: 1em;
    min-height: 1em;
}

.block-table {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.block-details {
    display: inline-block;
    text-align: center;
    font-size: 0.9em;
    width: 49%;
    padding-bottom: 1rem;
}

.block-label {
    font-weight: normal;
    text-align: center;
    color: #1A2B57;
}

div.pac-container {
    z-index: 99999999999 !important;
}

.block-inner.green .block-details .block-label, .block-inner.red .block-details .block-label {
    color: white;
}

/*PropTech Logo styling*/
.ptaa {
    background-color: white;
    padding: 0.2rem;
    text-align: center;
}

@media only screen and (min-width: 740px) {
    #overlay > .panel, #interactive-overlay > .panel {
        top: 15%;
        left: 10%;
        width: 80%;
        height: 70%;
    }

    #message-popup > .panel {
        top: 40%;
        left: 25%;
        width: 50%;
    }
}

@media only screen and (max-width: 900px) {
    .block-view {
        flex-direction: row;
    }

    .block-outer {
        width: 100%;
    }
}

@media only screen and (max-width: 740px) {
    #overlay > .panel, #interactive-overlay > .panel {
        top: 10%;
        left: 5%;
        width: 90%;
        height: 80%;
    }

    #message-popup > .panel {
        top: 25%;
        left: 5%;
        width: 90%;
    }

    .message-image {
        display: none;
    }
}

@media only screen and (max-width: 640px) {
    .row.reverse {
        flex-direction: column-reverse;
    }

    .container {
        padding: 9rem 0;
    }

    .top-bar {
        background-image: none;
        background-color: var(--dsnavy);
        height: 8rem;
        text-align: center;
    }

    .logo {
        height: 6rem;
    }

    .side-nav {
        margin-bottom: 1rem;
    }

    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }

    table tr th {
        border-bottom: 0.1rem solid #e1e1e1;
    }

    table thead td:first-child, table thead th:first-child {
        height: 115px;
    }

    table tr {
        border-bottom: 0;
    }

    table td:first-child, table th:first-child {
        height: 115px;
    }

    table td, table th {
        display: block;
        height: 115px;
        text-align: center;
    }

    .pricing-description {
        display: none;
    }

    .field {
        margin-bottom: 1em;
        margin-top: -0.2em;
    }

    .tab-bar-item h3, .tab-bar-item {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        margin: 0;
    }

    .property-photo {
        width: 100%;
    }

    .sub-view-links {
        flex-direction: row;
        justify-content: space-around;
    }

    .section-status {
        display: block;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .sub-table {
        padding-left: 0;
    }

    .sum-row {
        text-align: center;
    }

    .lead-details {
        flex-flow: column-reverse wrap;
    }

    .property-icon {
        display: inline-flex;
        height: 40px;
        line-height: 40px;
        max-width: 140px;
    }

    .property-icon-div {
        width: 100%;
    }

    .main-photo-div {
        margin: 3rem 0;
        width: 100%;
    }

    .no-photo-div {
        height: auto;
    }

    .company-details, .footer-link {
        padding: 0;
        text-align: center;
    }

    .ptaa {
        display: none;
        padding: 0;
    }
}

@media only screen and (max-width: 390px) {
    .lead-asking-price {
        justify-content: space-evenly;
        line-height: 1.4em;
    }

    .ptaa {
        display: none;
        padding: 0;
    }
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.justify {
    text-align: justify;
    text-justify: distribute;
}

.read_only p {
    background-color: var(--dsburnt);
    color: white;
    text-align: center;
}

input[type='time'] {
    width: 100%;
    font-size: 1em;
    border: 0.1rem solid #d1d1d1;
    height: 38px;
    font-family: Tahoma, sans-serif;
}

.panel-hide {
    display: none;
    margin: 0 auto;
}

.active-hide {
    cursor: pointer;
}

.active-hide div {
    text-align: center;
    width: 100%;
}

p.top {
    font-size: 1.5em;
}

.button, button, input[type="button"], input[type="reset"], input[type="submit"] {
    height: 100%;
}

input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="month"], input[type="week"], input[type="datetime"], input[type="datetime-local"], input:not([type]), textarea, select {
    font-family: inherit;
}

.textgreen {
    color: green;
    font-weight: bold;
}

.textorange {
    color: var(--dsorange);
    font-weight: bold;
}

.textred {
    color: red;
    font-weight: bold;
}

.help {
    display: inline-block;
    content: "\2193";
    text-align: center;
    width: 100%;
}

.helpicon {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--dsburnt);
}

.helplink, .helpicon {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 4.5rem;
}

.helpicon .helptext, .helplink .helptext {
    width: 280px;
    top: var(--row);
    left: var(--col);
    margin-left: -140px;
}

.helplink:hover .helptext, .helpicon:hover .helptext {
    visibility: visible;
}

.helptext {
    visibility: hidden;
    width: 180px;
    background-color: var(--dstan);
    color: var(--dsnavy);
    text-align: left;
    padding: 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}

.help-section {
    list-style-type: none;
    padding-left: 2rem;
}

div.heatmap {
    overflow-x: scroll;
    padding: 0 10px 25px 0;
}

table.heatmap {
    min-width: 900px;
}

.hm-master-row {
    border: none;
}

.hm-yaxis-label {
    white-space: nowrap;
    border: none;
    padding: 0;
}

.hm-yaxis {
    -moz-transform: rotate(-90.0deg); /* FF3.5+ */
    -o-transform: rotate(-90.0deg); /* Opera 10.5 */
    -webkit-transform: rotate(-90.0deg); /* Saf3.1+, Chrome */
    width: 33px;
}

.hm-results-table {
    width: 100%;
    margin: 0;
}

.hm-results-label {
    width: 2%;
    min-width: 60px;
    border: none;
    padding: 0;
}

.hm-results-cell {
    width: 8.5%;
    padding: 0;
    border: 0.1rem solid #e1e1e1;
}

.hm-results-cell.initial {
    border: 5px solid black;
}

.hm-xaxis-label {
    width: 8.5%;
    border: none;
    padding: 0;
    text-align: center;
}

.hm-xaxis {
    border: none;
    text-align: center;
}

.hm-xaxis-label.low-label {
    padding-top: 1rem;
}

.hidden {
    display: none;
}

/*Help page styling*/
.help-steps {
    margin-top: 30px;
}

.help-sub-table {
    margin-left: 50px;
}

.help-sub-flex {
    margin-left: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.help-sub-item {
    margin: 0px 20px 10px 20px;
}

/* Conversation page styling */
.conversation {
    margin-top: 1.2rem;
}

.conversation-header {
    font-size: 1.2rem;
}

.msg-display {
    padding: 0.5rem;
}

.conversation .from {
    background-color: #ddddee;
}

.conversation .to {
    background-color: beige;
}

/*  div.input.file {
    background-color: var(--dsnavy);
    border: 0.1rem solid var(--dstan);
    border-radius: .4rem;
    color: var(--dstan);
    cursor: pointer;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    height: 4.8rem;
    letter-spacing: .1rem;
    line-height: 3.8rem;
    padding: 0 3.0rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 300ms ease-out;
    white-space: nowrap;
    -webkit-appearance: none;
    -moz-appearance: none;
}

div.input.file:hover {
    background-color: var(--dstan);
    border-color: var(--dsnavy);
    color: var(--dsnavy);
    outline: 0;
}
div.input.file::after {
    content: "Select Images";
}

.fileUpload {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}*/

/*
QAS Address Formatting
 */
.address-picklist > div:hover {
    background-color: var(--dstan);
}

.address-picklist > div {
    cursor: pointer;
}

form {
    width: 100%;
}
