:root {
  --primary-col: #87775e;
  --secondary-col: #d1e5e4;
  --third-col: #c96e57;
  --main-font: "Nunito", serif;
  --text-col: #1f2933;
  --orange-dark: rgba(135, 119, 94, 1);
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-Bold.ttf");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-ExtraBold.ttf");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-Black.ttf");
  font-weight: 900;
  font-style: normal;
}

* {
  font-family: var(--main-font);
}

body {
  margin-top: 64px;
  scroll-snap-type: y proximity;
}

h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 0.95;
}

h5 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

a {
  text-decoration: none;
}

.admin-bar .offcanvas {
  top: 46px;
}

.admin-bar .navbar {
  top: 46px;
}

/* NAVBAR */
.navbar {
  width: 100%;
  transition: all 0.3s ease-in-out;
  padding: 5px 0;
  height: 64px;
}

.navbar.navbar-shrink {
  height: 80px;
}

.navbar-shadow {
  box-shadow: 0 3px 7px -2px rgba(0, 0, 0, 0.5);
}

.logo-container {
  width: 96px;
  height: auto;
  transition: all 0.3s ease-in-out;
  top: 8px;
  left: 12px;
}

.logo-container-menu {
  width: 96px;
  height: auto;
  transition: all 0.3s ease-in-out;
  left: 0;
}

.logo-container a {
  padding: 4px;
}

.navbar-nav {
  list-style: none;
  display: flex;
  width: 100%;
}

