.ablated {
    font-weight: bold;
    color: #cc0000;
}

.anchor-in-btn button {
    color: #fff;
}

.anchor-in-btn button a:hover,
.anchor-in-btn button a:link,
.anchor-in-btn button a:visited,
.anchor-in-btn button a:focus{
    color: #fff;
}

.btn-file-simple {
    position: relative;
    overflow: hidden;
}

.btn-file-simple input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.centered {
    text-align: center;
}

.centered-xy {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.cola-data-table {
    border: 1px #000 solid;
}

.cola-data-table th, .cola-data-table td {
    padding: 3px;
}

.short-table {
    border: 0 #000 solid;
}

.short-table th, .short-table td {
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 0;
    padding-bottom: 0;
}

.cola-image {
    overflow: hidden;
}

.computed-attribute {
    color: #880000;
}

.container {
    padding-left: 5px;
    padding-right: 5px;
}

.decorator-div {
    max-width: 100%;
    max-height: 100%;
    margin: 0 0 0 0 !important;
}

.decorator-div-wrapped {
    max-width: 100%;
    max-height: 100%;
    margin: 0 0 0 0 !important;
}

.decorator-img {
    height: auto;
    max-width: 100vh;
    max-height: 100vh;
}

.decorator-img-wrapped {
    height: auto;
    max-width: 100vh;
    max-height: 90vh;
}

.details-attribute {
}

.details-attribute-value {
}

.details-row {
}

.details-vignette {
    /*
    position: fixed;
    bottom: 30px;
    right: 30px;
    text-align: center;
    */
    max-width: 100%;
    max-height: 100%;
    opacity: 1.0;
    overflow: auto;
    overflow-x: hidden;
    z-index: 10000;
}

.empty-label {
    min-height:34px;
}

.empty-widget {
    min-height:35px;
    margin-bottom:5px;
}

.flavour-profile-image {
    width: 290px;
    height: 290px;
    float: right;
}

.flavour-profile-matching-image {
    width: 290px;
    height: 290px;
}

.flavour-profile-image-small {
    width: 150px;
    height: 150px;
}

h1 {
    text-align: center;
}

.hero-image {
    border: 3px #A00 solid;
    max-width: 800px;
    max-height: 500px
}

.json {
    max-width: 800px;
    max-height: 200px;;
    overflow: scroll;
    border: 3px #A00 solid;
}

.json-unbounded {
    max-width: 1024px;
    border: 3px #A00 solid;
}

.label_rect {
    outline: 2px red solid;
    z-index: 2;
    position: absolute;
    opacity: 0.75;
}

.large-image {
    border: 1px #A00 solid;
    max-width: 1024px;
    max-height: 1024px
}

.medium-image {
    border: 1px #A00 solid;
    max-width: 600px;
    max-height: 500px
}

.zip-code-logo-image {
    max-width:  120px;
    max-height: 120px;
    margin-right: 10px;
}

.monospace {
    font-family:Courier, monospace
}

.negation {
    padding-left: 10px;
}

.nowrap-widget {
    white-space: nowrap;
    display: inline-block;
}

.overlay {
    position: relative;
    margin: 0 10px 10px 0;
}

.padded-table th, .padded-table td {
    padding-left: 3px;
    padding-right: 3px;
}

.panel {
    border: 1px #ddd solid;
}

.param-label {
    overflow:hidden;
    white-space: nowrap;
    margin-bottom: 5px;
    min-height: 34px;
}

.param-widget {
    margin-bottom: 5px;
    min-height: 40px;
}

.search-hit {
    border: 3px #A00 solid;
    margin-bottom: 15px;
    padding: 5px;
}

.separator {
    display: block;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: 150px;
    margin-right: 150px;
    border-style: inset;
    border-width: 3px;
}

.similar-profile-table th, .similar-profile-table td {
    padding-left: 3px;
    padding-right: 3px;
    text-align: center;
}

.slider.slider-horizontal .tooltip {
    -ms-transform: translate(-50%,50%);
    transform: translate(-50%,50%);
}

.small-image {
    border: 1px #A00 solid;
    max-width: 350px;
    max-height: 225px
}

.thumbnail {
    border: 1px #A00 solid;
    max-width: 150px;
    max-height: 100px;
    padding: 0;
    margin-bottom: 0;
}

.tool-icon {
    max-width: 20px;
    max-height: 20px
}

.upload-drop-zone {
    height: 50px;
    border-width: 2px;
    margin-bottom: 20px;
}

.upload-drop-zone {
    color: #ccc;
    border-style: dashed;
    border-color: #ccc;
    line-height: 50px;
    text-align: center
}

.upload-drop-zone.drop {
    color: #222;
    border-color: #222;
}

.vintage_rect {
    outline: 2px #0000ff solid;
    z-index: 2;
    position: absolute;
    opacity: 0.75;
}

.waiting-div {
    z-index: 10000;
}

.waiting {
    margin-left: 2px;
    margin-top: 7px;
    margin-right: 2px;
    margin-bottom: 7px;
}

.waiting-text {
    font-weight: bold;
    font-style:italic;
    font-size: 80%;
}

.wine-engine-score {
    text-align: center;
}

.deeppunt-color {
    color: #e55356;
}

/* Standard width of scanned COLA is 2550, so fractionally scale for any
   media smaller than this.
 */
.scaledToScreenImage {}

@media (max-width: 2570px) {
    .scaledToScreenImage {
        width: 1912px;    /* = 75% */
    }
}

@media (max-width: 1900px) {
    .scaledToScreenImage {
        width: 1683px;  /* = 67% */
    }
}

/* Extra-Large devices (large desktops, 1600px and up) */
@media (min-width: 1580px) {
    .container {
        width: 1550px;
    }

    .small-image {
        border: 1px #A00 solid;
        max-width: 550px;
        max-height: 400px
    }
}

/* Even larger devices (large desktops, 1900px and up)
   If you've got a 4k screen, and want it wide, then at least don't punish! */
@media (min-width: 1880px) {
    .container {
        width: auto;
    }

    .small-image {
        border: 1px #A00 solid;
        max-width: 800px;
        max-height: 600px
    }
}

/* Used by the label extractor */
.outsideWrapper{
    margin:5px 5px;
    display: block;
}

.insideWrapper{
    position:relative;
}

.coveredImage{
    position:absolute; top:0; left:0;
    border: 1px #000 solid;
}

.coveringCanvas{
    position:absolute; top:0; left:0;
    z-index: 20000;
}

.preview{
    border:1px solid blue;
    max-width: 100px;
    max-height: 100px;
}

.rot0 {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

.rot1 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.rot2 {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.rot3 {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.bordered{
    border: 1px solid blue;
}

.clip-div {
    overflow: hidden;
}

.vintage-overlay {
    position: relative;
}

.vintage-overlay span {
    position: absolute;
    bottom: 3px;
    right: 3px;
    color: #000;
    background-color: #fff;
    border: 1px solid blue;
    padding: 1px;
    font-size: 75%;
    z-index: 10000;
}

.back-label-text {
    color: #001E57;
    font-size: 75%;
}

.label-alert {
    background-color: #A00;
}

.alert-below {
    background-color: #ec7d77;
}

/* ====================================================================== */

.row {
    padding-left: -5px !important;
    padding-right: -5px !important;
}

.col-sm-12 {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.panel-body {
    padding: 10px;
}

.panel-title {
    display: inline-flex;" +
}

.param-box {
    border: 1px #c4c4c4 solid;
    padding-right:7px;
    padding-left:10px;
}

.param-label {
    min-height: auto;
}

.param-widget {
    padding-left: 10px !important;
}

.parti-coloured {
}

.parti-coloured:nth-child(even) {
   background: #DDD;
}

.parti-coloured:nth-child(odd) {
   background: #FFF;
}


.coefficient {
   color: #C00;
}


.widget-group-heading {
   color: #C00;
   background-color: #DDD;
}

.waiting256 {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 256px;
    height: 256px;
    margin-left: -128px;
    margin-top: -128px;
    z-index: 10000;
}

.command-buttons {
    padding-left:  2px;
    padding-right: 2px;
    padding-bottom: 3px;
    position: sticky;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    white-space: nowrap;
}

.container {
    padding-left: 2px;
    padding-right: 2px;
}

.whats-this {
    cursor: help;
    color: #2C2CCC;
}

.whatsThisCrosslink {
    cursor: help;
    color: #2C2CCC;
}

.search-notification {
    background-color: rgba(183, 183, 183, 0.3);
    z-index: 10000;
    position: absolute;
    font-size: 18pt;
    font-weight: bold;
    text-align: center;
    width:60%;
    left:20%;
    top:20px;
    /* -webkit-text-stroke: 1px white; */
    color: black;
    text-shadow:
    1px 1px 0 #FFF,
    -1px -1px 0 #FFF,
    1px -1px 0 #FFF,
    -1px 1px 0 #FFF,
    1px 1px 0 #FFF;
}

.sortable-constraints {
  cursor: grab;
  overflow-x: auto;
  overflow-y: hidden;
  padding-left: 3px;
}

.drop-placeholder {
  background-color: lightgray;
  height: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 20px;
}

.sortable-constraints .list-group-item {
  padding: 3px;
  white-space: nowrap;
  overflow-x: hidden;
}

.compact-dl dt {
    float: left;
    clear: left;
    width: 100px;
    text-align: left;
    font-weight: bold;
    padding-right:5px;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    color:gray;
}

.disabled-with-tooltip {
    cursor: default;
    color:gray;
}

#modal-notification {
    z-index: 20000;
}

#modal-notification h2 {
    margin-top: 10px;
}

#modal-notification .modal-dialog {
    margin: 130px auto;
    width: 800px;
    max-width: 95%;
}

#modal-notification .modal-title {
    display: inline;
    margin-right: 30px;
}

#modal-notification .close {
    margin-top: 0;
}

