@font-face {
  font-family: "gothic";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/century_gothic/GOTHIC.TTF");
}

:root {
  --mobile-header-height: 64px;
  --opened-header-height: 450px;

  --primary-color: #ff130d;
  /* --secondary-color: #e6e6e6; */
  --secondary-color: #f5f5f5;
  --error-color: red;

  --text-size: 16px;
  --gutter-x: 1.5rem;
  --gutter-y: 0;

  --spacer: 1rem;
  --spacer-0: 0;
  --spacer-1: calc(var(--spacer) * 0.25);
  --spacer-2: calc(var(--spacer) * 0.5);
  --spacer-3: calc(var(--spacer) * 1);
  --spacer-4: calc(var(--spacer) * 1.5);
  --spacer-5: calc(var(--spacer) * 3);
  --spacer-6: calc(var(--spacer) * 6);
  --spacer-7: calc(var(--spacer) * 12);
}

*,
*:after,
*:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*:focus {
  outline: none;
}

html {
  color: var(--text-color);
  font-family: "gothic", Roboto, sans-serif;
  font-size: var(--text-size);
  /* font-weight: 600; */
  line-height: 1.5;
  margin-top: 0 !important;
  overflow-x: hidden;
}

body {
  background-color: white;
  position: relative;

  /* --xwidth: calc(100vw - (100vw - 100%)); */
}

a {
  color: inherit !important;
  text-decoration: none;
}

ul {
  list-style-type: disc;
  padding-left: 1.2rem;
}

ul li {
  margin-bottom: 4px;
}

img {
  display: block;
  width: 100%;
}

.wp-block-image.wp-block-w-50px img {
  width: 50px;
}

.wp-block-image.wp-block-w-70px img {
  width: 70px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* color: var(--primary-color); */
  margin-bottom: 0.5rem;
  margin-top: 0;
}

h2 {
  color: var(--primary-color);
}

button,
.button,
input,
optgroup,
select,
textarea {
  appearance: none;
  background-color: #f3f3f3;
  border: 1px solid #ced4d9;
  border-radius: 0.25rem;
  color: #495056;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  max-width: 100%;
  padding: 0.5rem 1rem;
  white-space: normal;
  /* width: max-content; */
}

button,
.button {
  align-items: center;
  background-color: transparent !important;
  border: none;
  /* box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); */
  color: var(--primary-color);
  display: inline-flex;
  font-weight: bold;
  gap: var(--spacer-1);
  justify-content: center;
  text-align: center;
}

button:hover,
.button:hover {
  filter: brightness(140%);
}

button:active,
.button:active {
  filter: brightness(60%);
}

button:disabled,
.button:disabled {
  cursor: default;
  opacity: 0.2;
}

button.big-button,
.button.big-button {
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  height: 40px;
  width: 140px;
}

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

/* burger */
button.icon-button,
.button.icon-button {
  flex-direction: column;
}

i.icon-burger {
  align-items: center;
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
}

i.icon-burger>span,
i.icon-burger>span:after,
i.icon-burger>span:before {
  /* background-color: var(--primary-color); */
  background-color: white;
  border-radius: 4px;
  height: 4px;
  width: 100%;
}

i.icon-burger>span:after,
i.icon-burger>span:before {
  content: "";
  display: block;
  position: relative;
  transition: all 0.3s;
}

i.icon-burger>span:before {
  top: -8px;
}

i.icon-burger>span:after {
  top: 4px;
}

.opened-header i.icon-burger>span {
  background-color: transparent;
}

.opened-header i.icon-burger>span:before {
  transform: rotate(45deg) translate(5px, 5px);
  top: -7px;
}

.opened-header i.icon-burger>span:after {
  transform: rotate(-45deg) translate(5px, -5px);
  top: 3px;
}

/* end burger */

input[type="checkbox"] {
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 1rem;
  margin-right: 6px;
  margin-top: 0.28rem;
  padding: 0;
  vertical-align: top;
  width: 1rem;
}

