.nav-link:hover {
    color: #f1f1f1!important;
    text-decoration: underline!important;
}

.header-text-top {
    font-size: 1.3em;
}
.veicolo-section {
    display: flex;
}

.text-section {
    margin-left: 10px;
}

.text-section p {
    color: #525252;
}

.risparmi-veicoli-group {
    padding: 0 3.5rem;
}

.box-group {
    display: flex;
    background: #f7f7f7;
}
.box-left {
    width: 50%;
    height: auto;
}

.box-right {
    width: 50%;
    height: 380px;
    display: flex;
}

.box-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-box {
    padding: 3.5rem;
}

.text-box h1 {
    font-size: 35px;
}

.border-right {
    background-color: #fc4f1a; /* For browsers that do not support gradients */
    background-image: linear-gradient(90deg, #fc4f1a, #d83200); /* Standard syntax (must be last) */
    padding: 1.5rem;
}

.border-bottom-text {
    background: #fc4f1a;
    padding: .3rem;
    width: 20%;

}

.line-orange {
    width: 100%;
    height: 4px;
    background: #fc4f1a;
}

.items-boxes {
    display: flex;
    justify-content: space-around;
}

.items-group {
    flex: 0 0 35%;
    max-width: 35%;
}

.items-group-fiat {
    flex: 0 0 55%;
    max-width: 55%;
}

.diconodinoi {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.form-grey {
    background: #f1f1f1;
}

.dicono-items {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*DUCATO CARD*/

.card-ducato {
    background-color: #ffffff !important;
    padding: 10px;
    -webkit-box-shadow: 5px 10px 18px #888888;
    box-shadow: 5px 10px 18px #888888;
    margin: auto
}

.flex-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 1rem;
}

.vertical {
    display: flex;
}

.text-header {
    display: flex;
    /*justify-content: center;*/
}

.user-raiting {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
}

.order-2{
    justify-content: flex-end;
}

/*BOX DUCATO*/
.content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cart {
    margin-bottom: auto;
}

.pagamenti {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.serbatoio_pieno {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.ritiro_serbatoio {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

footer {
    background-color: #fc4f1a; /* For browsers that do not support gradients */
    background-image: linear-gradient(90deg, #fc4f1a, #d83200); /* Standard syntax (must be last) */
    color: #fff;
}

.border-bottom-text {
    margin-bottom: 3rem;
}

.veicoli_comerciali {
    font-size : 1.2em;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 600px){
    .risparmi-veicoli-group {
        padding: 2.5rem;
    }

    .order-2{
        justify-content: center;
    }

}

/* Mobile */

@media (max-width: 768px){
    /*.box-group {
        flex-direction: column;
    }*/
    .header-text-top {
        font-size: 16px;
    }

    .text-box {
        padding: .5rem;
    }

    .text-box h1 {
        font-size: 20px;
        padding-top: 15px;
    }

    .text-box p {
        font-size: 14px;
        /*text-align: justify;*/
    }

    .box-left,
    .box-right {
        width: 100%;
    }

    .box-right {
        height: auto;
        align-items: center;
    }

    .box-right img {
        height: 50%;
    }

    .border-bottom-text {
        margin-bottom: 1rem;
    }

    .hide-mobile {
        display: none;
    }

    .items-boxes {
        flex-direction: column;
    }
    .items-group,
    .items-group-fiat {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .dicono-items {
        flex-direction: column;
    }

    .btn-sm {
        padding: 0.1rem 0.25rem;
    }

    .horizontal {
        margin-bottom: 0px!important;
    }

    .veicoli_comerciali {
        margin-bottom: .5rem;
    }
}

/*Desktop*/
@media (min-width: 768px){

    .col-offer {
        font-size: 12px;
    }

    .hide-desktop {
        display: none;
    }

    .horizontal {
        margin-bottom: -40px !important;
    }
}


/*Menu*/
#menuToggle {
  display: block;
  position: absolute;
  top: 50px;
  right: 20px;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #000;
  border-radius: 6px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #fc4f1a;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 0;
  padding: 50px;
  padding-top: 125px;
  right: -20px;

  background: #343434;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(100%, 0);

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

#menu a {
    color: #fc4f1a;
}

#menu a:hover {
    text-decoration: none;
    color: #bb3b14;
}

/*
 * And let's fade it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: scale(1.0, 1.0);
  opacity: 1;
}

/*IMAGE HOVER */
img:hover{
    cursor: pointer;
}

/*Light effect*/
.opacity-light img:hover{
    opacity: 0.75;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

/*BACKGROUND GRADIENT*/

#gradient2 {
    background-color: #fc4f1a; /* For browsers that do not support gradients */
    background-image: linear-gradient(90deg, #fc4f1a, #d83200); /* Standard syntax (must be last) */
}

/* Box background color style */
.box {
    right: 0; left: 0;
    bottom: 0; top: 0;
    margin: auto;
    width: 100%;
    width: 100%;
    background: #f4f4f4;
    transition: 1s;
    -o-transition: 1s;
    -moz-transition: 1s;
    -webkit-transition: 1s;
  }

.js-box {
    background: #fc4f1a;
    color: white;
    transition: 1s;
    -o-transition: 1s;
    -moz-transition: 1s;
    -webkit-transition: 1s;
}

.box:hover h1 .line-color,
.box:hover h1 .line-color-right,
.box2:hover h1 .line-color-right,
.box2:hover h1 .line-color,
.box3:hover h1 .line-color {
    display: inline-block;
    color: #fff;
    text-decoration: none;
}

.box:hover .line-color::after,
.box:hover .line-color-right::after,
.box2:hover .line-color-right::after,
.box2:hover .line-color::after,
.box3:hover .line-color::after {
    content: '';
    display: block;
    width: 100%;
    height: 10px;
    background: #fff;
    transition: width .3s;
    margin-top: 1.5rem;
}

/*LINE COLOR*/
.line-color {
    display: inline-block;
    color: #fc4f1a;
    text-decoration: none;
}

.line-color::after {
    content: '';
    display: block;
    width: 20%;
    height: 10px;
    background: #fc4f1a;
    transition: width .3s;
    margin-top: 1.5rem;
}



.line-color:hover::after {
    width: 100%;
    transition: width .3s;
    background: #fff;
}

/**/
.line-color-right {
    display: inline-block;
    color: #fc4f1a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.line-color-right::after {
    content: '';
    display: block;
    width: 20%;
    height: 10px;
    background: #fc4f1a;
    transition: width .3s;
    margin-top: 1.5rem;
}

.line-color-right:hover::after {
    width: 100%;
    transition: width .3s;
    background: #fff;
}

.hui_logo_wrapper {display:inline-block;width:30px;margin:15px 3px;background-color:#ffffff;height:30px;border-radius:100%;-moz-border-radius:100%;-webkit-border-radius:100%;}
.hui_logo {height:16px;}
.hui_logo path {fill:#fc4f1a}
