/*  =========================================================================
 
 Project: Garncarnia
 Author: Code Shakers / 2020
 
 ========================================================================= */

/*============================================================================
  1.Common
  2.Header & Navigation
  3.Footer
  4.Components
  5.Top Bar
  6.Hero
  7.Sidebar
  8.Index
  9.News
  10.Post
  11.Contact
  12.Offers
  13.About Us
  14.Collection/Product
  15.Calendar
  16.Static page
  17.Media
  
==============================================================================*/

/*============================================================================
 1. Common
==============================================================================*/
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

strong {
  font-weight: var(--font-weight-bold);
}

img {
  height: auto;
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  transition: all .3s;
  color: var(--color-dark);
}

p {
  margin: 0 0 calc(var(--spacer)*1.5);
}

body {
  background: var(--bg-body);
  font-family: var(--base-font-family);
  font-weight: var(--base-font-weight);
  line-height: var(--base-line-height);
  font-size: var(--base-font-size-mobile);
  color: var(--body-color);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media screen and (min-width: 768px) {
  body {
    font-size: var(--base-font-size);
  }
}

.container {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--grid-gutter-width-mobile);
}

.container--sm {
  max-width: 860px;
}

.container--top {
  margin-top: var(--spacer);
}

.section {
  margin-bottom: calc(var(--spacer)*2.5);
  padding-top: var(--spacer);
  position: relative;
/*  z-index: 1;*/
}

.mb-50 {
  margin-bottom: 50px !important;
}

.section-border-bottom:after {
  content: '';
  display: block;
  height: 132px;
  width: 100%;
  background: url(../assets//images/border_bottom.png) left top no-repeat;
  background-size: cover;
  left: 0;
  bottom: -95px;
  position: absolute;
  z-index: 10;
}

.section-border-top:before {
  content: '';
  display: block;
  height: 61px;
  width: 100%;
  background: url(../assets//images/border_top.png) left bottom no-repeat;
  background-size: cover;
  left: 0;
  top: -10px;
  position: absolute;
  z-index: 10;
}

@media screen and (min-width: 992px) {
  .container--top {
    margin-top: -8vw;
  }

  .container--top-md {
    margin-top: -10vw;
  }

  .section-border-top:before {
    height: 6vw;
    top: -2vw;
  }

  .section-border-bottom:after {
    bottom: -5vw;
    height: 8vw;
  }
}

.p0 {
  padding: 0 !important;
}

.mt-0 {
  margin: 0 !important;
}

@media screen and (min-width: 992px) {
  .p-lg-1 {
    padding-left: calc(var(--spacer)*2) !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--second-font);
  font-weight: var(--base-font-weight);
  color: var(--color-dark);
  line-height: var(--line-height-heading);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  color: var(--color-green);
  font-weight: 400;
  margin: 0 0 calc(var(--spacer)/2);
}

h2 {
  font-size: var(--font-size-h2);
  margin: 0 0 calc(var(--spacer)*1.5);
}

h3 {
  font-size: var(--font-size-h3);
  margin: 0 0 calc(var(--spacer)/2);
}

h4 {
  font-size: var(--font-size-h4);
  margin: 0 0 calc(var(--spacer)/2);
  line-height: 1.25;
}

h5 {
  font-size: 1.25rem;
  margin: 0 0 calc(var(--spacer)/2);
  line-height: 1.25;
}

h6 {
  font-size: 1rem;
  margin: 0 0 calc(var(--spacer)/2);
  line-height: 1.25;
}

.heading {
  margin-bottom: calc(var(--spacer)*3);
}

.heading__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.heading__legend a {
  margin-left: 10px;
  margin-top: 5px;
}

.heading__legend .feather {
  width: 24px;
  height: 24px;
  stroke-width: 1px;
  stroke: var(--btn-color);
  fill: var(--color-dark);
}

.heading--sm h2 {
  font-size: 2.25rem;
}

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

.text-underline {
  text-decoration: underline !important;
}

.color-green {
  color: var(--color-green) !important;
}

.color-white {
  color: var(--color-white) !important;
}

.divider {
  background: var(--divider-color);
  opacity: .55;
  border: none;
  height: 1px;
  width: 100%;
  margin: 30px 0;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 3.5rem;
  }


  h2 {
    font-size: 2.5rem;
  }
}

/* Buttons */
.btn {
  height: 50px;
  padding: 0 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--btn-font-size);
  font-family: var(--btn-font-family);
  min-width: 154px;
  outline: 0 none;
  border: none;
  cursor: pointer;
}

.btn--sm {
  min-width: 125px;
}

.btn--lg {
 height: auto;
 min-height: 65px;
 font-size: 1.35rem;
}

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-color);
}

.btn--secondary {
  background: var(--color-green);
  color: var(--btn-color);
}

.btn--unavailable {
  background: var(--color-gray);
  color: var(--btn-color);
}

.btn--white {
  border: 1px solid var(--color-dark);
}

.button-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.button-middle:not(.button-middle--wl):before,
.button-middle:not(.button-middle--wl):after {
  content: '';
  height: 1px;
  display: block;
  background: #C4C4C4;
  width: calc((100% - 260px)/2);
}

.button-middle--wl {
  justify-content: center;
}

.nav-link {
  color: var(--color-dark);
  font-family: var(--second-font);
  display: flex;
  align-items: center;
}

.nav-link--prev:before {
  content: '';
  display: block;
  background: url(../assets/images/arrow.svg);
  width: 47px;
  height: 17px;
  position: relative;
  top: 1px;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: right center;
  transform: rotate(180deg);
  right: auto;
  left: 0;
}

.nav-link--next {
  text-align: right;
  justify-content: flex-end;
}

.nav-link--next:after {
  content: '';
  display: block;
  background: url(../assets/images/arrow.svg);
  width: 47px;
  height: 17px;
  position: relative;
  top: 1px;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: right center;
}

