body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

ul,
ol {
  padding: 0 0 0 40px;
  margin: 20px 0;
}

ul li,
ol li {
  margin: 0 0 9px;
}

#page {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
  position: relative;
  transition: all 1s;
}

#site-content {
  flex: 1 0 auto;
  padding: 60px 15px;
  position: relative;
}

.grecaptcha-badge {
  display: none !important;
}

body {
  font-family: "Merriweather", serif;
  font-size: 16px;
  line-height: 24px;
  color: #333;
  letter-spacing: 0.5px;
  font-weight: 400;
}

a {
  color: #8c4830;
  text-decoration: none;
  outline: none !important;
}

a:hover {
  text-decoration: underline;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  line-height: 37px;
  margin: 0 0 25px 0;
  letter-spacing: 2px;
}

h1.page-title {
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 50px;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: 23px;
  line-height: 28px;
  margin: 0 0 25px 0;
  letter-spacing: 2px;
}

p {
  margin: 0 0 23px;
  line-height: 1.6;
}

p:last-child {
  margin: 0;
}

.screen-reader-text {
  display: none !important;
}

/*
* WP COLUMNS
*/

.wp-block-columns {
  align-items: center;
  padding: 30px 0;
}

@media (min-width: 600px) {
  .wp-block-column {
    flex-basis: 100%;
    flex-grow: 1;
  }
}

@media (min-width: 768px) {
  .wp-block-column {
    flex-basis: calc(50% - 16px);
    flex-grow: 0;
  }
}

/*
* WP BLOCK IMAGE
*/

.wp-block-image img {
  height: auto;
}

/*
* WP BLOCK GALLERY
*/

.wp-block-gallery {
  margin: 0;
}

@media (min-width: 600px) {
  .wp-block-gallery.columns-4 .blocks-gallery-item:first-child {
    width: calc((100% - 16px) / 2);
    margin-right: 16px;
  }

  .wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(2) {
    width: calc((100% - 16px) / 2);
    margin-right: 0;
  }

  .wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n) {
    margin-right: 16px;
  }
}

/*
* WP BLOCK IMAGE
*/

.wp-block-image figure {
  margin: 0;
}

/*
* WP BLOCK BUTTON
*/

.wp-block-button__link {
  font-size: 13px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  padding: 4px 20px;
  min-width: 100px;
}

/*
* WP BLOCK SEPERATOR
*/

.wp-block-separator.is-style-dots:before {
  font-size: 40px;
  letter-spacing: 1.2em;
  padding-left: 1.2em;
}

.wp-block-separator.is-style-dots.grey-bg {
  background: #f8f8f8;
  margin-top: 0;
  margin-bottom: 0;
  padding: 1.65em 0;
}

/*
* CONTACT LINK
*/

.contact-link {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.contact-link a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  letter-spacing: 1px;
  color: #333;
  margin: 0 25px 25px 0;
}

.contact-link a > img {
  margin-right: 11px;
  max-width: 29px;
}

@media (min-width: 768px) {
  .contact-link {
    justify-content: flex-end;
  }

  .contact-link a > img {
    max-width: 40px;
  }
}

/*
* CLICK CAPTURE
*/

body.mobile-menu-open .click-capture,
body.open-cart .click-capture {
  opacity: 1;
  visibility: visible;
}

.click-capture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  transition: all 0.3s;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
}

/*
* SCROLL TO TOP
*/

a#scroll-to-top {
  position: fixed;
  bottom: -50px;
  right: 15px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  width: 35px;
  height: 35px;
  border-radius: 18px;
  transform: rotate(90deg);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-out;
  border: 1px solid transparent;
}

a#scroll-to-top:hover {
  background: #64392a;
  border: 1px solid #f5f3f2;
}

a#scroll-to-top.active {
  bottom: 15px;
}

a#scroll-to-top svg {
  width: 17px;
  height: 20px;
  line-height: 0;
  fill: currentColor;
  color: #fff;
  transform: translateX(4px);
}

table {
  width: 100%;
}

table tr {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  align-items: baseline;
}

table thead tr {
  border-bottom: 1px solid #dedede;
}

table tbody tr {
  border-top: 1px dotted #ccc;
}

table tbody tr:first-child {
  border-top: 0;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.container-fluid {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

header#site-header {
  transition: all 0.2s;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

header#site-header.scroll {
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

header#site-header.headroom--not-top.headroom--unpinned {
  transform: translateY(-100%);
}

header#site-header.headroom--not-top.headroom--pinned {
  transform: translateY(0);
}

.header-container {
  display: flex;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 15px;
  justify-content: space-between;
  box-sizing: border-box;
}

/*
* SITE NAVIGATION
*/

