/*

TemplateMo 591 villa agency

https://templatemo.com/tm-591-villa-agency

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer

--------------------------------------------- */
/*
---------------------------------------------
font & reset css
---------------------------------------------
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900');
/*
---------------------------------------------
reset
---------------------------------------------
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
div pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
figure,
header,
nav,
section,
article,
aside,
footer,
figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: '.';
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header,
nav,
section,
article,
aside,
footer,
hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: 'Poppins', sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1e1e1e;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 700;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 28px;
  color: #4a4a4a;
}

img {
  width: 100%;
  overflow: hidden;
}

/*
---------------------------------------------
Global Styles
---------------------------------------------
*/
html,
body {
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #0071f8;
  color: #fff;
}

::-moz-selection {
  background: #0071f8;
  color: #fff;
}

.section {
  margin-top: 80px;
}

.section-heading {
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 40px;
  font-weight: 700;
  text-transform: capitalize;
  margin-top: 20px;
  line-height: 56px;
}

.section-heading h2.no-capitalize {
  text-transform: none;
}

.section-heading h2 em {
  font-style: normal;
  color: #0071f8;
}

.section-heading h6 {
  /* color: #ee626b; */
  color: #2c535a;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 700;
}

.icon-button a {
  display: inline-block;
  background-color: #1e1e1e;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  height: 50px;
  line-height: 50px;
  padding: 0px 30px 0px 0px;
  border-radius: 25px;
  transition: all 0.3s;
}

.icon-button a i {
  /* background-color: #f35525; */
  background-color: #2c535a;
  height: 50px;
  width: 50px;
  text-align: center;
  border-radius: 50%;
  line-height: 50px;
  display: inline-block;
  margin-right: 15px;
  margin-left: -1px;
}

.icon-button a:hover {
  /* color: #f35525; */
  color: #2c535a;
}

.icon-button a:hover i {
  color: #fff;
}

.main-button a {
  display: inline-block;
  background-color: #2c535a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 30px;
  border-radius: 25px;
  transition: all 0.3s;
}

.main-button a:hover {
  /* background-color: #f35525; */
  background-color: #152f33;
  color: #fff;
}

/*
---------------------------------------------
Pre-loader Style
---------------------------------------------
*/

.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.99);
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@-webkit-keyframes dot {
  50% {
    -webkit-transform: translateX(96px);
    transform: translateX(96px);
  }
}

@keyframes dot {
  50% {
    -webkit-transform: translateX(96px);
    transform: translateX(96px);
  }
}

@-webkit-keyframes dots {
  50% {
    -webkit-transform: translateX(-31px);
    transform: translateX(-31px);
  }
}

@keyframes dots {
  50% {
    -webkit-transform: translateX(-31px);
    transform: translateX(-31px);
  }
}

.preloader-inner {
  position: relative;
  width: 142px;
  height: 40px;
  background: transparent;
}

.preloader-inner .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  /* background: #f35525; */
  background: #2c535a;
  border-radius: 50%;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-animation: dot 2.8s infinite;
  animation: dot 2.8s infinite;
}

.preloader-inner .dots {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  -webkit-animation: dots 2.8s infinite;
  animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  /* background: #f35525; */
  background: #2c535a;
  border-radius: 50%;
}

/*
---------------------------------------------
Header Style
---------------------------------------------
*/

.sub-header {
  background-color: #fff;
  padding: 10px 0px;
  border-bottom: 1px solid #eee;
}

.sub-header ul li {
  display: inline-block;
}

.sub-header ul.social-links {
  text-align: right;
}

.sub-header ul.social-links li {
  margin-left: 8px;
}

.sub-header ul.social-links li a {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #cdcdcd;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s;
}

.sub-header ul.social-links li a:hover {
  /* background-color: #f35525; */
  background-color: #2c535a;
}

.sub-header ul.info li {
  font-size: 14px;
  color: #7a7a7a;
  border-right: 1px solid #eee;
  margin-right: 25px;
  padding-right: 25px;
}

.sub-header ul.info li:last-child {
  margin-right: 0px;
  padding-right: 0px;
  border-right: none;
}

.sub-header ul.info li i {
  font-size: 20px;
  /* color: #f35525; */
  color: #2c535a;
  margin-right: 8px;
}

