/*
Theme Name: Canteen Group Theme
Theme URI: https://wordpress.org/themes/twentyseventeen/
Author: Castel Communication
Author URI: https://wordpress.org/
Description: Canteen Group Theme brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2025 works great in many languages, for any abilities, and on any device.
Version: 4.2
Tested up to: 7.1
Requires at least: 4.7
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyseventeen
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Accessibility
3.0 Alignments
4.0 Clearings
5.0 Typography
6.0 Forms
7.0 Formatting
8.0 Lists
9.0 Tables
10.0 Links
11.0 Featured Image Hover
12.0 Navigation
13.0 Layout
   13.1 Header
   13.2 Front Page
   13.3 Regular Content
   13.4 Posts
   13.5 Pages
   13.6 Footer
14.0 Comments
15.0 Widgets
16.0 Media
   16.1 Galleries
17.0 Customizer
18.0 SVGs Fallbacks
19.0 Media Queries
20.0 Print
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css
--------------------------------------------------------------*/
 @font-face {
    font-family: 'Brother1816';
    src: url('font/brother1816-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
.adobe-garamont, .adobe-garamont h1, .adobe-garamont h2, .adobe-garamont h3, .adobe-garamont h4, .adobe-garamont h5, .adobe-garamont h6,.adobe-garamont p{
	font-family: 'Adobe Garamond Pro', sans-serif !important;
}
 
.brother, .brother h1, .brother h2, .brother h3, .brother h4, .brother h5, .brother h6, .brother p, .brother a {
	font-family: 'Brother1816', sans-serif !important;
}

.text-justify, .text-justify h1, .text-justify h2, .text-justify h3, .text-justify h4, .text-justify h5, .text-justify h6,.text-justify p{
	text-align: justify !important;
}

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

*,
*::before,
*::after {
  box-sizing: border-box; /* 3 */
}

/* Sections
 */
body {
  margin: 0;
  font-family: "Brother1816", sans-serif ;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  background-color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1, h2, h3, h4, h5, h6 {
  margin-block-start: 0.5rem;
  margin-block-end: 1rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-block-start: 0;
  margin-block-end: 0.9rem;
}

/* Grouping content
 */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
  white-space: pre-wrap;
}

/* Text-level semantics
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: #CC3366;
}
a:hover, a:active {
  color: #333366;
}
a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
  outline: 0;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-block-end: none; /* 1 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
 */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

/* Interactive
 */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

figcaption {
  font-size: 16px;
  color: #333333;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
}

/* Misc
 */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Print
 */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    border: 1px solid #cccccc;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    -moz-column-break-after: avoid;
         break-after: avoid;
  }
}
/**
 * Form styling
 */
label {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 1rem; /* 1 */
  line-height: 1.5; /* 1 */
  margin: 0; /* 2 */
}

input[type=text],
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=url],
select,
textarea {
  width: 100%;
  border: solid 1px #666666;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}
input[type=text]:focus,
input[type=date]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
  border-color: #333333;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  width: auto;
  -webkit-appearance: button;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button,
[type=submit],
[type=button] {
  display: inline-block;
  font-weight: 400;
  color: #c84646;
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background-color: transparent;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 3px;
  transition: all 0.3s;
}
button:focus:not(:focus-visible),
[type=submit]:focus:not(:focus-visible),
[type=button]:focus:not(:focus-visible) {
  outline: none;
}
button:hover, button:focus,
[type=submit]:hover,
[type=submit]:focus,
[type=button]:hover,
[type=button]:focus {

}
button:not(:disabled),
[type=submit]:not(:disabled),
[type=button]:not(:disabled) {
  cursor: pointer;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
  resize: vertical;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

select {
  display: block;
}

/**
 * Table styling
 */
table {
  background-color: transparent;
  width: 100%;
  margin-block-end: 15px;
  font-size: 0.9em;
  border-spacing: 0;
  border-collapse: collapse;
}
table th,
table td {
  padding: 15px;
  line-height: 1.5;
  vertical-align: top;
  border: 1px solid rgba(128, 128, 128, 0.5019607843);
}
table th {
  font-weight: bold;
}
table thead th,
table tfoot th {
  font-size: 1em;
}
table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
  border-block-start: 1px solid rgba(128, 128, 128, 0.5019607843);
}
table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background-color: rgba(128, 128, 128, 0.0705882353);
}
table tbody tr:hover > td,
table tbody tr:hover > th {
  background-color: rgba(128, 128, 128, 0.1019607843);
}
table tbody + tbody {
  border-block-start: 2px solid rgba(128, 128, 128, 0.5019607843);
}
@media (max-width: 767px) {
  table table {
    font-size: 0.8em;
  }
  table table th,
  table table td {
    padding: 7px;
    line-height: 1.3;
  }
  table table th {
    font-weight: 400;
  }
}

/**
 * List styling
 */
dl,
dt,
dd,
ol,
ul,
li {
  margin-block-start: 0;
  margin-block-end: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

.navbar-nav {
    list-style: none; /* Rimuove i punti elenco */
    display: flex; /* Disposizione orizzontale */
    gap: 20px; /* Spazio tra gli elementi del menu */
}

.navbar-nav li {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    white-space: nowrap;
	    line-height: 1.7;
}

.navbar-nav li a {
    text-decoration: none; /* Rimuove la sottolineatura */
    padding: 20px 0px; /* Spaziatura attorno al link */
    color: #fff; /* Colore del testo */
    transition: color 0.3s ease; /* Effetto di transizione */
	position: relative;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.9em; 
}

.navbar-nav > .menu-item > a:hover:before {
    left: 0;
    right: auto;
    width: 100%;
}

.navbar-nav > .menu-item > a:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #c84646;
    transition: all .4s ease 0s;
}
.hero-image-page {
	background-size: cover; 
	background-position: center; 
	height: 100vh; 
	display: flex;
	align-items: center;
	justify-content: center;
}
.overlay-custom {
	border-image: fill 0 linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 1));
}

.hero-content h1{
	padding-bottom: 15px;
	position: relative;
}
.hero-content h1:after {
	content: '';
	 width: 80%;
    height: 2px;
    background-color: #c84646;
	position: absolute;
	bottom: 0;
	left: 50%; /* Posiziona il centro della linea */
    transform: translateX(-50%); 
}
#ot-reservation-widget {
	display: flex;
	justify-content: center;
}

#ot-reservation-widget .ot-title {
	color: #fff;
}

.text-with-lines {
  display: flex;
  align-items: center;
  text-align: center;
}

.text-with-lines:before,
.text-with-lines:after {
	content: '';
  flex: 1;
  border-bottom: 1px solid white;
  margin: 0 10px; /* Spazio tra il testo e la linea */
}

.text-with-lines {
  color: white; /* Colore del testo */
  width: 100%
}

.active-nav-a a:before {
	content: '';
   width: 100% !important;
}

/* Stile per il menu principale */
.navbar-nav {
    position: relative; /* Necessario per posizionare i sottomenu */
}

/* Nascondi i sottomenu per impostazione predefinita */
.navbar-nav .sub-menu {
	opacity: 0;
	display: flex;
    flex-wrap: wrap;
    position: absolute;
    width: 240px;
    min-width: 100%;
    padding: 10px;
    margin-top: 25px;
    margin-left: 0;
    z-index: 1;
    text-align: left;
    text-shadow: none;
    color: #302d32;
    background-color: #fff;
    border-radius: 3px;
    transition-property: opacity, margin-top;
    transition-duration: .5s;
    transition-timing-function: ease;
    box-shadow: 0 3.33333333px 20px rgba(0,0,0,0.2);
}

/* Mostra il sottomenu al passaggio del mouse sul genitore */
.navbar-nav li:hover > .sub-menu {
	opacity: 1;
}

/* Stile per gli elementi del sottomenu */
.navbar-nav .sub-menu li {
	width: 100%;
    padding: 10px; /* Padding per i sottomenu */
	border-bottom: 1px solid rgba(48, 45, 50, 0.1);
}