.navbar-expand-lg .navbar-nav .nav-link {
  position: relative;
  color: var(--text-col);
  padding: 8px 0;
  padding-left: 0;
  text-transform: uppercase;
  font-weight: 800;
  display: block;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-item .nav-modal-btn {
  position: relative;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.2;
  font-size: 14px;
}

/* hamburger */

.navbar-toggler {
  position: relative;
  width: 32px;
  height: 32px; /* Adjusted height for better spacing */
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
  z-index: 1051; /* Ensure it stays above the offcanvas */
}

.navbar-toggler .line {
  width: 30px;
  height: 2px;
  background-color: var(--text-col); /* Adjust as needed */
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.navbar-toggler .line.top {
  transform-origin: center;
}

.navbar-toggler .line.middle {
  transform-origin: center;
  transition: opacity 0.2s ease-in-out, transform 0.3s ease-in-out;
}

.navbar-toggler .line.bottom {
  transform-origin: center;
}

/* When menu is open (aria-expanded="true") */
.navbar-toggler[aria-expanded="true"] .line.top {
  transform: rotate(-45deg) translateY(11px); 
  width: 30px;
}

.navbar-toggler[aria-expanded="true"] .line.middle {
  opacity: 0; /* Fades out */
  transform: scaleX(0); /* Optional shrink effect */
}

.navbar-toggler[aria-expanded="true"] .line.bottom {
  transform: rotate(45deg) translateY(-11px);
  width: 30px;
}


/*/////*/

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus,
.btn-close:focus {
  outline: none;
  box-shadow: none;
}

.offcanvas-header .btn-close {
  padding-top: 30px;
}

.custom-btn {
  background-color: var(--primary-col);
  border: 2px solid var(--primary-col);
  color: #fff;
  padding: 8px 16px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.5;
  white-space: nowrap;
  transition: all 0.25s ease-in-out;
  border-radius: 0;
}

.custom-btn:hover {
  background-color: #fff;
  color: var(--primary-col);
  border: 2px solid var(--primary-col);
}

/* MODAL */

.modal {
  background-color: #0072ff38;
}

.modal-dialog {
  width: auto;
}

.modal-header {
  border: 0;
  padding: 16px 8px;
}

.modal-title h5 {
  line-height: 1;
  margin: 0;
}

.modal-content {
  border: 2px solid var(--primary-col);
  border-radius: 0;
  padding: 16px;
  box-shadow: 12px 12px 2px 1px var(--primary-col);
}

.modal-header .btn-close {
  font-size: 12px;
  color: #000;
  opacity: 1;
}

.modal-body {
  padding: 0 8px;
}

.partners-logo {
  margin: 0 auto;
  padding: 16px 10px;
}

.partners-logo img {
  width: 100%;
  height: auto;
}

.prenota-form {
  padding: 32px 8px;
}

.prenota-form p {
  margin-bottom: 0;
}

/* MODAL FORM */

.modal-body .prenota-form input {
  border: none;
  border-bottom: 1px solid var(--primary-col);
  box-shadow: none;
  border-radius: 0;
  color: #000;
  padding: 16px 0;
  width: 100%;
  margin: 0;
  outline: none;
}

.prenota-form label {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  color: #787f88;
  text-transform: uppercase;
}

.form-select {
  margin-top: 8px;
}

.form-select:focus {
  outline: none;
  box-shadow: none;
  border: 1px solid var(--primary-col);
}

.modal-body .prenota-form .send-btn {
  background-color: var(--primary-col);
  border: 2px solid var(--primary-col);
  color: #fff;
  padding: 16px 32px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.5;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  width: auto;
  margin-left: auto;
  margin-right: 16px;
  margin-top: 90px;
}

.modal-body .prenota-form .send-btn:hover {
  background-color: #fff;
  color: var(--primary-col);
}

/* HERO */
.hero-section {
 height: 72vh;
}

.heading-container {
  height: 72vh;
}

.heading-container h1 {
  position: relative;
  line-height: 0.95;
  color: #fff;
  display: inline-block;
  z-index: 10;
  margin-bottom: 35px;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
}

.heading-container p {
  color: #000;
  z-index: 10;
  position: relative;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 20px;
  padding-left: 0;
  text-transform: uppercase;
}

.heading-container p::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 3840px;
  background-color: var(--secondary-col);
  height: 100%;
  z-index: -1;
}

.apartments-heading {
  position: absolute;
  max-width: 500px;
  width: 100%;
}

.swiper-container {
  position: absolute;
}

.visita-btn-large {
  position: relative;
  min-height: 98px;
  background-color: var(--primary-col);
  z-index: 20;
  bottom: -30px;
}

.visita-btn {
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  padding: 32px 16px;
  line-height: 1.5;
  text-transform: uppercase;
  outline: none;
  border: none;
  border-radius: 0;
}

.visita-btn:hover {
  color: var(--primary-col);
}

.visita-btn button:focus {
  outline: none;
  box-shadow: none;
}

.hero_swiper {
  height: 100%;
}

.swiper-slide {
  height: auto;
  width: 100%;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next.swiper-button-next-card,
.swiper-button-prev.swiper-button-prev-card {
  background-color: #bfbcb3;
  color: #fff;
  bottom: 0;
  right: 0;
  width: 64px;
  height: 64px;
  top: unset;
  transition: all 0.3s ease-in-out;
}

.swiper-button-next.swiper-button-next-card:hover,
.swiper-button-prev.swiper-button-prev-card:hover {
  background-color: var(--primary-col);
}

.swiper-button-prev.swiper-button-prev-card {
  right: 64px;
  left: unset;
}

.swiper-button-next.swiper-button-next-card::after,
.swiper-button-prev.swiper-button-prev-card::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
}

.swiper-button-prev.swiper-button-prev-card::after {
  background-image: url("assets/images/arrow-left.svg");
}

.swiper-button-next.swiper-button-next-card::after {
  background-image: url("assets/images/arrow-right.svg");
}

/* Residence */
.residence-container {
  margin-top: 192px;
  overflow: hidden;
}

.residence-box-desktop {
  width: 40%;
  height: 100%;
  left: 0;
}

.residence-box-desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.residence-box-mobile {
  width: 100%;
  height: auto;
}

.residence-box-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.residence-title {
  margin-bottom: 32px;
}

.residence-title h1 {
  position: relative;
  color: var(--text-col);
  display: inline-block;
  z-index: 1;
}

.residence-title h1::after {
  content: "";
  position: absolute;
  left: 115%;
  bottom: 5px;
  width: 3840px;
  background-color: var(--secondary-col);
  height: 48px;
  z-index: -1;
}

.text-content {
  margin-bottom: 16px;
}

.text-content:last-child {
  margin-bottom: 0;
}

.text-line {
  background-color: var(--third-col);
  height: 3px;
  width: 32px;
}

.text-line-lg {
  background-color: var(--third-col);
  height: 5px;
  width: 48px;
}

.residence-content p {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-col);
  margin-bottom: 0;
  margin-left: 20px;
  word-wrap: break-word;
  display: inline-block;
}