.background-header {
  background-color: #fff;
  height: 80px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15) !important;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.header-area {
  position: relative;
  background-color: #fff;
  height: 80px;
  z-index: 100;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.header-area .main-nav {
  background: transparent;
  display: flex;
  justify-content: left !important;
  width: 100%;
}

.header-area .main-nav .logo {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  display: inline-block;
}

.header-area .main-nav .logo h1 {
  line-height: 100px;
  font-size: 28px;
  text-transform: uppercase;
  color: #1e1e1e;
  font-weight: 700;
  letter-spacing: 2px;
}

.background-header .main-nav .logo h1 {
  line-height: 80px;
}

.header-area .main-nav ul.nav {
  flex-basis: 100%;
  margin-top: 30px;
  justify-content: right;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li {
  padding-right: 10px;

  line-height: 100px;
}

.header-area .main-nav .nav li a {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 500;
  font-size: 15px;
  height: 40px;
  line-height: 40px;
  text-transform: capitalize;
  color: #1e1e1e;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  border: transparent;
  letter-spacing: 0.25px;
}

/* .header-area .main-nav .nav li:last-child a {
  background-color: #1e1e1e;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  border-radius: 20px;
  padding-left: 0px;
}

.header-area .main-nav .nav li:last-child a i {
  background-color: #f35525;
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  border-radius: 50%;
  margin-left: -1px;
}

.header-area .main-nav .nav li:last-child:hover a {
  background-color: #1e1e1e;
}

.header-area .main-nav .nav li:last-child:hover a i {
  color: #fff;
} */

.header-area .main-nav .nav li:hover a {
  /* color: #f35525; */
  color: #2c535a;
}

.header-area .main-nav .nav li a.active {
  color: #2c535a;
  /* color: #13933e; */
  font-weight: 1000 !important;
}

.background-header .main-nav .nav li a.active {
  color: #2c535a;
  /* color: #13933e; */
  font-weight: 1000 !important;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  position: absolute;
  top: 23px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 55px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 22px;
}

.background-header .main-nav ul.nav {
  margin-top: 20px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: '';
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #1e1e1e;
}

.visible {
  display: inline !important;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media (max-width: 767px) {
  .background-header .main-nav {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    border-radius: 0px 0px 25px 25px;
    width: 100%;
  }
  .background-header .main-nav .nav,
  .header-area .main-nav .nav {
    background-color: #fff;
  }
  .background-header .main-nav .nav li a,
  .header-area .main-nav .nav li a {
    line-height: 50px;
    height: 50px;
    font-weight: 400;
    color: #1e1e1e;
    background-color: #fff;
    border-radius: 0px 0px 25px 25px;
  }
  .background-header .main-nav .nav li,
  .header-area .main-nav .nav li {
    border-top: 1px solid #ddd;
    background-color: #f1f0fe;
    height: 50px;
    border-radius: 0px 0px 25px 25px;
  }
  .header-area .main-nav .nav {
    height: auto;
    flex-basis: 100%;
  }
  .header-area .main-nav .logo {
    position: absolute;
    left: 30px;
    top: 0px;
  }
  .background-header .main-nav .logo {
    top: 0px;
  }
  .background-header .main-nav .border-button {
    top: 0px !important;
  }
  .header-area .main-nav .border-button {
    position: absolute;
    top: 15px;
    right: 70px;
  }
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    /* color: #ee626b !important; */
    color: #2c535a !important;
    opacity: 1;
  }
  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }
  /* .header-area .nav li:last-child a {
    background-color: transparent !important;
    font-weight: 300 !important;
    text-transform: capitalize !important;
  } */
  .header-area {
    padding: 0px 15px;
    height: 80px;
    box-shadow: none;
    text-align: center;
  }
  .header-area .container {
    padding: 0px;
  }
  .header-area .logo {
    margin-left: 0px;
  }
  .header-area .menu-trigger {
    display: block !important;
  }
  /*  .header-area .main-nav {
    overflow: hidden;
  } */
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  .header-area.header-sticky .nav {
    margin-top: 80px !important;
  }
  .background-header.header-sticky .nav {
    margin-top: 80px !important;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}

/*
---------------------------------------------
Banner Style
---------------------------------------------
*/

.main-banner .item {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 730px;
  padding: 200px 20% 220px 20%;
  margin-top: 0px;
}

.main-banner .item-1 {
  background-image: url(../images/mare_carousel.jpg);
}

.main-banner .item-1::before,
.main-banner .item-2::before,
.main-banner .item-3::before,
.main-banner .item-4::before,
.main-banner .item-5::before,
.main-banner .item-6::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  /* background-color: rgba(44, 83, 90, 0.3); */
  z-index: 1;
}

.main-banner .item-1 > *,
.main-banner .item-2 > *,
.main-banner .item-3 > *,
.main-banner .item-4 > *,
.main-banner .item-5 > *,
.main-banner .item-6 > * {
  position: relative;
  z-index: 2;
  color: white;
}

.main-banner .item-2 {
  background-image: url(../images/montagne_carousel.jpg);
}

.main-banner .item-3 {
  background-image: url(../images/prodotti_locali_carousel.webp);
}

.main-banner .item-4 {
  background-image: url(../images/santaMarinaSalina_carousel.jpg);
}

.main-banner .item-5 {
  background-image: url(../images/pollara_malfa_carousel.jpg);
}

.main-banner .item-6 {
  background-image: url(../images/leni_carousel.jpg);
}

.main-banner .item span.category {
  background-color: #fff;
  color: #1e1e1e;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 15px;
  display: inline-block;
  margin-bottom: 30px;
}

.main-banner .item span.category em {
  font-style: normal;
  /* color: #f35525; */
  color: #2c535a;
}

.main-banner .item h2 {
  font-size: 62px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 72px;
  width: 50%;
  margin-bottom: 0px;
}

.main-banner .item h3 {
  font-size: 21px;
  font-weight: 700;

  color: #fff;
  line-height: 37px;
  width: 100%;
  margin-bottom: 0px;
}

.main-banner .owl-dots {
  position: absolute;
  bottom: 100px;
  left: 20%;
}

.main-banner .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.5s;
}

.main-banner .owl-dots .active {
  /* background-color: #f35525; */
  background-color: #2c535a;
  /* background-color: #13933e; */
}

.main-banner .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50px);
}

.main-banner .owl-nav .owl-prev i,
.main-banner .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  display: inline-block;
  color: #fff;
  background-color: rgb(26, 75, 84, 1);
  /* background-color: rgb(243, 85, 37); */
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s;
}

.main-banner .owl-nav .owl-prev i {
  position: absolute;
  left: 45px;
}

.main-banner .owl-nav .owl-next i {
  position: absolute;
  right: 45px;
}

.main-banner .owl-nav .owl-prev i:hover,
.main-banner .owl-nav .owl-next i:hover {
  opacity: 1;
  background-color: rgba(26, 75, 84, 0.5);
}

/*
---------------------------------------------
Featured Style
---------------------------------------------
*/

.featured .left-image {
  position: relative;
}

.featured .left-image img {
  padding-left: 55px;
}

.featured .left-image a {
  display: inline-block;
  width: 110px;
  height: 110px;
  line-height: 110px;
  /* background-color: #f35525; */
  background-color: #2c535a;
  border-radius: 50%;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: -55px;
}

.featured .section-heading {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 60px;
}

.featured .section-heading h2 {
  width: 70%;
}

.featured .accordion {
  margin-left: 10px;
  margin-right: 10px;
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 10px;
  --bs-accordion-bg: #fafafa;
  --bs-accordion-border-color: none;
  border: none !important;
}

.featured .accordion-header {
  border-bottom: 1px solid #eaeaea;
}

.featured .accordion-button {
  box-shadow: none;
  font-size: 17px;
  font-weight: 500;
  color: #1e1e1e;
}

.featured .accordion-button:not(.collapsed) {
  color: #f35525;
  background-color: #fafafa;
  outline: none;
}

.featured .accordion-button::after {
  display: none;
}

.featured #headingThree {
  border-bottom: none;
}

.featured .accordion-item:last-of-type .accordion-collapse {
  border-top: 1px solid #eaeaea;
}

.featured .info-table {
  margin-top: -20px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  width: 320px;
}

