/**
* Template Name: Mamba - v2.5.1
* Template URL: https://bootstrapmade.com/mamba-one-page-bootstrap-template-free/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/


html {
  font-family: sans-serif;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}


body {
  font-family: "Open Sans", sans-serif;
  color: #444;
}



a {
  color: #428bca;
}

a:hover {
  color: #9eccf4;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6, .font-primary {
  font-family: "Raleway", sans-serif;
}

h1, h2, h3, h4, h5, h6{
  color:#666;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: inline/*none*/;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  right: 15px;
  bottom: 100px;
  background: #428bca;
  color: #fff;
  transition: display 0.5s ease-in-out;
  z-index: 99999;
}

.back-to-top i {
  font-size: 24px;
  position: absolute;
  top: 8px;
  left: 8px;
}

.back-to-top:hover {
  color: #fff;
  background: #629fd3;
  transition: 0.2s ease-in-out;
}


/*
@media (min-width: 960px) {
  .back-to-top{
    right: 15px;
    bottom: 15px;
    }
}
*/

/*--------------------------------------------------------------
# Logo
--------------------------------------------------------------*/


.logo {
  padding: 0;
  margin: 0;
  margin-left: 1rem;
  max-height: 55px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/


.navbar-collapse{
  margin-left: 9rem;
}

.navbar-nav, .navbar-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-nav > ul > li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.navbar-nav a {
  display: block;
  position: relative;
  color: #5c768d;
  padding: 12px 15px;
  transition: 0.3s;
  font-size: 1.1rem;
  font-weight: bold; 
  font-family: "Open Sans", sans-serif;
}

.navbar-nav-scroll{
    max-height: 100%;
}

.nav-item a:hover, .nav-item .active > a, .nav-item li.nav-item:hover > a.nav-link:hover {
  color:white;
  background-color: #428bca;
}


a.nav-link:hover {
  background-color: #428bca;
  color:white;
}


.dropdown-item{
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  color:#428bca;
}

a.dropdown-item:hover{
  background-color: #428bca;
  color:white;
}

li.nav-item:hover {
  color:white;
  background-color: #428bca;
}


a.menu-link {
  color:#67839c;
}



@media (max-width: 960px) {
  .navbar-container{
    position:absolute;
    left: 0px;
    top:30px;
    background-color: red;
  }
}

@media (max-width: 960px) {
  .carouseCaptions{
 margin-top: 10rem;
  }
}




/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/

.section {
  padding: 70px 0;
}

.section-bg {
  padding: 70px 0;
  background-color: #f5f9fc;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #666/*#5c768d;*/
}

.section-title p {
  margin-bottom: 0;
}

.section-title p.chi_siamo_h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0px;
  padding-bottom: 0;
  color: #5c768d;
}
/*--------------------------------------------------------------
#  Carousel
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about {
  padding-bottom: 30px;
}

.about .container {
  box-shadow: 0 5px 25px 0 rgba(214, 215, 216, 0.6);
}

.about .video-box img {
  padding: 15px 0;
}

.about .section-title p {
  text-align: left;
  font-style: italic;
  color: #666;
}

.about .about-content {
  /*padding: 40px;*/
  padding-top: 10px;
  padding-left: 40px;
  padding-bottom: 40px;
  padding-right: 40px;
}

.about .icon-box + .icon-box {
  margin-top: 10px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #f1f7fb;
  border-radius: 6px;
  transition: 0.5s;
}

.about .icon-box .icon i {
  color: #428bca;
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: #428bca;
}

.about .icon-box:hover .icon i {
  color: #fff;
}

.about .icon-box .title {
  margin-left: 95px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}

.about .icon-box .title a {
  color: #343a40;
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: #428bca;
}

.about .icon-box .description {
  margin-left: 95px; 
  line-height: 24px;
  font-size: 14px;
}


.about .icon-box .slogan {
  margin-left: 2rem;
  line-height: 24px;
  font-size: 1.2rem;
}


.about .icon-box .cite {
  margin-left: 2rem;
  line-height: 24px;
  font-size: 1rem;
}



.about .video-box {
  position: relative;
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#428bca 50%, rgba(66, 139, 202, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(66, 139, 202, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:hover::after {
  border-left: 15px solid #428bca;
  transform: scale(20);
}

