/*
Theme Name: Working Well Together
Theme URI:
Description: Working Well Together WordPress Themes
Author: Jen Clark Design
Author URI: http://jenclarkdesign.com.au
Version: 1.0
*/

/* ===================================================================
  GLOBAL
=================================================================== */
html {
  font-size: 87.5%; /* 14px */
}

body {
  color: #2e2e2c;
  line-height: 1.5em; /* 24/16 */
  font-family: 'Karla', sans-serif;
  background: #fff;
}


/* Fonts
------------------------------------------------------------------- */
a {
  color: #DE4A2A;
  text-decoration: none;
}

a:hover {
  color: #BE4025;
}


/* Helper
------------------------------------------------------------------- */
.float-left {
  float: left;
}

.float-right {
  float: right;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.display--block {
  display: block;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.rounded {
  border-radius: 100%;
}

.vertical-center {
  display: table;
  height: 100%;
  width: 100%;
  table-layout: fixed;
}

.vertical-center__inner {
  display: table-cell;
  vertical-align: middle;
}


/* Section
------------------------------------------------------------------- */
.main-section {
  padding-top: 4.29em; /* 60/14 */
  padding-bottom: 4.29em; /* 60/14 */
}



/* ===================================================================
  BUTTONS
=================================================================== */
.button {
  cursor: pointer;
  text-align: center;
  padding: 0.5em 1em;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background: #31353A;
  color: #fff;
  vertical-align: middle;
  line-height: 22px;
}

.button:hover {
  color: #fff;
  background: #222;
}

.button[disabled],
.button[disabled]:hover,
.button.is-disabled,
.button.is-disabled:hover {
  opacity: 0.5;
  cursor: default;
}


/* Button Modifier
------------------------------------------------------------------- */
.button--uppercase {
  font-size: 90%;
  text-transform: uppercase;
}

.button--wide {
  padding-left: 2em;
  padding-right: 2em;
}

.button--small {
  padding: 0.3em 0.4em;
}

.button--mini {
  font-size: 90%;
  padding: 0.1em 0.4em;
}

.button--bold {
  font-weight: bold;
}

.button--rounded {
  border-radius: 15px;
}

.button.button--fullwidth {
  width: 100%;
}

.button--large {
  font-size: 1.14em; /* 16/14 */
  padding-top: 0.63em; /* 10/16 */
  padding-bottom: 0.63em; /* 10/16 */
}

.button--thin {
  border-width: 1px;
}


/* Button Primary
------------------------------------------------------------------- */
.button--primary,
.button--primary.button--ghost:hover {
  color: #fff;
  background: #70AFBB;
  border-color: #70AFBB;
}

.button--primary:hover {
  color: #fff;
  background: #53828C;
  border-color: #53828C;
}

.button--primary.button--ghost {
  color: #70AFBB;
  background: none;
}


/* Button White
------------------------------------------------------------------- */
.button--white {
  color: #26AEA4;
  border-color: #fff;
  background-color: #fff;
}

.button--white:hover {
  color: #fff;
  background-color: #26AEA4;
  border-color: #26AEA4;
}


/* Button Orange
------------------------------------------------------------------- */
.button--orange,
.button--ghost.button--orange:hover {
  color: #fff;
  background-color: #DE4A2A;
  border-color: #DE4A2A;
}

.button--orange:hover {
  background-color: #B43D23;
  border-color: #B43D23;
}

.button--ghost.button--orange {
  background-color: transparent;
  color: #DE4A2A;
}



/* ===================================================================
  NAVIGATIONS
=================================================================== */
.navigation ul {
  list-style: none;
  margin: 0;
  font-size: 1.14em; /* 16/14 */
}

.navigation ul,
.navigation li {
  display: inline-block;
}

.navigation a {
  display: block;
  padding: 7px 17px;
  color: #9FCEC7;
  border: 1px solid transparent;
}

.navigation a:hover,
.navigation .current-menu-item > a,
.navigation .current_page_item > a,
.navigation .current-page-ancestor > a {
  color: #1E716D;
}

.home .navigation a {
  color: #1E716D;
}

.navigation .menu-highlight a {
  border-color: #DE4A2A;
  color: #DE4A2A;
  border-radius: 15px;
}

.navigation .menu-highlight a:hover {
  background: #DE4A2A;
  color: #fff;
}

.navigation .menu-highlight.current-menu-item > a,
.navigation .menu-highlight.current-menu-item > a:hover {
  border-color: #1E716D;
  color: #1E716D;
  background: none;
}


/* Sub Menu
------------------------------------------------------------------- */
.navigation ul ul {
  display: none;
  background: #fff;
  width: 280px;
  text-align: left;
}

.navigation ul ul li,
.navigation ul ul a {
  display: block;
}

.navigation ul ul a {
  color: #1E716D;
  font-size: 16px;
  padding-top: 5px;
  padding-bottom: 5px;
}


/* Mobile Menu
------------------------------------------------------------------- */
.mobile-menu-trigger {
  padding: 10px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

.mobile-menu-trigger span {
  display: block;
  height: 3px;
  width: 30px;
  background: #26AEA4;
  position: relative;
}

.mobile-menu-trigger span + span {
  margin-top: 7px;
}

.side-panel {
  display: none;
}

@media (max-width: 1024px) {
  .topbar-section .tablet-down--show {
    display: inline-block !important;
  }

  .topbar-section .medium-down--hide {
    display: none !important;
  }
}




/* ===================================================================
  PAGE HEADING
=================================================================== */
.page-heading__title {
  font-weight: normal;
  margin: 0;
  font-size: 2.57em; /* 36/14 */
  line-height: 0.78em; /* 28/36 */
}

.page-heading {
  padding-bottom: 0;
  padding-top: 2.14em; /* 30/14 */
}


/* Page Heading Nav
------------------------------------------------------------------- */
.page-heading-nav {
  padding-top: 4.29em; /* 60/14 */
  border-bottom: 1px solid #ddd;
}

.page-heading-nav ul {
  margin: 0;
  list-style: none;
  margin-left: -48px;
}

.page-heading-nav__item {
  display: inline-block;
  margin-left: 48px;
}

.page-heading-nav__item:first-child {
  /* margin-left: 0; */
}

.page-heading-nav__link {
  color: #2E2E2C;
  position: relative;
  line-height: 2em; /* 28/14 */
  border-bottom: 4px solid transparent;
  padding: 1em 0;
  display: block;
}

.page-heading-nav__link:hover,
.is-active.page-heading-nav__link {
  color: #2E2E2C;
  border-bottom-color: #DE4A2A;
}

@media (max-width: 767px) {
  .page-heading-nav {
    padding-top: 2.14em; /* 30/14 */
    border-bottom: 0;
  }

  .page-heading-nav ul {
    margin-left: -20px;
    margin-right: -20px;
  }

  .page-heading-nav__item {
    display: block;
    margin: 0;
  }

  .page-heading-nav__link {
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: 1px solid #ddd;
  }

  .page-heading-nav__item:first-child .page-heading-nav__link {
    border-top: 1px solid #ddd;
  }

  .page-heading-nav__link:hover,
  .is-active.page-heading-nav__link {
    border-bottom-color: #ddd;
    background: #eee;
  }
}



/* ===================================================================
  TOPBAR SECTION
=================================================================== */

/* Sticky Menu
------------------------------------------------------------------- */
.js-sticky-bar .sticky-bar__inner {
  position: fixed;
  display: block;
  left: 0;
  right: 0;
  top: 0;
  display: block;
  height: auto;
  /* overflow: auto; */
  z-index: 1000;
  -ms-transform: translate3d(0, -100%, 0);
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
}

.js-sticky-bar--open .sticky-bar__inner {
  -ms-transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  /* transition: all 0.35s cubic-bezier(0.33, 0.59, 0.14, 1); */
  -webkit-transition: -webkit-transform .4s ease;
  transition: -webkit-transform .4s ease;
  transition: transform .4s ease;
  transition: transform .4s ease,-webkit-transform .4s ease;
}

.admin-bar.js-sticky-bar--open .sticky-bar__inner {
  top: 32px;
}


/* Topbar
------------------------------------------------------------------- */
.topbar-section {
  padding-top: 2.86em; /* 40/14 */
  padding-bottom: 2.86em; /* 40/14 */
}

.topbar-section .wrapper {
  max-width: none;
  padding-left: 50px;
  padding-right: 50px;
}

@media (max-width: 768px) {
  .topbar-section .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}



/* ===================================================================
  FOOTER SECTION
=================================================================== */
.footer-section {
  background: #2E2E2C;
  padding-top: 4.29em; /* 60/14 */
  padding-bottom: 4.29em; /* 60/14 */
}

.footer-section,
.footer-section a {
  color: #fff;
}

@media (max-width: 767px) {
  .footer-section .grid__item {
    margin-bottom: 30px;
  }
}


/* Copyrights
------------------------------------------------------------------- */
.copyrights {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .copyrights {
    margin-top: 30px;
  }
}


/* Footer Menu
------------------------------------------------------------------- */
.footer-menu ul {
  list-style: none;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.86em; /* 12/14 */
}

.social-links a:hover,
.footer-menu a:hover {
  opacity: 0.5;
}


/* Social Links
------------------------------------------------------------------- */
.social-links a {
  font-size: 1.13em; /* 18/16 */
  margin-right: 1em;
}


/* ===================================================================
  POST ITEM
=================================================================== */
.post-list .post-item {
  margin-bottom: 4.29em; /* 60/14 */
}

.post-item__image {
  margin-bottom: 1.43em; /* 20/14 */
}

.post-item__image a {
  display: block;
}

.post-item__meta {
  color: #777;
  margin-bottom: 0.71em; /* 10/14 */
  line-height: 1.57em; /* 22/14 */
}

.post-item--alt .post-item__meta.entry-meta {
  margin-bottom: 0;
}

.post-item__meta a,
.post-item__content {
  color: #777;
}

.post-item__meta--author a {
  font-style: italic;
}

.post-item__title {
  font-size: 1.29em; /* 18/14 */
  color: #2E2E2C;
  line-height: 1.33em; /* 24/18 */
  margin: 0 0 10px;
}

.post-item__title-link {
  color: #2E2E2C;
}


/* Post Pagination
------------------------------------------------------------------- */
.pagination {
  text-align: center;
  padding-top: 1em;
  margin-bottom: 1em;
  font-size: 1.13em; /* 18/16 */
}

.pagination .page-numbers {
  min-width: 1em;
  line-height: 1em;
  padding: .3em;
  display: inline-block;
  margin: 0 0.3em;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.pagination .current,
.pagination a:hover {
  color: #ccc;
}

.pagination .prev,
.pagination .next {
  font-size: 20px;
}



/* ===================================================================
  SINGLE
=================================================================== */
.entry-title {
  word-wrap: break-word;
}

.single-post-item.post .entry-title {
  font-weight: normal;
  font-size: 2.57em; /* 36/14 */
  line-height: 1.2em;
}

.single-post-item.post .entry-meta,
.single-post-item.post .entry-image {
  margin-bottom: 2.14em; /* 30/14 */
}

.high {
  font-weight: normal;
  font-size: 1.5em; /* 21/14 */
  line-height: 1.43em; /* 30/21 */
}

.medium-text {
  font-size: 1.43em; /* 20/14 */
  line-height: 1.5em; /* 30/20 */
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.1em;
}

.entry-content ul ul,
.entry-content ul ol,
.entry-content ol ol,
.entry-content ol ul {
  margin-bottom: 0;
}

.entry-content blockquote p {
  /* font-family: 'Calder-Script', sans-serif; */
  font-size: 1.88em; /* 30/16 */
  color: #00404D;
  font-weight: 300;
  line-height: 1.33em; /* 40/30 */
  /* text-transform: uppercase; */
  margin-left: 0;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry__image img {
  width: 100%;
}

.entry-content hr {
  border-top: 0;
  border-bottom: 0;
  position: relative;
  margin-top: 2.5em; /* 40/16 */
  margin-bottom: 2.5em; /* 40/16 */
  display: block;
  height: 1px;
}

blockquote+h2,
blockquote+h3,
blockquote+h4,
blockquote+header h2,
form+h2,
form+h3,
form+h4,
form+header h2,
ol+h2,
ol+h3,
ol+h4,
ol+header h2,
p+h2,
p+h3,
p+h4,
p+header h2,
table+h2,
table+h3,
table+h4,
table+header h2,
ul+h2,
ul+h3,
ul+h4,
ul+header h2 {
    margin-top: 2em;
}

.alignleft,
img.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.alignright,
img.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.aligncenter,
img.aligncenter {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  clear: both;
  display: block;
}

p .alignnone {
  margin-bottom: 0;
}

.wp-caption {
  margin-bottom: 1.5em;
  text-align: center;
  padding-top: 5px;
  width: auto;
  max-width: 100%;
}

.wp-caption img {
  border: 0 none;
  padding: 0;
  margin: 0;
}

.wp-caption p.wp-caption-text {
  line-height: 1.5;
  font-size: 12px;
  /*margin: 0;*/
  margin-top: 10px;
}

.wp-smiley {
  margin: 0 !important;
  max-height: 1em;
}

blockquote.left {
  display: inline;
  float: left;
  margin-right: 1.5em;
  text-align: right;
  margin-left: 0;
  width: 33%;
}

blockquote.right {
  display: inline;
  float: right;
  margin-left: 1.5em;
  text-align: left;
  margin-right: 0;
  width: 33%;
}

.gallery-caption {
  margin: -1.5em 0 0 0;
}

.fit-vids-style {
  display: none;
}

.entry-content li {
  line-height: 1.63em; /* 26/16 */
  margin-bottom: 0.3em;
}

@media (max-width: 414px) {
  .alignleft,
  img.alignleft,
  .alignright,
  img.alignright {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

.gallery-item img {
  border: 0 !important;
}

@media (max-width: 767px) {
  .gallery-item {
    width: 33.3% !important;
  }
}

@media (max-width: 414px) {
  .gallery-item {
    width: 50% !important;
  }
}

@media (max-width: 320px) {
  .gallery-item {
    width: 100% !important;
  }
}


/* Related Posts
------------------------------------------------------------------- */
.related-posts .post-item {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .related-posts .post-item {
    margin-bottom: 30px;
  }
}


/* Single Decoration
------------------------------------------------------------------- */
.single-post-grid,
.single-post-grid .grid__item {
  position: relative;
}

.single-post-grid .grid__item {
  z-index: 10;
}



/* ===================================================================
  TEMPLATE HOME
=================================================================== */

/* Hero Section
------------------------------------------------------------------- */
.hero-section {
  padding-top: 2.71em; /* 38/14 */
  /*margin-bottom: 7.14em; /* 100/14 */
}

.hero-section__image,
.hero-section__text {
  float: left;
}

.hero-section__image {
  width: 43.36%;
}

.hero-section__text {
  margin-left: 5.47%;
  width: 51.17%;
  padding-right: 224px;
  position: relative;
  font-size: 1.86em; /* 26/14 */
  line-height: 1.33em; /* 28/21 */
}

.hero-section__text::before {
  content: "";
  width: 146px;
  height: 146px;
  position: absolute;
  top: 0;
  right: 0;
  background: #9FCEC7;
}

.hero-section__text .entry-content {
  max-width: 500px;
}

.hero-section__link {
  font-size: 0.86em; /* 18/21 */
  line-height: 1.56em; /* 28/18 */
}

@media (min-width: 1280px) {
  .csscalc .hero-section {
    height: calc(100vh - 260px);
  }

  .objectfit .hero-section__image img {
    height: 454px;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

@media (min-width: 1440px) {
  .hero-section {
    padding-top: 7.5em; /* 105/14 */
  }

  .hero-section__image {
    width: 49.22%;
  }

  .objectfit .hero-section__image img {
    height: auto;
  }

  .hero-section__text {
    margin-left: 6.77%;
    width: 44.01%;
    padding-right: 300px;
  }

  .hero-section__text::before {
    width: 213px;
    height: 213px;
  }

  .hero-section__text .entry-content {
    max-width: 470px;
  }
}

@media (min-height: 1200px) {
  .csscalc .hero-section {
    height: 800px;
  }
}

@media (max-width: 768px) {
  .hero-section__text {
    padding-right: 20px;
  }

  .hero-section__text:before {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 0;
  }

  .hero-section__image,
  .hero-section__text {
    float: none;
    width: 100%;
  }

  .hero-section__text {
    margin: 0;
    padding-left: 20px;
  }

  .hero-section__image {
    margin-bottom: 20px;
  }
}


/* Block Heading
------------------------------------------------------------------- */
.block-heading {
  margin-bottom: 1.36em; /* 19/14 */
}

.block-heading__title {
  font-size: 1.71em; /* 24/14 */
  line-height: 1.17em; /* 28/24 */
}

.block-heading__link {
  font-size: 1.14em; /* 16/14 */
  color: #26AEA4;
}

@media (max-width: 767px) {
  .block-heading__link {
    text-align: left;
  }

  .block-heading__title {
    margin-bottom: 0;
  }
}


/* Home Content
------------------------------------------------------------------- */
.home-content {
  background: #f5f5f5;
  padding-top: 11.07em; /* 155/14 */
  padding-bottom: 6.43em; /* 90/14 */
}

.home-content .post-item {
  margin-bottom: 20px;
  height: auto !important;
}

.home-content__blog {
  position: relative;
}

.home-content__blog::before {
  content: "";
  position: absolute;
  right: -64px;
  bottom: 0;
  top: 0;
  width: 1px;
  background: #ccc;
}

.home-content__blog .entry-image {
  border-radius: 10px;
  overflow: hidden;
}

.home-content__blog .block-heading {
  margin-bottom: 31px;
}

@media (max-width: 768px) {
  .home-content {
    padding-top: 7.14em; /* 100/14 */
  }

  .home-content__blog::before {
    display: none;
  }

  .home-content__widget-inner {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #ccc;
  }
}

@media (max-width: 767px) {
  .home-content {
    padding-top: 2.14em; /* 30/14 */
  }

  .home-content .post-item {
    margin-bottom: 0;
  }

  .home-content__blog-item {
    margin-bottom: 2.14em; /* 30/14 */
  }
}


/* Home Widget
------------------------------------------------------------------- */
.home-widget__item {
  margin-bottom: 4.71em; /* 66/14 */
}

.home-widget__item:last-child {
  margin-bottom: 0;
}

.extra-widget__title,
.home-widget__item .block-heading__title {
  position: relative;
  padding-bottom: 1.25em; /* 30/24 */
}

.widget-title:before,
.extra-widget__title:before,
.home-widget__item .block-heading__title:before {
  content: "";
  background: #9FCEC7;
  height: 1px;
  width: 50px;
  position: absolute;
  bottom: 0;
}


/* Subscribe Form
------------------------------------------------------------------- */
.input-group {
  width: 100%;
  position: relative;
  display: table;
  border-collapse: separate;
}

.input-group .input-group {
  width: 100%;
}

.input-group-field,
.input-group-btn,
.input-group-pre {
  display: table-cell;
  vertical-align: middle;
  margin: 0;
}

.input-group .button,
.input-group .input-group-field {
  height: 40px;
  position: relative;
}

.input-group-btn {
  position: relative;
  white-space: nowrap;
  width: 1%;
}

.subscribe-form input[type="email"] {
  border-color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.subscribe-form input[type="email"]:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.subscribe-form div.mce_inline_error {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}

.alert {
  color: #4F8B56;
  margin-bottom: 25px;
  padding: 10px;
  position: relative;
  background: #E4F5E6;
  line-height: 1.5;
  border: 1px solid #c5e1c8;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}


/* Home Layer Box
------------------------------------------------------------------- */
.layer-box {
  color: #fff;
  background: #1E716D;
  position: relative;
}

.layer-box a {
  color: #fff;
}

.layer-box__inner {
  position: relative;
  z-index: 10;
  padding: 40px 30px 100px;
}

.layer-box__title {
  font-size: 2.29em; /* 32/14 */
  line-height: 1.16em; /* 37/32 */
  margin-top: 0;
  margin-bottom: 0.63em; /* 20/32 */
}

.layer-box__content {
  margin-bottom: 2.86em; /* 40/14 */
}

.layer-box__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  filter: alpha(opacity=10);
  opacity: 0.10;
}


/* Home Layer Parallax
------------------------------------------------------------------- */
.parallax-section {
  height: 410px;
  position: relative;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.parallax-layer .layer-box {
  position: absolute;
}

.parallax-layer--service {
  z-index: 10;
}

.parallax-layer--service .layer-box {
  width: 370px;
  top: 200px;
  left: 9.77%;
}

@media (max-width: 768px) {
  .parallax-layer--service .layer-box {
    top: 140px;
  }
}

.parallax-layer--common .layer-box {
  background-color: #E9856F;
  width: 270px;
  top: 230px;
  left: 44.14%;
}

@media (max-width: 768px) {
  .parallax-layer--service .layer-box {
    left: 30px;
  }
}


/* Parallax Shape Layer
------------------------------------------------------------------- */
.layer-shape {
  border-radius: 100%;
  position: absolute;
}

.layer-shape--circle {
  width: 146px;
  height: 146px;
  background: #26AEA4;
  top: -120px;
  left: 48.83%;
}

.layer-shape--circle-long {
  width: 146px;
  height: 352px;
  background: #DE4A2A;
  top: -50px;
  left: 73.36%;
  border-radius: 70px;
}

.layer-shape--square-small {
  width: 70px;
  height: 70px;
  background: #9FCEC7;
  top: 220px;
  left: 54.77%;
  border-radius: 0;
}

.extra-content-section {
  margin-top: 150px;
  position: relative;
  z-index: 1000;
}

.extra-content-section + .parallax-section .layer-shape--circle {
  top: -650px;
}

.extra-content-section + .parallax-section .layer-shape--circle-long {
  top: -480px;
}


@media (min-width: 1440px) {
  .layer-shape--circle {
    left: 55.99%;
    top: -270px;
  }

  .layer-shape--circle-long {
    width: 212px;
    height: 515px;
    border-radius: 100px;
    top: -130px;
  }
  
  .extra-content-section {
    margin-top: 150px;
  }

  .extra-content-section + .parallax-section .layer-shape--circle {
    top: -750px;
  }

  .extra-content-section + .parallax-section .layer-shape--circle-long {
    top: -580px;
  }
}

@media (max-width: 1024px) {
  .layer-shape--circle {
    top: 0;
  }
}

@media (max-width: 768px) {
  .layer-shape {
    -webkit-transform: scale(0.7);
       -moz-transform: scale(0.7);
        -ms-transform: scale(0.7);
         -o-transform: scale(0.7);
            transform: scale(0.7);
  }

  .layer-shape--circle-long {
    top: 0;
  }
}

@media (max-width: 767px) {
  .parallax-section {
    height: auto;
  }

  .parallax-section .layer-shape {
    display: none;
  }

  .parallax-layer {
    position: static;
    -webkit-transform: translateY(0) !important;
       -moz-transform: translateY(0) !important;
        -ms-transform: translateY(0) !important;
         -o-transform: translateY(0) !important;
            transform: translateY(0) !important;
  }

  .parallax-layer .layer-box {
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 30px;
    position: relative;
  }
}



/* ===================================================================
  PAGE
=================================================================== */
.main-content .page {
  position: relative;
}

.main-content .page .grid {
  position: relative;
  z-index: 10;
}

.page-child-title {
  font-weight: normal;
  font-size: 2.57em; /* 36/14 */
  margin-top: 0;
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  .main-content {
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .page .entry-image {
    margin-bottom: 2.14em; /* 30/14 */
  }
}


/* Shape Decoration
------------------------------------------------------------------- */
.page-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.shape-decor {
  background: #9FCEC7;
  right: 100px;
  bottom: 20%;
  position: absolute;
}

.page-decoration--static {
  width: 150px;
  right: 0;
  left: auto;
  overflow: hidden;
}

.page-decoration--static .shape-decor {
  position: static;
}

.shape-decor--rounded {
  width: 70px;
  height: 170px;
  border-radius: 40px;
}

.shape-decor--square,
.shape-decor--circle {
  width: 70px;
  height: 70px;
}

@media (max-width: 768px) {
  .page-decoration {
    display: none;
  }
}


/* About Page
------------------------------------------------------------------- */
.main-section--alt {
  background: #f5f5f5;
}


/* Testimonial
------------------------------------------------------------------- */
.testimonial-title {
  margin-bottom: 2.22em; /* 40/18 */
  margin-top: 0;
}

.testimonial-title,
.testimonial-item__text {
  font-size: 1.29em; /* 18/14 */
  line-height: 1.44em; /* 26/18 */
}

.testimonial-item__meta {
  line-height: 1.43em; /* 20/14 */
}

@media (max-width: 767px) {
  .testimonial-item {
    margin-bottom: 30px;
  }

  .testimonial-item:last-child {
    margin-bottom: 0;
  }
}



/* ===================================================================
  CONTACT TEMPLATE
=================================================================== */
.contact-form {
  margin-top: 50px;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  height: 50px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  border-color: #9FCEC7;
}

.contact-form .grid {
  margin-left: -30px;
}

.contact-form .grid__item {
  padding-left: 30px;
}

.contact-form .form-row {
  margin-bottom: 30px;
}

.contact-form input[type="submit"] {
  padding: 13px 40px;
}


/* Extra Widget
------------------------------------------------------------------- */
.extra-widget__title {
  margin-bottom: 1.25em; /* 30/24 */
}

.extra-widget .entry-content {
  color: #777;
}



/* ===================================================================
  WIDGETS
=================================================================== */
.widget {
  margin-bottom: 3.21em; /* 45/14 */
}

.widget-title {
  font-weight: normal;
  font-size: 1.14em; /* 16/14 */
  color: #333333;
  line-height: 1.19em; /* 19/16 */
  margin: 0;
  position: relative;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

.widget ul {
  list-style: none;
  margin-left: 0;
}

.widget li {
  margin-bottom: 0.71em; /* 10/14 */
}

.widget ul ul {
  margin-left: 15px;
  margin-top: 0.71em; /* 10/14 */
}

.widget li > a {
  color: #777;
}


/* Widget Search
------------------------------------------------------------------- */
.input-group {
  width: 100%;
  position: relative;
  display: table;
  border-collapse: separate;
}

.input-group .input-group {
  width: 100%;
}

.input-group-field,
.input-group-btn,
.input-group-pre {
  display: table-cell;
  vertical-align: middle;
  margin: 0;
}

.input-group .button,
.input-group .input-group-field {
  height: 40px;
}

.input-group-btn {
  position: relative;
  white-space: nowrap;
  width: 1%;
  border-left: 0;
  background: #fff;
}

.input-group-btn button {
  margin-left: -1px;
  -webkit-appearance: none;
}



/* ===================================================================
  BREADCRUMBS
=================================================================== */
.jcd-breadcrumbs {
  margin-bottom: 2.93em; /* 41/14 */
}

.jcd-breadcrumbs .sep {
  color: #777;
  margin: 0 10px;
}



/* ===================================================================
  MODALBOX
=================================================================== */
.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}
.fade.in {
  opacity: 1;
}

.modal-open {
  overflow: hidden;
}
.modal {
  display: none;
  overflow: auto;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.modal-content {
  position: relative;
  background-color: #ffffff;
  background-clip: padding-box;
  outline: none;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #fff;
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.modal-backdrop.in {
  opacity: 0.86;
  filter: alpha(opacity=86);
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  min-height: 16.42857143px;
}
.modal-header .close {
  margin-top: -2px;
  float: right;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  opacity: .2;
  filter: alpha(opacity=20);
  background: none;
  border: none;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 30px;
}
.modal-footer {
  margin-top: 15px;
  padding: 19px 20px 20px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

.no-title .modal-header {
  border-bottom: 0;
  min-height: 0;
  padding: 0;
}

.no-title .modal-header .close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 10;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 570px;
    margin: 30px auto;
  }
  .modal-sm {
    width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg {
    width: 800px;
  }
}

.leadmagnet-modal .modal-body {
  background: #444;
  color: #fff;
  padding: 70px;
}

.leadmagnet-title {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 34px;
  margin-bottom: 47px;
  margin-top: 0;
}

.leadmagnet-content {
  font-size: 20px;
  line-height: 26px;
}

.leadmagnet-cta {
  margin-top: 40px;
  margin-bottom: 40px;
}

.leadmagnet-cta .button {
  border-radius: 10px;
  width: 100%;
}

.leadmagnet-close a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .leadmagnet-modal .modal-body {
    padding: 50px 30px;
  }

  .leadmagnet-cta .grid--rev .grid__item {
    text-align: center;
    margin-bottom: 10px;
  }
}



/* ===================================================================
  TEMPLATE SERVICE
=================================================================== */
.service-item {
  margin-bottom: 2.5em; /* 35/14 */
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item__content {
  overflow: hidden;
}

.service-item__image {
  width: 170px;
  float: left;
  margin-right: 30px;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 5px;
}

.service-item__title {
  font-size: 1.29em; /* 18/14 */
  line-height: 1.33em; /* 24/18 */
  margin-top: 0;
  margin-bottom: 1.11em; /* 20/18 */
}

@media (max-width: 767px) {
  .service-item__image {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}

.boxed-text {
  background: #f5f5f5;
  padding: 20px;
}

.clear {
  clear: both;
}



/* ===================================================================
  VIDEO SECTION
=================================================================== */
.video-section {
  background: #2E2E2C;
  color: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.video-section__title {
  font-size: 30px;
  line-height: 40px;
  margin-top: 0;
  margin-bottom: 20px;
}

.video-section__content .entry-content {
  font-size: 18px;
  line-height: 26px;
}

.video-section__content {
  text-align: left;
}

.video-section__video-thumb {
  padding-bottom: 59.7%;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  background-size: cover;
  position: relative;
}

.video-section__icon-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
}

.video-section + .home-content {
  padding-top: 80px;
}

.video-section__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 10;
}

.played .video-section__iframe {
  display: block;
}

.video-section__iframe iframe {
  width: 100%;
  height: 100%;
}

@media (min-width: 1026px) {
  .video-section__content {
    margin-left: 97px;
  }

  .video-section__video-thumb {
    margin: 0 33px;
  }
}

@media (max-width: 767px) {
  .video-section__video {
    margin-bottom: 30px;
  }
}