/* Icons */
.feather {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Grid  */
[class*="col-"]{
  width: 100%;
}

.col-4 {
 flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-8 {
  flex: 0 0 66.666666%;
  max-width: 66.666666%;
}

.col {
  padding-left: calc(var(--grid-gutter-width)/2);
  padding-right: calc(var(--grid-gutter-width)/2);
}

.row {
  margin-left: calc(-1*var(--grid-gutter-width)/2);
  margin-right: calc(-1*var(--grid-gutter-width)/2);
}

.w-100 {
  width: 100%;
}

.h-50 {
  height: 50%;
}

.caption-box {
  background: url(../assets/images/caption_pattern.svg) no-repeat right bottom var(--color-dark);
  margin: var(--grid-gutter-width) auto;
  color: var(--btn-color);
  padding: 25px;
  font-size: var(--base-font-size);
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.caption-box:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  width: 0;
  bottom: -6px;
  margin: 0 auto;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 6px solid var(--color-dark);
}

@media screen and (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
    
  .col-md-5 {
    flex: 0 0 41.333333%;
    max-width: 41.333333%;
  }

  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-7 {
    flex: 0 0 58.33%;
    max-width: 58.33%;
  }

  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .row-md {
    margin-left: calc(-1*var(--grid-gutter-width)/2);
    margin-right: calc(-1*var(--grid-gutter-width)/2);
  }

  .h-md-50 {
    height: 50%;
  }

  .column-2-lg {
    columns: 2;
    column-gap: calc(var(--spacer)*2);
  }
}

@media screen and (min-width: 992px) {
  .col-lg-3 {
    flex: 0 0 24.999999%;
    max-width: 24.999999%;
  }

  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 41.333333%;
    max-width: 41.333333%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-lg-8 {
    flex: 0 0 66.666666%;
    max-width: 66.666666%;
  }

  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .order-lg-1 {
    order: -1;
  }

  .row-lg {
    margin-left: calc(-1*var(--grid-gutter-width)/2);
    margin-right: calc(-1*var(--grid-gutter-width)/2);
  }
}

@media (min-width: 1200px) {
  .col-xl-3 {
    flex: 0 0 24.999999%;
    max-width: 24.999999%;
  }

  .col-xl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-xl-5 {
    flex: 0 0 41.333333%;
    max-width: 41.333333%;
  }

  .col-xl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-xl-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-xl-8 {
    flex: 0 0 66.666666%;
    max-width: 66.666666%;
  }

  .col-xl-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .order-xl-1 {
    order: -1;
  }

  .row-xl {
    margin-left: calc(-1*var(--grid-gutter-width)/2);
    margin-right: calc(-1*var(--grid-gutter-width)/2);
  }
}

.grid-row-equal {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

/* Image square */
.image-square {
  display: block;
  position: relative;
  overflow: hidden;
  height: 0;
  padding-top: 100%;
}

.image-landscape {
  display: block;
  position: relative;
  overflow: hidden;
  height: 0;
  padding-top: 50%;
}

.image-square img,
.image-landscape img {
  position: absolute;
  display: block;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  object-fit: cover;
}

/* Form */
.form-control {
  font-family: var(--base-font-family);
  font-size: 1rem;
  line-height: 1;
  height: 50px;
  padding: 0 1rem;
  color: rgba(0,0,0,.5);
  font-weight: 700;
  border-radius: 0;
  -webkit-appearance: none;
  border: 1px solid transparent;
}

.form-control:focus {
  outline: none;
}

.form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(0,0,0,.5);
}

.form-control::-moz-placeholder { /* Firefox 19+ */
  color: rgba(0,0,0,.5);
}

.form-control:-ms-input-placeholder { /* IE 10+ */
  color: rgba(0,0,0,.5);
}

.form-control:-moz-placeholder { /* Firefox 18- */
  color: rgba(0,0,0,.5);
}

.form-control:focus::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(0,0,0,.5);
}

.form-control:focus::-moz-placeholder { /* Firefox 19+ */
  color: rgba(0,0,0,.5);
}

.form-control:focus:-ms-input-placeholder { /* IE 10+ */
  color: rgba(0,0,0,.5);
}

.form-control:focus:-moz-placeholder { /* Firefox 18- */
  color: rgba(0,0,0,.5);
}

.form-row {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-gap: 20px;
}

.error {
  color: var(--error-color);
}

/* Cookie Box */
.cookies-box {
  position: fixed;
  right: 0;
  width: 100%;
  bottom: 0;
  background: #ffffff;
  z-index: 100;
  box-shadow: 0 0 45px 0 5px 10px rgba(183, 156, 125, 0.15);
  color: #0B3847;
  font-size: 0.875rem;
  padding: var(--spacer) calc(var(--spacer)*2) var(--spacer) var(--spacer);
}

.cookies-box p {
  margin-bottom: 0;
}

.cookies-box__remove .feather {
  stroke: #9FC968;
  stroke-width: 2px;
  position: absolute;
  right: 0.5rem;
  top: 1rem;
}

/*============================================================================
 2.Header & Navigation
==============================================================================*/
.header {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 10;
}

.site-name {
  max-width: 116px;
  margin: 0;
}

.header__top {
  padding: 20px 0;
  position: relative;
}

.navbar-left {
  list-style: none;
  padding: 0 38px;
  margin: 0;
}

.navbar-left li {
  margin-right: 15px;
}

.navbar-left li:last-child {
  margin: 0;
}

.header__top a,
.nav .navbar-left a {
  color: var(--color-white);
}

.header__top .feather,
.nav .navbar-left .feather {
  stroke: var(--color-white);
}

.navbar-cart {
  position: relative;
  margin-left: 10px;
}

.navbar-cart a {
  display: block;
}

.cart-count {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #0D0B0B;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  top: -12px;
  right: -10px;
}

.toggle-menu,
.close-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 30px;
  z-index: 102;
  margin-left: 15px;
  padding: 0;
  border: none;
  background: none;
}

.toggle-menu:before,
.toggle-menu:after,
.close-menu:before,
.close-menu:after {
  content: '';
  display: block;
  width: 100%;
  background: var(--color-white);
  height: 2px;
  position: relative;
}

.toggle-menu span {
  display: block;
  width: 100%;
  background: var(--color-white);
  height: 2px;
}

.close-menu:before {
  transform: rotate(45deg);
  top: 10px;
}

.close-menu:after {
  top: -8px;
  transform: rotate(-45deg);
}

.close-menu {
  margin-left: auto;
  margin-right: 38px;
}

/* Navigation */
.navigation {
  list-style: none;
  text-align: right;
  margin: 30px 0;
  padding: 0;
}

.navigation .menu-item {
  margin-bottom: var(--spacer);
}

.navigation .menu-item a {
  display: block;
  font-size: 1.25rem;
  color: var(--color-light);
  font-family: var(--second-font);
  padding: 0 38px;
}

.nav {
  position: fixed;
  background: var(--color-dark);
  max-width: 300px;
  width: 100%;
  visibility: hidden;
  transition: all .45s cubic-bezier(.455,.03,.515,.955);
  height: calc(100vh - calc(100vh - 100%));
  text-align: center;
  top: 0;
  right: 0;
  z-index: 1001;
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(100%);
}

.resize-animation-stopper .nav {
  transition: none;
}

.dropdown-collapse.nav {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.nav-wrapper {
  height: 100%;
  min-height: 100%;
  width: calc(100% + 18px);
  overflow-y: scroll;
}

@media screen and (min-width: 768px) {
  .toggle-menu {
    display: none;
  }

  .nav {
    transform: none;
    visibility: visible;
    position: relative;
    opacity: 1;
    background: transparent;
    height: auto;
    width: 100%;
    top: 0;
    max-width: none;
    left: 0;
    padding: 0;
    overflow: visible;
  }

  .navigation {
    margin: 0;
  }

  .navigation .menu-item {
    margin: 0;
  }

  .navigation .menu-item a {
    padding: 0 16px;
    position: relative;
  }

  .navigation .menu-item a:after {
    content: '';
    position: absolute;
    bottom: -12px;
    background: var(--color-green);
    width: 64px;
    height: 2px;
    left: 50%;
    margin-left: -32px;
    opacity: 0;
    transition: all .3s;
  }

  .navigation .menu-item.current-menu-item:after {
    opacity: 1;
  }

  .navigation .menu-item a:hover:after {
    opacity: 1;
  }

  .nav-wrapper {
    min-height: 1px;
    overflow: visible;
    height: auto;
    width: 100%;
  }

  .site-name {
    position: absolute;
    left: 50%;
    margin-left: -58px;
    top: 50%;
    margin-top: -37px;
  }

  .navbar-left {
    padding: 0;
  }

  .header__top {
    padding: 20px 0 20px;
    margin: 50px 0 33px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .navigation .menu-item a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: var(--base-font-size);
  }
}

/*============================================================================
 3.Footer
==============================================================================*/
.footer {
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark);
  padding-top: 20%;
  padding-bottom: 30px;
}

.footer--home {
  padding-top: 30%;
}

.footer-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: lighten;
  opacity: .2;
  top: 0;
  left: 0;
}