.featured .info-table ul li {
  display: block;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eee;
}

.featured .info-table ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.featured .info-table ul li img {
  float: left;
  margin-right: 25px;
}

.featured .info-table ul li h4 {
  font-size: 22px;
  font-weight: 600;
}

.featured .info-table ul li h4 span {
  font-size: 15px;
  color: #aaa;
  font-weight: 400;
}

/*
---------------------------------------------
Video Style
---------------------------------------------
*/

.video {
  background-image: url(../images/video-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 100px 0px 250px 0px;
  position: relative;
}

.video-content {
  margin-top: -240px;
}

.video .section-heading h2 {
  color: #fff;
}

.video-content .video-frame {
  position: relative;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.video-content .video-frame img {
  border-radius: 10px;
}

.video-content .video-frame a {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-26px, -26px);
  width: 52px;
  height: 52px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 52px;
  color: #f35525;
  outline: 15px solid rgba(254, 85, 37, 0.5);
  font-size: 18px;
}

/*
---------------------------------------------
Fun Facts Style
---------------------------------------------
*/

.fun-facts {
  text-align: center;
  margin-top: 125px;
}

.fun-facts .counter {
  background-color: #ffeee9;
  position: relative;
  border-radius: 10px;
  width: 270px;
  padding: 20px 0px;
  display: inline-block;
}

.fun-facts .counter h2,
.fun-facts .counter p {
  display: inline-flex;
  vertical-align: middle;
}

.fun-facts .counter p {
  text-align: left;
  font-size: 16px;
  color: #1e1e1e;
  font-weight: 600;
  line-height: 28px;
}

.fun-facts .counter h2 {
  margin-right: 25px;
  font-size: 40px;
  color: #f35525;
}

.fun-facts .counter:after {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #f35525;
  border-radius: 50%;
  content: '';
  right: -25px;
  top: -25px;
}

/*
---------------------------------------------
Best Deal Style
---------------------------------------------
*/

.best-deal {
  background-color: #fafafa;
  padding: 40px 0px;
}

.best-deal .tab-content img {
  padding: 0px 45px;
}

.best-deal .tabs-content .nav-link {
  font-size: 16px;
  font-weight: 500;
  background-color: #1e1e1e !important;
  border-radius: 5px;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  padding: 0px 25px;
  color: #fff;
}

.best-deal .tabs-content .nav-tabs .nav-link.active {
  /* background-color: #f35525 !important; */
  background-color: #2c535a !important;
  color: #fff;
}

.best-deal .tabs-content ul.nav-tabs {
  border-bottom: none !important;
  margin-bottom: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.best-deal .tabs-content ul.nav-tabs li {
  padding-right: 0px;
  border-right: none;
  margin-left: 20px;
}

.best-deal .info-table {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
}

.best-deal .info-table ul li {
  display: block;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 15px;
  color: #aaa;
  font-weight: 400;
}

.best-deal .info-table ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.best-deal .info-table ul li span {
  font-size: 20px;
  color: #1e1e1e;
  font-weight: 700;
  float: right;
  display: inline-block;
}

.best-deal .tabs-content {
  padding: 0px;
  background-color: transparent;
}

.best-deal .tabs-content h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 30px;
}

.best-deal .icon-button {
  margin-top: 30px;
}

/*
---------------------------------------------
Properties Style
---------------------------------------------
*/

.properties .item {
  background-color: #fafafa;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
}

.properties .item img {
  border-radius: 10px;
}

.properties .item span.category {
  background-color: #2c535a;
  font-weight: 500;
  border-radius: 5px;
  font-size: 14px;
  color: white;
  padding: 5px 12px;
  display: inline-block;
  margin-top: 25px;
}

.properties .item h4 {
  font-size: 19px;
  margin: 25px 0px;
}

.properties .item h4 a {
  color: #1e1e1e;
}

.properties .item ul li {
  display: inline-block;
  font-size: 15px;
  color: #4a4a4a;
  margin-right: 20px;
}

.properties .item ul li span {
  font-weight: 600;
  color: #1e1e1e;
}

.properties .item ul {
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.properties .item h6 {
  font-size: 20px;
  /* color: #f35525; */
  color: #2c535a;
  margin-top: 6px;
  display: inline-block;
  float: right;
  margin-top: 30px;
}

.properties .item .main-button {
  text-align: center;
}

/*
---------------------------------------------
Contact Style
---------------------------------------------
*/

.contact {
  background-image: url(../images/contact-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 100px 0px 250px 0px;
  position: relative;
}

.contact .section-heading h2 {
  color: #fff;
}

.contact-content {
  margin-top: -240px;
  position: relative;
  z-index: 1;
}

.contact-content #map {
  border-radius: 10px;
  margin-bottom: 60px;
}

.contact-content .item {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  background-color: #fff;
}

.contact-content .phone {
  margin-right: 15px;
}

.contact-content .email {
  margin-left: 15px;
}

.contact-content .item img {
  float: left;
  margin-right: 25px;
  vertical-align: middle;
}

.contact-content .item h6 {
  font-size: 20px;
  font-weight: 600;
  vertical-align: middle;
}

.contact-content .item h6 span {
  font-size: 15px;
  color: #aaaaaa;
  font-weight: 400;
}

.contact-content #contact-form {
  margin-left: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  background-color: #fff;
}

.contact-content #contact-form label {
  font-size: 15px;
  color: #3a3a3a;
  margin-bottom: 15px;
}

.contact-content #contact-form input {
  width: 100%;
  height: 44px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 30px;
  font-size: 14px;
  padding: 0px 15px;
}

.contact-content #contact-form textarea {
  width: 100%;
  height: 150px;
  max-height: 180px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 40px;
  font-size: 14px;
  padding: 15px 15px;
}

.contact-content #contact-form button {
  background-color: #1e1e1e;
  height: 44px;
  border-radius: 22px;
  padding: 0px 20px;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.5s;
}

.contact-content #contact-form button:hover {
  background-color: #f35525;
}

/*
---------------------------------------------
Footer Style
---------------------------------------------
*/

footer.footer-no-gap {
  margin-top: 0px;
}

footer {
  margin-top: 150px;
  /* background-color: #1e1e1e; */
  background-color: #2c535a;
  min-height: 100px;
}

