:root{
    --theme-primary:#038;
    --theme-primary-light:#0353dd;
    --theme-secondary:#a33;
    --theme-secondary-light:#ca1a1a;
}
html, body {
    overflow-x: hidden!important;
    width: 100%!important;
}
.text-clr-primary{
    color: var(--theme-primary)!important;
}
.text-clr-secondary{
    color: var(--theme-secondary)!important;
}
.text-clr-secondary#close-page:hover {
    color: var(--theme-secondary-light)!important;
}
.bg-theme-primary{
    color: #fff!important;
    background-color: var(--theme-primary);
}
.bg-theme-secondary{
    color: #fff!important;
    background-color: var(--theme-secondary);
}
.form-check-input:checked {
    background-color:var(--theme-secondary)!important;
    border-color:var(--theme-secondary)!important;
}
.form-check-input:focus {
    border-color:var(--theme-secondary)!important;
    box-shadow: 0 0 0 0.25rem rgb(170 51 51 / 25%)!important;
}
.btn-theme-primary{
    color: #fff!important;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}
.btn-theme-primary:hover,.btn-theme-primary:active,.btn-theme-primary:focus-visible{
    color: #fff!important;
    background-color: var(--theme-primary-light)!important;
    border-color: var(--theme-primary-light)!important ;
}
.btn-theme-secondary{
    color: #fff!important;
    background-color: var(--theme-secondary);
    border-color: var(--theme-secondary);
}
.btn-theme-secondary:hover,.btn-theme-secondary:active,.btn-theme-secondary:focus-visible{
    color: #fff!important;
    background-color: var(--theme-secondary-light)!important;
    border-color: var(--theme-secondary-light)!important ;
}
.btn-outline-danger {
    background-color: #fff!important;
    color: var(--theme-secondary)!important;
    border-color: var(--theme-secondary)!important ;
}

.btn-outline-danger:hover {
    color: #fff!important;
    background-color: var(--theme-secondary)!important;
    border-color: var(--theme-secondary)!important ;
}
.btn.medium-btn {
    /* max-width: 200px!important; */
}
.btn.btn-minsize{
    min-width: 160px;
}
.btn.like-btn{
    box-shadow:none!important;
}
@media (max-width:767px) {
    .btn.btn-pcMinSize{
        min-width: 182px;
    }
}
.main-body > .container{
    min-height:55vh;
}
@media (min-height:925px) {
    .main-body > .container{
        min-height:100vh;
    }
}
.minw-100{
    min-width: 100px;
}
.minw-150{
    min-width: 150px;
}
.minw-200{
    min-width: 200px;
}
.minw-350{
    min-width: 350px;
}
.maxw-750{
    max-width: 750px;
}
.maxw-450{
    max-width: 450px;
}
.w-370{
    width: 370px;
}
.pointer{
    cursor: pointer;
}
.pointer.text-bg-success:hover {
    background-color: #157347!important;
}
.pointer.text-bg-warning:hover {
    background-color: #ffca2c!important;
}
.lh-normal {
    line-height: 29px;
}

body, #custom-sample {
    background-image: url('https://mlsvirtualhometour.com/assets/stlmls/assets/images/stlmls.com-header-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* @media (max-width:1400px) and (min-width:768px) {
    .container, .container-md, .container-sm {
        max-width: 98%!important;
    }
} */
@media (min-width:768px) {
    .container, .container-md, .container-sm {
        max-width: 1500px!important;
    }
}
@media (min-width:768px){
    body, .btn, h6,.h6{
        font-size: 0.875rem!important;
    }
    .h1, h1 {
        font-size: calc(1.325rem + .9vw)!important;
    }
    .h2, h2 {
        font-size: calc(1.3rem + .6vw)!important;
    }
    .h3, h3 {
        font-size: calc(1rem + .3vw)!important;
    }
    .h4, h4 {
        font-size: 1.25rem!important;
    }
    .h5, h5 {
        font-size: 1rem!important;
    }
    .small, small {
        font-size: .75em!important;
    }
    .property-card .pc-property-detail .pc-property-price {
        min-width: 170px!important;
    }
}
.property-card .pc-heading a{
    color: #000000;
}
.property-card .pc-heading a:hover{
    color: var(--theme-secondary-light)!important;
}
table.dataTableView > thead tr th, table.dataTable > thead tr th {
    background: repeat-x #F2F2F2;
    background-image: -webkit-linear-gradient(top,#f8f8f8 0,#ececec 100%);
    background-image: -o-linear-gradient(top,#f8f8f8 0,#ececec 100%);
    background-image: linear-gradient(to bottom,#f8f8f8 0,#ececec 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8f8f8', endColorstr='#ffececec', GradientType=0);
    border-top: solid 2px #dee2e6!important;
    border-bottom: solid 2px #dee2e6!important;
}
table.dataTableView > tbody tr:not(:last-child) td, table.dataTable > tbody tr:not(:last-child) td {
    border-bottom: solid 2px #dee2e6!important;

}

.filter-sidebar .nav-link:focus, .filter-sidebar .nav-link:hover {
    color: var(--theme-secondary)!important;
}
.position-absolute.start-auto{
    left: auto!important;
}
.custom-menu ul.dropdown-menu {
    transform: none!important;
    max-width: 90vw;
    max-height: 60vh;
    overflow: scroll;
}

@media (max-width: 574px){
    .site-logo {
        /* font-size: 1.25rem!important; */
    }
    nav.navbar.bg-theme-primary .container > * {
        /* width: 100%; */
    }
}

@media (min-width:768px){
    .rlp{
         padding-left:0px!important;
    }
}
.property-card .pc-property-image img{
    max-height: 300px;
    object-fit: contain;
}
@media (min-width:768px){
    .property-card .pc-property-image img{
        max-height: 220px;
    }
}
.property-card .pc-property-detail .pc-property-price {
    min-width: 240px;
}

.property-card .pc-property-detail .pc-property-title .pc-heading , .property-card .pc-property-detail .pc-property-title .pc-subheading, .property-card .pc-property-detail .pc-proprty-info p{
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-height: 1.37;
}
.property-card .pc-property-detail .pc-property-title .pc-heading, .property-card .pc-property-detail .pc-proprty-info > p{
    -webkit-line-clamp: 2;
}
.property-card .pc-property-detail .pc-property-title .pc-subheading{
    -webkit-line-clamp: 1;
}

@media (min-width:1200px) {
    .property-card .pc-proprty-buttons > a {
        margin-bottom: 0!important;
    }
}
@media (min-width:1286px) {
    .property-card .cs-pc-proprty-buttons > a {
        margin-bottom: 0!important;
    }
}
@media (max-width:767px) {
    .pc-property-price.position-relative .property-date.end-0 {
        /* position: absolute;
        top: -80px;
        padding-right: 10px; */
    }
}

section.property-detail-page .pdp-property-detail span.list-title, section.property-detail-page .pdp-property-detail span.list-detail {
    font-size: 14px;
}


/* Change Checkbox as per theme color */
input[type="checkbox"] {
    position: relative;
    font-size: 0;
}
*:has(input[type="checkbox"] + label.theme-checkbox) > input[type="checkbox"]{
    opacity: 0;
}
*:has(input[type="checkbox"] + label.theme-checkbox) > input[type="checkbox"] + label.theme-checkbox {
    position: relative;
}
*:has(input[type="checkbox"] + label.theme-checkbox) > input[type="checkbox"] + label.theme-checkbox::before, input[type="checkbox"]::before {
    content: '';
    position: absolute;
    height: 17px;
    width: 17px;
    background-color: #fff;
    border: solid 3px var(--bs-border-color);
    border-radius: 3px;
}
*:has(input[type="checkbox"] + label.theme-checkbox) > input[type="checkbox"] + label.theme-checkbox::before {
    top: 3px;
    left: -19px;
}
input[type="checkbox"]::before {
    top: -1.5px;
    left: -1.5px;
}
*:has(input[type="checkbox"] + label.theme-checkbox) > input[type="checkbox"]:checked + label.theme-checkbox::after, input[type="checkbox"]:checked::after {
    font-weight: 900;
    color:  var(--theme-secondary)!important;
}
*:has(input[type="checkbox"] + label.theme-checkbox) > input[type="checkbox"] + label.theme-checkbox::after, input[type="checkbox"]::after {
    z-index: 21;
    content: "\f14a";
    font-family: "Font Awesome 6 Free";
    border-radius: 2px;
    position: absolute;
    line-height: 1;
    color: #fff;
    font-size:16px;
}
*:has(input[type="checkbox"] + label.theme-checkbox) > input[type="checkbox"] + label.theme-checkbox::after {
    top: 3.5px;
    left: -17.5px;
}
input[type="checkbox"]::after {
    top: -1px;
    left: 0px;
}
input[type="checkbox"]:focus-visible{
    outline: none !important;
    box-shadow: 0px 0px 10px var(--theme-secondary)!important;
}
input[type="checkbox"]:focus-visible::before{
    border-color: var(--theme-secondary)!important;
}
.position-absolute.map-btn {
    left: 10px;
    top: 75px;
}

section#property-list {
    min-height: 60vh;
}

/* input[type="radio"] {
    position: relative;
}
input[type="radio"]:checked::before, input[type="radio"]:checked::after{
    position: absolute;
    content: '';
    background: #AE1D2C;
    border-radius: 50%;
}
input[type="radio"]:checked::after {
    width: 9px;
    height: 9px;
    border: solid 2px #FFF;
    top: 3px;
    left: 2px;
}
input[type="radio"]:checked::before {
    width: 13px;
    height: 13px;
    top: 1px;
    left: 0;
} */

@media(max-width:767px){
    div#nav-city > a, div#nav-zipCode > a, div#nav-highSchool > a {
        display: none!important;
    }
    div#nav-city > a:nth-child(-n+4), div#nav-zipCode > a:nth-child(-n+4), div#nav-highSchool > a:nth-child(-n+4), div#nav-city.showAll > a, div#nav-zipCode.showAll > a, div#nav-highSchool.showAll > a{
        display: inline-block!important;
    }
}
.dd-large-width{
    min-width: 250px;
}
.dd-medium-width{
    min-width: 150px;
}
.dd-small-width{
    min-width: 110px;
}


span.multiselect-group.dropdown-item-text {
    font-weight: 600!important;
}
.multiselect.dropdown-toggle {
    border-color: #aaa!important;
    padding-left: 8px!important;
}
.select2-container, .multiselect.dropdown-toggle {
    width: 100%!important;
    /* width: fit-content!important; */
    /* width: intrinsic!important;           Safari/WebKit uses a non-standard name */
    /* width: -moz-max-content!important;     Firefox/Gecko */
    /* width: -webkit-max-content!important;  Chrome */
    margin-bottom: 15px!important;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--theme-secondary)!important;
}
/* .select2-container .select2-dropdown .select2-results ul.select2-results__options li.select2-results__option:first-child {
    display: none;
} */

