/*
  Theme Name: Factoria Creativa Child
  Theme URI: https://www.factoriacreativabarcelona.es/
  Description:  A lightweight and minimalist WordPress theme for Factoria Creativa
  Author: Factoria Creativa
  Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
  Template: factoria-creativa
  Text Domain: factoria-creativa-child
  Stable tag: 2.8.1
  Requires at least: 5.9
  Tested up to: 6.2
  Requires PHP: 8.0
  License: GNU General Public License v3 or later.
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/************************************************General**********************************************************/

/* @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;800&family=Gilda+Display&display=swap"); */

:root {
  --fc-primary-font-family: "Gilda Display", sans-serif;
  --fc-secondary-font-family: "Open Sans", sans-serif;
  --fc-primary-padding: 0 8rem;
  --fc-secondary-padding: 8rem 0;
  --fc-max-width: 1340px;

  /* Txt Main */
  --fc-text-main: 1.7rem;
  --fc-lineh-main: 1.3;
  --fc_lineh-text: 2em;
  --fc-main-color: #828282;

  /* Upper Title */

  --fc-upper-text: 1.6rem;
  --fc-upper-color: #747474;
  --fc--upper-style: italic;
  --fc--upper-weight: 400;

  /******Main title*************/
  --fc-main-title: 3.5rem;
  --fc-main-title-color: #8d2322;
  --fc-main-title-weight: 800;

  /******Button text*************/

  --fc-button-text: 1.4rem;
  --fc-button-trans: uppercase;
  --fc-button-decor: none;
  --fc-button-color: #8d2322;

  /*****************Nav BAR *******************/
  --bs-dark: #212529;
  --fc-shade-color: #c5b39e;

  /********************Custom quantity buttons******************/

  --fc-black: #000;
  --fc-white: #fff;
  --fc-gray: #ccc;
  --fc-smoke: #e2e2e2;
  --fc-disable: #f2f2f2;
  --fc-quantity-color: #666;

  /*************************Scroll Bar ************************/
  --fc--scroll-height: 8px;
}

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

html {
  /* font-size: 10px; */
  /* 10px/16px = 0.625 */
  font-size: 62.5%;
  font-family: var(--fc-primary-font-family);
  overflow-x: hidden;
  /* May not work on Safari */
  scroll-behavior: smooth;
}

body {
  font-family: var(--fc-primary-font-family);
  font-size: 1.6rem;
  line-height: 1.3em;
}

img {
  width: 100%;
}

.portalet_main_wrapper_center {
  padding: var(--fc-primary-padding);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portalet_inner_wrapper {
  max-width: var(--fc-max-width);
  width: 100%;
}

body h1 {
  font-size: var(--fc-main-title);
  color: var(--fc-main-title-color);
  font-weight: var(--fc-main-title-weight);
}

li {
  margin-bottom: 0.5rem;
}

body h2 {
  font-size: 2rem;
}

body.single-post h2 {
  margin-top: 1.5rem;
  margin-bottom: 1.7rem;
}

body h3 {
  font-size: 1.6rem;
}

body.single-post h3,
body.single-post h4 {
  margin-bottom: 0.8rem;
}

body.single-post p {
  margin-bottom: 1rem;
}

body.single-post .wp-block-image img {
  margin: 1rem 0;
}

/**********************************************Animations***********************************************************/

@keyframes widthChange {
  0% {
    width: 40%;
  }
  100% {
    width: 100%;
  }
}

/***********************************************Buttons*******************************************************/

.factoria_button_87,
.wpcf7-form-control.wpcf7-submit {
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: var(--fc-button-color);
  border-radius: 1rem;
  display: block;
  border: 0px;
  font-weight: 700;
  background-color: transparent;
  border: 1px solid var(--fc-button-color);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: all 0.3s ease-in;
  a {
    padding: 1.5rem 3rem;
    display: block;
  }
}

.wpcf7-form-control.wpcf7-submit,
#submit_booking_portalet_89 {
  padding: 1.5rem 3rem;
}

.factoria_button_87:hover,
.wpcf7-form-control.wpcf7-submit:hover,
.wpcf7-form-control.wpcf7-submit:focus {
  background-position: right center;
  /* change the direction of the change here */
  background-color: var(--fc-button-color);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.factoria_button_87 :active {
  transform: scale(0.95);
}

/*----- Nav Sidebar
  --------------------------------------------------------------*/
.nav-overlay {
  position: fixed;
  z-index: 9;
}

.nav-overlay:before,
.nav-overlay:after {
  content: "";
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.8);
  border-bottom-left-radius: 200%;
  z-index: -1;
  -webkit-transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s,
    border-radius linear 0.8s;
  transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s,
    border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s,
    border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s,
    -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s,
    border-radius linear 0.8s;
  -webkit-transform: translateX(100%) translateY(-100%);
  transform: translateX(100%) translateY(-100%);
}

