/*
Theme Name:   The Chappy Ferry
Theme URI:    https://www.chappyferry.com/
Description:  Updated Theme for The Chappy Ferry.
Author:       Mayling Chi
Author URI:   https://www.maylingchi.com/
Template:     genesis
Version:      1.0.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, responsive-layout, accessibility-ready
Text Domain:  cf
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

p, ul li,
ol li {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
}

h6, h5, h4, h3, h2, h1 {
  font-family: "Bembo Book W01", Georgia, Times, serif;
  font-weight: 400;
}

html {
  font-size: 62.5%;
}
html body {
  background-image: url(assets/images/bg.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

* {
  border: none;
  box-sizing: border-box;
  outline: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}
img.aligncenter {
  margin: 0 auto;
}
img.alignleft {
  float: left;
}

.clearfix {
  clear: both;
  content: "";
}

.important {
  background-color: #ebeef3;
  margin-bottom: 28px;
  padding: 28px;
}
.important p, .important ul li, ul .important li,
.important ol li,
ol .important li {
  color: #6f7074;
  font-size: 1.8rem;
}
.important p:last-of-type, .important ul li:last-of-type, ul .important li:last-of-type,
.important ol li:last-of-type,
ol .important li:last-of-type {
  margin-bottom: 0;
}

.video-container {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.site-inner {
  padding: 28px 5%;
  background-color: #fff;
}
@media (min-width: 992px) {
  .site-inner {
    padding-right: 2.5%;
    padding-left: 2.5%;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    width: 960px;
  }
}
@media (min-width: 1200px) {
  .site-inner {
    width: 1016px;
  }
}
@media (min-width: 992px) {
  .site-inner .content-sidebar-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: top;
  }
}
.site-inner .content-sidebar-wrap .featured-image {
  margin-bottom: 24px;
  height: 130px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
@media (min-width: 400px) {
  .site-inner .content-sidebar-wrap .featured-image {
    height: 200px;
  }
}
@media (min-width: 768px) {
  .site-inner .content-sidebar-wrap .featured-image {
    height: 420px;
  }
}
.site-inner .content-sidebar-wrap .featured-image img {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  margin: 0 auto;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.site-inner .content-sidebar-wrap .content {
  margin-bottom: 48px;
}
@media (min-width: 992px) {
  .site-inner .content-sidebar-wrap .content {
    width: 65%;
  }
}
@media (min-width: 992px) {
  .site-inner .content-sidebar-wrap .sidebar-primary {
    width: 30%;
  }
}
.site-inner .entry-header {
  padding: 10px 15px;
  background-color: #f1e4c6;
  margin-bottom: 24px;
}
.site-inner .entry-header .entry-title {
  color: #856633;
  margin-bottom: 0;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}
.site-inner .entry-header .entry-title a {
  color: #856633;
  text-decoration: none;
  transition: all 0.2s ease;
}
.site-inner .entry-header .entry-title a:hover {
  color: #007ab9;
}

.sidebar-primary .widget {
  background-color: #ebeef3;
  margin-bottom: 28px;
}
.sidebar-primary .widget .widget-title {
  padding: 10px 15px;
  background-color: #007ab9;
  color: #fff;
  font-size: 1.8rem;
  text-transform: uppercase;
}
.sidebar-primary .widget .textwidget {
  padding: 10px 15px;
}
.sidebar-primary .widget .textwidget p, .sidebar-primary .widget .textwidget ul li, ul .sidebar-primary .widget .textwidget li,
.sidebar-primary .widget .textwidget ol li,
ol .sidebar-primary .widget .textwidget li {
  color: #6f7074;
  font-size: 1.4rem;
}
.sidebar-primary .widget .textwidget ul {
  padding-left: 0;
}
.sidebar-primary .widget .textwidget ul li {
  border-bottom: 1px dotted #6f7074;
  color: #6f7074;
  font-size: 1.4rem;
  list-style-type: none;
  padding-bottom: 8px;
}
.sidebar-primary .widget .textwidget ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

h1 {
  margin-top: 0;
  margin-bottom: 28px;
  color: #856633;
  font-size: 3.6rem;
}

h2 {
  margin-top: 0;
  margin-bottom: 28px;
  color: #007ab9;
  font-size: 3.2rem;
}

h3 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #007ab9;
  font-size: 2.8rem;
}

h4 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #007ab9;
  font-size: 2.4rem;
}

h5 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #007ab9;
  font-size: 1.8rem;
}

h6 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #007ab9;
  font-size: 1.6rem;
}

p, ul li,
ol li {
  margin-top: 0;
  margin-bottom: 28px;
  color: #000;
  font-size: 1.6rem;
  line-height: 160%;
}
p a, ul li a,
ol li a {
  color: #2d78b8;
  transition: all 0.2s ease;
}
p a:hover, ul li a:hover,
ol li a:hover {
  color: #2d78b8;
}

ul li,
ol li {
  margin-bottom: 8px;
}
ul li a,
ol li a {
  text-decoration: none;
}

.site-header {
  padding-top: 28px;
  padding-bottom: 28px;
}
@media (min-width: 992px) {
  .site-header {
    padding-top: 0;
    padding-bottom: 0;
  }
}
.site-header .wrap {
  padding-right: 5%;
  padding-left: 5%;
}
@media (min-width: 768px) {
  .site-header .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
  }
}
@media (min-width: 992px) {
  .site-header .wrap {
    padding-right: 0;
    padding-left: 0;
    margin: 0 auto;
    position: relative;
    width: 960px;
  }
}
@media (min-width: 1200px) {
  .site-header .wrap {
    width: 1016px;
  }
}
@media (min-width: 768px) {
  .site-header .title-area .site-title {
    margin-bottom: 0;
  }
}
@media (min-width: 992px) {
  .site-header .title-area .site-title {
    margin-top: 28px;
    margin-right: 28px;
  }
}
.site-header .header-widget-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
@media (min-width: 768px) {
  .site-header .header-widget-area {
    justify-content: flex-end;
  }
}
.site-header .header-widget-area .widget.widget_text {
  margin-right: 28px;
}
.site-header .header-widget-area .widget.widget_text p, .site-header .header-widget-area .widget.widget_text ul li, ul .site-header .header-widget-area .widget.widget_text li,
.site-header .header-widget-area .widget.widget_text ol li,
ol .site-header .header-widget-area .widget.widget_text li {
  margin-bottom: 0;
}
.site-header .header-widget-area .widget.widget_text p a, .site-header .header-widget-area .widget.widget_text ul li a, ul .site-header .header-widget-area .widget.widget_text li a,
.site-header .header-widget-area .widget.widget_text ol li a,
ol .site-header .header-widget-area .widget.widget_text li a {
  color: #fff;
  text-decoration: none;
}
.site-header .header-widget-area .widget.widget_custom_html {
  margin-right: 0;
}
.site-header .header-widget-area .widget.widget_custom_html a {
  color: #fff;
}
.site-header .header-widget-area .widget.widget_media_image {
  position: absolute;
  top: 0;
  right: 5%;
  width: 30%;
}
@media (min-width: 400px) {
  .site-header .header-widget-area .widget.widget_media_image {
    right: 0;
  }
}
@media (min-width: 768px) {
  .site-header .header-widget-area .widget.widget_media_image {
    right: 5%;
  }
}
@media (min-width: 992px) {
  .site-header .header-widget-area .widget.widget_media_image {
    right: 0;
    width: auto;
  }
}

.nav-primary {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #007ab9;
}
@media (min-width: 992px) {
  .nav-primary {
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    margin: 28px auto 0;
    width: 960px;
  }
}
@media (min-width: 1200px) {
  .nav-primary {
    width: 1016px;
  }
}
.nav-primary .wrap {
  padding-right: 5%;
  padding-left: 5%;
}
@media (min-width: 992px) {
  .nav-primary .wrap {
    padding-right: 2.5%;
    padding-left: 2.5%;
  }
}
.nav-primary .mm-toggle {
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  padding: 0;
}
@media (min-width: 992px) {
  .nav-primary .mm-toggle {
    display: none;
  }
}
.nav-primary .genesis-nav-menu {
  display: none;
  padding-left: 0;
}
@media (min-width: 992px) {
  .nav-primary .genesis-nav-menu {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
.nav-primary .genesis-nav-menu .menu-item {
  border-radius: 8px;
  color: #fff;
  font-size: 1.8rem;
  list-style-type: none;
  margin: 0;
}
@media (min-width: 992px) {
  .nav-primary .genesis-nav-menu .menu-item {
    position: relative;
  }
}
.nav-primary .genesis-nav-menu .menu-item:nth-child(5) span::after, .nav-primary .genesis-nav-menu .menu-item:nth-child(6) span::after, .nav-primary .genesis-nav-menu .menu-item:nth-child(7) span::after {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font: var(--fa-font-solid);
  font-size: 1.4rem;
  content: "\f0d7";
  margin-left: 4px;
}
.nav-primary .genesis-nav-menu .menu-item a {
  border-radius: 8px;
  color: #fff;
  display: block;
  padding: 5px 15px;
  text-decoration: none;
}
.nav-primary .genesis-nav-menu .menu-item a:hover {
  background-color: #f7de6a;
  color: #cc0200;
}
.nav-primary .genesis-nav-menu .menu-item .sub-menu {
  padding-right: 5%;
  padding-left: 5%;
}
@media (min-width: 992px) {
  .nav-primary .genesis-nav-menu .menu-item .sub-menu {
    padding-top: 12px;
    padding-bottom: 12px;
    position: absolute;
    top: 39px;
    left: 0;
    background-color: #2d78b8;
    width: 200px;
    z-index: 99;
  }
}
.nav-primary .genesis-nav-menu .menu-item .sub-menu .menu-item {
  font-size: 1.6rem;
}
.nav-primary .genesis-nav-menu .menu-item .sub-menu .menu-item span::after {
  display: none;
}
.nav-primary .genesis-nav-menu .menu-item.current_page_item {
  background-color: #f7de6a;
  color: #cc0200;
}
.nav-primary .genesis-nav-menu .menu-item.current_page_item a {
  color: #cc0200;
}
.nav-primary .genesis-nav-menu .menu-item.current_page_item .sub-menu .menu-item a {
  color: #fff;
}
.nav-primary .genesis-nav-menu .menu-item.current_page_item .sub-menu .menu-item a:hover {
  background-color: #f7de6a;
  color: #cc0200;
}

.site-footer {
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-footer .wrap {
  padding-right: 5%;
  padding-left: 5%;
}
@media (min-width: 992px) {
  .site-footer .wrap {
    padding-right: 0;
    padding-left: 0;
    margin: 0 auto;
    width: 960px;
  }
}
@media (min-width: 1200px) {
  .site-footer .wrap {
    width: 1016px;
  }
}
.site-footer p, .site-footer ul li, ul .site-footer li,
.site-footer ol li,
ol .site-footer li {
  color: #ebeef3;
  font-size: 1.4rem;
  margin-bottom: 0;
}

.blog .archive-description,
.archive .archive-description {
  display: none;
}
.blog .post,
.archive .post {
  margin-bottom: 64px;
}
.blog .entry-footer,
.archive .entry-footer {
  padding: 5px 15px;
  background-color: #ebeef3;
}
.blog .entry-footer p, .blog .entry-footer ul li, ul .blog .entry-footer li,
.blog .entry-footer ol li,
ol .blog .entry-footer li,
.archive .entry-footer p,
.archive .entry-footer ul li,
ul .archive .entry-footer li,
.archive .entry-footer ol li,
ol .archive .entry-footer li {
  color: #6f7074;
  font-size: 1.4rem;
  margin-bottom: 0;
}
.blog .pagination ul,
.archive .pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.blog .pagination ul li,
.archive .pagination ul li {
  list-style-type: none;
  margin-right: 24px;
}
.blog .pagination ul li:last-child,
.archive .pagination ul li:last-child {
  margin-right: 0;
}

.single .post {
  margin-bottom: 48px;
}
.single .entry-footer {
  padding: 10px 15px;
  background-color: #ebeef3;
}
.single .entry-footer p, .single .entry-footer ul li, ul .single .entry-footer li,
.single .entry-footer ol li,
ol .single .entry-footer li {
  color: #6f7074;
  font-size: 1.4rem;
  margin-bottom: 0;
}
