/* Slideshow */
#hero-sxn,
.slideshow-view {
  position: relative;
}

.slideshow-view::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.slideshow-view::after {
  height: 100%;
/*   background: rgba(0, 0, 0, 0.15); */
}

.slideshow-view .cycloneslider .cycloneslider-slide-image,
.slideshow-view .cycloneslider .cycloneslider-slide canvas {
  height: 100% !important;
}

.slideshow-content {
  position: absolute;
  left: 0;
  bottom: 80px;
  width: 100%;
  z-index: 2;
}

.slideshow-tagline .tagline {
  text-align: right;
  font-family: var(--font-family-title);
  font-weight: 400;
  font-size: 60px;
  color: #fff;
  line-height: 1.2;
}

.site-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.site-link-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 -15px;
}

.site-link-list li {
  position: relative;
  display: inline-block;
  vertical-align: top;
  color: #fff;
  margin: 0 15px;
  opacity: .5;
  padding-bottom: 36px;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

.site-link-list li::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: #fff;
  opacity: 0;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

.site-link-list li em {
  display: block;
  font-family: var(--font-family-tertiary);
  font-style: normal;
  font-size: 16px;
  letter-spacing: .15em;
  margin-bottom: 10px;
}

.site-link-list li a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-link-list li.active, .site-link-list li:hover, .site-link-list li:focus {
  opacity: 1;
}

.site-link-list li.active::before, .site-link-list li:hover::before, .site-link-list li:focus::before {
  opacity: 1;
}

#hero-sxn .site-link {
  margin-top: 76px;
}

.site-link--mobile {
  padding: 50px 0;
  background: var(--primary-color);
}

/* Portfolio */
#portfolio-section {
  padding: 120px 0 90px;
}

#portfolio-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 664px;
  height: 664px;
  background: url(../../images/accent-compass.png) no-repeat top -275px left -145px;
  opacity: .05;
  pointer-events: none;
  z-index: -1;
}

#portfolio-section .site-container {
  padding-right: 45px;
}

#portfolio-section .section-heading h2 {
  padding-bottom: 18px;
}

.portfolio-wrap {
  position: relative;
  min-height: 560px;
}

.portfolio-head {
  position: absolute;
  top: 120px;
  left: 0;
  width: 48%;
  overflow: hidden;
}

.portfolio-list .slick-list {
  padding-right: 55px;
}

.portfolio-item {
  position: relative;
  display: block;
  width: 46%;
  max-width: 639px;
  margin-left: auto;
}

.portfolio-item-wrap .portfolio-item:first-child {
  margin-top: 0 !important;
}

.portfolio-item-wrap .portfolio-item:nth-child(2n) {
  margin-top: -85px;
  margin-right: auto;
  margin-left: 0;
}

.portfolio-item-wrap .portfolio-item:nth-child(2n) .dotted-accent {
  top: -60px;
  width: 180px;
  height: 390px;
}

.portfolio-item-wrap .portfolio-item:nth-child(2n) .dotted-accent::after {
  top: initial;
  bottom: 0;
  left: 0;
  width: 75%;
  height: 88%;
}

.portfolio-item-wrap .portfolio-item:nth-child(3) {
  margin-top: -200px;
}

.portfolio-image {
  position: relative;
  background: var(--primary-color);
}

.portfolio-image .dotted-accent {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 350px;
  height: 180px;
  background-position: center center;
  z-index: -1;
}

.portfolio-image .dotted-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 88%;
  height: 75%;
  background: #fff;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48.4%;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(8%, rgba(0, 0, 0, 0.04)), color-stop(19%, rgba(0, 0, 0, 0.12)), color-stop(57%, rgba(0, 0, 0, 0.47)), color-stop(73%, rgba(0, 0, 0, 0.6)), color-stop(83%, rgba(0, 0, 0, 0.65)), to(rgba(0, 0, 0, 0.65)));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.04) 8%, rgba(0, 0, 0, 0.12) 19%, rgba(0, 0, 0, 0.47) 57%, rgba(0, 0, 0, 0.6) 73%, rgba(0, 0, 0, 0.65) 83%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.portfolio-image canvas {
  display: block;
  width: 100%;
  height: 417px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

.portfolio-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  width: 100%;
  padding: 37px 40px;
  text-align: left;
}