.about .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}



/*--------------------------------------------------------------
# PNEUMATICI 
--------------------------------------------------------------*/
.pneumatici {
  padding-bottom: 30px;
}

.pneumatici .container {
  box-shadow: 0 5px 25px 0 rgba(214, 215, 216, 0.6);
}

.pneumatici .video-box img {
  padding: 15px 0;
}

.pneumatici .section-title p {
  text-align: left;
  font-style: italic;
  color: #666;
}

.pneumatici .pneumatici-content {
  /*padding: 40px;*/
  padding-top: 10px;
  padding-left: 40px;
  padding-bottom: 40px;
  padding-right: 40px;
}

.pneumatici .icon-box + .icon-box {
  margin-top: 10px;
}

.pneumatici .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #f1f7fb;
  border-radius: 6px;
  transition: 0.5s;
}

.pneumatici .icon-box .icon i {
  color: #428bca;
  font-size: 32px;
}

.pneumatici .icon-box:hover .icon {
  background: #428bca;
}

.pneumatici .icon-box:hover .icon i {
  color: #fff;
}

.pneumatici .icon-box .title {
  margin-left: 95px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}

.pneumatici .icon-box .title a {
  color: #343a40;
  transition: 0.3s;
}

.pneumatici .icon-box .title a:hover {
  color: #428bca;
}

.pneumatici .icon-box .description {
  margin-left: 95px; 
  line-height: 24px;
  font-size: 14px;
}


.pneumatici .icon-box .slogan {
  margin-left: 2rem;
  line-height: 24px;
  font-size: 1.2rem;
}


.pneumatici .icon-box .cite {
  margin-left: 2rem;
  line-height: 24px;
  font-size: 1rem;
}



.pneumatici .video-box {
  position: relative;
}

.pneumatici .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#428bca 50%, rgba(66, 139, 202, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.pneumatici .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pneumatici .play-btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(66, 139, 202, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pneumatici .play-btn:hover::after {
  border-left: 15px solid #428bca;
  transform: scale(20);
}

.pneumatici .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}



 .info-box-pneumatici {
  color: #444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
  margin-bottom: 30px;
  width: 100%;
}

.pneumatici-h3 {
  font-size: 32px;
  color: #428bca;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #9eccf4;
}

.pneumatici-p {
  font-size: 20px;
  color: #666;
  font-weight: 700;
  margin: 10px 0;
}

.pneumatici-img {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color:#444;
}

.pneumatici-image-box-img{
  padding: 40px;
  margin: -1px;
}


.btn-link{
  /*color:black;*/
  color:#666;
  font-weight: bold;
}

.btn.focus, .btn:focus {
  box-shadow: 0 0 0 0.2rem #428bca;
}








.motorcraft-img{
  margin-top: 4rem;
  width: 12rem;
  height: auto;
}




.ford-quattro{
  margin-top: 3rem;
}


@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*-------------------------------------------------------------
# Officina
-------------------------------------------------------------*/

.officina-card-desc{
  position:absolute; 
  margin-top: -10rem;
  margin-left: 8rem;
  color:white;
  font-weight: bold;
  font-size: 2.5rem;
}

.officina-card-desc-ca{
  position:absolute; 
  margin-top: -10rem;
  margin-left: 4rem;
  color:white;
  font-weight: bold;
  font-size: 2.5rem;

}

.officina-title{
  margin-top: 2rem;
}

.img-thumbnail{
  opacity: 0.8;
}



/*--------------------------------------------------------------
# About Lists
--------------------------------------------------------------*/
.about-lists {
  padding: 40px;
}

.about-lists .row {
  overflow: hidden;
}

.about-lists .content-item {
  padding: 40px;
  border-left: 1px solid #d9e8f4;
  border-bottom: 1px solid #d9e8f4;
  margin: -1px;
}

.content-item {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: .25rem;
  margin-left: 2rem;
  margin-top: 2rem;
}

.about-lists .content-item span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: #9eccf4;
}

.about-lists .content-item h4 {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  padding: 0;
  margin: 10px 0;
}

.about-lists .content-item p {
  font-size: 15px;
  margin: 0;
  padding: 0;
}


