/* OVERRIDES */
h1 {
    color: #ffffff;
    font-size: 36px;
    padding: 0 0 20px 0;
}

p {

}

.profile-layout {
    display: flex;
    flex-wrap: wrap;
}

.scroll-title {
    display: none;
    text-align: center;

}

h2.office-profile-name {
    color: #fff;
}

#slideshow {
    position: absolute;
    width: 100%;
    opacity: .99;
}

.timeline .content-row {
    position: relative;
    z-index: 100;
}

    #slideshow video {
        height: auto;
        width: 100%;
        padding-bottom: 0 !important;
    }

    video {
        width: 100%;
    }



.carousel-container {
    /*position: fixed;*/
    width: 100%;
}

.carousel-container { 
    /*z-index: 1;*/
}

@keyframes headerDrop {
    0% {
        transform: translateY(-100%);
        opacity:0;
    }
    100% {
        transform: translateY(0);
        opacity:0.7;
    }
}

/* PAGE CONTENT */
.search-content {
    /*height: 600px;*/
    position: relative;
}

/* Welcome Text*/
.welcome-container {
    position: relative;
    padding: 50px 0;
    background-color: #fff;
}


.welcome-text {
    margin-top: 20px;
    margin-bottom: 60px;
    text-align: center;
}

.welcome-title {
    display: inline-block;
    font-size: 34px;
    text-transform: uppercase;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #c8cfd7;
    margin-bottom: 20px;
}

.welcome-subtitle {
    font-size: 18px;
}
/* End Welcome Text*/

/* Link Boxes */
.link-box-container {
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 30px;
}

.link-box {
    float: left;
    width: 33.33%;
    padding-left: 25px;
    padding-right: 25px;
}

    .link-box > div {
        position: relative;
        height: 400px;
        text-align: center;
        border-bottom: 5px solid #005493;
    }

.link-box-text {
    position: relative;
    display: block;
    padding-top: 45%;
    padding-bottom: 10px;
    font-size: 60px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    transition: all 0.6s;
}

    .link-box-text:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 150px;
        margin: 0 auto;
        border-bottom: 1px solid #fff;
    }

.link-box a {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 20px 57px;
    border: 1px solid #fff;
    margin-top: 50px;
    transition: all 0.3s;
    display: none;
}

    .link-box a:hover {
        background-color: #005493;
    }

.link-box-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
    opacity: 0.5;
    display: none;
}

.link-box div:hover .link-box-overlay {
    display: block;
}

.link-box div:hover .link-box-text {
    display: block;
    padding-top: 30%;
}

.link-box div:hover a {
    display: inline-block;
}