nav#site-navigation {
  margin-left: 50px;
  display: none;
}

nav#site-navigation ul#main-menu {
  display: flex;
  padding: 0;
  margin: 0;
}

nav#site-navigation li.menu-item {
  display: block;
  position: relative;
  margin: 0;
  white-space: nowrap;
}

nav#site-navigation li.menu-item a {
  margin-right: 19px;
  text-decoration: none;
  text-transform: uppercase;
  color: #333333;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

nav#site-navigation li.menu-item:last-child a {
  margin-right: 0;
}

nav#site-navigation li.menu-item:hover .sub-menu {
  display: block;
}

nav#site-navigation ul.sub-menu {
  position: absolute;
  top: 23px;
  left: 0;
  padding: 20px;
  display: none;
  margin: 0;
}

nav#site-navigation ul.sub-menu li.menu-item a {
  margin: 0 0 10px;
  display: block;
}

nav#site-navigation ul.sub-menu li.menu-item:last-child a {
  margin: 0;
}

header#site-header.scroll nav#site-navigation ul.sub-menu {
  background: #fff;
}

/*
* SITE LOGO
*/

.site-logo a {
  display: block;
  line-height: 0;
}

/*
* MOBILE NAVIGATION BTN
 */

.mobile-navigation-btn {
  -webkit-appearance: none;
  border: 0;
  background: none;
  line-height: 0;
  padding: 0;
  width: 25px;
  height: 25px;
  color: #333;
  margin-left: 12px;
}

.mobile-navigation-btn:focus {
  outline: none;
}

.mobile-navigation-btn svg {
  fill: currentColor;
}

#mobile-navigation .mobile-navigation-btn {
  position: absolute;
  top: 25px;
  right: 19px;
  color: #fff;
}

/*
* MOBILE NAVIGATION
 */

nav#mobile-navigation {
  background: #111;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 100%;
  height: 100%;
  padding: 50px 40px;
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 99;
  transition: all 0.3s ease-out;
  transform: matrix(1, 0, 0, 1, 320, 0);
}

nav#mobile-navigation ul#mobile-menu {
  padding: 0;
  margin: 0;
}

nav#mobile-navigation li.menu-item {
  display: block;
  margin: 0;
  list-style: none;
}

nav#mobile-navigation li.menu-item a {
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
}

nav#mobile-navigation ul.sub-menu {
  padding: 0 0 0 20px;
  margin: 0;
}

nav#mobile-navigation ul.sub-menu li.menu-item a {
  padding: 0 0 10px;
}

body.mobile-menu-open nav#mobile-navigation {
  transform: matrix(1, 0, 0, 1, 0, 0);
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/*
* HEADER SHOP ACTIONS
*/

.quick-cart {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.cart-icon {
  display: flex;
  align-items: center;
  margin-left: 5px;
  margin-top: 4px;
}

.cart-icon svg {
  width: 6px;
  height: 18px;
  color: #d8a07c;
}

.cart-icon .cart-count {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  background: #d8a07c;
  color: #fff;
  padding: 4px;
  border-radius: 3px;
  min-width: 12px;
  margin-left: -2px;
  text-align: center;
}

@media (min-width: 1024px) {
  .header-container {
    justify-content: flex-start;
    padding: 30px 15px;
  }

  nav#site-navigation {
    display: block;
  }

  .mobile-navigation-btn {
    display: none;
  }

  nav#mobile-navigation {
    display: none;
  }
}

@media (min-width: 1280px) {
  nav#site-navigation li.menu-item a {
    margin-right: 20px;
    font-size: 17px;
  }
}

footer#site-footer {
  margin-top: -18%;
}

#site-footer .bg-wrapper {
  background: #64392a;
  padding: 30px 15px 30px;
  margin-top: -8px;
}

/*
* FOOTER WIDGET
*/

#site-footer .widget-area {
  display: flex;
  flex-wrap: wrap;
  max-width: 1024px;
  margin: 0 auto;
}

#site-footer .widget-column {
  width: 48.3%;
  margin-bottom: 40px;
  margin-right: 10px;
}

#site-footer .widget-column:nth-child(even) {
  margin-right: 0;
}

#site-footer h3.widget-title {
  margin: 0 0 15px 0;
  text-transform: uppercase;
  color: #e39f70;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 1px;
}

/*
* FOOTER WIDGET MENU
*/

#site-footer .widget-column .menu {
  padding: 0;
  margin: 0;
}

#site-footer .widget-column .menu li.menu-item {
  display: block;
}

#site-footer .widget-column .menu li.menu-item a {
  margin-bottom: 5px;
  display: inline-block;
  color: #fff;
}

/*
* FOOTER SOCIAL
*/