.nav-overlay:after {
  /* background: rgba(10, 10, 10, 1); */
  background: var(--fc-shade-color);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.nav-overlay:before {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.nav__content {
  position: fixed;
  visibility: hidden;
  top: 50%;
  margin-top: 20px;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  width: 100%;
  text-align: center;
}

.nav__list {
  position: relative;
  padding: 0;
  margin: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.nav__list-item {
  position: relative;
  display: block;
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
  opacity: 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  font-size: 6vh;
  line-height: 1;
  -webkit-transform: translate(100px, 0%);
  transform: translate(100px, 0%);
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.2s ease, transform 0.3s ease;
  transition: opacity 0.2s ease, transform 0.3s ease,
    -webkit-transform 0.3s ease;
  margin-top: 0;
  margin-bottom: 0;
}

.nav__list-item a {
  position: relative;
  text-decoration: none;
  color: var(--fc-main-title-color);
  overflow: hidden;
  cursor: pointer;
  padding-left: 5px;
  padding-right: 5px;
  font-weight: 600;
  z-index: 2;
  display: inline-block;
  text-transform: uppercase;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.nav__list-item a:after {
  position: absolute;
  content: "";
  top: 50%;
  margin-top: -2px;
  left: 50%;
  width: 0;
  height: 0;
  opacity: 0;
  background-color: var(--accent-color);
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.nav__list-item a span {
  font-family: var(--fc-primary-font-family);
}

.nav__list-item a:hover:after {
  height: 4px;
  opacity: 1;
  left: 0;
  width: 100%;
}

.nav__list-item a:hover {
  color: rgba(255, 255, 255, 1);
}

.nav__list-item.active-nav a {
  color: rgba(255, 255, 255, 1);
}

.nav__list-item.active-nav a:after {
  height: 4px;
  opacity: 1;
  left: 0;
  width: 100%;
}

body.nav-active .nav__content {
  visibility: visible;
}

body.nav-active .menu-icon__line {
  background-color: var(--light-background-color);
  -webkit-transform: translate(0px, 0px) rotate(-45deg);
  transform: translate(0px, 0px) rotate(-45deg);
}

body.nav-active .menu-icon__line-left {
  width: 15px;
  -webkit-transform: translate(2px, 4px) rotate(45deg);
  transform: translate(2px, 4px) rotate(45deg);
}

body.nav-active .menu-icon__line-right {
  width: 15px;
  float: right;
  -webkit-transform: translate(-3px, -3.5px) rotate(45deg);
  transform: translate(-3px, -3.5px) rotate(45deg);
}

body.nav-active .menu-icon:hover .menu-icon__line-left,
body.nav-active .menu-icon:hover .menu-icon__line-right {
  width: 15px;
}

body.nav-active .nav-overlay {
  visibility: visible;
}

body.nav-active .nav-overlay:before,
body.nav-active .nav-overlay:after {
  -webkit-transform: translateX(0%) translateY(0%);
  transform: translateX(0%) translateY(0%);
  border-radius: 0;
}

body.nav-active .nav-overlay:after {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

body.nav-active .nav-overlay:before {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

body.nav-active .nav__list-item {
  opacity: 1;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  -webkit-transition: opacity 0.3s ease, color 0.3s ease,
    -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, color 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease,
    -webkit-transform 0.3s ease;
}

body.nav-active .nav__list-item:nth-child(0) {
  -webkit-transition-delay: 0.7s;
  transition-delay: 0.7s;
}

body.nav-active .nav__list-item:nth-child(1) {
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
}

body.nav-active .nav__list-item:nth-child(2) {
  -webkit-transition-delay: 0.9s;
  transition-delay: 0.9s;
}

body.nav-active .nav__list-item:nth-child(3) {
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}

body.nav-active .nav__list-item:nth-child(4) {
  -webkit-transition-delay: 1.1s;
  transition-delay: 1.1s;
}

body.nav-active .nav__list-item:nth-child(5) {
  -webkit-transition-delay: 1.2s;
  transition-delay: 1.2s;
}

body.nav-active .nav__list-item:nth-child(6) {
  -webkit-transition-delay: 1.3s;
  transition-delay: 1.3s;
}

body.nav-active .nav__list-item:nth-child(7) {
  -webkit-transition-delay: 1.4s;
  transition-delay: 1.4s;
}

body.nav-active .nav__list-item:nth-child(8) {
  -webkit-transition-delay: 1.5s;
  transition-delay: 1.5s;
}

body.nav-active .nav__list-item:nth-child(9) {
  -webkit-transition-delay: 1.6s;
  transition-delay: 1.6s;
}

body.nav-active .nav__list-item:nth-child(10) {
  -webkit-transition-delay: 1.7s;
  transition-delay: 1.7s;
}

/*----- Header Menu
--------------------------------------------------------------*/

#polylang-language-dropdown {
  visibility: hidden;
  opacity: 0;
}

#main_header_89 .header_menu_one .menu-item:last-child {
  width: 6.73rem;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  visibility: hidden;
  /* -webkit-appearance: none; */
  opacity: 0;
}

#main_header_89 {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9;
  background-color: #fff;
  transition: background-color 0.3s ease-in;
}

.nav-active #main_header_89 {
  background-color: transparent;
  transition: background-color 0.3s ease-out;
}
#navbar {
  width: 26px;
}

#main_header_89.is-pinned .portalet_main_header {
  padding: 25px 0;
  transition: padding 0.2s ease-out;
}

.portalet_main_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  transition: padding 0.2s ease-in;
}

#menu-toggle {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom_logo_wrapper img {
  max-width: 26rem;
  width: 100%;
  height: auto;
}

#menu-toggle:checked ~ .menu-btn > span {
  transform: rotate(45deg);
}

