/*
Theme Name: Principled Mortgage Investments
Theme URI: 
Author: Jen Clark Design
Author URI: http://jenclarkdesign.com.au
Description: Principled Mortgage Investments WordPress Themes
Version: 1.0
*/


/* ===================================================================
  GLOBAL
=================================================================== */
html {
  font-size: 100%; /* 16px */
}

body {
  color: #555;
  line-height: 1.5em; /* 26/16 */
  font-family: 'HK Grotesk', sans-serif;
}

body,
.outer-content-wrapper,
html.mm-background .mm-page {
  background: #ECE7E3;
}

a {
  color: #515C1E;
}

a:hover {
  color: #2B3110;
}


/* Helper
------------------------------------------------------------------- */
.text-uppercase {
  text-transform: uppercase;
}

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

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

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

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

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

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

.clear {
  clear: both;
}


/* Custom Font
------------------------------------------------------------------- */
@font-face {
  font-family: 'HK Grotesk';
  src: url('fonts/hk-grotesk/hkgrotesk-bold-webfont.eot');
  src: url('fonts/hk-grotesk/hkgrotesk-bold-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/hk-grotesk/hkgrotesk-bold-webfont.woff2') format('woff2'),
       url('fonts/hk-grotesk/hkgrotesk-bold-webfont.woff') format('woff'),
       url('fonts/hk-grotesk/hkgrotesk-bold-webfont.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'HK Grotesk';
  src: url('fonts/hk-grotesk/hkgrotesk-light-webfont.eot');
  src: url('fonts/hk-grotesk/hkgrotesk-light-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/hk-grotesk/hkgrotesk-light-webfont.woff2') format('woff2'),
       url('fonts/hk-grotesk/hkgrotesk-light-webfont.woff') format('woff'),
       url('fonts/hk-grotesk/hkgrotesk-light-webfont.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'HK Grotesk';
  src: url('fonts/hk-grotesk/hkgrotesk-medium-webfont.eot');
  src: url('fonts/hk-grotesk/hkgrotesk-medium-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/hk-grotesk/hkgrotesk-medium-webfont.woff2') format('woff2'),
       url('fonts/hk-grotesk/hkgrotesk-medium-webfont.woff') format('woff'),
       url('fonts/hk-grotesk/hkgrotesk-medium-webfont.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'HK Grotesk';
  src: url('fonts/hk-grotesk/hkgrotesk-regular-webfont.eot');
  src: url('fonts/hk-grotesk/hkgrotesk-regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/hk-grotesk/hkgrotesk-regular-webfont.woff2') format('woff2'),
       url('fonts/hk-grotesk/hkgrotesk-regular-webfont.woff') format('woff'),
       url('fonts/hk-grotesk/hkgrotesk-regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
}



/* ===================================================================
  COMPONENTS: BUTTONS
=================================================================== */
.button,
.button[disabled] {
  font-size: 14px;
  text-decoration: none !important;
  cursor: pointer;
  text-align: center;
  padding: 6px 15px 8px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}


/* Button Modifier
------------------------------------------------------------------- */
.button--uppercase {
  text-transform: uppercase;
}

.button--italic {
  font-style: italic;
}

.button--block {
  display: block;
}

.button--small {
  padding-top: 6px;
  padding-bottom: 5px;
}

.button--mini {
  font-size: 90%;
  padding: 3px 10px;
}

.button--wide {
  padding-left: 3.14em; /* 44/14 */
  padding-right: 3.14em; /* 44/14 */
}

.button--extrawide {
  padding-left: 4em; /* 56/14 */
  padding-right: 4em; /* 56/14 */
}

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

.button--medium {
  font-weight: 600;
}

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

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


/* Button White
------------------------------------------------------------------- */
.button--white,
.button--white.button--ghost:hover {
  border-color: #fff;
  background: #fff;
  color: #515C1E;
}

.button--white:hover,
.button--white.button--ghost {
  background: none;
  color: #fff;
}


/* Button Green
------------------------------------------------------------------- */
.button--green,
.button--green.button--ghost:hover {
  border-color: #515C1E;
  background: #515C1E;
  color: #fff;
}

.button--green:hover {
  background-color: #343B13;
}

.button--green.button--ghost {
  background: none;
  color: #515C1E;
}



/* ===================================================================
  COMPONENTS: BLOCK
=================================================================== */
.block-section {
  padding-top: 5em; /* 80/16 */
  padding-bottom: 5em; /* 80/16 */
}

.block-section--medium {
  padding-top: 3.75em; /* 60/16 */
  padding-bottom: 3.75em; /* 60/16 */
}

.block-section__title {
  font-size: 1.5em; /* 24/16 */
  color: #515C1E;
  margin-top: 0;
  margin-bottom: 1.67em; /* 40/24 */
}

.bg-white {
  background: #fff;
}

.sidebar {
  padding-left: 60px;
}

@media (max-width: 768px) {
  .sidebar {
    padding-left: 30px;
    margin-top: 3.75em; /* 60/16 */
  }
}



/* ===================================================================
  COMPONENT: PAGE HEADING
=================================================================== */
.page-heading {
  padding-top: 6.25em; /* 100/16 */
  padding-bottom: 6.25em; /* 100/16 */
  background: #737375;
  text-align: center;
  position: relative;
}

.page-heading__title {
  font-size: 2.63em; /* 42/16 */
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.page-heading .wrapper {
  position: relative;
  z-index: 10;
}

.page-heading__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  mix-blend-mode: multiply;
  opacity: 0.5;
}

@media (max-width: 767px) {
  .page-heading {
    font-size: 10px;
  }
}



/* ===================================================================
  COMPONENTS: NAVIGATION
=================================================================== */
.navigation ul {
  list-style: none;
  margin: 0;
}

.navigation ul ul {
  display: none;
}


/* Navigation Header
------------------------------------------------------------------- */
.navigation--header li {
  display: inline-block;
  margin-left: 2em;
}

.navigation--header li:first-child {
  margin-left: 0;
}

.navigation--header a {
  color: #515C1E;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
}

.navigation--header a:hover,
.navigation--header .current_page_item > a,
.navigation--header .current_page_parent > a,
.navigation--header .current-menu-item > a,
.navigation--header .current-page-ancestor > a {
  color: #2B3110;
  border-bottom-color: #515C1E;
}

.nav-alt-block .navigation--header li {
  margin: 0;
}

/* @media (min-width: 1440px) {
  .navigation--header {
    text-align: center;
  }

  .navigation--header li,
  .navigation--header li:first-child {
    margin-left: 1em;
    margin-right: 1em;
  }
} */


/* Navigation Footer
------------------------------------------------------------------- */
.navigation--footer a {
  color: #555;
}

.navigation--footer .menu-bold a {
  font-weight: bold;
}

.navigation--footer li {
  font-size: 0.88em; /* 14/16 */
  line-height: 1.43em; /* 20/14 */
  margin-bottom: 0.71em; /* 10/14 */
}



/* ===================================================================
  SECTION: TOPBAR
=================================================================== */
.topbar-section {
  background: #fff;
  border-top: 6px solid #505C24;
  padding-top: 1.56em; /* 25/16 */
  padding-bottom: 1.56em; /* 25/16 */
}

.topbar-section .wrapper {
  max-width: none;
}

@media (min-width: 1100px) {
  .topbar-section .wrapper {
    padding-left: 50px;
    padding-right: 50px;
  }
}


/* Logo
------------------------------------------------------------------- */
.logo-block__image {
  max-width: 170px;
}

.logo-block__image,
.js-sticky-bar--open .logo-block__image-small {
  display: block;
}

.js-sticky-bar--open .logo-block__image,
.logo-block__image-small {
  display: none;
}

@media (max-width: 767px) {
  .logo-block__image {
    max-width: 100px;
  }
}


/* Nav Alt
------------------------------------------------------------------- */
.nav-alt-block a {
  color: #555;
}


/* Sticky Menu
------------------------------------------------------------------- */
/*.js-sticky-bar .sticky-bar__inner {
  position: fixed;
  display: block;
  left: 0;
  right: 0;
  top: 0;
  display: block;
  height: 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);
  -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;
}*/

.sticky-bar__inner {
  position: fixed;
  display: block;
  left: 0;
  right: 0;
  top: 0;
  height: auto;
  z-index: 1000;
  -ms-transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform .4s ease;
  transition: -webkit-transform .4s ease;
  transition: transform .4s ease;
  transition: transform .4s ease,-webkit-transform .4s ease;
}

.js-sticky-bar .sticky-bar__inner {
  -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);
}

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

body {
  margin-top: 208px;
}

@media (max-width: 1024px) {
  .sticky-bar__inner {
    position: relative;
  }

  body {
    margin-top: 0;
  }
}


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

.mobile-menu-trigger span {
  display: block;
  height: 2px;
  width: 32px;
  background: #333;
  position: relative;
}

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

@media (max-width: 1024px) {
  .topbar-section .hide-on-mobile {
    display: none;
  }

  .topbar-section .show-on-mobile {
    display: inline-block !important;
  }
}


/* Side Panel Menu
------------------------------------------------------------------- */
.side-panel {
  display: none;
}

.mm-listview>li:not(.mm-divider):after {
  left: 0;
}



/* ===================================================================
  SECTION: FOOTER
=================================================================== */
.footer-section {
  background: #fff;
  padding-bottom: 2em; /* 32/16 */
}


/* Footer Menu
------------------------------------------------------------------- */
.footer-menu-block {
  margin-bottom: 3.13em; /* 50/16 */
}

@media (max-width: 767px) {
  .footer-menu-block {
    margin-bottom: 1.88em; /* 30/16 */
  }
}


/* Footer Social Links
------------------------------------------------------------------- */
.social-links a {
  color: #515C1E;
  font-size: 1.13em; /* 18/16 */
  margin-right: 5px;
}

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


/* Copyrights
------------------------------------------------------------------- */
.copyrights {
  border-top: 1px solid #ccc;
  padding-top: 2.25em; /* 36/16 */
  color: #aaa;
  font-size: 0.88em; /* 14/16 */
}

.copyrights a {
  color: #aaa;
}



/* ===================================================================
  SECTION: HERO SECTION
=================================================================== */
.hero-section {
  color: #fff;
  min-height: 484px;
  background: #515C1E;
  overflow: hidden;
}

.cssvhunit .hero-section {
  height: calc( 100vh - 195px );
}

.hero-slider,
.hero-slider-item,
.hero-slider-item .wrapper,
.slick-list,
.slick-track {
  height: 100% !important;
  position: relative;
  z-index: 20;
}

.hero-slider-item {
  background: #515C1E;
}

.hero-slider-item__text {
  font-weight: normal;
  font-size: 2.63em; /* 42/16 */
  padding: 0 50px;
}

.hero-slider-item__text a {
  color: #fff;
}

.hero-slider-item__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  opacity: 0.2;
}

.backgroundblendmode .hero-slider-item__image {
  opacity: 1;
  mix-blend-mode: multiply;
}

.hero-slider .slick-next,
.hero-slider .slick-prev {
  position: absolute;
  top: 50%;
  font-size: 0;
  cursor: pointer;
  z-index: 30;
  background: none;
  border: 0;
  color: #fff;
  padding: 0;
  margin-top: -16px;
}

.hero-slider .slick-next:before,
.hero-slider .slick-prev:before {
  font-size: 32px;
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
}

.hero-slider .slick-next {
  right: 50px;
}

.hero-slider .slick-prev {
  left: 50px;
}

.hero-slider .slick-next:before {
  content: "\e902";
}

.hero-slider .slick-prev:before {
  content: "\e90a";
}

@media (max-width: 1024px) {
  .hero-slider .slick-prev {
    left: 30px;
  }

  .hero-slider .slick-next {
    right: 30px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 200px;
  }
  .cssvhunit .hero-section {
    height: calc( 100vh - 145px );
  }

  .hero-slider-item__text {
    font-size: 26px;
  }

  .hero-slider .slick-prev {
    left: 15px;
  }

  .hero-slider .slick-next {
    right: 15px;
  }

  .hero-slider-item__text {
    padding: 0 30px;
  }
}

@media (max-width: 375px) {
  .hero-slider .slick-next, 
  .hero-slider .slick-prev {
    top: auto;
    bottom: 30px;
  }
  
  .hero-slider-item__text {
    padding: 0;
  }

  .hero-slider .slick-prev {
    left: 50%;
    margin-left: -32px;
  }

  .hero-slider .slick-next {
    right: 50%;
    margin-right: -32px;
  }
}



/* ===================================================================
  SECTION: HERO TEXT SECTION
=================================================================== */
.hero-text__title {
  font-size: 1.5em; /* 24/16 */
  color: #515C1E;
  margin-top: 0;
  margin-bottom: 1.67em; /* 40/24 */
}

.hero-text__content {
  margin-bottom: 2.5em; /* 40/16 */
}



/* ===================================================================
  SECTION: CTA
=================================================================== */
.cta-section > .grid {
  margin-left: 0;
}

.cta-block {
  color: #fff;
  padding: 3.75em; /* 60/16 */
  position: relative;
}

.cta-block--left {
  background: #612D3B;
}

.cta-block--right {
  background: #515C1E;
}

.cta-block--large {
  background: #02445C;
  padding-top: 5em; /* 80/16 */
  padding-bottom: 5em; /* 80/16 */
}

.cta-block__inner {
  position: relative;
  z-index: 10;
}

.cta-block__title {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 2.22em; /* 40/18 */
}

.cta-block--large .cta-block__title {
  font-size: 1.5em; /* 24/16 */
}

.cta-block__content {
  margin-bottom: 2.5em; /* 40/16 */
}

.cta-block--large .cta-block__content h2 {
  margin-top: 0;
}

.cta-block__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  opacity: 0.6;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  -webkit-filter: grayscale(1);
  -o-filter: grayscale(1);
  filter: grayscale(1);
}

@media (max-width: 767px) {
  .cta-block {
    padding-left: 20px;
    padding-right: 20px;
  }
}



/* ===================================================================
  SECTION: RESOURCE
=================================================================== */
.resource-section {
  background: #A8A190;
  color: #fff;
}

.resource-item {
  margin-bottom: 0.63em; /* 10/16 */
}

.resource-item__title {
  font-size: 1.13em; /* 18/16 */
  line-height: 1.22em; /* 22/18 */
  margin-bottom: 1.67em; /* 30/18 */
  margin-top: 0;
}

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

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

  .resource-item__title {
    margin-bottom: 20px;
  }
}