footer p {
  text-align: center;
  line-height: 70px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

footer p a {
  color: #fff;
  transition: all 0.3s;
  position: relative;
  z-index: 3;
}

footer p a:hover {
  opacity: 0.75;
}

/*
---------------------------------------------
Page Header Style
---------------------------------------------
*/

.page-heading {
  background-image: url(../images/page-heading-bg.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 110px 0px;
  text-align: center;
}

.page-heading span {
  background-color: #fff;
  color: #1e1e1e;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 25px;
  display: inline-block;
  margin-bottom: 30px;
}

.page-heading span a {
  color: #1e1e1e;
}

.page-heading h3 {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

/*
---------------------------------------------
Properties Style
---------------------------------------------
*/

.properties ul.properties-filter {
  list-style: none;
  text-align: center;
  margin-bottom: 70px;
}

.properties ul.properties-filter li {
  display: inline-block;
  margin: 5px 8px;
}

.properties ul.properties-filter li a {
  display: inline-block;
  text-align: center;
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 500;
  color: #fff;
  background-color: #1e1e1e;
  padding: 12px 25px;
  border-radius: 5px;
  transition: all 0.3s;
}

.properties ul.properties-filter li a.is_active {
  background-color: #f35525;
  color: #fff;
}

.properties ul.properties-filter li a.is_active:hover {
  color: #fff;
}

.properties ul.properties-filter li a:hover {
  color: #f35525;
}

.properties ul.pagination {
  margin-top: 50px;
  text-align: center;
  width: 100%;
  display: inline-block;
}

.pagination {
  margin-top: 50px;
  text-align: center;
  width: 100%;
  display: inline-block;
}

.properties ul.pagination li {
  display: inline-block;
  margin: 0px 5px;
}

.pagination li {
  display: inline-block;
  margin: 0px 5px;
}

.properties ul.pagination li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #1e1e1e;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50%;
  transition: all 0.3s;
}

.pagination li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: black;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50%;
  transition: all 0.3s;
}

/* .freccia_page {
  background-color: white;
  color: black;
} */

.properties ul.pagination li a:hover,
.properties ul.pagination li a.is_active {
  background-color: #f35525;
  color: #fff;
}

.pagination li a:hover,
.pagination li a.is_active {
  background-color: #2c535a;
  color: #fff;
}

/*
---------------------------------------------
Single Page Style
---------------------------------------------
*/

.single-property .main-image img {
  float: none;
}

.single-property .main-content h4 {
  font-size: 25px;
  margin-top: 25px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.single-property .main-content span.category {
  background-color: #2c535a;
  font-weight: 500;
  border-radius: 5px;
  font-size: 14px;
  color: white;
  padding: 5px 12px;
  display: inline-block;
  margin-top: 40px;
}

.single-property .accordion {
  margin-top: 60px;
  margin-left: 0px;
  margin-right: 0px;
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 10px;
  --bs-accordion-bg: #fafafa;
  --bs-accordion-border-color: none;
  border: none !important;
}

.single-property .accordion-header {
  border-bottom: 1px solid #eaeaea;
}

.single-property .accordion-button {
  box-shadow: none;
  font-size: 17px;
  font-weight: 500;
  color: #1e1e1e;
}

.single-property .accordion-button:not(.collapsed) {
  /* color: #f35525; */
  color: #2c535a;
  background-color: #fafafa;
  outline: none;
  font-weight: 600;
}

.single-property .accordion-button::after {
  display: none;
}

.single-property #headingThree {
  border-bottom: none;
}

.single-property .accordion-item:last-of-type .accordion-collapse {
  border-top: 1px solid #eaeaea;
}

.single-property .info-table {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  margin-left: 60px;
}

.single-property .info-table ul li {
  display: block;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eee;
}

.single-property .info-table ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.single-property .info-table ul li img {
  float: left;
  margin-right: 25px;
}

.single-property .info-table ul li h4 {
  font-size: 22px;
  font-weight: 600;
}

.single-property .info-table ul li h4 span {
  font-size: 15px;
  color: #aaa;
  font-weight: 400;
}

/*
---------------------------------------------
Contact Page Style
---------------------------------------------
*/

.contact-page #map {
  margin-top: 100px;
}

.contact-page .section-heading {
  margin-bottom: 40px;
  margin-right: 280px;
}

.contact-page p {
  margin-bottom: 50px;
}

.contact-page .item {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  background-color: #fff;
  display: inline-block;
  min-width: 360px;
}

.contact-page .phone {
  margin-bottom: 30px;
}

.contact-page .item img {
  float: left;
  margin-right: 25px;
  vertical-align: middle;
}

.contact-page .item h6 {
  font-size: 20px;
  font-weight: 600;
  vertical-align: middle;
}

.contact-page .item h6 span {
  font-size: 15px;
  color: #aaaaaa;
  font-weight: 400;
}

.contact-page #contact-form {
  margin-left: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  background-color: #fff;
}

.contact-page #contact-form label {
  font-size: 15px;
  color: #3a3a3a;
  margin-bottom: 15px;
}

.contact-page #contact-form input {
  width: 100%;
  height: 44px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 30px;
  font-size: 14px;
  padding: 0px 15px;
}

.contact-page #contact-form textarea {
  width: 100%;
  height: 150px;
  max-height: 180px;
  border-radius: 22px;
  background-color: #f6f6f6;
  border: none;
  margin-bottom: 40px;
  font-size: 14px;
  padding: 15px 15px;
}

.contact-page #contact-form button {
  background-color: #1e1e1e;
  height: 44px;
  border-radius: 22px;
  padding: 0px 20px;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.5s;
}

.contact-page #contact-form button:hover {
  background-color: #f35525;
}

/*
---------------------------------------------
Responsive Style
---------------------------------------------
*/

body {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .header-area .main-nav .logo h1 {
    line-height: 80px !important;
  }
  .best-deal .tabs-content .nav-link {
    font-size: 14px;
    padding: 0px 15px;
    height: 44px;
    line-height: 44px;
  }
  .best-deal .tabs-content ul.nav-tabs li {
    margin: 0px 5px;
  }
  .properties ul.properties-filter li a {
    font-size: 14px;
    padding: 10px 15px;
  }
  .properties ul.properties-filter li {
    margin: 5px;
  }
  /* .header-area .main-nav .nav li:last-child {
    display: none;
  } */
}