#menu-toggle:checked ~ .menu-btn > span::before {
  top: 0;
  transform: rotate(0);
  background: #fff;
}

#menu-toggle:checked ~ .menu-btn > span::after {
  top: 0;
  transform: rotate(90deg);
  background: #fff;
}

#menu-toggle:checked ~ .navmenu {
  visibility: visible;
  right: 0;
}

.menu-btn {
  display: flex;
  align-items: center;
  position: relative;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 9;
  margin-bottom: 5px;
}

.menu-btn > span,
.menu-btn > span::before,
.menu-btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--bs-dark);
  transition-duration: 0.25s;
}

.menu-btn > span::before {
  content: "";
  top: -8px;
}

.menu-btn > span::after {
  content: "";
  top: 8px;
}

.portalet_column_rigth_menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

@media screen and (min-width: 1091px ) {
  .portalet_column_rigth_menu #navbar {
    display: none;
  }
  
}

@media screen and (max-width: 1090px ) {
  .portalet_column_rigth_menu .header_menu_one {
    margin-right: 0;
  }
  body.nav-active .nav__content {
    margin: 0 auto;
  }
  body {
    overflow: hidden;
  }
}


.header_menu_one {
  display: flex;
  align-items: center;
  /* gap: 4rem; */
  gap: 3rem;
  list-style: none;
  text-transform: uppercase;
  min-height: 4.7rem;

  /* font-size: 1.8rem; */
  font-size: 1.6rem;

  a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease-in;
  }
}

.header_menu_one .menu-item.active a {
  color: var(--fc-main-title-color);
  /* color: #000; */
}

.header_menu_one .menu-item {
  position: relative;
}

.header_menu_one .menu-item::after,
.header_menu_one .menu-item.active::after {
  position: absolute;
  content: "";
  bottom: -5px;
  left: 0;
  height: 1px;
  width: 0%;
  background-color: var(--fc-main-title-color);
  /* background-color: #000; */
  transition: width 0.3s ease-in;
}

.header_menu_one .menu-item.active::after {
  width: 100%;
}

.header_menu_one .menu-item:not(:last-child):hover::after {
  width: 100%;
  transition: width 0.3s ease-in;
}

.nav-active .header_menu_one a {
  color: var(--fc-shade-color);
  transition: color 0.2s ease-out;
}

.nav-active .header_menu_one .menu-item::after,
.header_menu_one .menu-item.active::after {
  background-color: var(--fc-shade-color);
}

.nav-active .header_menu_one .menu-item.active a {
  color: var(--fc-shade-color);
}

.nav-active .header_menu_one .menu-item:not(:last-child) {
  pointer-events: none;
}

.custom_logo_wrapper {
  opacity: 1;
  transition: all 0.6s ease-in;
}

.nav-active .custom_logo_wrapper {
  opacity: 0;
  transition: all 0.3s ease-out;
}

/*****************************Slick scroll bar *********************************/

.slick-scrollbar {
  width: 100%;
  margin-top: 20px;
  display: none;
}

.slick-prev .fa-angle-left,
.slick-next .fa-angle-right {
  font-size: 2.7rem;
  color: var(--fc-button-color);
}

.custom_scroll_esportalet {
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
}
.custom_scroll_esportalet:focus {
  outline: none;
}
.custom_scroll_esportalet::-webkit-slider-runnable-track {
  width: 100%;
  height: var(--fc--scroll-height);
  cursor: default;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #b9b9b9;
  background: #dfdfdf;
  border-radius: 100px;
  border: 0px solid #b9b9b9;
}
.custom_scroll_esportalet::-webkit-slider-thumb {
  box-shadow: 0px 0px 1px #f2f2f2;
  border: 0px solid #c2c2c2;
  height: var(--fc--scroll-height);
  width: 70px;
  border-radius: 100px;
  background: var(--fc-button-color);
  cursor: grab;
  -webkit-appearance: none;
  margin-top: 0px;
}
.custom_scroll_esportalet::-webkit-slider-thumb:active,
.custom_scroll_esportalet::-webkit-slider-thumb:focus {
  cursor: grabbing;
}
.custom_scroll_esportalet:focus::-webkit-slider-runnable-track {
  background: #dfdfdf;
}
.custom_scroll_esportalet::-moz-range-track {
  width: 100%;
  height: var(--fc--scroll-height);
  cursor: default;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #b9b9b9;
  background: #dfdfdf;
  border-radius: 100px;
  border: 0px solid #b9b9b9;
}
.custom_scroll_esportalet::-moz-range-thumb {
  box-shadow: 0px 0px 1px #f2f2f2;
  border: 0px solid #c2c2c2;
  height: var(--fc--scroll-height);
  width: 50px;
  border-radius: 100px;
  background: #202741;
  cursor: grab;
}
.custom_scroll_esportalet::-moz-range-thumb:active,
.custom_scroll_esportalet::-moz-range-thumb:focus {
  cursor: grabbing;
}
.custom_scroll_esportalet::-ms-track {
  width: 100%;
  height: 4px;
  cursor: default;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.custom_scroll_esportalet::-ms-fill-lower {
  background: #dfdfdf;
  border: 0px solid #b9b9b9;
  border-radius: 100px;
  box-shadow: 0px 0px 0px #b9b9b9;
}
.custom_scroll_esportalet::-ms-fill-upper {
  background: #dfdfdf;
  border: 0px solid #b9b9b9;
  border-radius: 100px;
  box-shadow: 0px 0px 0px #b9b9b9;
}
.custom_scroll_esportalet::-ms-thumb {
  box-shadow: 0px 0px 1px #f2f2f2;
  border: 0px solid #c2c2c2;
  height: 4px;
  width: 50px;
  border-radius: 100px;
  background: #202741;
  cursor: grab;
}
.custom_scroll_esportalet::-ms-thumb:active,
.custom_scroll_esportalet::-ms-thumb:focus {
  cursor: grabbing;
}
.custom_scroll_esportalet:focus::-ms-fill-lower {
  background: #dfdfdf;
}
.custom_scroll_esportalet:focus::-ms-fill-upper {
  background: #dfdfdf;
}

/******************************Map*****************************/
.google-map__container {
  position: relative;
}

.page-template-sant-feliu-page .google-map__container {
  margin-top: 10rem;
}

.google-map__container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #c5b39e5c;
  pointer-events: none;
}