/* Subscribe Block
------------------------------------------------------------------- */
.subscribe-form .subscribe-form__input {
  background: rgba(255,255,255,0.4);
  border: 0;
}

.subscribe-form__input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
}

.subscribe-form__input::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
}

.subscribe-form__input:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
}

.subscribe-form__input:-moz-placeholder { /* Firefox 18- */
  color: #fff;
}

.subscribe-form .grid__item {
  position: relative;
}

.subscribe-form div.mce_inline_error {
  position: absolute;
  top: 100%;
  left: 30px;
  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;
}

@media (max-width: 768px) {
  .mc-field-group {
    margin-bottom: 20px;
  }
}



/* ===================================================================
  POSTS
=================================================================== */
.post-item {
  margin-bottom: 3.75em; /* 60/16 */
}

.post-item__image {
  margin-bottom: 1.56em; /* 25/16 */
}

.post-item__image img {
  margin-bottom: 0;
}

.post-item__meta {
  font-size: 0.88em; /* 14/16 */
  color: #aaa;
  line-height: 1.57em; /* 22/14 */
  margin-bottom: 0.57em; /* 8/14 */
}

.post-item__meta a {
  color: #aaa;
}

.post-item__meta a:hover {
  text-decoration: underline;
}

.post-item__title {
  font-size: 1em;
  color: #515C1E;
  line-height: 24px;
  margin-top: 0;
  margin-bottom: 1.13em; /* 18/16 */
}

