/*! ==========================================================================
    Theme Name: Wyong Milk Tavern
    Theme URI: http://
    Author: Hopping Mad Design
    Author URI: http://hoppingmad.com.au
    Description: Custom WordPress website for Wyong Milk Factory Tavern
========================================================================== */
@import url("https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i");
@import url("https://fonts.googleapis.com/css?family=Roboto+Slab:400,700");
@font-face {
  font-family: 'Garamond';
  src: url("fonts/Garamond.eot");
  src: url("fonts/Garamond.eot?#iefix") format("embedded-opentype"), url("fonts/Garamond.woff") format("woff"), url("fonts/Garamond.ttf") format("truetype"), url("fonts/Garamond.svg#Garamond") format("svg");
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'GaramondItalic';
  src: url("fonts/Garamond-Italic.eot");
  src: url("fonts/Garamond-Italic.eot?#iefix") format("embedded-opentype"), url("fonts/Garamond-Italic.woff") format("woff"), url("fonts/Garamond-Italic.ttf") format("truetype"), url("fonts/Garamond-Italic.svg#Garamond-Italic") format("svg");
  font-style: italic;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'GaramondBold';
  src: url("fonts/Garamond-Bold.eot");
  src: url("fonts/Garamond-Bold.eot?#iefix") format("embedded-opentype"), url("fonts/Garamond-Bold.woff") format("woff"), url("fonts/Garamond-Bold.ttf") format("truetype"), url("fonts/Garamond-Bold.svg#Garamond-Bold") format("svg");
  font-style: normal;
  font-weight: bold;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'BebasNeueBold';
  src: url("fonts/BebasNeueBold.eot");
  src: url("fonts/BebasNeueBold.eot?#iefix") format("embedded-opentype"), url("fonts/BebasNeueBold.woff") format("woff"), url("fonts/BebasNeueBold.ttf") format("truetype"), url("fonts/BebasNeueBold.svg#BebasNeueBold") format("svg");
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'BebasNeue';
  src: url("fonts/BebasNeue-Regular.eot");
  src: url("fonts/BebasNeue-Regular.eot?#iefix") format("embedded-opentype"), url("fonts/BebasNeue-Regular.woff") format("woff"), url("fonts/BebasNeue-Regular.ttf") format("truetype"), url("fonts/BebasNeue-Regular.svg#BebasNeueBold") format("svg");
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'GeorgiaItalic';
  src: url("fonts/Georgia-Italic.eot");
  src: url("fonts/Georgia-Italic.eot?#iefix") format("embedded-opentype"), url("fonts/Georgia-Italic.woff") format("woff"), url("fonts/Georgia-Italic.ttf") format("truetype"), url("fonts/Georgia-Italic.svg#Georgia-Italic") format("svg");
  font-style: italic;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

html {
  box-sizing: border-box;
  font-size: 100%;
  margin: 0;
}

@media screen and (max-width: 560px) {
  html {
    font-size: 0.875rem;
  }
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: url(img/bg/bg.jpg) center top fixed;
  background-size: cover;
  font-family: 'Garamond', Arial, Verdana, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media screen and (max-width: 1250px) {
  body {
    padding: 0 10px;
  }
}

@media screen and (max-width: 560px) {
  body {
    background-size: cover;
  }
}

img {
  height: auto;
  max-width: 100%;
}

.fb_iframe_widget iframe {
  max-width: 100%;
}

/* ==========================================================================
   @ normalize.css v3.0.1 | MIT License | git.io/normalize
   ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

hr {
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 20px 0;
}

/* ==========================================================================
   @ Grid
   ========================================================================== */
.grid {
  margin: 0 0 20px 0;
}

.grid:after {
  content: "";
  display: table;
  clear: both;
}

[class*='col-'] {
  float: left;
  padding-right: 20px;
}

.col-1-4 {
  width: 25%;
}

.col-1-3 {
  width: 33.33%;
}

.col-1-2 {
  width: 50%;
}

.col-2-3 {
  width: 66.66%;
}

.col-1-12 {
  width: 8.33%;
}

.col-2-12 {
  width: 16.66%;
}

.col-3-12 {
  width: 24.99%;
}

.col-4-12 {
  width: 33.32%;
}

.col-5-12 {
  width: 41.65%;
}

.col-6-12 {
  width: 49.98%;
}

.col-7-12 {
  width: 58.31%;
}

.col-8-12 {
  width: 66.64%;
}

.col-9-12 {
  width: 74.97%;
}

.col-10-12 {
  width: 83.3%;
}

.col-11-12 {
  width: 91.63%;
}

.col-12-12 {
  width: 100%;
}

.grid-pad {
  padding: 20px 0 20px 20px;
}

.grid-pad [class*='col-']:last-of-type {
  padding-right: 20px;
}

@media screen and (max-width: 767px) {
  [class*='col-'] {
    float: none;
    padding: 0;
    width: 100%;
  }
}

/* ==========================================================================
   @ Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6, p, ul {
  margin: 0 0 1rem 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "BebasNeueBold", Georgia, serif;
  font-weight: normal;
}

h1,
.h1 {
  font-family: "GaramondBold", Arial, Verdana, sans-serif;
  font-size: 1.313rem;
  letter-spacing: 1px;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 1.2rem;
    line-height: 1.6rem;
    margin-bottom: 20px;
  }
}

h2 {
  font-size: 1rem;
}

h3 {
  font-size: 0.875rem;
}

h2, h3 {
  margin-top: 1.5rem;
}

li {
  margin-left: 1rem;
}

a {
  color: #a66310;
  text-decoration: none;
}

a:hover {
  color: #a66310;
}

strong {
  font-family: "GaramondBold", Arial, Verdana, sans-serif;
}

/* ==========================================================================
   @ Navigation
   ========================================================================== */
.main-nav {
  border-bottom: 1px solid #bab5af;
  font-family: 'Garamond', Arial, sans-serif;
  font-size: 1.313rem;
  margin: 40px 0 20px 0;
  text-align: center;
  width: 100%;
}

.banner-has-photos .main-nav {
  border-bottom: 0;
}

@media screen and (max-width: 960px) {
  .main-nav {
    background: #ece9e3;
    display: none;
    margin-top: 0;
    top: 254px;
    text-align: center;
    position: absolute;
    padding: 0 0 50px 0;
    width: 100%;
    z-index: 500;
  }
}

@media screen and (max-width: 560px) {
  .main-nav {
    top: 130px;
  }
}

.main-nav ul {
  margin: 0;
}

.main-nav li {
  display: inline-block;
  margin: 0 -4px 0 0;
  position: relative;
}

@media screen and (min-width: 960px) {
  .main-nav > ul > li {
    border-bottom: 20px solid transparent;
  }
}

@media screen and (max-width: 960px) {
  .main-nav li {
    display: block;
    margin: 0;
    width: 100%;
  }
}

@media screen and (min-width: 960px) {
  .main-nav li:hover .sub-menu {
    display: block;
  }
}

.main-nav a {
  color: #261a15;
  display: block;
  text-decoration: none;
}

@media screen and (min-width: 960px) {
  .main-nav a {
    margin: 0 17.5px;
  }
}

.show-more {
  display: none;
}

@media screen and (max-width: 960px) {
  .show-more {
    color: white;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    display: inline-block;
    margin: 0 -15px 0 10px;
    position: relative;
    top: -1px;
  }
  .show-more:hover {
    color: #a1a1a1;
  }
}

@media screen and (max-width: 960px) {
  .main-nav > ul > li:first-child a {
    margin-top: 20px;
  }
  .main-nav li {
    border-bottom: 1px solid #89817c;
    margin: 0 auto 15px auto;
    padding-bottom: 15px;
    max-width: 170px;
  }
  .main-nav a {
    display: inline-block;
  }
}

.main-nav a:hover,
.current-menu-ancestor > a,
.current-menu-item > a {
  color: #a66310;
}

.open-nav {
  background: url(img/icon/open-nav.png) no-repeat;
  background-size: 100%;
  display: none;
  float: right;
  height: 16px;
  position: absolute;
  right: 0;
  top: 75px;
  width: 20px;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

@media screen and (max-width: 960px) {
  .open-nav {
    display: block;
  }
}

@media screen and (max-width: 560px) {
  .open-nav {
    top: 55px;
  }
}

.nav-open {
  background: url(img/icon/close-nav.png) no-repeat;
  background-size: 100%;
  height: 12px;
  width: 13px;
}

.sub-menu {
  display: none;
}

@media screen and (min-width: 960px) {
  .sub-menu {
    background: #3d3d3d;
    color: white;
    left: -20px;
    position: absolute;
    text-align: center;
    top: 38px;
    padding: 25px 0 5px 0;
    z-index: 500;
    width: 250px;
  }
  .sub-menu a,
  .sub-menu li {
    display: block;
    margin: 0;
    padding: 0;
  }
  .sub-menu a {
    color: white;
    margin-bottom: 18px;
  }
}

@media screen and (max-width: 960px) {
  .sub-menu a {
    font-weight: normal;
  }
}

.footer-nav {
  font-family: "Garamond", Arial, Verdana, sans-serif;
  font-size: 0.813rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

@media screen and (max-width: 960px) {
  .footer-nav {
    display: none;
  }
}

.footer-nav a {
  color: white;
}

.footer-nav ul,
.footer-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  display: inline;
  margin-right: 30px;
}

/* ==========================================================================
   @ Layout
   ========================================================================== */
.container {
  background: #ece9e3;
  max-width: 1230px;
  margin: 0 auto;
  padding: 1px 30px 70px 30px;
}

.container-header {
  background: #ece9e3;
  max-width: 1230px;
  margin: 30px auto 0 auto;
  padding: 0 30px 0 30px;
}

.wrapper-footer {
  background: #9d6115;
  max-width: 1230px;
  margin: 0 auto 30px auto;
}

@media screen and (max-width: 1250px) {
  .container {
    margin: 0 auto;
    padding: 1px 20px 0 20px;
  }
  .container-header {
    margin: 10px auto 0 auto;
    padding: 0 10px;
  }
}

@media screen and (min-width: 560px) and (max-width: 960px) {
  .container-content {
    padding-bottom: 80px;
  }
}

.container-event {
  clear: both;
  margin: 50px auto;
}

.container-small {
  max-width: 1030px;
}

.container-footer {
  max-width: 1060px;
  margin-top: 0;
  padding: 0;
}

@media screen and (max-width: 769px) {
  .container-event {
    clear: both;
    margin: 0 auto;
  }
}

@media screen and (max-width: 960px) {
  .site-header .container-full {
    padding: 0;
  }
}

.site-header {
  height: 330px;
  margin: 0 auto;
  max-width: 1110px;
  position: relative;
  width: 100%;
  z-index: 1000;
}

@media screen and (max-width: 960px) {
  .site-header {
    height: 255px;
  }
}

@media screen and (max-width: 560px) {
  .site-header {
    height: 130px;
  }
}

.site-logo {
  background: url(img/logo/site-logo.png) no-repeat;
  background-size: 100%;
  display: block;
  height: 195px;
  margin: -50px auto 0 auto;
  width: 131px;
  z-index: 1000;
}

@media screen and (max-width: 560px) {
  .site-logo {
    height: 100px;
    width: 64px;
  }
}

.top-bar {
  color: black;
  font-family: 'BebasNeueBold', Arial, sans-serif;
  font-size: 1.313rem;
  padding: 20px 0 20px 0;
}

@media screen and (max-width: 560px) {
  .top-bar {
    padding: 15px 0 15px 0;
  }
}

.top-bar-address br {
  display: none;
}

.top-bar-button {
  text-align: right;
}

.top-bar-col {
  border-bottom: 1px solid black;
  padding-bottom: 8px;
  max-width: 42%;
}

@media screen and (max-width: 960px) {
  .top-bar-col {
    padding: 0 0 8px 0;
  }
}

@media screen and (max-width: 560px) {
  .top-bar-col {
    padding: 0 0 3px 0;
  }
}

.top-bar .fa {
  display: inline-block;
  font-size: 1.1rem;
  margin: 0 8px;
  vertical-align: middle;
}

@media screen and (max-width: 960px) {
  .top-bar .fa {
    margin: 0 17.5px 0 0;
  }
}

.top-bar .top-bar-booking-button {
  color: black;
}

.top-bar-booking-button:hover {
  color: #a66310;
}

.add-border:after {
  background: black;
  content: '';
  display: inline-block;
  height: 40px;
  margin: 0 2px -14px 10px;
  width: 1px;
}

.add-border-before:before {
  background: black;
  content: '';
  display: inline-block;
  height: 40px;
  margin: 0 14px -14px 14px;
  width: 1px;
}

@media screen and (max-width: 960px) {
  .add-border:after,
  .add-border-before:before {
    display: none;
  }
}

.order-now-mobile {
  display: none;
}

.add-border-order {
  display: none;
}

@media screen and (max-width: 960px) {
  .order-now-desktop {
    display: none;
  }
  .order-now-mobile {
    display: block;
  }
  .add-border-order {
    display: block;
  }
}

.main-content {
  line-height: 1.7rem;
  max-width: 965px;
  margin: 45px auto 0 auto;
  padding: 0 0 20px 0;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .main-content:first-of-type {
    margin-top: 30px;
  }
}

.introduction {
  font-family: "Garamond", Arial, Verdana, sans-serif;
  line-height: 1.7rem;
  margin: 80px auto 45px auto;
  max-width: 965px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .introduction {
    margin: 30px auto;
  }
}

.introduction-title {
  font-family: "GaramondBold", Arial, Verdana, sans-serif;
  font-size: 1.313rem;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
}

@media screen and (max-width: 767px) {
  .introduction-title {
    border-bottom: 1px solid black;
    margin-bottom: 15px;
    padding-bottom: 15px;
    text-align: center;
  }
}

.home .introduction-title {
  margin-bottom: 46px;
}

@media screen and (max-width: 767px) {
  .home .introduction-title {
    margin-bottom: 15px;
  }
}

.home .introduction {
  margin: 0 auto;
  text-align: left;
  padding-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .home .introduction {
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .page-id-8 .introduction br {
    display: none;
  }
}

.flex {
  display: flex;
  flex-flow: row wrap;
}

.page-title {
  font-family: "GaramondBold", Arial, Verdana, sans-serif;
  font-size: 1.313rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

.page-title span {
  background: #ece9e3;
  display: inline-block;
  padding: 0 30px;
}

@media screen and (max-width: 767px) {
  .page-title {
    font-size: 1.286rem;
  }
}

@media screen and (max-width: 769px) {
  .page-title {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 560px) {
  .page-title {
    margin-bottom: 20px;
  }
}

.page-title::after {
  background: #767471;
  content: '';
  display: block;
  height: 1px;
  margin: -13px auto 0 auto;
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  .page-title:after {
    margin: -11px auto 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .page-title span {
    padding: 0 20px;
  }
}

@media screen and (min-width: 769px) {
  .page-title-directory {
    margin-top: 50px;
  }
}

.page-title-follow {
  text-align: left;
  width: 100%;
}

.page-title-follow {
  margin-bottom: 30px;
}

@media screen and (max-width: 769px) {
  .page-title-follow {
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .page-title-follow:after {
    display: none;
  }
}

.page-title-follow .fa-instagram {
  font-size: 2.2rem;
  margin-right: 10px;
  vertical-align: middle;
}

.page-title-location {
  margin-top: -48px;
}

.page-title-location span {
  padding: 0 30px;
}

.page-title-location:after {
  display: none;
}

.page-title-follow::after,
.page-title-location::after {
  width: 100%;
}

.page-title-follow span {
  padding: 0 30px 0 0;
}

/* ==========================================================================
   @ Book Now
   ========================================================================== */
.dimmi-widget {
  height: 500px !important;
}

.dimmi-widget div {
  height: 35px !important;
}

.dimmi-widget iframe {
  position: relative !important;
}

@media screen and (min-width: 1170px) {
  .dimmi-embed {
    padding-left: 40px;
  }
}

@media screen and (max-width: 960px) {
  .dimmi-embed,
  .book-content {
    float: none;
    padding: 0;
    width: 100%;
  }
  .book-content {
    margin-bottom: 40px;
  }
  .dimmi-embed {
    text-align: center;
  }
  .dimmi-widget {
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .dimmi-embed {
    margin-top: 50px;
  }
}

/* ==========================================================================
   @ Footer
   ========================================================================== */
.site-footer {
  color: white;
  font-size: 1rem;
  padding: 35px 0 0 0;
}

@media screen and (max-width: 960px) {
  .site-footer {
    min-height: 0;
    padding: 30px 0 25px 0;
  }
}

@media screen and (max-width: 767px) {
  .site-footer {
    padding: 30px 0 1px 0;
  }
}

.site-footer .container {
  background: none;
}

@media screen and (max-width: 767px) {
  .site-footer .container {
    margin: 0;
    padding: 0;
  }
}

.footer-title {
  font-size: 1.313rem;
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .footer-title {
    margin-bottom: 25px;
  }
}

.footer-col {
  border-right: 1px solid #b18349;
  padding: 0 20px;
}

@media screen and (min-width: 767px) {
  .footer-col {
    min-height: 280px;
  }
}

@media screen and (max-width: 767px) {
  .footer-col {
    border: none;
    margin-bottom: 30px;
  }
}

.footer-col:last-of-type {
  border-right: none;
}

.opening-times {
  font-family: "Garamond", Arial, Verdana, sans-serif;
  font-size: 1.125rem;
}

.opening-time {
  border-bottom: 1px solid #c5a57c;
  line-height: 1.25rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

@media screen and (min-width: 560px) and (max-width: 960px) {
  .opening-time {
    font-size: 1rem;
  }
}

.opening-time-day,
.opening-time-hour {
  display: inline-block;
}

.opening-time-day {
  width: 145px;
}

@media screen and (min-width: 560px) and (max-width: 960px) {
  .opening-time-day {
    width: 117px;
  }
}

.footer-contact {
  font-family: "BebasNeue", Georgia, serif;
  font-size: 1.313rem;
}

.footer-contact a {
  color: white;
}

@media screen and (min-width: 560px) and (max-width: 960px) {
  .footer-contact {
    font-size: 1.125rem;
  }
}

.footer-contact-address {
  margin: 0 0 8px 0;
}

.footer-contact-address br {
  display: none;
}

@media screen and (min-width: 560px) and (max-width: 960px) {
  .footer-contact-address br {
    display: block;
  }
}

.footer-contact-social {
  font-size: 1rem;
  margin: 15px 0 25px 0;
}

.footer-contact-social .fa {
  margin-right: 10px;
}

@media screen and (max-width: 767px) {
  #mc_embed_signup input.button {
    width: 100% !important;
  }
}

/* ==========================================================================
   @ Homepage
   ========================================================================== */
#sb_instagram {
  padding-bottom: 25px !important;
}

#sb_instagram .sbi_photo {
  max-height: 235px;
}

@media screen and (max-width: 560px) {
  #sb_instagram {
    border-bottom: none;
  }
}

.fb_iframe_widget {
  margin-top: 20px;
}

@media screen and (max-width: 560px) {
  #sb_instagram.sbi_col_4 #sbi_images .sbi_item {
    margin-bottom: 20px;
    width: 50%;
  }
  #sb_instagram .sbi_photo {
    max-height: 150px;
  }
}

.social-feeds {
  border-bottom: 1px solid #767471;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .social-feeds {
    border-bottom: none;
  }
}

@media screen and (max-width: 560px) {
  .facebook-feed {
    text-align: center;
  }
}

.directory {
  border: 1px solid #767471;
  margin-bottom: 55px;
  padding: 60px 30px 30px 30px;
}

@media screen and (max-width: 767px) {
  .directory {
    margin-bottom: 20px;
    padding: 20px 10px;
  }
}

#open-popup {
  padding: 20px;
}

.directory-popup {
  background-color: black;
  background-size: 47% 100%;
  background-repeat: no-repeat;
  border: 1px solid white;
  color: white;
  font-family: "Garamond", Arial, Verdana, sans-serif;
  height: 400px;
  min-height: 470px;
  line-height: 1.5rem;
  max-width: 968px;
  margin: 20px auto;
  position: relative;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .directory-popup {
    max-width: 93%;
  }
}

@media screen and (max-width: 769px) {
  .directory-popup {
    height: 355px;
    min-height: 0;
  }
}

@media screen and (max-width: 767px) {
  .directory-popup {
    min-height: 100%;
    height: auto;
    max-width: 89%;
  }
}

.directory-popup-title {
  display: none;
  border-bottom: 1px solid white;
  font-family: "BebasNeueBold", Georgia, serif;
  font-size: 1.875rem;
  margin: 0 auto 20px auto;
  max-width: 95%;
  padding: 35px 0 45px 0;
}

.directory-popup-title-desktop {
  display: block;
}

.directory-popup-title-mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .directory-popup-title {
    margin-bottom: 145px;
    padding: 0 0 20px 0;
    position: relative;
    z-index: 1;
  }
  .directory-popup-title-desktop {
    display: none;
  }
  .directory-popup-title-mobile {
    display: block;
    padding-top: 140px;
  }
}

.directory-popup-col {
  float: right;
  padding: 0;
}

.directory-popup-content {
  padding: 40px;
}

@media screen and (max-width: 767px) {
  .directory-popup-content {
    padding: 20px;
  }
}

.directory-popup-photo {
  background-size: cover;
  height: 100%;
}

.directory-popup-overlay {
  display: none;
}

@media screen and (max-width: 767px) {
  .directory-popup-overlay {
    background: rgba(0, 0, 0, 0.5);
    display: block;
    position: absolute;
    height: 280px;
    top: 0;
    left: 0;
    width: 100%;
  }
  .directory-popup-photo {
    height: 280px;
  }
}

/* ==========================================================================
   @ Blocks
   ========================================================================== */
.block-small {
  margin: 0 auto;
  max-width: 880px;
}

.block-item {
  background-size: cover;
  cursor: pointer;
  display: block;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

@media screen and (max-width: 850px) {
  .block-item {
    float: left;
    padding-right: 20px;
    width: 50%;
  }
}

.block-small .block-item {
  margin-right: 3%;
  padding-bottom: 31%;
  width: 30%;
}

@media screen and (max-width: 767px) {
  .block-item,
  .block-small .block-item {
    float: none;
    height: 260px;
    margin: 0 auto 35px auto;
    padding-right: 0;
    width: 260px;
    max-width: 100%;
  }
}

.block-item a {
  color: black;
}

.block-item:hover .block-overlay-hover {
  opacity: 1;
}

.block-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-bottom: 15px;
  max-width: 100%;
  position: relative;
}

.block-title {
  color: white;
  font-size: 1.875rem;
  font-family: "BebasNeueBold", Georgia, serif;
  left: 50%;
  position: absolute;
  text-align: center;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transition: all 0.8s;
  z-index: 4;
  width: 75%;
}

.block-item:hover .block-title {
  top: 40%;
  transition: all 0.8s;
}

.block-small .block-item:hover .block-title {
  top: 45%;
  transition: all 0.8s;
}

.block-sub-title {
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .block-sub-title {
    margin-top: 10px;
  }
}

.block-overlay {
  background: rgba(0, 0, 0, 0.15);
  height: 100%;
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.block-overlay-border {
  border: 15px solid transparent;
  box-shadow: inset 0 0 0 1px white;
  height: 100%;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.block-overlay-hover {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid white;
  height: calc(100% - 30px);
  top: 15px;
  left: 15px;
  width: calc(100% - 30px);
  position: absolute;
  opacity: 0;
  z-index: 1;
}

.small-block .block-overlay-border {
  left: 10px;
  top: 10px;
}

.block-item:hover .block-more {
  display: block;
  opacity: 1;
}

.block-more {
  border-top: 1px solid white;
  display: none;
  font-family: 'GeorgiaItalic', Georgia, sans-serif;
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: 0;
  margin-top: 20px;
  opacity: 0;
  padding-top: 20px;
  text-transform: none;
}

@media screen and (max-width: 769px) {
  .block-more {
    font-size: 1rem;
  }
}

.directory-item .block-more {
  margin-top: 35px;
  padding-top: 35px;
}

.no-link {
  cursor: default;
}

.directory-item {
  background-size: cover;
  cursor: zoom-in;
  display: block;
  max-width: 48.5%;
  padding: 0 0 44% 0;
}

@media screen and (max-width: 767px) {
  .directory-item {
    float: none;
    min-height: 0;
    margin: 0 auto 15px auto;
    padding: 0 0 100% 0;
    max-width: 100%;
    width: 100%;
  }
}

.directory-item:nth-of-type(2n) {
  float: right;
}

@media screen and (max-width: 767px) {
  .directory-item:nth-of-type(2n) {
    float: none;
  }
}

.directory-title {
  color: white;
  font-family: 'BebasNeueBold', Arial, sans-serif;
  font-size: 1.875rem;
  left: 50%;
  position: absolute;
  text-align: center;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transition: all 0.8s;
  z-index: 3;
}

.directory-item:hover .directory-title {
  top: 40%;
  transition: all 0.8s;
}

.directory-main-title {
  display: block;
  font-family: "GaramondBold", Arial, Verdana, sans-serif;
  font-size: 1.313rem;
  letter-spacing: 1px;
  margin: -73px 0 50px 0;
  text-align: center;
  padding: 0 20px;
  position: relative;
  text-transform: uppercase;
}

@media screen and (max-width: 767px) {
  .directory-main-title {
    margin: -33px 0 20px 0;
  }
}

@media screen and (max-width: 560px) {
  .directory-main-title {
    margin: -31px 0 20px 0;
  }
}

.directory-main-title span {
  background: #ece9e3;
  display: inline-block;
  padding: 0 30px;
}

/* ==========================================================================
   @ Contact / Functions
   ========================================================================== */
.contact-form {
  max-width: 775px;
  margin: 0 auto;
  text-align: left;
}

@media screen and (max-width: 767px) {
  .contact-form {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 560px) {
  .contact-form {
    margin-bottom: 0;
  }
}

.contact-form .grid {
  margin-bottom: 0;
}

.contact-details {
  border-bottom: 1px solid black;
  font-family: "BebasNeue", Georgia, serif;
  font-size: 1.125rem;
  margin: 0 auto 80px auto;
  max-width: 635px;
  padding-bottom: 10px;
}

.contact-detail strong {
  font-family: "BebasNeueBold", Georgia, serif;
}

.contact-detail {
  margin-bottom: 0;
}

.contact-detail li {
  list-style: none;
  margin-bottom: 10px;
}

.contact-detail a {
  color: black;
}

.contact-detail .fa {
  display: inline-block;
  font-size: 0.875rem;
  vertical-align: middle;
  margin: 0 10px 0 20px;
}

@media screen and (max-width: 767px) {
  .contact-detail .fa {
    margin: 0 8px 0 -10px;
  }
}

.contact-details-sub-title {
  display: inline-block;
  width: 160px;
}

@media screen and (max-width: 767px) {
  .contact-details-sub-title-ge {
    margin-top: 30px;
  }
}

.contact-address {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  margin: 0 0 25px 0;
  padding: 10px 0 8px 0;
  text-align: center;
  text-transform: uppercase;
}

.contact-address br {
  display: none;
}

@media screen and (max-width: 767px) {
  .contact-detail-section {
    display: block;
    margin-bottom: 15px;
    text-align: center;
  }
}

.acf-map {
  width: 100%;
  height: 560px;
}

@media screen and (max-width: 769px) {
  .acf-map {
    height: 350px;
  }
}

@media screen and (max-width: 767px) {
  .acf-map {
    height: 250px;
  }
}

.google-map {
  border: 1px solid #767471;
  max-width: 1030px;
  margin: 0 auto;
  padding: 35px;
}

@media screen and (max-width: 767px) {
  .google-map {
    margin: 25px 0;
    padding: 30px 10px 10px 10px;
  }
}

.functions-form {
  border: 1px solid #767471;
  margin-top: 50px;
  padding: 70px 10px 30px 10px;
  text-align: left;
}

@media screen and (max-width: 960px) {
  .functions-form {
    padding: 30px 30px 10px 30px;
  }
}

@media screen and (max-width: 767px) {
  .functions-form {
    padding: 30px 10px;
  }
}

@media screen and (max-width: 767px) {
  .functions-form .grid {
    margin-bottom: 0;
  }
}



/* ==========================================================================
   @ Events
   ========================================================================== */
.event-category {
  font-style: italic;
  margin: 18px 0 0 0;
}

@media screen and (max-width: 767px) {
  .event-category {
    margin: 10px 0;
  }
}

.event-title {
  border-bottom: 2px solid #e3e3e3;
  font-family: "Garamond", Arial, Verdana, sans-serif;
  font-size: 1.750rem;
  font-weight: bold;
  letter-spacing: 5px;
  padding-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
}

@media screen and (max-width: 560px) {
  .event-title {
    display: none;
  }
}

@media screen and (min-width: 560px) {
  .event-title-mobile {
    display: none;
  }
}

@media screen and (max-width: 560px) {
  .event-title-mobile {
    border-bottom: 0;
    display: block;
    padding: 0 0 10px 0;
  }
}

.event-photo {
  margin-bottom: 30px;
  text-align: center;
}

@media screen and (max-width: 560px) {
  .event-photo {
    margin: 0 -20px 30px -20px;
  }
}

.event-meta {
  border-top: 2px solid #e3e3e3;
  border-bottom: 2px solid #e3e3e3;
  font-size: 1.125rem;
  margin: 0 0 60px 0;
  padding: 20px;
}

@media screen and (max-width: 560px) {
  .event-meta {
    margin-bottom: 25px;
    text-align: center;
    padding: 10px;
  }
}

.event-terms {
  font-style: italic;
  text-align: right;
}

@media screen and (max-width: 560px) {
  .event-terms {
    text-align: center;
    padding-top: 5px;
  }
}

.event-terms a {
  color: #353535;
}

.upcoming-events {
  margin-top: 80px;
}

@media screen and (max-width: 560px) {
  .upcoming-events {
    margin-top: 40px;
  }
}

@media screen and (min-width: 550px) and (max-width: 850px) {
  .upcoming-events .block-item:last-of-type {
    display: none;
  }
}

/* ==========================================================================
   @ Datepicker
   ========================================================================== */
#ui-datepicker-div {
  background: #ece9e3;
  border: 2px solid #cdcac5;
  display: none;
  padding: 20px;
}

.ui-datepicker-title {
  color: #89817c;
  padding: 5px 0;
}

#ui-datepicker-div th {
  font-family: "GaramondBold", Arial, Verdana, sans-serif;
}

#ui-datepicker-div td {
  padding: 8px;
}

.ui-datepicker-next,
.ui-datepicker-prev {
  font-family: "BebasNeueBold", Georgia, serif;
  cursor: pointer;
}

.ui-datepicker-next {
  float: right;
}

.ui-datepicker-title {
  margin: 10px 0;
}

/* ==========================================================================
   @ Buttons
   ========================================================================== */
.button {
  background: none;
  border: 1px solid black;
  border-radius: 0;
  color: black;
  font-family: "BebasNeue", Georgia, serif;
  font-size: 1.313rem;
  line-height: 1.313rem;
  padding: 14px 40px 9px 40px;
  text-align: center;
  text-transform: uppercase;
}

.button:hover {
  border: 1px solid #a66310;
  color: #a66310;
}

.button-header {
  float: right;
  margin-top: 25px;
}

.button-minimal {
  background: none;
  border: 2px solid #a66310;
  color: #a66310;
  padding: 10px 30px;
}

.button-minimal:hover {
  border: 2px solid black;
  color: black;
}

.button-container {
  text-align: center;
}

@media screen and (min-width: 767px) {
  .button-events {
    margin-top: 50px;
  }
}

.button-footer {
  background: none;
  border: 1px solid white;
  border-radius: 0;
  color: white;
  display: inline-block;
  font-family: "BebasNeue", Georgia, serif;
  font-size: 1.313rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.button-footer:hover {
  border: 1px solid white;
  color: white;
}

@media screen and (max-width: 767px) {
  .button-footer {
    width: 100%;
  }
}

.button-footer-map {
  margin-top: 27px;
}

.button-container {
  margin: 65px 0;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .button-container {
    margin: 20px 0 40px 0;
  }
}

.button-bare {
  border: none;
  padding: 20px 0;
}

.button-function-pack {
  display: inline-block;
  margin-top: 30px;
}

/* ==========================================================================
   @ Miscellaneous
   ========================================================================== */
.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

.ir {
  border: 0;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

.clear:before,
.clear:after {
  content: " ";
  display: table;
}

.clear:after {
  clear: both;
}

.push-left {
  float: left;
}

.push-right {
  float: right;
}

@media screen and (max-width: 960px) {
  .hide-breakpoint-nav {
    display: none;
  }
}

.link-icon {
  color: black;
}

.site-footer .link-icon {
  color: white;
}

.site-footer .link-icon:hover {
  color: white;
}

.anchor {
  display: block;
  padding-top: 30px;
}

.hidden {
  opacity: 0;
}

.form-col {
  border-bottom: 2px solid #cdcac5;
  margin-bottom: 20px;
}

.form-col {
  padding: 0;
  width: 48%;
}

@media screen and (max-width: 767px) {
  .form-col {
    width: 100%;
  }
}

.form-col-l {
  float: left;
}

.form-col-r {
  float: right;
}

.form-col-full {
  width: 100%;
}

.form-col-last {
  margin-bottom: 5px;
}

.wpcf7-form br {
  display: none;
}

.input-label {
  border-right: 1px solid #b1afaa;
  color: black;
  display: inline-block;
  font-family: "BebasNeue", Georgia, serif;
  font-size: 1.125rem;
  max-width: 90px;
  padding: 6px 0 6px 0;
  width: 24.5%;
}

@media screen and (min-width: 560px) and (max-width: 960px) {
  .input-label {
    font-size: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .input-label {
    max-width: 150px;
    width: 28%;
  }
}

.input-label-type {
  max-width: 110px;
  width: 28%;
}

@media screen and (max-width: 767px) {
  .input-label-type {
    max-width: 150px;
    width: 28%;
  }
}

.input-label-message span {
  color: #afada9;
  display: inline;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1rem;
  padding-left: 20px;
}

@media screen and (max-width: 767px) {
  .input-label-message span {
    display: block;
    font-size: 0.875rem;
    line-height: 0.875rem;
    padding: 0 0 8px 0;
  }
}

@media screen and (min-width: 560px) and (max-width: 960px) {
  .input-label-message span {
    font-size: 0.8rem;
  }
}

.input-label-message {
  display: block;
  border: none;
  max-width: 100%;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .input-label-message {
    text-align: center;
  }
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-submit,
.wpcf7-select,
.wpcf7-date {
  background: none;
  border: none;
  color: black;
  display: inline-block;
  font: 1rem Georgia, 'Times New Roman', serif;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
  padding: 0 15px;
}

@media screen and (max-width: 767px) {
  .wpcf7-text,
  .wpcf7-textarea,
  .wpcf7-select {
    padding: 0 10px;
  }
}

.wpcf7-select {
  background: url(img/icon/icon-input-arrow.png) no-repeat;
  background-size: 8px 6px;
  background-position: right center;
  font-style: italic;
}

@media screen and (max-width: 767px) {
  .wpcf7-select {
    background: url(img/icon/icon-input-arrow.png) no-repeat;
    background-size: 6px 4px;
    background-position: right center;
  }
}

.wpcf7-text,
.wpcf7-date {
  width: 74%;
}

.input-type {
  width: 70%;
}

.wpcf7-date {
  background: url(img/icon/icon-calendar.png) no-repeat;
  background-size: 16px 17px;
  background-position: right center;
  padding-right: 20px;
}

@media screen and (max-width: 767px) {
  .wpcf7-date,
  .wpcf7-text {
    width: 70%;
  }
}

.form-col-full .wpcf7-text {
  width: 74.9%;
}

@media screen and (max-width: 767px) {
  .form-col-full .wpcf7-text {
    width: 65%;
  }
}

.wpcf7-textarea {
  display: block;
  padding: 10px 0;
  width: 100%;
}

.wpcf7-text,
.wpcf7-select {
  height: 40px;
}

.wpcf7-submit {
  background: none;
  border: 1px solid black;
  border-radius: 0;
  color: black;
  cursor: pointer;
  display: block;
  font-family: "BebasNeue", Georgia, serif;
  font-size: 1.313rem;
  margin: 20px auto 0 auto;
  padding: 12px 70px 10px 70px;
  text-align: center;
  text-transform: uppercase;
}

@media screen and (max-width: 767px) {
  .wpcf7-submit {
    width: 100%;
  }
}

.wpcf7-submit:hover {
  border: 1px solid #a66310;
  color: #a66310;
}

@media screen and (max-width: 767px) {
  .wpcf7-submit {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ok {
  background: #a90000;
  border: none;
  clear: both;
  color: white;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 15px;
}

@media screen and (max-width: 767px) {
  div.wpcf7-validation-errors,
  div.wpcf7-mail-sent-ok {
    margin: 20px 0 0 0;
  }
}

div.wpcf7-mail-sent-ok {
  background: green;
}

span.wpcf7-not-valid-tip {
  color: #a90000;
  position: absolute;
  font-size: 11px;
  font-family: Arial;
  top: 26px;
  width: 200px;
}

::-webkit-input-placeholder {
  color: black;
  font-style: italic;
}

::-moz-placeholder {
  color: black;
  font-style: italic;
  opacity: 1;
}

:-ms-input-placeholder {
  color: black;
  font-style: italic;
}

/* ==========================================================================
   @ Slideshow
   ========================================================================== */
.slideshow {
  height: 585px;
  margin-bottom: 45px;
}

@media screen and (max-width: 1170px) {
  .slideshow {
    height: 350px;
  }
}

@media screen and (max-width: 960px) {
  .slideshow {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 767px) {
  .slideshow {
    height: 260px;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 560px) {
  .slideshow {
    height: 187px;
    margin: 0 -10px 20px -10px;
  }
}

@media screen and (max-width: 320px) {
  .slideshow {
    height: 160px;
  }
}

.slide {
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  outline: 1px solid white;
  outline-offset: -30px;
  width: 100%;
}

@media screen and (max-width: 769px) {
  .slide {
    outline-offset: -10px;
  }
}

.slideshow-text {
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  z-index: 100;
  width: 100%;
}

.slideshow-text-mobile {
  border-bottom: 1px solid black;
  display: none;
}

.post-type-archive-events .slideshow-text-mobile,
.tax-event .slideshow-text-mobile {
  margin-bottom: 30px;
  text-align: center;
}

@media screen and (max-width: 560px) {
  .slideshow-text {
    display: none;
  }
}

@media screen and (max-width: 560px) {
  .slideshow-text-mobile {
    display: block;
    margin-bottom: 15px;
    padding-bottom: 15px;
    text-align: center;
  }
}

.slideshow-text * {
  color: white;
}

.slideshow-text h1 {
  font-family: "GaramondBold", Arial, Verdana, sans-serif;
  font-size: 1.750rem;
  line-height: 1.750rem;
  letter-spacing: 5px;
  margin-bottom: 35px;
  text-transform: uppercase;
}

@media screen and (max-width: 769px) {
  .slideshow-text h1 {
    font-size: 1.2rem;
    line-height: 1.2rem;
    margin-bottom: 0;
  }
}

.slideshow-text-mobile h1 {
  font-family: "Garamond", Arial, Verdana, sans-serif;
  font-size: 1.750rem;
  font-weight: bold;
  text-transform: uppercase;
}

@media screen and (max-width: 560px) {
  .slideshow-text-mobile h1 {
    font-size: 1.143rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
  }
}

.slideshow-text h2,
.slideshow-text h3,
.slideshow-text h4,
.slideshow-text h5,
.slideshow-text p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: normal;
}

@media screen and (max-width: 769px) {
  .slideshow-text h2,
  .slideshow-text h3,
  .slideshow-text h4,
  .slideshow-text h5,
  .slideshow-text p {
    font-size: 1rem;
    margin-top: 20px;
  }
}

.slideshow-text-mobile h2,
.slideshow-text-mobile h3,
.slideshow-text-mobile h4,
.slideshow-text-mobile h5,
.slideshow-text-mobile * {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.143rem;
  font-weight: normal;
}

@media screen and (max-width: 560px) {
  .slideshow-text-mobile h2,
  .slideshow-text-mobile h3,
  .slideshow-text-mobile h4,
  .slideshow-text-mobile h5,
  .slideshow-text-mobile * {
    font-size: 1rem;
    margin: 5px 0 15px 0;
  }
}

.slideshow-overlay {
  background: rgba(0, 0, 0, 0.25);
  left: 0;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

.cycle-prev,
.cycle-next {
  height: 28px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transition: opacity 0.4s ease-in-out;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  width: 16px;
  z-index: 500;
}

@media screen and (max-width: 960px) {
  .cycle-prev,
  .cycle-next {
    display: none;
  }
}

.cycle-next {
  background: url(img/icon/icon-next.png) no-repeat;
  background-size: 100%;
  cursor: pointer;
  right: 85px;
}

.cycle-prev {
  background: url(img/icon/icon-prev.png) no-repeat;
  background-size: 100%;
  cursor: pointer;
  left: 85px;
}

.is-slideshow:hover .cycle-next,
.is-slideshow:hover .cycle-prev {
  opacity: 1;
}

.cycle-pager {
  bottom: 50px;
  text-align: center;
  width: 100%;
  z-index: 500;
  position: absolute;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .cycle-pager {
    display: none;
    bottom: 10px;
  }
}

.cycle-pager span {
  border: 1px solid #050404;
  background: #4a3c38;
  border-radius: 100%;
  font-family: arial;
  font-size: 45px;
  width: 14px;
  height: 14px;
  padding: 0;
  display: inline-block;
  color: #ddd;
  cursor: pointer;
  line-height: 15px;
  margin: 0 7.5px;
  text-indent: -999999px;
}

.cycle-pager span.cycle-pager-active {
  background: white;
}

.cycle-pager > * {
  cursor: pointer;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #CCC;
}

.mfp-preloader a:hover {
  color: #FFF;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}

.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  display: none;
  color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-left:after {
  border-right: 17px solid #FFF;
  margin-left: 31px;
}

.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
  right: 0;
}

.mfp-arrow-right:after {
  border-left: 17px solid #FFF;
  margin-left: 39px;
}

.mfp-arrow-right:before {
  border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}

.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

.mfp-arrow:hover {
  background-position: center -370px;
}

.mfp-container .mfp-arrow.mfp-arrow-left {
  background: url(img/icon/icon-prev.png) no-repeat;
  background-size: 100%;
  height: 28px;
  left: 30px;
  width: 16px;
}

.mfp-container .mfp-arrow.mfp-arrow-right {
  background: url(img/icon/icon-next.png) no-repeat;
  background-size: 100%;
  height: 28px;
  right: 30px;
  width: 16px;
}

@media screen and (max-width: 960px) {
  .mfp-container .mfp-arrow.mfp-arrow-left {
    left: 5px;
  }
  .mfp-container .mfp-arrow.mfp-arrow-right {
    right: 5px;
  }
}

.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  display: none;
}