/* 
Theme Name: Toyota Financial Service Italia
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Description: toyota-fs is a child theme of Twenty Twenty-Five, created by WordPress team
Author: the WordPress team
Author URI: https://wordpress.org
Template: twentytwentyfive
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 8.0
Version: 1.0.0
Text Domain: toyota-fs
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
:root {
  --wp--preset--font-family--ToyotaType: ToyotaType, Arial, Helvetica, sans-serif;
}

html, body {
  font-family: ToyotaType, Arial, Helvetica, sans-serif;
  font-weight: 300;
}

.ttfs_column_grey {
  background-color: #F2F2F2;
  color: #000000;
}

a:where(:not(.wp-element-button)) {
  color: inherit !important;
  font-family: ToyotaType, Arial, Helvetica, sans-serif;
}

.wp-block-group h2 {
  font-weight: 300 !important;
  padding-left: 0;
}

/* fix per il bottone del tool accessibilità */
.accessibility-trigger.aioa_custom_position button {
  bottom: 50vh !important;
}

/* Barra superiore */
.sticky-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;

  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-container.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 20px;
  background-color: #ffffff;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #ffffff;
}

.hide {
  transform: translateY(-100%);
  opacity: 0;
  /* Nasconde la barra */
}

.top-bar-left {
  font-family: 'ToyotaType', Arial, sans-serif !important;
  font-weight: 300;
  display: flex;

  gap: 10px;

}

.top-bar-left a {
  font-family: 'ToyotaType', Arial, sans-serif !important;
  font-weight: 300;
  color: #333;
  font-size: 14px;
}

.top-bar-left a:hover {
  font-family: 'ToyotaType', Arial, sans-serif !important;
  font-weight: 300;
  color: #333;
  font-size: 14px;
}

.top-bar-right a {
  text-decoration: none;
  color: #333;
  margin-left: 20px;
  font-family: 'ToyotaType', Arial, sans-serif !important;
  font-weight: 400;
  transition: color 0.3s ease;
}

.top-bar-right a:hover {
  color: #e00;
}

.icon-button {
  align-items: center;
  justify-content: space-between;
  border: 1px solid #000000;
  background: transparent;
  color: #000000;
  font-size: 1em;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.icon-button .icon {
  width: 16px;
  height: 16px;
  margin-left: 10px;
  filter: invert(100%);
}

.icon-button:hover {
  background-color: #fff;
  color: #333;
}

.icon-button:hover .icon {
  filter: invert(100%);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 0px 20px;
  background-color: #fff;
  margin-bottom: 10px;
}

.site-logo img {
  max-width: 270px;
}

/* Stile per l'icona di ricerca */
.search-icon {
  font-size: 18px;
  margin-left: 20px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-icon .icon {
  width: 40px;
}

.search-icon:hover {
  color: #e00;
}

/* Box di ricerca nascosto */
/* Contenitore generale del search box */

.search-box.hidden {
  display: none;
}

.search-box .icon {
  width: 40px;
}

.search-box {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  /* Centra orizzontalmente */
}

/* Contenitore per l'icona e il campo di input */
.search-container {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px 10px;
  background-color: #fff;
  width: 100%;
  max-width: 600px;
  /* Larghezza massima */
  margin-top: 20px;
  /* Distanza dal bordo superiore */
}

/* Icona di ricerca */
.search-icon {
  margin-right: 10px;
  font-size: 16px;
  color: #aaa;
}

/* Campo di input */
.search-container input[type="search"] {
  border: none;
  outline: none;
  flex: 1;
  /* Si espande per occupare spazio */
  font-size: 14px;
  color: #333;
  background-color: transparent;
  padding: 5px;
}

/* Stile del placeholder */
.search-container input[type="search"]::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Pulsante di ricerca */
.search-button {
  border: none;
  outline: none;
  background-color: #007bff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Hover del pulsante */
.search-button:hover {
  background-color: #0056b3;
}

/* MENU PRINCIPALE */
.menu-principale {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  text-transform: uppercase;
  list-style: none;
  padding: 20px 0;
  margin: 0;
  position: relative;
  /* Necessario per il posizionamento */
}

.menu-principale li {
  position: relative;
}

.menu-principale a {
  text-decoration: none;
  color: #000;
  padding: 10px 10px;
  transition: color 0.3s ease;
  position: relative;
  /* Per il posizionamento del ::after */
}

.menu-principale a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  /* Posizione della barra rossa */
  height: 2px;
  width: 0;
  background-color: #e00;
  transition: width 0.3s ease;
}

.menu-principale a:hover {
  color: #000;
}

.menu-principale a:hover::after {
  width: 100%;
  /* Espande la barra rossa sotto la voce di menu */
}

.menu-principale .active a {
  color: #000;
}

.menu-principale .active a::after {
  width: 100%;
  /* La barra rossa appare sotto la voce attiva */
}

/* Aggiunta dell'effetto movimento */
.menu-principale::before {
  content: '';
  position: absolute;
  bottom: -2px;
  height: 2px;
  width: 0;
  background-color: #e00;
  transition: left 0.3s ease, width 0.3s ease;
}

.menu-principale li:hover~.menu-principale::before {
  width: 100%;
}

/* Dropdown (nascosto di default) */
.menu-principale li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px 0;
  list-style: none;
  z-index: 1000;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.menu-principale li:hover>ul {
  display: block;
}

.menu-principale li ul li a {
  color: #333;
  padding: 8px 15px;
  display: block;
}

.menu-principale li ul li a:hover {
  background-color: #f4f4f4;
  color: #e00;
}

/* Contenitore principale mobile*/
.mobile-menu-container {
  display: none;
  position: relative;
}

.mobile-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.mobile-top-bar .left-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.logo img {
  height: 40px;
}

.menu-icon {
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
}


/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);

  transition: transform 0.3s ease;
  z-index: 1000;
}

