/* -------- CAROUSEL -------- */
.erem-carousel-fullwidth, .erem-carousel-default {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background-color:#003C6D;
}
.erem-carousel-fullwidth {
    width:100vw;
    max-width:100vw;
    min-width:100vw;
}
.erem-carousel-default {
    width:100%;
}
.erem-carousel {
    max-width:1170px;
    overflow:hidden;
    width:100%;
    position:relative;
}
.erem-carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;    
}
.erem-carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
  display:flex;
  flex-direction:row;
  column-gap:0;
  aspect-ratio: 2 / 1;
}
.erem-car-slide-text, 
.erem-car-slide-image {
    width:50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.erem-car-slide-text {
    padding:40px 20px;
    text-align:left;
    color:#ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.erem-carousel-controls {
    position:relative;
    margin-top:-80px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding-left: 4px;
    margin-bottom:30px ! important;
    margin-right:30px;
}
.erem-carousel-controls .prev {
    clip-path: polygon(0% 0%, 100% 0, calc(100% - 15px) 100%, 0% 100%);
    background-color: #ffffff;
    background-image:url('../icons/less-than-blue.svg');
    background-repeat:no-repeat;
    background-size: 40px;
    background-position: left center;
    border: 0;
    height: 50px;
    padding-left: 20px;
    padding-right: 30px;
    color:#003C6D ! important;
}
.erem-carousel-controls .next {
    clip-path: polygon(100% calc(100% - 200px), 100% 0%, 100% 100%, 0 100%);
    background-color: #B79D5E;
    background-image:url('../icons/greater-than-blue.svg');
    background-repeat:no-repeat;
    background-size: 40px;
    background-position: right center;
    border: 0;
    height: 50px;
    padding-left: 30px;
    padding-right: 20px;
    color:#003C6D ! important;
}
.erem-carousel-controls .prev:hover,
.erem-carousel-controls .next:hover {
    background-color:#003C6D;
    color:#ffffff ! important;
}
.erem-carousel-controls .prev:hover {
    background-image:url('../icons/less-than-white.svg');
}
.erem-carousel-controls .next:hover {
    background-image:url('../icons/greater-than-white.svg');
}
.erem-car-lead {
    font-weight: 600;
    line-height: 1;
    font-size: 32px;
    text-transform: uppercase;
    font-family: 'PT Serif', serif;
}
.erem-car-lead-sub {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 14px;
}
.erem-car-lead-sub:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background-color:#B79D5E;
    margin-top: 16px;
    margin-left:0;
    margin-right:auto;
}
p.erem-car-prop-name a,
p.erem-car-prop-name a.visited,
p.erem-car-prop-name a.active {
    font-size: 27px;
    color:#ffffff ! important;
    font-family: 'PT Serif', serif;
}
p.erem-car-prop-name a:hover {
    color: #b79d5d ! important;
}
.erem-car-prop-price {
    font-size: 24px;
    font-weight: 700;
}
.erem-car-prop-price:after {
    background-color: #b79d5d;
    content:'For Sale';
    color: #fff;
    font-weight: 400;
    padding: 6px 15px;
    margin-left: 17px;
    font-size:16px;
}
.erem-car-prop-desc a {
    color: #b79d5d ! important;
}
.erem-car-prop-desc a:hover {
    color: #ffffff ! important;
    text-decoration:underline;
}
.erem-car-specs {
    display: flex;
    flex-direction: row;
    column-gap: 30px;
}
.erem-car-specs p {
    display:flex;
    flex-direction:column;
}
span.erem-prop-value {
    font-weight:bold;
}
.erem-prop-icon {
    height:40px;
    display:flex;
    overflow:hidden;
}
@media (max-width: 1159px) {
    .erem-carousel-slide {
        flex-direction: column-reverse;
        aspect-ratio:unset;
        justify-content:center;
    }
    .erem-carousel-controls,
    .erem-car-slide-text,
    .erem-car-slide-image {
        max-width:800px;
        margin-left:auto;
        margin-right:auto;
    }
    .erem-car-slide-image {
        aspect-ratio: 4 / 3;
        width:100%;
    }
    .erem-car-slide-text {
        width: 90%;
    }
}

/* invoice-ish page */
.ere-payment-for.panel.panel-default ul.list-group li.list-group-item {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center; 
    column-gap: 20px;
}