.link-box1 {
    background-image: url("../../images/home/2_opt.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.link-box2 {
    background-image: url("../../images/home/1_opt.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.link-box3 {
    background-image: url("../../images/home/PalmCove174_opt.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
/* End Link Boxes */


/* About */
.about-container {
    position: relative;
    background-image: url("../../images/home/Esplanade3_opt.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    text-align: center;
    padding: 80px 0;
}

.about-text {
    position: relative;
    margin: 0 auto;
    color: #fff;
    padding-top: 30px;
}

.about-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #FFF;
    opacity: 0.7;
}

.about-title {
    font-size: 40px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

    .about-title span {
        display: block;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .about-title:before {
        content: "";
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        width: 550px;
        margin: 0 auto;
        border-top: 1px solid #fff;
    }
/* End About*/

/* Success Map */
h2.success-map-title {
    font-size: 35px;
    padding-top: 20px;
    text-align: center;
    padding: 40px 0;
    font-weight: 400;
    background: #005493;
    color: #fff;
}

@media only screen and (max-width: 1180px) {
    .search-content {
        height: 500px;
    }
}

@media only screen and (max-width: 1024px) {
    .search-content {
        /*background-image: url("../../images/home/TrinityBeach3_opt.jpg");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;*/
    }

    .carousel-container {
        position: relative;
        display: block;
    }

    #image-carousel .item div {
        padding: 0;

    }

    .video-cycler-container {
        display: none;
    }

    .scroll-title {
        display: block;
    }

    #image-carousel .item.item-image {
        background-position: left center;
    }
}

@media only screen and (max-width: 990px) {
    .link-box > div {
        height: 360px;
    }
}

@media only screen and (max-width: 900px) {
    .search-content {
        height: 350px;
    }


    .owl-nav {
        /*display: none;*/
    }

    .link-box > div {
        height: 320px;
    }

    .link-box-text {
        font-size: 45px;
    }
}

@media only screen and (max-width: 820px) {
    .about-title {
        width: 100%;
        font-size: 30px;
    }

        .about-title span {
            padding-left: 0;
            padding-right: 0;
        }

        .about-title:before {
            top: 40px;
        }
}

@media only screen and (max-width: 768px) {
    .search-content {
        padding: 0;
        height: initial;
    }

    .carousel-container {
        display: block;
    }

    .welcome-title {
        font-size: 25px;
    }

    .welcome-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }

    .link-box {
        float: none;
        width: 100%;
    }

        .link-box > div {
            height: 200px;
        }

        .link-box div:hover .link-box-text {
            display: block;
            padding-top: 28px;
        }

    .link-box-text {
        padding-top: 60px;
    }

    .link-box a {
        margin-top: 20px;
    }

    .about-text > h1 {
        font-size:36px;
    }
}

@media only screen and (max-width: 690px) {
    .welcome-container {
        padding: 10px 0;
    }

    .welcome-text {
        padding: 0px 10px;
    }

    .welcome-title {
        line-height: 1.3;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .about-text {
        padding: 0 10px;
    }

    .about-title:before {
        width: 100%;
    }
}

@media only screen and (max-width:625px) {
    .about-text > h1 {
        font-size: 26px;
    }
}

@media only screen and (max-width: 480px) {
    .about-title:before {
        display: none;
    }

    .about-title span {
        margin-bottom: 0;
        line-height: 1.2;
    }
    .about-text > h1 {
        font-size: 20px;
    }
}




.owl-nav {
    display: none;
}

/*.overlay-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999;
    width: auto;
    height: auto;
    max-width: unset;
    padding-top: 65px;
}*/

/*.overlay-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    width: auto;
    height: auto;
    max-width: unset;
    padding-top: 65px;
}*/

.overlay-inner-text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

    .overlay-inner-text p {
        color: #FFF;
        margin: 20px 0 5px 0 !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.70);
    }

    .overlay-inner-text a {
        margin-top: 15px;
        border: 2px solid #FFF;
        text-transform: uppercase;
        color: #FFF;
        padding: 15px 40px;
        text-decoration: none;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.70);
    }

    .overlay-inner-text b {
        color: #005493;
    }

.overlay-inner-text a:hover {
    color: #005493;
    border: 2px solid #005493;
    text-transform: uppercase;
}


h1.page-title {
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    transform: translateY(5px) translateZ(10px);
}

.page-title-wrap {
    padding: 10px 50px;
    position: relative
}

.page-subtitle-wrap {
    margin-top: 15px;
    padding: 10px 50px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 75%;

    white-space: nowrap;
}

.page-button-wrap {
    margin-top: 10px;
    position: relative;
}

h2.page-subtitle {
    padding: 0;
    font-size: 22px;
    text-transform: uppercase;
    transform: translateY(-5px) translateZ(10px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.page-title-wrap:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*background-color: #262626;*/
    background-color: transparent;
    z-index: -1;
    transform: perspective(.5em) rotateX(2deg);
    -moz-transform: perspective(.5em) rotateX(2deg);
    -webkit-transform: perspective(.5em) rotateX(2deg);
    -o-transform: perspective(.5em) rotateX(2deg);
}

.page-subtitle-wrap:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*background-color: #262626;*/
    background-color: transparent;
    z-index: -1;
    transform: perspective(.5em) rotateX(-2deg);
    -moz-transform: perspective(.5em) rotateX(-2deg);
    -webkit-transform: perspective(.5em) rotateX(-2deg);
    -o-transform: perspective(.5em) rotateX(-2deg);
}


@media screen and (max-width:1024px) {

}

@media screen and (max-width:875px) {
    h2.page-subtitle {
        font-size: 20px;
    }

    h1.page-title {
        font-size: 22px;
    }
}

@media screen and (max-width:768px) {

}

@media screen and (max-width:600px) {
    h2.page-subtitle {
        font-size: 16px;
    }

    h1.page-title {
        font-size: 18px;
    }
}

@media screen and (max-width:500px) {
    h2.page-subtitle {
        font-size: 12px;
    }

    h1.page-title {
        font-size: 14px;
    }
}

.testimonial-carousel-row:before {
    position: absolute;
    top: 50%;
    left: 50%;
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    transform: translateY(-50%) translateX(-50%);
    background: rgb(38, 38, 38);
    background: -moz-linear-gradient(0deg, rgba(38, 38, 38, 0.95) 60%, rgba(38, 38, 38, 0.5) 100%), url(/assets/images/photos/testimonials.jpg) no-repeat center;
    background: -webkit-linear-gradient(0deg, rgba(38, 38, 38, 0.95) 60%, rgba(38, 38, 38, 0.5) 100%), url(/assets/images/photos/testimonials.jpg) no-repeat center;
    background: -o-linear-gradient(0deg, rgba(38, 38, 38, 0.95) 60%, rgba(38, 38, 38, 0.5) 100%), url(/assets/images/photos/testimonials.jpg) no-repeat center;
    background: -ms-linear-gradient(0deg, rgba(38, 38, 38, 0.95) 60%, rgba(38, 38, 38, 0.5) 100%), url(/assets/images/photos/testimonials.jpg) no-repeat center;
    background: linear-gradient(90deg, rgba(38, 38, 38, 0.95) 60%, rgba(38, 38, 38, 0.5) 100%), url(/assets/images/photos/testimonials.jpg) no-repeat center;
}

.row-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #005493;
    transform: translateY(-50%);
}

.row-header > h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    background: #005493;
    border-radius: 20px;
    padding: 10px 15px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 1.2;
}

