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

*/

:root {
  --primary-color: #1a52ff;
  --primary-color-light: #dae1ff;
  --primary-color-lighter: #4774ff;
  --primary-color-darker: #1441cc;
  --primary-color-very-light: rgb(242 246 249);
  --secondary-color: #ff2710;
  --secondary-color-darker: #cc1f0c;
  --text-color: #000;
  --header-menu-color: #dae1ff;
  --header-height: 210px;
  --logo-height: 140px;
  --link-menu-height: 44px;
  --text-size: 16px;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-black-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-black-webfont.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-bold-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-bolditalic-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-bolditalic-webfont.woff")
      format("woff");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-extralight-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-extralight-webfont.woff")
      format("woff");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-extralightitalic-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-extralightitalic-webfont.woff")
      format("woff");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-italic-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-italic-webfont.woff") format("woff");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-light-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-light-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-lightitalic-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-lightitalic-webfont.woff")
      format("woff");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-regular-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-semibold-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-semibold-webfont.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/titillium-web/titilliumweb-semibolditalic-webfont.woff2")
      format("woff2"),
    url("fonts/titillium-web/titilliumweb-semibolditalic-webfont.woff")
      format("woff");
  font-weight: 600;
  font-style: italic;
}

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

*.wai-enabled { display: none; }

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;
}
a:hover {
  color: var(--secondary-color-darker);
  text-decoration: none;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

body #primary .main-content a {
  text-decoration: underline;
}

body #primary .main-content a:hover {
  text-decoration: underline;
}

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

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

b,
strong {
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

figure {
  margin: 0;
}

blockquote {
  color: var(--primary-color);
  position: relative;
  font-size: 1.2em;
  padding: 1em;
  position: relative;
  background-color: rgba(0, 62, 112, 0.2);
  text-align: center;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
}
blockquote:before {
  content: "";
  background: url("img/asp-transparent.png") scroll no-repeat 0 0 / contain
    transparent;
  position: absolute;
  color: rgba(255, 255, 255, 0.6);
  font-size: 200px;
  left: 20px;
  top: -40px;
  right: 0;
  bottom: 0;
}

.autosquare, .aspect-image { overflow: hidden; display: block; background-color: none; background-attachment: scroll; background-position: center; background-size: cover; background-repeat: no-repeat; border-top-left-radius: var(--bs-border-radius); border-top-right-radius: var(--bs-border-radius); }
.aspect-image { aspect-ratio: 1 / 1;  }
.autosquare img, .aspect-image img { opacity: 0; max-width: 100%; max-height: 100%; }

.btn {
  font-weight: 700;
  font-size: 0.95em;
  font-family: "Titillium Web";
  text-transform: uppercase;
}
.btn-default {
  border: 1px solid var(--primary-color);
  border-radius: 25px;
  background-color: var(--primary-color);
  color: #fff;
}
.btn-default:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

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

.btn-default.squared {
  border-radius: 2px;
}

.btn-secondary {
  border: 1px solid var(--secondary-color);
  border-radius: 25px;
  background-color: var(--secondary-color);
  color: #fff;
}
.btn-secondary:hover {
  background-color: #fff;
  color: var(--secondary-color-darker);
  border: 1px solid var(--secondary-color-darker);
}

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

#main-menu-wrapper {
  position: relative;
}

.main_menu_container {
  background-color: var(--header-menu-color);
}

#logo-wrapper {
  height: var(--logo-height);
  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 h1 { height: 100%; }
#logo-wrapper .logo { height: 100%; }

#main-header .menu {
  list-style: none inside;
  margin: 0;
  padding: 0;
}
#main-header .menu li {
  display: inline-block;
  vertical-align: top;
}
ul#mobile-menu.menu > li.menu-item:last-child {
  border-bottom: 1px solid var(--primary-color);
}

