/*
Theme Name: Arte e Musei Vignola Special Theme
Theme URI: http://aitec.it
Author: The Aitec Team
Author URI: http://aitec.it
Description: A special theme created (with love!) just for Arte e Musei Vignola
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: artemuseivignola
*/

@font-face {
  font-family: TitilliumWebRegular;
  src: url(fonts/TitilliumWeb-Regular.ttf);
}

@font-face {
  font-family: TitilliumWebBold;
  src: url(fonts/TitilliumWeb-Bold.ttf);
}

:root {
  --primary-color: #256ad1;
  --secondary-color: #b4db69;
  --tertiary-color: #222222;
  --text-base-color: #7d7d7d;
  --deco-color: #256ad1;
}

body {
  font-size: 15px;
  font-weight: normal;
  font-family: "TitilliumWebRegular";
  font-optical-sizing: auto;
  color: var(--text-base-color);
  position: relative;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

a { color: var(--primary-color); -moz-transition: all 0.2s ease-in; -webkit-transition: all 0.2s ease-in; transition: all 0.2s ease-in; }
a:hover { color: var(--tertiary-color); -moz-transition: all 0.2s ease-in; -webkit-transition: all 0.2s ease-in; transition: all 0.2s ease-in; }
a:visited, a:active, a:focus { -moz-transition: all 0.2s ease-in; -webkit-transition: all 0.2s ease-in; transition: all 0.2s ease-in; border: none; }

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 { font-family: "TitilliumWebBold"; color: var(--primary-color); font-style: normal; margin-bottom: 0.5em; font-weight: 700; }

.text-white .h1,
.text-white .h2,
.text-white .h3,
.text-white .h4,
.text-white .h5,
.text-white .h6,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 { color: #fff; }

.text-dark .h1,
.text-dark .h2,
.text-dark .h3,
.text-dark .h4,
.text-dark .h5,
.text-dark .h6,
.text-dark h1,
.text-dark h2,
.text-dark h3,
.text-dark h4,
.text-dark h5,
.text-dark h6 { color: var(--tertiary-color); }

hr { border-top: 1px solid rgba(255, 255, 255, 0.6); }

b, strong { font-weight: 700; }

p { margin-bottom: 1em; }

figure { margin: 0; }

blockquote { font-size: 1.8em; line-height: 1.1em; font-style: italic; font-weight: 500; display: inline-block; }

.autosquare, .aspect-image { overflow: hidden; display: block; background-color: none; background-attachment: scroll; background-position: center; background-size: cover; background-repeat: no-repeat; }
.autosquare.contain, .aspect-image.contain { background-size: contain; }
.autosquare img, .aspect-image img { opacity: 0; max-width: 100%; max-height: 100%; }
.aspect-image { aspect-ratio: 1 / 1; }

.btn {
  border-radius: 0px;
  padding: 0.375rem 2.75rem;
}
.btn-default {
  background-color: var(--primary-color);
  color: white;
}

.btn-default:visited,
.btn-default:active,
.btn-default:focus {
  border: 1px solid var(--primary-color);
}

.btn-default:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-default.inverted {
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
}

.btn-default.inverted:hover {
  border: #fff;
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-default.white {
  border: 1px solid #fff;
  background-color: #fff;
  color: var(--primary-color);
  font-weight: 600;
}

.btn-default.white:hover {
  color: #fff !important;
  background-color: transparent;
  border: 1px solid #fff;
}

.btn-default.white:visited {
  border: 1px solid #fff;
}

.btn-default.white.inverted {
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
}
.btn-default.white.inverted:hover {
  color: var(--primary-color) !important;
  border: 1px solid #fff;
  background-color: #fff;
}
.btn-default.white.inverted:visited {
  border: 1px solid #fff;
}

.btn-wrapper {
  margin: 1em 0;
  text-align: center;
}

img.size-full {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
}
img.alignright,
.alignright {
  float: right;
  margin: 10px 0 1em 1em;
}
img.alignleft,
.alignleft {
  float: left;
  margin: 10px 1em 1em 0;
}
img.aligncenter {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
}
img.alignnone {
  max-width: 100%;
  margin-bottom: 1em;
}

.neutralize {
  -webkit-filter: grayscale(1);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  filter: gray;
  filter: grayscale(100%);
  transition: all 0.2s ease-in-out;
}
.neutralize:hover {
  -webkit-filter: grayscale(0);
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  filter: gray;
  filter: grayscale(0%);
}

.show-overflow {
  overflow: visible !important;
}

textarea.form-control {
  max-height: 90px;
}
.vc_parallax {
  background-color: #ccc;
}

.border-grey {
  border-color: #555 !important;
}
.splash-image {
  height: 750px;
}

/* General Animation Styles */

.delay200 {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.delay400 {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
.delayHalf {
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.delayHalf,
.delay500 {
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.delay600 {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.delay800 {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}
.delayOne {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}
.delayOneHalf {
  -webkit-animation-delay: 1.5s;
  -moz-animation-delay: 1.5s;
  animation-delay: 1.5s;
}
.delayTwo {
  -webkit-animation-delay: 2s;
  -moz-animation-delay: 2s;
  animation-delay: 2s;
}
.delayThree {
  -webkit-animation-delay: 3s;
  -moz-animation-delay: 3s;
  animation-delay: 3s;
}

/* Language Selector Style */
#language-selector-wrapper {
  position: relative;
  display: block;
  padding: 0;
  height: 32px;
  float: right;
  color: #fff;
}
#language-selector-wrapper #language-selector {
  padding: 0;
  line-height: 32px;
  list-style: none inside;
  margin: 0;
  text-align: center;
}
.sticky #language-selector-wrapper #language-selector {
  color: #fff;
}
#language-selector-wrapper #language-selector li {
  display: inline-block;
  vertical-align: top;
}
#language-selector-wrapper #language-selector li a,
#language-selector-wrapper #language-selector li span {
  position: relative;
  display: block;
  font-size: 1em;
  text-transform: uppercase;
  margin: 0;
  padding: 0 0.5em;
  height: 100%;
  transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -webkit-transition: all 0.25s ease-out;
}
#language-selector-wrapper #language-selector li span {
  cursor: help;
}
#language-selector-wrapper #language-selector li a:hover {
  text-decoration: none;
  transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -webkit-transition: all 0.25s ease-out;
}
#language-selector-wrapper #language-selector li a:after,
#language-selector-wrapper #language-selector li span:after {
  content: "";
  position: absolute;
  right: 0;
  color: #fff !important;
  border-right: 1px solid #fff;
  height: 50%;
  top: 25%;
}
#language-selector-wrapper #language-selector li a:hover:after,
#language-selector-wrapper #language-selector li span:hover:after {
  color: #4ea7b2;
}
#language-selector-wrapper #language-selector li:last-child a:after,
#language-selector-wrapper #language-selector li:last-child span:after {
  display: none;
}

/* Search Styles */
#search-toggle {
  cursor: pointer;
  float: right;
  height: 32px;
  line-height: 32px;
  text-transform: uppercase;
  border-width: 0px 1px 1px 1px;
  border-style: solid;
  border-color: #1d743e;
  background-color: #1d743e;
  color: #fff;
  padding: 0 1em;
  font-weight: 300;
}
#search-toggle:hover {
  color: #fff;
  background-color: #2d955a;
}

/* Slider Styles */
#slider-wrapper {
  position: relative;
}