@media screen and (max-width:600px) {
    .row-header > h3 {
        font-size: 16px;
    }
}

.row {
    text-align: center;
}

.masthead-content > h3 {
    font-family: 'Kalam', cursive;
    font-size: 45px;
    color: #fff;
    text-shadow: 0 0 3px black;
}



ul.home-menu.home-grid-menu {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    justify-content: center;
}

ul.home-menu.home-grid-menu > li {
    width: calc(33.333333333% - 30px);
    margin: 15px;
    border-radius: 5px;
    overflow: hidden;
}

ul.home-menu.home-grid-menu > li > a {
    color: #000;
    text-decoration: none !important;
    text-align: center;
    display: block;
    padding: 25px;
    transition: all 0.15s;
    height: 100%;
}

ul.home-menu.home-grid-menu > li > a > span {
    width: 100%;
    display: block;
    margin-top: 5px;
    font-size: 24px;
}

ul.home-menu.home-grid-menu > li > a:hover {
    background: #00b2f4;
    color: #fff;
}

ul.home-menu.home-grid-menu > li > a:hover svg {
    fill: #fff;
}

ul.home-menu.home-grid-menu > li > a svg {
    width: 70%;
    transition: all 0.15s;
    max-width: 100px;
}

@media screen and (max-width: 600px) {
    ul.home-menu.home-grid-menu > li {
        width: calc(50% - 30px);
    }

    ul.home-menu.home-grid-menu > li > a > span {
        font-size: 18px;
    }
    ul.home-menu.home-grid-menu > li > a svg {
        max-width: 60px;
    }
}



