@import url("https://site-assets.fontawesome.com/releases/v6.2.1/css/all.css");
@import url('https://fonts.googleapis.com/css2?family=Manrope&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani&display=swap');

/** FIXARE VISUALIZZAZIONE ICONE SU BARRA PRINCIPALE IN ALTO */
* { 
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-rendering: optimizelegibility;
}

input {
    user-select: text;
    -webkit-user-select: text;
}

input[type="text"]::selection {
    background-color: #3297FD;
    color: #FFFFFF;
}

.testh1 {
    text-align: center;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1); 
    color: #FFFFFF;
}

/*input#cerca {
    animation: 1s blink infinite;
}

@keyframes blink {
    0% {
        transform: scale(100%);
    }
    100% {
        transform: scale(200%);
    }
}*/

input#cerca:focus {
    animation: none;
}

input#cerca::placeholder {
    color: #000000;
    font-weight: 600;
    opacity: 1;
}

html, body {
    font-family: 'Rajdhani', sans-serif !important;
    
    overflow-x: inherit;
    scroll-behavior: smooth;
    background-size: cover;
}

flexmodels {
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    margin: 0;
    background-position: 0% 50%;
    overflow: overlay !important;
    height: 100vh !important;
    background-image: linear-gradient(to bottom right, #1d1d1d98, #818181e1), url(../images/porsche.jpg) !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body::after {
    content: '';
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    /* background-image: linear-gradient(to right, rgb(255, 174, 174) 5%, rgb(11, 142, 218) 95%); */
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

#advertisement-span {
    color: #000000; 
    font-size: 20px; 
    opacity: 1; 
    font-weight: 600; 
    margin-left: 10px;
}

/* parte lista veicoli */
.listaveicoli {
	margin-right: 50px;
	margin-left: 50px;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.8), /* bianco con 10% opacità */
		rgba(190, 190, 190, 0.8)  /* grigio con 10% opacità */
	);
	padding-top: 20px;
	box-sizing: border-box;
	max-width: 100%;
	display: block;
	overflow-x: auto; /* mantiene lo scroll */
}

.elemento {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1), /* bianco con 10% opacità */
    rgba(128, 128, 128, 0.1)  /* grigio con 10% opacità */
  );
}


.controlli-tabella {
  margin-top: 10px;
  text-align: center;
}

.controlli-tabella button {
  padding: 6px 12px;
  margin: 0 5px;
  font-size: 14px;
  cursor: pointer;
}

#listaveicoli label {
  margin: 2rem !important;
  padding-bottom: 10px;
  overflow-x: auto;
}

#veicoli {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  table-layout: fixed;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

#veicoli th, #veicoli td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  color: #333;
}

#veicoli thead {
  background-color: #fdf6e3;
  color: #444;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#veicoli tbody {
  background: linear-gradient(to bottom, #ffffff, #f2f2f2);
}

#veicoli tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.6);
}

#veicoli tbody tr:nth-child(odd) {
  background-color: rgba(242, 242, 242, 0.6);
}

#veicoli tbody tr:hover {
  background-color: #e6f7ff;
  transition: background-color 0.2s ease-in-out;
}

#veicoli .lvpotenza {
  width: 8em !important;
}
#veicoli .lvmotore {
  width: 12em !important;
}
#veicoli .lvprotocolli {
  width: 18em !important;
}


#veicoli th {	
	font-weight: 600;
}

.dataTables_filter {
  display: none;
}

#customSearch {
  display: block;
  margin: 30px auto;
  padding: 12px 20px;
  width: 60%;
  max-width: 500px;
  font-size: 18px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #333;
  transition: all 0.3s ease;
}

.filtri-tabella {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.filtri-tabella select {
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #fdf6e3;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.filtri-tabella select:focus {
  border-color: #0077cc;
  outline: none;
}

#customSearch::placeholder {
  color: #666;
  font-style: italic;
}

#customSearch:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.4);
}

#btnNext, #btnPrev {
  display: inline-block;
  margin: 20px 10px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #0077cc, #00aaff);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#btnNext:hover, #btnPrev:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

#btnNext:active, #btnPrev:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);
}