input:checked[type="checkbox"] {
  background-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-position: calc(100% - 1rem) center;
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  padding-right: 3rem;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

.loading .overlay {
  align-items: center;
  display: flex;
  justify-content: center;
}

body.loading {
  overflow: hidden;
}

.container {
  margin: auto;
  /* padding-left: calc(var(--gutter-x) * 0.5); */
  /* padding-right: calc(var(--gutter-x) * 0.5); */
  padding-left: var(--gutter-x);
  padding-right: var(--gutter-x);
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--gutter-x) * -0.5);
  margin-right: calc(var(--gutter-x) * -0.5);
}

.row>* {
  flex-shrink: 0;
  margin-top: var(--gutter-y);
  max-width: 100%;
  padding-left: calc(var(--gutter-x) * 0.5);
  padding-right: calc(var(--gutter-x) * 0.5);
  width: 100%;
}

.col {
  flex: 1 0 0%;
}

.col-1 {
  flex: 0 0 auto;
  width: 8.33333333%;
}

.col-2 {
  flex: 0 0 auto;
  width: 16.66666667%;
}

.col-10 {
  flex: 0 0 auto;
  width: 83.33333333%;
}

.col-11 {
  flex: 0 0 auto;
  width: 91.66666667%;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-column {
  flex-direction: column;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.field {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}

.field label {
  color: #b2b2b2;
  display: block;
  margin-bottom: 0.5rem;
}

.pano,
.bg-pano:before {
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  right: 50%;
  width: 100vw;
}

.bg-pano {
  position: relative;
}

.bg-pano:before {
  bottom: 0;
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
}

.bg-pano.bg-gradient:before,
.bg-gradient:not(.bg-pano) {
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
}

/* bg colors */

.bg-pano.bg-primary:before,
.bg-primary:not(.bg-pano) {
  background-color: var(--primary-color) !important;
}

.bg-pano.bg-secondary:before,
.bg-secondary:not(.bg-pano) {
  background-color: var(--secondary-color) !important;
}

.bg-white {
  background-color: white;
}

.rounded-pill {
  border-radius: 50rem;
}

.text-primary {
  color: var(--primary-color);
}

.text-white {
  color: white !important;
}

.text-black {
  color: black;
}

.text-gray {
  color: gray;
}

.text-uppercase {
  text-transform: uppercase;
}

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

.text-justify {
  text-align: justify;
}

.overflow-hidden {
  overflow: hidden;
}

/* .text-wrap { */
/*   white-space: normal; */
/* } */

.fs-1,
h1 {
  font-size: 1.8rem !important;
}

.fs-2,
h2 {
  font-size: 1.5rem !important;
}

.fs-3,
h3 {
  font-size: 1.25rem !important;
}

.fs-4,
h4 {
  font-size: 1rem !important;
}

.fs-5,
h5 {
  font-size: 0.75rem !important;
}

.fs-6,
h6 {
  font-size: 0.5rem !important;
}

.fs-7 {
  font-size: 0.75rem !important;
  /* 0.75rem */
}

.fw-bold {
  font-weight: bold;
}

.px-1 {
  padding-left: var(--spacer-1) !important;
  padding-right: var(--spacer-1) !important;
}

.px-2 {
  padding-left: var(--spacer-2) !important;
  padding-right: var(--spacer-2) !important;
}

.px-3 {
  padding-left: var(--spacer-3) !important;
  padding-right: var(--spacer-3) !important;
}

.px-4 {
  padding-left: var(--spacer-4) !important;
  padding-right: var(--spacer-4) !important;
}

.px-5 {
  padding-left: var(--spacer-5) !important;
  padding-right: var(--spacer-5) !important;
}

.py-1 {
  padding-bottom: var(--spacer-1) !important;
  padding-top: var(--spacer-1) !important;
}

.py-2 {
  padding-bottom: var(--spacer-2) !important;
  padding-top: var(--spacer-2) !important;
}

.py-3 {
  padding-bottom: var(--spacer-3) !important;
  padding-top: var(--spacer-3) !important;
}

.py-4 {
  padding-bottom: var(--spacer-4) !important;
  padding-top: var(--spacer-4) !important;
}

.py-5 {
  padding-bottom: var(--spacer-5) !important;
  padding-top: var(--spacer-5) !important;
}

.py-6 {
  padding-bottom: var(--spacer-6) !important;
  padding-top: var(--spacer-6) !important;
}

.p-1 {
  padding: var(--spacer-1) !important;
}

.p-2 {
  padding: var(--spacer-2) !important;
}

.p-3 {
  padding: var(--spacer-3) !important;
}

.p-4 {
  padding: var(--spacer-4) !important;
}

.mb-1 {
  margin-bottom: var(--spacer-1) !important;
}

.mb-2 {
  margin-bottom: var(--spacer-2) !important;
}

.mb-3 {
  margin-bottom: var(--spacer-3) !important;
}

.mb-4 {
  margin-bottom: var(--spacer-4) !important;
}

.mb-5 {
  margin-bottom: var(--spacer-5) !important;
}

.mt-3 {
  margin-top: var(--spacer-3) !important;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-50 {
  width: 50% !important;
}

.w-75 {
  width: 75% !important;
}

.w-95 {
  width: 95% !important;
}

.w-100 {
  width: 100% !important;
}

.j-between {
  justify-content: space-between;
}

.j-center {
  justify-content: center !important;
}

.j-right {
  justify-content: right !important;
}

.a-center {
  align-items: center;
}

.flex-column-reverse {
  flex-direction: column-reverse;
}

.d-none {
  display: none;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.d-block {
  display: block !important;
}

.gap-1 {
  gap: var(--spacer-1) !important;
}

.gap-2 {
  gap: var(--spacer-2) !important;
}

.gap-3 {
  gap: var(--spacer-3) !important;
}

.gap-4 {
  gap: var(--spacer-4) !important;
}

.gap-5 {
  gap: var(--spacer-5) !important;
}

.wp-block-gallery .wp-block-image {
  overflow: hidden;
}

.wp-block-gallery .wp-block-image img,
img.hover-zoom-image {
  transition: transform 1.5s;
}

.image-with-zoom,
.wp-block-icon-with-zoom img {
  transition: transform 0.5s;
}

.image-with-zoom:hover,
.wp-block-icon-with-zoom:hover img {
  transform: scale(1.18);
}

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

.menu li {
  margin: 0;
  position: relative;
}

.menu .menu-link {
  display: block;
  padding: 0.5rem 0;
}

.menu .menu-link:hover,
.branding-link:hover {
  box-shadow: inset 0 -2px 0 0 white;
  transition: box-shadow 0.4s;
}

.header-submenu.menu .menu-link:hover {
  box-shadow: inset 0 -2px 0 0 var(--primary-color);
}

/* .comfortable-reading {
  max-width: 820px;
} */

.gallery {
  display: grid;
  gap: var(--spacer-2);
  grid-template-columns: repeat(8, 1fr);
  /* grid-template-rows: repeat(8, 1fr); */
}

.gallery>figure {
  border-radius: 1rem;
  grid-column: span 4;
  overflow: hidden;
}

.gallery>figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .gallery > figure:nth-child(1), */
/* .gallery > figure:nth-child(2), */
/* .gallery > figure:nth-child(3), */
/* .gallery > figure:nth-child(4) { */
/*   grid-column-start: 1; */
/*   grid-column-end: 5; */
/*   grid-row-start: 1; */
/*   grid-row-end: 5; */
/* } */

.header {
  /* box-shadow: 0 0 1rem rgba(0, 0, 0, 0.8); */
  transition: height 0.2s;
  /* overflow: hidden; */
}

.header-logo {
  height: var(--mobile-header-height);
  padding: 10px 0;
  /*14px 0*/
  width: auto;
}

.header-social-icon {
  /* background-color: var(--primary-color); */
  border-radius: 5px;
  padding: 4px;
  width: 28px;
}

.header-submenu {
  font-size: 14px;
}

.header-dropdown {
  display: none;
  left: 50%;
  margin-top: -6px;
  position: absolute;
  transform: translate3d(-50%, 0, 0);
  z-index: 1;
}

.header-dropdown:before {
  background-color: red;
  /* background-color: white; */
  border-bottom-right-radius: 24px;
  border-top-left-radius: 6px;
  content: '';
  display: block;
  height: 24px;
  left: calc(50% - 12px);
  position: absolute;
  transform: rotate(45deg);
  width: 24px;
  z-index: 1;
}

.header-dropdown-container {
  background-color: red;
  /* background-color: white; */
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  /* color: black; */
  margin-top: 12px;
  overflow: hidden;
  position: relative;
  width: 160px;
}

.header-dropdown-container .menu {
  position: relative;
  z-index: 1;
}

.header-dropdown-container .menu-link {
  padding: 0;
}

.header-dropdown-container .menu-link:hover {
  background-color: rgba(0, 0, 0, 0.20);
  box-shadow: none;
}

.header-dropdown-container .menu-link a {
  display: block;
  padding: 8px 4px;
}

@media only screen and (min-width: 768px) {/*840px*/
  .menu>li:hover .header-dropdown {
    display: block;
  }
}

.list {
  list-style: none;
  padding: 0;
}

.list>li {
  align-items: center;
  display: flex;
  margin: 0;
  padding: var(--spacer-3) 0;
}

.list>li>i,
.list>li>a>i {
  margin-right: var(--spacer-3);
}

.list>li>i>img,
.list>li>a>i>img {
  width: 68px;
}

.footer-logo {
  margin-bottom: 48px;
  margin-top: 12px;
}

.footer-menu {
  margin-bottom: 48px;
}

.footer-menu li {
  margin-bottom: 12px;
  line-height: 1;
}

.footer-social {
  padding-top: 0.5rem;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 14px;
}

.footer-social-icon {
  width: 32px;
}

/*sm*/
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }

  .sm-d-flex {
    display: flex;
  }

  .sm-flex-row {
    flex-direction: row;
  }
}

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

  .gallery>figure {
    grid-column: span 2;
  }

  .md-overflow-visible {
    overflow: visible;
  }

  .md-position-absolute {
    position: absolute !important;
  }

  .md-col-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

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

  .md-col-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .md-d-none {
    display: none;
  }

  .md-d-block {
    display: block;
  }

  .md-d-flex {
    display: flex;
  }

  .md-pr-4 {
    padding-right: var(--spacer-4) !important;
  }

  .md-px-5 {
    padding-left: var(--spacer-5) !important;
    padding-right: var(--spacer-5) !important;
  }

  .md-mt-0 {
    margin-top: var(--spacer-0) !important;
  }

  .md-flex-row {
    flex-direction: row;
  }

  .md-w-auto {
    width: auto !important;
  }

  .md-w-25 {
    width: 25% !important;
  }

  .md-w-1-3 {
    width: 33.3333% !important;
  }

  .md-w-50 {
    width: 50% !important;
  }

  .md-w-75 {
    width: 75% !important;
  }

  .md-w-85 {
    width: 85% !important;
  }

  .md-text-left {
    text-align: left;
  }

  .wp-block-gallery .wp-block-image:hover img,
  .hover-zoom-trigger:hover img.hover-zoom-image {
    transform: scale(1.3);
  }

  .header-logo {
    padding: 0 0;
  }

  .header-menu,
  .header-submenu {
    align-items: center;
    display: flex;
    gap: var(--spacer-3);
  }

  .footer-social-icons {
    justify-content: left;
  }
}

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

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

/* only mobile */
/*767.99px*/
@media (max-width: 839.99px) {
  .header {
    height: var(--mobile-header-height);
  }

  .header-submenu-social {
    padding: 16px 0;
  }

  .opened-header .header {
    height: var(--opened-header-height);
  }

  .header-menu li:not(:last-child),
  .header-submenu li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
}