.portfolio-detail > span {
  display: block;
  font-size: 20px;
  letter-spacing: .06em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 10px;
}

.portfolio-detail .portfolio-city,
.portfolio-detail .portfolio-address {
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  white-space: nowrap;
}

.portfolio-detail .portfolio-city {
  font-size: 13px;
  letter-spacing: .1em;
  margin-top: 0;
}

.portfolio-navigation {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  right: 55px;
  bottom: 77px;
  width: 44%;
  overflow: hidden;
}

.portfolio-navigation button {
  display: inline-block;
  vertical-align: middle;
  font-weight: 300;
  color: var(--primary-color);
  font-size: 0;
  text-transform: uppercase;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 0;
  margin-right: 26px;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

.portfolio-navigation button em {
  display: inline-block;
  vertical-align: middle;
  font-style: normal;
  font-size: 54px;
}

.portfolio-navigation button.portfolio-prev {
  color: #d5d5d5;
  margin-right: 24px;
}

.portfolio-navigation button.portfolio-prev:hover, .portfolio-navigation button.portfolio-prev:focus {
  color: var(--primary-color);
}

.portfolio-navigation button:hover, .portfolio-navigation button:focus {
  color: #d5d5d5;
}

.portfolio-navigation .portfolio-btn-wrap {
  background: #fff;
}

.portfolio-navigation .portfolio-link-wrap {
  position: relative;
  margin-left: auto;
}

.portfolio-navigation .portfolio-link-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  background: #d2d2d2;
  height: 1px;
  width: 100vw;
  z-index: -1;
}

.portfolio-navigation .default-btn {
  min-width: 263px;
}

.portfolio-item:hover .portfolio-image canvas, .portfolio-item:focus .portfolio-image canvas {
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
}

/* Welcome */
#wc-section {
  padding: 125px 0 130px;
}

#wc-section::before {
  content: '';
  position: absolute;
  bottom: 45px;
  right: 0;
  width: 531px;
  height: 558px;
  background: url(../../images/accent-flower-outline.png) no-repeat center center;
  pointer-events: none;
  opacity: .1;
}

#wc-section > .dotted-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 87.5%;
  height: 100%;
  z-index: -1;
}

#wc-section > .dotted-accent::after {
  content: '';
  position: absolute;
  top: 135px;
  left: 75px;
  right: 0;
  bottom: 0;
  background: #fff;
}

#wc-section .section-heading h2,
#wc-section .section-heading h1 {
  font-size: 47px;
  letter-spacing: .02em;
}

#wc-section .section-heading h2 span,
#wc-section .section-heading h1 span {
  font-weight: 400;
  color: #000;
}

#wc-section > .section-bg {
  position: absolute;
  top: 75px;
  left: 0;
  width: 36.4%;
  height: calc(100% - 205px);
  pointer-events: none;
}

#wc-section > .section-bg::before, #wc-section > .section-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#wc-section > .section-bg::before {
  background: url(../../images/bg-wc-a.jpg) no-repeat left center;
  background-size: cover;
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
}

#wc-section > .section-bg::after {
  background: #fff;
  opacity: .89;
}

.wc-image {
  position: relative;
  max-width: 575px;
  z-index: 1;
}

.wc-image::before, .wc-image::after {
  content: '';
  position: absolute;
  height: 85px;
  background: var(--primary-color);
  z-index: 1;
  pointer-events: none;
}

.wc-image::before {
  top: -50px;
  width: 100vw;
  right: 60%;
}

.wc-image::after {
  bottom: -35px;
  right: 0;
  width: 57%;
}

.wc-image .dotted-accent {
  position: absolute;
  top: 12px;
  right: -17px;
  width: 15px;
  height: 200px;
  z-index: -1;
}

.wc-content {
  padding: 49px 15px 30px;
}

.wc-content p {
  font-size: 15px;
  color: #2a2a2a;
  letter-spacing: .02em;
  line-height: 1.7;
  margin-top: 27px;
  max-width: 705px;
}

.wc-content p:first-of-type {
  margin-top: 35px;
}

.wc-content .default-btn {
  margin-top: 60px;
}

/* Testimonial */
#testi-section {
  padding: 85px 0 120px;
  background: url(../../images/bg-testi.jpg) no-repeat center center;
  background-size: cover;
}