.black-wall {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -999999999;
    /* background-color: rgba(0, 0, 0,0.5); */
}

/** SFONDO */
img:not(#logo) {
    pointer-events: none;
}

.social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    margin-left: 20px;
}

.youtube, .instagram, .facebook {
    pointer-events: auto !important;
    transition: all 300ms ease;
}

/** YOUTUBE */
.youtube {
    width: auto;
    height: 40px;
    opacity: 0.7;
    flex-shrink: 2;
    filter: grayscale(0.7);
}

.youtube:hover, .instagram:hover, .facebook:hover {
    cursor: pointer;
    opacity: 1;
    filter: grayscale(0);
}

.instagram {
    cursor: pointer;
    width: 40px;
    height: 40px;
    opacity: 0.7;
    filter: grayscale(0.7);
}

/** FACEBOOK */
.facebook {
    width: 40px;
    opacity: 1;
    filter: grayscale(0.5);
    cursor: pointer;
}

footer {
    position: relative;
    top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    row-gap: 30px;
}

footer ~ span {
    position: absolute;
    z-index: 0;
    bottom: 10px;
    right: 10px;
}

sup {
    font-size: 13px;
}

.cambialingua {
    cursor: pointer;
    border-radius: 5px;
    border: 2px solid #0000FF;
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 600;
    /*float: right;
    margin-top: 25px;
    margin-right: 20px;*/
    background-color: rgba(255, 255, 255, 0.822);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0);
    backdrop-filter: blur(4.1px);
    color: rgb(0, 0, 0);
    -webkit-backdrop-filter: blur(4.1px);
}

.setimg {
    width: 300px;
}

.setimg:hover {
    cursor: pointer;
}

h1 {
    font-weight: 600;
    font-size: 45px;
    font-weight: 700;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
    color: #FFFFFF;
}

.setbtn {
    width: 300px;
    height: 50px;
    margin: 10px;
    font-family: Rajdhani, sans-serif;
    font-weight: 600;
    font-size: 25px;
    border: none;
    border-radius: 22px;
    color: #000000;
    /*background-color: -internal-light-dark(rgb(239, 239, 239), rgb(59, 59, 59));*/
    background: rgba(255, 255, 255, 0.790);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.1px);
    -webkit-backdrop-filter: blur(4.1px);
    border: 1px solid rgba(255, 255, 255, 0.466);
    transition: width 500ms ease, box-shadow 100ms ease;
    box-shadow: 3px 5px 10px gray;
}

.setbtn:hover {
    border-top: 3px solid rgb(0, 190, 255);
    border-bottom: 3px solid #FF0000;
    cursor: pointer;
    box-shadow: 3px 3px 5px gray;
}

.setbtn:focus {
    background-color: rgba(173, 173, 173,0.466);
    box-shadow: 2px 3px 4px gray;
    animation: 25ms animateclick forwards;
    color: white;
}

.setbtn:focus * {
    opacity: 0; 
}

@keyframes animateclick {
    from {
        
    }
    to {
        transform: translateY(4px);
    }
}

.menurapido {
    font-family: 'Rajdhani';
    font-size: 20px;
    font-weight: 600;
    margin: 10px;
    border-radius: 5px;
    color: #000000;
    border: none;
    background: rgba(255, 255, 255, 0.790);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.1px);
    -webkit-backdrop-filter: blur(4.1px);
    border-bottom: 3px solid transparent;
    transition: border-bottom 100ms ease;
}

.menurapido:hover {
    cursor: pointer;
    background-color: rgb(0, 190, 255);
    border-bottom: 3px solid #FF0000;
    color: #FFFFFF;
}

.selezione {
    font-family: 'Rajdhani';
    font-size: 20px;
    font-weight: 600;
    margin: 10px;
    border-radius: 5px;
    background-color: rgb(0, 190, 255);
    color: #FFFFFF;
    border: none;
    border-bottom: 3px solid #FF0000;
}


.intestazione {
    font-size: 15px;
    font-weight: 600;
}

.test {
    font-size: 25px;
}

input[type='checkbox'] {
    display: none;
}

input[type='radio'] {
    display: none;
}