.residence-content-right p {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-col);
  word-wrap: break-word;
}

.residence-content-light p {
  font-size: 16px;
  color: var(--text-col);
  word-wrap: break-word;
  text-align: justify;
}

.residence-bold {
  font-weight: 800;
}

.residence-btn-container {
  margin-top: 32px;
}

.residence-col-2 {
  margin-top: 32px;
}

/* Message section */

.message-section {
  margin: 64px 0;
}

.message-content {
  padding: 64px 0;
}

.message-content h5 {
  margin-bottom: 32px;
}

.message-content h5:last-child {
  margin-bottom: 0;
}

/* Apartments */
.apartments-section {
  margin: 64px 0;
}

.apartments-content {
  padding-top: 32px;
}

/* Swiper Section */
.swiper-section {
  margin: 64px 0;
}

.swiper-block-container {
  min-height: 600px;
  margin-top: 32px;
  margin-bottom: 64px;
}

.swiper-tehno {
  width: 50%;
}

.techno_swiper {
  overflow: visible;
  overflow-x: clip;
}

.swiper-slide-block {
  max-height: 630px;
  width: auto;
}

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

.swiper-pagination {
  text-align: start;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -30px;
}

.swiper-pagination-bullet {
  width: 32px;
  height: 5px;
  border-radius: 0;
}

.swiper-pagination-bullet-active {
  background-color: #000;
}