@media (max-width: 992px) {
  .sub-header {
    display: none;
  }
  .header-area .main-nav .logo h1 {
    line-height: 100px;
  }
  .background-header .main-nav .logo h1 {
    line-height: 80px;
  }
  .header-area .main-nav .nav li a {
    padding-left: 3px;
    padding-right: 3px;
  }
  /* .header-area .main-nav .nav li:last-child a {
    padding-right: 15px;
  } */
  .main-banner .item h2 {
    width: 100%;
  }
  .featured .section-heading {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 100px;
  }
  .featured .accordion {
    margin-left: 0px;
    margin-right: 0px;
  }
  .featured .info-table {
    margin-top: 45px;
  }
  .fun-facts .counter {
    margin-bottom: 45px;
  }
  .best-deal .section-heading {
    text-align: center;
  }
  .best-deal .tabs-content ul.nav-tabs {
    margin-top: 0px;
    justify-content: center;
  }
  .best-deal .info-table {
    margin-bottom: 45px;
  }
  .best-deal .tab-content img {
    padding: 0px;
  }
  .best-deal .tabs-content h4 {
    margin-top: 45px;
  }
  .properties .item h6 {
    text-align: center;
    margin-bottom: 15px;
  }
  .properties .item .main-button {
    text-align: center;
  }
  .properties .item ul li {
    margin-right: 10px;
    font-size: 13px;
  }
  .contact-content .phone {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .contact-content .email {
    margin-left: 0px;
    margin-bottom: 45px;
  }
  .contact-content #contact-form {
    margin-left: 0px;
  }
  .single-property .info-table {
    margin-left: 0px;
    margin-top: 45px;
  }
  .contact-page .section-heading {
    margin-right: 0px !important;
  }
  .contact-page #contact-form {
    margin-left: 0px;
    margin-top: 60px;
  }
  .best-deal .info-table ul li span {
    float: right !important;
    width: auto !important;
  }
}

@media (max-width: 1200px) {
  .best-deal .info-table ul li span {
    float: none;
    width: 100%;
  }
  .contact-page .section-heading {
    margin-right: 100px;
  }
}

.carousel_button_detail {
  font-size: 16px;
  font-weight: 500;
  background-color: #ffffff !important;
  border-radius: 5px;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  padding: 0px 25px;
  color: black;
  transition: all 0.5s;
}

.carousel_button_detail:hover {
  background-color: #2c535a !important;
  color: white;
  transform: scale(1.06);
}

.carousel_text_mari {
  background-color: rgba(45, 45, 45, 0.6);
  padding: 15px 20px;
  display: inline-block;
  text-transform: uppercase;
  max-width: 65%;
  width: auto;
  margin-right: 320px;
  border-radius: 10px;
}

.carousel_text {
  background-color: rgba(45, 45, 45, 0.6);
  padding: 15px 20px;
  display: inline-block;
  text-transform: uppercase;
  max-width: 55%;
  width: auto;
  margin-right: 320px;
  border-radius: 10px;
}

.card.carousel_text:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card.carousel_text {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.logo {
  margin-top: 22px;
  margin-left: -100px !important;
  width: 170px !important;
}

.main-banner .item {
  max-height: 750px;
}

.nav .dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  min-width: 200px;
  padding: 10px 0;
  z-index: 1000;
}

.nav > li:hover > .dropdown-menu {
  display: block;
}

.nav .dropdown-submenu {
  position: relative;
}

.nav .dropdown-submenu .dropdown-menu {
  display: none;
  left: 100%;
  top: 0;
}

.nav .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.nav .dropdown-menu li a {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 8px 20px;
}

.nav .dropdown-menu li a:hover {
  background-color: #f4f4f4;
}

.nav .dropdown-submenu.last-submenu > .dropdown-menu {
  left: auto;
  right: 100%;
}

.dropdown-item {
  font-size: 15px !important;
  color: black !important;
}

.dropdown-item:hover {
  color: #2c535a !important;
  transform: scale(1.05);
}

#trasportiSubLink {
  color: black;
}

#trasportiSubLink:hover {
  color: #2c535a !important;
}

#trasportiSubLink.active {
  color: #2c535a !important;
}

#welcome_foto {
  transition: transform 0.3s;
  width: 65%;
  padding: 0px;
}

/* #welcome_foto:hover {
  transform: scale(1.1);
} */

.text-box {
  width: 65%;
}

.detail-container {
  width: 85%;
  max-width: 850px;
  margin: 0 auto;
}

.detail-inner {
  width: 100%;
  margin: 0 auto;
}

.detail-text {
  text-align: justify;
  margin-top: 15px;
}

.carousel-inner img {
  height: 240px;
  object-fit: cover;
  object-position: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  background-size: 50% 50%;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 1;
}

.polaroid {
  background-color: white;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.6);
  max-width: 100%;
}

.polaroid-img {
  border-radius: 4px;
}

.polaroid-caption {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  /* color: #333; */
  color: #2c535a;
}

/* .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 8 8'%3E%3Cpath d='M5.5 0L4.5 1 7 3.5 0 3.5 0 4.5 7 4.5 4.5 7 5.5 8 9 4.5z' transform='rotate(180 4 4)'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 8 8'%3E%3Cpath d='M0 0L1 1 3.5 3.5 3.5 0 4.5 0 4.5 3.5 7 1 8 0 4.5 4.5z'/%3E%3C/svg%3E");
} */

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

#overview_section_link {
  transition: transform 0.4s !important;
}

#overview_section_link:hover {
  color: #2c535a !important;
  transition: ease-in-out !important;
}

#overview_foto_large {
  height: 508px;
  object-fit: cover;
}

#overview_foto_small {
  height: 245px;
  object-fit: cover;
}

.image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);

  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;

  transition: opacity 0.4s ease-in-out;
}

.overlay-text {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4 ease-in-out;
}

.image-container:hover .overlay {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.image-container:hover .overlay-text {
  opacity: 1;
}

.overlay-title {
  color: white;
  font-weight: 700;
  text-transform: uppercase;
}

.overlay-button {
  background-color: #fcfcfc;
  color: black;
  border: none;
  padding: 8px 12px;
  font-size: 1.1rem;
  margin: 7px 0;
  border-radius: 20px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.4s ease;
  width: auto;
}

.overlay-button:hover {
  /* background-color: rgb(243, 85, 37); */
  background-color: #2c535a;
  color: white;
  transform: translateY(-2px);
}

.overlay-button:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(13, 44, 50, 0.5);
}