#property-list .select2-selection__rendered {
    min-height: 35px !important;
}


#property-list .select2-container .select2-selection--single, #associate-category-domain .select2-container .select2-selection--single, .select-domain .select2-container .select2-selection--single{
    min-height: 35px !important;
}

#property-list .select2-container .select2-selection--multiple, #associate-category-domain .select2-container .select2-selection--multiple {
    min-height: 35px !important;
}

#property-list .select2-selection__arrow {
    min-height: 34px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice, .select2 textarea::placeholder, .multiselect.dropdown-toggle {
    font-size: 14px;
}

tags.tagify > span.tagify__input::before {
    color: #757575;
    font-size: 14px;
}
tags.tagify > span.tagify__input {
    padding-left: 0;
}
tags.tagify > * + span.tagify__input {
    padding-left: 0.5em !important;
}

span.dollar-sign {
    padding-right: 4px;
}
.pdp-property-points > span{
    min-width: 130px;
}


/* 20/3/2023 css updated by Bilal */
.form-floating>label {
    padding: 0.5rem 0.75rem;
}
.form-floating>.form-control, .form-floating>.form-control-plaintext {
    padding: 0.75rem 1.75rem 0.75rem 0.75rem;
    height: 2.75rem;
    line-height: 1;
}
.form-floating>.form-control-plaintext:focus, .form-floating>.form-control-plaintext:not(:placeholder-shown), .form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}
.form-floating>.form-control-plaintext~label, .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
    opacity: 1;
    transform: scale(.85) translateY(-0.3rem) translateX(0.15rem);
    font-size: 12px;
    line-height: 1;
    background: #fff;
    padding-bottom: 0px!important;
    padding-top: 0px!important;
    height: 15px;
    width: fit-content;
    width: intrinsic;           /* Safari/WebKit uses a non-standard name */
    width: -moz-max-content;    /* Firefox/Gecko */
    width: -webkit-max-content; /* Chrome */
}
/* 20/3/2023 css updated by Bilal */