.mobile-menu.hidden {
  transform: translateX(-100%);
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
}

.mobile-menu-header span {
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu-list {
  list-style: none;
  padding: 20px;
  margin: 0;
  text-transform: uppercase;
}

.mobile-menu-list li {
  margin-bottom: 15px;
}

.mobile-menu-list a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

.mobile-menu-list .divider:first-of-type {
  margin-top: 40px;
}


.mobile-menu-list.additional-links {
  text-transform: capitalize;
  font-size: 14px;
}

.mobile-menu-list.additional-links a {
  text-transform: capitalize;
  font-size: 14px;
}

.mobile-menu-social {
  display: flex;
  justify-content: left;
  gap: 10px;
  padding: 20px 10px;
  position: absolute;
  bottom: 19px;
  left: 0;
  width: 100%;
}

.mobile-menu-social a img {
  height: 35px;
}

.mobile-menu .submenu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 20px;
}

.mobile-menu .submenu li {
  margin-bottom: 10px;
}

.mobile-menu .has-submenu {
  cursor: pointer;
}

.mobile-menu .menu-item.open+.submenu {
  display: block;
}

.menu-item {

  display: inline-block;
}

.menu-item.has-submenu::after {
  /*  content: " >";
    font-size: 16px; 
    position: absolute; 
    right: 0; 
    top: 50%; 
    transform: translateY(-50%);*/
}

.hidden-box {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease;
}

.hidden-box.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hidden-box .close-box {
  display: block;
  text-align: right;
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 20px;
}


/* MENU OVERLAY */
#menu-overlay {
  display: none;
  position: fixed;
  top: 150px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(73, 73, 80, 0.77);
  z-index: 1;
  padding: 0px;
  overflow-y: auto;
}

.menu-blocco {
  display: none;
}

.menu-blocco.active {
  display: block;
  background-color: white;
}

.menu-blocco a {
  font-family: 'ToyotaType', Arial, sans-serif;
  font-weight: 300;
  color: #333 !important;
  text-decoration: none;
  font-size: 17px;

}

.menu-blocco a:hover {
  font-family: 'ToyotaType', Arial, sans-serif;
  font-weight: 300;
  color: #333 !important;
  text-decoration: none;

}

#close-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #000;
  color: #fff;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
}

/* Stile Generale per il Footer */
.footer-container {
  background-color: #ffffff;
  padding: 20px;
  color: #333;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-column {
  flex: 1 1 150px;
}