.overview_trasporti {
  font-size: 16px !important;
  color: black !important;
}

.overview_trasporti:hover {
  color: #2c535a !important;
  transform: scale(1.05);
}

/* .bg-custom {
  background: url(../img/list_background.jpg) no-repeat center center fixed;
  background-size: cover;
} */

#heading_mari,
#heading_spiagge,
#heading_lidi,
#heading_tourBarche {
  background-image: url(../images/pages-heading-bg/heading_mari.jpeg);
}

#heading_montagne,
#heading_tourMontagne {
  background-image: url(../images/pages-heading-bg/heading_montagne.jpg);
}

#heading_hotel {
  background-image: url(../images/pages-heading-bg/heading_hotel.jpeg);
}

#heading_BB {
  background-image: url(../images/pages-heading-bg/heading_BB2.jpg);
}

#heading_affittiAgenzie {
  background-image: url(../images/pages-heading-bg/heading_affitti.jpg);
}

#heading_ristoranti {
  background-image: url(../images/pages-heading-bg/heading_ristoranti.jpg);
}

#heading_bar {
  background-image: url(../images/pages-heading-bg/heading_bar.jpg);
}

#heading_produttoriVino {
  background-image: url(../images/pages-heading-bg/heading_vino.jpg);
}

#heading_corintoNero {
  background-image: url(../images/pages-heading-bg/heading_corintoNero.jpg);
}

#heading_malvasia {
  background-image: url(../images/pages-heading-bg/heading_malvasia.jpg);
}

#heading_produttori {
  background-image: url(../images/pages-heading-bg/heading_agricoltura.jpg);
}

#heading_cappero {
  background-image: url(../images/pages-heading-bg/heading_capperi.jpg);
}

#heading_pomodoro {
  background-image: url(../images/pages-heading-bg/heading_pomodoro.jpg);
}

#heading_CITIS {
  background-image: url(../images/pages-heading-bg/heading_CITIS.jpg);
}

#heading_taxi {
  background-image: url(../images/pages-heading-bg/heading_taxi1.jpg);
}

#heading_noleggi {
  background-image: url(../images/pages-heading-bg/heading_noleggi.jpg);
}

#heading_aereoporti {
  background-image: url(../images/pages-heading-bg/heading_aereoporti.jpg);
}

#heading_transferAP {
  background-image: url(../images/pages-heading-bg/heading_transferAP.jpg);
}

#heading_aliscafi {
  background-image: url(../images/pages-heading-bg/heading_aliscafo.jpg);
}

#heading_navi {
  background-image: url(../images/pages-heading-bg/heading_nave.jpg);
}

#heading_marina {
  background-image: url(../images/pages-heading-bg/heading_marina.jpg);
}

#heading_soccorso {
  background-image: url(../images/pages-heading-bg/heading_soccorso.jpg);
}

#heading_farmacie {
  background-image: url(../images/pages-heading-bg/heading_farmacia.jpg);
}

#heading_carabinieri {
  background-image: url(../images/pages-heading-bg/heading_carabinieri.jpg);
}

#heading_guardiaCostiera {
  background-image: url(../images/pages-heading-bg/heading_guardiaCostiera.jpeg);
}

#heading_riservaNaturale {
  background-image: url(../images/pages-heading-bg/heading_riserva.jpg);
}

#heading_ariaMarina {
  background-image: url(../images/pages-heading-bg/heading_ariaMarina.webp);
}

#heading_porti {
  background-image: url(../images/pages-heading-bg/heading_porti.jpg);
}

#heading_info-utili {
  background-image: url(../images/pages-heading-bg/heading_info-utili.jpg);
}

#heading_news {
  background-image: url(../images/pages-heading-bg/heading_news.jpg);
}

#heading_meteo {
  background-image: url(../images/pages-heading-bg/heading_meteo.avif);
}

#heading_eventi {
  background-image: url(../images/pages-heading-bg/heading_eventi.jpg);
}

.properties-items .item {
  height: 550px;
  overflow: hidden;
  background: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.properties-items .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.properties-items img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.item p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav .dropdown-submenu.mari-dropdown > .dropdown-menu {
  left: 100% !important;
  right: auto !important;
}

/* .category {
  display: inline-block;
  margin: 10px 0;
  padding: 5px 10px;
  background: #007bff;
  color: white;
  border-radius: 5px;
  font-size: 14px;
} */

.dropdown-item.active {
  /* color: #13933e !important; */
  color: #2c535a !important;
  font-size: 17px !important;
  font-weight: 1000 !important;
  background-color: white !important;
}

.item-detail-button {
  font-size: 16px;
  font-weight: 500;
  background-color: black !important;
  border-radius: 15px;
  height: auto;
  line-height: 50px;
  display: inline-block;
  padding: 0px 25px;
  color: white;
  transition: all 0.5s;
}

.item-detail-button:hover {
  /* background-color: rgb(243, 85, 37) !important; */
  background-color: #2c535a !important;
  color: white;
  transform: scale(1.05);
}

#isolaSalina-tab:hover,
#santaMarina-tab:hover,
#malfa-tab:hover,
#leni-tab:hover {
  /* background-color: rgb(243, 85, 37) !important; */
  background-color: #2c535a !important;
}

.trasporti_link {
  color: #33707b !important;
}

.trasporti_link:hover {
  color: #1d373b !important;
}