.wrap-collabsible {
    /*margin: 1.2rem 0;*/
    margin: 15px;
    width: 65%;
    transition: width 500ms ease;
}

/*.wrap-collabsible:hover {
    margin: 1.2rem 0;
}*/

#submodel {
    width: 95%;
}

.lbl-toggle {
    display: block;
    font-weight: bold;
    /*font-family: monospace;*/
    font-family: 'Rajdhani';
    font-size: 1.2rem;
    /*text-transform: uppercase;*/
    text-align: center;
    padding: 1rem;
    /*color: #DDD;*/
    /*background: #0069ff;*/
    cursor: pointer;
    border-radius: 22px;
    transition: all 0.25s ease-out;
    border: 2px solid gray;
    background: rgba(255, 255, 255, 0.851);
    border-radius: 22px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.1px);
    -webkit-backdrop-filter: blur(4.1px);
}

.all-models {
    border: 2px solid #c20e0e !important;
}

.lbl-toggle:hover {
    background-color: rgba(0, 190, 255, 0.652);
    color: rgb(255, 255, 255);
}

.lbl-toggle::before {
    content: ' ';
    display: inline-block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid currentColor;
    vertical-align: middle;
    margin-right: .7rem;
    transform: translateY(-2px);
    transition: transform .2s ease-out;
}

.toggle {
    visibility: hidden;
    /*display: none;*/
}

.toggle:checked+.lbl-toggle::before {
    transform: rotate(90deg) translateX(-3px);
}

.collapsible-content {
    background: rgba(255, 255, 255, 0.851);
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.1px);
    -webkit-backdrop-filter: blur(4.1px);
    max-height: 0px;
    overflow: hidden;
    transition: max-height .25s ease-in-out;
    
}

.collapsible-contentinto {
    max-height: 0px;
    overflow: hidden;
    transition: max-height .25s ease-in-out;
}

.toggle:checked+.lbl-toggle+.collapsible-content {
    /*max-height: 350px;*/
    max-height: 500%;
}

.toggle:checked+.lbl-toggle+.collapsible-contentinto {
    /*max-height: 350px;*/
    max-height: 500%;
}

.toggle:checked+.lbl-toggle {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.collapsible-content .content-inner {
    /*background: rgba(0, 105, 255, .2);
    border-bottom: 1px solid rgba(0, 105, 255, .45);*/
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    border-top: 2.5px solid rgb(2, 90, 184);
    border-bottom: 2.5px solid rgb(2, 90, 184);
    border-left: 2.5px solid rgb(2, 90, 184);
    border-right: 2.5px solid rgb(2, 90, 184);
    padding: .5rem 1rem;
}

.collapsible-contentinto .content-innerinto {
    border: 1px solid gray;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    padding: .5rem 1rem;
}

.collapsible-content p {
    margin-bottom: 0;
}

.collapsible-contentinto p {
    margin-bottom: 0;
}

.visualizzainline {
    display: inline-block;
    word-spacing: 30px;
}

.aumentadim {
    font-size: 18px;
    font-weight: 600;
}

.separazione {
    border-bottom: 1px solid #000000;
}

.options {
    opacity: 0.7;
    font-size: 1.2rem;
    width: 80px;
    cursor: pointer;
    background-color: rgba(40, 173, 0, 0.363);
    border: 1px solid green;
    border-radius: 15px;
}

.options:disabled {
    cursor: not-allowed;
    /*background-color: rgba(173, 0, 0, 0.363);*/
    background-color: rgba(224, 138, 138, 0.363);
    border: none;
}

.options:disabled:hover {
    background-color: rgba(156, 9, 9, 0.185);
}

.options:focus * {
    animation: focus 200ms ease;
}

@keyframes focus {
    from {

    }
    to {
        transform: scale(500%);
        opacity: 0;
    }
}

button.options img {
    width: 50px;
    height: 40px;
}

button.news {
    width: 150px;
    height: 40px;
    color: #FFFFFF;
    font-family: 'Rajdhani';
    font-weight: bold;
    font-size: 1.2rem;
    background-color: transparent;
    float: right;
    margin-top: 20px;
    margin-right: 20px;
    padding-left: 5px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    transition: all 500ms ease;
    background: #F77D24;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.521);
    backdrop-filter: blur(4.1px);
    -webkit-backdrop-filter: blur(4.1px);
    border: 2px solid transparent;
}

.news {
    background-position: 100%;
    background-size: 300%;
    -webkit-transition: background 300ms ease-in-out;
    transition: background 300ms ease-in-out;
}

button.news:hover {
    background: #b45a19;
    background-position: 0;
    border: 1px solid transparent;
    color: #FFFFFF;
}

button.tcu {
    cursor: pointer;
    font-family: 'Rajdhani';
    float: right;
    margin-top: 20px;
    margin-right: 20px;
    width: 140px;
    color: #000000;
    height: 40px;
    padding-left: 5px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.61);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.1px);
    -webkit-backdrop-filter: blur(4.1px);
    border: 2px solid transparent;
    transition: all 500ms ease;
}