.agent-info .ai-agent-image img {
    object-position: top;
}
input.removeicon[type="date"]::-webkit-calendar-picker-indicator, input.removeicon[type="time"]::-webkit-calendar-picker-indicator  {
    position: absolute;
    left: 0px;
    z-index: 999;
    background-color: var(--bs-tertiary-bg);
    border-right: solid 1px var(--bs-border-color);
    width: 18px;
    height: 19px;
    padding: 8px 11px;
    cursor: pointer;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
  }
  input.removeicon[type="date"]::-webkit-calendar-picker-indicator{
      left: 0px;
  }
  input.removeicon[type="time"]::-webkit-calendar-picker-indicator{
      left: -8px;
  }
  input.removeicon[type="date"], input.removeicon[type="time"]{
      padding-left: 50px;
  }

.rotate-infinite {
    animation: rotate-infinite 2s linear infinite;
}
blockquote {
    margin: 0;
    padding: 20px 20px;
    /* background-color: #f2f2f2; */
    /* border-left: 4px solid #333; */
    font-style: italic;
}
address {
    margin-bottom: 0rem !important;
    font-style: italic !important;

}
.py-3 p img {
  margin-left: 0px !important;
}
/* .home_phone{
    display: none;
} */
.col-md-12:has(> .input-group > input#home_phone) > label, .col-md-12:has(> .input-group > input#home_phone) > .input-group > span, .form-floating.mb-3:has(> input#home_phone) > label{
    display: none;
}
input#home_phone, .input-group:has(input#home_phone), .col-md-12:has(> .input-group > input#home_phone), .form-floating.mb-3:has(> input#home_phone) {
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


