/*width setting*/
.search-wrapper form, .result-wrapper, .detail-wrapper {
    max-width: 1275px;
}

/*search results styles*/
.search-wrapper {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 15px;
    border-bottom: 1px solid #27272750;
    background: var(--e-global-color-accent);
}

.search-wrapper form {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 2rem 1rem;
    justify-content: flex-start;
    align-items: flex-end;
}

.search-wrapper .form-control {
    margin: 0 .75rem 0 0;
    max-width: 12rem;
    flex-grow: 1;
}

.search-wrapper .form-control label {
    margin-bottom: .5rem;
    font-weight: 600;
}
.search-wrapper .form-control input, .search-wrapper .form-control select {
    border: 1px solid #27272740;
}
.search-wrapper label {
    color: #272727;
}

.control-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 1;
}

.control-block.submit-btn {
    width: 100%;
    /* flex-grow: 1; */
    max-width: 7rem;
}

.control-block.submit-btn button {
    width: 100%;
    border: none;
    padding-top: .44rem;
    padding-bottom: .44rem;
}

.result-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.result-wrapper .result-loop {
    flex-basis: 33%;
}

.result-wrapper .result-loop a.result-item {
    /*padding: 2rem;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    border: 1px solid #27272750;
    margin: 1rem;
    opacity: 1;
    transition: .2s;
}

.result-wrapper .result-loop a.result-item:hover {
    opacity: .8;
    transition: .2s;
}

a.result-item .result-img-wrapper, a.result-item .result-img-wrapper img {
    width: 100%;
}

a.result-item .result-img-wrapper {
    position: relative;
    /*height: 251px;*/
    /*background: linear-gradient(-45deg, #F5F5F5 40%, #ccc 50%, #F5F5F5 60%);*/
    /*background-size: 600%;*/
    /*background-position-x: 100%;*/
    /*animation: shimmer 1s infinite linear;*/
}
@keyframes shimmer {
   to {
      background-position-x: 0%
   }
}
.listing-status {
    position: absolute;
    z-index: 100;
    padding: 0.25rem 1rem;
    color: #fff;
    background: #00000090;
    border-radius: 0px 0px 4px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 15px;
}
.listing-status .status-dot {
    height: .5rem;
    width: .5rem;
    border-radius: 100px;
    display: block;
    margin-right: .5rem;
}
.listing-status.Active .status-dot{
    background: #489447;
}
.listing-status.Active.Under.Contract .status-dot{
    background: #d1c84b;
}

a.result-item .result-info {
    flex-basis: 100%;
    padding: .5rem 1rem 1rem 1rem;
}

a.result-item .result-info {
    color: #272727;
}
.result-price {
    font-family: var(--e-global-typography-primary-font-family), serif;
    font-size: 1.3rem;
    font-weight: 600;
}
.result-address {
    margin: .5rem 0 1rem 0;
    font-size: 1rem;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
.result-extra {
    font-size: 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
.pagination a {
    padding: 1rem;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 15px;
}
/*No results*/
.no-results-wrapper {
    text-align: center;
    flex-basis: 100%;
    padding: 2rem;

}
.no-results-wrapper span {
    font-size: 20px !important;
    color: var(--e-global-color-secondary);
    font-family: var(--e-global-typography-primary-font-family), serif;
}

/*END search results styles*/
/*detail page styles*/
.detail-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.detail-bts {
    padding: 2rem 1rem;
    font-weight: 600;

}
.image-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
}
.detail-bts a {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

#main-gallery, #thumb-gallery {
    max-height: 46.55rem;
}
#thumb-gallery .swiper-slide {
    overflow: hidden;
}

