@charset "UTF-8";

@font-face {
  font-family: 'Poppins', sans-serif;
  font-display: optional;
}
/* CSS Document */
.navbar-expand-lg .navbar-nav .nav-link {
  border-right: 1px solid #525252;
  border-right: 1px solid #525252;
  text-align: center;
  padding-left: 5rem;
  padding-right: 5rem;
  font-family: 'Poppins', sans-serif;
  color: #9c9c9c;
}

.bg-light {
  background-color: #303030 !important;
}

.mininav {
  padding-top: 0px;
  margin-bottom: 0px;
  color: #f4f4f4;
  text-align: right;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: .5rem 0;
  margin: 12px 0px;
  font-size: 1rem;
  color: #f4f4f4;
  text-align: left;
  list-style: none;
  background-color: #cd3232;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 0px;
  width: 100%;
  text-align: center;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 16px;
  clear: both;
  font-weight: 400;
  color: #f4f4f4;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #16181b;
  text-decoration: none;
  background-color: #b03737;
}

.mini-navbar {
  background-color: #cd3232 !important;
  padding-top: 0px;
  padding-bottom: 2px;
  margin-bottom: 0px;
  color: #fff;
  text-align: right;
  border: 0px;
}

.mininav {
  padding-top: 2px;
  margin-bottom: 0px;
  color: #fff;
  text-align: right;
  border: 0px;
}

.nav-link2 {
  border-right: none;
  border-right: none;
  text-align: center;
  padding-right: 2rem;
  font-family: 'Poppins', sans-serif;
}

.navbar-nav2 {
  display: inline-flex;
}

a:hover {
  color: #5b1717;
  text-decoration: none;
}
}

hr {
  margin: 0px;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 75px;
  color: #cd3232;
  line-height: 70px;
  text-transform: uppercase;
}

.img-servizi {
  margin-top: 60px;
}

.nopadding {
  padding: 0px;
  margin: 0px;
}

.titolosezioni {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-weight: 200px;
  margin-top: 10px;
}

.titolosezioninoleggio {
  font-family: 'Poppins', sans-serif;
  font-size: 70px;
  padding-bottom: 20px;
  font-weight: 200px;
  margin-top: 60px;
  text-align: left;
  line-height: 60px;
  color: #dadada;
}

.titolosezionevetrina {
  font-family: 'Poppins', sans-serif;
  font-size: 70px;
  padding-bottom: 20px;
  font-weight: 200px;
  margin-top: 60px;
  text-align: right;
  line-height: 60px;
  color: #732929;
}

.titoloservizi {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  padding-top: 20px;
  padding-bottom: 10px;
  text-align: center;
  color: #d7d7d7;
  font-weight: 100px;
  line-height: 20px;
}