.about-lists .content-item span {
 text-align: center;
}


/*
@media (max-width: 768px) {
  .about-lists .content-item {
    padding: 40px 0;
  }
}
*/


@media (max-width:960px){

  .about-lists  .content-item{
  padding: .25rem;
  margin-top: 2rem;
  background-color: #fff;
  border: 3px solid #dee2e6;
  border-radius: .25rem;
  }

  .motorcraft-image-box-img{
    margin-left:1.5rem;
  }

  .about-lists .content-item h4 {
    margin-top: -3rem;
  }

  /*
  .about-lists .content-item span {
    margin-top: -1rem;
  }*/


}




/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding-bottom: 30px;
}

.counts .count-box {
  box-shadow: 0px 0 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  background: #fff;
  margin-bottom: 30px;
}

.counts .count-box i {
  display: block;
  font-size: 64px;
  margin-bottom: 15px;
}

.counts .count-box span {
  font-size: 42px;
  display: block;
  font-weight: 700;
  color: #1c5c93;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
  padding-bottom: 30px;
}

.usato-box{
  margin-bottom: 3rem;
}


.usati-title-caption{
  margin-top: 2rem;
  text-align: center;
}


.services .icon-box {
  margin-bottom: 20px;
  text-align: center;
}

.services .icon {
  display: flex;
  justify-content: center;
}

.services .icon i {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 50%;
  transition: 0.5s;
  color: #428bca;
  font-size: 40px;
  overflow: hidden;
  padding-top: 20px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
}

.services .icon-box:hover .icon i {
  box-shadow: 0px 0 30px rgba(66, 139, 202, 0.5);
}

.services .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
}

.services .title a {
  color: #444;
  transition: 0.3s;
}

.services .title a:hover {
  color: #428bca;
}

.services .title::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #428bca;
  bottom: 0;
  left: calc(50% - 25px);
}

.services .description {
  line-height: 24px;
  /*font-size: 14px;*/
}

.card-img-top{
  height: auto;
  width: auto;
}

.card{
  border: 1px solid #428bca;
}

.riga{
  margin-top: 2rem;
}

h5.card-title-veicolo{
  font-family: "Raleway", sans-serif;
  /*font-size: 1.2rem;*/
  font-weight: bold;
}

p.card-text-anno{
  font-family: "Raleway", sans-serif;
  /*font-size: 1.1rem;*/
  margin-bottom: 0px;
}

span.card-veicoli-anno-bold{
  font-weight: bold;
}

p.card-text-prezzo{
  font-family: "Raleway", sans-serif;
  /*font-size: 1.1rem;*/
  margin-bottom: 1rem;
}

span.card-veicoli-prezzo-bold{
  font-weight: bold;
}

.card-veicoli-link-dett{
  /*color:black;
  font-weight: bold;*/
  /*color:white;*/

  font-weight: bold;
  text-decoration: underline;
}


/*-------------------------------------------------------------
# Ricambi
--------------------------------------------------------------*/


.ricambi-box{
  margin-bottom: 3rem;
}


.ricambi-title-caption{
  margin-top: 2rem;
  text-align: center;
}



h5.card-title-ricambi{
  font-family: "Raleway", sans-serif;
  /*font-size: 1.2rem;*/
  font-weight: bold;
}


span.card-ricambi-prezzo-bold{
  font-weight: bold;
}

a.card-ricambi-link-dett:link, 
a.card-ricambi-link-dett:visited, 
a.card-ricambi-link-dett:hover, 
a.card-ricambi-link-dett:active{
   font-weight: bold;
   text-decoration: underline;
}

span.card-ricambi-anno-bold{
  font-weight: bold;
}

.img-ricambi-dett{
  max-width: 60%;
 }

/*--------------------------------------------------------------
# Nuovi
--------------------------------------------------------------*/

.portfolio-title-caption{
  margin-top: 2rem;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 0 35px 0;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  margin: 0 15px 15px 0;
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 20px;
  color: #444;
  border-radius: 4px;
  text-transform: uppercase;
  background: #fff;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  background: #428bca;
  color: #fff;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-wrap img {
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.3s;
  text-align: center;
/*  background: rgba(31, 53, 72, 0.6);*/
  background: rgba(66, 139, 202, 0.9);

  padding-bottom: 30px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}