button.tcu::after {
    content: '\00bb';
    color: #FF0000;
    display: none;
    transition: all 100ms ease;
}

button.tcu:hover::after {
    opacity: 1;
    color: #FF0000;
    display: inline;
    transform: translateX(100px);
}

button.tcu:hover {
    color: #000000;
    color: #FFFFFF;
    background-color: rgb(0, 190, 255);
    font-size: 22px;
}

button.tcu:hover tcutext {
    transform: rotateX (90deg);
}

button.tcu:focus {
    transform: scale(0.8);
}

button.ecu {
    cursor: pointer;
    font-family: 'Rajdhani';
    float: right;
    margin-top: 20px;
    color: #000000;
    margin-right: 20px;
    width: 80px;
    height: 40px;
    padding-left: 5px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 20px;
    border: 1px solid #000000;
    background-color: transparent;
}

button.ecu:hover {
    background-color: rgb(0, 190, 255);
}

button.options:hover {
    animation: 300ms animaoptions forwards;
}

button:disabled:hover {
    background-color: -internal-light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
    color: -internal-light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
    border-color: -internal-light-dark(rgba(118, 118, 118, 0.3), rgba(195, 195, 195, 0.3));
}

@keyframes animaoptions {
    from {

    }
    to {
        opacity: 1;
    }
}

.goTop {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    color: rgb(219, 219, 219);
    /*background-color: rgb(0, 190, 255);*/
    background-color: rgb(37, 37, 37);
    box-shadow: 2px 3px 5px rgb(37, 37, 37);
    transition: background-color 500ms ease-in-out, color 300ms ease, padding 300ms ease;
}

.goTop:hover {
    background-color: rgb(0, 90, 121);
    color: #FFFFFF;
    cursor: pointer;
}

.goTop:focus {
    padding: 9px;
}

/*SCROLLBAR PROPERTIES*/

::-webkit-scrollbar {
    width: 15px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb { 
    border-radius: 10px;
    border: 2px solid transparent;
    background: rgba(0, 0, 0, 0.486);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.616);
}

.fastlink {
    padding: 3px;
    outline: 2px outset rgba(255, 255, 255, 0.851);
    border: 2px solid #FFFFFF;
    font-size: 1rem;
    text-decoration: none; 
    border-radius: 12px; 
    color: #000000; 
    margin: 10px;
    transition: background 200ms ease;
    background: rgba(255, 255, 255, 0.851);
    border-radius: 22px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.1px);
    -webkit-backdrop-filter: blur(4.1px);
}

.fast-all-models {
    outline: 2px outset #c20e0e;
}

/** LINK RAPIDI JOHN DEERE */
.jhd {
    font-size: 13px;
}

.fastlink:hover {
    background-color: rgb(0, 190, 255);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    outline: 2px outset rgb(0, 190, 255);
    color: #FFFFFF;
}

.fastlink:focus {
    border: 2px solid rgb(0, 88, 117);
    outline: 2px outset rgb(0, 88, 117);
    background-color: rgb(0, 88, 117);
    color: #FFFFFF;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto;
}

.grid-containermini {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
}

.grid-containerjhd {
    display: grid;
    font-size: 14px;
    grid-template-columns: auto auto auto auto auto auto auto auto;
}