#main-header .main-menu {
  position: relative;
  text-align: left;
  height: var(--menu-height);
  line-height: 70px;
}
#main-header .main-menu > li {
  position: relative;
  height: 100%;
}
#main-header .main-menu > li > a {
  color: var(--primary-color);
  display: block;
  font-size: 1em;
  font-weight: 700;
  font-family: "Titillium Web";
  margin: 0;
  padding: 0 1em;
  height: 100%;
  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 > a {
  color: var(--primary-color-darker);
}

#main-header .main-menu > li:hover > 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;
}

.header-links-menu-wrapper-accessibility { text-align: end; list-style: none; }
.header-links-menu-wrapper-accessibility > li { display: inline-block; text-align: end; vertical-align: middle;}

/* Header Search Wrapper */

#header-search-wrapper { line-height: var(--logo-height); height: var(--logo-height); text-align: center; z-index: 5; position:relative; }
#header-search-wrapper #search-toggle { font-size: 2em; border: 0; background: 0; color: var(--primary-color); display: block; text-align: center; width: 100%; padding: 0; }

#header-search-wrapper .search-wrapper {
  display: none;
  background-color: var(--primary-color);
  position: absolute;
  top: 100%;
  right: -1px;
  width: 320px;
  padding: 1em;
}
#header-search-wrapper.open .search-wrapper {
  display: block;
}
#header-search-wrapper.open .search-wrapper input['type="text"'] {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
#header-search-wrapper.open .search-wrapper .btn {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

/* 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: var(--primary-color);
}
#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 {
  position: relative;
  background-color: #efefef;
  min-height: 350px;
}
.admin-bar #slider.home {
  height: cal(100vh -32px);
}
#slider.home {
  height: 100vh;
}
#slider.page {
  height: 50vh;
}

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

.slide-cover {
  position: absolute;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.4)
  );
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}
.carousel-caption {
  position: absolute;
  right: 15%;
  top: 0;
  left: 15%;
  bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  color: #fff;
  text-align: left;
  z-index: 2;
}
#slider.home .carousel-caption h2 {
  color: #fff;
  font-size: 100px;
  line-height: 100px;
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 0.2em;
}
#slider.home .carousel-caption p {
  font-family: "Titillium Web";
  font-weight: 500;
  font-size: 1.4em;
}
#slider.home .carousel-caption strong {
  font-weight: 700;
}

#slider.home .carousel-caption h2,
#slider.home .carousel-caption p,
#slider.home .carousel-caption .btn {
  opacity: 0;
}
#slider.home .active.carousel-item-start .carousel-caption h2,
#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.home .active .carousel-caption p {
  -webkit-animation-name: fadeInRightBig;
  animation-name: fadeInRightBig;
  -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: fadeInRight;
  animation-name: fadeInRight;
  -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;
}

.carousel-caption-wrapper {
  display: table;
  width: 100%;
  height: 100%;
}
.carousel-caption-wrapper .carousel-caption-inner {
  display: table-cell;
  vertical-align: middle;
}

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

@media screen and (max-height: 600px) {
  .carousel-caption-wrapper .carousel-caption-inner {
    padding-top: 4em;
  }
  #slider.home .carousel-caption h2 {
    font-size: 70px;
    line-height: 65px;
    letter-spacing: 2px;
  }
  #slider .page-title {
    font-size: 3em;
  }
  #slider .page-subtitle {
    font-size: 1.2em;
  }
}

@media screen and (max-height: 600px) {
  .carousel-caption-wrapper .carousel-caption-inner {
    padding-top: 4em;
  }
  #slider.home .carousel-caption h2 {
    font-size: 70px;
    line-height: 65px;
    letter-spacing: 2px;
  }
  #slider .page-title {
    font-size: 3em;
  }
  #slider .page-subtitle {
    font-size: 1.2em;
  }
}

@media screen and (max-height: 300px) {
  #slider.home .carousel-caption h2 {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: 0;
    word-wrap: break-word;
  }
  #slider .page-title {
    font-size: 2em;
    letter-spacing: 0;
  }
  #slider .page-subtitle {
    font-size: 1em;
  }
}

/* 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;
  text-decoration: none !important;
}
.breadcrumbs ol li a:hover {
  color: var(--secondary-color);
  text-decoration: underline !important;
}
.breadcrumbs ol {
  list-style: outside none none;
  margin: 0;
  padding: 0.2em 1em;
  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-wrapper { width: 100vw; overflow: hidden; }

.page-title {
  color: var(--primary-color);
  word-break: keep-all;
}

.main-content strong {
  font-weight: 700;
  color: var(--primary-color);
}

.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: var(--secondary-color);
}
.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: 1.5px dotted #460829;
}
.post-share:after {
  content: "";
  display: block;
  clear: both;
}

.post-meta {
  border-top: 1px dashed #e5e5e5;
  list-style: none inside;
  text-align: right;
}
.post-meta li {
  display: inline-block;
  vertical-align: top;
  text-transform: uppercase;
  color: #2f2f2f;
}
.post-meta li strong {
  color: #2a2a2a;
}

.post-attachment-wrapper {
  border-top: 1px dotted var(--primary-color);
}
.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: var(--primary-color);
}

.product-category-wrapper,
.case-category-wrapper {
  display: block;
  text-align: center;
  text-transform: uppercase;
  color: #2383c4;
}
.case-category-wrapper {
  color: var(--primary-color);
}
.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 */

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

