/*@font-face {
    font-family: ScriptinaRegular;
    src: url(../fonts/scriptina.regular.woff);
}

@font-face {
    font-family: SinkinSansRegular;
    src: url(../fonts/SinkinSans-400Regular-webfont.woff);
}*/

body {
    font-family: 'Open Sans'!important;
    overflow-x: hidden;
}

h1 {
    font-family: 'Open Sans'!important;
}

h2 {
    font-family: 'Open Sans'!important;
}

/* ===CONTENT=== */

.parallax-image-1 {
    background-image: url('../images/home/1.jpg');
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* CAROUSEL OVERLAY */
.overlay-container {
    position: relative;
    width: 100%;
    height: 320px;
    z-index: 3;
}


.overlay-inner {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%,-50%);
      max-width: 600px;
      height: 200px;
      display: table;
      z-index: 3;
}
                                    
.overlay-inner-text {
    display: table-cell; 
    vertical-align: middle;
    text-align: center;
    color: #FFF;
    line-height: 45px;
}

    .overlay-inner-text h1 {
        color: #FFF;
        font-size: 40px;
        line-height: 45px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.90);
    }

    .overlay-inner-text h3 {
        margin-top: -10px;
    }

.btn-rounded {
    border: 2px solid #FFF;
    color: #FFF;
    border-radius: 40px;
    padding: 15px 40px;
    text-decoration: none;
}


.url-white {
    color: #FFF;
    text-decoration: none;
}

.url-black {
    color: #000;
    text-decoration: none;
}

.btn {
    border-radius: 4px;
    background-color: #f00;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 22px;
    text-transform: uppercase;
    padding: 10px 15px;
}

    .btn:hover, .btn:focus {
        background-color: #717171;
        color: #fff;
        transition: all 0.3s;
    }

.text-xs-center {
    text-align: center;
}

.g-recaptcha {
    display: inline-block;
    padding-top: 10px;
    transform:scale(1);
    -webkit-transform:scale(1);
    transform-origin:0 0;
    -webkit-transform-origin:0 0;
}

#outer-wrap {
    background-color: transparent;
}

.backing-card {
    color: #555;
    background-color: #fff;
    padding: 40px;
}

    .backing-card a {
        color: #555;
    }

.content-row {
    height: 100%;
    padding: 40px 30px;
    background-color: #fff;
    /*border-bottom: 5px solid #cccccc;*/
}

    .content-row:last-child {
        border-bottom: none;
    }

    .content-row.white-strip {
        padding: 20px 15px;
    }

.page-title {
    position: relative;
    margin-bottom: 10px;
}

.title-bg {
    height: 250px;
    background-image: url("../images/1.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.7;
    z-index: 2;
}

.section {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    z-index: 1;
}


.no-padding {
    padding: 0 !important;
}

.highlight,
.highlight a {
    color: #a8a378;
}

.border-bottom {
    border-bottom: 5px solid #cccccc;
}

.content-title {
    overflow: hidden;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 300;
    border-bottom: 1px solid #f00;
    padding-bottom: 3px;
    color: #37424b;
    font-weight: 600;
}

.page-title {
    text-align: center;
}

.section-title {
    font-size: 34px;
    padding-top: 20px;
    text-align: center;
    display: inline-block;
    padding-bottom: 10px;
    font-weight: 400;
    border-bottom: 1px solid #fff;
    color: #fff;
    text-shadow: 1px 1px #37424b;
}

.sub-title {
    color: #fff;
    text-shadow: 1px 1px #37424b;
    padding: 20px 0;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

/* BACKGROUNDS */
.bg-grey {
    color: #FFF;
    background-color: #f3f3f3;
}

/* SHARE */
.share-links {
    margin-top: 20px;
}

    .share-links i {
        position: relative;
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 38px;
        margin-right: 10px;
        font-size: 22px;
        text-align: center;
        color: #555;
    }

    .share-links .fa:hover {
        color: #fff;
    }

    .share-links .fa-print:hover {
        box-shadow: inset 0 0 0 20px #ff8040;
    }

    .share-links .fa-envelope:hover {
        box-shadow: inset 0 0 0 20px #ed1c24;
    }

    .share-links .fa-facebook:hover {
        box-shadow: inset 0 0 0 20px #3b5998;
    }

    .share-links .fa-twitter:hover {
        box-shadow: inset 0 0 0 20px #4cc2ff;
    }

    .share-links .fa-linkedin:hover {
        box-shadow: inset 0 0 0 20px #0077b5;
    }

    .share-links .fa-google-plus:hover {
        box-shadow: inset 0 0 0 20px #d23e2b;
    }

    .share-links .fa-external-link:hover {
        box-shadow: inset 0 0 0 20px #f00;
    }

/* BUTTONS */

.btn-shine {
    position: relative;
    overflow: hidden;
    background-color: #000!important;
    display: inline-block;
}

.btn-shine:after {
  content: "";
  position: absolute;
  top: -110%;
  left: -350%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transform: rotate(0deg);
  
  background: rgba(255, 255, 255, 0.3);
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0.3) 100%
  );
}

