:root {
  /* Font size variables in rem (base 16px) */
  --fs-xs: 0.6875rem; /* 11px */
  --fs-sm: 0.75rem; /* 12px */
  --fs-md: 0.875rem; /* 14px */
  --fs-base: 1rem; /* 16px */
  --fs-lg: 1.25rem; /* 20px */
  --fs-xl: 1.5rem; /* 24px */
  --fs-xxl: 1.75rem; /* 28px */
  --fs-3xl: 2.1875rem; /* 35px */
  --fs-40: 2.5rem; /* 40px */
  --fs-50: 3.125rem; /* 50px */
  --fs-70: 4.375rem; /* 70px */
  --fs-100: 6.25rem; /* 100px */
}

html,
body {
  width: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

.relative {
  position: relative;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #58709d;
}

/* BUTTON */

.btn-sm {
  font-size: var(--fs-sm) !important;
}

.butt {
  font-size: var(--fs-xl);
  padding: 5px 10px;
  font-weight: 600;
}

.butt.small {
  font-size: var(--fs-lg);
  padding: 5px 10px;
  font-weight: 600;
}

.butt .txt {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  font-weight: normal;
}

.btn-primary {
  color: #fff;
  background-color: #3378c1;
  border-color: #3378c1;
}

/* FONT FAM */

.fam-Day {
  font-family: 'Days One', sans-serif;
}

.font-md {
  font-size: var(--fs-md) !important;
}

.font14 {
  font-size: var(--fs-md) !important;
}

.font24 {
  font-size: var(--fs-xl) !important;
}

.font30 {
  font-size: var(--fs-xxl) !important;
}

.white {
  color: #fff !important;
}

/* HEAD */

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: #000;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}

.user-icon {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: none;
}

.user-avatar__icon--logged {
  color: #fff;
}

.user-avatar__icon--guest {
  color: #ffdd00;
}

.navbar {
  padding: 15px;
  margin: 8px 0 30px 0;
  border-bottom: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
}

.logo-gdb {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  background-color: #ffdd00;
  text-align: center;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  padding: 0 10px;
  margin-bottom: 10px;
}

a.logo {
  font-size: var(--fs-3xl);
  font-weight: 400;
  color: #666;
  text-decoration: none;
  padding-left: 0px;
  position: relative;
}

.logo-font-first {
  font-size: 24px;
  letter-spacing: 1px;
}

img.logo-gdb-top {
  width: 160px;
  height: auto;
}

.logo-font {
  font-size: var(--fs-3xl);
  margin-top: -18px;
}

.content-logo:after {
  content: '';
  width: 70px;
  height: 4px;
  background: #ffdd00;
  position: absolute;
  right: 0;
  bottom: 3px;
  border-radius: 3px;
}

.navigation-bar a {
  font-family: 'Inter', sans-serif;
  position: relative;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.navigation-bar a {
  position: relative;
  text-transform: uppercase;
  font-weight: 600;
  font-size: var(--fs-md);
  text-decoration: none;
  -webkit-transition: color 0.3s ease-out;
  transition: color 0.3s ease-out;
  color: #697787;
}

.navigation-bar a.active {
  color: #111 !important;
}

.user-profile {
  font-size: var(--fs-100);
  color: #666;
}

.name-user {
  color: #666;
  font-size: var(--fs-md);
  font-weight: 500;
}

.name-user strong {
  color: #333;
  font-size: var(--fs-md);
  font-weight: 600;
}

.search .form-search input[type='text'] {
  height: 26px;
  padding: 17px;
  border: none;
  outline: 0;
  width: 100%;
  border-radius: 20px;
  border: 1px solid #e7e7e7;
  font-size: var(--fs-md);
}

.search-icon {
  top: 47%;
  -webkit-transform: translateY(-47%);
  transform: translateY(-47%);
  opacity: 0.8;
  position: absolute;
  display: block;
  right: 1rem;
  background: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  color: #999;
  margin: 0;
  padding: 0;
  -webkit-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
  width: 26px;
  height: 26px;
}

.widthAll {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: auto;
  max-width: 1000%;
}

.nav-bottom {
  background: #333;
}

.dic-bottom {
  font-size: var(--fs-xs);
  text-transform: uppercase;
}

.menu {
  border: none;
  margin: 0px;
  padding: 0px;
  background: transparent;
  color: #aaa;
}

.menu.active {
  color: #fff;
}

.nav-bottom a {
  color: #aaa;
}

.nav-bottom .col {
  border-right: 1px solid #999;
  margin: 5px 0px;
}

.nav-bottom .col.active a {
  color: #fff !important;
}

@media (min-width: 768px) {
  .navbar-toggler {
    display: none;
  }
}

@media (max-width: 767px) {
  .navbar-toggler-icon {
    height: auto;
  }
  .navbar-toggler {
    border: 1px solid #e7e7e7;
  }
}

/* HOME */

.event-box {
  margin-bottom: 100px;
}

.col-right {
  position: relative;
}

.col-right:after {
  position: absolute;
  top: 0px;
  right: -8%;
  width: 1px;
  height: 100%;
  color: #ccc;
  content: '';
  background: #ccc;
}

.box-home {
  position: relative;
  background: #fff;
  margin-bottom: 50px;
}

.box-home.lone {
  overflow: hidden;
}

.image-events-thumb {
  position: relative;
  overflow: hidden;
}

.image-events-thumb img {
  border-radius: 5px;
  transition: all 0.4s;
}

.image-events-thumb:before {
  position: absolute;
  content: '';
  width: 0%;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  bottom: 0;
  left: 0;
  transition: all 0.4s;
  z-index: 900;
}

.column-archive:hover .image-events-thumb:before {
  position: absolute;
  content: '';
  width: 50%;
  top: 0;
  bottom: 0;
  left: 0;
  transition: all 0.4s;
  z-index: 900;
}

.image-events-thumb:after {
  position: absolute;
  content: '';
  width: 0%;
  top: 0;
  bottom: 0;
  right: 0;
}

.column-archive:hover .image-events-thumb:after {
  position: absolute;
  content: '';
  width: 50%;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  bottom: 0;
  right: 0;
  transition: all 0.4s;
}

.column-archive:hover .image-events-thumb img {
  transform: scale(1.1, 1.1);
  z-index: 800;
}

.image-events-thumb a.tptn_link {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.column-archive:hover .tptn_after_thumb a {
  text-decoration: none !important;
}
.column-archive:hover .tptn_after_thumb a .tptn_title_home {
  font-weight: 600;
  color: #fad906;
  font-size: var(--fs-lg);
  line-height: 22px;
  margin-bottom: 5px;
}

.title-box-home {
  overflow: hidden;
}

.box-archive .title-box-home {
  margin-top: 8px;
  height: auto;
  overflow: hidden;
}

.title-box-home a {
  font-size: var(--fs-lg);
  line-height: 21px;
  font-weight: 600;
  color: #333;
}

.title-box-home.first {
  margin-top: 0;
  margin-bottom: 10px;
  height: auto;
  overflow: visible;
}

.title-box-home.first a {
  font-size: var(--fs-3xl);
  line-height: 37px;
  font-weight: 600;
  color: #333;
}

.title-box-home.second {
  margin-top: 0;
  margin-bottom: 10px;
  height: auto;
  overflow: visible;
}

.title-box-home.sencond a {
  font-size: var(--fs-3xl);
  line-height: 37px;
  font-weight: 600;
  color: #333;
}

.date-home {
  text-transform: uppercase;
  font-size: var(--fs-md);
  color: #666;
  letter-spacing: 2px;
  position: relative;
}

.date-home:after {
  width: 50px;
  height: 2px;
  content: '';
  background: #f56;
  position: absolute;
  left: 0px;
  bottom: -13px;
}

.date {
  text-transform: uppercase;
  font-size: var(--fs-lg);
  color: #666;
  letter-spacing: 2px;
}

.tag {
  text-transform: uppercase;
  font-size: var(--fs-md);
  color: #666;
  letter-spacing: 2px;
  position: relative;
}

.read-more a {
  color: #e51515;
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

.lead-home {
  color: #3a3a3a;
  font-size: var(--fs-lg);
}

.lead-home p {
  margin: 0px;
  padding: 0px;
}

.da-photo-hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.4);
  -webkit-transition: bottom 0.4s;
  -o-transition: bottom 0.4s;
  transition: bottom 0.4s;
}

.da-photo-hover .fas {
  font-size: var(--fs-100);
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -50px 0 0 -50px;
  color: #fff;
  transition: bottom 0.4s;
  opacity: 1;
}

.da-photo-hover.small .fas {
  font-size: var(--fs-70);
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -35px 0 0 -35px;
  color: #fff;
  transition: bottom 0.4s;
  opacity: 1;
}

@media (max-width: 767px) {
  .box-home {
    margin: 0px;
  }
  .title-box-home.first a {
    font-size: var(--fs-xl);
    line-height: 27px;
  }
  .title-box-home {
    margin-top: 0px;
    height: auto;
  }
  .events {
    margin-bottom: 40px;
  }
}

@media (max-width: 991px) {
  .event-box {
    margin-bottom: 50px;
  }
  .box-home {
    margin-bottom: 20px;
  }
  .title-box-home a {
    font-size: var(--fs-lg);
    line-height: 22px;
    font-weight: 600;
    color: #333;
  }
}

/* EVENT ARCHIVIO */

.sidebar_item {
  padding: 35px 50px 20px;
  margin: 0 0 60px;
  font-size: 90%;
  overflow: hidden;
}

.sidebar_item h5 {
  position: relative;
  overflow: hidden;
  margin: 0 0 25px;
  width: 100%;
  padding: 0 0 15px;
  display: block;
  border-bottom: 4px solid #ededed;
  font-weight: 700;
  color: #002044;
  font-size: var(--fs-md);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.tptn_posts_widget {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.tptn_title_home {
  font-weight: 600;
  color: #002044;
  font-size: var(--fs-lg);
  line-height: 22px;
  margin-bottom: 5px;
}

.tptn_title {
  font-weight: 600;
  color: #002044;
  font-size: var(--fs-xl);
}

.sidebar_item ul {
  margin: 0 0 20px 0;
  display: block;
  width: auto;
  list-style: none;
  padding: 0px;
}

.tptn_posts_widget li:first-child {
  border-top: none;
  margin: 0 !important;
  padding: 10px 0 25px !important;
}

.tptn_after_thumb {
  overflow: hidden;
  padding: 0px;
  display: block;
}

.page-link {
  color: #333;
}

.page-item.active .page-link {
  z-index: 1;
  color: #333;
  font-weight: 600;
  background-color: #fceb7fff;
  border-color: #727272ff;
}

@media (max-width: 676px) {
  .sidebar_item {
    padding: 30px;
  }
}

/*EVENT DETAIL */

.fotorama img {
  border-radius: 10px !important;
}

.image-detail {
  position: relative;
}

.img-intro:after {
  position: absolute;
  top: -5%;
  left: -4%;
  width: 50%;
  height: 50%;
  content: '';
  display: block;
  background: rgba(30, 107, 176, 1);
  z-index: -1;
  opacity: 0.7;
  border-radius: 50px;
}

.img-intro.red:after {
  background: rgba(254, 51, 77, 1);
}

.img-intro.grey:after {
  background: rgba(204, 204, 204, 1);
}

.img-intro:before {
  position: absolute;
  bottom: -5%;
  right: -4%;
  width: 50%;
  height: 50%;
  content: '';
  display: block;
  background: rgba(255, 221, 0, 1);
  z-index: -1;
  opacity: 0.7;
  border-radius: 50px;
}

.img-intro.small:after {
  top: -7%;
  left: -4%;
}

.img-intro.small:before {
  bottom: -7%;
  right: -4%;
}

.image-detail:after {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 50%;
  height: 50%;
  content: '';
  display: block;
  background: rgba(204, 204, 204, 1);
  z-index: -1;
  opacity: 0.7;
  border-radius: 50px;
}

.image-detail:before {
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 50%;
  height: 50%;
  content: '';
  display: block;
  background: rgba(255, 221, 0, 1);
  z-index: -1;
  opacity: 0.7;
  border-radius: 50px;
}

.image-detail img {
  z-index: 999;
}

.kicker {
  font-size: var(--fs-md);
  color: #757575;
}

.title {
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 44px;
}

.day {
  top: 60px;
  position: absolute;
  font-size: var(--fs-70);
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.month {
  position: absolute;
  bottom: 27px;
  font-size: var(--fs-lg);
  color: #f56;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 767px) {
  .img-intro:after,
  .image-detail:after {
    top: -2%;
    left: -2%;
  }
  .img-intro:before,
  .image-detail:before {
    bottom: -2%;
    right: -2%;
  }
}

@media (max-width: 981px) {
  .title {
    font-size: var(--fs-3xl);
    line-height: 36px;
  }
}

.event-detail .lead {
  font-size: var(--fs-lg);
}

.info {
  color: #333;
  font-size: var(--fs-sm);
  border-bottom: 1px solid #ccc;
  padding: 10px;
}

.info span {
  color: #757575;
  font-size: var(--fs-xxl);
}

.box-prenota {
  background: #e7e7e7;
  text-align: center;
  padding: 20px 0px;
  margin: 20px 0;
  border-radius: 8px;
}

.registra {
  font-size: var(--fs-md);
}

/* HOME */

.titoletto {
  text-transform: uppercase;
  font-size: var(--fs-xl);
  color: #666;
  letter-spacing: 2px;
}

.archive {
  padding: 30px 0px;
}

.tit-area {
  font-weight: 600;
  font-style: normal;
  color: #002044;
  font-size: var(--fs-50);
}

.block {
  position: relative;
}

.block:after {
  position: absolute;
  top: -20px;
  left: -35px;
  width: 360px;
  height: 220px;
  content: '';
  display: block;
  background: rgba(204, 204, 204, 0.17);
  z-index: -1;
  opacity: 0.7;
  border-radius: 50px;
}

/* TAGS */

.tags a {
  color: #666;
  text-decoration: none;
}

span.tags {
  text-shadow: 0 1px 0 #fff;
  background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
  background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
  background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  background-repeat: repeat-x;
  border-color: #dbdbdb;
  border-color: #ccc;
  padding: 5px;
  font-size: var(--fs-sm);
  -webkit-box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 1px rgba(0, 0, 0, 0.075);
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: 2px 1px;
}

/* FOOTER */

.py100 {
  padding: 100px 0px;
}

.layer-dark {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
}

.layer-light {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
}

.color-white {
  color: #fff !important;
}

footer {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

footer p {
  margin-bottom: 0.25rem;
}

.footer-bar ul li a .fab {
  font-size: var(--fs-xl);
  line-height: 1.5;
  font-weight: 400;
}

.box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

ul.list-inline {
  padding: 20px 0px;
  margin-bottom: 0px;
  font-size: var(--fs-md);
}

.list-inline > li {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
  position: relative;
}

.list-inline > li > a {
  border-right: 1px solid #999999;
  padding: 0px 20px 0px 9px;
}

.contact {
  margin: auto 0 30px auto;
  font-family: 'Montserrat', sans-serif;
}

.contact .dida {
  font-weight: 600;
  font-size: var(--fs-xs);
  margin-bottom: 10px;
}

.social ul.list-inline {
  padding: 0px 0px;
  margin-bottom: 0px;
}

.social h4 {
  font-family: 'Montserrat', sans-serif;
}

.social .menu-list > li {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  padding-top: 6px;
  border: 1px solid #fff;
}

.social .menu-list > li > a {
  font-size: var(--fs-lg);
}

.social .menu-list > li:hover {
  background: #ffdd00;
}

.list-inline > li > a {
  border-right: 1px solid #999999;
  padding: 0px 20px 0px 9px;
}

.color-white #contact a {
  color: #fff !important;
}

.tags > span {
  padding: 0;
}

.tags span:after {
  content: '|';
  margin: 0 10px;
}

.tags span:last-child:after {
  content: '';
  margin: 0;
}
.description a {
  color: #f36233;
}