/***********************************************Home *************************************************************/

.portalet_section_one .portalet_main_wrapper_center {
  height: 100%;
  justify-content: center;
}

.portalet_booking_sc .portalet_inner_wrapper {
  padding: 6rem 0;
}

.portalet_section_one .slick-dots {
  bottom: 30px;
}

.portalet_section_one .slick-dots li.slick-active button:before {
  color: #fff;
  opacity: 1;
}

.portalet_section_one .slick-dots li button:before {
  font-size: 2rem;
  color: #fff;
  opacity: 0.65;
}

.banner_home_single_wrapper {
  width: 100%;
  padding: var(--fc-primary-padding);
}

.banner_home_single_text {
  font-size: 2.4rem;
  color: #fff;
  text-align: center;
}

.portalet_section_two .portalet_inner_wrapper,
.portalet_contact_section_one .portalet_inner_wrapper {
  padding: 6rem 0;
  display: flex;
  align-items: flex-start;
}

.portalet_section_two .portalet_inner_wrapper > div {
  flex: 1;
}

.portalet_section_two .section_two_right_content,
.portalet_contact_section_one_left_text .section_two_right_content {
  font-size: var(--fc-text-main);
  font-family: var(--fc-secondary-font-family);
  color: var(--fc-main-color);
  line-height: var(--fc_lineh-text);
}

.section_two_left_title {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* font-family: var(--fc-secondary-font-family); */
  line-height: var(--fc-lineh-main);
  font-size: var(--fc-main-title);
  color: var(--fc-main-title-color);
  margin-bottom: -12px;
  max-width: 45%;
  margin-top: 2.5rem;
}

.section_two_left_title > span {
  font-family: var(--fc-primary-font-family);
  font-size: var(--fc-upper-text);
  color: var(--fc-upper-color);
  font-style: var(--fc--upper-style);
  font-weight: var(--fc--upper-weight);
}

.portalet_section_two .section_two_left_wrapper,
.portalet_contact_section_one_left_title {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}

.section_two_straight_line {
  width: 40%;
  height: 1px;
  background-color: var(--fc-main-title-color);
}

.portalet_section_two .section_two_right_button {
  margin-top: 3rem;
}

.portalet_section_two .section_two_right_button a,
.wpcf7-form-control.wpcf7-submit,
#submit_booking_portalet_89 {
  font-size: var(--fc-button-text);
  text-transform: var(--fc-button-trans);
  text-decoration: var(--fc-button-decor);
  color: var(--fc-button-color);
  transition: all 0.3s ease-in;
}

.portalet_section_two .section_two_right_button:hover a,
.wpcf7-form-control.wpcf7-submit:hover,
#submit_booking_portalet_89:hover {
  color: #fff;
  transition: all 0.3s ease-out;
}

.portalet_inner_banner {
  aspect-ratio: 24/5;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bg_banner_home {
  background-color: #f7f7f7;
}

.portalet_section_two.bg_banner_home .section_two_left_wrapper {
  flex-direction: column;
  align-items: start;
  gap: 4rem;
}

.portalet_section_two.bg_banner_home .section_two_left_wrapper img {
  width: 100%;
}

/********************************Hostal Page *********************************************/

#hostal_main_slider .slick-track,
#hostal_secondary_slider .slick-track {
  height: 600px;
  display: flex;
  gap: 20px;
}

.slick-slide img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

#hostal_main_slider .slick-dots,
#hostal_secondary_slider .slick-dots {
  bottom: 10px;
}

#hostal_main_slider .slick-dots,
#hostal_secondary_slider .slick-dots {
  visibility: hidden;
}

.portalet_hostal_section_one .portalet_inner_wrapper {
  padding: var(--fc-secondary-padding);
  padding-bottom: 5rem;
}

.page-template-rooms-page .portalet_hostal_section_one {
  margin-bottom: 10rem;
}

#hostal_main_slider .slick-dots li,
#hostal_secondary_slider .slick-dots li {
  margin: 0;
  width: 100%;
}

#hostal_main_slider .slick-dots li button,
#hostal_secondary_slider .slick-dots li button {
  width: 100%;
  height: 8px;
  padding: 0;
  background: rgba(0, 0, 0, 0.2);
  /* transition: background 0.3s ease-in; */
}

