/* Elenina */

@media (max-width: 576px) {
  .header-logo img {
    width: 100px !important;
  }

  .thumb-motori {
    bottom: 0 !important;
    top: 0 !important;
  }
  .thumb-motori h4 {
    font-size: 12pt !important;
  }

  .evento h3 {
    text-align: left !important;
  }

  .sidebar-news {
    padding-left: 35px;
  }
}

@media (max-width: 992px) {
  .evento, .immagine-evento {
    padding: 20px !important;
  }

#header.custom-header-style-1 .custom-sm-btn-header-style-1 > .btn:not(.header-btn-collapse-nav) {
  color: #F0DD00 !important;
}

.contatti-indirizzo {
  margin-top: -90px !important;
  margin-left: -7px;
}

}

html, body, p {
  color: black;
}

html #header.custom-header-style-1 {
  top: 0px;
}

html #header.custom-header-style-1 .header-body .header-nav-main nav > ul > li > span .item-two {
  color: #F0DD00 !important;
}

#header .header-btn-collapse-nav {
  position: absolute !important;
  right: 20px !important;
}

.header-body {
  max-width: none !important;
}

.header-logo img {
  width: 100px;
  margin: 0 !important;
  position: absolute !important;
}

#header .header-btn-collapse-nav {
  background-color: #F0DD00;
  color: black;
}

html #header.custom-header-style-1 .header-body .header-nav-main nav > ul > li > a.item-original.active {
  color: #F0DD00;
}

#header {
  background-color: #0a0a0a;
}

.slider-container h1 {
  margin-bottom: 30px !important;
}

html .btn-join-now {
  background-color: #383838;
  border-color: #383838;
  color: #ffffff;
}

html .btn-primary {
  background-color: #F0DD00;
  border-color: #F0DD00;
  color: black !important;
  transition: all 0.3s ease-in-out !important;
}

html .btn-primary:hover {
  background-color: black;
  border-color: black;
  color: #F0DD00 !important;
}

html .btn-nero {
  background-color: black;
  border-color: black;
  color: white !important;
  font-size: 10pt;
  transition: all 0.3s ease-in-out !important;
}

html .btn-nero:hover {
  background-color: #F0DD00;
  border-color: black;
  color: black !important;
}

html .btn-grigio-scuro {
  background-color: #2B2B2B;
  border-color: #2B2B2B;
  color: white !important;
  transition: all 0.3s ease-in-out !important;
}

html .btn-grigio-scuro:hover {
  background-color: #F0DD00;
  border-color: black;
  color: #2B2B2B !important;
}

html .btn-grigio-chiaro {
  background-color: #C4C4C4;
  border-color: #C4C4C4;
  color: black !important;
  transition: all 0.3s ease-in-out !important;
}

html .btn-grigio-chiaro:hover {
  background-color: #F0DD00;
  border-color: #F0DD00;
  color: #2B2B2B !important;
}

section.section-gialla {
  background-color: #F0DD00;
  margin-top: 0px;
  margin-bottom: 0px;
  color: black;
}

section.section-gialla .list.list-icons li > .fas:first-child {
  color: black;
  border-color: black;
}

section.section-gialla a {
  color: black;
}

section.section-grigio-chiarissimo {
  background-color: #F2F2F2;
  margin-top: 0px;
  margin-bottom: 0px;
}

section.section-interna {
  margin-bottom: 0px;
  margin-top: 0px;
}

section.section-sponsor {
  padding-top: 100px;
}

.testo-evidenziato-giallo {
  background-color: #F0DD00;
  color: black !important;
  padding-left: 10px;
  padding-right: 10px;
}

.btn-officina {
  font-size: 10pt;
  border: 0 !important;
  background-color: #383838 !important;
  color: white !important;
}

.slider-container .tp-bgimg {
  opacity: 0.4 !important;
  background-color: rgb(0,0,0);
}