.row-title {
    text-align: center;
    padding: 10px;
    background: #fff;
}

.row-title > h2 {
    font-size: 34px;
    margin: 0;
    padding: 0;
    font-weight: 200;
    user-select: none;
    color: #000;
}


.content-row.highlight-row {
    background: #188d47;
    color: #fff;
}

.content-row.highlight-row .content-row-title {
    color: #fff;
    text-align: left;
    font-size: 40px;
}



.row-title > h2:after {
    content: " ";
    display: block;
    height: 4px;
    width: 100px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    background: #00648e ;
    background-image: linear-gradient(to right top, #00648e , #1caef6, #2da9f5, #3ba3f3, #489df0);
}





.video-row-cta-wrap {
    position: relative;
}

.video-row-cta {
    position: absolute;
    left: 25px;
    top: 25px;
    z-index: 10;
    height: calc(100% - 50px);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
}

.video-row-cta-inner {
    width: 350px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}
    .video-row-cta-inner > h3 {
        font-weight: 600;
    }

    .video-cta-content > p {
        text-align: justify;
    }

.video-cta-content > div {
    margin-bottom: 0.5em;
}

.video-row-cta-wrap.video-row-playing .video-row-cta {
    display: none;
}

@media screen and (max-width: 1024px) {

    .video-row-cta {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .video-row-cta-inner {
        box-shadow: none;
        width: 100%;
        text-align: center;
    }
}

.homepage-google-maps-footer-spacer {
    height: 70px;
    margin-top: 0;
    background: #000000;
    z-index: 10;
    position: relative;
    clip-path: polygon(0 70px, 100% 0%, 100% 100%, 0% 100%);
}

/*.homepage-google-maps {
    margin-bottom: -70px;
}*/


.homepage-google-maps {
    height: 50vh;
    min-height: 500px;
}
    .homepage-google-maps > .map-box {
        height: 100%;
    }


/* Masthead Cards */

.card.masthead-card {
    width: 100%;
    margin: 0;
    padding: 25px;
    border: solid 1px #eee;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

h3.masthead-card__title {
    font-family: 'Jomolhari', serif;
    color: #8fc74a;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1em;
}

    h3.masthead-card__title:before, h3.masthead-card__title:after {
        display: block;
        content: " ";
        width: 0.25em;
        height: 0.25em;
        background: #8fc74a;
        border-radius: 50%;
    }

    h3.masthead-card__title:before {
        margin-right: 0.35em;
    }

    h3.masthead-card__title:after {
        margin-left: 0.35em;
    }

.card.masthead-card > p {
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
}

.masthead-card__signin-box {
    margin-top: 1em;
}

    .masthead-card__signin-box > a {
        color: #8fc74a;
        text-decoration: none;
    }

    .masthead-card__signin-box > p {
        margin: 0.25em 0;
        font-size:  1em;
    }

.content-row.content-row--pull-up {
    padding: 0 25px;
    margin-top: calc(0px - 4.5em - 15px);
}

    .content-row.content-row--pull-up > .content-container {
        padding: 0;
        margin: 0 auto;
    }

@media screen and (max-width: 1120px) {
    h3.masthead-card__title {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 980px) {
    .card.masthead-card {
        font-size: 0.8em;
    }
}








#logos {
    /* Prevent vertical gaps */
    line-height: 0;
    -webkit-column-count: 5;
    -webkit-column-gap: 0px;
    -moz-column-count: 5;
    -moz-column-gap: 0px;
    column-count: 6;
    column-gap: 0px;
}

#logos img {
    /* Just in case there are inline attributes */
    width: 100% !important;
    height: auto !important;
    padding: 8px;
}


@media (max-width: 1200px) {
    #logos {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}

@media (max-width: 1000px) {
    #logos {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 800px) {
    #logos {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 400px) {
    #logos {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}