#hostal_main_slider .slick-dots .slick-active button,
#hostal_secondary_slider .slick-dots .slick-active button {
  background: var(--fc-button-color);
  /* transition: background 0.3s ease-out; */
}

#hostal_secondary_slider.slick-dotted.slick-slider {
  margin-bottom: 100px;
}

#hostal_main_slider .slick-dots li button:before,
#hostal_secondary_slider .slick-dots li button:before {
  content: "\002D";
  font-size: 45px;
}

#hostal_main_slider .slick-dots li button:before,
#hostal_secondary_slider .slick-dots li button:before {
  line-height: 0;
  font-size: 0;
  height: 8px;
}

/********************************Rooms Page *********************************************/

#portal_hostal_gallery {
  --s: 150px; /* control the size */
  --g: 10px; /* control the gap */
  --f: 1.5; /* control the scale factor */

  display: grid;
  gap: var(--g);
  /* width: calc(3 * var(--s) + 2 * var(--g)); */
  aspect-ratio: 1;
  grid-template-columns: repeat(3, auto);
  padding: var(--fc-secondary-padding);
}

#portal_hostal_gallery > img {
  width: 0;
  height: 0;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  filter: grayscale(80%);
  transition: 0.35s linear;
}

#portal_hostal_gallery img:hover {
  filter: grayscale(0);
  width: calc(var(--s) * var(--f));
  height: calc(var(--s) * var(--f));
}

/************************Rooms***********************************/

.portalet_rooms_section_one {
  margin-top: 6rem;
}

.single-project__block-two__double-expand-image,
.single-project__block-two__double-rectangular-image,
.single-project__block-two__double-square-image {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.single-project__block-two__double-expand-image > div,
.single-project__block-two__double-rectangular-image > div,
.single-project__block-two__double-square-image > div {
  flex: 1;
}

.single-project__block-two__double-expand-image > div img {
  aspect-ratio: 2/3;
  height: auto;
  object-fit: cover;
}

.single-project__block-two__double-rectangular-image > div img {
  aspect-ratio: 4/3;
  height: auto;
  object-fit: cover;
}

.single-project__block-two__double-square-image > div img {
  aspect-ratio: 1/1;
  height: auto;
  object-fit: cover;
}

/*********************************************Footer************************************/

#portalet_main_footer {
  /* background-color: var(--fc-main-title-color); */
  background-color: var(--fc-shade-color);
  display: flex;
  flex-direction: column;
  /* gap: 7rem; */
}

/* .page-template-hostal-page #portalet_main_footer {
  background-color: var(--fc-main-title-color);
} */

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

#portalet_main_footer .portalet_inner_wrapper:first-child {
  padding-top: 6rem;
  display: flex;
}

#portalet_main_footer .portalet_inner_wrapper:last-child {
  padding-bottom: 6rem;
}

.portalet_footer_section_one {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  /* justify-content: space-between; */
}

.portalet_footer_section_three {
  flex: 1;
}

.portalet_footer_logo_wrapper img {
  max-width: 340px;
  width: 100%;
}

.copyright-text,
.copyright-text p,
.copyright-text a {
  display: inline;
  color: var(--fc-main-title-color);
  font-size: 1.3rem;
  text-decoration: none;
}

.footer_menu_one {
  display: flex;
  gap: 3.5rem;
  font-size: 1.6rem;
  text-transform: uppercase;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_menu_one li a,
.portalet_footer_section_two_contact_title a {
  color: var(--fc-main-title-color);
  text-decoration: none;
  font-weight: 500;
}

.portalet_footer_section_two_contact_title {
  margin-bottom: 2rem;
}

.portalet_footer_section_two_contact_title a {
  font-size: 1.6rem;
  text-transform: uppercase;
}

.portalet_footer_secondary_logo_wrapper {
  margin-bottom: 3rem;
}

.portalet_footer_secondary_logo_wrapper img {
  max-width: 22rem;
}

.portalet_footer_section_three_content_wrapper p {
  color: #fff;
  font-size: 1.4rem;
  line-height: 140%;
}

.portalet_footer_blog > a {
  color: var(--fc-button-color);
  text-decoration: none;
}

.portalet_footer_section_two {
  display: flex;
  flex-direction: column;
  align-self: center;
  width: 40%;
  gap: 2rem;
}
.portalet_email_contact_wrapper a,
.portalet_phone_contact_wrapper a,
.portalet_location_contact_wrapper a {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 1.6rem;
  color: var(--fc-main-title-color);
  text-decoration: none;
  p {
    margin: 0;
  }
}

.portalet_footer_section_two_information_wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 2.3rem;
}

.portalet_footer_section_three_social_wrapper h3,
.portalet_footer_secondary_logo_wrapper > p {
  color: var(--fc-main-title-color);
  font-size: 1.4rem;
  margin: 0;
}