/* Parallax */
.photo-section {
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Footer */

.footer-section {
  margin-top: 128px;
  padding: 64px 16px;
  border-top: 5px solid var(--text-col);
}

.ftr-content {
  margin-bottom: 32px;
}

.ftr-content:last-child {
  margin-bottom: 0;
}

.footer-info {
  font-size: 16px;
  line-height: 1.5;
}

.wincasa-title p {
  font-weight: 800;
}

.location p {
  margin: 0;
}

.footer-info a {
  color: var(--text-col);
}

.links p {
  margin: 0;
}

.footer-info .mail {
  font-weight: 800;
  transition: all 0.2s ease-in-out;
}

.footer-info .mail:hover {
  color: var(--primary-col);
}

.footer-logo {
  max-width: 160px;
  height: auto;
  aspect-ratio: 1.7 / 1;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wincasa-logo {
  max-width: 175px;
  height: auto;
}

.wincasa-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.footer-menu .menu-item {
  display: flex;
  font-weight: 800;
  align-self: center;
}

.footer-menu .menu-item:hover {
  color: var(--primary-col);
}

/* Privacy Policy */
.privacy-policy-section {
  margin: 128px 0;
}

.content-policy a {
  color: var(--text-col);
  transition: 0.1s all ease-in;
}

.content-policy a:hover {
  color: var(--primary-col);
}

/* Hero */
.pages-hero {
  width: 100%;
  height: 345px;
}

.hero-img-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Page sections */

.page-sections {
  margin: 32px 0;
}

.page-container {
  margin: 96px 0;
}

.big-image-container {
  width: 50%;
}

.big-img {
  margin-top: 32px;
  min-height: 450px;
}

.big-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-title h1 {
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
}

.text-link {
  color: var(--secondary-col);
  transition: all 0.2s ease-in-out;
}

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

/* Details scroll */
.details-scroll {
  margin: 150px 0;
}

.details-title h1 {
  position: relative;
  color: var(--text-col);
  display: inline-block;
  z-index: 1;
  margin: 0;
  margin-bottom: 32px;
}

.details-title h1::after {
  content: "";
  position: absolute;
  left: 160%;
  bottom: 10px;
  width: 3840px;
  background-color: var(--secondary-col);
  height: 48px;
  z-index: -1;
}

.photo-part {
  margin-top: 32px;
}

.photo-part h1 {
  font-size: 24px;
  background-color: var(--secondary-col);
  padding: 30px 80px;
  margin: 0;
  top: 0;
  left: 0;
	z-index: 99;
}

.photo-img {
  max-width: 320px;
  height: auto;
}

.photo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.round-img {
  border-radius: 50%;
  overflow: hidden;
  max-width: 500px;
  max-height: 500px;
  left: 20%;
  z-index: -2;
  margin-top: 100px;
}

.round-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.square-img {
  margin-top: 70px;
  max-width: 370px;
  max-height: 363px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.square-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.big-img-scroll {
  max-height: 650px;
  z-index: -2;
  margin-bottom: 80px;
  margin-top: 70px;
}

.big-img-scroll img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Apartments */
.apartments-table-section {
  margin: 64px 0;
}

.title-table {
  padding: 16px 32px;
  background-color: var(--secondary-col);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}

.accordion-item {
  border: 0;
  outline: none;
}

.accordion-button {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 32px;
  border-bottom: 2px solid #bebcb3;
}

.accordion-button:hover {
  background-color: #95c4c1;
}

.accordion-button:focus {
  outline: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--text-col);
  background-color: #95c4c1;
  border: none;
}

.accordion-button::after {
  content: "\2193";
  background-image: none;
  width: 28px;
  height: 28px;
  text-align: center;
}

.accordion-button:not(.collapsed)::after {
  background-image: none;
}

.accordion-item .accordion-button:not(.collapsed) .accordion-header {
  border-bottom: none;
}

.accordion-item:first-of-type > .accordion-header .accordion-button,
.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
  border-radius: 0;
}

.accordion-body {
  padding: 16px 32px;
}

.apartment-row {
  border-bottom: 1px solid #bebcb3;
  padding: 8px 0;
  transition: all 0.2s ease-in-out;
}

.apartment-row:hover {
  background-color: #95c4c1;
}

.apartment-row .appartment-info {
  width: 100%;
}

.apartment-row .apartment-values {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  color: #9da1a3;
  word-wrap: break-word;
}

.apartment-row .apartment-values:first-child {
  padding-left: 0;
}

.apartment-row .rented {
  color: var(--secondary-col);
  padding: 8px;
  width: 100%;
}

/***************************************************************
                      WINCASA ALARM
***************************************************************/
.warteliste-section {
  background-color: rgba(209, 229, 228, 1);
  padding: 80px 0;
}

.warteliste-section .editor {
  text-align: center;
  max-width: 586px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.subscribe-form .um {
  margin-bottom: 0 !important;
}

.warteliste-section .lista-icon {
  width: 30px;
  height: 32px;
  margin-bottom: 20px;
}

.warteliste-section .lista-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.warteliste-section h2 {
  margin-bottom: 30px;
}

#um-submit-btn {
  background: var(--orange-dark) !important;
  padding: 8px 16px !important;
  border-radius: 0px !important;
  font-weight: 700 !important;
  line-height: 1.75 !important;
  font-size: 16px !important;
  border: 0 !important;
  height: 80px !important;
}

.um .um-cover-add:hover,
.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i,
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um .um-item-meta a,
.um .um-member-less a:hover,
.um .um-member-more a:hover,
.um .um-member-name a:hover,
.um .um-members-pagi a:hover,
.um .um-profile-subnav a.active,
.um .um-tip:hover,
.um-account-name a:hover,
.um-account-nav a.current,
.um-account-side li a.current span.um-account-icon,
.um-account-side li a.current:hover span.um-account-icon,
.um-dropdown li a:hover,
i.um-active-color,
span.um-active-color {
  color: var(--orange-dark) !important;
}

.subscribe-form a {
  color: var(--orange-dark) !important;
  margin-left: 5px;
}

.um-form-field input,
.um-form input[type="number"],
.um-form input[type="password"],
.um-form input[type="search"],
.um-form input[type="tel"],
.um-form input[type="text"] {
  padding: 30px 0;
  margin-bottom: 50px;
}

#user_email-120 {
  font-size: 18px !important;
  padding-top: 23px !important;
  padding-bottom: 23px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  line-height: 1.8px !important;
  height: 80px !important;
}