/* Stile per i link nel sottomenu */
.navbar-nav .sub-menu li a {
    color: #333; /* Colore del testo per i link nel sottomenu */
    text-decoration: none; /* Rimuovi la sottolineatura */
	font-weight: 300;
}

/* Stile per il passaggio del mouse sui link del sottomenu */
.navbar-nav .sub-menu li a:hover {
    color: #c84646; 
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
	background: #fff;
	height: 2px;
}

.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::before, .hamburger.is-active .hamburger-inner::after {
	background: #fff;
}
.hamburger--spring .hamburger-inner::before {
    top: 12px;
    transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spring .hamburger-inner::after {
    top: 24px;
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.menu-mobile-active {
	opacity: 1;
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 1000;
    top: 0;
	display: flex;
    justify-content: center;
    align-items: center;
	height: 100vh;
	text-transform: uppercase;
	
}
.menu-mobile-active:after {
	content: '';
    background: url(https://canteengroup.it/wp-content/uploads/2024/10/logo-canteen-teschio-rosso.png);
    background-position: center;
    width: 100%;
    height: 100%;
    position: fixed;
    right: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
}
.menu-mobile-active ul {
    text-align: center;
    padding: 0;
   
}

.menu-mobile-active ul li a {
	line-height: 2.4em;
    font-size: 1.8em;
}
.menu-mobile-active ul li a {
	color: #fff;
}
#button-menu-mobile, .navbar-brand {
	z-index: 1001;
}
 .bg-menu-folding-animation {
	background: rgba(48, 45, 50, 1);
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* Nascondi il sub-menu di default */
.menu-folding .sub-menu {
  display: none; /* Nasconde il sub-menu di default */
  margin-top: 5px; /* Spaziatura sopra il sub-menu */
  z-index: 1000; /* Mantiene il sub-menu sopra gli altri elementi */
  padding: 0; /* Rimuove il padding di default */
  text-transform: none;
}

.sub-menu li {
  width: 100%;
}

.menu-folding .menu-item-has-children > a {
	display: block;
}
/* Stile per indicare che l'elemento ha un sub-menu */
.menu-folding .menu-item-has-children > a::after {
	content: ' ▼';
	font-size: 0.5em;
	margin-left: 10px;
}

/**
 * ----------------------------------------
 * animation slide-out-top
 * ----------------------------------------
 */
 .bg-menu-animation {
	background: #302d32;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
 }
  .bg-none {
	background: none;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
 }
 .slide-out-top {
	-webkit-animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: slide-out-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

 .slide-in-top {
	-webkit-animation: slide-in-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: slide-in-top 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes slide-out-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-1000px);
            transform: translateY(-1000px);
    opacity: 0;
  }
}
@keyframes slide-out-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-1000px);
            transform: translateY(-1000px);
    opacity: 0;
  }
}


