/*!
 * Start Bootstrap - Stylish Portfolio v5.0.7 (https://startbootstrap.com/template-overviews/stylish-portfolio)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */

body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Source Sans Pro';
}

.btn-xl {
  padding: 1.25rem 2.5rem;
}

.content-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .content-section {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
}

.content-section-heading h2 {
  font-size: 3rem;
}

.content-section-heading h3 {
  font-size: 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #00a652;
  font-weight: 700;
  font-family: 'Syncopate', sans-serif;
  text-shadow: 1px 1px 1px #3d3d3d;
}

hr {
  width: 100%;
}

.text-faded.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

.red-txt.red-txt {
  color: #B00505;
}

.blue-txt.blue-txt {
  color: #134ffb;
}

.yellow-txt.yellow-txt {
  color: #ecb807;
}

.green-txt.green-txt {
  color: #00a652;
}


.rounded.rounded {
  border-radius: 100% !important;
}

/* Map */
.map {
  height: auto;
}

@media (max-width: 992px) {
  .map {
    height: auto;
  }
}

.multiMaps {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 992px) {
  .multiMaps {
    flex-direction: column;
  }
}

.multiMaps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 100%;
  background-color: #00a652;
  border-radius: 2rem;
}

@media (max-width: 992px) {
  .multiMaps::before {
    display: none;
  }
}

.map iframe {
  pointer-events: none;
}

.maps100 {
  position: relative;
  width: 100%;
  text-align: center;
}

.maps50 {
  position: relative;
  width: 49%;
  text-align: center;
}

@media (max-width: 992px) {
  .maps50 {
    width: 100%;
  }
}

.maps50 iframe,
.maps100 iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 30rem;
}

.mapsInfo {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 1rem .5rem;
  width: 100%;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  background-color: #00a652;
}

.mapsInfo.info {
  background-color: #17a2b8;
}



.scroll-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: white;
  background: rgba(52, 58, 64, 0.5);
  line-height: 45px;
}

.scroll-to-top:focus,
.scroll-to-top:hover {
  color: white;
}

.scroll-to-top:hover {
  background: #343a40;
}

.scroll-to-top i {
  font-weight: 800;
}

section.topLogo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  width: 100%;

  & img {
    display: block;
    margin: auto;
    width: 60%;
    height: auto;

    @media (min-width: 992px) {
      width: 40%;
    }
  }
}