/*****************************************************/


.portfolio .portfolio-wrap .portfolio-img-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* opacity: 0;*/
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.3s;
  text-align: center;
  /*background: rgba(31, 53, 72, 0.6);*/
  padding-bottom: 30px;
}

/*
.portfolio .portfolio-wrap .portfolio-img-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}
*/

.portfolio .portfolio-wrap .portfolio-img-info p.portfolio-info-scritta {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
}


/*****************************************************/





.portfolio .portfolio-wrap .portfolio-info a {
  color: #428bca;
  margin: 0 4px;
  font-size: 18px;
  line-height: 1;
  background-color: #fff;
  padding-top: 7px;
  border-radius: 50px;
  text-align: center;
  width: 36px;
  height: 35px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info a:hover {
  background: #428bca;
  color: #fff;
}

.portfolio .portfolio-wrap:hover {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.16);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
  padding-bottom: 0;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.1);
}



/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 30px;
}

.portfolio-details .portfolio-details-container {
  position: relative;
}

.portfolio-details .portfolio-details-carousel {
  position: relative;
  z-index: 1;
}

.portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: left;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 10px 0 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #428bca !important;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  position: absolute;
  right: 0;
  bottom: -70px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 50px;
}

.portfolio-details .portfolio-description h2 {
  width: 50%;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0 0 0 0;
}