.slider-decoration {
  position: absolute;
  bottom: -225px;
  transform: rotate(180deg) scaley(50%);
  fill: #fff;
  z-index: 1;
  width: 120vw;
  margin-left: calc(100vw - 110%);
}

.slider-decoration.blue {
  fill: var(--primary-color);
}

#slider { position: relative; background-color: #efefef; min-height: 350px; height: calc(100vh - 240px); }
#slider.page { min-height: 250px; height: calc(25vh + 233px); }

.carousel .carousel-inner {
  height: 100%;
  position: relative;
  width: 100%;
}
.carousel .carousel-inner > .carousel-item {
  height: 100%;
}
.carousel .slide {
  background-attachment: scroll;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.carousel .slide img {
  opacity: 0;
  height: 100%;
  width: 100;
}

.slide-cover {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}
.carousel-caption {
  position: absolute;
  right: 8.33333333%;
  left: 8.33333333%;
  bottom: 100px;
  top: calc(50vw / 2);
  padding-top: 0;
  padding-bottom: 0;
  color: #fff;
  text-align: left;
  z-index: 20;
}

.carousel-caption .page-title {
  color: #fff;
}

#slider.page .carousel-caption {
  bottom: 54px;
  top: 100px;
}

.carousel-control-next,
.carousel-control-prev {
  width: 8.33333333%;
  margin-top: 90px;
  z-index: 20;
}
.carousel-caption-wrapper {
  display: table;
  width: 60%;
  height: 100%;
  padding-left: calc(1.5rem * 0.5);
}
#slider.page .carousel-caption-wrapper {
  width: 100%;
  text-align: center;
}
.carousel-caption-wrapper .carousel-caption-inner {
  display: table-cell;
  vertical-align: middle;
}

#slider.home .carousel-caption h2 {
  color: #fff;
  font-size: 3rem;
  line-height: 1em;
  margin: 0;
  font-weight: 300;
}
#slider.home .carousel-caption h2 strong {
  font-weight: 900;
}
#slider.home .carousel-caption p {
  font-size: 1.4em;
}

#slider.page .carousel-caption h1 {
  margin-bottom: 0;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.slide-video {
  height: 100%;
  min-width: 100%;
  min-height: 56.68vw;
}

#slider.home .carousel-caption h2,
#slider.page .carousel-caption h1,
#slider.home .carousel-caption p,
#slider.home .carousel-caption .btn {
  opacity: 0;
}
#slider.home .active.carousel-item-start .carousel-caption h2,
#slider.page .active.carousel-item-start .carousel-caption h1,
#slider.home .active.carousel-item-start .carousel-caption p,
#slider.home .active.carousel-item-start .carousel-caption .btn {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
  -webkit-animation-duration: 0.25s;
  animation-duration: 0.25s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
#slider.home .active .carousel-caption h2,
#slider.page .active .carousel-caption h1,
#slider.home .active .carousel-caption p {
  margin-top: 2em;
  font-size: 2.5rem;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
#slider.home .active .carousel-caption .btn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

#slider.home .active .carousel-caption p {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
#slider.home .active .carousel-caption .btn {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
#slider.home .active.carousel-item-start .carousel-caption p {
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  animation-delay: 0s;
}
#slider.home .active.carousel-item-start .carousel-caption .btn {
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  animation-delay: 0s;
}

#slider.home .carousel-indicators {
  bottom: 2em;
  z-index: 999;
}
#slider.home .carousel-indicators [data-bs-target] {
  width: 35px;
  height: 30px;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  margin-right: -3px;
  margin-left: -3px;
}
#slider.home .carousel-indicators .active {
  opacity: 1;
  background-color: #f8da9b;
}

#slider.home .carousel-caption-inner {
  opacity: 0;
}
#slider.home .active .carousel-caption-inner {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.slider-icon {
  max-width: 25%;
}
.slider-subtitle {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 0;
  margin-top: -0.5em;
}
#slider.home .active .carousel-caption .page-title {
  font-weight: 500;
  font-size: 4rem;
}

@media screen and (max-height: 768px) {
  .carousel-caption-wrapper .carousel-caption-inner {
    padding-top: 1em;
  }
}

@media screen and (max-height: 300px) {
  #slider.home .carousel-caption h2 {
    font-size: 3.5rem;
    word-wrap: break-word;
  }
}

@media (orientation: portrait) {
  #slider.home {
    height: 80vh;
  }
  .admin-bar #slider.home {
    height: calc(80vh - 32px);
  }
}

@media screen and (max-height: 782px) {
  .admin-bar #slider.home {
    height: calc(80vh - 46px);
  }
}

/* Breadcrumb Styles */

.breadcrumbs {
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.breadcrumbs a,
.breadcrumbs span {
  margin: 0 0.2em;
  color: #4e4e4e;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs ol {
  list-style: outside none none;
  margin: 0;
  padding: 0;
  display: inline-block;
  vertical-align: top;
}
.breadcrumbs ol li {
  display: inline-block;
  vertical-align: top;
}
.breadcrumbs ol li:after {
  content: " / ";
  display: inline-block;
  vertical-align: top;
  margin: -1px 2px 0 2px;
}
.breadcrumbs ol li:last-child:after {
  display: none;
}

.breadcrumbs.without-slider {
  margin-left: 0em;
}

/* Content Styles */

div.main-content .home { padding-top: 2em; }
.inner .main-content {
  background: none;
  margin: auto !important;
  padding-top: 1em !important;
  padding-bottom: 1em !important;
}

.slider-placeholder {
  min-height: 154px;
  background-color: #1d743e;
}

.text-bigger {
  font-size: 1.4em;
  font-weight: 300;
  line-height: 1.2em;
}
.text-more-bigger {
  font-size: 2.5em;
  line-height: 1.2em;
}
.text-small {
  font-size: 0.875em;
  letter-spacing: 0.2em;
}

.blog-content {
  background-color: #fff;
}

.page-wrapper {
  overflow: hidden;
  max-width: 100vw;
}

.background-floating-left {
  background-repeat: no-repeat !important;
  background-position: 80% center !important;
  background-size: 52% auto !important;
}
.background-floating-right {
  background-repeat: no-repeat !important;
  background-position: 20% center !important;
  background-size: 52% auto !important;
}
.background-linear-gradient .vc_column-inner {
  background-image: linear-gradient(
    30deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3)
  );
  padding: 4em;
}
.background-linear-gradient.vc_col-has-fill .vc_column-inner {
  padding: 3em !important;
}
.background-linear-gradient-inverted .vc_column-inner {
  background-image: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.3)
  );
}

.button-wrapper {
  margin-bottom: 1em;
}
.button-wrapper.centro {
  text-align: center;
}
.button-wrapper.destra {
  text-align: right;
}
.button-wrapper.inline {
  display: inline-block;
  vertical-align: top;
  margin-right: 0.4em;
}

.deco-title {
  margin-bottom: 1.6em;
  line-height: 1em;
  color: #095aae;
}

.deco-title {
  font-weight: 700;
  position: relative;
}
.deco-eylet {
  font-weight: 300;
  display: block;
  font-size: 0.5em;
  margin: 0;
}

.deco-title.with-image {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}
.deco-title.with-image .deco-title-image {
  margin: 0 0.5em;
  max-width: 30%;
}

.deco-title.sinistra,
.deco-eylet.sinistra {
  text-align: left;
}
.deco-title.destra,
.deco-eylet.destra {
  text-align: right;
}
.deco-title.centro,
.deco-eylet.centro {
  text-align: center;
}
.deco-title.sinistra.with-image {
  text-align: left;
  flex-direction: row;
}
.deco-title.destra.with-image {
  text-align: right;
  flex-direction: row-reverse;
}
.deco-title.centro.with-image {
  text-align: center;
  justify-content: center;
}
.text-white .deco-title,
.deco-title.text-white,
.text-white .deco-eylet,
.deco-eylet.text-white {
  color: #fff;
}
.text-dark .deco-title,
.deco-title.text-dark,
.text-dark .deco-eylet,
.deco-eylet.text-dark {
  color: #016043;
}

.double-title .deco-title {
  margin-bottom: 0.8em;
}
.double-title .deco-eylet {
  margin-bottom: -0.2em;
}

.title-tan .deco-title,
.subtitle-tan .deco-subtitle {
  color: #f8da9b;
}

.deco-title:after {
  content: "";
  border-bottom: 4px solid var(--deco-color);
  display: block;
  width: 3em;
  margin-top: 0.5em;
  position: absolute;
}
.deco-title.text-white:after .text-white .deco-title:after {
  border-bottom: 4px solid #fff;
}
.deco-title.text-dark:after .text-dark .deco-title:after {
  border-bottom: 4px solid #016043;
}
.deco-title.sinistra:after {
  left: 0;
}
.deco-title.destra:after {
  right: 0;
}
.deco-title.centro:after {
  left: calc(50% - 1.5em);
}

h1.deco-title {
  font-size: 2.5rem;
}
h2.deco-title {
  font-size: 2.3rem;
}
h3.deco-title {
  font-size: 2rem;
}
h4.deco-title {
  font-size: 1.75rem;
}
h5.deco-title {
  font-size: 1.5rem;
}

h2.deco-eylet {
  font-size: 2rem;
}
h3.deco-eylet {
  font-size: 1.9rem;
}
h4.deco-eylet {
  font-size: 1.4rem;
}
h5.deco-eylet {
  font-size: 1.1rem;
}
h6.deco-eylet {
  font-size: 0.8rem;
}

.deco-title mark {
  background: none;
  padding: 0;
  font-weight: 300;
}
.deco-title.sub-block mark {
  display: block;
}
.deco-title.sub-dark mark {
  color: #555;
}
.text-white .deco-title.sub-dark mark {
  color: #9bffc6;
}
.deco-title.sub-azure mark {
  color: #4ea7b2;
}
.deco-title.sub-bluette mark {
  color: #00aeef;
}

.block-wrapper {
  position: relative;
}
.block-wrapper .block-wrapper-content {
  display: table;
  width: 100%;
  height: 100%;
  transition: all 0.2s ease-in;
}
.block-wrapper:hover .block-wrapper-content {
  background-color: rgba(0, 0, 0, 0.4) !important;
}
.block-wrapper .block-wrapper-content .block-wrapper-text {
  display: table-cell;
  padding: 5%;
}
.block-wrapper.centro {
  text-align: center;
}
.block-wrapper.destra {
  text-align: right;
}
.block-wrapper .block-wrapper-content .block-wrapper-text h2 {
  margin-bottom: 0;
  font-weight: 900;
}
.block-wrapper .block-wrapper-content .block-wrapper-text .eylet {
  font-size: 1.6rem;
  font-weight: 300;
  display: block;
  margin: 0;
}
.block-wrapper.azure-box .block-wrapper-content .block-wrapper-text h2,
.block-wrapper.blue-box .block-wrapper-content .block-wrapper-text h2 {
  font-size: 5.4rem;
}
.block-wrapper.centro .block-wrapper-content .block-wrapper-text h2 {
  max-width: 80%;
  margin: 0 auto;
}
.block-wrapper.small-title .block-wrapper-content .block-wrapper-text h2 {
  font-size: 2rem;
}
.block-wrapper
  .block-wrapper-content
  .block-wrapper-text
  .block-wrapper-description {
  margin: 1em 0;
  font-size: 1.4em;
  font-weight: 300;
  line-height: 1.2em;
  min-height: 5em;
}
.block-wrapper.centro
  .block-wrapper-content
  .block-wrapper-text
  .block-wrapper-description {
  margin: 1em;
}
.block-wrapper.azure-box
  .block-wrapper-content
  .block-wrapper-text
  .block-wrapper-description,
.block-wrapper.blue-box
  .block-wrapper-content
  .block-wrapper-text
  .block-wrapper-description {
  font-size: 1.8em;
  margin: 1em -2.5% -6% -2.5%;
  font-weight: 300;
  line-height: 1.2em;
  padding: 4%;
}
.block-wrapper.azure-box
  .block-wrapper-content
  .block-wrapper-text
  .block-wrapper-description {
  background-color: rgba(78, 167, 178, 0.6);
}
.block-wrapper.blue-box
  .block-wrapper-content
  .block-wrapper-text
  .block-wrapper-description {
  background-color: rgba(26, 57, 98, 0.6);
}
.block-wrapper.text-white .btn {
  color: #fff;
  border-color: #fff;
}
.block-wrapper .block-wrapper-icon {
  width: 33%;
  margin: 1em auto 2em auto;
  opacity: 1 !important;
  transition: 0.25s all ease-in;
}
.block-wrapper:hover .block-wrapper-icon {
  transform: scale(1.2);
}

.image-wrapper {
  display: block;
  position: relative;
  margin-bottom: 1em;
}
.image-wrapper figcaption {
  font-size: 4.5rem;
  line-height: 1em;
  opacity: 0;
  display: table;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 169, 220, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
.image-wrapper.visible figcaption {
  opacity: 1;
}
.image-wrapper.partially-visible figcaption {
  opacity: 1;
  background-color: rgba(0, 169, 220, 0.1);
}
.image-wrapper:hover figcaption {
  opacity: 1;
}
.image-wrapper.partially-visible:hover figcaption {
  opacity: 1;
  background-color: rgba(0, 169, 220, 0.8);
}
.image-wrapper figcaption span {
  display: table-cell;
  vertical-align: middle;
  color: #fff;
  font-weight: 900;
  text-align: center;
  padding: 1em;
}

.single-post-wrapper hr {
  border-top: 1px dotted #601c40;
}

.single-post-wrapper .post-content-wrapper:after {
  content: "";
  display: block;
  height: 1em;
  clear: both;
}

.text-contrast {
  color: #000 !important;
}

.slash-effect::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 500%;
  right: -118%;
  top: -100px;
  background-color: rgba(40, 40, 40, 0.8);
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}
.slash-effect-2::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 500%;
  right: 0;
  top: -100px;
  background-color: rgba(255, 255, 255, 0.05);
  transform: rotate(30deg);
  -webkit-transform: rotate(30eg);
  -moz-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  -o-transform: rotate(30deg);
}
.slash-effect-3::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 500%;
  right: 0;
  top: -100px;
  background-color: rgba(0, 0, 0, 0.1);
  transform: rotate(30deg);
  -webkit-transform: rotate(30eg);
  -moz-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  -o-transform: rotate(30deg);
}

.big-dotted {
  list-style: none inside;
  counter-reset: big-dotted-counter;
  padding: 0;
  margin: 1em 0;
}
.big-dotted li {
  counter-increment: big-dotted-counter;
  line-height: 2em;
  margin-bottom: 1em;
  position: relative;
}
.big-dotted li:before {
  content: counter(big-dotted-counter, upper-alpha);
  display: block;
  width: 2em;
  height: 2em;
  background-color: #1d743e;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  color: #fff;
  margin-right: 1em;
  margin-top: -2px;
}