#testi-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  pointer-events: none;
  opacity: .4;
}

#testi-section .section-heading {
  max-width: 560px;
  margin: 0 auto;
}

#testi-section .section-heading h2 {
  font-weight: 500;
  letter-spacing: .05em;
  padding-bottom: 0;
}

#testi-section .section-heading.heading-line-left h2::before {
  display: none;
}

#testi-section .section-heading.heading-line-left h2::after {
  bottom: initial;
  left: initial;
  top: 50%;
  right: calc(100% + 30px);
}

.testi-list {
  margin: 45px auto 0;
}

.testi-item p {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .02em;
  color: #fff;
  line-height: 1.8;
}

.testi-item .testi-author {
  font-family: var(--font-family-title);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
  margin-top: 35px;
}

.testi-btn-wrap {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 62px;
}

.testi-btn-wrap .default-btn {
  margin-right: auto;
}

.testi-navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.testi-navigation .slick-arrow {
  position: relative;
  font-weight: 300;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
  font-size: 32px;
  background: transparent;
  color: #fff;
  opacity: .5;
  border: none;
  z-index: 1;
  padding: 0;
  margin-left: 15px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  outline: none;
}

.testi-navigation .slick-arrow.testi-next {
  left: initial;
  right: 0;
}

.testi-navigation .slick-arrow:hover, .testi-navigation .slick-arrow:focus {
  opacity: 1;
}

/* Community */
#community-section {
  padding: 115px 0 65px;
  text-align: center;
}

#community-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 664px;
  height: 664px;
  background: url(../../images/accent-compass.png) no-repeat top -50px right -128px;
  opacity: .05;
  pointer-events: none;
  z-index: -1;
}

#community-section .section-heading h2 {
  display: inline-block;
}

#community-section .default-btn {
  margin-top: 48px;
}

.community-list {
  position: relative;
  text-align: center;
  margin: 0 -21px;
  padding: 104px 0 50px;
}

.community-list::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background: url(../../images/accent-dot.png) repeat left top;
  pointer-events: none;
  z-index: -1;
}

.community-item-wrap {
  display: inline-block;
  width: calc(100% / 3);
  padding: 6px;
}

.community-item {
  position: relative;
  display: block;
}

.community-image {
  position: relative;
  background: var(--primary-color);
  overflow: hidden;
}

.community-image canvas {
  display: block;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .7;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

.community-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.community-content .community-name {
  display: block;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: .08em;
  line-height: 1.2;
  color: #fff;
}

.community-item:hover .community-image canvas, .community-item:focus .community-image canvas {
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1480px) {
  #wc-section .section-heading h2,
  #wc-section .section-heading h1 {
    font-size: 42px;
  }
  .wc-content p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 1366px) {
  #wc-section .section-heading h2,
  #wc-section .section-heading h1 {
    font-size: 37px;
  }
  .wc-content .default-btn {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 1280px) {
  .slideshow-content {
    bottom: 60px;
  }
  #hero-sxn .site-link {
    margin-top: 50px;
  }
  .wc-content p {
    font-size: 12px;
  }
}

@media only screen and (max-width: 1199px) {
  .slideshow-content {
    bottom: 40px;
  }
  .slideshow-tagline .tagline {
    font-size: 50px;
  }
  #hero-sxn .site-link {
    margin-top: 30px;
  }
  #hero-sxn .site-link-list li a {
    font-size: 12px;
    letter-spacing: .05em;
  }
  .portfolio-head {
    top: 80px;
  }
  .portfolio-image canvas {
    height: 317px;
  }
  .portfolio-item-wrap .portfolio-item:nth-child(2n) {
    margin-top: -35px;
  }
  .portfolio-item-wrap .portfolio-item:nth-child(3) {
    margin-top: -150px;
  }
  .portfolio-navigation button {
    margin-right: 15px !important;
  }
  .portfolio-navigation .default-btn {
    min-width: 210px;
  }
  .portfolio-detail {
    padding: 27px 30px;
  }
  .portfolio-detail > span {
    font-size: 18px;
  }
  #wc-section .section-heading h2,
  #wc-section .section-heading h1 {
    font-size: 30px;
  }
  .wc-content {
    padding: 30px 15px;
  }
  .community-content .community-name {
    font-size: 20px;
  }
}