/* Sidebar Styles */

.sidebar {
  border-left: 1px solid #e5e5e5;
}
.sidebar ul {
  list-style: none inside;
  padding: 0;
  margin: 0 0 1em 0;
}
.sidebar .sidebar-widget {
  border-radius: 4px;
  padding: 15px 15px 0 15px;
  background: #fff;
  margin: 0 0 30px 0;
  border: 1px solid #e5e5e5;
}

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

/* Footer Styles */

#main-footer {
  background-color: #f3f7fb;
  color: var(--primary-color);
}
#main-footer h3 {
  position: relative;
  font-size: 1.3em;
  font-weight: 600;
  font-family: "Titillium Web";
  height: 2.4em;
  line-height: 1.3em;
}
#main-footer h3::after {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: 0;
}

#main-footer a {
  color: var(--primary-color);
}
#main-footer a:hover {
  color: var(--secondary-color-darker);
}

#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 var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
  display: inline-block;
  height: 3em;
  line-height: 3em;
  width: 3em;
  vertical-align: top;
}
.pagination .page-numbers.current {
  background-color: #fff;
  color: var(--primary-color);
}
.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: 3.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 {
  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-list::before {
  content: "Seguici su";
}

.social-list .follow-text {
  padding: 0em 0.5em;
}
.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: var(--secondary-color);
  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-tableclass ul {
  padding: 0 0 0 0.2em;
  list-style: disclosure-closed inside;
  margin-bottom: 1em !important;
}
.amm-trasparente-wrapper {
  border-left: 1px dashed #ccc;
  padding-left: 1em;
}
.amm-trasparente-wrapper .post-meta {
  border-top: none;
  list-style: none inside;
  text-align: left;
  border-bottom: 1px dashed #e5e5e5;
  padding-left: 1em;
  padding-right: 1em;
  margin: 0 0 2em -1em;
  font-size: 0.9em;
}

.links-container {
  padding: 1em 0;
  background-color: #fafafa;
  color: var(--primary-color);
}

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

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

ul.menu.links-menu li a span::before {
  content: "";
  padding: 2px;
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
}

/* Home Block Styles */

.home-block { display:block; text-decoration:none !important; }
.home-block .card{ color: var(--primary-color); box-shadow: 0 0 0.4em rgba(0, 0, 0, 0.2); text-decoration: none !important; transition:all 0.2s ease-in; -moz-transition:all 0.2s ease-in; -webkit-transition:all 0.2s ease-in; }
.home-block .card .card-title{ text-transform:uppercase; max-height:3.5em; font-size: 1.4em; }
.home-block .card .card-text{ font-weight:600; }
.home-block:hover .card{ color: var(--secondary-color); box-shadow: 0 0 0.6em rgba(0, 0, 0, 0.4);}



.bottom-menu ul {
  border-top: var(--primary-color) solid 1px;
  list-style: none;
  padding: 0;
}

.bottom-menu ul > 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;
  font-weight: 400;
}