.footer:before {
  content: '';
  height: 132px;
  width: 105%;
  background: url(../assets//images/border_bottom_1.png) left top no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: -60px;
  transform: rotateY(180deg) rotate(2deg);
}

.footer-logo {
  max-width: 116px;
  display: block;
  margin: 0 auto;
}

.footer__nav {
  list-style: none;
  padding: 0;
  column-count: 2;
  column-gap: 20px;
  margin: 30px 0;
}

.footer__nav .menu-item a {
  font-size: 1.25rem;
  color: var(--color-light);
  font-family: var(--second-font);
}

.footer-divider {
  background: var(--bg-body);
  opacity: .25;
  border: none;
  height: 1px;
  width: 100%;
  margin: 30px 0;
}

.logo-wm-product {
  background: var(--color-white);
}

.footer__second-nav a {
  color: var(--btn-color);
  display: block;
}

.footer__logos {
  margin-top: 20px;
}

.footer__logos img {
  height: 64px;
  width: auto;
  margin-right: 25px;
}

.footer-bottom {
  padding: 20px 0;
  background: var(--color-white);
}

 .footer-bottom a {
  flex: 1;
  padding: 0 5px;
 }

.footer-bottom .container {
  max-width: 900px;
}

.form-newsletter {
  width: 100%;
  max-width: 350px;
}

.form-newsletter h6 {
  color: var(--color-light);
}

.form-newsletter .form-control {
  width: 100%;
  padding-right: 60px;
  height: 40px;
}

.form-group--submit .btn-newsletter {
  position: absolute;
  right: 0;
  padding: 0;
  height: 40px;
  width: 100px;
  top: 0;
  min-width: 1px;
/*  font-size: var(--font-size-sm);*/
}

.form-newsletter .form-group-checkbox * {
  color: var(--color-light);
}

.form-newsletter .form-group-checkbox {
  padding-left: var(--grid-gutter-width);
}

.form-newsletter .form-group-checkbox label {
  color: var(--color-light);
}

.form-newsletter .form-group-checkbox label a {
  text-decoration: underline;
}

.form-group--submit .btn-newsletter svg {
  stroke: var(--color-dark);
}

.form-newsletter .form-group-checkbox input[type="checkbox"] ~ label:before {
  border-color: var(--color-light);
  width: 15px;
  height: 15px;
  top: 0;
}

.form-newsletter .form-group-checkbox input[type="checkbox"]:checked ~ label:before {
  background: var(--color-light);
}

.form-newsletter .form-group-checkbox input[type="checkbox"]:checked ~ label:after {
  border-left-color: var(--color-dark);
  border-bottom-color: var(--color-dark);
  left: -27px;
}

@media screen and (min-width: 768px) {
  .footer {
    padding-top: 9%;
  }

  .footer--home {
    padding-top: 17.5%;
  }

  .footer__nav {
    display: flex;
    align-items: center;
    column-gap: 0;
  }

  .footer-divider {
    margin-top: 45px;
  }

  .footer-bottom {
    padding: 10px 0;
  }

  .footer-bottom a {
    padding: 0 30px;
  }

  .footer-logo {
    margin: 0;
  }

  .footer__logos {
    order: -1;
    margin: 0;
  }

  .footer__second-nav a {
    margin-left: 40px;
  }
}

@media screen and (min-width: 992px) {
  .footer__nav .menu-item {
    margin-left: 30px;
  }

/*  .footer__top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
*/
  .form-newsletter {
    margin-left: auto;
    order: -1;
    margin-top: 40px;
  }
}

/*============================================================================
 4.Components
==============================================================================*/

/* Box with image and copy */
.bg-light {
  background: var(--bg-body);
}

.col-media {
  margin-bottom: calc(var(--spacer)*2);
}

.col-media img {
  width: 100%;
}

.video-link {
  font-size: 1rem;
  display: block;
  color: var(--color-dark);
  display: flex;
  align-items: center;
}

.video-link .feather {
  fill: var(--color-dark);
  width: 15px;
  height: 15px;
  position: relative;
  top: -1px;
  margin-right: .5rem;
}

.container--top .box-w-media {
  position: relative;
  z-index: 1;
}

.box-w-media {
  margin-bottom: calc(var(--spacer)*2);
}

.box-w-media .btn {
  margin-bottom: var(--spacer);
}

.col-copy__w-icon {
  position: relative;
  display: inline-block;
}

.col-copy__w-icon img {
  mix-blend-mode: multiply;
  opacity: .75;
  position: absolute;
  top: -100px;
  left: 40px;
  min-width: 150px;
  max-height: 150px;
  display: none;
}

@media screen and (min-width: 992px) {
  .col-copy {
    padding: 40px 50px;
    margin-left: -15%;
    margin-top: 158px;
  }

  .col-media {
    z-index: -1;
  }

  .col-copy__w-icon img {
    display: block;
  }

  .col-copy-sm {
    margin-left: -8%;
    margin-top: 115px;
    padding-right: 17%;
  }

  .order-lg-1.col-copy {
    margin-left: 0;
    margin-right: -8%;
    padding-left: 0;
    padding-right: 8%;
  }
}

/* Card */
.card {
  flex: 1;
  margin-bottom: 1.5rem;
}

.news-item .event-content {
  width: calc(100% - 30px);
  margin-left: 30px;
  margin-top: -70px;
  margin-bottom: 0;
  padding: 25px;
  z-index: 1;
  position: relative;
  background: var(--bg-body);
}

.card-left {
  width: 65px;
  height: 90px;
  min-width: 65px;
  background: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #E5E1DB;
  color: var(--btn-color);
  font-family: var(--second-font);
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
}

.card-left span {
  display: block;
  font-size: 1.25rem;
}

.card-copy {
  padding-left: calc(var(--spacer)*1.5);
  padding-right: calc(var(--spacer)*1.5);
}

.card-copy-home {
  padding-left: var(--spacer);
  padding-right: 0;
}

.card-copy-home .event-title {
    -webkit-line-clamp: 5;
}

.card-copy time {
  display: block;
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  margin: .35rem 0;
}

.card-copy p {
  margin: 14px 0 18px;
}

.card-copy .btn {
  margin-top: 10px;
}

.event-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

h4.event-title {
  font-size: 1.25rem;
}


.event-title a {
  color: inherit;
}

/*============================================================================
 5.Top Bar
==============================================================================*/
.top-bar {
  height: 48px;
  background: var(--color-white);
  z-index: 1;
  position: relative;
}

.top-bar .container {
  height: 100%;
}

.link-ue {
  height: 42px;
}

.link-ue img {
  height: 100%;
}

/* Dropdown */
.dropdown-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 105;
}

.dropdown-wrapper:before {
  content: '';
  display: block;
  height: 20px;
  width: 2px;
  background: var(--bg-body);
  margin: 0 1rem 0 0.66667rem;
}

