/* 
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 {
  font-family: ToyotaType, Arial, Helvetica, sans-serif;
}
html, body {
  font-family: ToyotaType, Arial, Helvetica, sans-serif;
  font-weight: 300;
}
:root :where(p) {
    font-family: ToyotaType, Arial, Helvetica, sans-serif;
}
a:where(:not(.wp-element-button)) {
    color: currentColor;
    font-family: ToyotaType, Arial, Helvetica, sans-serif;
    font-size: clamp(12px, 0.875rem +((1vw - 3.2px)* 0.294), 17px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1.2px;
    text-decoration: underline;
    text-transform: uppercase;
}
.ttfs_column_grey {
  background-color: #F2F2F2;
  color: #000000;
}

h2, .page h2 {
    font-weight: 300 !important;
    padding-left: 0 !important;
}
.has-small-font-size {
    font-size: 17px !important;
}
a:hover {
  color: inherit;
  text-decoration:underline;
}
/* 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: 10px 20px;
  background-color: #ffffff;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #ffffff;
}

.hide {
  transform: translateY(-100%); /* Fa scomparire la barra verso l'alto */
  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;
  background-color: #fff;
}

/* 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 */
.search-box {
  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: 999;
}
.search-box .icon {
 width:40px;
}
.search-box.hidden {
  display: none;
}

.search-box form {
  display: flex;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
}

.search-box input[type="search"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  flex-grow: 1;
  border-radius: 3px 0 0 3px;
}

.search-box button {
  padding: 10px 15px;
  font-size: 16px;
  background-color: #e00;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 0 3px 3px 0;
  transition: background-color 0.3s ease;
}

.search-box button:hover {
  background-color: #333;
}

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

.menu-principale li {
  position: relative;
}

.menu-principale a {
  text-decoration: none;
  color: #000;
  padding: 10px 10px;
  transition: color 0.3s ease;
  position: relative; 
}

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

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

.menu-principale a:hover::after {
  width: 100%; 
}

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

.menu-principale .active a::after {
  width: 100%; 
}

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

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

.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: 168px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(73, 73, 80, 0.77);
  z-index: 9999;
  padding: 0px;
  overflow-y: auto;
}

.menu-blocco {
  display: none;
}

.menu-blocco.active {
  display: block;
  background-color: white;
}
.menu-blocco.active {
  display: block;
  background-color: white;
}
.menu-blocco a{
  
  font-weight: 300;
 color: #333 !important;
   text-decoration: none;
   font-size:17px;
   
}
.menu-blocco a:hover{
   text-decoration: none;
    color: #333 !important;
} 

#close-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #000;
  color: #fff;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  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: #282830;
  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: 400;
}

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

.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: 70%;
}

.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: 400;
    transition: color 0.3s ease;
     font-size: 14px;

}
.footer-horizontal-links .footer-link:hover {
    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;
  
}
/* banner app store */
.banner-store-desk{
display:none!important
}

@media (min-width: 782px) {
 
    /* Nascondo banner app store mobile */
.banner-store-mobile{
display:none!important;
}
.banner-store-desk{
display:block!important;
}

    
}
.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;
}
/*  font pulsanti*/
: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;
    font-family: NobelType, Arial, Helvetica, sans-serif;
}
:root :where(.wp-block-heading) {
    color: #282830;
    font-family: NobelType, Arial, Helvetica, sans-serif;
    font-size: clamp(35.641px, 2.228rem +((1vw - 3.2px)* 2.878), 65px);
    font-style: normal;
    font-weight: 300;
    padding-top: var(--wp--preset--spacing--20);
    padding-right: var(--wp--preset--spacing--20);
    padding-bottom: var(--wp--preset--spacing--20);
    padding-left: var(--wp--preset--spacing--20);
}


#evssSlider-0 .swiper .swiper-slide .slideContent{padding: 0 !important;}
.evssSlider h2, .slideContent h2 {
    font-size: 56px;
    color: #fff !important;
     border-left: 0px solid #E73635;
    padding-left: 28px !important;
    text-transform: uppercase;
     font-family: NobelType, Arial, Helvetica, sans-serif;
}
.evssSlider p, .slideContent p{color: #fff !important; padding-left: 2rem;}
.evssSlider .default-button a, .evssSlider a.default-button, .slideContent .default-button a, .slideContent a.default-button{color: #000;}
@media(min-width: 992px){
  
  
  .evssSlider h2, .slideContent h2 {
    font-size: 100px;
    color: #fff !important;
    border-left: 0px solid #E73635;
    padding-left: 30px !important; 
    text-transform: uppercase;
    margin-top: 0; padding-top: 22px;
     font-family: NobelType, Arial, Helvetica, sans-serif;
}
}

@media (min-width: 782px) {
    .hp-scopri .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;
    }
}

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

/*testo bottom quando si apre menu*/
.menublocchi_bottom{
    display: flex;
    flex-direction: column;
    height: 100%;
    }
    
    /*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;
}

 .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: 480px;
}
/*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: rgba(0,0,0,0.5);
    min-width: 180px;
    text-align: center;
    border: 1px solid #ffffff !important;
}
.colonna-home-slider > .wp-block-column:last-of-type {
    display: none !important;
}

/* Accessibilità*/
.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);
}