.post-item__content {
  font-size: 0.88em; /* 14/16 */
  line-height: 1.57em; /* 22/14 */
}

.post-more {
  margin-top: 20px;
  padding-right: 70px;
  padding-left: 70px;
}


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

.pagination .page-numbers {
  vertical-align: middle;
  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 Post
------------------------------------------------------------------- */
.single-post .post-item__title {
  font-style: italic;
  font-size: 1.88em; /* 30/16 */
  color: #555;
  line-height: 1.2;
  font-weight: normal;
}

.jcd-breadcrumbs {
  font-size: 0.81em; /* 13/16 */
  line-height: 1.38em; /* 18/13 */
  margin-bottom: 2.15em; /* 28/13 */
}

.jcd-breadcrumbs,
.jcd-breadcrumbs a {
  color: #777;
}


/* ===================================================================
  TYPOGRAPHY
=================================================================== */
.entry-content p:last-child {
  margin-bottom: 0;
}

.entry-content a {
  text-decoration: underline;
}

.high {
  font-weight: normal;
  /* font-style: italic; */
  font-size: 1.5em; /* 24/16 */
  color: #555;
  line-height: 1.42em; /* 34/24 */
  margin-top: 0;
  margin-bottom: 1em;
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
}

.medium-text {
  font-size: 1.25em; /* 20/16 */
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
}

.medium-heading {
  font-size: 18px;
  color: #555555;
  letter-spacing: 0px;
  margin-bottom: 1em;
}

.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 .unstyled {
  list-style: none;
  margin-left: 25px;
}

.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-color: #ccc;
  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;
  }
}