#modal-notification .modal-body {
    height: 600px;
    overflow: auto;
}

#modal-notification .container {
    width: 700px;
    max-width: 95%;
}

#modal-notification .param-widget {
    min-height: 30px;
}

#modal-notification .big-img {
    border: 2px #000 solid;
    max-width: 100%;
}

.widgets-group {
    width:100%;
    display:inline-block;
}

.disabled-select {
    color: #888;
}

.widget-block {
    margin-bottom: 0;
}

.widget-toggler {
    padding-left: 10px;
    padding-right: 10px;
}

.endpointL {
    display: inline-block;
    width: 35px;
    text-align: right;
    padding-right: 50px;
}

.endpointR {
    display: inline-block;
    width: 60px; /* Was 80px */
    text-align: left;
    padding-left: 10px;
}

.endpointRNarrow {
    display: inline-block;
    text-align: left;
    padding-left: 10px;
}

.slider.slider-horizontal {
    width: 125px; /* Was 100px */
}

/* Start of negation checkbox */
/* Taken from https://www.html5canvastutorials.com/blog/2012/06/custom-form-radio-checkbox/ */
.negation-checkbox {
    -webkit-appearance: none;
    background-color: #fafafa;
    border: 1px solid #cacece;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0 -15px 10px -12px rgba(0,0,0,0.05);
    padding: 9px !important;
    border-radius: 3px;
    display: inline-block;
    position: relative;

    margin-bottom: -3px !important;
    padding-bottom: 6px !important;
}

