/* Olympus Front Page Styles */

/* Front Page Table of Contents
- Front Page General
- Titles
- Site Header
- Flexible Widgets
- Front Page 1
- Front Page Search Bar
- Front Page 2
- Front Page 3
- Front Page 4
- Front Page 5
- Front Page 6
- Media Queries
    - Max-width 1380px
    - Max-width 1200px
    - Max-width 980px
    - Max-width 800px
    - Max-width 680px
    - Min-width 1800px
*/

/* Front Page General
--------------------------------------------- */

.front-page-1:before,
.front-page-2:before,
.front-page-3:before,
.front-page-4:before,
.front-page-5:before,
.front-page-6:before {
    content: " ";
    display: table;
}

.front-page-1:after,
.front-page-2:after,
.front-page-3:after,
.front-page-4:after,
.front-page-5:after,
.front-page-6:after {
    clear: both;
    content: " ";
    display: table;
}

.front-page .site-inner {
    padding: 0;
    max-width: 100%;
}

.front-page .featured-content .entry {
    padding: 0;
}

.front-page p:last-child {
    margin-bottom: 0;
}

/* Titles
--------------------------------------------- */

.front-page-3 .featured-listings .widget-title,
.front-page-5 .featured-content .widget-title,
.flexible-widgets.widget-full .widget-title {
    font-size: 60px;
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 0;
    padding: 40px 0;
    text-align: center;
    text-transform: none;
}

.front-page-3 .featured-listings .widget-title {
    color: #000;
}

.flexible-widgets.widget-full .widget-title {
    margin: 0 0 10px;
    padding: 0;
    text-align: center;
}

/* Site Header
--------------------------------------------- */

.front-page .site-header {
    background-color: #fff;
}

/* Flexible Widgets
--------------------------------------------- */

.flexible-widgets .widget {
    float: left;
    margin-bottom: 0;
    padding: 0 30px;
}

.flexible-widgets .widget:first-child {
    margin-bottom: 40px;
}

.flexible-widgets.widget-full .widget:last-child {
    margin-bottom: 0;
}

.flexible-widgets.widget-full .widget,
.flexible-widgets.widget-area .widget:nth-of-type(1),
.flexible-widgets.widget-halves.uneven .widget:last-of-type {
    width: 100%;
}

.flexible-widgets.widget-fourths .widget {
    width: 25%;
}

.flexible-widgets.widget-halves .widget {
    width: 50%;
}

.flexible-widgets.widget-thirds .widget {
    width: 33.333333333333%;
}

.flexible-widgets.widget-halves .widget:nth-child(even),
.flexible-widgets.widget-thirds .widget:nth-child(3n+2),
.flexible-widgets.widget-fourths .widget:nth-child(4n+2) {
    clear: left;
}

/* Front Page 1 
--------------------------------------------- */

.front-page-1 .wrap {
    padding: 120px 0 180px;
}

.front-page-1 .entry-title a:hover,
.front-page-1 .entry-title a:focus,
.front-page-1 .widget-title a:hover,
.front-page-1 .widget-title a:focus  {
    text-decoration: underline;
}