@media only screen and (max-width: 991px) {
  .slideshow-view .cycloneslider-canvas {
    min-height: 300px;
  }
  .slideshow-content {
    top: 50%;
    bottom: initial;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
  }
  .slideshow-tagline .tagline {
    text-align: center;
  }
  .slideshow-content .site-link {
    display: none;
  }
  #hero-sxn .site-link--mobile .site-link {
    margin-top: 0;
    border: 0;
  }
  #hero-sxn .site-link--mobile .site-link-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0;
    text-align: center;
  }
  #hero-sxn .site-link--mobile .site-link-list li {
    padding: 0;
    margin: 30px 0 0;
  }
  #hero-sxn .site-link--mobile .site-link-list li:first-child {
    margin: 0;
  }
  #hero-sxn .site-link--mobile .site-link-list li::before {
    display: none;
  }
  #portfolio-section {
    padding: 80px 0;
    text-align: center;
  }
  #portfolio-section::after {
    background-position: top -100px left -70px;
    background-size: contain;
    width: 60%;
    height: 60%;
  }
  #portfolio-section .site-container {
    padding-right: 15px;
  }
  #portfolio-section .section-heading h2 {
    display: inline-block;
  }
  .portfolio-head {
    position: relative;
    width: 100%;
    top: initial;
  }
  .portfolio-list {
    margin-top: 50px;
  }
  .portfolio-list .slick-list {
    padding: 0;
  }
  .portfolio-item {
    width: 100%;
    margin-top: 30px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .portfolio-image .dotted-accent {
    display: none;
  }
  .portfolio-image canvas {
    height: auto;
  }
  .portfolio-navigation {
    position: relative;
    right: initial;
    bottom: initial;
    margin: 50px auto 0;
    width: 100%;
    max-width: 639px;
  }
  #wc-section {
    padding: 125px 0 80px;
    text-align: center;
  }
  #wc-section .section-heading h2,
  #wc-section .section-heading h1 {
    font-size: 47px;
  }
  #wc-section > .dotted-accent::after {
    left: 0;
  }
  #wc-section > .dotted-accent {
    width: 100%;
  }
  .wc-image {
    margin: 0 auto;
  }
  #wc-section > .section-bg,
  .wc-image .dotted-accent,
  .wc-image::before,
  .wc-image::after {
    display: none;
  }
  .wc-content {
    padding: 0;
    margin-top: 50px;
  }
  .wc-content p {
    font-size: 15px;
    max-width: 100%;
  }
  .wc-content .default-btn {
    margin-top: 40px;
  }
  #testi-section {
    padding: 80px 0;
    text-align: center;
  }
  #testi-section .section-heading.heading-line-left h2 {
    padding-bottom: 21px;
  }
  #testi-section .section-heading.heading-line-left h2::after {
    top: initial;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .testi-item p {
    font-size: 15px;
  }
  .testi-btn-wrap {
    margin-top: 40px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .testi-btn-wrap .default-btn {
    margin: 30px auto 0;
  }
  .testi-navigation .slick-arrow {
    margin: 0 10px;
  }
  #community-section {
    padding: 80px 0 60px;
  }
  #community-section::after {
    background-position: top -100px right -70px;
    background-size: contain;
    width: 60%;
    height: 60%;
  }
  .community-list {
    padding: 50px 0;
  }
  .community-item-wrap {
    width: 50%;
  }
  #community-section .default-btn {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .slideshow-tagline .tagline {
    font-size: 35px;
  }
}

@media only screen and (max-width: 575px) {
  .community-list {
    margin: 0 -6px;
  }
  .community-item-wrap {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .slideshow-tagline .tagline {
    font-size: 25px;
  }
  .portfolio-detail {
    padding: 20px 15px;
  }
  .portfolio-detail > span {
    font-size: 16px;
  }
  .portfolio-navigation {
    display: block;
  }
  .portfolio-navigation button {
    margin: 0 10px !important;
  }
  .portfolio-navigation .portfolio-link-wrap {
    margin: 30px auto 0;
  }
}

#section-2, #section-4, #section-5 {
  display: none;
}

#section-1, #section-3 {
  opacity: 0;
}