.titolovetrina {
  font-family: 'Poppins', sans-serif;
  font-size: 130px;
  padding-top: 43px;
  padding-bottom: 33px;
  font-weight: 100px;
  line-height: 20px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.txtcontatti {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  color: #d1d1d1;
}

.boxcontatti {
  margin-top: 40px;
  margin-left: 40px;
}

.mappa {
  width: -webkit-fill-available;
}

.imgGallery {
  width: -webkit-fill-available;
  background-color: #da1717;
  opacity: 0.4;
  filter: grayscale(100%);
}

.imgGallery:hover {
  width: -webkit-fill-available;
  opacity: 1;
  background-color: #da1717;
  transition-duration: 2s;
  transition: all 1s;
  filter: grayscale(0%);
}

.noleggio1 {
  background-color: #282727
}

.noleggio1:hover {
  background-color: #4a1818;
  transition-duration: 1s;
}

.noleggio2 {
  background-color: #323131
}

.noleggio2:hover {
  background-color: #4a1818;
  transition-duration: 1s;
}

.noleggio3 {
  background-color: #212020
}

.noleggio3:hover {
  background-color: #4a1818;
  transition-duration: 1s;
}

.hovnuove {
  background-color: #3b3b3b;
  color: #d7d7d7;
  text-align: center;
}

.hovnuove:hover {
  background-color: #cd3232;
  background-image: url(../img/backnuove.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 100%;
  color: #4b4a4a;
  text-align: left;
  transition-duration: 2s;
}

.hovusate {
  background-color: #333232;
  color: #d7d7d7;
  text-align: center;
}

.hovusate:hover {
  background-color: #cd3232;
  background-image: url(../img/backusate.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 100%;
  color: #4b4a4a;
  text-align: left;
  transition-duration: 2s;
}

.hovzero {
  background-color: #2b2b2b;
  color: #d7d7d7;
  text-align: center;
}

.hovzero:hover {
  background-color: #cd3232;
  background-image: url(../img/backzero.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 100%;
  color: #4b4a4a;
  text-align: left;
  transition-duration: 2s;
}

.hovepoca {
  background-color: #262626;
  color: #d7d7d7;
  text-align: center;
  transition: all ease 2s;
}

.hovepoca:hover {
  background-color: #cd3232;
  background-image: url(../img/backepoca.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 100%;
  color: #4b4a4a;
  text-align: left;
  transition: all ease 2s;
}

.sottotitolo {
  color: #e9e9e9;
  font-size: 20px;
}

.vertical-text {
  transform: rotate(90deg);
}

.txtservizi {
  color: #d2d2d2;
  font-size: 18px;
  text-align: center;
  border-top: 2px solid #cd3232;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 60px;
}

.boxhead, .boxform {
  padding-left: 150px;
  padding-right: 100px;
  padding-top: 270px;
  padding-bottom: 270px;
  height: 100%;
}

.boxhead {
  background-color: rgba(40, 39, 39, 0.65);
}

.boxform {
  padding-bottom: 100px;
}

.boxform .form-landing {
    margin-top: 12px;
    -webkit-box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    background: rgba(40, 39, 39, 0.65);
    padding: 36px 40px 46px;
    position: relative;
}

.form-control {
    margin-bottom: 10px;
    background-color: #303030;
    border: 0;
    color: #d2d2d2;
}

.form-control:focus {
    color: #fff;
    background-color: #601e1e;
    border-color: #601e1e;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(96, 30, 30, 0.55);
}

::placeholder{
  color: #d2d2d2!important;
}

.btn {
  margin-top: 15px;
  background-color: #601e1e;
  color: #d2d2d2;
}

.btn.focus, .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(96, 30, 30, 0.55);
}

.txt {
  color: #d2d2d2;
  font-size: 18px;
}

.btn-outline-light {
  color: #f8f9fa;
  background-color: transparent;
  background-image: none;
  border-top: 2px solid #2d2d2d;
  border-bottom: 2px solid #2d2d2d;
  border-left: 2px solid #cd3232;
  border-right: 2px solid #cd3232;
}

.btn-outline-light:hover {
  color: #f8f9fa;
  background-color: transparent;
  background-image: none;
  border-top: 2px solid #cd3232;
  border-bottom: 2px solid #cd3232;
  border-left: 2px solid #2d2d2d;
  border-right: 2px solid #2d2d2d;
}

.btn-outline-light.focus,
.btn-outline-light:focus {
  box-shadow: none;
}

.btn-outline-light:not(:disabled):not(.disabled).active:focus,
.btn-outline-light:not(:disabled):not(.disabled):active:focus,
.show>.btn-outline-light.dropdown-toggle:focus {
  box-shadow: none;
}

.btn-outline-light:not(:disabled):not(.disabled).active,
.btn-outline-light:not(:disabled):not(.disabled):active,
.show>.btn-outline-light.dropdown-toggle {
  color: #f8f9fa;
  background-color: transparent;
  background-image: none;
  border-top: 2px solid #cd3232;
  border-bottom: 2px solid #cd3232;
  border-left: 2px solid #2d2d2d;
  border-right: 2px solid #2d2d2d;
}

.titolofoot {
  font-family: 'Poppins', sans-serif;
  font-size: 35px;
  font-weight: 100px;
  margin-top: 40px;
  margin-bottom: 20px;
  margin-right: 160px;
  color: #b42f2f;
  border-bottom: 2px solid #ffffff;
}

.txtfooter {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  color: #d1d1d1;
  margin-top: 15px;
}

.red {
  color: #cd3232;
}

.titoloauto {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  line-height: 60px;
  font-weight: 300;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 160px;
  color: #b42f2f;
  border-bottom: 1px solid #ffffff;
}

.sezauto {
  border-top: 1px solid #b52323;
  border-bottom: 2px solid #b52323;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ------------------------------video-in-background---------------------> */
.videobackground {
  position: relative;
  background-color: white;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.videobackground video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.videobackground .container-fluid {
  position: relative;
  z-index: 2;
}

.videobackground .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: white;
  opacity: 0.0;
  z-index: 1;
}

.backnoleggio {
  background-image: url(../img/backnoleggio.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}
.backnoleggio-ibrida {
  background-image: url(../img/500-ibrida-back.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

.backnoleggiox {
  background-image: url(../img/backnoleggiox.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

.backnoleggiopanda {
  background-image: url(../img/backnoleggiopanda.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

.backoffi {
  background-image: url(../img/backoffi.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

.backaba {
  background-image: url(../img/backaba.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

.backrestauro {
  background-image: url(../img/backrestauro.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

.backgomme {
  background-image: url(../img/backgomme.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

.backrevisione {
  background-image: url(../img/backrevisione.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

.backsoccorso {
  background-image: url(../img/backsoccorso.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

a {
  color: #d7d7d7;
}

a:hover {
  color: #4f2f2f;
}

.spazio-navbar {
  padding-top: 90px;
  padding-bottom: 40px;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: rgba(182, 80, 80, 0.7);
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(205, 50, 50, 0.89)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev{
    display:block;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.dicono{
  padding-top:70px;
}

.backdicono {
    background-image: url(../img/recensioni.png);
    background-position: bottom;
    background-size: cover;
    height:400px;
}

@media only screen and (max-width: 1441px) {
  h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    color: #cd3232;
    line-height: 40px;
  }

  .titolovetrina {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    padding-top: 30px;
    padding-bottom: 10px;
    font-weight: 100px;
    line-height: 20px;
    margin-top: 50px;
    margin-bottom: 80px;
  }

  .titolosezioni {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: 200px;
    margin-top: 10px;
    text-align: center;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    border-right: 1px solid #525252;
    border-right: 1px solid #525252;
    text-align: center;
    padding-left: 4rem;
    padding-right: 4rem;
    font-family: 'Poppins', sans-serif;
    color: #9c9c9c;
    font-size: 18px;
  }

  .dropdown-item {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 14px;
    clear: both;
    font-weight: 400;
    color: #f4f4f4;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
  }

  .boxhead {
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 190px;
    padding-bottom: 150px;
    background-color: rgba(40, 39, 39, 0.65);
    height: 100%;
  }

  .titolosezioninoleggio {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    padding-bottom: 20px;
    font-weight: 200px;
    margin-top: 60px;
    text-align: left;
    line-height: 60px;
    color: #dadada;
  }

  .txtcontatti {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    color: #d1d1d1;
  }

  .boxform {
    padding-top: 120px;
    padding-bottom: 30px;
  }
}

@media only screen and (max-width: 1440px) {
  h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    color: #cd3232;
    line-height: 40px;
  }

  .titolovetrina {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    padding-top: 60px;
    padding-bottom: 45px;
    font-weight: 100px;
    line-height: 20px;
    margin-top: 50px;
    margin-bottom: 80px;
  }

  .titolosezioni {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: 200px;
    margin-top: 10px;
    text-align: center;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    border-right: 1px solid #525252;
    border-right: 1px solid #525252;
    text-align: center;
    padding-left: 4rem;
    padding-right: 4rem;
    font-family: 'Poppins', sans-serif;
    color: #9c9c9c;
    font-size: 18px;
  }

  .boxhead {
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 190px;
    padding-bottom: 150px;
    background-color: rgba(40, 39, 39, 0.65);
    height: 100%;
  }

 .boxform {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 120px;
    padding-bottom: 30px;
  }

  .titolosezioninoleggio {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    padding-bottom: 20px;
    font-weight: 200px;
    margin-top: 60px;
    text-align: left;
    line-height: 60px;
    color: #dadada;
  }

  .txtcontatti {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    color: #d1d1d1;
  }


}

@media only screen and (max-width: 1280px) {
  h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    color: #cd3232;
    line-height: 40px;
  }

  .titolovetrina {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    padding-top: 50px;
    padding-bottom: 50px;
    font-weight: 100px;
    line-height: 20px;
    margin-top: 50px;
    margin-bottom: 80px;
  }

  .titolosezioni {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: 200px;
    margin-top: 10px;
    text-align: center;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    border-right: 1px solid #525252;
    border-right: 1px solid #525252;
    text-align: center;
    padding-left: 4rem;
    padding-right: 4rem;
    font-family: 'Poppins', sans-serif;
    color: #9c9c9c;
    font-size: 15px;
  }

  .dropdown-item {
    display: block;
    width: 100%;
    padding: 16px;
    clear: both;
    font-weight: 400;
    color: #f4f4f4;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 13px;
  }

  .boxhead {
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 190px;
    padding-bottom: 150px;
    height: 100%;
  }

  .titolosezioninoleggio {
    font-family: 'Poppins', sans-serif;
    font-size: 45px;
    padding-bottom: 20px;
    font-weight: 200px;
    margin-top: 60px;
    text-align: left;
    line-height: 60px;
    color: #dadada;
  }

  .txtcontatti {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #d1d1d1;
  }
}

@media only screen and (max-width: 1280px) {
  .titolovetrina {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    padding-top: 42px;
    padding-bottom: 42px;
    font-weight: 100px;
    line-height: 20px;
    margin-top: 50px;
    margin-bottom: 80px;
  }
  .dicono{
    padding-top:30px;
  }
}

.navbar-expand-lg .navbar-nav .nav-link {
    border-right: 1px solid #525252;
    border-right: 1px solid #525252;
    text-align: center;
    padding-left: 2rem;
    padding-right: 2rem;
    font-family: 'Poppins', sans-serif;
    color: #9c9c9c;
    font-size: 15px;
}

    .dropdown-item {
        display: block;
        width: 100%;
        padding: 16px;
        clear: both;
        font-weight: 400;
        color: #f4f4f4;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        font-size: 12px;
    }

@media only screen and (max-width: 768px) {
  h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    color: #cd3232;
    line-height: 40px;
  }

  .titolovetrina {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    padding-top: 38px;
    padding-bottom: 38px;
    font-weight: 100px;
    line-height: 20px;
    margin-top: 50px;
    margin-bottom: 80px;
  }

  .titolosezioni {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: 200px;
    margin-top: 10px;
    text-align: center;
  }

  .boxcontatti {
    margin-top: 5px;
    margin-left: 0px;
  }

  .txtfooter {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #d1d1d1;
    margin-top: 15px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    border-right: 1px solid #525252;
    border-right: 1px solid #525252;
    text-align: center;
    padding-left: 4rem;
    padding-right: 4rem;
    font-family: 'Poppins', sans-serif;
    color: #9c9c9c;
    font-size: 15px;
  }

  .dropdown-item {
    display: block;
    width: 100%;
    padding: 16px;
    clear: both;
    font-weight: 400;
    color: #f4f4f4;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 13px;
  }

  .boxhead {
    padding-left: 70px;
    padding-right: 70px;
    padding-top: 190px;
    padding-bottom: 150px;
    height: 100%;
  }

  .boxform {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 180px;
    padding-bottom: 60px;
  }

  .titolosezioninoleggio {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    padding-bottom: 20px;
    font-weight: 200px;
    margin-top: 60px;
    text-align: left;
    line-height: 30px;
    color: #dadada;
  }

  .txtcontatti {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #d1d1d1;
  }

  .txtservizi {
    color: #d2d2d2;
    font-size: 15px;
    text-align: center;
    border-top: 2px solid #cd3232;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 60px;
  }

  .titoloservizi {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
    color: #d7d7d7;
    font-weight: 100px;
    line-height: 20px;
  }

  nav {
      max-height: 500px;
      overflow-y: auto;
  }
}

@media only screen and (max-width: 600px) {
  h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    color: #cd3232;
    line-height: 40px;
    padding-top: 60px;
  }

  .titolovetrina {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    padding-top: 30px;
    padding-bottom: 10px;
    font-weight: 100px;
    line-height: 20px;
    margin-top: 50px;
    margin-bottom: 80px;
  }

  .titolosezioni {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: 200px;
    margin-top: 10px;
    text-align: center;
  }

  .vertical-text {
    transform: rotate(0deg);
  }

  .boxhead, .boxform {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 50px;
    padding-bottom: 40px;
    height: 100%;
  }
}

.container-gallery .col-md-2 {
  margin-bottom: 20px;
}

.container-gallery a {
  height: auto;
}

.galleryCustom {
  max-height: 150px;
  max-width: 150px;
  /*
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    */
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.divGalleryCustom {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  min-width: 160px;
  min-height: 160px;
  max-height: 190px;
  max-width: 190px;
  width: 100%;
  height: 100%;
}


.mininav {
    padding-top: 2px;
    margin-bottom: 0px;
    color: #fff;
    text-align: right;
    border: 0px;
    font-size:14px;
}

    .sottotitolo {
        color: #e9e9e9;
        font-size: 20px;
    }


@media only screen and (max-width: 600px) {
  .mininav {
      padding-top: 2px;
      margin-bottom: 0px;
      color: #fff;
      text-align: right;
      border: 0px;
      font-size:10px;
}
@media only screen and (max-width: 480px) {
    .videobackground {
        background-image: url("../img/video_thumbnail.jpg");
        background-repeat: no-repeat;
        background-size: cover;
    }
}

}

/*=================================================================
	Banner
==================================================================*/

.popup {
    max-width: 320px;
    height: auto;
    position: fixed;
    z-index: 1000;
    right: -578px;
    bottom: 0;
	box-shadow:0px 0px 20px rgba(0,0,0,0.50);
	background:#383838;
}

.banner-content {
	background-color:#383838;
	padding:15px;
	text-align:center;
}

.banner-content h3 {
	letter-spacing:2px;
	font-size:18px;
	text-transform:uppercase;
	line-height:30px;
	margin:5px 0;
	color:#f04141;
}

.divisore {
	border-bottom:dashed 10px #009ED6;
}

.banner-content a {
	color:#fff;
	border-bottom:1px dashed #444;
}

.banner-content a:hover {
	color:rgba(144,8,46,1.00);
	border:none;
}

.popup i {
    font-size: 1.5em;
    position: absolute;
    padding: 0px;
	color:#fff;
	z-index:999;
}

.popup i:hover {
    cursor: pointer;
	color:rgba(238,123,0,1);
}