.big-dotted[start="7"] {
  counter-reset: big-dotted-counter 6;
}
.big-dotted[start="15"] {
  counter-reset: big-dotted-counter 14;
}

.text-white .big-dotted li:before {
  background-color: #fff;
  color: #1d743e;
}

h3 em strong {
  font-size: 1.4em;
  text-transform: uppercase;
  font-weight: 300 !important;
  color: #4a6c57;
  letter-spacing: -2px;
}
.text-white h3 em strong {
  color: #fff;
}

.check-list {
  list-style: none inside;
  padding: 0.5em 1em;
  margin: 0;
}
.check-list li {
  display: block;
  padding: 0.2em;
  font-size: 1.4em;
  font-weight: 300;
  position: relative;
}
.check-list li:before {
  content: "";
  font-family: "Font Awesome 5 Free";
  color: #4a6c57;
  display: inline-block;
  margin-right: 0.2em;
  font-weight: bold;
}
.text-white .check-list,
.text-white .check-list li:before {
  color: #fff;
}

.product-attribute-image {
  position: relative;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
.product-attribute-image .product-attribute-title {
  line-height: 1.1em;
  position: absolute;
  bottom: 0;
  text-align: center;
  font-size: 0.8em;
  color: #fff;
  background-color: #14512b;
  padding: 0.2em 2em;
  border: 0px solid #fff;
  top: 60%;
  transform: rotate(-30deg) translate(15%, 20%);
  width: 100%;
}

/* Child Elements Styles */
.child-pages ul li, .info-box ul li { padding: 0 0 0.5em 0; }
.child-element-wrapper .child-element .child-element-image { position: relative; }
.child-element-wrapper .child-element .child-element-image .child-element-title { display: table; width: 100%; height: 100%; background-color: rgba(29, 116, 62, 0.4); position: absolute; top: 0; right: 0; left: 0; bottom: 0; transition: all 0.2s ease-in; }
.child-element-wrapper .child-element .child-element-image .child-element-title:hover { background-color: rgba(29, 116, 62, 0.2); }
.child-element-wrapper .child-element .child-element-image .child-element-title h3 { display: table-cell; vertical-align: middle; text-align: center; font-weight: 600; color: #fff; font-size: 1.8rem; padding: 1em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); transition: all 0.2s ease-in; }
.child-element-wrapper .child-element .child-element-image .child-element-title:hover h3 { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }

.page .page-events-wrapper { background-color: #f5f5f5; margin-top: 2em; margin-bottom: 2em; padding-top: 2em; padding-bottom: 2em; }

/* Single and Page Styles */

.post-share { border-top: 1.5px dotted #460829; }
.post-share:after { content: ""; display: block; clear: both; }
.post-meta { border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.post-attachment-wrapper { border-top: 1px dotted #074293; }
.post-attachment-wrapper .post-attachment { list-style: none inside; margin: 0; padding: 0; }
.post-attachment-wrapper .post-attachment a { font-size: 1.4em; }

.usp-list {
  margin: 1em !important;
  padding: 1em;
  position: relative;
  font-size: 1.4em;
  color: #2383c4;
  z-index: 1;
}
.usp-list:before {
  background-color: #d2e4fd;
  content: "";
  display: block;
  position: absolute;
  right: 24%;
  left: 2em;
  top: 0;
  bottom: 0;
  z-index: -1;
}
.usp-list li {
  line-height: 0.8em;
  margin-bottom: 0.2em;
}
.usp-list li em {
  font-size: 0.8em;
  color: #555;
}

.product-highlight {
  background: linear-gradient(
    to bottom,
    #e5e5e5 0%,
    #b5b5b5 61%,
    #9e9e9e 62%,
    #b6b6b6 100%
  );
}
.product-highlight .archive-description {
  color: #074293;
}

.product-category-wrapper,
.case-category-wrapper {
  display: block;
  text-align: center;
  text-transform: uppercase;
  color: #2383c4;
}
.case-category-wrapper {
  color: #074293;
}
.product-category-wrapper img,
.case-category-wrapper img,
.product-category-wrapper .fas,
.case-category-wrapper .fas,
.product-category-wrapper .fab,
.case-category-wrapper .fab {
  border: 5px solid #2383c4;
  background: #fff;
  border-radius: 100%;
  padding: 0;
  margin: 0 auto 15px auto;
  width: 140px;
  height: 140px;
  display: block;
  max-width: 100%;
  font-size: 4em;
  line-height: 127px;
}

.case-post-wrapper {
  background-color: #fff;
}
.case-post-wrapper .card-title {
  font-size: 1.2rem;
  word-break: break-word;
  border-bottom: 1px dotted;
  padding-bottom: 0.5em;
}
.case-post-wrapper .card-text {
  height: 4.1em;
  overflow: hidden;
  line-height: 1em;
  margin-bottom: 0.5em;
  font-size: 0.9em;
  letter-spacing: 0.2px;
}

.case-post-wrapper .case-image {
  position: relative;
}
.case-post-wrapper .case-image .category-icon {
  z-index: 10;
  position: absolute;
  width: 70px;
  right: -1em;
  top: 1em;
  padding: 2px;
  background-color: #2383c4;
  border-radius: 100%;
  height: 70px;
  line-height: 74px;
  text-align: center;
  color: #fff;
}
.case-post-wrapper .case-image .category-icon i {
  font-size: 2em;
}
.case-post-wrapper .case-image figure {
  position: relative;
  width: 100%;
  height: 100%;
  background-attachment: scoll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-right: 5px solid #2383c4;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.case-post-wrapper .case-image figure img {
  max-width: 100%;
  max-height: 300px;
  opacity: 0;
}

.product-thumbnail {
  max-width: 100%;
  margin: 0 auto 1em auto;
  height: auto;
}

/* Archive Page Styles */

.cat-list a {
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: 700;
  font-style: normal;
  font-family: "TitilliumWebRegular";
  color: #222;
}
.cat-list a:hover {
  color: #1e2859;
}

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

.content-blog .card-img {
  height: 100%;
  overflow: hidden;
  display: block;
  min-height: 150px;
  background-color: #efefef;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.content-blog .card-img img {
  opacity: 0;
  margin: 0;
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
}

.social-share {
  float: right;
  margin: 0.5em 0;
}
.social-share li {
  padding: 0 0.5em;
}
.social-share li:last-child {
  padding-right: 0;
}
.social-share li:first-child {
  padding-left: 0;
}

.archive .post .button-wrapper.sinistra,
.blog .post .button-wrapper.sinistra,
.search .post .button-wrapper.sinistra {
  text-align: left;
}
.archive .post .button-wrapper.centro,
.blog .post .button-wrapper.centro,
.search .post .button-wrapper.centro {
  text-align: center;
}
.archive .post .button-wrapper.destra,
.blog .post .button-wrapper.destra,
.search .post .button-wrapper.destra {
  text-align: right;
}

.archive .products.row {
  margin-top: 30px;
}

.post .post-thumbnail,
.search .post-thumbnail {
  height: 120px;
  border: none;
  overflow: hidden;
  display: block;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.post .post-thumbnail img,
.search .post-thumbnail img {
  opacity: 0;
}

.no-results {
  margin-bottom: 2em;
}

.child-page figure {
  position: relative;
}
.child-page figure figcaption {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: table;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.child-page figure figcaption span {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
}
.child-page figure figcaption span:hover {
  background-color: rgba(0, 0, 0, 0);
}
.child-page figure figcaption span h3 {
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
  z-index: 3;
}

.card-img,
.card-img-top {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  position: relative;
}

.post-card .card-img-top {
  filter: brightness(0.6);
}

.product_post.br-element .price {
  position: absolute;
  right: 0.5em;
  bottom: 0.5em;
  background-color: #074293;
  color: #fff;
  padding: 0.2em 1.5em;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.product_post.br-element .card-body {
  position: relative;
  background-color: #2383c4;
  height: 120px;
  overflow: hidden;
}
.product_post.br-element .card-title {
  font-size: 1.2em;
  line-height: 1.2em;
  color: #fff;
  text-transform: uppercase;
}

.br-element.widget {
  margin-bottom: 30px;
}

.card {
  color: #111525;
}
.card .card-icon {
  position: absolute;
  display: block;
  top: 0;
  right: 0.5em;
  font-size: 1.5em;
  line-height: 2em;
  height: 2em;
  width: 2em;
  text-align: center;
  color: #fff;
  background-color: #7e114b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.card .card-icon.associate-logo {
  height: 3em;
  width: 3em;
  background: #fff;
  line-height: 3em;
  top: 0.2em;
  right: 0.2em;
  border: 2px solid #fff;
  z-index: 2;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
}
.card .card-icon.associate-logo img {
  opacity: 0;
  max-width: 0;
  max-height: 0;
}

.post.card .card-body {
  height: 310px;
  overflow: hidden;
  position: relative;
}
.content-blog.post.card .card-body {
  overflow: visible;
}
.post.card .button-wrapper {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  margin: 0;
  background-color: #fff;
}

.card-header.cat-list:before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline;
  color: #111525;
  vertical-align: middle;
  font-family: "Font Awesome 5 free";
  font-weight: bold;
  margin-right: 2px;
  font-size: 1em;
}

.card-img {
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  height: 25vh;
  min-height: 120px;
}
.card-img img {
  opacity: 0;
  max-width: 100%;
  max-height: 100%;
}

.hubspot-post {
  border: 1px solid #e5e5e5;
}
.hubspot-post .hubspot-post-body {
  height: 220px;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 1em;
}
.hubspot-post .hubspot-post-body.with-excerpt {
  height: auto;
}
.hubspot-post .hubspot-post-body .hubspot-post-date {
  margin: 0.5em 0 0 0;
  display: block;
}
.hubspot-post .hubspot-post-body .hubspot-post-title {
  text-transform: none;
  margin: 0;
}
.hubspot-post .hubspot-post-body .button-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}
.hubspot-post .hubspot-post-body.with-excerpt .button-wrapper {
  position: relative;
  margin-top: 1em;
}
.text-white .hubspot-post .hubspot-post-body .button-wrapper .btn.btn-default {
  border: 2px solid #fff;
  background-color: #fff;
  color: #1a3962;
  font-weight: 600;
}
.hubspot-post .hubspot-image {
  position: relative;
}

.hubspot-post .hubspot-image .hubspot-cat-list {
  position: absolute;
  right: 0;
  top: 0;
  list-style: none inside;
  padding: 1em;
  margin: 0;
  transition: 0.2s all ease-in;
}
.hubspot-post .hubspot-image .hubspot-cat-list li {
  display: inline-block;
  margin: 0 0.4em;
  border: 1px solid #fff;
  letter-spacing: -1px;
  padding: 0.5em 1em;
  border: 1px solid #fff;
  background-color: rgba(0, 0, 0, 0.1);
}
.hubspot-post .hubspot-image:hover .hubspot-cat-list {
  opacity: 0;
}

.icon-wrapper {
  margin: 0 auto;
  max-width: 50%;
  color: #1a3962;
  text-align: center;
}
.icon-wrapper .icon-wrapper-image {
  transition: 0.2s all ease-in-out;
}
.icon-wrapper:hover .icon-wrapper-image {
  transform: scale(1.2);
}
.icon-wrapper.wider {
  max-width: 80%;
}
.icon-wrapper.full {
  max-width: 100%;
}

.icon-wrapper-text {
  font-size: 0.9em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
}

.industries-products-wrapper,
.industries-platforms-wrapper,
.industries-crossnav-wrapper {
  background-color: #fff;
}
.industries-magazine-wrapper {
  background-color: #d2e7ec;
}

.flex-5-columns {
  flex-basis: 20%;
}

/* Archive Styles */

.post-wrapper {
  padding: 2em 0 0 0;
  margin-top: 2em;
}

/* Cross Navigation Styles */

#crossnav-wrapper {
  background-color: #e4efff;
  padding-top: 1.2em;
  padding-bottom: 1em;
}

/* Sidebar Styles */

.sidebar ul {
  list-style: none inside;
  padding: 0;
  margin: 0 0 1em 0;
}
.sidebar .sidebar-widget {
  padding: 0.5em;
}

.sidebar .sidebar-widget h4 {
  text-transform: none;
  margin: 0 0 0.5em 0;
  font-weight: 700;
}

.widget_recent_entries li {
  border-top: 0.5px dashed #ddd;
  padding: 0.5em 0 0em 0em;
}

.widget_recent_entries li a {
  font-size: 1em;
  text-decoration: underline;
  padding: 0.5em 0 0em 0em;
}

.sidebar .sidebar-widget a:hover {
  color: #0356af;
}

.widget_recent_entries .post-date {
  display: block;
  margin-bottom: 0.5em;
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.widget_search .search-wrapper input[type="text"] {
  border-radius: 3px 3px 0 0;
}
.widget_search .search-wrapper button {
  border-radius: 0 0 3px 3px;
}

.sidebar .widget_categories .cat-item {
  border: 1px solid #192436;
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 0.5em 0.5em 0;
}
.sidebar .widget_categories .cat-item:hover {
  background-color: #192436;
  color: #fff;
}
.sidebar .widget_categories .cat-item:hover a {
  color: #fff !important;
}

/* Contact form Styles */

span.wpcf7-list-item {
  display: inline !important;
  margin: 0 0 0 0;
}

/* Footer Styles */
#credits {
  font-size: 0.9em;
}

#main-footer-wrapper {
  color: white;
  background-color: var(--primary-color);
  position: relative;
}

.social-link {
  font-size: 3em;
  display: inline-block;
  vertical-align: top;
  margin: 0 1em 0 0;
}

#company-info {
  color: #aaa;
  margin: 2em 0;
}
#company-info dt {
  display: inline-block;
  margin-right: 0.2em;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0;
}
#company-info dd {
  display: inline;
  margin: 0;
}
#company-info dd:after {
  content: "";
  display: block;
  margin-bottom: 0.5em;
}

#aitec {
  float: right;
}

.credits-links {
  list-style: none inside;
  padding: 0;
  margin: 0;
  float: left;
}
.credits-links li {
  display: inline-block;
  vertical-align: top;
  position: relative;
}
.credits-links li:after {
  content: " /";
}
.credits-links li:last-child:after {
  content: "";
}

/* Pagination Styles */

.pagination {
  display: block;
  text-align: center;
  margin: 2em 0;
}
.pagination .screen-reader-text {
  display: none;
}
.pagination .page-numbers {
  border: 1px solid#0356af;
  background-color: #0356af;
  color: #fff;
  display: inline-block;
  height: 3em;
  line-height: 3em;
  width: 3em;
  vertical-align: top;
}
.pagination .page-numbers.current {
  background-color: #fff;
  color: #0356af;
}
.pagination .page-numbers:not(.current):hover {
  background-color: #2383c4;
  color: #fff;
}
.pagination .page-numbers.next,
.pagination .page-numbers.prev {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
}

/* Modal lightbox */

.lightbox {
  cursor: pointer;
}
.modal-lightbox {
  background-color: rgba(0, 0, 0, 0.8);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100001;
}
.modal-lightbox .modal-lightbox-close,
.modal-lightbox .modal-lightbox-prev,
.modal-lightbox .modal-lightbox-next {
  font-size: 3em;
  position: absolute;
  color: #fff;
  transition: all 0.1s ease-in;
  cursor: pointer;
}
.modal-lightbox .modal-lightbox-close:hover,
.modal-lightbox .modal-lightbox-prev:hover,
.modal-lightbox .modal-lightbox-next:hover {
  color: #6dadd6;
}
.modal-lightbox .modal-lightbox-close {
  right: 0.5em;
  top: 0.5em;
}
.modal-lightbox .modal-lightbox-prev {
  left: 0.5em;
  top: 50%;
}
.modal-lightbox .modal-lightbox-next {
  right: 0.5em;
  top: 50%;
}
.modal-lightbox-image {
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8);
  position: absolute;
}