.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.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: 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: #fff;
  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: var(--text-color);
  text-transform: uppercase;
}

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

.br-element .card-body h3.card-title {
  color: var(--primary-color);
  font-size: 1em;
  font-weight: normal;
  line-height:1.4em;
}

.post .card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
}

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

.content-blog.post .card-body {
  height: 250px;
  overflow: hidden;
}

.content-blog.post .link-wrapper {
  position: absolute;
  background: linear-gradient(to top, #fff 85%, transparent);
  left: 1em;
  bottom: 0;
  padding: 1em 0;
  right: 0;
}

.content-blog.post .link-wrapper a {
  text-decoration: none !important;
}

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

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

.post .card-body .card-date { margin-bottom: 0.5em; font-weight: 400; color: var(--text-color); font-size: 0.875em; }

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

a.card.page-card:hover p.card-go-to-section {
  color: var(--secondary-color-darker);
  -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);
}

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: 400;
  color: var(--primary-color-darker);
  position: absolute;
  bottom: 0;
  -moz-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

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

#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 25%;
  flex: 0 0 25%;
  max-width: 25%;
}
#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.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: calc(var(--bs-gutter-x) * 0.5); 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; border:none; background:none; }
	#mobile-menu-toggle span { height: 2px; background-color: var(--primary-color); 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);
  display: block;
}
#mobile-menu li.menu-item-has-children ul.sub-menu li a {
  color: var(--primary-color);
  font-weight: 400;
}

/* Sidebar Styles */

.left-content,
.right-content {
  padding-top: 30px;
  padding-bottom: 30px;
}
.sidebar {
  padding-top: 30px;
  padding-bottom: 30px;
}

.sidebar .sidebar-widget h2 {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background-color: var(--primary-color-very-light);
  margin: -15px -15px 0 -15px;
  padding: 15px;
  color: var(--primary-color);
  font-size: 18px;
  letter-spacing: 2px;
}
.sidebar-widget h2 a {
  color: #fff;
  float: right;
}

.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: 5px 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 {
  text-decoration: none !important;
  font-weight:700;
}

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

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.social-share li a {
  text-decoration: none !important;
}

.content-faq-wrapper .content-faq .card {
  position: relative;
  min-height: 180px;
}

.content-faq-wrapper div.link-wrapper {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0.5em;
}

.content-faq .card h2,
.content-faq .card .link-wrapper {
  text-align: center;
}

div.post_word.alphabetical_menu {
  margin-bottom: 1em;
  list-style: none;
}

div.post_word.alphabetical_menu li {
  font-size: 1.2em;
  display: inline-block;
}

.offcanvas-close-btn {
  text-align: center;
  padding: 0.7em;
  text-decoration: underline;
  color: var(--primary-color);
  font-size: 1.2em;
}

.dataTables_wrapper {
  font-size: calc(var(--text-size) - 1.5px);
}

ul.tag-list li:not(:last-child) {
  padding: 0 0.5em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: linear-gradient(
    to bottom,
    var(--primary-color-lighter) 100%,
    var(--primary-color) 100%
  );
}

.post-attachments ul{ list-style: none; padding: 0; }
.post-attachments ul li { padding: 0.3em 0.4em; text-decoration: none; }
.post-attachments ul li:nth-child(odd){ background-color: #fff; }
.post-attachments ul li:nth-child(even){ background-color: #f2f2f2; }

div.entry-table { margin: 1em 0; }
div.table_line_proposer { padding: 1em; background-color: #f1f1f1; }

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