.tornaindietro {
    position: relative;
    border: none;
    /*top: 235px;
    left: 800px;*/
    background-color: transparent;
    font-size: 40px;
    transition: color 250ms ease, left 300ms ease;
}

.spanprevious {
    position: relative;
    border: none;
    /*top: 215px;
    left: 800px;*/
    color: rgb(0, 102, 255);
    background-color: transparent;
    font-size: 17px;
    opacity: 0;
    transition: color 250ms ease, left 300ms ease, opacity 300ms ease;
}

.tornaindietro:hover {
    color: rgb(0, 102, 255);
    cursor: pointer;
    /*left: 45px;*/
}

.tornaindietro:hover ~ span.spanprevious {
    opacity: 1;
}

.flex-container {
    display: inline;    
}

.grid-container-models {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
}

@media only screen and (max-width: 1600px) {
    .wrap-collabsible, .wrap-collabsibleBOSCH {
        width: 80% !important;
        transition: width 500ms ease;
    }

    .setbtn {
        width: 290px;
    }

    .aumentadim {
        font-size: 17px;
    }

    .fastlink {
        width: 150px;
        font-size: 15px;
    }

    .grid-container {
        display: grid;
        grid-template-columns: auto auto auto auto auto auto;
    }

    .grid-containerjhd {
        grid-template-columns: auto auto auto auto auto auto;
    }

    .grid-containermini {
        display: grid;
        grid-template-columns: auto auto auto auto auto auto;
    }

    .goTop {
        right: 15px;
    }

    button.news {
        width: 110px;
        height: 40px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 1600px) {
    .pinout {
        font-size: 1rem !important;
    }
}

h1#driver-list-title {
    display: inline;
    margin-right: 65px;
}

div#driver-list-div {
    margin-top: 30px;
}

@media only screen and (max-width: 1366px) {
    ::-webkit-scrollbar {
        width: 12px;    
    }

    .wrap-collabsible {
        width: 90%;
    }

    .grid-container {
        grid-template-columns: auto auto auto auto auto;
    }

    .pinout {
        font-size: 16px !important;
    }

    .setbtn {
        position: relative;
        top: -80px;
    }

    .wrap-collabsibleBOSCH {
        width: 90%;
    }

    button.tcu {
        position: relative;
        top: 8px;
        width: 100px;
        height: 30px;
        font-size: 14px;
    }

    button.tcu:hover {
        font-size: 14px;
    }

    footer {
        position: relative;
        top: 60px;
        left: -20px;
        flex-direction: column;
	    font-size: 12px;
    }

    p#version {
        display: none;
    }

    div#driver-list-div {
        position: relative;
        bottom: 60px;
    }
}

@media only screen and (max-width: 1024px) {
    .wrap-collabsible {
        width: 80%;
        transition: width 500ms ease;
    }

    .setbtn {
        width: 290px;
    }

    td.aumentadim {
        font-size: 0.8rem;
    }

    td {
        font-size: 0.87rem;
    }

    .fastlink {
        width: 100px;
        font-size: 15px;
    }

    .grid-container {
        display: grid;
        grid-template-columns: auto auto auto auto auto auto;
    }

    .grid-containerjhd {
        grid-template-columns: auto auto auto auto auto auto;
    }

    .grid-containermini {
        grid-template-columns: auto auto;
    }

    .goTop {
        right: 15px;
    }

    button.news {
        width: 110px;
        height: 40px;
        font-size: 20px;
    }

    button.options {
        width: 60px;
    }

    container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row-reverse;
        margin-bottom: 20px;
    }

    .flex-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .setbtn {
        width: 200px;
        height: 100px;
        font-size: 1.3rem;
    }

    footer {
        width: 90%;
    }

    footer p {
        font-size: 1rem;
        margin: 2px;
    }

    footer a {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 1280px) {
    .aumentadim {
        font-size: 17px;
    }

    /** CARATTERISTICHE BUTTON DOCUMENTI */
    /*button.options {
        
    }*/

    .wrap-collabsible {
        width: 95%;
        margin: 0 0 15 0;
    }

    .grid-container {
        display: grid;
        grid-template-columns: auto auto auto auto auto;
    }

    .grid-containermini {
        display: grid;
        grid-template-columns: auto auto auto auto auto;
    }

    .grid-container {
        display: grid;
        grid-template-columns: auto auto auto auto auto;
    }

    .grid-containerjhd {
        grid-template-columns: auto auto auto auto auto;
    }
}