.negation-checkbox:active, .negation-checkbox:checked:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0 1px 3px rgba(0,0,0,0.1);
}

.negation-checkbox:checked {
    background-color: #FFF;
    border: 1px solid #adb8c0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0 -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: #000;
}

.negation-checkbox:checked:after {
    content: '\00AC'; /* Unicode negation character */
    font-size: 14px;
    position: absolute;
    top: 0;
    left: 3px;
    color: #000;
}
/* End of negation checkbox */

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover{
    color: #fff;
    background-color: #000;
}

.relaxation_suggestion {
    font-weight: bold;
    cursor: pointer;
}

.generic-close-x {
    cursor: pointer;
    font-size: 30px;
    color: #000 !important;
}

/* Listings stuff  */

.listings-close-x {
    position: fixed;
    top: 10px;
    right: 18px;
    z-index: 50000;
}

.list-hub-listings {
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1000;
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background-color: #FFF;
    cursor: pointer;
}

.list-hub-listings ul {
    padding: 0;
    margin: 0;
}

.list-hub-listing {
    padding: 0;
    margin: 0;
    position: relative;
    width: 300px;
    text-align: center;
    background-color: #737373;
    min-height: 200px;
}

.list-hub-listing h2 {
    font-size: 14px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.list-hub-listing a {
    color: #fff
}

.list-hub-listing img {
    max-width: 300px;
    max-height: 200px;
    text-align: center;
}

.listing-marker-label {
    color: #000;
    font-size: 24px;
    background-color: #FFF;
}

#listing-modal {
    z-index: 20000;
    overflow: initial;
    height: 100vh;
}

#listing-modal h2 {
    margin-top: 10px;
}

#listing-modal .modal-dialog {
    width: initial;
    margin: 20px;
}

#listing-modal .modal-title {
    padding-left: 20px;
    display: inline-block;
    padding-right: 20px;
    top: 10px;
    position: absolute;
    max-height: 35px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 80%;
    font-size: 24px;
}

#listing-modal .close {
    margin-top: 0;
}

#listing-modal .modal-body {
    overflow: auto;
}

#listing-modal .container {
    width: 700px;
    max-width: 95%;
}

#listing-modal .param-widget {
    min-height: 30px;
}

#listing-modal .big-img {
    border: 2px #000 solid;
    max-width: 100%;
}

.uc-listingCard-caption-highlight {
    background-color: #0e0067 !important;
}

.uc-listingCard-caption {
    font-size: 14px;
    color: #FFF;
    position: absolute;
    bottom: 0;
    padding-left: 5px;
    padding-bottom: 5px;
    background-color: rgba(0,0,0,0.25);
    width: 100%;
}

.listing-flex {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-end;
}

.uc-listingCard-caption h2 {
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 14px;
}

.uc-listingCard-caption a {
    color: #FFF;
    text-decoration-line: none;
}

.uc-listingCard-leftWrapper {
    width: 50%;
    text-align: left;
}

