﻿/* Body Styling */
*, html, body,
h4, h5, h6, 
p, li, dd, dl, 
select, input,
.top-bar-section ul li > a, 
button, .button, 
.pricing-table .title, .pricing-table .price, 
.tabs dd > a, .tabs .tab-title > a, 
.side-nav, .side-nav li.active > a:first-child:not(.button), 
.accordion .accordion-navigation > a, .accordion dd > a, 
.sub-nav dt, .sub-nav dd, .sub-nav li, 
.label {font-family:EB Garamond, serif; font-weight:300; color: #444; }

body { margin: 0;padding: 0;width: 100%; background: #fff;  background-size: cover; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

h1 {font-family:EB Garamond, serif;font-size: 2.6rem;letter-spacing: -1px; margin: 2rem 0 3rem 0; color: #444; color: #495e71; }
h2 {font-family:EB Garamond, serif;color: #444; color: #495e71; font-size: 2em;letter-spacing: -1px; margin: 1rem 0 3rem 0; }
h3 {font-family:EB Garamond, serif;color: #444; color: #495e71; font-size: 1.6em;letter-spacing: -1px;}
p {font-family:EB Garamond, serif;font-size: 1.2rem;;color: #363f4e;margin: 0 0 2rem 0;}

img { height: auto !important; }
p img { margin-bottom: 1rem; }

a {color: #5abb64; color: #4186B6; line-height: inherit;}

.clear {clear:both!important;}

.image {margin-left: auto;margin-right: auto;display: block;padding-top: 2.5vh;max-width: 72%;}
.header-image {padding-top: 9vh;height:40vh!important;}

header { margin-top: 1rem; }
footer { padding-top: 1rem; }
.row, .contain-to-grid .top-bar { max-width: 90rem; }
.full-width {width:100vw;max-width:100vw!important;}
/* Navigation Styling */

.fixed { box-shadow: 0 0 3px #000;background:#fff;}
.nav-bar {display: flex;justify-content: space-between;align-items: center;background: #fff;font-family: "Open Sans", sans-serif;}
.nav-bar .nav-bar-logo {padding: 1.8rem;}
.nav-bar a {color: #fff;transition: color 0.2s ease-in;}
.nav-bar a:hover {color: #a8b8c3;}
@media screen and (max-width: 39.9375em) {.nav-bar {height: 53.57143px; }}
.nav-bar .offcanvas-trigger {display: flex;align-items: center;justify-content: center;padding: 1.6rem;color: #fff;font-family: "Open Sans", sans-serif;
                             text-transform: uppercase;background-color: rgba(0,0,0,0);transition: background-color 0.2s ease-in;cursor: pointer;}
.nav-bar .offcanvas-trigger .offcanvas-trigger-text {margin-right: 0.25rem;margin-top: 0.25rem;}
.nav-bar .offcanvas-trigger:hover {background-color: #fff;}
@media screen and (max-width: 39.9375em) {.nav-bar .offcanvas-trigger {padding: 0.9rem; }}
.off-canvas {background: #222b31;padding: 20px;color: #fff;font-family: "Open Sans", sans-serif;}
.off-canvas > .menu {margin-bottom: 1rem;}
.off-canvas .menu a {color: rgba(255, 255, 255, 0.6);padding-top: 7px;padding-bottom: 7px;transition: color .2s ease-in;}
.off-canvas .menu a:hover {color: #fff;}
.off-canvas .fa {color: #fff;}
.off-canvas .is-accordion-submenu-parent > a::after {border-color: rgba(255, 255, 255, 0.6) transparent transparent;}
.off-canvas .social-links {margin-left: 20px;}
.off-canvas .social-links li {margin-right: 5px;}
.off-canvas .social-links a:hover .fa {color: #bfbfbf;transition: color .2s ease-in; }
.off-canvas .social-links .fa {font-size: 2.2rem;}
.body-info {text-align: center;font-family: "Open Sans", sans-serif;color: #2c3840;}
.body-info .button {margin: 1rem 0;padding: 0.85em 2em;}
.is-open + .off-canvas-content .hamburger .line:nth-child(1),
.is-open + .off-canvas-content .hamburger .line:nth-child(3) {width: 12px;}
.is-open + .off-canvas-content .hamburger .line:nth-child(1) {transform: translateX(-5px) rotate(-45deg);}
.is-open + .off-canvas-content .hamburger .line:nth-child(3) {transform: translateX(-5px) rotate(45deg);}
.hamburger .line {width: 20px;height: 3px;background-color: #000;display: block;margin: 4px auto;transition: all 0.3s ease-in-out;margin-left: 5px; }
.hamburger .line:last-child {margin-bottom: 0; }
.nav-bar-left p{font-size: 2.2rem;font-weight: 600;letter-spacing: -2px;float: left;margin-left: 20px;margin-top: 15px;margin-bottom: -20px;color:white;}

.top-bar, .top-bar ul {background-color: #fff!important;}
.title-bar {background: #fff;padding: 0.9rem;}
.top-bar {background: #fff;}
top-bar ul {background: #fff;}
.top-bar ul li {background: #fff;}
.top-bar ul li a {letter-spacing: 0px;color: #495e71;font-weight: 400;font-size: 1.2rem;padding: 1em 0.9375rem;}
.slide-maintnav .top-bar ul li a {letter-spacing: 0px;color: #495e71;font-weight: 400;font-size: 1rem;padding: 1em 0.9375rem;}
.menu-text {color: #000;}
.menu-text {color: #000;}
.menu .active > a {background: none;color: #495e71;}
.dropdown.menu .submenu {border: none;}


.caption-right { color:#6C7586; font-size: 1.1rem; line-height:1.4rem ; clear:left;margin-right: 0px; margin-left:40px; margin-bottom: 50px;margin-top: -10px;padding:5px;font-style:italic; display:block;}
.article p img.captioned-image-right {display:block; margin-bottom:10px;  margin-left:40px;margin-right: 0px;}

.caption-left { color:#6C7586; font-size: 1.1rem; line-height:1.4em; clear:left;margin-right: 40px; margin-left:0;margin-bottom: 50px; margin-top: -10px; padding:5px; font-style:italic; display:block;}
.article p img.captioned-image-left {display:block; margin-bottom:10px;  margin-left:0px;margin-right: 40px;}

.caption-center { color:#6C7586; font-size: 1.1rem; line-height: 1.4rem; clear:left;margin-right: 0px;margin-left:0; margin-bottom: 50px;margin-top: -10px;padding:5px;font-style:italic; display:block; float:right;}
.article p img.captioned-image-center {display:block; margin-bottom:10px;  margin-right: 0px;margin-left:0;}


/* Social Icons Styling */

.fi-social-facebook, .fi-social-twitter, .fi-social-google-plus, .fi-rss { color: #fff; padding: 0px 0.4rem;  }
.top-bar .fi-social-facebook, .top-bar .fi-social-twitter, .top-bar .fi-social-google-plus, .top-bar .fi-rss { margin: 0px 0px 0px -1.5rem; }
.fi-social-facebook:hover, .fi-social-twitter:hover, .fi-social-google-plus:hover, .fi-rss:hover { background: #ddd }

/*.fi-social-twitter { background: #6caddf; }
.fi-social-facebook { background: #3b579d; }
.fi-social-google-plus { background: #c00; }
.fi-rss { background: #ff9900; }*/

.fi-social-twitter:hover { color: #6caddf; }
.fi-social-facebook:hover { color: #3b579d; }
.fi-social-google-plus:hover { color: #c00; }
.fi-rss:hover { color: #ff9900; }

.size-12 { font-size: 12px; }
.size-14 { font-size: 14px; }
.size-16 { font-size: 16px; }
.size-18 { font-size: 18px; }
.size-21 { font-size: 21px; }
.size-24 { font-size: 24px; }
.size-36 { font-size: 36px; }
.size-48 { font-size: 48px; }
.size-60 { font-size: 60px; }
.size-72 { font-size: 72px; }

.fi-page-edit {margin-left:-25px;float:left;}

/* Slide Styling */

.slide-maintnav {background: #fff; color:#272727; margin:0 auto; overflow:hidden; padding:0; width:100%; }
.slide-nav {background: #fff; color:#272727; margin:0 auto;padding:0; width:100%;height: 92px;}
.slide-mobile-navigation {background: #fff; color:#272727; margin:0 auto; overflow:hidden; padding: 5px 0 0 0; width:100%;height: 62.5px;}
.slide-mobile-navigation p {font-family: Montserrat; font-size: 1.5rem; letter-spacing:-2px; font-weight: 300!important; color: #000 !important; text-align:left; margin:0; height: 45px;}
.slide-white { background: #fff; color:#000; margin:0 auto; overflow:hidden; padding:10px 0; width:100%; }
.slide-white h1, h2, h3 {color:#495e71;}
.slide-main-gallery { background: #fff; color:#272727; margin:0 auto; overflow:hidden; width:100%; }
.slide-main-gallery h1, h2, h3 {color:#495e71;}
.slide-main-gallery p {color:#363f4e;}
.slide-blue { background: #2a4a9b; color:#272727; margin:0 auto;overflow:hidden; width:100%; }
.slide-grey { background: #f5f5f7; color: #fff;margin-bottom: 25px;}
.slide-grey h1, h2, h3 {color:#495e71;}
.slide-background-1 { color: #444; margin: 0; position:relative; width:100%; }
.slide-background-5 { background: url(../img/2.jpg) 100% 0 no-repeat #222; color: #fff; background-size: cover; height: 41vh;}
.slide-breadcrumbs {background: #eaeaea; color:#272727; margin:0 auto; overflow:hidden; padding:0; width:100%; max-height: 28px;}
.slide-breadcrumbs-gallery {background: #8C98A3; color:#272727; margin:0 auto; overflow:hidden; padding:0; width:100%; max-height: 28px;}
.slide-breadcrumbs-gallery ul.pagination li a {color: #ffffff;font-size: 1.1rem;line-height: 1.4rem;height: 1.4rem;}
.slide-f11 {background: #495e71;color: white;margin: 0 auto;overflow: hidden;padding: 2px;width: 100%;height: 31px;margin-top: 10px;margin-bottom: 0;}
.slide-f11 a {color: #fff;line-height: inherit;margin-left: 25px;}
.slide-event {background: #eff0f0;color: #fff;}
.slide-gallery { background: url(../img/gallery-background.jpg) 100% 0 no-repeat #222; color: #fff; background-size: cover;}

.slide-blue h1, .slide-blue h2, .slide-blue h3, .slide-blue p, .slide-blue a {color:#fff;}

.slide-background-1 h1, .slide-background-1 h2, .slide-background-1 h3, .slide-background-1 h4, .slide-background-1 h5, .slide-background-1 p { color:#000; margin:0.5rem; }

/* Grid Styling */

.component-grid, .grid { width: 100%; max-width: 100%; padding-bottom: 0; }
.component-grid { padding: 0px; }
.grid figure {position: relative; float: left; overflow: hidden; margin: 10px 0px; min-width: 100%; max-width: 480px;
              max-height: 360px; background: #3085a3; text-align: center; cursor: pointer;}
.grid figure figcaption {padding:1em;}
.grid figure img {margin-left: auto;margin-right: auto;width: 100%;height:auto!important;display:block;}
.grid figure h2, .grid figure p {color:#fff;word-spacing:0;}
.grid figure h2 {font-size:1.75rem;font-weight:600;}
.component-grid li {width:33%}
.component-grid figure {width: 100%; max-width: 100%;}
.component-grid figure img {margin-left: auto; margin-right: auto; width: 100%;}

figure.effect-oscar figcaption {background:none;}

/* Edit Link Styling */

.editLink {float:none !important; position: fixed; bottom: -2px; left: 46%; border-radius: 10px 10px 0 0 !important; background: #15c !important;
           box-shadow: 0px 0px 5px #999, 0px 2px 3px #4ae inset; width: auto !important; height: 55px; text-align: center; padding: 10px 10px 0px 10px !important;
           vertical-align: center; z-index: 100000;}

img.left { float: left; margin: 5px 20px 10px 0px; }
img.right { float: right; margin: 5px 0px 10px 20px; }
.calendar img {max-width:none;}

/* Button Styling */

button, .button {border-style: solid;border-width: 0;cursor: pointer;line-height: normal;margin: 0 0 1.25rem;position: relative;text-decoration: none;text-align: center;
                 -webkit-appearance: none;border-radius: 0;display: inline-block;padding-top: 1rem;padding-right: 2rem;padding-bottom: 1.0625rem;padding-left: 2rem;
                 font-size: 1.4rem;background-color: #007bc2;border-color: #007095;color: #FFFFFF!important;transition: background-color 300ms ease-out;background-color: #495e71;}

/* Your Style Changes Below */

.panel-filter {border-style: solid;border-width: 1px;border-color: #f1f1f1;margin-bottom: 1.25rem;padding: 1.25rem;background: #fff;color: #333333;}
.panel-header {margin-bottom: 1rem;padding: 1rem;background: rgba(224,224,224,0.4);color: #333333;}

.mobile-search-bar { position: fixed; bottom: 0;width: 100%; z-index: 10000; text-align: center;background: #eaeaea;padding: 0.5rem; }
.mobile-search-bar a { color: black; border-bottom: 0; }
/*.my-modal-search { float:left; }
.my-modal-property-nav { float:right; }
#myModalSearch {position:fixed;top:0 !important;padding:0.5rem; min-width:auto!important; min-height: 1em!important; width: 100vw; margin-top: 45px; font-size: 120%; border-radius: 0 0 10px 10px;}

#myModalSearch1, #myModalPropertyNav1 {text-align: center;position:fixed;top:0 !important;padding:0.5rem; min-width:auto!important; min-height: 1em!important; width: 80vw; margin-top: 80px; font-size: 120%; border-radius: 0 0 10px 10px;}

#myModalPropertyNav1 a, #myModalPropertyNav a { background: #ddd; border-radius:10px; margin-bottom: 3px;border:1px solid #ccc;width: 100%; display: block; }*/
i.fi-star {animation: blink 1s steps(10) infinite;
           -webkit-animation: blink 1s steps(10) infinite; }
@keyframes blink { 50% { color: transparent; } }

.label {font-weight: 700;text-align: center;text-decoration: none;line-height: 1;white-space: nowrap;display: inline-block;position: relative;margin-bottom: auto;
        padding: 10px;font-size: 0.8rem;background-color: #008CBA;color: #FFFFFF;border-radius: 5px;}

ul.pagination li a {color: #6C7586;font-size: 1.1rem;line-height: 1.4rem;height: 1.4rem;}

.image-title{background: #f1f1f1;margin-bottom: 0px;font-weight: 500;letter-spacing: -1px; font-size: 1.5em; line-height:1.3em; height: auto; padding: 10px !important; width: 100%}

.callout {
    position: relative;
    /* margin: 0 0 1rem 0; */
    padding: 10px;
    border: 1px solid rgba(10, 10, 10, 0.25);
    border-radius: 0;
    background-color: white;
    color: #0a0a0a;
}

/*@media print, screen and (min-width: 40em){
    .reveal {width: auto!important;max-width: 95vw!important;max-height: 95vh!important;}
}*/

.masonry-css {-webkit-column-count: 1;-moz-column-count: 1;column-count: 1;-webkit-column-gap: 2.5px;-moz-column-gap: 2.5px;column-gap: 2.5px;}
.masonry-css-item {-webkit-column-break-inside: avoid;page-break-inside: avoid;break-inside: avoid;margin-bottom: 2.5px;}

.reveal {
    width: auto;
    max-width: 78vw!important;
    height: auto;
    max-height: 77.5vh!important;
    margin-top: 45px;
}

.reveal img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    height: auto!important;
    max-height: 73.5vh!important;
    -ms-interpolation-mode: bicubic;
}

.reveal p { 
            line-height: 22px;
}

.callout-gallery {
    position: relative;
    padding: 20px;
    border: none;
    border-radius: 0;
    background-color: #495e71;
}

.callout-gallery p {color:#fff;line-height: 22px;text-align:center;margin-bottom:20px;}

@media screen and (min-width: 25em) {
    .masonry-css {-webkit-column-count: 2;-moz-column-count: 2;column-count: 2;}
}

@media screen and (min-width: 37.5em) {
    .masonry-css {
        -webkit-column-count: 3;-moz-column-count: 3;column-count: 3;}
}

@media screen and (min-width: 50em) {
    .masonry-css {-webkit-column-count: 4;-moz-column-count: 4;column-count: 4;}
}

@media screen and (min-width: 68.75em) {
    .masonry-css {-webkit-column-count: 6; -moz-column-count: 6;column-count: 6;}
}

// Function to convert px to rems
@function remy($value, $base: 16px) {
    @return ($value / $base) * 1rem;
}

// Variables
$breakpoint-xlarge: 1200px;

/* Extending Foundation grid */
@media screen and (min-width: $breakpoint-xlarge) {
    .xlarge-1 {flex: 0 0 8.33333%;max-width: 8.33333%;}
    .xlarge-2 {flex: 0 0 16.66667%;max-width: 16.66667%;}
    .xlarge-3 {flex: 0 0 25%;max-width: 25%;}
    .xlarge-4 {flex: 0 0 33.33333%;max-width: 33.33333%;}
    .xlarge-5 {flex: 0 0 41.66667%;max-width: 41.66667%;}
    .xlarge-6 {flex: 0 0 50%;max-width: 50%;}
    .xlarge-7 {flex: 0 0 58.33333%;max-width: 58.33333%;}
    .xlarge-8 {flex: 0 0 66.66667%;max-width: 66.66667%;}
    .xlarge-9 {flex: 0 0 75%;max-width: 75%;}
    .xlarge-10 {flex: 0 0 83.33333%;max-width: 83.33333%;}
    .xlarge-11 {flex: 0 0 91.66667%;max-width: 91.66667%;}
    .xlarge-12 {flex: 0 0 100%;max-width: 100%;}
}

/* Override for Foundation reveal overlay */
.reveal-overlay {overflow: auto;}
.reveal-modal-bg{position:fixed;}
.reveal-modal{position:fixed;}

/* Override for Foundation reveal (modal) */
.gallery-reveal {position: absolute;top: 50%;left: 50%;min-height: 1px;height: auto;border: 0;box-shadow: 0 remy(2px) remy(4px) rgba(0, 0, 0, .5);transform: translate(-50%, -50%);}

/* Custom styles for author */
.modal-author {margin-bottom: remy(8px);font-size: remy(16px);}
.close-button {transition: color .25s cubic-bezier(.4, 0, 1, 1);background:none;}
.featured-image-block-grid-header {margin-left: auto;margin-right: auto;}
.featured-image-block {margin-bottom: 20px;}
.featured-image-block .featured-image-block-title {font-weight: 600;margin-top: 10px;text-transform: uppercase;letter-spacing: 1px;font-size: 1em;color: #404040;}
.featured-image-block a:hover p {color: #1779ba;}



// Small screens
@media only screen {
    .main-content-row {margin-top:63px;}
    h1 {font-size: 2rem;letter-spacing: -1px; margin: 1.5rem 0 1.5rem 0; color: #444; color: #495e71; padding: 5px 20px 5px 20px;}
    h2 {color: #444; color: #495e71; font-size: 1.65em;letter-spacing: -1px; margin: 1rem 0 3rem 0; padding: 5px 20px 5px 20px;}
    h3 {color: #444; color: #495e71; font-size: 1.3em;letter-spacing: -1px; padding: 5px 20px 5px 20px;}
    p {font-size: 110%;color: #444; color: #363f4e; margin: 0 0 2rem 0; padding: 5px 20px 5px 20px;}
    .slide-main-gallery h1 {font-size: 2rem;letter-spacing: -1px; margin: 1.5rem 0 1.5rem 0; color: #272727;padding: 5px 20px 5px 20px;text-align:center;}
    .reveal {width: auto;max-width: 78vw!important;height: 50vh!important;min-height:20vh;margin-top: 20vh;margin-left: 10vw;}
} /* Define mobile styles */

@media only screen and (max-width: 40em) {
    .main-content-row {margin-top:63px;}
    h1 {font-size: 2rem;letter-spacing: -1px; margin: 1.5rem 0 1.5rem 0; color: #444; color: #495e71; padding: 5px 20px 5px 20px;}
    h2 {color: #444; color: #495e71; font-size: 1.65em;letter-spacing: -1px; margin: 1rem 0 3rem 0; padding: 5px 20px 5px 20px;}
    h3 {color: #444; color: #495e71; font-size: 1.3em;letter-spacing: -1px; padding: 5px 20px 5px 20px;}
    p {font-size: 110%;color: #444; color: #363f4e; margin: 0 0 2rem 0; padding: 5px 20px 5px 20px;}
    .slide-main-gallery h1 {font-size: 2rem;letter-spacing: -1px; margin: 1.5rem 0 1.5rem 0; color: #272727; padding: 5px 20px 5px 20px;text-align:center;}
    .reveal {width: auto;max-width: 78vw!important;height: 50vh!important;min-height:20vh;margin-top: 20vh;margin-left: 10vw;} 
} /* max-width 640px, mobile-only styles, use when QAing mobile issues */

// Medium screens
@media only screen and (min-width: 40.063em) {
    .main-content-row {margin-top:27px;}
    .reveal {
    width: auto;
    max-width: 93vw!important;
    height: auto;
    max-height: 77.5vh!important;
    margin-top: 45px;
}

} /* min-width 641px, medium screens */

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    .main-content-row {margin-top:27px;}
    .reveal {
    width: auto;
    max-width: 93vw!important;
    height: auto;
    max-height: 77.5vh!important;
    margin-top: 45px;
}
} /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */