/*
Theme Name: Sorgeaqua Special Theme
Theme URI: http://aitec.it
Author: The Aitec Team
Author URI: http://aitec.it
Description: A special theme created for Sorgeaqua by Aitec
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sorgeaqua

*/

:root {
  --primary-color: #0061af;
  --primary-color-light: #1970b7;
  --primary-color-lighter: #1587e4;
  --primary-color-darker: #024276;
  --primary-color-darker-rgb: 2, 66, 118;
  --primary-color-very-light: #6bb8f7;
  --primary-color-extremely-light: #f2fbff;
  --secondary-color: #99ca3d;
  --secondary-color-lighter: #b9d87f;
  --secondary-color-rgb: 153, 202, 61;
  --secondary-color-darker: #85b62b;
  --tertiary-color: #d6dfe7;
  --text-color: #616161;
  --text-color-dark: #222222;

  --header-height: 210px;
  --logo-height: 140px;
  --menu-height: 50px;
  --top-menu-height: 44px;
  --text-size: 16px;
}

body {
  font-size: var(--text-size);
  font-family: "Titillium Web";
  color: var(--text-color);
  position: relative;
  margin: 0;
  padding: 0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  /*font-weight: 500;*/
}

a:hover {
  text-decoration: none;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

#primary .main-content a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

a:visited,
a:active,
a:focus {
  text-decoration: none;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-color);
  font-family: "Titillium Web";
  margin-bottom: 0.8em;
  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;
}

h1.deco-title.smaller {
  font-size: 1.7rem;
}

h2.deco-title.smaller {
  font-size: 1.5rem;
}

h3.deco-title.smaller {
  font-size: 1.2rem;
}

h4.deco-title.smaller {
  font-size: 1rem;
}

hr {
  border-top: 1px dashed var(--primary-color);
}

b,
strong {
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

figure {
  margin: 0;
}

span.bigger-text {
  font-size: 1.5em;
}

.autosquare,
.aspect-image {
  overflow: hidden;
  display: block;
  background-color: none;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.aspect-image {
  aspect-ratio: 1 / 1;
}

.autosquare img,
.aspect-image img {
  opacity: 0;
  max-width: 100%;
  max-height: 100%;
}

.btn {
  font-family: "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 0.2px;
  padding: 0.35rem 1rem;
}

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

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

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

.btn-default.green {
  border: 1px solid #242f0e;
  border-radius: 4px;
  background-color: #242f0e;
  color: #98c93c;
}

.btn-default.green:hover {
  border: 1px solid #242f0e;
  background-color: #98c93c;
  color: #242f0e;
}

.carousel-caption-content-wrapper .btn-default.inverted {
  border: 1px solid #fff;
  background-color: #fff;
  color: var(--secondary-color);
}

.btn-default.inverted:hover {
  color: #fff;
  border: 1px solid #3f3f3f;
  background-color: #3f3f3f;
}

.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: 180px;
}

.vc_parallax {
  background-color: #ccc;
}

.border-grey {
  border-color: #555 !important;
}

/* General Animation Styles */

.delay200 {
  -webkit-animation-delay: 0.2s !important;
  -moz-animation-delay: 0.2s !important;
  animation-delay: 0.2s !important;
}

.delay400 {
  -webkit-animation-delay: 0.4s !important;
  -moz-animation-delay: 0.4s !important;
  animation-delay: 0.4s !important;
}

.delayHalf {
  -webkit-animation-delay: 0.5s !important;
  -moz-animation-delay: 0.5s !important;
  animation-delay: 0.5s !important;
}

.delayHalf,
.delay500 {
  -webkit-animation-delay: 0.5s !important;
  -moz-animation-delay: 0.5s !important;
  animation-delay: 0.5s !important;
}

.delay600 {
  -webkit-animation-delay: 0.6s !important;
  -moz-animation-delay: 0.6s !important;
  animation-delay: 0.6s !important;
}

.delay800 {
  -webkit-animation-delay: 0.8s !important;
  -moz-animation-delay: 0.8s !important;
  animation-delay: 0.8s !important;
}

.delayOne {
  -webkit-animation-delay: 1s !important;
  -moz-animation-delay: 1s !important;
  animation-delay: 1s !important;
}

.delayOneHalf {
  -webkit-animation-delay: 1.5s !important;
  -moz-animation-delay: 1.5s !important;
  animation-delay: 1.5s !important;
}

.delayTwo {
  -webkit-animation-delay: 2s !important;
  -moz-animation-delay: 2s !important;
  animation-delay: 2s !important;
}

.delayThree {
  -webkit-animation-delay: 3s !important;
  -moz-animation-delay: 3s !important;
  animation-delay: 3s !important;
}

/* Header styles */

#main-header {
  transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  position: relative;
  right: 0;
  left: 0;
  top: 0;
  z-index: 3;
  background-color: #f2f6f9;
}

#main-header.sticky {
  position: fixed;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.logo-wrapper h1,
.logo-wrapper h2 {
  color: #fff;
  margin-bottom: 0;
}

.logo-wrapper h1 {
  text-transform: uppercase;
}

.logo-wrapper h2 {
  font-weight: 300;
}

.logo-wrapper div.name {
  display: inline-block;
  vertical-align: middle;
}

.menu-container {
  background-color: var(--secondary-color-lighter);
}

.logo-wrapper {
  height: auto;
  display: block;
  z-index: 1;
  transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
}

.logo-wrapper .logo {
  height: 100%;
  padding: 1em 0.5em 1em 0;
}

#main-header .menu {
  list-style: none inside;
  margin: 0;
  padding: 0;
}

#main-header .menu li {
  display: inline-block;
  vertical-align: top;
}

#main-header .menu.mobile-menu li {
  display: block;
}

#main-header .menu li:last-child {
  border-right: none;
}

#main-header .main-menu {
  position: relative;
  text-align: left;
  height: var(--menu-height);
  line-height: var(--menu-height);
}

#main-header .main-menu>li {
  position: relative;
  height: 100%;
}

#main-header .main-menu>li>a {
  color: #fff;
  display: block;
  font-size: 1em;
  font-weight: 400;
  margin: 0;
  padding: 0 1em;
  height: 100%;
  text-transform: uppercase;
  transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -webkit-transition: all 0.25s ease-out;
}

#main-header .main-menu>li:hover>a,
#main-header .main-menu>li.open>a {
  color: #fff;
  background-color: var(--primary-color);
  text-decoration: none;
  transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -webkit-transition: all 0.25s ease-out;
}

#main-header .main-menu>li.deco>a:before {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  margin-right: 0.25rem;
}

#main-header .main-menu>li.deco.assistenza>a:before {
  content: "";
}

#main-header .main-menu>li.deco.mail>a:before {
  content: "";
}

#main-header .main-menu>li.menu-item-has-children>a:after {
  font-family: "Font Awesome 5 Free";
  content: "";
  font-weight: bold;
  margin-left: 0.25rem;
}

#main-header .main-menu li:hover,
#main-header .main-menu>li.current-menu-item a,
#main-header .main-menu>li.highlight a {
  text-decoration: none;
  transition: all 0.25s ease-out;
}

#main-header div.header-widget ul {
  text-align: end;
  list-style: none inside;
}

#main-header div.header-widget ul li {
  display: inline-block;
  vertical-align: top;
  padding: 0px 0.5em;
  position: relative;
}

#main-header div.header-widget ul li:not(:last-child)::after {
  content: "";
  width: 1px;
  background-color: #fff;
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: 0;
}

#main-header div.header-widget ul li a {
  color: #fff;
  text-transform: uppercase;
}

#main-header div.top-section {
  text-align: -webkit-right;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

/* Header Search Wrapper */
#header-search-wrapper {
  text-align: end;
  width: 70%;
  background-color: var(--bs-form-control-bg);
  border-radius: 8px;
  color: var(--primary-color);
}

#header-search-wrapper button.btn-default.inverted {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border: none;
}

#header-search-wrapper button.btn-default.inverted:hover {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border: none;
  color: var(--primary-color);
}

#header-search-wrapper input {
  border-radius: 4px;
  border: none;
  background-color: #fff;
}

#header-search-wrapper button {
  background-color: #fff;
}

/* Language Selector Style */

#language-selector-wrapper {
  position: relative;
  display: block;
  float: right;
  padding: 0;
  height: 150px;
  z-index: 13;
  text-align: center;
  margin-left: 1em;
}

#language-selector-wrapper #language-selector {
  padding: 0;
  line-height: 150px;
  list-style: none inside;
  margin: 0;
  text-align: center;
}

#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: 1.2em;
  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: -5px;
  margin-top: -1px;
}

#language-selector-wrapper #language-selector li a:hover:after,
#language-selector-wrapper #language-selector li span:hover:after {
  color: #074293;
}

#language-selector-wrapper #language-selector li:last-child a:after,
#language-selector-wrapper #language-selector li:last-child span:after {
  display: none;
}

/* Slider Styles */

#slider {
  /*aspect-ratio: 1920 / 560;*/
}

#slider-wrapper {
  height: 500px;
}

#slider,
.widget-slider {
  position: relative;
  background-color: #efefef;
  height: 100%;
}

#slider .carousel-inner,
.widget-slider .carousel-inner {
  height: 100%;
  position: relative;
  width: 100%;
}

#slider .carousel-inner>.carousel-item,
.widget-slider .carousel-inner>.carousel-item {
  height: 100%;
}

#slider .slide,
.widget-slider .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;
}

#slider .slide img,
.widget-slider .slide img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  opacity: 0;
}

#slider .slide figcaption,
.widget-slider .slide .slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 10;
  font-size: 0.6em;
  padding: 0.2em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.5);
  line-height: 1em;
}

#slider .carousel-item .slide-cover {
  background-color: rgba(54, 91, 10, 0.2);
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#slider .carousel-item .carousel-caption {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 0;
}

#slider .carousel-item .carousel-caption>.container-fluid,
#slider .carousel-item .carousel-caption>.container-fluid>.row {
  height: 100%;
}

#slider .carousel-item .carousel-caption .carousel-caption-content-wrapper {
  position: relative;
  display: table;
  height: 100%;
  background-color: rgba(var(--secondary-color-dark-rgb), 0.5);
  text-align: left;
  padding: 2em;
}

#slider .carousel-item .carousel-caption .carousel-caption-content-wrapper>.align-middle {
  display: table-cell;
  padding: 15px;
}

.carousel-indicators {
  position: absolute;
  bottom: 5px;
  top: auto;
  margin: 0;
  z-index: 3;
}

.carousel-indicators li {
  width: 1em;
  height: 1em;
  border: 1px solid #fff;
  margin: 2px;
}

#slider .carousel-item .carousel-caption .carousel-text {
  background-color: #98c93c;
  box-shadow: inset 0 0 14px 20px #22222221;
  padding: 2em 5em;
  color: #242f0e;
}

/* Widget Slider Styles */

.widget-slider.hover {
  overflow: hidden;
}

.widget-carousel-cover {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 5;
}

.widget-slider .widget-carousel-hover .widget-carousel-hover-title small {
  display: block;
  text-align: center;
  color: #fff;
  font: 14px/14px "nimbusannovtsembolmedium";
  text-transform: uppercase;
  letter-spacing: 3px;
}

.widget-slider.hover .carousel-item,
.widget-slider.fixedTitle .carousel-item {
  -moz-transition: all 0.8s;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
}

.widget-slider.hover:hover .carousel-item.active,
.widget-slider.fixedTitle:hover .carousel-item.active {
  transform: scale(1.2, 1.2);
}

.widget-slider.hover .widget-carousel-hover,
.widget-slider.fixedTitle .widget-carousel-hover {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/* Widget Slider Hover Styles */

.widget-slider.hover .widget-carousel-hover .widget-carousel-hover-title-wrapper {
  display: table;
  width: 100%;
  height: 100%;
}

.widget-slider.hover .widget-carousel-hover .widget-carousel-hover-title {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #fff;
  font: 38px/36px "proxima_novalight";
  text-transform: uppercase;
  letter-spacing: 8px;
}

.widget-slider.hover .widget-carousel-hover .widget-carousel-hover-title>span {
  display: block;
  position: relative;
}

.widget-slider.hover .widget-carousel-hover .widget-carousel-hover-title>span:before {
  content: "";
  width: 40px;
  height: 2px;
  display: block;
  border-top: 2px solid #fff;
  position: relative;
  margin: 0 auto;
  top: -10px;
}

.widget-slider.hover .widget-carousel-hover .widget-carousel-hover-title>span:after {
  content: "";
  width: 40px;
  height: 2px;
  display: block;
  border-top: 2px solid #fff;
  position: relative;
  margin: 0 auto;
  bottom: -10px;
}

.widget-slider.hover .widget-carousel-hover {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

.widget-slider.hover:hover .widget-carousel-hover {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

.widget-slider.hover .widget-carousel-hover {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 4;
  text-align: center;
}

/* Widget Slider Fixed Styles */

.widget-slider.fixedTitle .widget-carousel-hover .widget-carousel-hover-title-wrapper {
  display: table;
  width: 100%;
  height: 100%;
}

.widget-slider.fixedTitle .widget-carousel-hover .widget-carousel-hover-title {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #fff;
  font: 38px/36px "proxima_novalight";
  text-transform: uppercase;
  letter-spacing: 8px;
}

.widget-slider.fixedTitle .widget-carousel-hover .widget-carousel-hover-title>span {
  display: block;
  position: relative;
}

.widget-slider.fixedTitle .widget-carousel-hover .widget-carousel-hover-title>span:before {
  content: "";
  width: 40px;
  height: 2px;
  display: block;
  border-top: 2px solid #fff;
  position: relative;
  margin: 0 auto;
  top: -10px;
}

.widget-slider.fixedTitle .widget-carousel-hover .widget-carousel-hover-title>span:after {
  content: "";
  width: 40px;
  height: 2px;
  display: block;
  border-top: 2px solid #fff;
  position: relative;
  margin: 0 auto;
  bottom: -10px;
}

.widget-slider.fixedTitle .widget-carousel-hover {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 4;
  text-align: center;
}

/* Breadcrumb Styles */

#bcrumbs-wrapper {
  position: relative;
  background: var(--primary-color);
  color: #fff;
}

.breadcrumbs {
  font-size: 0.9em;
  text-transform: uppercase;
  color: #fff;
}

.breadcrumbs ol li a {
  color: #fff;
}

.breadcrumbs ol li a:hover {
  color: var(--secondary-color) !important;
  text-decoration: underline;
}

.breadcrumbs ol {
  list-style: outside none none;
  margin: 0;
  padding: 0.2em 0;
  display: inline-block;
  vertical-align: top;
}

.breadcrumbs ol li {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  max-width: 15vw;
  overflow: hidden;
  height: calc(var(--bs-body-line-height) * 1em);
}

.breadcrumbs ol li::after {
  content: " / ";
  display: inline-block;
  vertical-align: top;
  margin: 0 0 0 0.2em;
}

.breadcrumbs ol li:last-child:after {
  display: none;
}

/* Content Styles */

.page-title {
  color: #003e70;
  word-break: keep-all;
  margin-bottom: 0.4em;
}

.main-content strong {
  font-weight: 700;
  color: #003e70;
}

.main-feature .vc_figure img {
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.main-feature .vc_figure img:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.button-wrapper {
  margin-bottom: 2em;
}

.button-wrapper.centro {
  text-align: center;
}

.button-wrapper.destra {
  text-align: right;
}

.deco-title,
.deco-subtitle {
  margin-bottom: 0.5em;
}

.deco-title.sinistra,
.deco-subtitle.sinistra {
  text-align: left;
}

.deco-title.destra,
.deco-subtitle.destra {
  text-align: right;
}

.deco-title.centro,
.deco-subtitle.centro {
  text-align: center;
}

.text-white .deco-title,
.deco-title.text-white,
.text-white .deco-subtitle,
.deco-subtitle.text-white {
  color: #fff;
}

.double-title .deco-title {
  margin-bottom: 0.2em;
  color: #e42929;
}

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

h1.deco-title {
  font-size: 3rem;
}

h2.deco-title,
h2.deco-subtitle {
  font-size: 2.8rem;
}

h3.deco-title,
h3.deco-subtitle {
  font-size: 2.2rem;
}

h4.deco-title,
h4.deco-subtitle {
  font-size: 1.9rem;
}

h5.deco-title,
h5.deco-subtitle {
  font-size: 1.6rem;
}

h6.deco-subtitle {
  font-size: 1.3rem;
}

.image-wrapper {
  display: block;
  position: relative;
  margin-bottom: 1em;
}

.image-wrapper figcaption {
  font-size: 1.5em;
  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.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;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  text-transform: uppercase;
  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;
}

/* Single and Page Styles */

.post-share {
  border-top: 1px dashed #e5e5e5;
}

.post-share:after {
  content: "";
  display: block;
  clear: both;
}

.post-meta {
  border-top: 1px dashed #e5e5e5;
  list-style: none inside;
  text-align: right;
  margin: 0;
  font-size: 0.875em;
}

.post-meta li {
  display: inline-block;
  vertical-align: top;
  text-transform: uppercase;
  color: #2f2f2f;
}

.post-meta li strong {
  color: #2a2a2a;
}

.sidebar .post-attachments {
  border-radius: 1.5em;
  overflow: hidden;
  border: 1px solid var(--primary-color);
}

.sidebar .post-attachments h3 {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  margin: 0 !important;
  padding: calc(0.5* var(--bs-gutter-x)) !important;
}

.sidebar .post-attachments ul {
  list-style: none inside;
  margin: 0;
  padding: 0;
}

.sidebar .post-attachments ul li {
  display: block;
  margin: 0;
  padding: calc(0.5* var(--bs-gutter-x));
  border-bottom: 1px solid var(--primary-color);
  position: relative;
  background-color: transparent;
}

.sidebar .post-attachments ul li:last-child {
  border-bottom: none;
}

.sidebar .post-attachments ul li .fa {
  margin-right: 1em;
}

.sidebar .post-attachments ul li a {
  text-decoration: none !important;
}

.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 */

.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: 350px;
}

.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;
}

.card-img,
.card-img-top {
  position: relative;
}

.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;
}

.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;
}

/* Archive Styles */

.content-blog .card-title {
  line-height: 1.2em;
  font-weight: 600;
  text-transform: none;
  font-size: 1em;
}

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

/* Cross Navigation Styles */

.cross-navigation {
  background-color: var(--primary-color-very-light);
}

/* Sidebar Styles */
.sidebar ul {
  list-style: none inside;
  padding: 0;
  margin: 0 0 1em 0;
}

.sidebar .sidebar-widget {
  margin: 0 0 1em;
  padding: 1em;
  background: #fff;
}

.sidebar .sidebar-widget a {
  text-decoration: none !important;
}

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

.widget_search .search-wrapper button {
  border-radius: 0 0 3px 3px;
}

/* Contact form Styles */

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

.wpcf7 label {
  width: 100%;
}

/* Footer Styles */

#main-footer {
  background-color: var(--primary-color);
  color: #fff;
}

#main-footer h3 {
  color: #fff;
  position: relative;
  font-size: 1.4em;
  font-weight: 600;
  line-height: 2.4em;
}

#main-footer a {
  color: #fff;
}

#main-footer h3:after {
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
}

#main-footer .logo-footer {
  max-width: 60%;
  height: auto;
  display: block;
  margin-bottom: 2em;
}

#main-footer .footer-column ul li {
  padding-top: 0;
  padding-bottom: 0.3em;
  padding-left: 0;
  padding-right: 0;
}

#main-footer .wp-post-image {
  display: none !important;
}

#credits {
  color: #222;
}

#credits a {
  color: #222;
}

#credits .aitec-svg-logo {
  height: 25px;
  width: auto;
}

.footer-widget ul {
  list-style: none inside;
  padding: 0;
}

.footer-widget ul li {
  padding: 0.3em 0;
}

.latest-by-cat ul li a {
  display: block;
  max-height: 3.3em;
  line-height: 1.1em;
  overflow: hidden;
}

/* Pagination Styles */

.pagination {
  display: block;
  text-align: center;
  margin: 2em 0;
}

.pagination .screen-reader-text {
  display: none;
}

.pagination .page-numbers {
  border: 1px solid #074293;
  background-color: #074293;
  color: #fff;
  display: inline-block;
  height: 3em;
  line-height: 3em;
  width: 3em;
  vertical-align: top;
}

.pagination .page-numbers.current {
  background-color: #fff;
  color: #074293;
}

.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;
}

/*Random numbers effects Styles*/

.randomNumbers {
  margin: 1em 0;
  text-align: center;
  opacity: 0;
  position: relative;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  font-weight: 300;
  letter-spacing: 0.2em;
  font-size: 1.4em;
}

.randomNumbers>span {
  margin: 0 0 0.5em 0;
  display: block;
  text-align: center;
  font-size: 1.5em;
  font-weight: 400;
}

.randomNumbers .numberCover {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.randomNumbers .numberCover:after {
  display: none;
}

/* Map Shortcode */

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

/* Social List*/

#social-wrapper {
  position: realtive;
}

#social-wrapper .social-list {
  display: block;
  height: var(--logo-height);
  line-height: var(--logo-height);
  color: var(--primary-color);
  text-align: end;
  list-style: none inside;
  margin: 0;
  padding: 0;
  font-size: 1.6em;
}

#social-wrapper .social-list:before {
  content: "Seguici su";
}

#social-wrapper .social-list li {
  display: inline-block;
  vertical-align: top;
  padding: 0em 0.3em;
}

/* 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;
}

#aitecHtmlLogo {
  display: none;
}

#aitec-credits {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 0.9em;
  color: #3f3f3f;
}

#aitec-credits #made-by {
  text-transform: uppercase;
}

#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;
}

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

  #aitec-credits a {
    position: relative;
    margin: 0;
  }
}

.at-archive-description {
  border: 1px solid #cee0ee;
  border-radius: 1em;
  padding: 1em;
  background-color: #f2f6f9;
  font-size: 0.875em;
  color: #617b8e;
  line-height: 1.2em;
}

.at-wrapper .at-title {
  margin: 0;
  padding: 1em;
  background-color: var(--primary-color-very-light);
  font-size: 1.2em;
  font-weight: 400;
}

.at-wrapper .at-text {
  padding: 1em;
  border-left: 1px dashed #ccc;
}

.at-sidebar-widget .at-sub-menu {
  font-size: 0.9em;
  line-height: 1.3em;
  margin-bottom: 0;
}

.at-sidebar-widget .at-sub-menu li a {
  display: block;
  padding: 0 0 0.2em 0;
  margin: 0 0 0.2em 0;
  border-bottom: 1px solid #e5e5e5;
}

.at-sidebar-widget .at-sub-menu li:last-child a {
  border: none;
}

.at-tableclass ul {
  padding: 0 0 0 0.2em;
  list-style: disclosure-closed inside;
  margin-bottom: 1em !important;
}

div.main_menu_container {
  background-color: var(--primary-color-darker);
}

ul.menu.links-menu li {
  padding: 0 0.4em;
}

ul.menu.links-menu {
  text-align: end;
}

ul.menu.links-menu li::before {
  content: "";
  padding: 2px;
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  color: var(--primary-color);
}

a.home-block {
  color: var(--primary-color);
  box-shadow: 0 0 0.4em rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
  border: none;
}

a.home-block p {
  font-weight: 600;
}

a.home-block h3 {
  max-height: 3.5rem;
  height: 3.5rem;
}

a.home-block:hover {
  color: var(--secondary-color);
}

.home-block-wrapper-text {
  color: var(--primary-color);
  font-size: 1.3em;
}

.cta-wrapper {
  display: block;
  border: 2px solid;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  -moz-transition: all 0.8s;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
  height: 150px;
  overflow: hidden;
}

.cta-wrapper:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.cta-wrapper .cta-deco {
  padding: 1em;
  background: linear-gradient(45deg, transparent, rgba(0, 0, 0, 0.2));
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.cta-wrapper .cta-title {
  margin: 0 0 1em 0;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: "Philosopher", Verdana, sans-serif;
  color: var(--primary-color-text);
}

.cta-wrapper .cta-text {
  margin: 0;
  font-size: 1em;
  line-height: 1.2em;
  display: block;
  height: 2.4em;
  overflow: hidden;
}

ul.bottom-menu {
  border-top: #fff solid 1px;
  list-style: none;
  padding: 0.2em 0;
  margin: 2em 0 0 0;
}

ul.bottom-menu>li {
  display: inline-block;
  padding-right: 1.5em;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  padding-left: 0;
}

.home-block.card p {
  margin-bottom: 0;
}

.cut-grey-background {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 25%,
      rgba(239, 239, 239, 1) 25%);
}

/* Blog roll elements Styles */

.br-list {
  margin-bottom: 2em;
}

.cross-navigation .br-slider {
  position: relative;
}

.br-slider-header {
  display: table;
  width: 100%;
  padding: 0.8em 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: 8em;
  text-align: center;
  text-decoration: none !important;
  color: var(--primary-color);
}

.br-slider-header .br-slider-link:hover {
  color: var(--secondary-color-darker);
}

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

.br-slider-header .br-slider-control span {
  font-size: 1.6em;
  height: 3em;
  width: 3em;
  line-height: 3em;
  color: var(--primary-color);
  display: inline-block;
  position: relative;
  margin-right: 5px;
}

.br-slider-header .br-slider-control span.br-slider-control-left {
  text-align: end;
  z-index: 1;
}

.br-slider-header .br-slider-control span.br-slider-control-right {
  text-align: center;
  z-index: 2;
}

