body {
    --font-size-small: 14.5px;
    --font-size-normal: 17px;
    --text-color: #383f40;
    --accent-color: #38bda6;
    --dark-bg: #4a5368;

    --block-border-color: #D9E9E7;
    --block-border-radius: 12px;
    --block-border-width: 2px;
    
    font-family: "Roboto", sans-serif;
    font-size: var(--font-size-normal);
    color: var(--text-color);
    background-color: #fff;        
}

.page-wrapper > form {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section.body {
    flex: 1;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1366px;
}

.container.full-width {
    max-width: 100%;
    padding: 0 30px
}

.container.alt {
    max-width: 100%;
    padding-top: 30px;
    padding-bottom: 15px;
    background-color: #f5fafa;
}

.container.alt > * {
    max-width: 1366px;
    margin-left: auto;
    margin-right: auto;
}

.margin-bottom {
    margin-bottom: 15px;
}

.container.margin-bottom {
    margin-bottom: 30px;
}

.button {
    position: relative;
    top: 0;
    background-color: var(--accent-color);
    border-radius: 3px;
    border-width: 0;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: inherit;
    margin-bottom: 0;
    padding-top: 12px;
    padding-right: 24px;
    padding-bottom: 12px;
    padding-left: 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .25s ease-in-out;
}

.button:hover,
.button:focus {
    top: -2px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    background-color: var(--accent-color);
}

.button-100 {
    width: 100%;
}

h2 {
    font-size: 48px;
    line-height: 1;
}

h6 {
    font-size: var(--font-size-normal);
    text-transform: uppercase;
}

.anniversary {display:inline-block;max-width:32%;}
.anniversary img {padding:.79em .56em .79em 1.375em;}
.logo {display:inline-block;width: 100%;max-width:66%;text-align: center;}
.logo img {/*height: 120px;*/padding: 0 0 0 14%;}


/* ====== NAVIGATION ====== */
.no-js .top-bar {
  display: none;
}

.top-bar {
    position:relative;
    z-index: 100;
}

.top-bar, .top-bar ul {
    background-color: transparent;
}

.menu a {
    color: var(--text-color);
    font-weight: 600;
}

.dropdown.menu > li > a {
    position: relative;
    font-size: 17.6px;
    font-weight: 600;
    color: var(--text-color);
}

.dropdown.menu > li > a::before {
    content: '';
    position: absolute;
    left: 1rem;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.15s ease-in-out;    
}

.dropdown.menu > li:hover > a::before {
    width: calc(100% - 2rem);
}

/*
.dropdown.menu > li.active > a::before {
    width: calc(100% - 2rem);
}
*/

.menu .active > a {
    background-color: #9dc3e6;
    /*background-color: transparent;*/
    border-radius: 3px;
}

.dropdown.menu > li.is-active > a {
    color: var(--text-color);
}

.dropdown .is-dropdown-submenu a:hover {
    /*color: var(--accent-color);*/
    background-color: #f5f5f5;
}

/* ====== ROTATOR AREA ====== */

.rotator-area {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.slideInfo {
    width:33%;
    /*background:url(img/bg-slideinfo.png);*/
    background-color: rgba(74, 83, 104, 0.9);
    height:100%;
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    text-align:right;
    padding:4.9%;
    display:flex;
    flex-direction:column;
    justify-content: center;
    row-gap: 20px;
}
.slideCaption,
.estimatedEquity {
    font-size:20px;
    color:#a5c4d9;
    font-weight:300;
    line-height:1.2;
}
.slideCaption:first-of-type {
    font-size:26px;
}
.slideCaption {
    font-weight: bold;
}
.estimatedEquity {
    font-size: 18px;
}
.estimatedEquity .price {
    font-size:22px;
    color:#e0e0e0;
    font-weight:300
}
.slideInfo .subscribe {
    text-align:center;
}

.slideInfo .button {
    font-size:24px;
    color:#fff;
    font-weight:700;
    letter-spacing: -0.25px;
    line-height: 1.2;
    background-color: rgb(255 255 255 / 50%);
    border: solid 3px rgb(116 177 217 / 50%);
    border-radius: 12px;
    padding: 0px 24px;    
}

.orbit-slide img {
    width: 100%;
}

/* ====== COUNTDOWN TIMER ====== */
.countdown-wrapper {
    border-radius: var(--block-border-radius);  
    padding: 30px 30px;
    background: var(--dark-bg);
}

.countdownTitle,
.countdownDivider {
    display: none;
}

.countdownEvent {
    margin-bottom: 20px;
    font-size: 48px;
    font-weight: 200;
    line-height: 1;
    color: #fff;
}

.countdownTimer {
    /*max-width: 200px;*/
    width: auto;
}

.countdownTimer .row {
    margin:0;
}

.countdownTimer .digits  {
    line-height: 1.2;
    font-weight: 700;
    font-size: 36px;
    text-transform: uppercase;    
}

.countdownTimer .digits .cell {
    padding: 6px 0;
    background:#fff;
    border-radius: 12px;
    box-shadow: inset 0px 1px 3px #AAA;
}

.countdownTimer span {
    display: block;
    font-size: 12px;
}

/*
.countdown {width:100%;background:#ffce65;height: 100%;min-height: 340px;}
.countdown .widgetTitleImg {margin: 0% 0 2% 5%;}
.countdownClock {display:inline-block;width:100%;text-align:center;font-family:'ptsans';font-weight:bold;font-size:35px;}
.countdownEvent {margin: 10%;margin: 1em;font-family:'oswald';font-size:25px;line-height: 1.2;}
.countdownDivider {margin: 5%;background:url(img/bg-countdowndivider.png) repeat-x left center;min-height:5px;}
.countdownTimer {margin: 9.5% 8%;padding: 3% 1%;}
.countdownTimer .row {margin:0;}
.countdownTimer .column {padding:0;font-family:'ptsans';font-size:12px;text-transform:uppercase;}
.countdown .countdownTimer .digits .column {line-height:36px;line-height:1;font-weight:700;font-size:36px;font-family:'ptsans';text-transform:uppercase;padding:0;text-shadow:1px 2px 1px rgba(0,0,0,.67);}
*/

.callouts .cell {
    border-radius: var(--block-border-radius);
    border: solid var(--block-border-width) var(--block-border-color);
    padding: 30px;
    text-align: center;
}

.callouts .cell  p:last-child {
    margin-bottom: 0;
}

.callouts .button,
.lead-callouts .button {
    width: 100%;
    border: solid 2px currentColor;
    color: var(--text-color);
    background-color: transparent;    
}

.callouts.property-leads {
    row-gap: 30px;
}

.callouts.property-leads .cell {
    width: calc(20% - 30px);
    font-size: var(--font-size-small);
    display: flex;
    flex-direction: column;
}

.callouts.property-leads p {
    flex: 1;
}

.callouts.property-leads h3 {    
    font-size: var(--font-size-small);
    font-weight: 600;
    text-transform: uppercase;
}

.lead-callouts {
    margin-bottom: 50px;
}

.lead-callouts .cell {
    background-color: #fff;
}

.lead-callouts .cell img {
    width: 100%;
}

.lead-callouts .cell h3 {
    margin-top: 20px;
    padding: 0 15px;
    font-size: var(--font-size-normal);
    font-weight: 600;
    text-align: center;    
}

.lead-callouts .cell p {
    padding: 0 15px;
    text-align: center;    
}

.zoom-image {
    overflow: hidden;
}

.zoom-image,
.zoom-image > div {
    aspect-ratio: 1 / 1;
}

.zoom-image > div {
    display: block;
    background-position: center;
    background-size: cover;
    transition: transform 0.25s ease-in-out;    
}

.zoom-image:hover > div {
    transform: scale(1.1);
}

.testimonial-wrapper {
    padding-top: 30px;
    padding-bottom: 50px;
}

.testimonial-wrapper .orbit-slide {
    font-size: 22px;
    font-weight: 600;
}

.testimonial-wrapper .orbit-slide h3 {
    font-size: 48px;
    font-weight: 600;
    line-height: 0.9;
}

.testimonial-wrapper .orbit-slide p {
    line-height: 1.4;
}

.featured-blog-wrapper .cell.medium-6 {
    margin-bottom: 30px;
}

.featured-Foreclosure {
    position: relative;
    margin-bottom: 30px;
    border-radius: 3px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
    overflow:hidden;
}

.featured-Foreclosure a {
    display: block;
    color: #fff;
    aspect-ratio: 670 / 342;
}

.featured-Foreclosure a::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.25s;
    z-index: 1;
}

.featured-Foreclosure a img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.featured-Foreclosure h3 {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;
    opacity: 0;
    transition: all 0.25s;
    font-size: 22px;
    font-weight: 600;
    z-index: 2;
}

.featured-Foreclosure:hover h3,
.featured-Foreclosure:hover a::after {
    opacity: 1;
}

.featured-post {
    display: flex;
    height: 100%;
    border-radius: 12px;
    background-color: #e5eeed;
}

.featured-post > div {
    flex-basis: 50%;
}

.featured-post .post-image {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    background-position: center;
    background-size: cover;
}

.featured-post .post-info {
    display: flex;
    padding: 30px;
    flex-direction: column;
    justify-content: center;
}

.featured-post .post-info:only-child {
    flex-basis: 100%;
}

.featured-post .post-info h3 {
    margin-bottom: 0;
    font-size: 22px;
    font-weight: 600;
}

.featured-post .post-info h3 a {
    color: var(--text-color);
}

.featured-post .posted-on {
    margin-bottom: 20px;
    font-size: 12px;    
}

.featured-post .button {
    width: 100%;
}

.faq-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 30px;
}