.portalet_footer_secondary_logo_wrapper > p {
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.social_media_icon_wrapper img {
  width: 25px;
}

.portalet_footer_section_three_social_wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}
.portalet_footer_section_three_social_items {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legal_menu_one {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding-left: 0;
  font-size: 1.3rem;
  margin: 0;
}

.legal_menu_one li {
  position: relative;
}

.legal_menu_one li a {
  color: var(--fc-main-title-color);
  text-decoration: none;
}

.legal_menu_one li:not(:last-child):after {
  content: "\00B7";
  color: var(--fc-main-title-color);
  position: absolute;
  right: -1.5rem;
  font-size: 30px;
}

.potalet-footer__section-two--image > img {
  max-width: 35rem;
}

.portalet_footer_section_three_content_wrapper--group-hotels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  a {
    color: var(--fc-main-title-color);
    text-decoration: none;
  }
}

.contact_icon_wrapper svg path {
  fill: var(--fc-main-title-color);
}

/*********************************Contact***********************************/

.portalet_contact_section_one .portalet_inner_wrapper > div {
  width: 50%;
  font-size: 1.6rem;
}

/**Form */

.novapedra-form-inputs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.novapedra-form-element-wrapper label {
  display: none;
}

.novapedra-form-element-wrapper input[type="text"],
.novapedra-form-element-wrapper input[type="email"],
.novapedra-form-element-wrapper input[type="tel"],
.novapedra-form-element-wrapper textarea {
  border: none;
  border-bottom: 1px solid #878486;
  background-color: unset;
  padding: 0.5rem 0.4rem;
  width: 100%;
}

.novapedra-form-element-wrapper input[type="text"]::placeholder,
.novapedra-form-element-wrapper input[type="email"]::placeholder,
.novapedra-form-element-wrapper input[type="tel"]::placeholder,
.novapedra-form-element-wrapper textarea::placeholder {
  font-size: 1.7rem;
  color: #666;
  font-family: var(--fc-primary-font-family);
}

.novapedra-form-element-wrapper input[type="text"]:focus,
.novapedra-form-element-wrapper input[type="email"]:focus,
.novapedra-form-element-wrapper input[type="tel"]:focus,
.novapedra-form-element-wrapper textarea:focus {
  outline: unset;
}

.novapedra-form-acceptance-wrapper {
  position: relative;
  margin-top: 1rem;
}

.novapedra-form-acceptance-wrapper .wpcf7-list-item {
  margin: 0;
}

.wpcf7.js {
  width: 100%;
}

.novapedra-form-acceptance-wrapper .wpcf7-list-item-label,
.wpcf7-not-valid-tip,
.wpcf7-response-output {
  font-family: var(--fc-primary-font-family);
  font-size: 1.5rem;
  line-height: 130%;
  color: #595d5d;
}

.wpcf7-not-valid-tip {
  color: red;
  margin-top: 5px;
}

.novapedra-form-acceptance-wrapper .wpcf7-list-item label {
  display: flex;
  gap: 17px;
}

.wpcf7-form-control.wpcf7-submit {
  /* font-size: 1.8rem;
  font-weight: 700;
  line-height: 130%;
  color: #555;
  margin-top: 70px; */
}

.wpcf7-form-control.wpcf7-submit:hover,
.wpcf7-form-control.wpcf7-submit:focus {
  color: #fff;
}

.wpcf7-form-control.wpcf7-submit:focus {
  outline: none;
}
/********Checbox********/

#yourConsent {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.checkbox-wrapper-31:hover .check {
  stroke-dashoffset: 0;
}

.checkbox-wrapper-31 {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
}
.checkbox-wrapper-31 .background {
  fill: #ccc;
  transition: ease all 0.6s;
  -webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 .stroke {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 2px;
  stroke-dashoffset: 100;
  stroke-dasharray: 100;
  transition: ease all 0.6s;
  -webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 .check {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  stroke-dashoffset: 22;
  stroke-dasharray: 22;
  transition: ease all 0.6s;
  -webkit-transition: ease all 0.6s;
}
.checkbox-wrapper-31 input[type="checkbox"] {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  margin: 0;
  opacity: 0;
  -appearance: none;
  -webkit-appearance: none;
}
.checkbox-wrapper-31 input[type="checkbox"]:hover {
  cursor: pointer;
}
.checkbox-wrapper-31 input[type="checkbox"]:checked + svg .background {
  fill: #595d5d;
}
.checkbox-wrapper-31 input[type="checkbox"]:checked + svg .stroke {
  stroke-dashoffset: 0;
}
.checkbox-wrapper-31 input[type="checkbox"]:checked + svg .check {
  stroke-dashoffset: 0;
}

.checkbox-wrapper-31 {
  transform: scale(0.5) translateX(-50%) translateY(-50%);
  position: absolute;
  top: 0;
  left: 0;
}

.button_effect_slide a {
  position: relative;
}

.novapedra-form-submit-wrapper {
  display: inline-block;
  position: relative;
  margin-top: 6rem;
}

.button_effect_slide a::before,
.novapedra-form-submit-wrapper::before {
  background-color: #555;
}

.page-template-contact-page .portalet_contact_section_one_left_text {
  padding-right: 18%;
  margin-top: 3rem;
}

/*************************Bookyng_system***********************************************/

#portalet_booking_container_89 {
  /* background-color: var(--fc-main-title-color); */
  background-color: var(--fc-shade-color);
  .portalet_inner_wrapper {
    padding: 4rem 0;
  }
}

.qty-input input[type="number"] {
  font-weight: 400;
  color: var(--fc-quantity-color);
}

.qty-input {
  color: var(--fc-black);
  background: var(--fc-white);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 2rem;
  /* border: 1px solid #000; */

  .product-qty,
  .qty-count {
    background: transparent;
    color: inherit;
    font-weight: bold;
    font-size: inherit;
    border: none;
    display: inline-block;
    min-width: 0;
    height: 4rem;
    line-height: 1;

    &:focus {
      outline: none;
    }
  }

  .product-qty {
    width: 50px;
    min-width: 0;
    display: inline-block;
    text-align: center;
    appearance: textfield;
    /* border-left: 1px solid #000;
    border-right: 1px solid #000; */

    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
      appearance: none;
      margin: 0;
    }
  }

  .qty-count {
    padding: 0;
    cursor: pointer;
    width: 3.5rem;
    font-size: 1.25em;
    text-indent: -100px;
    overflow: hidden;
    position: relative;

    &:before,
    &:after {
      content: "";
      height: 2px;
      width: 10px;
      position: absolute;
      display: block;
      background: #999;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto;
    }

    &.qty-count--minus {
      /* border-right: 1px solid var(--fc-smoke); */
    }

    &.qty-count--add {
      /* border-left: 1px solid var(--fc-smoke); */

      &:after {
        transform: rotate(90deg);
      }
    }

    &:disabled {
      color: var(--fc-gray);
      background: var(--fc-disable);
      cursor: not-allowed;
      border-color: transparent;

      &:before,
      &:after {
        background: var(--fc-gray);
      }
    }
  }
}