.br-slider-header .br-slider-control span.br-slider-control-right:after {
  background-color: var(--secondary-color);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.br-slider-header .br-slider-control span:before {
  z-index: 2;
  content: "";
  font-weight: bold;
  font-family: "Font Awesome 5 Free";
  display: block;
  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;
}

.br-slider-header .br-slider-control span:after {
  z-index: 1;
  content: "";
  display: block;
  position: absolute;
  top: 0.5em;
  right: -0.5em;
  left: 1.5em;
  bottom: 0.5em;
  border-radius: 50%;
  background-color: var(--secondary-color);
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.br-slider-header .br-slider-control .br-slider-control-left:before {
  content: "";
}

.br-slider-header .br-slider-control .br-slider-control-right:before {
  content: "";
}

.br-slider-header .br-slider-control span.active:before {
  background-color: rgb(var(--primary-color));
  color: rgb(var(--primary-color-text));
  border-color: rgb(var(--primary-color));
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.br-slider-header .br-slider-control span.active:hover:before {
  cursor: pointer;
  scale: 1.02;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.br-slider-header .br-slider-control span.active:hover {
  scale: 1.02;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.br-slider-header .br-slider-control span:not(.active) {
  color: #777;
}

.br-slider-header .br-slider-control span:not(.active)::after {
  background-color: #ddd;
}

.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-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 .read-more {
  top: 0;
}

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

ul.card-categories {
  list-style: none;
  padding: 0;
}

ul.card-categories li {
  display: inline;
  padding-top: 0;
  padding-right: 1em;
  padding-bottom: 0;
  padding-left: 0;
  color: #474747;
  text-transform: uppercase;
}

ul.card-categories li a {
  color: var(--primary-color);
  text-decoration: none !important;
  font-size: 0.875em;
}

ul.card-categories li a:hover {
  color: var(--primary-color-darker) !important;
}

.br-element a,
.br-slider-link {
  font-weight: 600;
}

.card-body h2.card-title {
  color: var(--primary-color);
  font-size: 1.6rem;
}

.card-body h3.card-title {
  color: var(--primary-color);
  font-size: 2rem;
  line-height: 1.2em;
  font-weight: 700;
}

.card-body .card-text {
  line-height: 1.35em;
}

.post .card {
  box-shadow: 0 0 0.4em rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
}

.post .card-body {
  height: 360px;
  overflow: hidden;
}

.content-blog.post .card-body {
  height: auto;
  overflow: visible;
}

.post .card-body a.card-link {
  font-weight: 600;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1em;
  text-align: end;
  display: block;
  background: linear-gradient(to top, #fff 85%, transparent);
  border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
  line-height: 1em;
}

.post .card-body a.card-link {
  text-decoration: none !important;
}

.post .card-body .card-date {
  margin-bottom: 1em;
  color: #868686;
}

a.card.page-card:hover {
  color: inherit;
}

.page-card .card-title {
  font-weight: 700 !important;
}

a.card.page-card {
  color: #fff;
  background-color: var(--primary-color);
}

a.card.page-card .card-title {
  color: #fff;
}

a.card.page-card:hover p.card-go-to-section {
  color: #ddd;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.card.page-card {
  height: 200px;
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.2);
  border: none;
  color: var(--primary-color);
  overflow: hidden;
  position: relative;
}

a.card.page-card {
  text-decoration: none !important;
}

a.card.page-card * {
  text-decoration: none !important;
}

.card.page-card p.card-go-to-section {
  font-weight: 600;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0;
  padding: 1em 1.2em;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.card.page-card .card-body {
  padding: 1em 1.2em;
}

#scroll-to-top {
  position: fixed;
  right: 10%;
  bottom: 10%;
  border: 3px solid #ccc;
  width: 50px;
  height: 50px;
  line-height: 44px;
  text-align: center;
  font-size: 32px;
  z-index: 5;
  color: #ccc;
  border-radius: 8px;
  cursor: pointer;
  display: none;
  transition: all 0.1s ease-in;
}

#scroll-to-top:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.1s ease-in;
}

#main-header .main-menu>li>.sub-menu {
  left: -1em;
  border-radius: 0.5em;
  text-align: left;
  line-height: 2.2em;
  visibility: hidden;
  opacity: 0;
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  top: 90%;
  z-index: 10;
  background-color: #fff;
  padding: 0;
  transition: all 0.25s ease-out;
  -moz-transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.2);
  min-width: 320px;
  padding: 1em;
}

#main-header .main-menu>li>.sub-menu>li {
  display: block;
  padding: 0 calc(var(--bs-gutter-x) * 0.5);
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

#main-header .main-menu>li.three>.sub-menu>li { display: block; padding: 0 calc(var(--bs-gutter-x) * 0.5); -webkit-box-flex: 0; -ms-flex: 0 0 33.3%; flex: 0 0 33.3%; max-width: 33.3%; }
#main-header .main-menu>li.three>.sub-menu>li.double { -ms-flex: 0 0 66.6%; flex: 0 0 66.6%; max-width: 66.6%; }

#main-header .main-menu>li>.sub-menu>li>a {
  font-weight: 400;
  color: var(--primary-color-darker);
  display: table;
  padding: 0.5em 0;
  transition: all 0.2s ease-in;
  line-height: 1.1em;
  width: 100%;
}

#main-header .main-menu>li>.sub-menu>li.menu-item-has-children>a {
  font-weight: 600;
  border-bottom: 1px dotted #ccc;
  position: relative;
}

#main-header .main-menu>li>.sub-menu>li.menu-item-has-children>a:after {
  content: "";
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  position: absolute;
  right: 0;
}

#main-header .main-menu>li>.sub-menu>li.nolink>a {
  color: var(--text-color);
  font-weight: 400;
  cursor: default;
}

#main-header .main-menu>li>.sub-menu>li.nolink>a:hover {
  color: #222;
  text-decoration: none;
}

#main-header .main-menu>li>.sub-menu>li.nolink>a:after {
  display: none;
}

#main-header .main-menu>li>.sub-menu>li>a>span {
  display: table-cell;
  vertical-align: bottom;
}

#main-header .main-menu .sub-menu li a:hover {
  color: var(--secondary-color);
}

#main-header .main-menu>li>.sub-menu>li>.sub-menu { padding: 0; margin: 0; }
#main-header .main-menu>li>.sub-menu>li>.sub-menu li { display: block; }
#main-header .main-menu>li>.sub-menu>li>.sub-menu li a { color: var(--primary-color); display: block; padding: 0.5em; line-height: 1.34em; margin-bottom: 0.2em; border-bottom: 1px dotted #ccc; word-wrap: anywhere; }
#main-header .main-menu>li>.sub-menu>li>.sub-menu li a:hover { color: var(--secondary-color); }

#main-header .main-menu>li>.sub-menu>li.double>.sub-menu { flex: 0 0 66.6%; max-width: 100%; display: flex; flex-wrap: wrap;}
#main-header .main-menu>li>.sub-menu>li.double>.sub-menu li { -webkit-box-flex: 0; -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }

#main-header .main-menu>li.open>.sub-menu {
  -webkit-animation-name: slideMenu;
  animation-name: slideMenu;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

#main-header .main-menu>.sub-menu {
  -webkit-animation-name: slideMenuRevert;
  animation-name: slideMenuRevert;
  -webkit-animation-duration: 0.15s;
  animation-duration: 0.15s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