._um_row_1 {
  margin: 0 0 15px 0 !important;
}

.um-field-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.um-form #user_email-242 {
	padding: 30px 12px !important;
}

.um-notice {
  position: absolute !important;
  width: 300px !important;
  left: 0 !important;
  top: 40px !important;
  display: none;
}

/* Form  */
.acceptance-wrapper .wpcf7-list-item {
	display: flex;
	align-items: center;
	justify-content: start;
	flex-direction: row;
	margin-left: 0;
}

.acceptance-wrapper label {
	font-size: 14px!important;
	text-transform: capitalize;
	margin-top: 10px;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: start;
	flex-direction: row;
	gap: 0.3rem;
}

.acceptance-link {
	font-size: 14px!important;
	letter-spacing: 1px;
	line-height: 20px;
	margin-top: 10px;
	color: var(--primary-col);
	padding-left: 6px; 
}

/* Hamburger Menu */

.hamburger {
    display: inline-block;
    height: 26px;
    margin-right: 27px;
}

.hamburger a.main-nav-toggle {
    display: block;
    width: 28px;
    height: 16px;
    position: absolute;
    top: 25px;
    right: 0;
}

.hamburger a.main-nav-toggle:after,
.hamburger a.main-nav-toggle:before {
    content: '';
    position: absolute;
    top: 0;
    height: 0;
    border-bottom: 4px solid #bbb;
    width: 100%;
    left: 0;
    transition: all ease-out 0.3s;
}

.hamburger a.main-nav-toggle:after {
    top: 100%;
}

.hamburger a.main-nav-toggle i {
    display: block;
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
    height: 4px;
    background-color: #bbb;
    width: 100%;
    position: absolute;
    top: 50%;
    transition: all ease-out 0.1s;
}

.hamburger a.main-nav-toggle.active-menu:after {
    transform: rotate(-45deg);
    transform-origin: center;
    top: 50%;
}

.hamburger a.main-nav-toggle.active-menu:before {
    transform: rotate(45deg);
    transform-origin: center;
    top: 50%;
}

.hamburger a.main-nav-toggle.active-menu i {
    opacity: 0;
}
/*

////////////////////////////

ANIMATION

////////////////////////////

*/
.animate-top.title {
  opacity: 0;
  top: 0;
  transition: all 650ms ease-in-out;
}

.animate-top[animation="true"].title {
  opacity: 1;
  top: 15px;
}

.animate-top.residence-box-desktop {
  opacity: 0;
  top: -15px;
  transition: all 650ms ease-in-out;
}

.animate-top[animation="true"].residence-box-desktop {
  opacity: 1;
  top: 0;
}

.animate-top.message-content {
  position: relative;
  opacity: 0;
  top: -15px;
  transition: all 650ms ease-in-out;
}

.animate-top.page-title {
  position: relative;
  opacity: 0;
  top: 0;
  transition: all 750ms ease-in-out;
}

.animate-top[animation="true"].message-content {
  opacity: 1;
  top: 0;
}

.animate-top.residence-title h1,
.animate-top.text-content,
.animate-top.residence-btn-container,
.animate-top.residence-col-2,
.animate-top.apartment-desc,
.animate-top.section-title,
.animate-top.hero-img-page,
.animate-top.footer-info,
.animate-top.footer-logo,
.animate-top.wincasa-logo,
.animate-top.title-policy,
.animate-top.contenuto {
  position: relative;
  opacity: 0;
  top: -15px;
  transition: all 350ms ease-in-out;
}