.goback {
    font-size: 40px;
    background-color: transparent;
    color: #FFFFFF;
    border: none;
    display: inline;
    transition: color 300ms ease;
}

#iaus {
    position: relative;
    left: -80px;
    font-size: 40px;
    color: rgb(0, 18, 180);
    opacity: 0;
}

.goback:hover i {
    cursor: pointer;
    color: rgb(0, 18, 180);
    animation: 950ms gobackanim infinite;
}

@keyframes gobackanim {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(-20px);
        opacity: 1;
    }
}

span {
    position: absolute;
    margin-top: -15px;
    margin-left: -75px;
    opacity: 0;
    color: rgb(0, 18, 180);
    transition: opacity 300ms ease;
}

.goback:hover ~ span {
    opacity: 1;
}

span ~ h1 {
    letter-spacing: 2px;
}

p {
    margin-left: 10px;
    margin-right: 10px;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

a {
    font-size: 1.1rem;
    text-decoration: none;
    color: #000000;
}

.support-email, .support-email a, .support-tel, .support-tel a {
    transition: all 300ms ease;
    cursor: pointer;
}

.support-tel:hover, .support-tel:hover a {
    color: lime;
}

.support-email:hover, .support-email:hover a {
    color: rgb(0, 110, 255);
}

.support-email:hover i {
    animation: 550ms bounce forwards;
}

.support-tel:hover i.fa-phone {
    animation: 500ms rotationbounce forwards;
}

@keyframes bounce {
    25% {
        transform: translateY(-20px);
    }

    50% {
        transform: translateY(0px);
    }

    75% {
        transform: translateY(-5px);
    }
}

@keyframes rotationbounce {
    25% {
        transform: rotateZ(50deg);
    }

    50% {
        transform: rotateZ(0deg);
    }

    75% {
        transform: rotateZ(25deg);
    }
}

.copy {
    cursor: pointer;
}

/*** CARICAMENTO LOGHI **/

.setbtnmarca img {
    animation: 400ms loadimg forwards;
}

@keyframes loadimg {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/** LOADER */
/*#brands {
    display: none;
} */

#loading {
    background-color: rgba(0, 0, 0, 0.64);
    display: flex;
    place-items: center;
    place-content: center;
    height: 100vh;
    text-align: center;
    margin: 0;
    padding: 0;
}

.loader {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 15rem;
    height: 15rem;
    color: rgba(0, 190, 255);
    z-index: 999;
    opacity: 1 !important;
}

.loader:before,
.loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}

.loader:after {
    color: #FF3D00;
    transform: rotateY(70deg);
    animation-delay: .4s;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {
    0%,
    100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }
    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }
    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}

/* NUOVA IMPOSTAZIONE */
.categorieveicoli {
    position: relative;
    /*top: 100px;*/
    /*top: 30px; */
    text-align: center;
}

.camion {
    margin-right: 50px;
}

.container {
    margin-top: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 200px;
}

.first-container, .mcu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #7c7b7b;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.226);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.7px);
    -webkit-backdrop-filter: blur(7.7px);
    background: rgba(255, 255, 255, 0.226);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.7px);
    -webkit-backdrop-filter: blur(7.7px);
}

.first-container {
    position: relative;
    right: -70px;
    top: 10px;
    width: calc(31% + 12px);
    padding-bottom: 80px;
}

.second-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    right: 70px;
    width: calc(32% + 20px);
}

.mcu-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.mcu {
    position: relative;
    left: 4%;
}

#mcu-text {
    width: 40%;
}

@media only screen and (max-width: 1400px) {
    .container {
        flex-direction: column;
    }

    .first-container {
        width: 80% !important;
        position: relative;
        top: 30px;
        left: 0px;
    }

    .second-container {
        flex-direction: column-reverse;
        width: 80% !important;
        position: relative;
        top: -200px;
        left: 10px;
    }

    .mcu {
        position: relative;
        top: 0px;
    }

    .mcu-container {
        position: relative;
        top: 40px;
        right: 10px;
    }
}