/* Map Shortcode */

#map-wrapper {
  min-height: 450px;
}

#social-wrapper {
  position: relative;
  padding: 1em;
  display: table;
  width: 100%;
  height: 100%;
}

.social-list {
  list-style: none inside;
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 1.5em;
  vertical-align: middle;
}
.social-list li {
  display: inline-block;
  vertical-align: top;
  padding: 0em 0.2em 0 0.2em;
}
.social-list li:last-child {
  display: inline-block;
  vertical-align: top;
  padding: 0em 0em 0 0.2em;
}

.social-list-bottom {
  list-style: none inside;
  margin: 0;
  padding: 0;
  font-size: 2em;
}
.social-list-bottom li {
  display: inline-block;
  vertical-align: top;
  padding: 0em 0.2em 0 0.2em;
}

.social-list-bottom li:last-child {
  display: inline-block;
  vertical-align: top;
  padding: 0em 0em 0 0.2em;
}

/* Various Styles */

#help-cta {
  position: fixed;
  right: 0;
  bottom: 2em;
  width: 2em;
  height: 2em;
  display: block;
  background-color: #c91e1e;
  color: #fff;
  z-index: 9999;
  text-align: center;
  font-size: 2.5em;
  line-height: 2em;
  border-radius: 0.25em 0 0 0.25em;
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.grecaptcha-badge {
  display: none;
}

.aitec-svg-logo.white .fillText {
  fill: #ffffff;
}
.aitec-svg-logo.black .fillText {
  fill: #000000;
}
.aitec-svg-logo.special .fillText {
  fill: rgba(255, 255, 255, 0);
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 4px;
  transition: all 0.3s ease-in-out;
}
.aitec-svg-logo.special:hover .fillText {
  fill: rgba(255, 255, 255, 1);
}

#aitecHtmlLogo {
  display: none;
}

#aitec-credits {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 0.9em;
  background-color: #fff;
}
#aitec-credits #made-by {
  text-transform: uppercase;
}
#aitec-credits #made-by em {
  font-size: 1.2em;
  text-transform: none;
  margin-right: 0.2em;
}
#aitec-credits a {
  text-decoration: none;
  color: #fff !important;
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  text-transform: none !important;
  margin: 0 0 0 5px;
}
#aitec-credits .at {
  display: inline-block;
  font-size: 1.15em;
  font-weight: 300;
  margin-right: -3px;
  margin-top: -4px;
  vertical-align: top;
}
#aitec-credits .it {
  background: radial-gradient(#42518c, #42518c, rgba(208, 208, 208, 0)) repeat
    scroll 0 0 rgba(0, 0, 0, 0);
  color: #dd3333;
  display: inline-block;
  height: 1em;
  line-height: 1em;
  width: 1em;
  margin: 0 -10px 0 0 !important;
}

#aitec-credits .aitec-svg-logo {
  height: 1.8em;
  width: 4em;
  margin: 0.5em 0;
}

@media only screen and (max-width: 480px) {
  #aitec-credits #made-by {
    display: none;
  }
  #aitec-credits a {
    position: relative;
    margin: 0;
  }
}

.wpcf7 .form-check { padding-left: 0px; }
.wpcf7 .form-check-label { display: inline; line-height: 1.2em; font-size: 0.9em; padding-left: 0.3em; }

.modal-dialog {
  color: #222;
}
.privacy-policy-container h1,
.privacy-policy-container h2,
.privacy-policy-container h3,
.privacy-policy-container h4 {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

/* CSS3 Text columns styles */

.text-column-2 {
  columns: 2;
}
.text-column-3 {
  columns: 3;
}
.text-column-4 {
  columns: 4;
}
.text-column-5 {
  columns: 5;
}

.wpcf7-list-item-label {
  display: none;
}
.wpcf7 a {
  text-decoration: underline;
}

/*New stuff*/
#mobile-menu-toggle {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  font-size: 1.5rem;
  display: none;
  color: white;
  cursor: pointer;
}

#main-header {
  position: relative;
}

#main-header-content {
  position: absolute;
  top: 5px;
  z-index: 10;
  width: 100vw;
}

.inner #main-header-content {
  position: relative;
  top: 0;
  background-color: var(--primary-color);
}

.menu-decoration-wrapper {
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: 5;
  height: 30vh;
  overflow: hidden;
}
.inner .menu-decoration-wrapper {
  display: none;
}

.menu-decoration {
  position: absolute;
}

.bottomslider-decoration-wrapper {
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: 5;
  height: 50vh;
  overflow: hidden;
}
.inner .menu-decoration-wrapper {
  height: 180px;
}

.bottomslider-decoration {
  position: absolute;
  top: 0;
  z-index: 5;
  margin-left: calc(calc(calc(2000px - 100vw) / 2) * -1);
  width: 2000px;
}

.menu-decoration.green {
  fill: #97d521;
  z-index: 6;
  top: -285px;
}
.menu-decoration.white {
  fill: #ffffff;
  top: -145px;
  transform: scaleY(70%);
}
.menu-decoration.blue {
  fill: var(--primary-color);
  z-index: 4;
  top: -160px;
}

.inner .menu-decoration.green {
  fill: #97d521;
  z-index: 6;
  top: -212px;
  transform: scaleY(17%) rotate(0deg);
}
.inner .menu-decoration.white {
  fill: #ffffff;
  top: -146px;
  transform: scaleY(40%) rotate(4deg);
}
.inner .menu-decoration.blue {
  fill: var(--primary-color);
  z-index: 4;
  top: -123px;
  transform: scaleY(28%) rotate(0deg);
}

.main-menu {
  list-style: none;
  text-align: end;
  margin: 0;
  padding: 0;
}

.main-menu li {
  display: inline;
  position: relative;
}

#main-header .main-menu > li > a {
  padding: 0 0 0 1.5vw;
}

.main-menu li a {
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.7em;
  white-space: nowrap;
  color: white;
  text-transform: none;
}

.inner .main-menu li a {
  font-size: 1.2em;
}

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

.mobile-menu li:not(:last-child) {
  margin-bottom: 3px;
}

.mobile-menu li a {
  font-size: 2rem;
  font-family: "TitilliumWebRegular";
  font-style: normal;
  font-weight: 300;
  text-decoration: none;
}

#main-footer h1,
#main-footer h2,
#main-footer h3,
#main-footer h4,
#main-footer h5,
#main-footer h6 {
  text-transform: none;
  color: white;
}

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