.animate-top[animation="true"].residence-title h1,
.animate-top[animation="true"].text-content,
.animate-top[animation="true"].residence-btn-container,
.animate-top[animation="true"].residence-col-2,
.animate-top[animation="true"].apartment-desc,
.animate-top[animation="true"].section-title,
.animate-top[animation="true"].page-title,
.animate-top[animation="true"].hero-img-page,
.animate-top[animation="true"].footer-info,
.animate-top[animation="true"].footer-logo,
.animate-top[animation="true"].wincasa-logo,
.animate-top[animation="true"].title-policy,
.animate-top[animation="true"].contenuto {
  opacity: 1;
  top: 0;
}

.swiper-animation {
  position: relative;
  opacity: 0;
  transition: all 650ms ease-in-out;
}

.swiper-animation[animation="true"] {
  position: relative;
  opacity: 1;
}

.animate-pop.apartment {
  position: relative;
  opacity: 0;
  transition: all 650ms ease-in-out;
}

.animate-pop[animation="true"].apartment {
  opacity: 1;
}

.animate-pop.visita-btn-large {
  position: relative;
  opacity: 0;
  transition: all 650ms ease-in-out;
}

.animate-pop[animation="true"].visita-btn-large {
  opacity: 1;
}

@media (min-width: 768px) {
  .admin-bar .offcanvas {
    top: 32px;
  }

  .admin-bar .navbar {
    top: 32px;
  }

  .footer-menu > li:not(:last-child)::after {
    content: "|";
    margin: 0 8px;
    color: var(--text-col);
    font-weight: 400;
  }

.round-img {
  left: 40%;
  z-index: -2;
  margin-top: -100px;
}

.square-img {
  margin-top: 100px;
}

.big-img-scroll {
  margin-top: -200px;
}
}