.bokking_esportalet_form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

#formGroupStart,
#formGroupEnd {
  position: relative;
}

.form-group input[type="date"] {
  height: 4rem;
  padding-left: 1rem;
  font-size: 2rem;
  font-weight: 400;
  color: var(--fc-quantity-color);
  border: none;
}

.Zebra_DatePicker_Icon {
  opacity: 0.5;
}

#formGroupStart .Zebra_DatePicker,
#formGroupEnd .Zebra_DatePicker {
  top: 80px !important;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  label {
    color: var(--fc-main-title-color);
    font-size: 1.4rem;
    font-weight: 600;
  }
}

#submit_booking_portalet_89 {
  align-self: end;
  margin-left: 2rem;
  background-color: transparent;
  /* box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset,
    rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset; */
  color: var(--fc-button-color);
  border: 1px solid var(--fc-button-color);
  transition: all 0.3s ease-in;
}

#submit_booking_portalet_89:hover {
  transform: scale(1.05);
  /* box-shadow: rgb(204, 219, 232) 4px 4px 7px 0px inset,
    rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset; */
  background-color: var(--fc-button-color);
  transition: all 0.3s ease-out;
  color: #fff;
}

/************************** Legal Page *********************************************/

#portalet_legal_89 .portalet_inner_wrapper {
  padding-bottom: 4rem;
  min-height: 50vh;
}

.page-template-legal-page p {
  margin-bottom: 2rem;
}

.page-template-legal-page h2 {
  margin: 2.4em 0 0.67em 0;
  text-transform: uppercase;
}

.page-template-legal-page h3 {
  margin: 1.4em 0 0.67em 0;
  text-transform: uppercase;
}
.page-template-legal-page .portalet_footer_section_three_social_wrapper h3 {
  margin: 0;
}

/*******************************Blog ************************************************/

.blog-page__section-one--inner {
  padding-bottom: 10rem;
  min-height: calc(100vh - 60rem);
}

.blog-page__section-one__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

.blog-page__section-one__title {
  margin-bottom: 6rem;
  display: flex;
  gap: 4rem;
  align-items: flex-end;
}

.blog-page__section-one__grid--element > img {
  aspect-ratio: 1 / 1;
  height: auto;
}

.blog-page__section-one__grid--element a {
  text-decoration: none;
  color: var(--fc-main-color);
}

.bloog-page__loop--pagination {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 6rem 0;
}

.bloog-page__loop--pagination .page-numbers {
  font-size: 2rem;
  font-weight: 600;
  color: var(--fc-main-color);
  text-decoration: none;
}

.bloog-page__loop--pagination .page-numbers.current,
.bloog-page__loop--pagination .next,
.bloog-page__loop--pagination .prev {
  color: var(--fc-button-color);
}

/***************************Single Post***********************************************/

.single-post .fc-single-post--inner {
  min-height: calc(100vh - 60rem);
  padding-bottom: 10rem;
}

.fc-single-post__title {
  margin-top: 1rem;
  margin-bottom: 4rem;
  line-height: 1.2;
}

/*******************************Error 404*********************************************/