/* Hover state - trigger effect */

.btn-shine:hover:after {
  opacity: 1;
  top: -30%;
  left: -30%;
  transition-property: left, top, opacity;
  transition-duration: 1s, 1s, 0.15s;
  transition-timing-function: ease;
}

/* Active state */

.btn-shine:active:after {
  opacity: 0;
}

/* SOCIAL */
.social {
    text-align: center;
}

    .social i,
    .social-transparent i {
        position: relative;
        display: inline-block;
        width: 35px;
        line-height: 35px;
        margin-right: 10px;
        font-size: 1.8em;
        text-align: center;
        color: #717171;
        padding: 6px;
        border-radius: 4px;
    }

        .social i::before,
        .social-transparent i::before {
            position: relative;
            z-index: 1;
            transition: all 0.25s;
        }

        .social i::after,
        .social-transparent i::after {
            display: block;
            position: absolute;
            z-index: 0;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            content: "";
            transition: all 0.25s;
            border-radius: 4px;
        }

        .social-transparent i:hover {
            color: #fff;
        }

    /*.social-transparent i::after {
            box-shadow: inset 0 0 0 20px #d4d6d8;
        }*/

fa-angle-up:hover::after {
    box-shadow: inset 0 0 0 20px #717171;
}


.social .fa-facebook::after,
.social-transparent .fa-facebook:hover::after {
    box-shadow: inset 0 0 0 20px #3b5998;
}

    .social .fa-twitter::after,
    .social-transparent .fa-twitter:hover::after {
        box-shadow: inset 0 0 0 20px #4cc2ff;
    }

    .social .fa-google-plus::after,
    .social-transparent .fa-google-plus:hover::after {
        box-shadow: inset 0 0 0 20px #d23e2b;
    }

    .social .fa-youtube:hover::after .social-transparent .fa-youtube:hover::after {
        box-shadow: inset 0 0 0 20px #e62117;
    }

/* ===HEADER=== */
.header-container {
    background-color: #000;
    /*position: fixed;
    z-index: 10000;
    z-index: 9999;*/
}

.header-top-bg {
    top: -35px;
}

.btn-navbar {
    background: #FFF;
}

.icon-bar {
    background-color: #14404b;
}

body.mobile-menu-in #outer-wrap {
    margin-top: 0 !important;
}
body.mobile-menu-in .header-container {
    position: absolute !important;
}

/* ===PAGING=== */
.paging-top .paging-links {
    /*display: none;*/
    padding-bottom: 10px;
}

.paging-bottom .page-count {
    display: none;
    /*float: none;
    font-size: 80%;
    text-align: center;
    margin-top: 10px;*/
}

.page-count {
    line-height: 130%;
}

.paging-links {
    position: static;
    left: 0;
    right: 0;
    bottom: 12px;
}

.paging li {
    margin-right: 5px;
    margin-bottom: 10px;
}

.paging input {
    padding: 10px 15px;
}

/* ===MISC=== */
.switch {
    color: #000;
}

:root input[type="checkbox"].ios-switch + span:before {
    text-indent: -2.45em;
}

/* ===CONTROLS=== */

/* Listings */
.listing-container {
    border: none;
}

    .listing-container .icons li {
        font-size: 100%;
    }

    .listing-container .icons img {
        height: 15px;
    }

/* Profiles */
.profile-container-inner a {
    color: #888;
}

.profile-email a {
    text-decoration: none;
}

    .profile-email a:hover {
        text-decoration: underline;
    }

/* Blog */
.no-blog-items {
    margin: 20px;
    font-size: 26px;
    font-weight: 300;
    text-align: center;
    padding-bottom: 40px;
}

.news-date {
    color: #149490;
}

/* Listings */
.no-listings {
    margin: 20px;
    font-size: 26px;
    font-weight: 300;
    text-align: center;
    padding-bottom: 40px;
    margin: 0 auto;
}

.listing-content a:hover {
    text-decoration: underline;
}

/* Testimonials */
.no-testimonials {
    margin: 20px;
    font-size: 26px;
    font-weight: 300;
    text-align: center;
    padding-bottom: 40px;
}

.years-container {
    display: none;
}

.testimonial-item {
    border-top: 1px solid #efefef;
}

    /*.testimonial-item:last-of-type {
        border-bottom: 1px solid #bbbbbb;
    }*/

    .testimonial-item blockquote {
        padding-top: 5px;
    }