#main-header .main-menu>li>.sub-menu::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: auto;
  left: var(--menu-item-position-left);
  width: 1.125em;
  height: 1.125em;
  border-radius: 4px;
  background-color: #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg) translateX(-60%);
  display: block;
  -webkit-transition: opacity 0.15s cubic-bezier(0.1, 0.57, 0.36, 0.99);
  transition: opacity 0.15s cubic-bezier(0.1, 0.57, 0.36, 0.99);
}

#mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 0;
  height: var(--logo-height);
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  top: 0;
  bottom: 0;
  padding: calc(calc(var(--logo-height) - 60px) / 2) 0;
}

#mobile-menu-toggle span {
  height: 2px;
  background-color: #fff;
  width: 40px;
  display: block;
  margin: 9px 0;
}

#mobile-menu-toggle span {
  -webkit-animation-duration: 0.15s;
  animation-duration: 0.15s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

#mobile-menu-toggle.open span:nth-child(1) {
  -webkit-animation-name: upper;
  animation-name: upper;
}

#mobile-menu-toggle.open span:nth-child(2) {
  -webkit-animation-name: medium;
  animation-name: medium;
}

#mobile-menu-toggle.open span:nth-child(3) {
  -webkit-animation-name: lower;
  animation-name: lower;
}

#mobile-menu-toggle span:nth-child(1) {
  -webkit-animation-name: upperRev;
  animation-name: upperRev;
}

#mobile-menu-toggle span:nth-child(2) {
  -webkit-animation-name: mediumRev;
  animation-name: mediumRev;
}

#mobile-menu-toggle span:nth-child(3) {
  -webkit-animation-name: lowerRev;
  animation-name: lowerRev;
}

#mobile-menu {
  position: relative;
  list-style: none inside;
  display: block;
  margin: 0;
  padding: 0;
}

#mobile-menu.menu>li {
  display: block;
  text-align: center;
  font-size: 1.2em;
  border-top: 1px solid var(--primary-color);
  border-right: 1px solid var(--primary-color);
  border-left: 1px solid var(--primary-color);
  border-bottom: 1px solid #fff;
}

#mobile-menu.menu>li>a {
  display: block;
  padding: 0.4em 0;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary-color);
}

#mobile-menu.menu>li>ul {
  padding: 0;
}

#mobile-menu.menu>li>ul>li {
  display: block;
  padding: 0.4em;
  border-bottom: 1px dashed #ccc;
  text-align: left;
}

#mobile-menu.menu>li>ul>li:last-child {
  border-bottom: none;
}

#mobile-menu li.menu-item-has-children ul.sub-menu li {
  color: var(--primary-color);
}

#mobile-menu li.menu-item-has-children ul.sub-menu li a {
  color: var(--primary-color);
  font-weight: 400;
}

.logged-in #mobile-menu-offcanvas {
  top: 46px;
}

.soc-trasp-post .attachments-list li a {
  text-decoration: underline;
}

.soc-trasp-post .attachments-list li:not(:last-child) a::after {
  content: ',';
}

/* Child pages */

.child-pages {
  /*background-color: var(--secondary-color-lighter);*/
}

/* Sidebar Styles */

.left-content,
.right-content,
.main-with-sidebar,
.sidebar,
.single-page-wrapper {
  padding-top: 2em;
  padding-bottom: 2em;
}

.single-page-wrapper.landing {
  padding-top: 0px;
  padding-bottom: 0px;
}

.sidebar .sidebar-widget {
  margin: 0 0 2em 0;
  padding: 1em;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.sidebar .sidebar-widget h2 {
  background-color: var(--primary-color-light);
  margin: -16px -16px 0 -16px;
  padding: 15px;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 500;
}

.sidebar .sidebar-widget h2,
.sidebar .sidebar-widget h2 a {
  color: #fff;
}

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

.sidebar .sidebar-widget>ul>li {
  display: block;
  margin: 0 -15px;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.sidebar .sidebar-widget>ul>li:last-child {
  border: none;
}

.widget_recent_entries .post-date {
  display: block;
  text-transform: uppercase;
  font-variant: small-caps;
  font-size: 0.8em;
  color: #aaa;
  margin: 0.2em;
}

.external a:before {
  content: "";
  display: inline-block;
  font-weight: bold;
  font-family: "Font Awesome 5 Free";
  margin-right: 5px;
}

.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.widget_categories {
  padding-bottom: 0;
  color: var(--primary-color);
}

.sidebar-widget.widget_categories h2 {
  margin-bottom: 0;
}

.widget_categories ul.children {
  list-style: none inside;
  padding: 0.2em 0 0.2em 1em;
  font-size: 0.8em;
  color: var(--primary-color);
}

.widget_categories ul.children li:before {
  content: "";
  display: inline-block;
  margin-right: 2px;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  width: 0.5em;
  height: 1.5em;
  margin-top: -0.5em;
}

.widget_recent_entries>ul>li,
.widget_categories>ul>li {
  padding: 10px 15px !important;
}

#calendar-current-event-list {
  list-style: none inside;
  margin: 0;
  padding: 0;
}

.list-group-item h5 {
  color: var(--primary-color);
  font-weight: 600;
  max-width: 80%;
}

.post-category-list-wrapper .post-category-list li {
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.post-category-list-wrapper .post-category-list {
  list-style: none inside;
  padding: 0;
  margin: 0;
  display: inline-block;
}

.post-category-list-wrapper {
  margin-bottom: 15px;
}

#sidebar-toggle {
  display: none;
}

.customNavigation {
  list-style: none inside;
  margin: 0;
  padding: 0 0 15px 0;
  display: block;
  text-align: center;
}

.customNavigation .screen-reader-text {
  display: none;
}

.customNavigation li {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin: 0 5px;
}

.customNavigation li.first {
  margin-right: 15px;
}

.customNavigation li.first:after {
  content: "...";
  position: absolute;
  right: -17px;
  top: 12px;
  color: #ccc;
}

.customNavigation li.last {
  margin-left: 15px;
}

.customNavigation li.last:before {
  content: "...";
  position: absolute;
  left: -17px;
  top: 12px;
  color: #ccc;
}

.customNavigation li a {
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border: 1px solid var(--primary-color);
  color: #fff;
  background: var(--primary-color);
}

.customNavigation li a:hover {
  border: 1px solid var(--primary-color);
}

.customNavigation li.current a {
  border: 1px solid var(--primary-color-darker);
  background: var(--primary-color-darker);
}

.page-categories-wrapper {
  margin-top: 1em;
}

.page-categories-wrapper h3.deco-title {
  font-size: 1.5em;
  padding: 0.2em 1em;
  margin: 1em 0;
  box-shadow: 0;
  background-color: var(--primary-color-very-light);
  color: var(--primary-color);
}

.page-categories-wrapper a {
  text-decoration: none !important;
}

body #primary .main-content a.btn.btn-default {
  text-decoration: none;
}

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