.portalet_error {
  position: relative;
  height: calc(100vh - 12.7rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.portalet_error img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.portalet_error-inner {
  z-index: 1;
  max-width: 59.2rem;
  width: 100%;
  background: rgba(141, 35, 34, 0.2);
  backdrop-filter: blur(2px);
  border-radius: 10px;
  padding: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portalet_error-inner h1 {
  font-family: var(--fc-primary-font-family);
  font-size: 8rem;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  text-align: center;
  margin: 0;
}

.portalet_error--content {
  margin-top: 8px;
}

.portalet_error--content p {
  text-align: center;
  color: #fff;
  font-size: 1.8rem;
}

.portalet_error--button.factoria_button_87 {
  border: 1px solid #fff;
  margin-top: 3rem;
}

.portalet_error--button.factoria_button_87 a {
  color: #fff;
  text-decoration: none;
}

/*****************************Instagram************************************************/

.portalet_section_instagran .portalet_inner_wrapper {
  padding: 6rem 0;
}

/******************************Cookie Policy ********************************************/

#portalet_legal_89 #cmplz-document {
  max-width: 100%;
}

#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div,
#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div {
  grid-template-columns: 2fr auto 201px 1px 23px;
}

/* Note: backdrop-filter has minimal browser support */

/***************************Media Queries**********************************************/

@media (max-width: 1280px) {
  :root {
    --fc-primary-padding: 0 6rem;
    --fc-main-title: 4rem;
  }

  /****************************Header********************************/
  .custom_logo_wrapper img {
    max-width: 21rem;
  }

  .header_menu_one {
    gap: 3.5rem;
    font-size: 1.5rem;
  }

  /******************Footer*************************************/
  .portalet_footer_logo_wrapper img {
    max-width: 28rem;
  }

  .portalet_footer_section_one {
    width: 35%;
  }

  .portalet_footer_section_two {
    width: 45%;
  }
}

@media (max-width: 1090px) {
  :root {
    --fc-primary-padding: 0 4.5rem;
    --fc-main-title: 3.5rem;
  }

  /****************************Header********************************/

  .header_menu_one .menu-item:not(:last-child) {
    display: none;
  }

  .custom_menu_secondary {
    flex: 1;
  }

  .header_menu_one {
    justify-content: flex-end;
    margin-right: 6rem;
  }

  .nav__list {
    /* gap: 6rem; */
    gap: 3.5rem;

  }

  .nav__list-item {
    /* font-size: 5.5vh; */
    font-size: 3.5vh;

  }
  /***************************Reservation section**********/
  .bokking_esportalet_form {
    flex-wrap: wrap;
  }

  .copyright-text {
    width: 30%;
  }

  /**********************Rooms**********************/

  .section_two_straight_line {
    width: 30%;
  }
}

@media (max-width: 850px) {
  html {
    /* 8/16 */
    font-size: 50%;
  }

  :root {
    --fc-primary-padding: 0 3rem;
  }

  /***************************************home********************************************/

  .portalet_section_two .section_two_left_wrapper,
  .portalet_contact_section_one_left_title {
    gap: 3.5rem;
  }

  .banner_home_single_text {
    line-height: 1.3em;
  }
  .portalet_inner_banner {
    aspect-ratio: 1/1;
    background-attachment: unset;
  }

  /***************************Reservation section**********/

  #formGroupStart .Zebra_DatePicker,
  #formGroupEnd .Zebra_DatePicker {
    left: -70px !important;
  }

  /***********************blog*********************************/
  .blog-page__section-one__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 540px) {
  #submit_booking_portalet_89 {
    margin-left: 0;
    width: 80%;
  }

  /**********General***************/

  .google-map__container {
    aspect-ratio: 1/1 !important;
    position: relative;
  }

  .portalet_section_two .portalet_inner_wrapper,
  .portalet_contact_section_one .portalet_inner_wrapper {
    align-items: unset;
    flex-direction: column;
    gap: 3rem;
  }

  /*******************Header********************************/

  .header_menu_one {
    margin-right: 1rem;
  }

  /**********************Footer****************************/

  #portalet_main_footer {
    gap: 3rem;
  }

  #portalet_main_footer .portalet_inner_wrapper:first-child {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .portalet_footer_section_one,
  .portalet_footer_section_two {
    width: 100%;
  }

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

  .copyright-text {
    width: 100%;
  }
  #portalet_banner_89 .banner_home_single_wrapper {
    padding: 0;
  }

  .footer_menu_one {
    gap: 2.5rem;
  }

  .legal_menu_one {
    flex-wrap: wrap;
    row-gap: 0;
  }

  /**************************************Hostel******************************/
  #hostal_main_slider .slick-track,
  #hostal_secondary_slider .slick-track {
    height: 350px;
  }

  .form-group input[type="date"] {
    padding-right: 16px !important;
  }

  /*************************Rooms***************************/

  #portal_hostal_gallery {
    padding-bottom: 0;
  }

  .single-project__block-two__double-expand-image .slick-track > div,
  .single-project__block-two__double-rectangular-image .slick-track > div,
  .single-project__block-two__double-square-image .slick-track > div {
    display: flex;
    justify-content: center;
  }

  .single-project__block-two__double-rectangular-image > div img,
  .single-project__block-two__double-square-image > div img {
    width: 90%;
  }

  .single-project__block-two__double-expand-image > div img {
    width: 80%;
  }

  .portalet_rooms_section_one.portalet_main_wrapper_center {
    padding: 0 6rem;
  }

  .portalet_rooms_section_one .slick-prev:before,
  .portalet_rooms_section_one .slick-next:before {
    color: var(--fc-button-color);
  }

  .single-project__block-two__double-expand-image,
  .single-project__block-two__double-rectangular-image,
  .single-project__block-two__double-square-image {
    margin-top: 8rem;
  }
  /***************************Contact****************************************/
  .portalet_contact_section_one .portalet_inner_wrapper > div {
    width: 100%;
  }

  /*****************************Blog************************************/
  .blog-page__section-one__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 400px) {
  .custom_menu_secondary {
    padding-right: 2rem;
  }
}