.box-home {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.form-group {
  padding-right: 5px;
  padding-left: 5px;
}

.form-group input, .form-group textarea {
  font-size: 12pt !important;
}

.float-right {
    float: right!important;
}

.mb-5, .my-5 {
    margin-bottom: 3rem!important;
}

.bottone-form {
  font-size: 12pt !important;
  padding: 10px 20px !important;
}

.margin-top-55 {
  margin-top: 55px;
}

.box-opaco {
  position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: rgba(0,0,0,.5);
    padding-top: 80px;
    padding-bottom: 60px;
    transition: all 0.2s ease-in-out;
}

.box-home:hover .box-opaco {
  background-color: rgba(0,0,0,.9);
}

.row-loghi div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-loghi img {
  max-width: 100% !important;
}

.owl-carousel {
  margin-bottom: 0px !important;
}

.custom-thumb-info-1 .thumb-info-wrapper .thumb-info-plus:before, .custom-thumb-info-1 .thumb-info-wrapper .thumb-info-plus:after, .custom-thumb-info-1 .thumb-info-wrapper .thumb-info-plus:before, .custom-thumb-info-1 .thumb-info-wrapper .thumb-info-plus:before {
      border-top: 2px solid #F0DD00 !important;
}

.owl-carousel.custom-arrows-style-1 .owl-nav button[class*="owl-"] {
  background-color: rgba(0,0,0,.3) !important;
}

.owl-carousel.custom-arrows-style-1 .owl-nav button.owl-prev::before, .owl-carousel.custom-arrows-style-1 .owl-nav button.owl-next::before {
  top: 0px !important;
}

.owl-carousel.custom-arrows-style-1 .owl-nav button.owl-prev, .owl-carousel.custom-arrows-style-1 .owl-nav button.owl-next {
  height: 30px !important;
}

.row-team a:hover {
  text-decoration: none;
}

.row-team > div {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.row-team .thumb-info .thumb-info-wrapper {
  margin: 0px !important;
}

.row-team div:nth-child(even) .thumb-info-caption:not(.thumb-motori) {
  background-color: #F2F2F2 !important;
}

.team-box-hover {
  position: absolute;
  width: 100%;
  bottom: 0;
  height: 100%;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,.6);
}

.team-box-hover .row div {
  padding-top: 10px;
  padding-bottom: 10px;
  transition: all 0.5s ease-in-out;
}

.row-team > div:hover .team-box-hover {
  display: flex;
}

.team-box-hover a {
  color: white !important;
}

.section-motori {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.thumb-motori {
  position: absolute;
  bottom: 20%;
  width: 100%;
  background-color: transparent !important;
  text-align: left;
  padding-left: 50px;
}

.thumb-motori h4 {
  color: white !important;
  font-size: 26pt;
}

.row-motori .thumb-info {
  margin-bottom: 0px;
}

.box-griglia {
  padding: 0px;
}

.evento {
  /* background-color: white; */
  padding: 0;
  text-align: left;
  margin-top: 25px;
  margin-bottom: 25px;
}

.immagine-evento {
  padding: 0;
  margin-bottom: 20px;
  height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.immagine-evento-principale {
  padding: 10px;
}

.box-griglia-evento {
  padding: 10px;
}

.evento h2 {
  font-size: 18pt;
  text-transform: uppercase;
  font-weight: bold;
}

.evento h3 {
  font-size: 18pt;
  margin-top: 10px;
  text-align: right;
}


.evento p {
  font-size: 10pt;
}

.leggi-tutto {
  text-transform: uppercase;
  font-weight: bold;
}

.evento a:hover {
  text-decoration: none;
}

.sidebar-news {
  padding-top: 15px;
}

.sidebar-news h4 {
    font-weight: bold;
    text-align: left;
}

.sidebar-news ul {
  list-style: none;
  padding-left: 0px;
}

.sidebar-news ul li {
  text-align: left;
  padding-top: 7px;
  padding-bottom: 7px;
}

.thumb-news-dettaglio {
  height: 110px;
  width: 110px;
  margin-right: 24px;
  margin-bottom: 20px;
  padding: 0px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  cursor: pointer;
}

.thumb-news-dettaglio:nth-of-type(7n) {
  margin-right: 0px;
}

.contatti-indirizzo {
  margin-top: 55px;
}


.google-map {
  margin-bottom: 0px;
}

.d-none {
  display: none;
}

.box-persona {
  background-color: black;
}

.box-persona h4, .box-persona p {
  color: white;
}

.box-persona .thumb-info-caption {
  padding: 40px 0;
}

.box-video:hover .titolo-video {
  display: block;
}

.titolo-video {
  position: absolute;
  display: none;
    bottom: 50%;
    text-align: center;
    width: 100%;
    z-index: 99;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
}

#footer p {
  color: #777;
}
