/*
Theme Name: Mountain Harbour
Description: Child theme of Hello Elementor for Mountain Harbour Living and Golf. Keeps the look of the retired Hampoz theme: fonts, colours, spacing, the plain page, 404, archive and portfolio layouts, and the portfolio post type.
Template: hello-elementor
Version: 1.0.0
Text Domain: mountainharbour-child
License: GNU General Public License v2 or later
*/

/* ===== 1. Base: type and colours every page was designed with ===== */
html, body { height: 100%; }
body {
  color: #898989;
  font-family: 'Roboto', sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
}
a { color: #aaa; text-decoration: none; transition: ease .3s; }
a:hover { color: #E91E63; text-decoration: none; }
a:focus { color: #999; outline: none; text-decoration: none; }
:focus { outline: none; }
h1, h2, h3, h4, h5, h6 {
  color: #000;
  font-family: 'Catamaran', sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.3;
  word-wrap: break-word;
}
h4, .h4 { font-size: 20px; }
h5, .h5 { font-size: 18px; }
h6, .h6 { font-size: 17px; }
img { height: auto; max-width: 100%; }
iframe { border: none; width: 100%; }
ul, ol { list-style-position: outside; margin: 0; padding: 0 0 0 20px; }
ul { list-style-type: square; }
ul > li { list-style: outside none square; }
ol > li { list-style-type: decimal; }
ol ol li { list-style-type: lower-alpha; }
ol ol ol li { list-style-type: lower-roman; }
blockquote {
  border: 0;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  margin: 20px 0;
  padding: 0 0 0 40px;
  position: relative;
}
blockquote::before {
  background: #ccc;
  border-radius: 50%;
  color: #fff;
  content: "\f10e";
  font-family: FontAwesome, 'Font Awesome 5 Free';
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  height: 30px;
  left: 0;
  line-height: 30px;
  margin-top: -15px;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 30px;
}
::selection { background: #D81B60; color: #fff; }
table, th, td { border: 1px solid #000; padding: 5px 10px; }
form input, form textarea {
  background: #fff;
  border: 1px solid #ddd;
  box-sizing: border-box;
  color: #888;
  line-height: inherit;
  padding: 8px 13px;
  width: 100%;
}
input:focus, textarea:focus { border-color: #aaa; }
::placeholder { color: #aaa; }
button, input, select, textarea { max-width: 100%; }
code { background: #f9f9f9; color: #E91E63; font-family: 'Roboto', sans-serif; font-size: 15px; line-height: 2.5; margin: 10px 0; padding: 5px; }
pre { display: block; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; margin: 20px 0; padding: 30px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); display: block; height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #f1f1f1; clip: auto !important; color: #21759b; display: block; font-size: 14px; height: auto; left: 5px; padding: 15px 23px 14px; top: 5px; width: auto; z-index: 100000; }
.wp-caption { border: 1px solid #ddd; border-radius: 3px; max-width: 100% !important; padding: 3px; }
.wp-caption.aligncenter { border: 0; margin: 0 auto 10px; }
.wp-caption.alignnone { margin-bottom: 10px; }
.wp-caption.alignright { float: right; margin: 0 0 20px 20px; }
.wp-caption.alignleft { float: left; margin: 0 20px 20px 0; }
.alignleft { text-align: left; }
.alignright { text-align: right; }
.aligncenter { text-align: center; }
.container-fluid { max-width: 1400px; }
.clearboth { clear: both; }


/* Image blocks: aligned the way they were under the old theme (WordPress
   now writes the class on the figure itself instead of an inner one). */
.wp-block-image.aligncenter { display: table; margin-left: auto; margin-right: auto; }
.wp-block-image.aligncenter > figcaption { caption-side: bottom; display: table-caption; }
.wp-block-image.alignleft { float: left; margin: .5em 1em .5em 0; }
.wp-block-image.alignright { float: right; margin: .5em 0 .5em 1em; }

/* Password protected pages. */
.post-password-form input {
  border: 1px solid #ccc;
  border-radius: 100px;
  color: #aaa;
  display: inline-block;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.2;
  margin: 20px 0 40px;
  padding: 16px 35px;
  text-transform: uppercase;
  transition: all .3s ease;
  width: auto;
}
.post-password-form input[type="submit"] { background: #000; border: 0; color: #fff; }
.post-password-form input[type="submit"]:hover { background: #ccc; color: #fff; }

/* Contact Form 7 send button. */
.wpcf7 p { position: relative; }
.wpcf7-submit {
  background: #E91E63;
  border: 1px solid #E91E63;
  color: #fff;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: bold;
  overflow: hidden;
  padding: 10px 40px;
  position: relative;
  text-transform: uppercase;
  width: auto;
  z-index: 1;
}
.wpcf7-submit:hover { background: transparent; border-color: #E91E63; color: #E91E63; }
.wpcf7-form span.wpcf7-not-valid-tip { font-size: 12px; font-style: italic; letter-spacing: 0; position: absolute; right: 15px; text-transform: none; top: 10px; }

/* ===== 2. Shared pieces ===== */
.mhc-content { padding: 80px 0; position: relative; z-index: 1; }
.mhc-white { background: #fff; position: relative; }
.mhc-grey { background: #fafafa; }
.mhc-sp30 { height: 30px; width: 100%; }
.mhc-sp40 { clear: both; height: 40px; width: 100%; }
.mhc-btn {
  background: #E91E63;
  border: 1px solid #E91E63;
  color: #fff;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: bold;
  overflow: hidden;
  padding: 10px 40px;
  position: relative;
  text-transform: uppercase;
  transition-duration: 1.5s;
  z-index: 1;
}
.mhc-btn::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 200px;
  left: -50%;
  margin-top: -100px;
  opacity: .3;
  position: absolute;
  top: 50%;
  transform: scale(0);
  transition: all .4s ease-in .3s;
  width: 200px;
  z-index: -1;
}
.mhc-btn:hover, .mhc-btn:focus { background: transparent; border-color: #E91E63; color: #E91E63; }
.mhc-btn:hover::after { opacity: 1; transform: scale(4); }

/* ===== 3. Plain pages' header ===== */
.mhc-head { background: #fff; position: relative; width: 100%; z-index: 999; }
.mhc-head-bar { left: 0; top: 0; transition: ease .3s; width: 100% !important; z-index: 999; }
.mhc-head-bar.is-stuck { background: #fff; box-shadow: 0 0 5px 0 #eee; position: fixed; z-index: 9999; }
.admin-bar .mhc-head-bar.is-stuck { margin-top: 32px; }
.mhc-head-in { margin: 0 auto; max-width: 1400px; padding: 0 15px; }
.mhc-head-in::after { clear: both; content: ""; display: table; }
.mhc-logo { display: block; float: left; }
.mhc-logo > a { display: inline-block; padding: 9px 0; }
.mhc-logo img { max-height: 55px; width: auto; }
.mhc-menu { display: inline-block; float: right; }
.mhc-menu ul { margin: 0; padding: 0; }
.mhc-menu ul li { display: inline-block; list-style: none; position: relative; }
.mhc-menu ul li a {
  color: #1f1f1f;
  display: block;
  font-family: Roboto;
  font-size: 15px;
  font-weight: bold;
  opacity: .6;
  padding: 24px 15px;
}
.mhc-menu ul li a:hover { opacity: 1; }
.mhc-menu ul ul { background: rgba(0, 0, 0, .8); display: none; left: 0; position: absolute; top: 100%; width: 200px; z-index: 999; }
.mhc-menu ul ul li { display: block; }
.mhc-menu ul ul li a { color: #fff; font-size: 13px; line-height: 1.7; padding: 15px 17px; text-transform: capitalize; }
.mhc-menu ul li:hover > ul { display: block; }
.mhc-burger-box { float: right; padding-right: 30px; }
.mhc-burger {
  box-sizing: border-box;
  display: block;
  padding: 26px 0;
  position: relative;
  touch-action: manipulation;
  transition: .5s;
  width: 20px;
  z-index: 1;
}
.mhc-burger-icon, .mhc-burger-icon::before, .mhc-burger-icon::after {
  background-color: #1f1f1f;
  display: block;
  height: 2px;
  transition-duration: .4s;
  transition-property: background-color, transform;
  width: 20px;
}
.mhc-burger-icon { margin: 7px 0; position: relative; }
.mhc-burger-icon::before, .mhc-burger-icon::after { content: ""; position: absolute; }
.mhc-burger-icon::before { top: -7px; }
.mhc-burger-icon::after { top: 7px; }
.mhc-burger.is-open { position: fixed; right: 40px; top: 40px; z-index: 10000; }
.mhc-burger.is-open .mhc-burger-icon { background-color: transparent; }
.mhc-burger.is-open .mhc-burger-icon::before { background-color: #fff; transform: translateY(7px) rotate(45deg); }
.mhc-burger.is-open .mhc-burger-icon::after { background-color: #fff; transform: translateY(-7px) rotate(-45deg); }
.mhc-nav-open, .mhc-nav-open body { overflow: hidden; }
.mhc-overlay {
  background: #000;
  height: 100%;
  left: 0;
  opacity: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  top: 0;
  transform: scale(1.4);
  transition: transform .4s, opacity .4s;
  width: 100%;
  z-index: 9999;
}
.mhc-overlay.is-open { opacity: 1; transform: scale(1); }
.mhc-overlay-in { display: table; height: 100%; table-layout: fixed; width: 100%; }
.mhc-overlay ul { display: table-cell; margin: 0; padding: 150px 10%; vertical-align: middle; }
.mhc-overlay li { font-size: 18px; font-weight: bold; letter-spacing: -1px; list-style: none; padding: 10px; text-align: center; }
.mhc-overlay li a { font-size: 18px; font-weight: bold; letter-spacing: -1px; }
@media (max-width: 992px) {
  .container-fluid, .mhc-head-in { max-width: 100%; }
}
@media (max-width: 480px) {
  .mhc-overlay li { padding: 6px; }
}

/* ===== 4. Default page, archives, 404, sidebar ===== */
.mhc-blog { background: #fff; }
.mhc-entry-title { display: block; font-size: 55px; margin: 0 0 10px; position: relative; }
.mhc-entry-title a { color: inherit; }
.mhc-meta { color: #aaa; font-size: 14px; font-weight: bold; list-style: none; padding: 0; text-transform: uppercase; }
.mhc-meta > li { display: inline-block; list-style: none; margin: 0 20px 5px 0; }
.mhc-meta > li i {
  background: #E91E63;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  height: 30px;
  line-height: 30px;
  margin-right: 2px;
  text-align: center;
  width: 30px;
}
.mhc-rule { background: #eee; height: 1px; margin-top: 20px; width: 100%; }
.mhc-rule-end { background: #eee; display: block; height: 1px; margin: 40px 0 0; }
.mhc-pager { clear: both; }
.mhc-pager p { color: #555; font-size: 13px; font-weight: bold; margin: 0; padding-top: 30px; }
.mhc-pager a { border: 1px solid; margin: 0 5px; padding: 4px 10px; }
.mhc-pagination { list-style: none; margin: 20px 0; padding: 0; }
.mhc-pagination li { display: inline; list-style: none; }
.mhc-pagination li a { font-family: 'Catamaran', sans-serif; font-size: 12px; font-weight: bold; padding: 10px 20px; text-transform: uppercase; }
.mhc-404 { border: 10px solid; display: inline-block; font-family: Roboto, sans-serif; font-size: 100px; font-weight: 900; margin-bottom: 40px; padding: 30px 70px; text-transform: uppercase; }
.mhc-sidebar .widget { margin-bottom: 30px; padding-bottom: 30px; }
.mhc-sidebar .widgettitle { display: block; font-size: 22px; line-height: 1; margin: 0 0 20px; position: relative; text-transform: uppercase; }
.mhc-sidebar .widget-border { background: #eee; display: inline-block; height: 1px; margin-bottom: 20px; max-width: 100%; width: 100%; }
.mhc-sidebar .widget ul { padding: 0 0 0 20px; }
.mhc-sidebar .widget ul li { list-style: outside none square; margin-bottom: 5px; }
.mhc-sidebar select { padding: 8px 10px; width: 100%; }
@media (max-width: 1199px) { .mhc-entry-title { font-size: 50px; } }
@media (max-width: 992px) { .mhc-entry-title { font-size: 40px; } }
@media (max-width: 600px) { .mhc-entry-title { font-size: 30px; } }

/* ===== 5. Footer band ===== */
.mhc-foot { background: #000; font-size: 15px; line-height: 1.2; padding: 100px 0; text-align: center; }
.mhc-foot-in { margin: 0 auto; max-width: 1400px; padding: 0 15px; }
.mhc-foot-icons { display: block; list-style: none; margin: 0 0 20px; padding: 0; }
.mhc-foot a { color: #E91E63; }
.mhc-foot a:hover { color: #fff; }

/* ===== 6. Portfolio items ===== */
.mhc-band { overflow: hidden; position: relative; }
.mhc-band-img { background-position: 50% 50%; background-size: cover; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: -2; }
.mhc-band-shade { background: rgba(0, 0, 0, .5); height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: -1; }
.mhc-band-box { padding: 185px 15px; position: relative; text-align: center; }
.mhc-band-text { display: inline-block; margin: 0; max-width: 800px; width: 100%; }
.mhc-band-kicker { color: #fff; font-family: Roboto, sans-serif; font-size: 20px; letter-spacing: 10px; text-transform: uppercase; }
.mhc-clip { overflow: hidden; }
.mhc-band-title { color: #fff; font-size: 80px; margin: 0 0 20px; text-transform: capitalize; }
.mhc-band-line { background: #E91E63; display: inline-block; height: 5px; margin: -15px auto 25px; width: 40px; }
.mhc-work-title { font-size: 60px; margin: 0 0 30px; text-transform: capitalize; }
.mhc-work-line { background: #E91E63; height: 5px; margin: -15px 0 25px; width: 150px; }
.mhc-gallery::after { clear: both; content: ""; display: table; }
.mhc-tile { padding: 0; }
.mhc-gallery .mhc-tile { float: left; }
.mhc-gallery .mhc-tile:not([class*="col-"]) { width: calc(50% - 0.5px); }
.mhc-tile-in { overflow: hidden; position: relative; }
.mhc-tile-shade {
  background: #000;
  display: block;
  opacity: 0;
  padding: 60% 0;
  position: relative;
  transition: all .5s cubic-bezier(.5, 0, .4, 1);
  z-index: 1;
}
.mhc-gallery-top .mhc-tile-shade { padding: 35% 0; }
.mhc-others .mhc-tile-shade { padding: 50% 0; }
.mhc-tile-in:hover .mhc-tile-shade { opacity: .3; }
.mhc-tile-link { display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 3; }
.mhc-tile-img {
  background-position: center center;
  background-size: cover;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: all .6s cubic-bezier(.9, 0, .3, 1);
  width: 100%;
}
.mhc-tile-cap { bottom: 0; left: 0; position: absolute; width: 100%; z-index: 1; }
.mhc-tile-cap-in {
  background: #E91E63;
  margin: 30px;
  opacity: 0;
  padding: 20px 40px;
  transform: scale(0);
  transition: all .4s ease-in;
}
.mhc-tile-in:hover .mhc-tile-cap-in { opacity: 1; transform: scale(1); }
.mhc-tile-cap-in h3 { color: #fff; font-size: 22px; margin: 0; text-transform: capitalize; }
.mhc-tile-cap-in p { color: #fff; font-family: 'Catamaran', sans-serif; line-height: 1.2; opacity: .8; }
.mhc-others { text-align: center; }
.mhc-others .mhc-tile { float: left; }
.mhc-others-kicker { color: #E91E63; font-weight: bold; letter-spacing: 5px; margin: 0; text-transform: uppercase; }
.mhc-others-title { font-size: 35px; line-height: 1; margin: 0 0 40px; text-transform: uppercase; }
@media (max-width: 1199px) {
  .mhc-tile { width: 33.3%; }
  .mhc-others .mhc-tile, .mhc-gallery .mhc-tile { float: left; width: 50%; }
}
@media (max-width: 992px) {
  .mhc-band-title { font-size: 40px; }
  .mhc-band-kicker { font-size: 18px; letter-spacing: 6px; }
  .mhc-band-line { display: none; }
  .mhc-tile { width: 50%; }
}
@media (max-width: 600px) {
  .mhc-tile, .mhc-others .mhc-tile, .mhc-gallery .mhc-tile { float: none; width: 100%; }
  .mhc-band-title { font-size: 30px; }
  .mhc-band-box { padding: 150px 15px; }
  .mhc-band-kicker { font-size: 15px; letter-spacing: 4px; }
}

/* ===== 7. Replacements for the Hampoz widgets (see the conversion script) ===== */
/* Headings made from Hampoz widgets keep the theme's heading face; the
   settings saved on each widget (size, weight, colour) still come first. */
.elementor-widget-heading.mhc-h .elementor-heading-title {
  color: #000;
  font-family: 'Catamaran', sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.elementor-widget-heading.mhc-title .elementor-heading-title { font-size: 60px; margin: 0 0 20px; }
.elementor-widget-heading.mhc-title.mhc-title-m0 .elementor-heading-title { margin: 0; }
.elementor-widget-heading.mhc-title .elementor-heading-title span { color: #E91E63; }
@media (max-width: 1199px) { .elementor-widget-heading.mhc-title .elementor-heading-title { font-size: 50px; } }
.mhc-texticon .elementor-icon-box-title, .mhc-team .elementor-image-box-title,
.mhc-portfolio .elementor-portfolio-item__title, .mhc-others-grid .elementor-portfolio-item__title {
  font-family: 'Catamaran', sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.mhc-ti-sub { display: block; font-weight: bold; }

/* Share line: plain small icons after the label. */
.mhc-share .elementor-share-btn { background: none !important; font-size: 15.5px !important; height: auto !important; width: auto !important; }
.mhc-share .elementor-share-btn__icon { color: #aaa; width: auto !important; }
.mhc-share .elementor-share-btn__icon i, .mhc-share .elementor-share-btn__icon svg { font-size: 15.5px; height: 1em; width: auto; }
.mhc-share .elementor-share-btn:hover .elementor-share-btn__icon { color: #E91E63; }
.mhc-share { --grid-column-gap: 5px; margin-left: 5px; }
.mhc-share-label .elementor-heading-title { line-height: 1.8; }

/* Picture grid kept from the old gallery widgets when the pictures are not images of this site. */
.mhc-hgrid { margin: calc(-1 * var(--mhc-gap, 0px)); overflow: hidden; }
.mhc-hgrid::after { clear: both; content: ""; display: table; }
.mhc-hgrid-item { display: block; float: left; padding: var(--mhc-gap, 0px); position: relative; width: calc(100% / var(--mhc-cols, 2) - 0.5px); }
.mhc-hgrid-item img { display: block; transition: opacity .5s cubic-bezier(.5, 0, .4, 1); width: 100%; }
.mhc-hgrid-item:hover img { opacity: .85; }
@media (max-width: 992px) { .mhc-hgrid-item { width: calc(50% - 0.5px); } }
@media (max-width: 600px) { .mhc-hgrid-item { float: none; width: 100%; } }

/* Customizer extra CSS carried over from the old theme. */
#ifrm { display: none; }