@media (min-width: 992px) {
  body {
    margin-top: 111px;
  }

  h1 {
    font-size: 72px;
  }

  h5 {
    font-size: 36px;
  }

  /* NAVBAR */

  .navbar {
    height: 111px;
  }

  .navbar-nav {
    margin-top: 0;
  }

  .navbar.navbar-shrink {
    height: 79px;
  }

  .logo-container {
    width: 160px;
    top: 0;
    left: 12px;
  }

  .logo-container a {
    padding: 12px;
  }

  .prenota-vista-btn {
    padding: 8px 24px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 16px;
    padding-left: 0;
    font-size: 12px;
  }

  .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--text-col);
    bottom: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
  }

  .navbar-nav .nav-link:hover::before {
    width: 40%;
  }

  .navbar-nav .current-menu-item .nav-link::before,
  .navbar-nav .current_page_item .nav-link::before {
    width: 30%;
  }

  .navbar-nav .current-menu-item .nav-link:hover::before,
  .navbar-nav .current_page_item .nav-link:hover::before {
    width: 40%;
  }

  .nav-item .nav-modal-btn {
    padding: 8px 16px;
    padding-left: 0;
    font-size: 12px;
  }

  .nav-item .nav-modal-btn::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-col);
    border-radius: 5px;
    bottom: 0;
    left: 0;
  }

  .nav-item .nav-modal-btn:hover::before {
    width: 40%;
  }

  /* MODAL */

  .modal-header {
    padding: 32px;
  }

  .modal-body {
    padding: 0 32px;
  }

  .partners-logo {
    width: calc(100% / 3);
    margin: 0;
    padding: 16px 64px;
  }

  /* MODAL FORM */

  .prenota-form {
    padding: 0 100px 16px 100px;
  }

  .prenota-form label {
    padding-left: 8px;
  }

  .form-select {
    margin-left: 8px;
  }

  .modal-body .prenota-form .send-btn {
    margin-right: 0;
    margin-top: 40px;
  }

  /* Hero */

  .swiper-container {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
  }
	
  .heading-container .title h1 {
	margin-left: 90px;
  }

  .heading-container p {
    font-size: 36px;
  }
	
	.heading-container .apartment p {
		margin-left: 25px;
	}

  .visita-btn-large {
    position: relative;
    max-width: 380px;
    bottom: 70px;
	margin-left: 90px;
  }

  .visita-btn {
    padding-left: 0;
  }

  .visita-btn-large .visita-btn::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 3840px;
    height: 100%;
    background-color: var(--primary-col);
    z-index: -1;
    border: 2px solid var(--primary-col);
    transition: all 0.3s ease-in-out;
  }

  .visita-btn-large .visita-btn:hover::after {
    background-color: #fff;
    border: 2px solid var(--primary-col);
  }
	
	.page-title h1 {
		margin-left: 90px;
	}

  /*  */

  .swiper-button-next.swiper-button-next-card,
  .swiper-button-prev.swiper-button-prev-card {
    width: 128px;
    height: 128px;
  }

  .swiper-button-prev.swiper-button-prev-card {
    right: 128px;
  }

  .swiper-button-next.swiper-button-next-card::after,
  .swiper-button-prev.swiper-button-prev-card::after {
    width: 40px;
    height: 40px;
  }

  /* Residence */

  .text-info {
    min-height: 780px;
  }

  .residence-title {
    margin-bottom: 64px;
  }

  .residence-col-2 {
    margin-top: 0;
  }

  /* Message */

  .message-section {
    margin: 128px 0;
  }

  /* Apartments */

  .apartments-section {
    margin: 128px 0;
  }

  .apartments-content {
    padding-top: 64px;
  }

  /* Privacy Policy */
  .privacy-policy-section {
    margin: 200px 0;
  }

  /* Tehnological */
  .swiper-section {
    margin: 128px 0;
  }

  .swiper-block-container {
    margin-top: 64px;
    margin-bottom: 128px;
	min-height: 400px;
  }

  /* Footer */
  .footer-section {
    padding: 96px 0;
  }

  .ftr-content {
    margin-bottom: 0;
  }

  /* Pages Sections */
  .pages-hero {
    height: 600px;
  }

  .page-sections {
    margin: 96px 0;
  }

  .page-container {
    margin: 128px 0;
  }

  .big-img {
    margin-top: 64px;
  }

  /* Details */
  .photo-part {
    margin-top: 128px;
  }

  .photo-part h1 {
    padding: 48px 160px;
    font-size: 50px;
  }

  /* Apartments */
  .apartments-table-section {
    margin: 128px 0;
  }

  .title-table {
    font-size: 24px;
  }

  .apartment-row .appartment-info {
    width: 75%;
  }

  .apartment-row .rented {
    width: auto;
  }

  /***************************************************************
                      WINCASA ALARM
***************************************************************/
}

@media (min-width: 1200px) {
  .logo-container {
    width: 224px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 40px;
    padding-left: 0;
  }

  .nav-item .nav-modal-btn {
    padding: 8px 40px;
    padding-left: 0;
  }

  /* Details scroll */
  .details-scroll {
    margin: 192px 0;
  }

  .photo-part h1 {
    position: absolute;
    top: 620px;
    transform: rotate(-90deg);
  }
	
  .swiper-block-container {
    min-height: 440px;
  }
	
  .photo-img {
    max-width: 625px;
    height: auto;
  }

  .round-img {
    max-width: 919px;
    max-height: 919px;
    left: 45%;
    margin-top: -350px;
  }

  .square-img {
    max-width: 686px;
    max-height: 485px;
    margin-top: 100px;
  }

  .big-img-scroll {
    max-height: 800px;
    margin-top: -400px;
  }
}

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

  .blue-container {
    width: 80px;
  }
	
  .swiper-block-container {
    min-height: 500px;
  }
	
}

@media (min-width: 1600px) {
	.swiper-block-container {
    min-height: 600px;
  }
}