@media (max-width: 768px) {
  .portfolio-details .portfolio-description h2 {
    width: 100%;
  }
  .portfolio-details .portfolio-info {
    position: static;
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Ford service
--------------------------------------------------------------*/
.team {
  background: #fff;
  padding: 60px 0 30px 0;
}

.team .member {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.team .member .pic {
  border-radius: 4px;
  overflow: hidden;
}

.team .member img {
  transition: all ease-in-out 0.4s;
}

.team .member:hover img {
  transform: scale(1.1);
}

.team .member .member-info {
  position: absolute;
  bottom: -48px;
  left: 20px;
  right: 20px;
  background: linear-gradient(360deg, #5c768d 0%, rgba(92, 118, 141, 0.9) 35%, rgba(140, 167, 191, 0.8) 100%);
  padding: 15px 0;
  border-radius: 4px;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #fff;
  bottom: 0;
  left: calc(50% - 25px);
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: #fff;
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: #fff;
}

.team .member .social a:hover {
  color: #9eccf4;
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

.ford-service{
  margin-top: 2rem;
}

.ford-service-title{
  margin-top: 4rem;
}


/****************************************************/

.flip-boxes {
  justify-content: center;
  margin-left: 1.4rem;
  margin-right: 1.4rem;
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}





.flip-box {
  display: flex;
  align-content: stretch;
  min-height: 200px;
  flex-wrap: wrap;
  position: relative;
  border: 5px solid transparent;
  padding:0;
  border-top: 0;  
  -webkit-perspective: 1000;
          perspective: 1000;

}


.flip-card {
  background-color: transparent;
  /*
  width: 25rem;
  height: 25rem;
  */
  width: 100%;
  height: 400px;
  perspective: 1000px;
  margin-top: 1rem; 
}



.flip-card-inner {
  position: relative;
  margin-left: 8rem;
  /*
  width: 25rem;
  height: 25rem;
  */
  width: 100%;
  height: 400px;
  
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  /*width: 25rem;
  height: 25rem;
  */
  width: 100%;
  height: 400px;

  -webkit-backface-visibility: hidden; 
  backface-visibility: hidden;
  background-color: #ffffff;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


.flip-card-front {
  background-color: dodgerblue;/* #bbb;*/
  color: black;
  text-align: center;
  border: 1px solid #f1f1f1;
}


.flip-card-back {
  background-color: dodgerblue;
  border: 1px solid #f1f1f1;
  color: white;
  height: 100%;
  transform: rotateY(180deg);
}


.flip-img{
width: 100%;
height: 400px;
object-fit: cover;
object-position: bottom;
opacity: .8;
}


.flip-card-front-text, .flip-card-front-text_pick{
  position:absolute;
  margin-top:-10rem;
  margin-left: 5rem;
  color:white;
  font-weight: bold;
}


.flip-card-back-text-title{
  color:white;
  font-weight: bold;
  margin-top: 2rem;
}

.flip-card-front-text_pick{
  margin-left: 3rem;
  margin-left: 3rem;
}

.flip-card-back-text-desc{
  padding-left: 1rem;
  padding-right: 1rem;
}



@media (max-width: 992px) {
  .flip-card-front-text {
    margin-left: 4rem;
  }

  .flip-card-inner{
    margin-left: 0px;
  }
}



.button-text-center{
  background: #428bca;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}


/****************************************************/




@media (max-width: 992px) {
  .team .member {
    margin-bottom: 100px;
  }
}


/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq {
  padding-bottom: 30px;
}

.faq .faq-item {
  margin-bottom: 40px;
}

.faq .faq-item h4 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1f3548;
}

/*--------------------------------------------------------------
# Dettaglio macchina
--------------------------------------------------------------*/


#exTab1 .tab-content {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}

#exTab2 h3 {
  color : white;
  background-color: #428bca;
  padding : 5px 15px;
}

/* remove border radius for the tab */

#exTab1 .nav-pills > li > a {
  border-radius: 0;
}

/* change border radius for the tab , apply corners on top*/

#exTab3 .nav-pills > li > a {
  border-radius: 4px 4px 0 0 ;
}

#exTab3 .tab-content {
  color : white;
  background-color:/* #428bca;*/ #007bff;
  padding : 5px 15px;
}


.veicolo-usato-dettaglio-ul-inner{
  list-style-type: none;
}

.veicolo-usato-dettaglio-li{
  margin-bottom: .5rem;
}



.veicolo-usato-dettaglio-ul-inner > .veicolo-usato-dettaglio::before {
  content: "--";
}

span.veicolo-usato-dettaglio{
  font-weight: bold;
}

.veicolo-usato-dettaglio-chiaro{
  color:rgb(196, 189, 189);
}


.veicoli-vendita-usato{
  margin-left: 2rem;
}

.card-header-usato{
  font-weight: bold;
  color:black;
  text-align: center;
}

.veicoli-vendita-dettagli{
  color:black;
  background-color:rgba(214, 215, 216, 0.6);
}


.veicoli-vendita-img{
  height: 3rem;
  width: auto;
}


.dettagli_usato{
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
 /* margin-bottom: 2rem;*/
}

.dettagli_usato_card{
  margin-top: 2rem;
  margin-bottom: 2rem;
}


@media (max-width: 992px) {
  .veicoli-vendita-usato{
    margin-left: 0px;
  }
  
}


/*--------------------------------------------------------------
# Contact Us
--------------------------------------------------------------*/

.contatti-title{
  margin-top: 2rem;
}


.contact .info-box {
  color: #444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
  margin-bottom: 30px;
  width: 100%;
}

.contact .info-box i {
  font-size: 32px;
  color: #428bca;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #9eccf4;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #666;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color:#444;
}

.contact .email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
}

.contact .email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .email-form .error-message br + br {
  margin-top: 25px;
}

.contact .email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .email-form input, .contact .email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .email-form input:focus, .contact .email-form textarea:focus {
  background-color: #428bca;
  background-color: white;
  border-color: #428bca;
}


.message_contact_err{
  border-color: red;
  border-style: solid;
  border-width: 3px;
}


.subject_contact_err{
  border-color: red;
  border-style: solid;
  border-width: 3px;
}

.email_contact_err{
  border-color: red;
  border-style: solid;
  border-width: 3px;
}

.name_contact_err{
  border-color: red;
  border-style: solid;
  border-width: 3px;
}





.contact .email-form input {
  padding: 20px 15px;
}

.contact .email-form textarea {
  padding: 12px 15px;
}

.contact .email-form button[type="submit"] {
  background: #428bca;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}





.contact .email-form button[type="submit"]:disabled {
  cursor:not-allowed;
}


@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#footer {
  background: #587187;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #5c768d;
  border-top: 1px solid #768fa6;
  border-bottom: 1px solid #67839c;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

.footer-info-h3{
  color:white;
}

.footer-info-h2{
  font-size: 18px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  color:white;
}



.footer-info-link{
  color:white;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #768fa6;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #428bca;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #9eccf4;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
  font-weight: bold;
}

#footer .footer-top .footer-links ul a:hover {
  color: #9eccf4;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #428bca;
  color: #fff;
  transition: 0.3s;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #5295ce;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

#footer .credits a {
  color: #9eccf4;
}



/***************************************/
/*****                            ******/
/***************************************/

#container_carousel{
  padding-left: 2px;
  padding-right: 2px;  
  padding-top: 2px;
  padding-bottom: 2px;

  border: 1px solid #428bca; 
  border-radius: .25rem;
}