/* ===================================================================
  TEMPLATE CONTACT
=================================================================== */
.form-row {
  margin-bottom: 30px;
}


/* Contact Info
------------------------------------------------------------------- */
.contact-info {
  list-style: none;
}

.contact-info li {
  position: relative;
  font-size: 0.88em; /* 14/16 */
  line-height: 1.57em; /* 22/14 */
  margin-bottom: 1.57em; /* 22/14 */
  padding-left: 2.71em; /* 38/14 */
}

.contact-info i {
  font-size: 16px;
  position: absolute;
  top: 3px;
  left: 0;
}

@media (max-width: 768px) {
  .contact-info {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .contact-info {
    margin-top: 30px;
  }
}


/* Maps
------------------------------------------------------------------- */
.map-section {
  position: relative;
  padding-bottom: 400px;
}

.map-section .acf-map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.map-section img {
  max-width: none
}

@media (max-width: 767px) {
  .map-section {
    padding-bottom: 56.04%;
  }
}


/* Contact Form
------------------------------------------------------------------- */
.form-row span.wpcf7-not-valid-tip {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  padding: 5px 10px;
}

div.wpcf7-response-output {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  list-style: none;
  margin-left: 0;
  margin-right: 0;
}

div.wpcf7-validation-errors {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}

.contact-form .ajax-loader {
  background: #fff;
  vertical-align: middle;
  padding: 4px;
  border-radius: 3px;
}

.contact-form textarea {
  padding-top: 10px;
  padding-bottom: 10px;
}

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

  .contact-form input[type="submit"] {
    display: block;
    width: 100%;
  }

  div.wpcf7 img.ajax-loader {
    position: absolute;
    top: 8px;
    right: 10px;
  }

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

  .form-row > .grid__item:last-child {
    margin-bottom: 0;
  }
}