@keyframes rotate-infinite {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (min-width:768px) {
    .site-preview{
        margin-top:-55px;
    }
}
.image-bounce {
    position: relative;
  }

  .image-bounce img {
    transition: transform 0.3s ease;
  }

  .image-bounce:hover img {
    animation: bounce 0.75s;
    animation-iteration-count: infinite;
  }

  @keyframes bounce {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  .property-detail-page:not(.not-fixed-width) {
  max-width: 1330px;
  margin: 0 auto;
}

@media (max-width:767px) {
    .property-detail-page .pdp-gallery #pdp-gallery.single-image .ug-grid-panel{
        width: 0px!important;
    }
    .property-detail-page .pdp-gallery #pdp-gallery.single-image .ug-slider-wrapper{
        width: 100% !important;
    }
}
.ug-slider-wrapper .ug-zoompanel-button, .ug-slider-wrapper .ug-slider-control.ug-button-play, .ug-slider-wrapper .ug-slider-control.ug-button-fullscreen{
    display: none !important;
}


.rotate-0 img{
    transform: rotate(0deg);
}
.rotate-90 img{
    transform: rotate(90deg);
}
.rotate-180 img{
    transform: rotate(180deg);
}
.rotate-270 img{
    transform: rotate(270deg);
}
/* google recaptcha resize */
.g-recaptcha {
    transform:scale(0.77);
    -webkit-transform:scale(0.77);
    transform-origin:0 0;
    -webkit-transform-origin:0 0;
}

@media (min-width:768px) {
    .filter-sidebar #sidebar_agentinfo_forms{
        /* height: 100vh;
        overflow-y: auto;
        position: sticky;
        top: 0; */
    }
    .domain_filter_class label.form-label.h5 {
        min-width: 120px;
        margin-top: 3px;
    }
}
@media (min-width:768px) and (max-width:991px) {
    .form-group.domain_filter_class {
        margin-left: 140px;
    }
}
@media (min-width:992px) {
    .form-group.domain_filter_class {
        margin-left: 30px;
        margin-top: 10px;
    }
}
.site-logo-preview {
    max-width: 200px;
    object-fit: contain;
    max-height: 100px;
}
.form-check .form-check-input{
    margin-left: -22px!important;
    margin-top: 5px!important;
}
.btn-group {
    width: 100%;
}
.custom-select {
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    display: inline-block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.pdp-gallery {
    height: 300px;
    background-color: #000000;
    overflow: hidden;
}
.pdp-gallery img{
    width: 100%;
    object-fit: contain;
    max-width: 100%;
    height: 300px;
}
@media (min-width:768px) {
    .pdp-gallery {
        height: 600px;
        background-color: #000000;
    }
    .pdp-gallery img{
        height: 600px;
    }
}
div.modal form .input-group .invalid-feedback {
    margin-left: 41px;
}
tags.tagify .tagify__input {
    min-width: 320px!important;
}

#searchText {
    min-width: 450px;
}

.search-filter {
    justify-content: end;
}

.download {
    background: var(--theme-secondary-light);
    text-transform: none;
}
.select2-selection, .custom-select  {
    border-color: #dee2e6!important;
  }

  #near_me_filter {
    font-size: 20px;
  }

  .filter-button {
    width: 40px;
    padding: 5px;
  }

  .select2-container--default .select2-selection--multiple .select2-selection__arrow {
    background: url('./assets/icons/arrow-up.svg') no-repeat center center;
    background-size: 16px 16px; /* Adjust the size of the icon */
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    background-image: url('../icons/arrow-down.svg');
    background-color: transparent;
    background-size: contain;
    border: none !important;
    height: 24px !important;
    width: 20px !important;
    margin-top: 6px !important;
    left: auto !important;
    object-fit: initial;
    background-image: -webkit-repeating-radial-gradient;
    background-repeat: no-repeat;
    margin-right: 6px;
}

.select2-container--open .select2-selection--single .select2-selection__arrow {
    background-image: url('../icons/arrow-up.svg');
}

.select2-selection__arrow b {
    display: none;
}
/* Domain table action cloumn button style  */
/************** Code Start *****************/
.all-domains-table .table-action .btn, .all-pages-table  .table-action .btn{
    width: 30px !important;
    height: 30px !important;
}
.all-domains-table .table-action .btn:not(:last-child), .all-pages-table .table-action .btn:not(:last-child) {
    margin-right: .5rem;
}
.all-domains-table .table-action .btn.small, .all-pages-table .table-action .btn.small {
    padding: 7px;
}
/************** Code End *****************/