.inner .wpcf7-form .form-check {
  padding-left: 0;
}

#main-footer .form-check {
  padding-left: 0;
}

.top-logo { text-decoration: none; }
.top-logo img { width: 100%; }
.top-logo h1 { font-family: "TitilliumWebRegular"; text-transform: none; color: white; margin-bottom: 0; font-weight: normal; font-size: 1.7em; }
.top-logo h1 strong { font-family: "TitilliumWebBold"; }

.deco-button {
  -webkit-box-shadow: 5px 5px 0px 2px rgba(3, 86, 175, 0.4);
  box-shadow: 5px 5px 0px 2px rgba(3, 86, 175, 0.4);
}

.deco-button:hover {
  -webkit-box-shadow: 6px 6px 0px 2px rgba(3, 86, 175, 0.5);
  box-shadow: 6px 6px 0px 2px rgba(3, 86, 175, 0.5);
}

a.card-image-wrapper {
  position: relative;
  display: block;
}

.card-image-wrapper figure {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  overflow-y: visible;
  overflow-x: visible;
}

.card-image-wrapper:hover .card-bottom-line {
  height: 30%;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.card-image-wrapper-text {
  z-index: 2;
  padding-left: 0.2em;
  padding-right: 0.2em;
  position: absolute;
  bottom: 0;
  font-family: "TitilliumWebBold";
  font-style: normal;
  font-weight: 700;
  font-size: 3.5em;
  line-height: 1em;
  margin-bottom: 0.5em;
  color: white;
}

.inner .card-image-wrapper-text {
  font-size: 2.8em;
}

.card-bottom-line {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2%;
  background-color: var(--primary-color);
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.card-image-wrapper-text-smaller {
  padding-left: 0.5em;
  padding-right: 0.5em;
  position: absolute;
  bottom: 0;
  font-family: "TitilliumWebBold";
  font-style: normal;
  font-weight: 700;
  font-size: 2em;
  line-height: 1em;
  text-transform: uppercase;
}

.br-element.post .card {
  background-color: #fff;
}
.br-element.post .card-body {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.br-element.post .card-date {
  color: #aaaaaa;
  overflow: hidden;
  font-size: 0.9em;
  line-height: 1.2em;
  margin-bottom: 0;
}
.br-element.post .card-text {
  font-size: 0.9em;
  line-height: 1.2em;
  text-align: justify;
  padding: 1em 0 0 0;
}

.card-text.blog.text {
  font-size: 0.9em;
}

.content-blog.card .card-button-wrapper,
.card.activity-grid-item .card-button-wrapper,
.br-element.post .card-button-wrapper {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 1em;
  background: linear-gradient(to top, #fff 90%, transparent);
  margin: 0;
  border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
}

.post-card {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.info-box { color: white; background-color: var(--primary-color); }

.info-box a { color: white; }

.info-box h2,
.info-box h3,
.info-box h4,
.info-box h5 { color: white; margin: 0 0 0.5em 0;  padding-bottom: 0.4em; border-bottom: 1px dashed #fff; }

.info-box p {
  margin-bottom: 1em;
}

.info-box h1,
.info-box h2,
.info-box h3,
.info-box h4,
.info-box h5,
.info-box h6 {
  text-transform: none;
}

.info-box h4 {
  font-weight: 400;
  font-size: 1.2em;
}

.info-box .menu {
  list-style: none inside;
  padding: 0;
  margin: 0;
  display: block;
}
.info-box .menu li {
  display: block;
  margin-bottom: 0.2em;
  padding: 0.4em;
  border-bottom: 1px dashed #fff;
}
.info-box .menu li a {
  text-decoration: none;
}

.button-wrapper .btn-green {
  width: 100%;
  margin-top: 1em;
  margin-bottom: 1em;
  background-color: #82c301;
  color: white;
  font-weight: 600;
}

.button-wrapper .btn-green:hover {
  background-color: #fff;
  color: #82c301;
  border: 1px solid #82c301;
  font-weight: 600;
}

.gallery-images {
  margin-bottom: 1em;
}

.gallery-img {
  aspect-ratio: 1;
  object-fit: cover;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.gallery-img:hover {
  scale: 1.02;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.page_content {
  padding-bottom: 2em;
}

.post_date {
  color: #0356af;
}

.event-detail-box {
  color: #7dc303;
  border: 2px solid #7dc303;
  border-radius: 3px;
}

.event-detail-box h4 {
  text-transform: none;
  margin-bottom: 1.5em;
  color: #7dc303;
}

.event-detail-box .event-detail-text {
  align-self: center;
}

.event-detail-box .event_map {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-detail-box .badge.badge-pill {
  background-color: #7dc303;
  color: white !important;
}

.next_event_date {
  font-size: 0.9em;
  color: #aaaaaa;
}

.post_tags.event_card {
  line-height: 1em;
}

.post_tags.event_card a {
  font-size: 0.8em;
}

h3.hubspot-post-title {
  display: block; /* or inline-block */
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 1.8em;
  line-height: 1.8em;
}

.blog-img {
  object-fit: cover;
}

.activity-image {
  aspect-ratio: 3/2;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.activity-image img {
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
}

.activity-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.2em 1em;
  font-size: 0.75em;
  background-color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.page-attachements {
  margin-bottom: 2em;
}

.page-attachments-list {
  list-style: none;
  padding-left: 0;
}

.page-attachments-list li {
  margin-bottom: 1em;
}

.page-attachments-list li:last-child {
  margin-bottom: 0;
}

.page-attachments-list li a {
  text-decoration: none;
}

a.activity-grid-item-link {
  text-decoration: none;
}

.event-post-title {
  display: block;
  line-height: 1.1em;
  font-size: 1.2em;
}

.event-post-button-wrapper {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 1em;
  background: linear-gradient(to top, #fff 90%, transparent);
  margin: 0;
  border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
}

.event-post-card-body {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.slider-content > * {
  color: white;
}

.social-list-bottom li a {
  font-size: 1.5em;
  color: white;
}

.card-title.blog-text {
  color: var(--primary-color);
  text-transform: none;
  line-height: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.content-blog.card .card-text.blog-text {
  height: 200px;
  line-height: normal;
}

.content-blog.card .card-date {
  color: #aaaaaa;
  overflow: hidden;
  font-size: 0.9em;
  line-height: 1.2em;
  margin-bottom: 0;
}

.no-y-margin {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.inner .main-logo {
  aspect-ratio: 1 / 1;
  max-width: 70%;
  background-color: #fff;
  padding: 0.5em;
  border-radius: 100%;
  border: none;
}

#bcrumbs-wrapper {
  position: relative;
  height: 54px;
  overflow: hidden;
  z-index: 1;
}

#bcrumbs-wrapper-lines {
  height: 2px;
  border-bottom: 1px dashed #c4c4c4;
}

.nav-links a {
  text-decoration: none;
}

/*MENU*/
.main-menu > li:hover .sub-menu {
  -webkit-animation-name: slideMenu;
  animation-name: slideMenu;
  -webkit-animation-duration: 0.45s;
  animation-duration: 0.45s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.main-menu .sub-menu {
  -webkit-animation-name: slideMenuRevert;
  animation-name: slideMenuRevert;
  -webkit-animation-duration: 0.25s;
  animation-duration: 0.25s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.main-menu .sub-menu {
  font-size: 14px;
  visibility: hidden;
  opacity: 0;
  display: block;
  position: absolute;
  top: 1.8em;
  right: 0em;
  z-index: 10;
  background-color: #fff;
  padding: 0 1.2em;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  border-radius: 0 0 1px 1px;
  transition: all 0.25s ease-out;
}

.main-menu .sub-menu li {
  display: block;
}

.main-menu .sub-menu li a {
  display: block;
  font-weight: 400;
  padding: 0.5em 0;
  line-height: 1.2em;
  transition: all 0.2s ease-in;
  padding-right: 0.5em;
  padding-left: 0;
  color: var(--text-base-color);
}

.main-menu .sub-menu li a:hover {
  color: var(--tertiary-color);
  text-decoration: none;
  transition: all 0.2s ease-out;
}

.event_payment_card {
  padding: 1em;
  border: 2px solid var(--primary-color);
  border-radius: 3px;
  color: var(--primary-color);
}

.search-form-label::after {
  background-color: transparent !important;
}

#main-footer a {
  text-decoration: none;
  color: white;
}

#main-footer h4 {
  font-weight: normal;
  text-transform: none;
  color: white;
  margin-bottom: 0;
}

#main-footer ul {
  list-style: none;
  padding-left: 0;
}

.footer-separated-title {
  padding-bottom: 0.8em;
}

#main-footer .wpcf7-not-valid-tip {
  color: white;
}

/* Blog roll elements Styles */

.br-element {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.br-element .post {
  background-color: #e5e5e5;
}
.br-element .post .thumbnail {
  box-shadow: none;
  margin: 1em;
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.br-element .post h2 {
  margin: 1em 0;
  font-size: 16px;
  padding: 0 15px 0 0;
  line-height: 1em;
  height: 3em;
  overflow: hidden;
  text-transform: uppercase;
}
.br-element .post .post-excerpt {
  font-size: 14px;
  padding: 0 15px 0 0;
  font-weight: 300;
  line-height: 18px;
  height: 120px;
  overflow: hidden;
  position: relative;
}
.br-element .post .post-excerpt:after {
  position: absolute;
  content: "";
  right: 0;
  left: 0;
  bottom: 0;
  height: 18px;
  background: linear-gradient(to top, #fff, transparent);
}
.br-element .post .read-more {
  top: 0;
}

.br-slider-header {
  display: table;
  width: 100%;
  padding: 1.5em 0;
}
.br-slider-header .br-slider-title,
.br-slider-header .br-slider-link,
.br-slider-header .br-slider-control {
  display: table-cell;
  vertical-align: middle;
}

.br-slider-header .br-slider-title {
  font-size: 2.2rem;
}

.br-slider-header .br-slider-link {
  width: 10em;
  text-align: center;
  color: var(--secondary-color);
}

.br-slider-header .br-slider-control {
  width: 7em;
}

.br-slider-header .br-slider-control span {
  font-size: 1em;
  height: 3em;
  width: 3em;
  line-height: 3em;
  display: inline-block;
  text-align: center;
  position: relative;
  margin-right: 5px;
  background-color: white;
  -webkit-box-shadow: 0px 0px 10px 5px #b3b3b3;
  box-shadow: 0px 0px 10px 5px #b3b3b3;
  color: var(--primary-color);
  transition: all 0.3s ease-in-out;
  scale: 1;
}

.br-slider-header .br-slider-control span.active {
  transition: all 0.3s ease-in-out;
  background-color: var(--primary-color);
  color: white;
}

.br-slider-header .br-slider-control span:hover {
  scale: 1.05;
}

.br-slider-header.inline {
  border: none;
  display: block;
  width: 100%;
  padding: 0;
  position: relative;
}

.br-slider-header.inline .br-slider-control {
  position: relative;
  margin-left: -5em;
  margin-right: -5em;
  width: calc(100% + 10em);
  height: 0;
  display: block;
  padding: 0;
}

.br-slider-header.inline .br-slider-control .br-slider-control-left,
.br-slider-header.inline .br-slider-control .br-slider-control-right {
  position: absolute;
}
.br-slider-header.inline .br-slider-control .br-slider-control-left {
  left: 0;
}
.br-slider-header.inline .br-slider-control .br-slider-control-right {
  right: 0;
}

.br-slider-header h2 {
  margin-bottom: 0;
  display: table-cell;
  vertical-align: middle;
}

.br-element {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.br-element .post {
  background-color: #e5e5e5;
}

.br-element .post .thumbnail {
  box-shadow: none;
  margin: 1em;
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.br-element .post h2 {
  margin: 1em 0;
  font-size: 16px;
  padding: 0 15px 0 0;
  line-height: 1em;
  height: 3em;
  overflow: hidden;
  text-transform: uppercase;
}

.br-element .post .post-excerpt {
  font-size: 14px;
  padding: 0 15px 0 0;
  font-weight: 300;
  line-height: 18px;
  height: 120px;
  overflow: hidden;
  position: relative;
}

.br-element .post .post-excerpt:after {
  position: absolute;
  content: "";
  right: 0;
  left: 0;
  bottom: 0;
  height: 18px;
  background: linear-gradient(to top, #fff, transparent);
}

.br-element .post .read-more {
  top: 0;
}

.br-slider-stager {
  overflow: hidden;
}

.dot {
  height: 0.9em;
  width: 0.9em;
  border-radius: 50%;
  display: inline-block;
}

ul.card-museum {
  list-style: none inside;
  padding: 0;
  margin: 0 0 0 0;
}

ul.card-museum a {
  text-decoration: none;
}

.floating-card-section,
ul.card-museum a li p {
  text-transform: uppercase;
  color: #999999;
  margin-bottom: 1em;
}

.br-element.post .card-title {
  text-align: left;
  width: 100%;
  padding-left: 1.2em;
  padding-right: 1.2em;
  color: white;
  text-transform: none;
  font-size: 1.3em;
  position: absolute;
  bottom: 50%;
}

.card-image-title-wrapper {
  position: relative;
}

.home-vertical-centered.vc_row-has-fill .vc_column-inner {
  padding-top: 10% !important;
  padding-bottom: 10% !important;
}

.floating-card.card.piccola {
  width: 18rem;
}

.floating-card.card.media {
  width: 30rem;
}

.floating-card.card.grande {
  width: 38rem;
}

.card {
  border-radius: 2px;
}

.card .card-body {
  padding-left: 1.5em;
  padding-right: 1.5em;
  padding-top: 1em;
  padding-bottom: 1em;
  color: var(--text-base-color);
}

.floating-card-title {
  font-family: "TitilliumWebRegular";
  font-weight: 300;
  margin-bottom: 0.8em;
}

.floating-card-text{
  margin-bottom: 2em;
}

.darkened {
  filter: brightness(0.6);
}

.post_img {
  width: 100%;
  object-fit: cover;
}

ul#main-menu .menu-item.menu-item-has-children > a::after {
  content: " \f078";
  font-weight: 600;
  font-family: "Font Awesome 5 Free";
  font-size: 0.8em;
}

.slider-card{
  position: absolute;
  left: 12vw;
  bottom: calc(10vw - 130px);
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wpcf7 .form-check .form-check-input{
  margin-left: 0;
}

#main-footer .button-wrapper button{
  margin-top: 0.2em;
  background-color: transparent;
  text-align: left;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: underline;
  padding: 0.3em 0em;
  border: none;
}

#accessibility-switch { position: fixed; bottom: 1em; left: 1em; font-size: 3em; border: 0; background: blue; width: 1.2em; height: 1.2em; line-height: 1em; text-align: center; padding: 0; border-radius: 50%; color: #fff; z-index: 2; }
#accessibility-switch:hover { background:green; }