/* PHONE RESPONSIVE STYLES (12 PRO & 14 PRO MAX) */
@media (max-width: 450px) {
  /* Style sul logo (dimensioni e margin) */
  .logo {
    margin-top: 8px;
    margin-left: -20px !important;
    height: 55% !important;
    width: 55% !important;
  }

  .news-a {
    border-top: 1px solid #ddd !important;
  }

  /* Dropmenù in basso */
  .nav .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .nav .dropdown-submenu .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
  }

  /* Last dropmenu in basso */
  .nav .dropdown-submenu.last-submenu > .dropdown-menu {
    left: auto;
    right: 50%;
    transform: translateX(50%);
  }

  /* Text carosello vecchia versione (si può commentare) */
  .carousel_text {
    background-color: rgba(45, 45, 45, 0.6);
    padding: 15px 20px;
    display: inline-block;
    text-transform: uppercase;
    max-width: 100%;
    width: auto;
    margin-right: 20px;
    border-radius: 10px;
  }

  .main-banner .item h3 {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 20px;
    width: 100%;
    margin-bottom: 0px;
  }

  /* Hide br nel testo del carosello */
  h3 br {
    display: none;
  }

  /* Buttons sezione comuni */
  #isolaSalina-tab,
  #santaMarina-tab,
  #malfa-tab,
  #leni-tab {
    font-size: 10px;
    width: auto;
  }

  /* Height foto large in sezione overview */
  #overview_foto_large {
    height: 350px;
    object-fit: cover;
  }

  /* Height foto small in sezione overview */
  #overview_foto_small {
    height: 200px;
    object-fit: cover;
  }

  /* Ridimensionamento button info utili */
  #info_utili_button {
    font-size: 13px;
  }

  /* Style button carosello (rimosso, si può commentare) */
  .carousel_button_detail {
    font-size: 13px;
    font-weight: 500;
    background-color: #ffffff !important;
    border-radius: 5px;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    padding: 0px 25px;
    color: black;
  }

  /* Size dei title in sezione overlay */
  .overlay-title {
    font-size: 19px;
  }

  /* Visualizzazione br per mobile */
  .br-mobile {
    display: block;
  }

  /* Size dei title in carosello */
  .carousel-title {
    font-size: 35px !important;
  }

  /* Size titolo enogastronomia in carosello */
  .carousel-title-enogastronomia {
    margin-right: 35px !important;
  }

  /* Size titolo comuni in carosello */
  .carousel-title-comuni {
    line-height: 40px !important;
    margin-bottom: 15px !important;
  }

  /* Size text in carosello */
  .carousel-text {
    font-size: 17px !important;
    line-height: 26px !important;
  }

  /* Size dei tasti prev e next del carosello */
  .main-banner .owl-nav .owl-prev i,
  .main-banner .owl-nav .owl-next i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }

  /* Size icona tasto prev del carosello */
  .main-banner .owl-nav .owl-prev i {
    left: 16px;
  }

  /* Size icona tasto next del carosello */
  .main-banner .owl-nav .owl-next i {
    right: 16px;
  }

  /* Size title nella welcome section */
  .welcome-section-title {
    font-size: 37px !important;
  }

  /* Size foto nella welcome section */
  #welcome_foto {
    width: 85%;
    padding: 0px;
  }

  /* Size della text box della welcome section */
  .text-box {
    width: 85%;
  }

  /* Margin dei buttons dei comuni rispetto al testo sopra */
  #comuni-buttons {
    margin-top: 20px;
  }

  /* Margin della mappa nella sezione info utili  */
  #map_div {
    margin-top: 30px;
  }

  /* Rimozione margin left della gallery foto */
  #detail_gallery {
    margin-left: 0px !important;
  }

  /* Rimozione giorni della settimana per ottimizzazione spazio in calendario */
  .giorni {
    display: none !important;
  }

  /* Column direction per incolonnare calendario ed eventi */
  .contenitore-centrato {
    flex-direction: column;
    align-items: center;
  }

  .contenitore-centrato > div {
    width: 100%;
    max-width: 100%;
  }

  #calendario {
    width: 100%;
    margin: 0 auto;
  }

  .contenitore-centrato {
    flex-direction: column !important;
  }

  .contenitore-centrato > div:last-child {
    order: -1;
    max-width: 100%;
    margin-bottom: 20px;
  }

  #div_eventi {
    order: 1;
    width: 100%;
  }

  /* Sistemazione per incolonnare foto e descrizione dei singoli eventi */
  .banner {
    flex-direction: column;
    align-items: center;
    padding: 7px !important;
  }

  /* Style della foto dell'evento */
  .banner img {
    width: 100%;
    min-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px 8px 0 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* Style del contenuto dell'evento */
  .banner-content {
    margin-left: 0;
    width: 90%;
  }

  /* Ridimensionamento title dell'evento */
  .banner-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  /* Ridimensionamento testo dell'evento (descrizione) */
  .banner-content p {
    font-size: 0.9rem;
  }

  .banner-content p strong {
    display: block !important;
    margin-bottom: 5px;
  }

  /* Hover e focus dei buttons della sezione overlay */
  .overlay-button:hover,
  .overlay-button:focus {
    background-color: #2c535a;
    color: white;
    transform: translateY(-2px);
  }

  .overlay-button:focus {
    outline: none;
    background-color: #2c535a;
    color: white;
    box-shadow: 0 0 10px rgba(13, 44, 50, 0.5);
  }

  /* Aumento dimensione foto mari e prodotti per sezione overlay */
  .foto_mari,
  .foto_prodotti {
    height: 390px !important;
    object-fit: cover;
  }

  .responsive-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  /*   .responsive-wrapper h4 {
    margin-bottom: 10px;
  } */

  .responsive-wrapper .main-button {
    margin-left: 0 !important;
    margin-bottom: 35px !important;
    margin-top: -20px !important;
  }

  .nav .dropdown-submenu.mari-dropdown > .dropdown-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }

  /* .nav .dropdown-submenu.outIsola-dropdown > .dropdown-menu {
    left: 30% !important;
    right: auto !important;
    transform: translateY(-120%);
  } */
}

@media (max-width: 1050px) {
  .logo {
    margin-top: 8px;
    margin-left: -20px !important;
  }
}

/* IPAD AIR LOGO */
/* @media (min-width: 700px) and (max-width: 800px) {
  .logo {
    height: 80% !important;
    width: 80% !important;
    margin-left: -20px !important;
  }
} */