.dropdown-wrapper.dropdown-open .dropdown-toggle:after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.dropdown-toggle {
  /*width: 30px;*/
  height: 25px;
  line-height: 1;
  display: flex;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--color-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dropdown-toggle:after {
  content: '';
  padding: 2px;
  margin-top: 1px;
  margin-left: 0.25rem;
  border: solid var(--color-dark);
  border-width: 0 1px 1px 0;
  display: inline-block;
  transform: rotate(45deg);
  transition: all .3s ease-in-out;
}

.dropdown-toggle span {
  margin-top: 2px;
  font-weight: 600;
}

.dropdown-toggle:hover {
  color: inherit;
}

.dropdown-menu {
  position: absolute;
  left: 10px;
  text-transform: uppercase;
  top: calc(100% + 10px);
  background: var(--color-white);
  width: 90px;
  font-size: var(--font-size-sm);
  color: var(--color-dark);
  letter-spacing: 1px;
  display: none;
  z-index: 101;
}

.dropdown-menu-toggle {
  padding: 0.25rem 0 .5rem 1.2rem;
  display: flex;
  align-items: center;
  color: var(--color-dark);
  transition: all 0.55s cubic-bezier(0, 0.3, 0, 1);
}

.dropdown-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown-languages img {
  width: auto;
  height: 24px;
  margin-right: 0.5rem;
}

/*============================================================================
 6.Hero
==============================================================================*/
.hero {
  background-color: var(--color-dark);
  position: relative;
  min-height: 550px;
  height: 55vh;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero--md {
  height: 80vh;
}

.hero:after {
  content: '';
  height: 132px;
  width: 105%;
  background: url(../assets//images/border_bottom.png) left top no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  bottom: -75px;
  transform: rotateY(180deg) rotate(3deg);
}

@media screen and (min-width: 992px) {
  .hero:after {
    height: 8vw;
    bottom: -3vw;
  }

  .hero {
    min-height: 550px;
  }

  .hero:not(.hero--md) {
    padding-top: 70px;
  }

  .hero--md .hero__copy {
    padding-bottom: 83px;
    padding-top: 83px;
  }
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: lighten;
/*  opacity: .1;*/
  opacity: .5;
  top: 0;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__copy h1 {
  margin: 0;
}

.hero__copy p {
  color: var(--color-light-1);
  font-size: 1.75rem;
  font-family: var(--second-font);
  margin: 0;
}

/*============================================================================
 7.Sidebar
==============================================================================*/
.sidebar .col {
  padding-left: calc(var(--grid-gutter-width)/4);
  padding-right: calc(var(--grid-gutter-width)/4);
}

.sidebar .row {
  margin-left: calc(-1*var(--grid-gutter-width)/4);
  margin-right: calc(-1*var(--grid-gutter-width)/4);
}

.widget {
  margin-bottom: calc(var(--spacer)*1.5);
}

.widget__title {
  position: relative;
  margin-bottom: 1.5rem;
}

.widget__title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.widget__title a:after {
  content: '';
  display: block;
  background: url('../assets/images/arrow.svg');
  width: 47px;
  height: 17px;
  position: relative;
  top: 1px;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: right center;
}

.widget-list h5 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.widget-item {
  margin-bottom: calc(var(--grid-gutter-width)/2);
}

.widget-list__item {
  margin-bottom: calc(var(--spacer)/2);
}

.widget-list__item img {
  width: 84px;
  height: 84px;
  margin-right: 24px;
  object-fit: cover;
}

.form-search {
  position: relative;
  margin-bottom: 34px;
}

.form-search .form-control {
  border: 1px solid #C7C4C0;
  width: 100%;
  padding-right: 65px;
  background: var(--color-light);
}

.form-search .form-control:focus {
  border-color: var(--color-dark);
}

.btn-search {
  padding: 0;
  background: none;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  height: 50px;
  width: 60px;
}

.btn-search .feather {
  width: 17px;
  height: 17px;
}

@media screen and (min-width: 1200px) {
  .sidebar {
    margin-top: calc(var(--spacer)*2);
    flex: 0 0 28%;
    max-width: 28%;
  }
}


/*============================================================================
 8.Index
==============================================================================*/
.section-events {
  margin-bottom: calc(var(--spacer)*2);
}

/* Gallery  */
.gallery-section .swiper-gallery .swiper-wrapper {
  height: auto;
}

.gallery-section img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

@media screen and (min-width: 1300px) {
  .gallery-section img {
    height: 320px;
  }
}

@media screen and (min-width: 2000px) {
  .gallery-section img {
    height: 450px;
  }
}

/* News */
.news-item {
  margin-bottom: calc(var(--spacer)*2);
}

@media screen and (max-width: 991px) {
  .news-item {
    margin-bottom: calc(var(--spacer)*2);
  }
}

.news-item .event-content {
  width: calc(100% - 30px);
  margin-left: 30px;
  margin-top: -70px;
  padding: 25px;
  z-index: 1;
  position: relative;
  background: var(--bg-body);
}

/* Instagram */
.instagram-grid .col-md-12,
.instagram-grid .col-6 {
  margin-bottom: 30px;
}

.instagram-grid {
  position: relative;
  z-index: 10;
  margin-bottom: -35%;
}

@media screen and (min-width: 768px) {
  .instagram-grid {
    margin-bottom: -20%;
  }
}

/*============================================================================
 9.News
==============================================================================*/
.news-list .news-item {
  margin-bottom: var(--spacer);
}

.pagination {
  margin: 2rem auto;
}

.page-number,
.pagination-prev,
.pagination-next {
  margin: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-family: var(--second-font);
  background: var(--color-gray);
  color: var(--btn-color);
}

.page-number.current {
  background: var(--color-dark);
}

@media screen and (min-width: 768px) {
  .pagination {
    margin-top: 3.5rem;
    margin-bottom: 1rem;
  }

  .pagination:before,
  .pagination:after {
    content: '';
    flex: 1;
    height: 1px;
    display: block;
    background: #C4C4C4;
  }

  .pagination:before {
    margin-right: var(--spacer);
  }

  .pagination:after {
    margin-left: var(--spacer);
  }
}

@media screen and (min-width: 1200px) {
  .news-list,
  .post {
    flex: 0 0 72%;
    max-width: 72%;
  }
}

/*============================================================================
 10.Post
==============================================================================*/
img.alignnone {
  float: none;
}

img.alignleft {
  float: left;
  margin-bottom: 2rem;
}

img.alignright {
  float: right;
  margin-bottom: 2rem;
}

img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 768px) {
  img.alignleft {
    width: 40%;
    margin-right: 2rem;
  }

  img.alignright {
    width: 40%;
    margin-left: 2rem;
  }

  img.aligncenter {
    width: 50%;
  }
}

.post__header {
  margin-bottom: calc(var(--spacer)*1.5);
}

.post__header img {
  width: 100%;
  margin-bottom: var(--spacer);
}

.post__header time {
  font-family: var(--second-font);
  display: block;
  font-weight: var(--font-weight-bold);
  margin: .35rem 0 var(--spacer);
}

.post__header h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-top: 0;
  color: var(--color-dark);
}

.post__content blockquote {
  margin: calc(var(--spacer)*2) 0;
  padding-left: 80px;
  position: relative;
}

.post__content blockquote p {
  margin-bottom: calc(var(--spacer)/2);
}

.post__content blockquote:before {
  content: '';
  font-size: 5rem;
  font-family: var(--second-font);
  background: url('../assets/images/quote.svg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 55px;
  width: 55px;
  min-width: 55px;
  height: 50px;
  position: absolute;
  left: 10px;
  top: -20px;
}

.post__content .responsive-media {
  padding-bottom: 55%;
}

@media screen and (min-width: 992px) {
  .post__header h1 {
    font-size: 2.7rem;
  }
}

.gallery-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-left: -3px;
  margin-right: -3px;
}

.gallery-item {
  flex: 0 0 50%;
  max-width: 50%;
  width: 100%;
  padding-left: 3px;
  padding-right: 3px;
  margin-bottom: 6px;
  display: block;
  position: relative;
}

.fancybox-btn img {
  position: absolute;
  left: 0;
  top: 0;
}

@media screen and (min-width: 768px) {
  .gallery-item {
    flex: 0 0 25%;
    max-width: 25%;
    width: 25%;
  }

  .post {
    margin-top: calc(var(--spacer)*2);
  }
}

/*============================================================================
 11.Contact
==============================================================================*/
.contact-row {
  margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
  .contact-row {
    margin-bottom: 3rem;
  }
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item span {
  display: block;
}

.contact-item .card-copy {
  padding-top: 8px;
  padding-bottom: 8px;
}

.contact-adr,
.contact-name,
.contact-phone,
.contact-email {
  font-family: var(--second-font);
  font-size: 1.5rem;
  line-height: 1.2;
}

.contact-item a {
  color: var(--color-dark);
}

.small-caption {
  font-size: 1rem;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

/* Contact form */
.contact-box {
  margin-bottom: 60px;
}

.responsive-media {
  position: relative;
  padding-bottom: 50%;
  z-index: 1;
}

.responsive-media iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.contact-form {
  background: var(--color-white);
  margin: 0;
  position: relative;
  overflow: hidden;
}

.contact-form:before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  background: url('../assets/images/ico_1.svg');
  width: 161px;
  height: 137px;
  opacity: .2;
  transform: rotate(10deg);
}

.contact-form__header {
  padding: 40px 20px 20px;
}

.form-group label {
  font-weight: 700;
  font-family: var(--base-font-family);
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1;
}

.contact-form .form-group label {
  padding-left: 20px;
  white-space: nowrap;
  display: none;
}

.form-control {
  font-weight: 700;
  font-family: var(--base-font-family);
  font-size: 1rem;
  line-height: 1;
  height: 50px;
}

textarea.form-control {
  height: 150px;
  padding-top: 20px;
  resize: none;
}

.form-group-text label {
  align-self: flex-start;
  padding-top: 20px;
}

.form-group-text {
  border-bottom: 1px solid rgba(196,196,196, .5);
}

.form-group {
  position: relative;
}

.contact-form .form-group:not(.form-group-checkbox) {
  border-top: 1px solid rgba(196,196,196, .5);
  display: flex;
  align-items: center;
}

.form-group-checkbox input[type="checkbox"] {
  position: absolute;
  left: -9999px;
}

.form-group-checkbox {
  min-height: 20px;
  margin-top: 1.2rem;
  padding-left: 50px;
  padding-right: 20px;
}

.form-group-checkbox label {
  font-size: .875rem;
  font-weight: 400;
  padding: 0!important;
  display: block !important;
  white-space: normal !important;
  line-height: 1.2;
  position: relative;
}

.form-group-checkbox input[type="checkbox"] ~ label:before {
  content: '';
  width: 20px;
  height: 20px;
  z-index: 10;
  position: absolute;
  top: -3px;
  left: -30px;
  border: 1px solid var(--color-dark);
  background: none;
  outline: 0 none;
}

.form-group-checkbox input[type="checkbox"]:checked ~ label:before {
  background: var(--color-dark);
}

.form-group-checkbox input[type="checkbox"]:checked ~ label:after {
  content: '';
  position: absolute;
  top: 3px;
  left: -24px;
  width: 6px;
  height: 2px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  display: block;
  padding: 2px;
  z-index: 10;
  transform: rotate(-45deg);
}

.contact-form .btn {
  margin: 20px;
}

@media screen and (min-width: 768px) {
  .contact-box {
    display: flex;
  }

  .contact-map,
  .contact-form {
    flex: 1;
  }
}

@media screen and (max-width: 991px) {
  .contact-form h3 {
    font-size: 1.75rem;
  }
}

@media screen and (min-width: 991px) {
  .contact-form .form-group:not(.form-group-checkbox) label {
    padding-left: 40px;
    display: block;
    width: 100%;
    flex: 0 0 190px;
    max-width: 190px;
  }

  .form-group-checkbox {
    padding-left: 70px;
  }

  .contact-form .form-group .form-control {
    flex: 0 0 calc(100% - 190px);
    max-width: calc(100% - 190px);
    width: 100%;
  }

  .contact-form .btn {
    margin: 30px 40px;
  }

  .contact-form__header {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/*============================================================================
 12. Offers
==============================================================================*/
.bg-offers {
  margin: 0 auto;
  position: relative;
}

.offer-item {
  padding-top: 20px;
  padding-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid var(--divider-color);
  position: relative;
  display: block;
}

.offer-item:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: var(--divider-color);
  box-shadow: inset 0 0 0 6px var(--bg-body);
  border: 1px solid var(--divider-color);
  width: 23px;
  height: 23px;
  display: block;
  border-radius: 100%;
  bottom: -12px;
}

.offer-item:last-child {
  border-bottom: none;
}

.offer-item:last-child:after {
  content: none;
}

.offer-item img {
  mix-blend-mode: multiply;
  max-width: 100%;
  max-height: 80px;
  margin: 10px auto;
}

.offer-item p {
  opacity: .5;
  font-size: .875rem;
  max-width: 250px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .offer-item {
    border-right: 1px solid var(--divider-color);
  }

  .offer-item:nth-child(even) {
    border-right: none;
  }

  .offer-item:nth-child(2n-1):before,
  .offer-item:nth-child(even):before {
    content: '';
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    width: 34px;
    height: 24px;
    z-index: 10;
  }

  .offer-item:nth-child(2n-1):before {
    left: -20px;
    bottom: -13px;
    background: url(../assets/images/ico_7.svg);
  }

  .offer-item:nth-child(even):before {
    background: url(../assets/images/ico_8.svg);
    left: auto;
    right: -20px;
    bottom: -13px;
  }

  .offer-item:nth-last-child(2) {
    border-bottom: none;
  }

  .offer-item:nth-last-child(2):after,
  .offer-item:nth-last-child(2):before,
  .offer-item:last-child:before  {
    content: none;
  }
}

@media screen and (min-width: 992px) {
  .offer-item {
    border-right: 1px solid var(--divider-color);
  }

  .offer-item:nth-child(3n) {
    border-right: none;
  }

  .offer-item:nth-child(3n):after {
    content: none;
  }

  .offer-item:after {
    left: auto;
    right: -12px;
    z-index: 10;
  }

  .offer-item:first-child:before {
    content: '';
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    width: 34px;
    height: 25px;
    z-index: 10;
    left: -20px;
    bottom: -13px;
    background: url(../assets/images/ico_7.svg);
  }


  .offer-item:nth-child(3):before {
    content: '';
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    width: 34px;
    height: 25px;
    z-index: 10;
    right: -20px;
    bottom: -14px;
    background: url(../assets/images/ico_8.svg);
  }

  .offer-item:nth-last-child(2),
  .offer-item:nth-last-child(3) {
    border-bottom: none;
  }

  .offer-item:nth-last-child(2):after,
  .offer-item:nth-last-child(3):after {
    content: none;
  }
}

/* Single offer */
.single-panel__content {
  display: none;
}

.single-panel__content a {
  color: inherit;
}

.single-offer .box-w-media {
  margin-bottom: 0;
}

.single-offer__blockquote {
  font-size: 2rem;
  font-family: var(--second-font);
  margin: 0 auto 20px;
  max-width: 640px;
  position: relative;
}

.single-offer__blockquote--sm {
  max-width: 750px;
}

.single-offer__blockquote:after {
  content: '';
  display: block;
  margin: 24px auto 39px;
  width: 96px;
  height: 36px;
  background: url(../assets/images/blockquote-line.svg);
}

.single-offer-heading__timeline {
  text-align: center;
  position: relative;
  margin-bottom: 25px;
}

.single-offer-heading__timeline:before {
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
  background: var(--color-dark);
}

.single-offer-heading__timeline span {
  display: block;
  border-radius: 100%;
  z-index: 2;
  position: relative;
}

.single-offer-heading__thumb {
  width: 45px;
  height: 45px;
  background-image: url(../assets/images/gallery/marta.png);
  background-position: center;
  box-shadow: inset 0 0 0 5px var(--bg-body);
  border: 1px solid var(--color-dark);
  margin: 0 auto 30px;
}

.single-offer-heading__timeline span:not(.single-offer-heading__thumb) {
  background: var(--color-dark);
  box-shadow: inset 0 0 0 6px var(--bg-body);
  border: 1px solid var(--color-dark);
  width: 23px;
  height: 23px;
  margin: 0 auto;
}

.single-offer .heading .small-caption {
  margin-top: 20px;
}

/* Single offers list */
.single-offer-list {
  margin-bottom: 40px;
}

.single-offer-list ul {
  margin: 0;
  list-style: none;
  padding: 0;
}

.single-offer-list ul li {
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid var(--divider-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-offer-list ul li:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: var(--divider-color);
  box-shadow: inset 0 0 0 6px var(--bg-body);
  border: 1px solid var(--divider-color);
  width: 23px;
  height: 23px;
  display: block;
  border-radius: 100%;
  bottom: -12px;
}

.single-offer-list__item h5 {
  margin: 20px auto;
}

.single-offer-list__item img {
  mix-blend-mode: multiply;
  max-width: 100%;
  max-height: 120px;
  margin: 10px auto;
}

.single-offer-list ul:last-of-type li:last-child {
  border-bottom: none;
}

.single-offer-list ul:last-child li:last-child:before {
  content: none;
}

@media (min-width: 768px) {
  .single-offer-list ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }

  .single-offer-list ul:last-of-type li:nth-last-child(2) {
    border-bottom: none;
  }

  .single-offer-list ul:last-of-type li:nth-last-child(2):before {
    content: none;
  }

  .single-offer-list ul li {
    border-right: 1px solid var(--divider-color);
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .single-offer-list {
    padding: 0 var(--grid-gutter-width-mobile);
  }

  .single-offer-list ul li:nth-child(even) {
    border-right: none;
  }

  .single-offer-list ul li:nth-child(2n-1):after, .single-offer-list ul li:nth-child(even):after {
    content: '';
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    width: 34px;
    height: 24px;
    z-index: 10;
  }

  .single-offer-list ul li:nth-child(2n-1):after {
    left: -20px;
    bottom: -12px;
    background: url(../assets/images/ico_7.svg);
  }

  .single-offer-list ul li:nth-child(even):after {
    background: url(../assets/images/ico_8.svg);
    left: auto;
    right: -20px;
    bottom: -13px;
  }

   .single-offer-list ul:last-of-type li:last-child:after,
   .single-offer-list ul:last-of-type li:nth-last-child(2):after  {
      content: none;
   }
}

@media (min-width: 992px) {
  .single-offer-list ul {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }

  .single-offer-list ul li {
    padding: 20px 25px;
  }

  .single-offer-list ul:last-of-type {
    border: none;
  }

  .single-offer-list ul:last-of-type li {
    border-bottom: none;
  }

  .single-offer-list ul li:last-child {
    border-right: none;
   }

  .single-offer-list ul:last-of-type li:before {
    content: none;
  }

  .single-offer-list ul li:first-child:after,
  .single-offer-list ul li:last-child:after {
    content: '';
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    width: 34px;
    height: 24px;
    z-index: 10;
  }

  .single-offer-list ul li:first-child:after {
    left: -20px;
    bottom: -12px;
    background: url(../assets/images/ico_7.svg);
  }

  .single-offer-list ul li:last-child:after {
    background: url(../assets/images/ico_8.svg);
    left: auto;
    right: -20px;
    bottom: -13px;
  }

  .single-offer-list ul:last-of-type li:first-child:after,
  .single-offer-list ul:last-of-type li:last-child:after {
    content: none;
  }

  .single-offer-list ul li a {
    position: relative;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
  }

  .single-offer-list ul li a * {
    position: relative;
    z-index: 1;
  }

  .single-offer-list ul li a:not(.single-offer-list__item--img):after {
    content: '';
    position: absolute;
    background: url(../assets/images/offer_hover.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: auto;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .3s;
  }

  .single-offer-list ul li a:hover:after {
    opacity: 1;
  }
}

/* Popup offer */
.popup {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: none;
  overflow: hidden;
  position: fixed;
  background: var(--color-white);
  z-index: 100;
}

.popup__inner {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.popup__body {
  overflow: hidden;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.popup__container {
  -webkit-backface-visibility: hidden;
  height: 100%;
  left: 0;
  overflow: auto;
  position: absolute;
  top: 0;
  width: 100%;
}

.popup__content {
  max-width: 100%;
  position: relative;
  overflow: auto;
  z-index: 1000;
  padding: var(--grid-gutter-width-mobile);
  opacity: 0;
}

.popup__content.show-content {
  opacity: 1;
}

.popup__button-close {
  padding: 0;
  outline: 0 none;
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 48px;
  z-index: 1001;
  cursor: pointer;
  border: none;
  background: var(--color-dark);
}

.popup__button-close svg {
  stroke: var(--color-white);
}


body.open-popup-offer {
  overflow: hidden;
}

.single-offer-gallery,
.single-offer-content {
  flex: 1;
  position: relative;
}

.single-offer-content__info .btn {
  white-space: nowrap;
}

.single-offer-content__info {
  background: var(--btn-color);
  font-size: var(--font-size-sm);
  padding: 25px 30px;
}

.price-info {
  margin-bottom: 0;
  opacity: 65%;
  margin-top: 17px;
  line-height: 1.55;
}

.offer-price-info {
  max-width: 320px;
  padding-right: 20px;
  font-size: var(--font-size-md);
  margin-bottom: 20px;
  line-height: 1.4;
}

.popup__bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--btn-color);
  z-index: 1000;
  padding: 20px var(--grid-gutter-width-mobile);
  display: flex;
  line-height: 1.1;
  justify-content: space-between;
  align-items: center;
}

.popup__bottom .nav-link {
  flex: 1;
  position: relative;
  display: block;
}

.popup__bottom .nav-link--next {
  padding-right: 60px;
}

.popup__bottom .nav-link--prev {
  padding-left: 55px;
}

.popup__bottom .nav-link--prev:before {
  left: 0;
  position: absolute;
  top: 50%;
  margin-top: -8px;
}

.popup__bottom .nav-link--next:after {
  right: 0;
  position: absolute;
  top: 50%;
  margin-top: -8px;
}

@media (max-width: 767px) {
  .popup__bottom .nav-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .single-offer-content__info .btn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .popup__bottom .nav-link {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  } 

  .popup__bottom .nav-link--next {
    padding-right: 55px;
    margin-left: auto;
  }

  .popup__bottom {
    position: fixed;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .popup__bottom:after {
    content: '';
    display: block;
    margin: 24px auto 39px;
    width: 70px;
    height: 36px;
    background: url(../assets/images/blockquote-line.svg);
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 50%;
    margin-top: -18px;
    background-size: 70px 36px;
  }

  .popup__content {
    padding-bottom: 110px;
  }

  .offer-price-info {
    margin-bottom: 0;
  }
/*
  .price-info {
    margin-top: 10px;
  }*/

  .single-offer-content__info .btn {
    min-width: 210px;
  }
}

/* Single offer gallery */
.single-offer-gallery {
  overflow: hidden;
  margin-bottom: 20px;
}

.single-offer-gallery-slider {
  overflow: hidden;
  margin-bottom: 15px;
  height: 60vh;
}

.single-offer-gallery-slider img {
  max-height: 100%;
}

.single-offer-thumbs {
  overflow: hidden;
}

.single-offer-thumbs .swiper-slide {
  width: 110px;
  height: 80px;
}

.single-offer-thumbs .swiper-slide img {
  width: 110px;
  height: 80px;
  object-fit: cover;
}

.single-offer-gallery-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .single-offer-gallery {
    height: calc(100% - 126px);
    min-height: calc(100% - 126px);
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 30px;
    margin-bottom: 0;
  }

/*  .single-offer-content__top-info {
    max-height: 50vh;
    height: 100%;
  }*/

  .single-offer-content {
    flex: 0 0 50%;
    left: 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    padding: 47px 15px 30px;
  }

  .single-offer-content h3 {
    margin-bottom: 30px;
  }

  .popup__content {
    padding: var(--grid-gutter-width-mobile) var(--grid-gutter-width-mobile) 96px var(--grid-gutter-width-mobile);
    min-height: 100%;
  }

  .popup__bottom {
    position: fixed;
    padding-left: 50px;
    padding-right: 50px;
    height: 96px;
  }

  .single-offer-content__info {
    margin-top: auto;
  }

  .single-offer-gallery-slider {
    margin-bottom: 0;
    height: calc(100vh - 256px);
  }

  .single-offer-thumbs {
    margin-top: 20px;
  }
}

/*.btn-collapse {
  display: flex;
  align-items: center;
  cursor: default;
  background: var(--color-dark);
  color: var(--bg-body);
  padding: var(--spacer);
  position: relative;
  margin: 20px 0;
}

.btn-collapse:after {
  content: '';
  display: block;
  background: url(../assets/images/arrow_light.svg);
  width: 47px;
  height: 17px;
  position: relative;
  top: 1px;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: right center;
}*/

.single-panel__content.collpase {
  display: block;
}

.offers-legend {
  margin-top: calc(var(--spacer)*2);
}

.offers-legend p {
  margin-bottom: 15px;
}

@media screen and (max-width: 767px) {
  .single-offer__blockquote {
    line-height: var(--line-height-heading);
  }
}

@media screen and (min-width: 768px) {
  .single-offer {
    margin-top: calc(var(--spacer)*2);
    margin-bottom: calc(var(--spacer)*5);
  }

  .single-panel__content {
    padding: calc(var(--spacer)*2);
  }

  .single-offer__blockquote {
    margin-top: 15px;
  }
}

.nav-bottom:not(.nav-bottom--container) {
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: -80px auto 0;
  position: relative;
  margin-bottom: 40px;
  max-width: 530px;
}

.nav-bottom > div {
  background: var(--bg-body);
  padding: 15px;
  width: 100%;
  box-shadow: 0px 24px 48px rgba(48, 40, 40, 0.15);
}

.nav-bottom--container div {
  background: var(--bg-body);
  padding: 15px;
  max-width: 100%;
  box-shadow: 0px 24px 48px rgba(48, 40, 40, 0.15);
  grid-gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container--nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -80px auto 0;
  position: relative;
  margin-bottom: 40px;
  z-index: 1;
}

@media screen and (max-width: 575px) {
  .nav-bottom .btn {
    width: 100%;
    margin-bottom: 15px;
  }

  .nav-bottom .btn:last-child {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 576px) {
  .nav-bottom .btn {
    flex: 1 0 auto;
    width: calc(50% - 7px);
    max-width: calc(50% - 7px);
  }

  .nav-bottom--container .btn {
    width: 100%;;
    max-width: 100%;
  }
}

@media screen and (min-width: 1500px) {
  .nav-bottom,
  .container--nav {
    margin-top: -100px;
  }
}

/*============================================================================
 13. About Us
==============================================================================*/
.about-us img {
  width: 100%;
}

.about-us__content h2 span,
.about-us__heading-mobile span {
  display: block;
  opacity: .5;
}

.about-us-links .btn {
  margin: 10px;
}

.about-us__img img {
  display: block;
  margin-bottom: 20px;
}

.about-us .button-middle {
  margin: 30px 0;
}

.about-us-link {
  font-size: 1rem;
  display: flex;
  align-items: center;
  font-family: var(--second-font);
}

.about-us-link--right {
  text-align: right;
}

.about-us-link:not(.about-us-link--left):after {
  content: '';
  display: block;
  background: url(../assets/images/arrow.svg);
  width: 47px;
  height: 17px;
  position: relative;
  top: 1px;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: right center;
}

.about-us-link--left:before {
  content: '';
  display: block;
  background: url(../assets/images/arrow.svg);
  width: 47px;
  height: 17px;
  position: relative;
  top: 1px;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: right center;
  transform: rotate(180deg);
  right: auto;
  left: 0;
}

/* Timeline */
.timeline-container {
  margin-top: 30px;
  overflow: hidden;
}

.timeline {
  padding-left: calc(var(--spacer)*2);
  position: relative;
  padding-right: var(--spacer);
  margin-top: 100px;
  margin-bottom: 50px;
}

.timeline:before {
  content: '';
  position: absolute;
  left: -60px;
  top: -80px;
  background: url(../assets/images/ico_2.svg);
  mix-blend-mode: multiply;
  width: 205px;
  height: 185px;
  opacity: .15;
  background-repeat: no-repeat;
}

.timeline:after {
  content: '';
  position: absolute;
  width: 1px;
  background: var(--color-dark);
  top: 0;
  bottom: 0;
  left: 40px;
}

.timeline__item {
  padding-left: 30px;
  position: relative;
  margin-bottom: 30px;
}

.timeline__item:not(.timeline__item--promo):before {
  content: '';
  position: absolute;
  left: -12px;
  top: 5px;
  background: var(--color-dark);
  box-shadow: inset 0 0 0 6px var(--bg-body);
  border: 1px solid var(--color-dark);
  width: 23px;
  height: 23px;
  display: block;
  border-radius: 100%;
  z-index: 2;
}

.timeline__item--promo:before {
  content: '';
  position: absolute;
  background-image: url(../assets/images/ico_9.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg-body);
  width: 34px;
  height: 34px;
  padding: 5px;
  border: 1px solid var(--color-dark);
  border-radius: 100%;
  z-index: 2;
  left: -23px;
}

.timeline__item:first-child:before {
  top: 0;
}

.timeline__item:last-child {
  padding-bottom: 50px;
}

.timeline--pawel .timeline__item:last-child:after {
  position: absolute;
  content: '';
  width: 39px;
  height: 39px;
  background-image: url(../assets/images/gallery/pawel_portrait.png);
  background-position: center;
  left: -19px;
  bottom: -16px;
  z-index: 2;
  box-shadow: inset 0 0 0 5px var(--bg-body);
  border: 1px solid var(--color-dark);
  border-radius: 100%;
}

.timeline--marta .timeline__item:last-child:after {
  position: absolute;
  content: '';
  width: 39px;
  height: 39px;
  background-image: url(../assets/images/gallery/marta.png);
  background-position: center;
  left: -19px;
  bottom: -16px;
  z-index: 2;
  box-shadow: inset 0 0 0 5px var(--bg-body);
  border: 1px solid var(--color-dark);
  border-radius: 100%;
}

@media screen and (min-width: 768px) {
  .about-us {
    margin-top: calc(var(--spacer)*2);
  } 
}

@media screen and (min-width: 992px) {
  .about-us__content h2 {
    font-size: 4.5rem;
    line-height: 1;
  }

  .about-us__content {
    padding-left: 60px;
  }

  .timeline-container {
    margin-top: 60px;
  }

  .timeline {
    padding-left: var(--spacer);
  }

  .timeline:after {
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .timeline:before {
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .timeline__item h4 {
    max-width: 420px;
  }

  .timeline__item p {
    max-width: 520px;
  }

  .timeline__item--left {
    text-align: right;
    width: 50%;
    left: 0;
    padding-right: 40px;
    padding-left: 0;
  }

  .timeline__item--left:not(.timeline__item--promo):before {
    right: -12px;
    left: auto;
  }

  .timeline__item--right {
    left: 50%;
    width: 50%;
    padding-left: 40px;
  }

  .timeline__item--left h4,
  .timeline__item--left p,
  .timeline__item--left a {
    margin-left: auto;
  }

  .timeline__item--left .about-us-link {
    justify-content: flex-end;
  }

  .timeline__item--left.timeline__item--promo:before {
    left: auto;
    right: -22px;
  }

  .timeline--marta .timeline__item:last-child:after {
    left: auto;
    right: -22px;
  }
}

/*============================================================================
 14. Collection/Product
==============================================================================*/
.link {
  font-size: 1rem;
  font-family: var(--second-font);
  margin-left: 20px;
}

/*.collection-gallery {
  margin-left: calc(var(--spacer)/(-2));
  margin-right: calc(var(--spacer)/(-2));
}

.collection-gallery-item {
  padding-left: calc(var(--spacer)/2);
  padding-right: calc(var(--spacer)/2);
}*/

.collection-gallery,
.collection-info__copy,
.collection-info {
  margin-bottom: calc(var(--spacer)*2);
}

.collection-gallery-item {
  padding-top: calc(var(--grid-gutter-width)/2);
  padding-bottom: calc(var(--grid-gutter-width)/2);
}

.collection-gallery-item .fancybox-btn img {
  position: relative;
}

.collection-info .heading {
  margin-bottom: var(--spacer);
}

.product-item {
  margin-bottom: var(--spacer);
}

.product-item__thumb {
  position: relative;
  margin-bottom: calc(var(--spacer)/2);
}

.product-item__price {
  position: absolute;
  background: var(--bg-body);
  right: 0;
  bottom: 0;
  padding: 10px;
  font-family: var(--second-font);
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 1.25rem;
}

.current-price {
  font-family: var(--second-font);
  font-size: 1.25rem;
  line-height: 1;
}

.collection-row {
  margin-bottom: var(--spacer);
}

.product__title {
  font-size: var(--font-size-h3);
  margin-bottom: calc(var(--spacer)/2);
}

.product {
  margin-bottom: calc(var(--spacer)/2);
}

.price {
  margin-bottom: var(--spacer);
}

.form-quantity {
  position: relative;
  border: 1px solid #C7C4C0;
  width: 100px;
  margin-right: var(--spacer);
}

.form-quantity .form-control {
  width: 100%;
  text-align: center;
  padding: 0 25px;
  font-family: var(--second-font);
}

.quantity-control-group {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #C7C4C0;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 25px;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Panel */
.panel-wrapper {
  margin-bottom: calc(var(--spacer)*2);
}

.panel-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel {
  margin-bottom: 10px;
}

.panel-content {
  padding: 10px;
  background: var(--color-white);
}

.panel-toggle {
  background: var(--color-white);
  font-family: var(--second-font);
  padding: 10px;
  width: 100%;
  display: block;
}

.panel-content {
  display: none;
}

.panel-content.panel-active {
  display: block;
}

.product-specifications {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-specifications li:last-child {
  margin-bottom: 0;
}

.collection-name {
  background: var(--color-gray);
  color: var(--btn-color);
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  padding: 6px 10px;
  line-height: 1;
  display: inline-block;
}

.product__gallery {
  margin-bottom: calc(var(--spacer)*2);
}

.product__thumbs .swiper-slide {
  width: 101px;
  height: 101px;
}

.product__main-gallery {
  margin-bottom: calc(var(--spacer)/2);
  position: relative;
}

.product__main-gallery .collection-name {
  position: absolute;
  left: 30px;
  top: 20px;
  z-index: 10;
}

.product__thumbs .swiper-wrapper,
.product__main-gallery .swiper-wrapper {
  height: auto;
}

.product__cart {
  margin-bottom: calc(var(--spacer)*1.5);
}

@media screen and (max-width: 767px) {
  .product-item__title {
    font-size: 1rem;
  }

  .price .current-price {
   font-size: 1.75rem;
  }

  .panel-nav {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .collections {
    margin-top: calc(var(--spacer)*2);
  }

  .collection-row {
    margin-bottom: calc(var(--spacer)*2);
  }

  .collection-gallery,
  .collection-info {
    margin-bottom: calc(var(--spacer)*3);
  }

  .collection-gallery-item .fancybox-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .collection-info__copy {
    columns: 2;
    column-gap: calc(var(--spacer)*2);
  }

  .product-item__thumb {
    margin-bottom: var(--spacer);
  }

  .product-item__price {
    height: 100px;
    min-width: 100px;
  }

  .product-item {
    margin-bottom: calc(var(--spacer)*2);
  }

  .current-price {
    font-size: 1.75rem;
  }

  .panel {
    margin: 0;
  }

  .panel-wrapper {
    margin-bottom: calc(var(--spacer)*4);
    background: var(--color-white);
  }

  .panel-toggle {
    background: none;
    padding: 20px 30px;
    min-width: 150px;
    text-align: center;
  }

  .panel-content {
    padding: 40px 30px;
  }

  .panel-toggle.active {
    background: var(--color-white);
  }

  .panel .panel-toggle {
    display: none;
  }

  .product__gallery .product__main-gallery {
    order: 1;
  }

  .product__main-gallery {
    flex: 0 0 calc(100% - 101px);
    max-width: calc(100% - 101px);
    padding-left: 10px;
  }

  .product__thumbs {
    flex: 0 0 101px;
    width: 100%;
    max-width: 101px;
  }
}

@media screen and (min-width: 992px) {
  .product {
    margin-bottom: calc(var(--spacer)*4);
    margin-top: calc(var(--spacer)*2);
  }

  .panel-toggle {
    font-size: 1.25rem;
  }
}

/*============================================================================
 15. Calendar
==============================================================================*/
.calendar-container {
  position: relative;
  overflow: hidden;
}

.calendar-container:before {
  content: '';
  position: absolute;
  left: -20px;
  top: -20px;
  background: url(../assets/images/ico_2.svg);
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  width: 250px;
  height: 175px;
  opacity: .15;
  z-index: 5;
  transform: rotate(15deg);
  background-size: contain;
}

.calendar {
  background: var(--color-white);
}

.calendar-title {
  background: var(--color-white);
  position: relative;
  padding: 20px;
}

.calendar-title h2 {
  margin-bottom: 0;
}

.calendar-title small {
  font-family: var(--base-font-family);
  font-size: 1rem;
  display: block;
  font-weight: var(--font-weight-bold);
}

.calendar-title__nav a {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background: var(--color-dark);
  align-items: center;
  justify-content: center;
}

.calendar-title__nav a svg {
  stroke: var(--color-white);
  stroke-width: 2px;
}

.calendar-subtitle {
  display: none;
  border-top: 1px solid var(--calendar-border-color);
  height: auto;
}

.calendar-subtitle .calendar__col:last-child {
  color: var(--color-green);
}

.calendar-subtitle .calendar__col {
  height: auto;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  min-height: 1px;
  border-right: none;
}

.calendar__col {
  cursor: pointer;
  min-height: 50px;
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2.5rem;
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid var(--calendar-border-color);
}

.calendar-subtitle .calendar__col:before {
  content: none;
}

.calendar__col:before {
  width: 30px;
  position: absolute;
  left: 0.25rem;
  top: 0.5rem;
  content: attr(data-day);
  font-size: .525rem;
  text-align: center;
  margin: 0 auto -3px;
  text-transform: uppercase;
  color: #2F2830;
}

.calendar .day {
  position: absolute;
  left: 0.25rem;
  top: 1.2rem;
  width: 30px;
  display: block;
  line-height: 1;
  text-align: center;
  font-size: .625rem;
  margin-top: 5px;
  color: #2F2830;
  font-weight: var(--font-weight-bold);
  opacity: .5;
}

.day-detail {
  padding: .5rem;
  font-size: .875rem;
  line-height: 1.2;
  color: var(--color-dark);
  font-weight: var(--font-weight-bold);
}

.day-detail * {
  position: relative;
  z-index: 100;
}

.event .day-detail {
  background: rgba(159, 201, 104, .34);
}

.study .day-detail {
  background: rgba(224,196,166, .64);
}

.unavailable .day-detail {
  background: #EDCCCC;
}

.study .day-detail:after {
  content: '';
  position: absolute;
  left: 0;
  background: url('../assets/images/line.svg');
  height: 100%;
  width: 100%;
  top: 0;
}

.day-detail:hover {
  text-decoration: underline;
}

.other-month {
  background: rgba(229, 225, 219, .25);
}

.calendar__row:not(.calendar-subtitle) .calendar__col:last-child {
  background: rgba(222, 237, 204, .25);
}

.calendar-legend {
  background: var(--color-white);
  list-style: none;
  margin: var(--spacer) 0 0 0;
  padding: 5px 10px;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
}

.calendar-legend li {
  display: flex;
  align-items: center;
  margin: 8px 0;
}

.calendar-legend li span {
  display: block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.l-event {
  background: rgba(159, 201, 104, .34);
}

.l-date-unavailable  {
  background: #EDCCCC;
}

.l-date {
  position: relative;
  background: rgba(224,196,166, .64);
}

.l-date:after {
  content: '';
  position: absolute;
  left: 0;
  background: url('../assets/images/line.svg');
  height: 100%;
  width: 100%;
  top: 0;
  background-size: contain;
}

@media (min-width: 480px) {
  .calendar-legend {
    display: inline-flex;
  }

  .calendar-legend li {
    margin-right: 5px;
    margin-left: 5px;
  }
}

@media (max-width: 767px) {
  .calendar-title h2 {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .calendar-title {
    border-bottom: none;
  }

  .calendar__row {
    display: flex;
  }

  .calendar__row:last-child .calendar__col {
    border-bottom: none;
  }

  .calendar__row .calendar__col:last-child {
    border-right: 0;
  }

  .calendar__col {
    padding-left: 0.5rem;
    height: 120px;
    font-size: 1rem;
    flex: 0 0 14.2857%;
    max-width: 14.2857%;
    border-right: 1px solid var(--calendar-border-color);
  }

  .calendar__col:before {
    content: none;
  }

  .calendar .day {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0 0 0 auto;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .calendar__row:not(.calendar-subtitle) .calendar__col {
    display: flex;
    flex-direction: column;
  }

  .day-detail {
    margin-top: auto;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    border: 2px solid transparent;
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 10;
    min-height: 68px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .event .day-detail {
    border-color: rgba(159, 201, 104, .64);
  }

  .study .day-detail {
    border-color: rgba(224,196,166, 1);
  }

  .unavailable .day-detail {
    border-color: #d5b7b7;
  }

  .calendar-container {
    margin-top: calc(var(--spacer)*2);
  }
}

@media (min-width: 992px) {
  .calendar__col {
    height: 160px;
  }

  .day-detail {
   -webkit-line-clamp: 4;
  }

  .calendar-subtitle .calendar__col {
    font-size: 1rem;
  }
}

/* Reservation popup */
.reserve-event .form-control {
  border-bottom: 1px solid rgba(196,196,196, .5);
  width: 100%;
  padding-left: 0;
}

.reserve-event {
  position: relative;
}

#reservation-form:before {
  content: '';
  position: absolute;
  left: -20px;
  top: -20px;
  background: url(../assets/images/ico_2.svg);
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  width: 250px;
  height: 175px;
  opacity: .15;
  z-index: 5;
  transform: rotate(15deg);
  background-size: contain;
}

.buttons-group {
  margin-top: 30px;
}

#reservation-form {
  width: 100%;
  max-width: 600px;
}

/*============================================================================
 16. Static page
==============================================================================*/
.static-page h2 {
  margin-bottom: calc(var(--spacer)/2);
}

.static-page blockquote {
  position: relative;
}

.static-page blockquote:before {
  content: '';
  background: url(../assets/images/quotes.svg) no-repeat;
  background-size: contain;
  width: 75px;
  height: 45px;
  position: absolute;
  color: var(--color-green);
  line-height: 1;
  left: -30px;
  top: -20px;
  opacity: .4;
}

.static-page blockquote cite {
  font-family: var(--second-font);
}

.static-page ul,
.static-page ol {
  padding: 0 0 0 20px;
  margin: 30px 0;
}

.static-page figure {
  margin: 3rem 0;
}

.static-page figure img {
  margin: 0;
}

.static-page figure figcaption {
  font-family: var(--second-font);
  margin: 10px 0;
}

.static-page h2 {
  font-size: var(--font-size-h3);
}

.static-page h3 {
  font-size: var(--font-size-h4);
}

.static-page h4 {
  font-size: 1rem;
}

@media (max-width: 767px) {
  .static-page h2 {
    font-size: 2rem;
  }

  .static-page h4 {
    font-size: 1rem;
  }
}

/* temp */
.accessibility-trigger {
  position: fixed;
  top: 60px;
  right: -10px;
  z-index: 100;
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  cursor: pointer;
}

/* On mobile the header hamburger sits top-right, so move the
   accessibility trigger down to the middle of the screen to avoid overlap */
@media screen and (max-width: 767px) {
  .accessibility-trigger {
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
  }
}

/*============================================================================
 17. Media
==============================================================================*/
.filter-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--second-font);
  font-size: 1.25rem;
  justify-content: center;
}

.filter-item {
  margin: 0 5px;
  position: relative;
  cursor: pointer;
}

.filter-item:after {
  content: '';
  position: absolute;
  bottom: -5px;
  background: var(--color-dark);
  width: 64px;
  height: 2px;
  left: 50%;
  margin-left: -32px;
  opacity: 0;
  transition: all .3s;
}

.filter-item--active:after,
.filter-item:hover:after {
  opacity: 1;
}

.media-list {
    margin-top: 30px;
}

.media-item {
  margin-bottom: 20px;
}

.media-item h4 {
  font-size: var(--base-font-size);
}

.media-item .card-copy time {
    font-size: 0.9rem;
}

.media-item__thumb {
  height: 60px;
  display: block;
  margin-bottom: 30px;
}

.media-item__thumb img {
  max-width: 150px;
  object-fit: contain;
  height: 100%;
  margin: 0;
}

.sidebar-media .widget-list__item img {
  object-fit: contain;
  max-width: 84px;
}

.sidebar-media h6 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .media-item .event-content {
    padding-right: 20px;
  }

  .section-media .gallery-item {
    width: 100%;
    flex: 0 0 33.33333%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .filter-nav {
    font-size: 1.5rem;
  }

  .filter-item {
    margin: 0 10px;
  }
}

/* Promo styles  */

@media (max-width: 576px) {
  .vacancies-promo .btn,
  .book-event .btn {
    margin-top: 20px;
    width: 100%;
  }
}