.front-page-1 .textwidget h2 {
    font-size: 80px;
    font-size: 8rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    line-height: 1;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.front-page-1 .user-profile {
    text-align: center;
}

.front-page-1 .user-profile p {
    display: inline-block;
    text-align: left;
}

/* Front Page Search Bar
--------------------------------------------- */

.search-bar,
.search-bar .wrap {
    margin: 0 auto;
    max-width: 1280px;
}

.search-bar {
    margin-top: -60px;
    position: relative;
}

.search-bar form {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    text-align: center;
}

.search-bar input,
.search-bar select,
.search-bar textarea {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 14px;
    font-size: 1.4rem;
    margin: 0 5px 5px 0;
}

.search-bar input[type="submit"],
.search-bar .property-search input[type="submit"] {
    margin: 0 5px 5px 0;
    padding: 18px;
}

.home .quick-search .number-input {
    padding-left: 2px;
}

.home .widget_ifound_quick_search .select-wrap, 
.home .widget_ifound_quick_search .number-wrap, 
.home .widget_ifound_quick_search .text-wrap {
    margin-right: 10px;
}

/* Front Page 2
--------------------------------------------- */

.front-page-2 .wrap {
    padding: 50px 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.front-page-2-left {
    border-right: 2px solid #eee;
    width: 66.666666666666%;
}

.front-page-2-right {
    padding-left: 30px;
    width: 33%; /* intentional for Safari */
    text-align: center;
}

.front-page-2-left,
.front-page-2-right {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
}

.front-page-2 .widget {
    margin-bottom: 40px;
    padding: 0 30px;
}

.front-page-2-left .widget:last-child,
.front-page-2-right .widget:last-child {
    margin-bottom: 0;
}

.front-page-2-left .textwidget {
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1.5;
}

.front-page-2 .contact {
    margin-left: 36px;
}

.front-page-2 .contact a {
    color: #111;
}

.front-page-2 .contact a:hover,
.front-page-2 .contact a:focus {
    text-decoration: underline;
}

/* http://ionicons.com/ */
.front-page-2 .contact .icon {
    margin-left: -36px;
    width: 36px;
}

/* Front Page 3
--------------------------------------------- */

.front-page-3 {
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}

.front-page-3::before {
    content: "";
    display: block;
    height: 320px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.front-page-3 .wrap {
    margin: 0 auto;
    max-width: 1380px;
}

.front-page-3 .featured-listings .entry {
    display: inline-block;
    margin: 0 0 40px 0;
    padding: 0;
    vertical-align: top;
    width: 33.333333333333%;
}

.front-page-3 .featured-listings span {
    display: inline-block;
}

.front-page-3 .featured-listings span.listing-price,
.front-page-3 .featured-listings a.more-link {
    display: block;
}

.front-page-3 .featured-listings .listing-price {
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: 600;
}

.front-page-3 .featured-listings span.listing-address:after {
    content: ",";
    display: inline-block;
    padding-right: 5px;
}

/* Front Page 4
--------------------------------------------- */

.front-page-4 .wrap {
    padding: 50px 0;
}

.front-page-4 a.viewall {
    float: right;
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: 600;
    text-decoration: none;
}

.front-page-4 a:hover.viewall,
.front-page-4 a:focus.viewall {
    text-decoration: underline;
}

/* Front Page 5
--------------------------------------------- */

.front-page-5 .wrap {
    max-width: 100%;
}

.front-page-5 .featured-content .entry-title {
    display: inline-block;
    font-size: 36px;
    font-size: 3.6rem;
    font-weight: 400;
    letter-spacing: 0;
    margin: 60px 0;
    margin: 15% 0 60px;
    position: relative;
    text-transform: none;
}

.front-page-5 .featured-content .entry-title:after {
    content: "";
    display: block;
    height: 2px;
    position: relative;
    top: 30px;
    width: 90px;
}

.front-page-5 .featured-content .entry,
.front-page-5 .featured-content.featuredpage .entry {
    margin-bottom: 0;
    overflow: hidden;
    padding: 0;
}

.front-page-5 .featured-content .entry > a,
.front-page-5 .featured-content.featuredpage .entry > a {
    float: left;
    margin: 0;
    overflow: hidden;
    width: 50%;
}

.front-page-5 .featured-content .entry:nth-of-type(2n+2) > a,
.front-page-5 .featured-content.featuredpage:nth-of-type(2n+2) .entry > a {
    float: right;
}

.front-page-5 .featured-content .entry > a img,
.front-page-5 .featured-content.featuredpage .entry > a img {
    display: block;
    height: 440px;
    width: auto;
    max-width: none;
}

.objectfit .front-page-5 .featured-content .entry > a img,
.objectfit .front-page-5 .featured-content.featuredpage .entry > a img {
    object-fit: cover;
    width: 100%;
    max-width: 100%;
}

.front-page-5 .featured-content .entry .entry-header,
.front-page-5 .featured-content .entry .entry-content,
.front-page-5 .featured-content.featuredpage .entry .entry-header,
.front-page-5 .featured-content.featuredpage .entry .entry-content {
    display: block;
    float: left;
    padding-left: 6%;
    padding-right: 30px;
    width: 50%;
    max-width: 700px;
}

.front-page-5 .featured-content .entry:nth-of-type(2n+2) .entry-header,
.front-page-5 .featured-content .entry:nth-of-type(2n+2) .entry-content,
.front-page-5 .featured-content.featuredpage:nth-of-type(2n+2) .entry .entry-header,
.front-page-5 .featured-content.featuredpage:nth-of-type(2n+2) .entry .entry-content {
    float: right;
    padding-right: 6%;
    padding-left: 30px;
}

.front-page-5 .featured-content ul {
    text-align: center;
}

/* Front Page 6
--------------------------------------------- */

.front-page-6,
.front-page-6 a {
    color: #fff;
}

.front-page-6 a:hover,
.front-page-6 a:focus {
    color: #111;
}

.front-page-6 .wrap {
    padding: 60px 0;
}

.front-page-6 img.testimonial {
    border-radius: 50%;
    height: 100px;
    margin: 0 40px 12px 0;
    max-width: 100px;
}

.front-page-6 a.button {
    background-color: transparent;
    border: 4px solid #fff;
    color: #fff;
    margin: 0;
}

.front-page-6 a.button:hover,
.front-page-6 a.button:focus {
    border: 4px solid #666;
    color: #666;
}

/* Custom Styles
------------------------------------------------------------------------------------------ */

/* Quick Search
--------------------------------------------- */

.widget.widget_ifound_quick_search {
    background-image: linear-gradient(
      to bottom, 
      rgba(0,0,0,.6), #000);
    padding: 30px;
}

.home .widget_ifound_quick_search .select-wrap select {
    height: auto;
    padding: 11px;
}

.ifound-more-options {
    display: none;
}

#quick-search-button {
    padding: 13px 24px;
}

.home .quick-search .number-input,
.ifound-text-input,
.quick-search select {
    border-radius: 0;
}

.home .featured-listing {
    background: #f5f5f5;
    border: none;
}

.home .search-nearby .search-nearby-button {
    margin-top: 0;
    text-align: center;
}

.ifound-featured-data .sqft:before {
    content: "\f047";
    display: inline-block;
    font-family: 'Font Awesome 5 Pro';
}

.front-page-5 .featuredpage img {
    transform: scale(1, 1);
    transition: transform 0.5s ease-in;
}

.front-page-5 .featuredpage img:hover {
    transform: scale(1.1, 1.1);
}

.front-page-5 .featuredpage {
    position: relative;
}

.front-page-5 .featured-content .widget-title {
    position: absolute;
    top: 0;
    z-index: 1;
    color: #fff;
    padding: 10px 10px 10px 20px;
    background-color: rgba(0, 0, 0, 0.4666666666666667);
    font-size: 42px;
}

.front-page-5 .featured-content:nth-child(odd) .widget-title {
    left: 0;
}

.front-page-5 .featured-content:nth-child(odd) .widget-title:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 70px solid rgba(0, 0, 0, 0.4666666666666667);
    border-right: 20px solid transparent;
    position: absolute;
    top: 0;
    left: 100%;
}

.front-page-5 .featured-content:nth-child(even) .widget-title {
    right: 0;
    padding: 10px 20px 10px 10px;
}

.front-page-5 .featured-content:nth-child(even) .widget-title:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 70px solid rgba(0, 0, 0, 0.4666666666666667);
    border-left: 20px solid transparent;
    position: absolute;
    top: 0;
    right: 100%;
}

.front-page-6 h2 {
    color: #fff;
    font-size: 46px;
    font-size: 4.6rem;
}

.front-page-2-right .phone {
    margin-bottom: 20px;
}

.front-page-2-right .phone a {
    text-decoration: none;
}

.ifound_required_footer {
    position: absolute;
    bottom: 0;
}

.nav-primary {
    display: none;
}

/* Media Queries
--------------------------------------------- */

/* Max-width 1380px
---------------------------------- */

@media only screen and (max-width:1380px) {

    .front-page-3 .featured-listings .entry {
        text-align: center;
    }

    .front-page-3 .wrap {
        padding: 0 45px;
    }

}

/* Max-width 1200px
---------------------------------- */

@media only screen and (max-width:1200px) {
    
    .front-page-1 .textwidget h2 {
        font-size: 60px;
        font-size: 6rem;
    }

    .front-page-2-left .textwidget {
        font-size: 22px;
        font-size: 2.2rem;
    }

    .front-page-2-right {
        padding-left: 0;
    }

    .front-page-3 .wrap,
    .front-page-5 .wrap {
        max-width: 1200px;
    }

}

/* Max-width 1160px
--------------------------------------------- */

@media only screen and (max-width:1160px) {

    .home .widget_ifound_quick_search .select-wrap, 
    .home .widget_ifound_quick_search .number-wrap, 
    .home .widget_ifound_quick_search .text-wrap {
        width: calc(17% - 20px);
    }

    .home .widget_ifound_quick_search .qs-button-wrap, 
    .home .widget_ifound_quick_search .quick-search-button-wrap {
        display: inline-block;
        float: none;
    }

    .home .quick-search .number-input {
        width: 49%;
    }

    .home .widget_ifound_quick_search .qs-button-wrap, 
    .home .widget_ifound_quick_search .quick-search-button-wrap {
        margin-top: 10px;
    }
}

/* Max-width 980px
---------------------------------- */

@media only screen and (max-width:980px) {
    
    .js.front-page nav.nav-primary {
        background-color: #000;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .js .menu-toggle:focus,
    .js .menu-toggle.activated {
        background-color: #000;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .front-page-5 .featured-content .entry-title:after {
        top: 15px;
    }

    .search-bar {
        margin-top: 0;
    }

    .front-page-2-left .textwidget {
        font-size: 20px;
        font-size: 2rem;
    }

    .front-page .footer-widgets {
        padding-top: 40px;
        padding-bottom: 0;
    }

    .front-page .footer-widgets .widget {
        margin-bottom: 40px;
    }
    
    .home .menu-toggle {
        display: none;
    }

}

/* Max-width 800px
---------------------------------- */

@media only screen and (max-width:800px) {
    
    .flexible-widgets.widget-fourths .widget,
    .flexible-widgets.widget-halves .widget,
    .flexible-widgets.widget-thirds .widget {
        float: none;
        width: 100%;
    }

    .front-page-1 .textwidget h2 {
        font-size: 48px;
        font-size: 4.8rem;
    }

    .front-page-2-left,
    .front-page-2-right {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        width: 100%;
    }

    .front-page-2-left {
        border-right: none;
        margin-bottom: 40px;
    }

    .front-page-3 .featured-listings .widget-title,
    .front-page-5 .featured-content .widget-title,
    .flexible-widgets.widget-full .widget-title {
        font-size: 48px;
        font-size: 4.8rem;
    }

    .front-page-3 .featured-listings .entry {
        width: 100%;
    }

    .front-page-4 a.viewall {
        float: left;
        margin: 10px 0 0;
    }

    .front-page-5 .featured-content .entry,
    .front-page-5 .featured-content.featuredpage .entry {
        margin-bottom: 40px;
    }

    .front-page-5 .featured-content .entry > a,
    .front-page-5 .featured-content.featuredpage .entry > a {
        width: 100%;
    }

    .front-page-5 .featured-content .entry > a img,
    .front-page-5 .featured-content.featuredpage .entry > a img {
        height: 340px;
        width: 100%;
        max-width: 100%;
    }

    .front-page-5 .featured-content .entry .entry-header,
    .front-page-5 .featured-content .entry .entry-content,
    .front-page-5 .featured-content.featuredpage .entry .entry-header,
    .front-page-5 .featured-content.featuredpage .entry .entry-content,
    .front-page-5 .featured-content .entry:nth-of-type(2n+2) .entry-header,
    .front-page-5 .featured-content .entry:nth-of-type(2n+2) .entry-content,
    .front-page-5 .featured-content.featuredpage:nth-of-type(2n+2) .entry .entry-header,
    .front-page-5 .featured-content.featuredpage:nth-of-type(2n+2) .entry .entry-content {
        padding-left: 30px;
        padding-right: 30px;
        width: 100%;
        max-width: 100%;
    }

    .front-page-6 a.alignright.button {
        float: left;
        margin: 20px 0 0;
    }

    
    .home .widget_ifound_quick_search 
    .home .select-wrap, .home .widget_ifound_quick_search .number-wrap, 
    .hsingle-team .widget_ifound_quick_search .text-wrap {
        margin-top: 10px;
        width: 30%;
    }

    
    .home .widget_ifound_quick_search .select-wrap, 
    .home .widget_ifound_quick_search .number-wrap, 
    .home .widget_ifound_quick_search .text-wrap {
        margin-top: 10px;
        width: 30%;
    }

}

/* Max-width 680px
---------------------------------- */

@media only screen and (max-width:680px) {

    .front-page-3 .featured-listings .widget-title,
    .front-page-5 .featured-content .widget-title,
    .flexible-widgets.widget-full .widget-title {
        font-size: 32px;
        font-size: 3.2rem;
    }

    
    .home .search-bar input,
    .home .search-bar select,
    .home .search-bar textarea {
        width: 100%;
    }

}

/* Max-width 500px
---------------------------------- */

@media only screen and (max-width:500px) {
    
    .home .widget_ifound_quick_search .select-wrap, 
    .home .widget_ifound_quick_search .number-wrap, 
    .home .widget_ifound_quick_search .text-wrap {
        margin-right: 0;
        width: 100%;
    }

    
    .home .widget_ifound_quick_search .select-wrap, 
    .home .widget_ifound_quick_search .number-wrap, 
    .home .widget_ifound_quick_search .text-wrap {
        margin-right: 0;
        width: 100%;
    }

    
    .home .widget_ifound_quick_search .quick-search-button-wrap, 
    .home #quick-search-button {
        width: 100%;
    }

    .front-page-3 .wrap {
        padding: 0;
    }

    .ifound_required_footer {
        position: relative;
    }
}

/* Min-width 1800px
---------------------------------- */

@media only screen and (min-width:1800px) {
    
    .front-page-5 .featured-content .entry > a img,
    .front-page-5 .featured-content.featuredpage .entry > a img {
        height: 560px;
    }

    .front-page-5 .featured-content .entry-title {
        margin: 120px 0 60px;
        margin: 30% 0 60px;
    }

}