/* IPAD  AIR-MINI RESPONSIVE STYLES */
@media (min-width: 600px) and (max-width: 1350px) {
  /* Minima width della nav */
  .col-nav-mobile {
    min-width: 700px !important;
  }

  /* Resize del logo e margin */
  .logo {
    /* height: 40% !important;
    width: 40% !important; */
    margin-left: -45px !important;
    margin-top: 25px;
  }

  /* Riposizionamento della nav con margin dal logo */
  .header-area .main-nav ul.nav {
    margin-top: 15px;
    justify-content: center;
    margin-left: 20px !important;
  }

  /* Height della nav */
  .header-area {
    height: 100px;
  }

  .background-header {
    height: 100px !important;
  }

  .carousel_text {
    padding: 15px 20px;
    max-width: 100%;
    width: auto;
    margin-right: 20px;
  }

  .main-banner .item h3 {
    font-size: 18px;
    line-height: 30px;
  }

  #info_utili_button {
    font-size: 15px;
  }

  .overlay-title {
    font-size: 22px;
  }

  /* Riposizionamento footer */
  footer {
    margin-top: 223px;
    background-color: #2c535a;
    min-height: 130px;
  }

  /* Apertura del dropdown a destra */
  .nav .dropdown-submenu.last-submenu > .dropdown-menu {
    left: 100% !important;
    right: auto !important;
  }

  /* Apertura del dropdown per sezione Agricoltura Locale a sinistra */
  .nav .dropdown-submenu.prodotti-agricoltura > .dropdown-menu {
    left: auto !important;
    right: 100% !important;
  }

  /* Apertura del dropdown per sezione Enogastronomia a sinistra */
  .nav .dropdown-submenu.prodotti-vino > .dropdown-menu {
    left: auto !important;
    right: 100% !important;
    transform: translateY(30%);
  }

  /* Size della foto in sezione welcome */
  #welcome_foto {
    width: 90%;
    padding: 0px;
  }

  /* Size del testo in sezione welcome */
  .text-box {
    width: 90%;
  }

  /* Margini dei buttons in sezione welcome */
  #comuni-buttons {
    margin-top: 25px;
  }

  /* Hide dei br nei testi del carosello */
  h3 br {
    display: none;
  }

  /* Riposizionamento e resize gallery al centro della pagina nella sezione di dettaglio degli elementi */
  #detail_gallery {
    width: 70% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #citis_div {
    margin-top: 150px !important;
  }

  #map {
    margin-top: 30px;
  }

  /* Style per impostazione del calendario */
  .contenitore-centrato {
    flex-direction: column;
    align-items: center;
  }

  .contenitore-centrato > div {
    width: 100%;
    max-width: 100%;
  }

  #calendario {
    width: 100%;
    margin: 0 auto;
  }

  .contenitore-centrato {
    flex-direction: column !important;
  }

  .contenitore-centrato > div:last-child {
    order: -1;
    max-width: 100%;
    margin-bottom: 20px;
  }

  #div_eventi {
    order: 1;
    width: 100%;
  }
}

/* IPAD PRO RESPONSIVE STYLES */
@media (min-width: 1000px) and (max-width: 1050px) {
  .logo {
    /* height: 40% !important;
    width: 40% !important; */
    margin-left: -25px !important;
  }

  .carousel_text {
    padding: 15px 20px;
    max-width: 80%;
    width: auto;
    margin-right: 60px;
  }

  .main-banner .item h3 {
    font-size: 23px;
    line-height: 32px;
  }

  h3 br {
    display: none;
  }

  #no-items-list {
    margin-top: 180px !important;
  }

  footer {
    margin-top: 337px;
    min-height: 140px;
  }

  .br-mobile {
    display: block;
  }
}

/* PC RESPONSIVE STYLES */
@media (min-width: 1200px) {
  .col-nav-mobile {
    min-width: 1400px !important;
  }
}

/* IPAD MINI STYLE */
@media (min-width: 700px) and (max-width: 800px) {
  .logo {
    height: 60% !important;
    width: 60% !important;
    margin-left: -25px !important;
    margin-top: 30px;
  }

  .header-area .main-nav ul.nav {
    margin-left: -100px !important;
  }

  .carousel-title {
    font-size: 40px !important;
  }

  .carousel-text {
    font-size: 27px !important;
  }

  h3 br {
    display: none;
  }

  #welcome_foto {
    width: 85%;
    padding: 0px;
  }

  .text-box {
    width: 85%;
  }

  #comuni-buttons {
    margin-top: 25px;
  }

  .overlay-title {
    font-size: 22px;
  }

  #detail_gallery {
    width: 72% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .nav .dropdown-submenu.last-submenu > .dropdown-menu {
    left: 100% !important;
    right: auto !important;
  }

  .nav .dropdown-submenu.prodotti-agricoltura > .dropdown-menu {
    left: auto !important;
    right: 100% !important;
  }

  .nav .dropdown-submenu.prodotti-vino > .dropdown-menu {
    left: auto !important;
    right: 100% !important;
    transform: translateY(28%);
  }

  .dropdown-item.active {
    font-size: 15px !important;
    font-weight: 1000 !important;
  }

  .col-nav-mobile {
    min-width: 600px !important;
  }

  .contenitore-centrato {
    flex-direction: column;
    align-items: center;
  }

  .contenitore-centrato > div {
    width: 100%;
    max-width: 100%;
  }

  #calendario {
    width: 100%;
    margin: 0 auto;
  }

  .contenitore-centrato {
    flex-direction: column !important;
  }

  .contenitore-centrato > div:last-child {
    order: -1;
    max-width: 100%;
    margin-bottom: 20px;
  }

  #div_eventi {
    order: 1;
    width: 100%;
  }
}

@media (min-width: 550px) and (max-width: 767px) {
  .logo {
    height: 35% !important;
    width: 35% !important;
    margin-left: -25px !important;
    margin-top: 30px;
  }
}

/*
  LANGUAGE CHANGE MENU STYLE
*/

.menu-languages {
  min-width: 60px !important;
  width: 60px !important;
  text-align: center;
}

.menu-languages li {
  width: 60px !important;
}

.menu-languages img {
  display: inline-block;
}

#languages-item:hover {
  /* background-color: #f35525 !important; */
  background-color: #2c535a !important;
}

#languageDropdown::after {
  border-top-color: white;
}

@media (min-width: 1401px) {
  .logo {
    margin-left: -60px !important;
    margin-top: 30px;
  }
}

@font-face {
  font-family: 'Great Vibes';
  src: url('/fonts/GreatVibes-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Satisfy';
  src: url('/fonts/Satisfy-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Dancing Script';
  src: url('/fonts/DancingScript-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