.ricambi-box-venduto{
  background-color: #8eaece ;
  opacity:0.5;
}

.ricambi-text-block {
  position: absolute;
  top: 2rem;
  left: 4rem;
  background-color: black;
  color: white;
  font-weight: bold ;
  padding-left: 20px;
  padding-right: 20px;
  opacity:0.5;
}


.ricambi-text-block h4{
  color: white;
  font-weight: bold ;
  text-align: center;
}

.ricambi-text-block p{
  color: white;
  font-weight: bold ;
  text-align: center;
}


.btn-contattaci{
  background-color:  #428bca;
  font-weight: bold;
  color:white;
}



/*******************************/
/**** Offerte ******************/
/*******************************/

#offerte{
  background-color: #f5f9fc;
}

.offerte_descrizione{
  border-left:1px  dotted #428bca; 
}

.offerte-title-caption{
  margin-top: 2rem;
  padding-top:2rem;
  text-align: center;
}


.splide__slide{
  padding-left: 6rem;
  padding-right: 6rem;
  padding-bottom: 6rem;
  

  display: flex;
  /**justify-content: center;*/
  justify-content: space-between;
  background: #ECF0F1 ;

}

.splide__slide__container{
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: row;
  border:1px solid #428bca;
  border-radius: .25rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.slide__content{
margin: 1rem 0;
font-size: 1.3rem;
}

.slide__content_text{
  width: 50%;
  margin: 1rem 0;
  padding-left: .5rem;
  font-size: 1.3rem;
  overflow-wrap: break-word;  
  }


.slide__content_text_header{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color:#666;
  text-align: left;
}


  .slide__content_text_h1{
    display: inline;
    font-size: 1.3rem;
    font-weight: bold;
  }

  .slide__content_text_date{
    display: inline;
    font-size: 1rem;
  }

  .slide__content_text_testo{
    font-size: 1rem;
    text-align: justify;
  }

.slide-img__wrapper{
  display: flex;
  align-items: center;

}

.slide-img{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  max-width: 100%;
  max-height: 100%;
}

.slide-img__caption{
  margin-left: 1rem;
}

.slide-img__caption span{
  color: #2E86C1 ;
  font-weight: 500;
}

 .img-offerte{
  max-width: 60%;
 }

.carousel-img-offerte{
  max-width: 60%;
}


.carousel-caption-offerte {
  position: relative;
  max-width: 60%;
  left: 0;
  top: 0;
}


/**--------------------------------------------*/

.cards-offerte-wrapper {
  display: flex;
  justify-content: center;
}
.card-img-offerte-top img {
  max-width: 80%;
  max-height: 80%;
}
.card-offerte {
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
  border-radius: 0;
}
.carousel-inner {
  padding: 1em;
}
.carousel-control-prev,
.carousel-control-next {
  background-color: #e1e1e1;
  width: 5vh;
  height: 5vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 768px) {
  .card-img-offerte-top img {
    height: 11em;
  }
}




.dettagli_offerte{
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
 /* margin-bottom: 2rem;*/
}

.dettagli_offerte_card{
  margin-top: 2rem;
  margin-bottom: 2rem;
}






.offerte-text-block {
  position: absolute;
  top: 2rem;
  left: 30rem;
  background-color: black;
  color: white;
  font-weight: bold ;
  padding: 2em;
  opacity:0.5;
}


.offerte-text-block h4{
  color: white;
  font-weight: bold ;
  text-align: center;
}

.offerte-text-block p{
  color: white;
  font-weight: bold ;
  text-align: center;
}



.card-text-data-inserimento-offerta{
  font-size: small;
}


.card-offerte{
  border-style: none;
  margin-top: 0em;
}