.faq-grid > div {
    flex: 1 1 calc(50% - 15px);
}

.faq-grid > div > a,
.faq-grid .sf-list-content {
    display: block;
    border: solid var(--block-border-width) var(--block-border-color);
    padding: 15px;
    color: var(--text-color);
    background-color: #fff;
}

.faq-grid > div > a {
    position: relative;
    padding-right: 40px;
}

.faq-grid > div > a::before,
.faq-grid > div > a::after {
    position: absolute;    
    top: calc(50% - 1px);
    right: 15px;    
    display: block;
    width: 15px;
    height: 2px;
    content: "";
    background: #000;
}

.faq-grid > div > a::after {
    transform: rotate(90deg);
    transition: transform 0.25s;
}

.faq-grid > div > a.expanded {
    border-bottom-width: 1px;
}

.faq-grid > div > a.expanded::after {
    transform: rotate(180deg);
}

 .faq-grid .sf-list-content {
    border-top-width: 0;
}



.container.background-wrapper {
    position: relative;
    max-width: 100%;
    padding-top: 150px;
    padding-bottom: 200px;
}

.container.background-wrapper > .grid-x {
    position: relative;
    max-width: 1366px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

.background-image {
    border: none;
    bottom: 0;
    box-shadow: none;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: cover;
    object-position: center  30%;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.container.background-wrapper h2:first-of-type {
    font-size: 80px;
}

.container.background-wrapper p {
    font-size: 22px;
}


/* ====== BODY ====== */

.secondary-content {
    max-width: 1020px;
    margin-top: 30px;
    margin-bottom: 30px;
    line-height: 1.2;
}
.secondary-content a:not(.button) {
    text-decoration: underline;
}
.secondary-content h2 {
    font-size: 40px;
    line-height: 1.2;
}

.container.secondary > .grid-x {
    max-width: 1020px;
}

.dark-bg-content {
    margin-bottom: 20px;
    padding: 16px 15px 1px;
    background: var(--dark-bg);
    color: #fff;
}

/* ====== FOOTER ====== */

footer {
    background: var(--dark-bg);
    padding:3em 3.5em 0 3.5em;
}
.site-footer li,
.site-footer a,
.site-footer p,
.site-footer h4 {
    color:#fff;
    font-size: var(--font-size-small);
    line-height:1.45;
    -webkit-font-smoothing:antialiased;
}
.site-footer h4 {
    font-weight:bold;
    text-decoration:underline;}
.site-footer a {
    text-decoration: underline;
}
.site-footer ul {
    list-style:none;
    margin:0 0 2em 0;
    padding:0;
}

.deww-footer * {}
.deww-footer p {
    font-size: calc(var(--font-size-small) - 2px );
    color:#fff;
}
.deww-footer .column {
    padding-left:2.5em;
}


/* ====== MEDIA SIZE : SMALL ====== */
@media only screen and (max-width: 40em) {  
    h2 {
        font-size: 40px;
    }
    
    .container {
        max-width: 100%;        
        margin-left: 20px;
        margin-right: 20px;
    }

    .container.alt,
    .header .container,
    .container.rotator-area,
    .container.background-wrapper {
        margin-left: auto;
        margin-right: auto;
    }    

    .container.alt > * {
        max-width: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .header .anniversary,
    .header .logo {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .anniversary img {
        padding: 0 0 0 20px;
    }
    
    .logo img {
        height: auto;
        padding: 0 20px;
    }
    
    .header .cart-icon {
        order: 3;
        padding-right:15px;
        text-align: right;
    }
    .header .nav {
        order: 4;
    }
    
    .rotator-area {
        margin-top: 0;
        margin-bottom: 15px;
    }

    .rotator-area .grid-margin-x {        
        margin-left: auto;
        margin-right: auto;
    }
    
    .rotator-area .grid-margin-x .cell {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .rotator-area .large-4 {
        padding-left: 20px;
        padding-right: 20px;
    }    

    .slideInfo {
        width:50%;
        padding:10px;
        row-gap: 10px;
    }
    .slideCaption,
    .estimatedEquity {
        font-size:20px;
    }
    .estimatedEquity .price {
        font-size:25px;
    }
    
    .container .grid-x {
        row-gap: 0px;
    }

    .countdownEvent {
        font-size: 30px;
    }    

    .callouts .cell {
        padding: 20px;
    }
    
    .callouts .button {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .callouts.property-leads .cell {
        width: calc(100% - 20px);
        padding: 15px;
        font-size: var(--font-size-small);
    }

    .lead-callouts {
        margin-bottom: 20px;
    }

    .testimonial-wrapper {
        padding-top: 0px;
        padding-bottom: 10px;
    }

    .featured-Foreclosure {
        margin-bottom: 10px;
    }

    .featured-blog-wrapper .grid-x {
        row-gap: 0;
    }
    
    .featured-blog-wrapper .cell.medium-6 {
        margin-bottom: 20px;
    }
    
    .featured-post {
        display: flex;
        height: 100%;
    }
    
    .featured-post > div {
        flex-basis: 100%;
    }
    
    .featured-post .post-image {
        flex-basis: 45%;
    }    
        
    .featured-post .post-info {
        padding: 20px;
    }   

    .faq-grid {
        gap: 20px;
    }

    .faq-grid > div {
        flex: 1 1 100%;
    }    

    .container.background-wrapper {
        padding-top: 0;
        padding-bottom: 0;
    }

    .container.background-wrapper > .grid-x {
        padding-top: 50px;
        padding-bottom: 50px;
        row-gap: 0;
        backdrop-filter: brightness(75%)  blur(2px);
    }
    
    .container.background-wrapper h2:first-of-type {
        font-size: 40px;
    }
    .container.background-wrapper h2{
        font-size: 30px;
        color: #fff;
    }    
    .container.background-wrapper p {
        font-size: 17px;
        color: #fff;
    }

    footer {
        padding: 40px 0px 10px;
    }
    
}

/* ====== MEDIA SIZE : MEDIUM ====== */
@media only screen and (min-width: 40.063em) and (max-width: 1366px) {
    .container {
        max-width: 100%;        
        margin-left: 20px;
        margin-right: 20px;
    }

    .container.secondary > .grid-x{
        max-width: 100%;
    }

    .container.alt,
    .header .container,
    .container.rotator-area,
    .container.background-wrapper {
        margin-left: auto;
        margin-right: auto;
    }    

    .container.alt > * {
        max-width: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }

    .rotator-area .large-4 {
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }  
    
    .callouts.property-leads .cell {
        width: calc(50% - 30px);
    }
    
}

/* ====== MEDIA SIZE : MEDIUM ====== */
@media only screen and (min-width: 40.063em) and (max-width: 63.750em) {

}

/* ====== MEDIA SIZE : MEDIUM ====== */
@media print, screen and (min-width: 40em) {    
    .no-js .top-bar {
        display: block;
    }

    .no-js .title-bar {
        display: none;
    }

    .dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a::after {
        border-color: var(--text-color) transparent transparent;
    }

    .dropdown.menu.vertical>li.opens-left>.is-dropdown-submenu {
        box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
        background-color: #fff;
    }
}