.image-gallery .main-gallery {
    flex-basis: 80%;
}
.image-gallery .main-gallery > div{
    padding-right: 2rem;
}
.image-gallery .thumb-gallery {
    flex-basis: 15%;
    height: 747px;
    /*overflow-y: auto;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.image-gallery .thumb-gallery img {
    width: 100%;
    margin-bottom: .5rem;
}
.mySwiper {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE 10+ */
    user-select: none;
}
.mySwiper .swiper-slide {
    opacity: 0.7;
    transition: .2s;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    transition: .2s;
}
/*.swiper-button-next svg, .swiper-button-prev svg{*/
/*    color:#fff;*/
/*    font-size: 2rem;*/
/*}*/
.swiper-button-next {
    padding: 0 1rem 0 0 !important;
}
.swiper-button-prev {
    padding: 0 0 0 1rem !important;
}
.swiper-button-next svg, .swiper-button-prev svg {
	display: none;
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after, .swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
	color: #fff;
}
.result-wrapper .result-price {
	font-family: var(--e-global-typography-primary-font-family), serif !important;
}
.detail-content {
    padding: 2rem;
}
.detail-info-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--e-global-color-secondary);
}
.detail-info-top .detail-address {

}
.detail-info-top .detail-address h1{
    font-size: 2rem;
    margin: 0;
    font-family: var(--e-global-typography-primary-font-family), serif;
}
.detail-info-top .detail-address span{
    font-size: 1.5rem;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
.detail-info-top .details-price {
font-size: 2rem;
    text-align: right;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
.detail-info-top .details-price .detail-community {
    font-size: 1.1rem;
}
.detail-quick-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
.detail-quick-info .open-house {
    margin-left: auto;
}
.open-house a {
    color: var(--e-global-color-primary);
    opacity: 1;
    transition: .2s;
}
.open-house a:hover {
    color: var(--e-global-color-primary);
    opacity: .8;
    transition: .2s;
}
.detail-quick-info div {
    margin-right: 1rem;
}
.detail-quick-info div:last-child {
    margin-right: 0;
}
.detail-description {
    padding-top: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
.detail-listing-info {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
.detail-description .remark-wrapper {
    flex-basis: 80%;
}
.detail-description .contact-wrapper {
    flex-basis: 20%;
}
.detail-description p {
    font-size: 1.2rem;
    margin-right: 3rem;
}
.contact-box-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 2rem 1.5rem;
    background: var(--e-global-color-accent);
    text-align: center;
    justify-content: center;
    border: 1px solid #27272750;
}
.contact-box-copy p {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 15px;
}
.contact-box-copy {
    margin-bottom: 1rem;
}
.contact-box-links {
    margin-top: 2rem;
}
.contact-box-links, .contact-box-links a  {
    font-size: 15px;
}
.contact-box-links > div {
    margin-bottom: .5rem;
}
.contact-box-links > div:last-of-type {
    margin-bottom: 0;
}
.contact-box-links {
    margin-bottom: 2rem;
}
.contact-box-wrapper img {
    border-radius: 100px;
}
.contact-box-wrapper .contact-box-content h5 {
    font-family: var(--e-global-typography-primary-font-family), serif;
    font-size: 20px;
    margin-bottom: .25rem;
    color: var(--e-global-color-secondary);
}
.contact-box-wrapper .contact-box-content h6 {
    font-family: var(--e-global-typography-primary-font-family), serif;
    font-size: 1rem;
    color: var(--e-global-color-secondary);
}
.contact-box-wrapper .contact-box-content p {
    margin-right: 0;
}
.contact-box-wrapper .contact-box-heading {

}
.contact-hr {
    width: 100%;
}
.asg-hr {
    border-bottom: 2px solid var(--e-global-color-secondary);
    max-width: 1rem;
    margin: 0 auto;
    margin-bottom: 1rem;
}
.mls-grid {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.7rem;
    padding-top: 2rem;
}
.mls-grid div {
    padding-bottom: 1rem;
}
.detail-extra ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
}
.detail-extra ul li {
    margin: 1rem;
}
.detail-extra {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    padding: 2rem;
    border-top: 2px solid var(--e-global-color-secondary);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
.detail-extra .col-extra{
    flex-basis: 25%;
}
.detail-extra .col-extra.col-wide{
    flex-basis: 100%;
}
.detail-extra .col-extra > div {
    padding: 0 3rem 2rem 0;
}
.detail-extra .col-extra .extra-title {
    font-weight: bold;
    border-bottom: 1px solid var(--e-global-color-secondary);
    margin: 0 6rem 0.4rem 0;
    padding-bottom: 0;
}
.detail-extra .col-extra.col-wide .extra-title {
    font-weight: bold;
    border-bottom: 1px solid var(--e-global-color-secondary);
    margin: 0 1rem .4rem 0;
}
/*END detail page styles*/
/*Tablet and small desktop breakpoint*/
@media (max-width: 1024px) {
.search-wrapper .form-control {
    margin: 0 .75rem 1rem 0;
}
.result-wrapper .result-loop {
    flex-basis: 50%;
}
#thumb-gallery .swiper-slide{
    height: 100px !important;
}
#thumb-gallery {
    max-height: 37.15rem;
    height: 100%;
}
}
/*Mobile breakpoint*/
@media (max-width: 767px) {
.search-wrapper .form-control {
    flex-basis: 100%;
    max-width: 100%;
    flex-grow: 1;
}
.result-wrapper .result-loop {
    flex-basis: 100%;
}
.control-block {
    flex-basis: 100%;
}
.image-gallery .main-gallery {
    flex-basis: 100%;
}
#thumb-gallery {
    display: none;
    visibility: hidden;
}
}