@-webkit-keyframes slide-in-top {
  0% {
    -webkit-transform: translateY(-1000px);
            transform: translateY(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-top {
  0% {
    -webkit-transform: translateY(-1000px);
            transform: translateY(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}


#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    height: 100vh;
    background: #302d32;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    animation: opacity 5s ease-in-out; /* Transizione di 1 secondo sull'opacità */
}

#logo {
    width: 200px;
    height: auto;
}

.fade-in {
    animation: fade-in 2s ease-in-out infinite; /* Animazione che oscilla l'opacità */
}
@keyframes fade-in {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.back-to-top {
	color: #000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
    font-size: 14px;
	border-radius: 50%;
	background: rgba(255,255,255, 1);
	padding: 10px 14px;
    display: none; /* Nasconde la freccia inizialmente */
    cursor: pointer;
    z-index: 1000; /* Assicura che la freccia sia sopra altri elementi */
    transition: background-color 0.3s; /* Effetto di transizione sul background */
}

.back-to-top:hover {
    color: #C84646; /* Cambia colore al passaggio del mouse */
}

.back-to-top i {
    margin: 0;
}

.logo-page-custom {
	position: absolute;
	bottom: 0;
}

.icon-center .elementor-icon-wrapper {
	display: flex;
}

#eventi-slider figure, #eventi-slider  figure img {
	padding: 0 10px;
    max-height: 370px;
	height: 370px;
    object-fit: cover;
}
.eventi-slider figure, .eventi-slider figure img {
	height: 100vh;
	max-height: 100vh;
	 object-fit: cover;
}
.bg-sup-header {
	background: #1e1e18;
} 

#sup-header .lang li a span {
	font-size: 0.65em;
	color: #B5E6FF !important;
	margin-left: 7px !important;
}

#sup-header .contacts  li a {
	font-size: 0.65em;
	color: #fff;
}

.btn-custom {
  background-color: #b00000;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 1px 10px 1px 1px;
}

/* Animazione hover */
.btn-custom:hover {
  background-color: #a30000;
  color: white;
  transform: scale(1.1);
}

/* Icona con doppio bordo animato */
.btn-custom .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: white;
  border: 3px solid;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  animation: double-border 3s infinite ease-in-out;
}

/* Effetto doppio bordo */
@keyframes double-border {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4), 0 0 0 10px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2), 0 0 0 20px rgba(255, 255, 255, 0.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4), 0 0 0 10px rgba(255, 255, 255, 0.1);
  }
}

.btn-custom:hover .icon {
  transform: rotate(90deg);
}

/* Testo con effetto al passaggio del mouse */
.btn-custom .text {
  position: relative;
  z-index: 1;
}

.btn-custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
  transition: opacity 0.3s ease;
}

.btn-custom:hover::after {
  opacity: 0;
}
.background-section {
	transition: all .3s ease;
}
.background-section:hover  {
	background-color: #262825;
}

.btn-custom {
  background-color: #b00000;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 1px 10px 1px 1px;
}
	
.img-text {
      position: relative;
      overflow: hidden;
	  cursor: pointer;
    }


/* Overlay */
.img-text::before {
	content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay scuro */
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Testo */
.img-text .widget-image-caption {	
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white !important;
  font-family: 'Brother1816', sans-serif !important;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Effetto Hover */
.img-text:hover  .widget-image-caption {
  opacity: 1; /* Mostra overlay */
}

 .img-text:hover::before {
  opacity: 1; /* Mostra testo */
}
	

.btn-custom2 {
  background-color: #8D1F1E;
  color: white;
  font-weight: 400;
  border-radius: 30px;
  text-transform: uppercase;
  text-decoration: none;
    display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 5px 15px 5px 15px;
}

	/* Animazione hover */
.btn-custom2:hover {
  background-color: #a30000;
  color: white;
  transform: scale(1.1);
}

/* Testo con effetto al passaggio del mouse */
.btn-custom2 .text {
  position: relative;
  z-index: 1;
  font-size: 0.8em;
}

.btn-custom2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
  transition: opacity 0.3s ease;
}

.btn-custom2:hover::after {
  opacity: 0;
}

.custom-divider {
	background: rgba(255,255, 255, 0.2);
	height: 1px;
	width: 100%;
	max-width: 95%;
}

.accent-color {
	color: #8D1F1E;
}

.text-hover {
	transition: all .3s ease-in-out;
}
.text-hover:hover {
	font-weight: 600 !important;
}
.image-home-a {
	font-family: 'Brother1816', sans-serif !important;
	font-size: 2rem !important;
	font-weight: bold !important;
	display: flex;
	width: 100%;
	height: 100%; 
	vertical-align: middle;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: all .3s ease-in-out;
}

.image-home-a:hover {
	opacity: 1;
}

#ham {
	border: none !important;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
	background: none;
}

.menu-mobile-active ul .lang-item {
	font-size: 0.6em
}

.menu-mobile-active ul .lang-item a {
	display: flex;
    justify-content: center;
    align-items: center;
}