/** MEDIA SCREEN MOBILE */
@media only screen and (max-width: 820px) {
    body {
        background-image: linear-gradient(to right, rgb(0, 225, 255) 5%, rgb(255, 97, 97));
        background-position: 0% 50%;
    }

	.listaveicoli {
		margin-right: 10px;
		margin-left: 10px;
	}

    #advertisement-span {
        color: #000000; 
        font-size: 18px;
        opacity: 1; 
        font-weight: 600; 
        margin-right: 5px;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-media {
        position: sticky;
        float: right;
        display: flex;
        margin-bottom: 20px;
    }

    .support-email p {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 5px;
    }

    i, a {
        margin: 0;
        padding: 0;
    }

    .support-email {
        position: relative;
        left: 120px;
    }

    .support-tel {
        position: relative;
        display: block;
        left: 130px;
        bottom: 20px;
    }

    .support-tel ~ div {
        position: relative;
        left: 120px;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
	    font-size: 12px;
        left: -100px;
    }

    p#version {
        display: none;
    }

    p#copy-par {
	font-size: 10px !important;
    }

    label#divecu, label#divtcu {
        font-size: 25px !important;
    }

    container {
        display: flex;
        flex-direction: column;
        flex-flow: wrap-reverse;
    }

    .setlogolandini {
        position: relative;
        left: 0px;
    }

    span.loader {
        position: relative;
        left: 40px;
        width: 12rem;
        height: 12rem;
    }

    .grid-container-models {
        grid-template-columns: auto auto;
        position: relative;
        left: 20px;
    }

    .grid-container {
        grid-template-columns: auto auto;
    }

    table {
        margin: 0;
    }

    div.content-inner, div.content-innerinto {
        padding: 0;
        overflow-x: scroll;
    }

    button.options {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .fastlink {
        outline: none;
    }

    div.collapsible-content div.wrap-collabsible {
        width: 100% !important;
    }

    .content-inner {
        padding: .5rem !important;
    }

    span.backtitle ~ h1 {
        font-size: 2.2rem;
    }

    container {
        margin-left: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    button.tcu {
        margin-bottom: 10px;
    }

    flexbox ~ div[align="center"] {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    div.flex-container ~ div[align="center"] {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
    }

    flexbox ~ div[align="center"] button {
        width: 12rem;
        padding: 0 .5rem; 
    }

    flexmodels {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: -40px;
    }

    input[type="text"] {
        width: 150px;
    }

    .options {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 12px;
    }

    .camion {
        margin-right: auto !important;
    }
}

/*MENU PAGINE*/
ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50%;
    padding: 0;
}

ul > li {
    cursor: pointer;
    list-style: none;
    text-align: center;
}

li:not(:nth-child(7), :last-child) {
    width: 125px;
    padding: 10px;
    background: #FFFFFF;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.521);
    color: #000000;
    text-align: center;
    border-radius: 16px;
    font-size: 20px;
    transition: all 500ms ease;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

li:not(:last-child):hover {
    border-top: 2px solid rgb(0, 190, 255);
    border-bottom: 2px solid #FF0000;
}

span.menu-voice {
    position: unset;
    margin-top: unset;
    margin-left: unset;
    opacity: 1;
    color: #000000;
}

span.plug-diagnose {
    font-size: 18px;
}

div.menu {
    margin: 0;
    padding: 20px;
    position: fixed;
    top: 0;
    left: -200px;
    height: 100%;
    border-right: 1px solid #000000;
    background: rgba(22, 22, 22, 0.42);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11.8px);
    -webkit-backdrop-filter: blur(11.8px);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 300ms ease;
    z-index: 99999999;
}

div.menu.open {
    left: 0;
}

div.menuButton {
    cursor: pointer;
    position: fixed;
    top: 4%;
    left: 30px;
    transition: all 300ms ease;
    width: 30px;
    height: 30px;
    padding: 10px;
    background: #13a4dd;
    border-radius: 50%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(185, 185, 185, 0.3);
    z-index: 99999999;
}

div.menuButton.open {
    left: 200px;
}

div.menuButton > span.menuLine {
    cursor: pointer;
    position: fixed;
    top: 14px;
    right: 10px;
    opacity: 1 !important; 
    background-color: #FFFFFF;
    width: 30px;
    height: 2px;
    margin: 0;
    padding: 0;
}

div.menuButton:hover {
    background-color: #0c5470;
}

div.menuButton:hover > span.menuLine {
    background: #FFFFFF;
}

div.menuButton > span.menuLine:nth-child(1) {
    transition: all 300ms ease;
}

div.menuButton > span.menuLine:nth-child(2) {
    margin-top: 10px;
    transition: all 300ms ease;
}

div.menuButton > span.menuLine:nth-child(3) {
    margin-top: 20px;
    transition: all 300ms ease;
}

div.menuButton > span.menuLine.open:nth-child(1) {
    transform: rotate(45deg);
    margin-top: 10px;
}

div.menuButton > span.menuLine.open:nth-child(2) {
    width: 0;
}

div.menuButton > span.menuLine.open:nth-child(3) {
    transform: rotate(-45deg);
    margin-top: 10px;
}

div.row-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

div.row {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 10% 90%;
    align-items: center;
    justify-content: center;
    width: 95%;
    height: 10vh;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    transition: all 500ms ease;
}

div.row:nth-child(17) {
    height: 15vh;
}

div.row:hover {
    background-color: #0000ff3b;
    transition: all 300ms ease;
}

div.row:hover letter {
    font-size: 2.5rem;
}

/* div.row:hover letter {
    color: #000000;
} */

div.row letter {
    margin-left: 4%;
    padding: 0;
    opacity: 1;
    color: #FFFFFF;
    text-shadow: 2px 2px 2px #000000;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 300ms ease;
}

div.models {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

div.models button {
    width: 220px;
    height: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-align: center;
    border-radius: 16px;
    border: none;
    box-shadow: 2px 3px 4px #777777;
    cursor: pointer;
    transition: all 300ms ease;
}



div.models button img {
    padding-top: 4px;
    height: 30px;
    padding-right: 10px;
}

button text {
    font-size: 1.2rem;
    text-align: center;
    padding-bottom: 10px;
    position: relative;
    bottom: 8px;
}

button img {
    opacity: 0.8;
}

div.models button:hover {
    background:#0f72d6c0;
    color: #FFFFFF;
    transform: scale(1.07);
}

button:hover img {
    opacity: 1;
}

@media only screen and (max-width: 1902px) {
    div.row {
        grid-template-columns: 100%;
        height: 20vh;
    }

    div.row:nth-child(3), div.row:nth-child(12), div.row:nth-child(17) {
        height: 25vh;
    }
	
	.listaveicoli {
		margin-right: 50px;
		margin-left: 50px;
	}

}


@media only screen and (max-width: 1457px) {
    div.row {
        grid-template-columns: 100%;
        height: 20vh;
    }

    div.row:nth-child(11) {
        height: 25vh;
    }
}

@media only screen and (max-width: 1308px) {
    .camion {
        margin-right: 0px;
    }
}

@media only screen and (max-width: 1254px) {
    .camion {
        margin-right: 0px;
    }

    .categorieveicoli {
        display: grid;
        grid-template-columns: auto auto;
        align-items: center;
        justify-content: center;
    }
}

@media only screen and (max-width: 1211px) {
    div.row {
        grid-template-columns: 100%;
        height: 20vh;
    }

    div.row:nth-child(4) {
        height: 25vh;
    }

    div.row:nth-child(17) {
        height: 35vh;
    }
}

@media only screen and (max-width: 970px) {
    div.row {
        height: 25vh;
    }

    div.row:nth-child(3), div.row:nth-child(12) {
        height: 35vh;
    }

    div.row:nth-child(17) {
        height: 45vh;
    }
}

@media only screen and (max-width: 727px) {
    div.row {
        height: 25vh;
    }

    div.row:nth-child(3), div.row:nth-child(12) {
        height: 40vh;
    }

    div.row:nth-child(4), div.row:nth-child(11) {
        height: 35vh;
    }

    div.row:nth-child(17) {
        height: 50vh;
    }
}