.footer-column h3 {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-column p {
  font-size: 14px;
  margin: 5px 0;
}

.footer-column p a {
  font-size: 14px;
  text-decoration: none;
  color: #333;
  font-weight: 300;
}

.footer-column p a:hover {
  color: #333;
}

.footer-bottom {
  background-color: #ffffff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  color: #333;
  font-size: 12px;
  line-height: 1.5;
  border-top: 0px solid #e0e0e0;
  position: relative;
}

.footer-left {
  display: flex;
  flex-direction: column;
  max-width: 60%;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-text {
  margin-top: 10px;
}

.footer-text p {
  margin: 5px 0;
  color: #666;
}

.footer-text a {
  color: #666;
  text-decoration: none;
  font-size: 12px;
}

.footer-text a:hover {
  color: #666;
  text-decoration: underline;
}

.footer-social {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.footer-social a {
  text-decoration: none;
  font-size: 20px;
  color: #333;
}

.footer-social a:hover {
  color: #0073aa;
}

.footer-social .social-icon {
  font-size: 16px;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f1f1;
  line-height: 24px;
  text-align: center;
}



.footer-horizontal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;

}

.footer-horizontal-links .footer-link {
  text-decoration: none;
  color: #666;
  font-weight: 300;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-horizontal-links .footer-link:hover {
  color: #666;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer-left {
    max-width: 100%;
    text-align: center;
  }

  .footer-horizontal-links {
    margin-top: 20px;
    text-align: center;
  }

  .footer-social {
    position: static;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
  }
}

.immagine-con-striscia {
  position: relative;
  display: inline-block;
}

.immagine-con-striscia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 50%;
  width: 2%;
  background-color: red;
  z-index: 1;
}

.immagine-con-striscia img {
  display: block;
  position: relative;
  z-index: 0;
}

/* immagine con striscia right*/
.immagine-con-striscia-right {
  position: relative;
  display: inline-block;
}

.immagine-con-striscia-right::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 50%;
  width: 2%;
  background-color: red;
  z-index: 1;
}

.immagine-con-striscia-right img {
  display: block;
  position: relative;
  z-index: 0;
}

/* Effetto Parallax con movimento in-out leggero */
.parallax-immagine {
  position: relative;
  overflow: hidden;
  /* height: 400px;*/
}

.parallax-immagine img {
  width: 100%;
  height: auto;
  transform: scale(1.2);
  /* Partiamo con un leggero zoom */
  will-change: transform;
  transition: transform 0.1s ease-out;
}


/*note cliccabili*/
.note-content {
  display: none;
}

/* Stile per l'overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay-content {
  background: white;
  padding: 20px;
  max-width: 600px;
  width: 80%;
  text-align: center;
  border-radius: 10px;
  position: relative;
}

.close-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: black;
}


.note-trigger {
  color: #282830;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.85rem;
}

/*SEPARATORE VERTICALE*/
.separatore-verticale {
  transform: rotate(90deg);
  /* Gira in verticale */
  width: 1px;
  /* Regola lo spessore */
  height: 100%;
  /* Altezza */
  background-color: #ccc;
  margin: 0 auto;
}

/*TABS plugin*/
.wp-block-kadence-tabs .kt-tabs-title-list li.kt-tab-title-active .kt-tab-title {
  background-color: #fff;
  border-color: #EB0A1E !important;
}

.wp-block-kadence-tabs .kt-tabs-title-list li a.kt-tab-title {
  padding: 8px 16px;
  display: flex;
  color: var(--global-palette5, #444444);
  align-items: center;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0);
  border-width: 0px !important;
  border-bottom-width: 2px !important;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  text-decoration: none;
  transition: all .2s ease-in-out;
  height: 100%;
}

.kt-tabs-wrap .wp-block-kadence-tab {
  border: 0px !important;
  border-top: 1px solid #dee2e6 !important;
  padding: 20px;
  text-align: left;
}

footer.wp-block-template-part {
  display: none;
}

/*linkedin*/
.linkedin-embed-block .attributed-text-segment-list__content {
  display: none;
}

/* banner app store */
.banner-store-desk {
  display: none !important
}


@media (min-width: 782px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: space-between;

  }
}

@media (min-width: 782px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
    flex-grow: 0;
    display: block;
  }

  /* Nascondo banner app store mobile */
  .banner-store-mobile {
    display: none !important;
  }

  .banner-store-desk {
    display: block !important;
  }


}

/*pulsanti slide Home colonna*/
.colonna-home-slider .wp-block-column.is-style-section-1--1 {
  background-color: transparent;
}

.colonna-home-slider .wp-block-column.is-style-section-1--1 a {
  color: #000000 !important;
}

.colonna-home-slider .wp-block-column.is-style-section-1--2 {
  background-color: transparent;
}

.colonna-home-slider .wp-block-column.is-style-section-1--3 {
  background-color: transparent;
}


.wp-block-evb-slider .swiper .swiper-slide .slideContent .wp-block-columns, .wp-block-evb-slider .swiper .swiper-slide .slideContent .colonna-home-slider .wp-block-group {
  width: 360px;
}

/*secondo pulsante*/
.colonna-home-slider .wp-block-column.is-style-section-1--2 .default-button a, .colonna-home-slider .wp-block-column.is-style-section-1--2 a.default-button {
  padding: 1rem 2rem;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff !important;
  background-color: transparent;
  min-width: 180px;
  text-align: center;
  border: 1px solid #ffffff !important;
}

.colonna-home-slider>.wp-block-column:last-of-type {
  display: none !important;
}

.default-button-second-black a, a.default-button-second-black {
  padding: 1rem 2rem;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  color: #000000 !important;
  background-color: transparent;
  min-width: 180px;
  text-align: center;
  border: 1px solid #000000 !important;
}

/*pulsanti non in hover*/

:root :where(.wp-element-button, .wp-block-button__link) {
  background-color: var(--wp--preset--color--contrast);
  border-width: 0;
  color: var(--wp--preset--color--base);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--medium);
  line-height: inherit;
  padding-top: 1rem;
  padding-right: 2.25rem;
  padding-bottom: 1rem;
  /* padding-left: 2.25rem; */
  text-decoration: none;
}


:root :where(.wp-element-button:hover, .wp-block-button__link:hover) {
  background-color: var(--wp--preset--color--contrast);
  border-color: transparent;
  color: var(--wp--preset--color--base) !important;
  text-decoration: none !important;
}

/*pulsanti sfondo bianco*/
.has-base-background-color:hover {
  color: black !important;
}

/*nasconde footer e header in my login*/
.page.login-cliente .site-header,
.page.login-cliente .footer-container .footer-columns {
  display: none;
}


.wp-block-details summary:hover {
  background-color: transparent;
}

/*testo bottom quando si apre menu*/
.menublocchi_bottom {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.evssSlider .default-button a, .evssSlider a.default-button, .slideContent .default-button a, .slideContent a.default-button {
  color: #000 !important;
}



/*scopri di più*/
.scopri-toyota a {
  text-decoration: none !important;
}

.scopri-toyota a:hover {
  text-decoration: none !important;
}

/* accessibility-fixes.css */
.footer-container h3, .footer-container p, .footer-bottom {
  color: #282830
}

.cmplz-blocked-content-container .cmplz-blocked-content-notice, .cmplz-wp-video .cmplz-blocked-content-notice {
  background-color: #282828;
}

.top-bar {
  text-transform: uppercase;
}

.colonna-home-slider .wp-block-column.is-style-section-1--2 .default-button a, .colonna-home-slider .wp-block-column.is-style-section-1--2 a.default-button {
  background-color: rgba(0, 0, 0, 0.3);
}

*:focus {
  outline: 2px solid !important;
}

.footer-container a {
  font-weight: 400 !important
}

;

.banner-store-desk {
  position: relative;
  z-index: 0;
}

.banner-store-desk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.banner-store-desk>* {
  position: relative;
  z-index: 2;
}

details#easy-pay {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 800px;
}

details#easy-pay summary {
  font-weight: 600;
  cursor: pointer;
  color: #005fcc;
  outline: none;
}

details#easy-pay[open] {
  background-color: #f0f4f8;
  border-color: #c8d7e1;
}

details#easy-pay summary {
  list-style: none;
  /* Rimuove il marker nei browser che usano list-style */
  outline: none;
}

details#easy-pay summary::-webkit-details-marker {
  display: none;
  /* Rimuove il marker su WebKit (Chrome, Safari) */
}

details#easy-pay summary::after {
  content: ' ⯈';
  font-size: 0.8rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

details#easy-pay[open] summary::after {
  transform: rotate(90deg);
}


/*TOOLTIP PROMO*/
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tooltip.show {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Accordian */
.sr-only-image {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Datapicker */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
  border: 0 !important;
}