/* ===================================================================
  PAGE WITH EXTRA CONTENTS
=================================================================== */
.extra-contents {
  border-top: 1px solid #ccc;
  margin-top: 3.75em; /* 60/16 */
  padding-top: 3.75em; /* 60/16 */
}

.extra-content-item {
  margin-bottom: 3.13em; /* 50/16 */
}

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

.extra-content-item__title {
  font-size: 1.13em; /* 18/16 */
  margin-top: 0;
  margin-bottom: 1.11em; /* 20/18 */
}

.extra-content-item__links {
  display: block;
  border: 1px solid #612D3B;
  padding: 20px;
  font-style: italic;
  font-size: 1.5em; /* 24/16 */
  color: #612D3B;
  line-height: 1.42em; /* 34/24 */
  font-weight: normal;
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
}

.extra-content-item__links:hover {
  background: #612D3B;
  color: #fff;
}

.extra-content-item:nth-child(even) .extra-content-item__links {
  border-color: #515C1E;
  color: #515C1E;
}

.extra-content-item:nth-child(even) .extra-content-item__links:hover {
  background: #515C1E;
  color: #fff;
}

@media (max-width: 767px) {
  .extra-content-item__content {
    margin-bottom: 20px;
  }
}



/* ===================================================================
  WIDGETS
=================================================================== */
.widget {
  margin-bottom: 30px;
}

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

.widget-title:before {
  content: "";
  width: 50px;
  height: 1px;
  background: #515C1E;
  position: absolute;
  left: 0;
  bottom: 0;
}

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

.widget li {
  line-height: 1.13em; /* 18/16 */
  margin-bottom: 0.75em; /* 12/16 */
}

.widget li a {
  color: #777;
  font-size: 0.81em; /* 13/16 */
}



/* ===================================================================
  TEMPATE TEAM
=================================================================== */
.page-template-template-team .main-content > .entry-content,
.page-template-template-resources .main-content > .entry-content {
  margin-bottom: 60px;
}

.page-template-template-team .main-content > .entry-content:empty,
.page-template-template-resources .main-content > .entry-content:empty {
  margin-bottom: 0;
}

.team-item {
  margin-bottom: 3.13em; /* 50/16 */
}

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

.team-item__image {
  margin-bottom: 20px;
}

.team-item__name {
  font-weight: normal;
  font-style: italic;
  font-size: 1.5em; /* 24/16 */
  line-height: 1.42em; /* 34/24 */
  margin: 0;
}

.team-item__job-title {
  text-transform: uppercase;
}



/* ===================================================================
  TEMPLATE RESOURCES
=================================================================== */
.link-item {
  margin-bottom: 3.13em; /* 50/16 */
}

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

.link-item__image {
  margin-bottom: 20px;
}

.link-item__title {
  font-size: 1.13em; /* 18/16 */
  margin-top: 0;
  margin-bottom: 1em;
}

.link-item__title a {
  color: #555;
}