/* Open Homes */
.open-homes-container {
    color: #FFF;
}

    .open-homes-container a {
        font-weight: normal;
        color: #FFF;
    }

.open-homes-date,
.open-homes-item {
    border-bottom: 1px solid #494949;
}

.open-homes-icons .icon-number {
    margin-right: 5px;
}

/* ===MEDIA QUERIES=== */
@media only screen and (max-width: 1250px) {
    .content-row {
        padding: 40px 25px;
    }
}

@media only screen and (max-width: 1024px) {
    /* Header */
    .header-container {
        position: relative;
        padding: 0;
    }

    #header {
        padding: 0 25px;
    }

    .header-links {
        position: absolute;
        top: 16px;
        right: 80px;
    }

    .btn-navbar {
        margin-top: 25px;
    }
}

@media only screen and (max-width: 620px) {
    #outer-wrap {
        padding-top: 0;
    }

    .header-top-bg,
    .header-top {
        display: none;
    }

    .btn {
        display: block;
    }

    .listing-header-left {
        padding-right: 0px!important;
    }
}

@media only screen and (max-width: 570px) {
    .header-links {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    #content {
        padding: 0;
    }
}

@media only screen and (max-width: 450px) {
    .section-title {
        font-size: 28px;
        padding: 20px 0;
    }
}

@media only screen and (max-width: 400px) {
    .content-row {
        padding: 20px 25px;
    }
}



div.cards {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.card {
    display: inline-block;
    width: calc(33.333333% - 30px);
    margin: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.25s;
}

.card:hover {
    /*transform: scale(1.01);*/
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width:900px) {
    .card {
        width: calc(50% - 30px);
    }
}

@media screen and (max-width:600px) {
    .card {
        width: calc(100% - 30px);
    }
}

.card-image {
    display: block;
    position: relative;
    background-position: center center;
    background-size: 90%;
    background-repeat:no-repeat;
}

.card-image:before {
    display: block;
    content: " ";
    padding-top: 75%;
}

h2.card-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 10px;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75));
    color: #fff;
    padding-top: 25px;
    margin-bottom: 0 !important;
}

.card-body {
    padding: 10px;
}

.card-arrow-prompt {
    display: none;
}

@media screen and (min-width:600px) {
    .card.horizontal-card.profile-card > a.card-clickable,
    .card.horizontal-card:not(.profile-card) {
        width: calc(100% - 30px);
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }



    .horizontal-card .card-image {
        width: 30%;
        min-height: calc(100% - 30px);
        background-size: contain;
        background-repeat: no-repeat;
        margin: 15px;
    }

    .horizontal-card .card-body {
        width: calc(70% - 30px);
        padding: 25px;
    }

    .horizontal-card h2.card-title {
        padding: 0;
        margin-top: -15px;
    }

    .card-arrow-prompt {
        display: block;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2em;
        color: #ddd;
    }
}

@media screen and (max-width: 980px) and (min-width:600px) {
    .horizontal-card .card-image {
        width: 40%;
    }

    .horizontal-card .card-body {
        width: calc(60% - 30px);
    }
}

@media screen and (max-width: 980px) and (min-width:600px) {
    .horizontal-card .card-image {
        width: 40%;
    }

    .horizontal-card .card-body {
        width: calc(60% - 30px);
    }
}

@media screen and (max-width: 650px) and (min-width:600px) {
    .horizontal-card .card-image {
        width: 50%;
    }

    .horizontal-card .card-body {
        width: calc(50% - 30px);
    }
}

.card.profile-card .card-image {
    background-size: cover;
    background-position: center center;
}

    .card.profile-card .card-image:before {
        padding-top: 125%;
    }

div.card-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(rgba(0,0,0,0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75));
    color: #fff;
    padding-top: 25px;
}

.card-image-caption > h2 {
    padding: 0;
    margin-bottom: 5px;
    font-size: 20px;
}
.card-image-caption > h3 {
    margin-bottom: 0;
}
.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fafafa;
    height: 36px;
    overflow: hidden;
}

.card.profile-card {
    position: relative;
}

a.card-clickable {
    text-decoration: none !important;
}

ul.card-icon-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    
}

ul.card-icon-list > li {
    display: block;
    padding: 0px;
    margin-bottom: 5px;
    margin-top:5px;
}

ul.card-icon-list > li > a {
    padding: 5px;
    text-decoration: none;
    color: #000;
    transition: all 0.15s;
}

ul.card-icon-list > li > a:hover {
    color: #444;
}

.card.profile-card {
    padding-bottom: 36px;
}

a.card-clickable {
    color: #000;
}