.uc-listingCard-mainStats {
    font-size: 18px;
}

.uc-listingCard-title {
}

.truncate-overflow-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uc-listingCard-subStats {
    text-align: center;
    align-items: flex-end;
}

.uc-listingCard-subStat {
}

.uc-listingCard-subStat {
    display:inline-block;
    position:relative;
    padding:0 5px;
    white-space:nowrap
}

.uc-listingCard-subStat.listing-separator:after {
    content:"";
    display:inline-block;
    position:absolute;
    top:3px;
    right:0;
    bottom:2px;
    border-right:1px solid #8d8d8d;
    vertical-align:middle
}

.listing-details {
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px;
    margin: 20px;
    background-color: #FFF;
}

.listing-details-banner {
}

.listing-details-block {
    float: left;
}

.listing-details-street-address {
}

.listing-details-street-address h1 {
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: left;
}

.listing-details-address-rest {
    font-weight: 400;
    font-size: 14px;
}

.listing-price-block {
    float: right;
}

.listing-for-sale {
    font-size: 16px;
    color: rgb(6, 91, 20);
    margin-right: 10px;
    text-align: right;
}

.listing-price {
    color: rgb(6, 91, 20);
    font-size: 24px;
    text-align: right;
}

.listing-prop-details {
}

.listing-prop-details ul {
    list-style-type: none;
    padding-left: 0;
    line-height: 25px;
}

.listing-val {
    display: inline;
}

.listing-label {
    display: inline;
}

.listing-price-block {
}

.listing-details-image-carousel {
    text-align: center;
}

.listing-details-image-carousel img {
    max-width: 90%;
    border: solid black 2px;
}

.listing-details-thumbnail-carousel {
    text-align: center;
    padding-top: 10px;
}

.listing-details-thumbnail-carousel img {
    width: 90px;
    max-height: 60px;
    padding: 8px;
}

.listing-details-selected-image {
    border: solid black 1px;
}

.listing-details-description {
    color: #444;
    line-height: 1.3em;
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.listing-details-mls-block {
    padding-top: 20px;
    padding-bottom: 20px;
}

.listing-details-disclaimer {
    padding-top: 16px;
    padding-bottom: 20px;
}

.listing-details-school-districts {
    font-size: 90%;
}

.listing-details-nearby-listings {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2px;
    margin:  2px;
    background-color: #FFF
}

.listing-details-nearby-listing {
    margin:  2px;
    padding: 2px;
}

/* End of listings stuff  */

@media (min-width: 1581px) {
    .slider.slider-horizontal {
        width: 70%;
        height: 20px;
    }
}

@media (max-width: 300px) {
    .param-label {
        margin-bottom: 0;
    }

    .param-widget {
        margin-bottom: 2px;
        min-height: inherit;
    }

    .form-control {
        font-size: 13px;
        padding-bottom: 4px;
        padding-top: 4px;
    }
}

@media (max-height: 600px) {

    .form-control {
        font-size: 11px;
        padding-bottom: 2px;
        padding-top: 2px;
    }

    select {
        font-size: 10px;
        line-height: 1;
    }

    select option {
        font-size: 10px;
        line-height: 1;
    }
}

.pl-controls td {
    min-height: 50px;
    padding: 0;
}

@media (max-width: 850px) {
    .welcome-heading {
        padding-top: 80px;
    }
}

@media (max-width: 700px) {
    .tiles-listings .list-hub-listing {
        width: 240px;
        min-height: 160px;
    }

    .tiles-listings .list-hub-listing img {
        max-width: 240px;
        max-height: 160px;
    }

    .uc-listingCard-caption {
        font-size: 11px;
        padding-left: 3px;
        padding-bottom: 3px;
    }

    .listing-details {
        padding: 6px;
        margin: 6px;
    }

    /*
    .listing-details-nearby-listing {
        margin:  2px;
        padding: 2px;;
    }

    .listing-details-nearby-listings {
        padding: 2px;
        margin:  2px;
    }
    */

}

/* For bootstrap */

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #313131;
}

.selected-menu-item {
    background-color: #DDD;
    font-weight: bold;
}

.tile-compass-cell {
    width: 25px;
    height: 25px;
    text-align: center;
    border: solid black 1px;
    position: relative;
}

.tile-compass-cell div {
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    position: relative;
}

.tile-compass-row {
    position: relative;
    display: flex;
    background-color: lightgray;
}

.tile-compass-row .with-direction {
    position: relative;
    cursor: pointer;
    background-color: white;
}

.tile-compass-row .with-direction span {
    color: blue;
}

.tile-compass {
    border: solid black 2px;
    background-color: white;
    color: black;
    display: inline-block;
    right: 100px;
    top: 10px;
    font-size: 80%;
    position: absolute;
    z-index: 50000;
}