.masthead {
  min-height: 30rem;
  position: relative;
  display: table;
  width: 100%;
  height: auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
  /*background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);*/
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.masthead h1,
.masthead h2,
.masthead h3,
.masthead h4,
.masthead p,
.masthead .container {
  position: relative;
  z-index: 3;
}

.masthead h1 {
  font-size: 4rem;
  margin: 0;
  padding: 0;
}

.masthead .logo {
  position: relative;
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .masthead {
    padding-top: 8rem;
    padding-bottom: 8rem;
    min-height: 45vh;
  }

  .masthead h1 {
    font-size: 5.5rem;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 89, 0, .99);
  background-image: url("../img/dot.svg");
  background-position: top left;
  background-repeat: repeat;
  background-size: 8px 8px;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: background-color .5s;
}

.cf {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  width: 55px;
  height: auto;
}

@media (min-width: 992px) {
  .cf {
    top: 30px;
    left: 30px;
    width: 85px;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.bg-color {
  /*background: rgba(240,240,240, 0.9);*/
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,f3f3f3+50,ededed+51,ffffff+100;White+Gloss+%232 */
  background: rgb(255, 255, 255);
  /* Old browsers */
  background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(243, 243, 243, 1) 50%, rgba(237, 237, 237, 1) 51%, rgba(255, 255, 255, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(243, 243, 243, 1) 50%, rgba(237, 237, 237, 1) 51%, rgba(255, 255, 255, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(243, 243, 243, 1) 50%, rgba(237, 237, 237, 1) 51%, rgba(255, 255, 255, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
}

/* Side Menu */
#sidebar-wrapper {
  position: fixed;
  z-index: 250;
  right: 0;
  width: 250px;
  height: 100%;
  transition: all 0.4s ease 0s;
  transform: translateX(250px);
  background-color: #00a652;
  background-image: url(../img/bg-menu.png);
  background-position: -100% 105%;
  -webkit-background-size: 120% auto;
  -o-background-size: 120% auto;
  background-size: 120% auto;
  background-repeat: no-repeat;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li.sidebar-nav-item a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 15px;
}

.sidebar-nav li a:hover {
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav>.sidebar-brand {
  font-size: 1.2rem;
  background: rgba(52, 58, 64, 0.1);
  height: 80px;
  line-height: 50px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
}

.sidebar-nav>.sidebar-brand a {
  color: #fff;
}

.sidebar-nav>.sidebar-brand a:hover {
  color: #fff;
  background: none;
}

#sidebar-wrapper.active {
  right: 250px;
  width: 250px;
  transition: all 0.4s ease 0s;
}

.menu-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background: rgba(52, 58, 64, 0.5);
  line-height: 50px;
  z-index: 999;
}

.menu-toggle:focus,
.menu-toggle:hover {
  color: #fff;
}

.menu-toggle:hover {
  background: #343a40;
}

.orario {
  position: relative;
  background-position: bottom center;
  -webkit-background-size: auto 8%;
  -o-background-size: auto 8%;
  background-size: auto 8%;
  background-repeat: no-repeat;
}

#special {
  position: relative;
}

#special .bgOverlay {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 992px) {
  .orario {
    background-position: center center;
    -webkit-background-size: auto 30%;
    -o-background-size: auto 30%;
    background-size: auto 30%;
  }
}

.orari {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  margin: auto;
  width: 100%;
  height: 100%;
  min-height: 230px;
}

.orari ul {
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  list-style: none;
}

.orari ul li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;

  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  
  width: 100%;
  font-size: 135%;
  text-align: left;

  & strong {
    text-align: right;
  }
}

.service-icon {
  background-color: #fff;
  color: #00a652;
  height: 7rem;
  width: 7rem;
  display: block;
  line-height: 7.5rem;
  font-size: 2.25rem;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.callout {
  padding: 4rem 0;
  /*background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);*/
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 992px) {
  .callout {
    padding: 10rem 0;
  }
}

.callout h2 {
  font-size: 3.5rem;
  font-weight: 700;
  display: block;
  max-width: 30rem;
}

.portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 530px;
  margin: auto auto 1rem;
}

.portfolio-item .caption {
  display: flex;
  height: 100%;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.2);
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.portfolio-item .caption .caption-content {
  color: #fff;
  margin: auto 2rem 2rem;
}

.portfolio-item .caption .caption-content h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
  font-weight: 300;
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .portfolio-item {
    max-width: none;
    margin: 0;
  }

  .portfolio-item .caption {
    -webkit-transition: -webkit-clip-path 0.25s ease-out, background-color 0.7s;
    transition: clip-path 0.25s ease-out, background-color 0.7s;
    -webkit-clip-path: inset(0px);
    clip-path: inset(0px);
  }

  .portfolio-item .caption .caption-content {
    transition: opacity 0.25s;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 5rem;
  }

  .portfolio-item img {
    -webkit-transition: -webkit-clip-path 0.25s ease-out;
    transition: clip-path 0.25s ease-out;
    -webkit-clip-path: inset(-1px);
    clip-path: inset(-1px);
  }

  .portfolio-item:hover img {
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }

  .portfolio-item:hover .caption {
    background-color: rgba(29, 128, 159, 0.9);
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
}

footer.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

footer.footer .social-link {
  display: block;
  height: 4rem;
  width: 4rem;
  line-height: 4.3rem;
  font-size: 1.5rem;
  background-color: #00a652;
  transition: background-color 0.15s ease-in-out;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

footer.footer .social-link:hover {
  background-color: #155d74;
  text-decoration: none;
}

a {
  color: #00a652;
}

a:hover,
a:focus,
a:active {
  color: #155d74;
}

.btn-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;

  width: 100%;
}

.btn-primary {
  background-color: #00a652 !important;
  border-color: #00a652 !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #155d74 !important;
  border-color: #155d74 !important;
}

.btn-secondary {
  background-color: #ecb807 !important;
  border-color: #ecb807 !important;
  color: #fff !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #ba9106 !important;
  border-color: #ba9106 !important;
}

.btn-dark {
  color: #fff !important;
}

.btn {
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.bg-primary {
  background-color: #00a652 !important;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.text-primary {
  color: #00a652 !important;
  text-shadow: 1px 1px 1px #3d3d3d;
}

.text-secondary {
  color: #ecb807 !important;
  text-shadow: 1px 1px 1px #3d3d3d;
}

.max-padding.max-padding {
  padding-top: 12rem;
  padding-bottom: 12rem;
}

@media (min-width: 992px) {
  .max-padding.max-padding {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

.relativeBG.relativeBG {
  position: relative;
}

.relativeBG::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  mix-blend-mode: darken;
}

/* SEZIONE DOWNLOAD */
#special-download {
  position: relative;
  display: block;
  margin: 0 auto;
  background-image: url(../img/calendarofevents2024.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  backdrop-filter: blur(5px);
}

#special-download::before {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.33);
}

.box.download {
  position: relative;
  padding: 10rem 0;
  text-align: center;
}

/*
.box.download h2 {}*/
.box.download p {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.2;
}


/* SPECIAL CALL - CARD */
.special-call {
  position: relative;
  margin: 0 auto;
  padding: 2rem 0;
}

.special-call .card {
  position: relative;
  margin: 0 auto;
  padding: 3rem 5rem;
  max-width: 110ch;
  text-align: center;
  border: 1px solid #d8d8d8;
  background-color: #f1f1f1;
  box-shadow: 1px 1px 1px #d2d2d2;
}

.special-call .card h2 {
  margin: 1rem auto;
  font-size: 1.85rem;
  line-height: 1.1;
}

.special-call .card p {
  margin: 2rem auto;
  font-size: 1.25rem;
  line-height: 1.75;
}