/*Albo pretorio*/

#albo-pretorio h3 em strong {
  color: #fff !important;
}

.singolo-atto-oggetto {
  font-size: var(--text-size) !important;
}

.singolo-atto-meta {
  font-size: var(--text-size) !important;
}

body #primary .singolo-atto-oggetto a {
  padding: 0.1em;
}

ul.card-categories li a:hover {
  color: var(--primary-color-darker);
}

.widget-radius {
  border-radius: 1.5em;
}

ul.card-terms {
  list-style: none;
  padding: 0;
}

ul.card-terms li {
  display: inline-block;
}

ul.card-terms li a {
  text-decoration: underline;
}

ul.card-terms li+li:before {
  content: ", ";
}

/*Amministrazione trasparente*/
li.amm-trasparente-summary-father {
  font-size: 1.2em;
  color: var(--primary-color-darker);
}

ul.amm-trasparente-summary-sublist li {
  border: none;
}

.sidebar ul.amm-trasparente-summary-sublist {
  margin-bottom: 0px;
}

.block-wrapper {
  background-color: #fff;
  display: block;
}

.block-wrapper .block-wrapper-title {
  display: table;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--primary-color-darker-rgb), 0.5);
  -moz-transition: all 0.8s;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
}

.block-wrapper .block-wrapper-title:hover {
  background-color: rgba(var(--primary-color-darker-rgb), 0.3);
}

.block-wrapper .block-wrapper-title .block-title {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 15px;
}

.block-wrapper .block-wrapper-title .block-title h2 {
  color: #fff;
  font-weight: 600;
  text-shadow: 0px 0px 8px #000 !important;
  text-shadow: 0 0.2em 0.4em rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

.block-wrapper .block-wrapper-title .block-title .block-title-description {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0.1em 0.4em rgba(0, 0, 0, 0.2);
  padding: 0 1em;
}

a.block-wrapper:hover h2 {
  text-decoration: none;
}

ul.card-categories li.terms a {
  font-weight: 600;
}

ul.card-categories li.terms {
  position: relative;
}

ul.card-categories li.terms::after {
  content: "-";
  position: absolute;
  right: 5px;
}

a.block-wrapper {
  text-decoration: none !important;
}

.carousel-caption-content-wrapper h2 {
  font-size: 1.4em;
  text-transform: uppercase;
  color: #242f0e;
}

.carousel-caption-content-wrapper h3 {
  font-size: 2.1em;
  color: #242f0e;
}

.carousel-caption-content-wrapper p {
  color: #242f0e;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 3;
  width: 6%;
  filter: invert(1) grayscale(100);
}

div.single-post-wrapper div.post-attachments li {
  background-color: transparent;
  border: none;
}

/* PDF Book Styles */

.pdf-block {
  border: 1px solid #ccc;
  overflow: hidden;
}

.pdf-block .button-wrapper {
  margin: 0;
  padding: 0;
}

.pdf-block .button-wrapper .btn {
  border-radius: 0;
}

.offcanvas-close-btn {
  text-align: center;
  font-size: 1.3em;
  padding: 0.4em 0;
  text-decoration: underline;
}

div.sidebar-content-wrap .cross-navigation {
  background-color: transparent;
}

div.sidebar-content-wrap .cross-navigation .list-group-item {
  border-bottom: 1px solid #c8ced3;
  padding: 0.2em 0;
}

#main-header .main-menu>li>.sub-menu>li.menu-item-has-children {
  padding: 0 0.4em;
}

ul.soc-trasparente-summary-sublist {
  margin: 0 0 0 0;
}

div.soc-trasparente-summary {
  border-radius: 1.5em;
  overflow: hidden;
}

div.soc-trasparente-summary ul li {
  background-color: transparent;
}

p.post_tags {
  font-size: 1.15em;
}

.wpcf7-list-item .wpcf7-list-item-label {
  display: none;
}

#aitec-privacy-notice button.btn.btn-default.inverted,
#cookiePreference button.btn.btn-default {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
}

#aitec-privacy-notice button.btn.btn-default.inverted:hover,
#cookiePreference button.btn.btn-default:hover {
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

input#search.form-control:focus {
  box-shadow: none;
}

@media screen and (max-width: 600px) {
  html #wpadminbar {
    top: -46px;
  }
}

#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: 3;
}

#accessibility-switch:hover {
  background: green;
}

.pnrr-bg {
  background-image: url('img/sorgea-pnrr.jpg');
  aspect-ratio: 2;
  background-size: contain;
  background-repeat: no-repeat;
}