#site-footer .footer-widget-social ul {
  padding: 0;
  margin: 30px 0 0;
  display: flex;
}

#site-footer .footer-widget-social li {
  display: block;
  margin-right: 10px;
  width: 35px;
  height: 35px;
}

#site-footer .footer-widget-social li:last-child {
  margin-right: 0;
}

#site-footer .footer-widget-social li a {
  display: inline-block;
  line-height: 0;
}

/*
* FOOTER COPYRIGHT
*/

div#colophon {
  color: #fff;
  font-size: 15px;
  line-height: 21px;
  margin: 0 auto;
  max-width: 1280px;
}

@media (min-width: 1024px) {
  footer#site-footer .bg-wrapper {
    padding: 50px 15px;
  }

  #site-footer .widget-column {
    width: 100%;
    margin-bottom: 40px;
    padding: 0 10px 0 0;
  }

  #site-footer .widget-column {
    width: 23%;
    margin-bottom: 0;
    padding: 0;
    margin-right: 20px;
  }

  #site-footer .widget-column:last-child {
    margin-right: 0;
  }

  #site-footer h3.widget-title {
    font-size: 18px;
    line-height: 21px;
    margin: 0 0 20px 0;
  }

  #site-footer .widget-column .menu li.menu-item a {
    margin-bottom: 8px;
  }

  #site-footer .footer-widget-social li {
    margin-right: 20px;
  }

  div#colophon {
    text-align: right;
    margin: 30px auto 0;
  }
}

/*
* MAIN BANNER HEADER NAV
*/

body.main-banner header#site-header {
  box-shadow: none;
}

body.main-banner nav#site-navigation ul.sub-menu {
  background: #f8f8f8;
}

/*
* HOME PAGE
@media (min-width: 768px) {
  body.page-home {
    .wp-block-columns {
      margin: 0 0 50px 0;
    }
    .wp-block-column:first-child {
      flex-basis: calc(45% - 10px);
    }
    .wp-block-column:last-child {
      flex-basis: calc(55% - 10px);
      margin-left: 20px;
    }
  }
}
*/

/*
* BASIC LEATHERCRAFT PAGE
*/

@media (min-width: 768px) {
  body.page-basic-leathercraft .wp-block-columns {
    margin: 0 0 50px 0;
  }

  body.page-basic-leathercraft .wp-block-column:first-child {
    flex-basis: calc(45% - 10px);
  }

  body.page-basic-leathercraft .wp-block-column:last-child {
    flex-basis: calc(55% - 10px);
    margin-left: 20px;
  }
}

/*
* INTERMEDIATE LEATHERCRAFT PAGE
*/

@media (min-width: 768px) {
  body.page-intermediate-leathercraft-course .wp-block-columns {
    align-items: flex-start;
    margin: 0 0 50px 0;
  }

  body.page-intermediate-leathercraft-course .wp-block-column:first-child {
    flex-basis: calc(40% - 20px);
  }

  body.page-intermediate-leathercraft-course .wp-block-column:last-child {
    flex-basis: calc(60% - 20px);
    margin-left: 40px;
  }
}

/*
* CONTACT US PAGE
*/

body.page-contact-us .main-banner-block .main-image img {
  -o-object-fit: none;
     object-fit: none;
}

@media (min-width: 1280px) {
  body.page-contact-us .main-banner-block .main-banner .left-content h1.title {
    font-size: 37px;
    line-height: 50px;
  }
}

body.blog .post-list {
  display: flex;
  flex-wrap: wrap;
}

body.blog .post-list > article {
  width: 100%;
  padding: 0;
  margin-bottom: 50px;
  box-sizing: border-box;
}

body.blog .post-list article .entry-thumbnail {
  margin-bottom: 10px;
}

body.blog .post-list article .entry-thumbnail img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: auto;
}

body.blog .post-list article .entry-title {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 25px;
}

body.blog .post-list a.read-more {
  display: block;
  margin-top: 10px;
}

@media (min-width: 768px) {
  body.blog .post-list > article {
    width: 50%;
    padding: 0 15px;
  }

  body.blog .post-list article .entry-thumbnail img {
    max-height: 280px;
  }
}

@media (min-width: 1024px) {
  body.blog .post-list > article {
    width: 33.33333%;
  }
}

body.single-post .entry-thumbnail img {
  height: auto;
}

body.single-post .entry-content {
  margin: 30px 0;
}

body.blog .nav-links {
  display: flex;
}

body.blog .nav-links span,
body.blog .nav-links a {
  margin-right: 13px;
  padding: 7px 10px;
  border: 1px #cdcdcd solid;
  font-family: "Open Sans", sans-serif;
  line-height: 1;
  font-weight: 700;
}

