/*
Theme Name:     Nsc Tema Child
Theme URI:      http://example.com/
Description:    Tema Child per il tema Divi
Author:         TEL&CO
Author URI:     http://www.tlco.it
Template:       Divi
Version:        0.1.0
*/

/*body*/
body {
  font-weight: 400 !important;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: bold !important;
}

.colore-blu {
  color: #052162;
}

.colore-rosso {
  color: #a51c34;
}

.et_pb_blurb_description li a,
#main-content p a,
a.more-link {
  color: #052162;
  font-weight: bold;
}

a.bottone-richiesta {
  color: #fff !important;
}

a.et_pb_newsletter_button {
  color: #fff !important;
}
/* contatti */

.et_pb_team_member_description p {
  font-size: 15px;
}
/*footer*/
#footer-info {
  float: none;
  text-align: center;
}

#footer-info a,
#footer-widgets .footer-widget a {
  //color: #fff !important;
  //font-weight: bold !important;
}

#footer-info a:hover,
#footer-widgets .footer-widget a:hover {
  background: #052162 !important;
  color: #fff !important;
  opacity: 1 !important;
}

#main-footer i {
  display: inline-block;
  margin: 0 10px 0 0;
  font-size: 20px;
  border: 1px solid #fff;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  float: left;
}

#main-footer .textwidget p,
#main-footer .textwidget span {
  display: inline-block;
}

#main-footer #text-19 img {
  max-width: 100px;
}

#text_icl-4 img,
#text_icl-3 img,
#text_icl-5 img {
  width: 200px;
}

#text_icl-6 {
  margin-bottom: 10px;
}

#text_icl-6 img {
  margin: 0 20px 0 0 !important;
}

#map {
  width: 100%;
  height: 200px;
}

#custom_html-2 {
  width: 100%;
  height: 200px;
  float: left;
}

#slider-intestazione {
  height: 400px;
  font-size: 14px;
}

#slider-intestazione .et_pb_slide {
  height: 400px;
}

#slider-intestazione .et_pb_slide {
  background-color: #e6e6e6;
}

#form-ricerca-usato .field-container {
  margin-right: 1%;
}

.et-pb-arrow-prev,
.et-pb-arrow-next {
  color: #333 !important;
}

.et-pb-arrow-prev {
  left: 0;
  opacity: 1;
}

.et-pb-arrow-next {
  right: 0;
  opacity: 1;
}

.et_pb_slider:hover .et-pb-arrow-prev,
.et_mobile_device .et-pb-arrow-prev {
  left: 0;
  opacity: 1;
}

.et_pb_slider:hover .et-pb-arrow-next,
.et_mobile_device .et-pb-arrow-next {
  right: 0;
  opacity: 1;
}

.home #intestazione-container {
  position: absolute;
  top: 80px;
  background: transparent;
  width: 100%;
}

.home #intestazione {
  max-width: 370px;
  text-align: left;
  background: #f9f9f9;
  padding: 1.5rem 1rem 2.5rem 1rem;
  font-size: 14px;
}

#intestazione .header-content {
  width: 370px;
  text-align: left;
  background: #f9f9f9;
  padding: 1.5rem 1rem 2.5rem 1rem;
  font-size: 14px;
}

#intestazione .acf-field {
  min-height: 61px;
}

#intestazione .acf-form-submit {
  margin-bottom: 2.5rem;
}

#intestazione select,
#intestazione input {
  float: left;
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 14px;
}

#intestazione h4 {
  background: #a51c34;
  padding: 10px;
  color: #fff;
  margin-bottom: 0;
  font-weight: bold;
}

#intestazione p {
  background: #a51c34;
  color: #052162;
  padding: 0 10px 10px 10px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

#intestazione .disp {
  width: 16%;
  float: left;
  text-align: center;
}

#intestazione .disp img {
  margin-left: 8px;
}

#intestazione .disp input {
  height: 20px;
}

#intestazione .acf-50 {
  width: 48% !important;
}

#intestazione .acf-50.first {
  margin-right: 2.7%;
}

#intestazione #usato-searchform .acf-fields.acf-form-fields{
  display: flex;
  flex-wrap: wrap;
}

#intestazione #usato-searchform .acf-fields.acf-form-fields .acf-field {
  flex-basis: 33%;
  padding: 1%;
}

#intestazione .acf-form-submit {
  display: flex;
  justify-content: flex-end;
}

.flex-66 {
  flex-basis: 66% !important;
}

#intestazione input#searchsubmit {
  flex-basis: 10%;

  background: #a51c34 !important; /* 3c414c */
  text-transform: uppercase;
  color: #fff;
}

#intestazione.page-ricerca {
  width: 50%;
  margin: 0 auto;
  height: auto;
}

#top-menu li li {
  margin-bottom: 5px;
}

#top-menu li li a {
  font-size: 12px !important;
}

#top-menu .nav li ul {
  width: 300px;
}

#top-menu li li a:hover,
#top-menu ul.sub-menu li.current-menu-item > a {
  background-color: #052162;
  color: #fff !important;
  opacity: 1;
}

#top-menu li {
  padding-right: 17px;
}

#intestazione-pagina {
  min-height: 55px;
  text-align: center;
  color: #fff;
  margin-bottom: 60px;
}

#intestazione-pagina h1 {
  padding-top: 10px;
  color: #fff;
  font-size: 35px;
  margin-top: 0;
}

#intestazione-pagina .overlay {
  /*
    background: rgba(154, 154, 154, 0.8);
    */
  height: 100%;
}

.et-fixed-header {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-color: rgba(0, 0, 0, 0.65) !important;
}

.et-fixed-header + .box-usato{
  transform: translateY(-35px);
  opacity: 1;
  transition: .5s all ease;
}

.text-center {
  text-align: center;
}

.red {
  background-color: #3c414c;
  color: #fff !important;
}

.red a {
  color: #fff;
  margin-right: 20px;
  font-weight: bold;
  font-size: 16px;
}

.red i {
  margin-left: 20px;
  font-size: 16px;
}

.menu-db {
  /*padding: 0 110px;*/
  margin-top: -40px;
  margin-bottom: 30px;
  text-align: center;
}

.menu-db li {
  display: inline-block;
  padding-top: 10px;
  padding-bottom: 10px;
}

.menu-db li:not(:last-of-type):after {
  content: "/";
}

/*.logout-areariservata {*/
/*float: right;*/
/*padding-top: 10px;*/
/*padding-bottom: 10px;*/
/*}*/

button,
.button.button-primary {
  background: #a51c34;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  height: 40px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 22px;
  font-weight: bold;
}

/* form di richiesta nell'archivio usato */
.blocker {
  z-index: 999999;
}

#form-richiesta {
  text-align: center;
  background: white;
}

#form-richiesta .testo {
  font-weight: bold;
}

#form-richiesta .wpcf7-form {
  /*width: 300px;*/
  margin: 0 auto;
}

#form-richiesta .logo-db {
/*   width: 200px; */
	width: 350px;
    margin-bottom: 1rem;
}

#form-richiesta .wpcf7-submit {
  background: #3c414c !important;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  height: 40px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 14px;
  margin: 10px 0;
}

#form-richiesta .wpcf7-submit:hover {
  background-color: #a51c34 !important;
  color: #fff !important;
}

#form-richiesta textarea {
  width: 290px;
  height: 100px;
}

a.bottone-richiesta {
  background: #3c414c !important;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 14px;
  margin: 10px 0;
  display: inline-block;
}

a.bottone-richiesta:hover {
  background-color: #a51c34 !important;
  color: #fff !important;
  text-decoration: none;
}

.usato-elenco {
  margin: 25px 0;
  border: 1px solid #3c414c;
  float: left;
  width: 100%;
  padding: 25px;
}

.usato-elenco.occasione{
  border: 1px solid red;
}

.usato-elenco table {
  margin: 0 auto;
  width: auto;
}

.usato-elenco table tr:first-of-type td:first-of-type {
  text-align: center;
}

.usato-elenco p {
  padding-bottom: 0;
}

.usato-elenco h4 {
  padding: 0;
  margin-bottom: 0;
  margin-top: 20px;
}

.usato-elenco p a.usato-pdf {
  background: #3c414c !important;
  color: #fff !important;
  cursor: pointer;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 14px;
  margin: 10px 0;
  display: inline-block;
}

.usato-elenco p a.usato-pdf:hover {
  background-color: #a51c34 !important;
  color: #fff !important;
  text-decoration: none;
}

.usato-elenco .col-md-12 {
  margin-top: 20px;
}

/*login form*/
#loginform label {
  width: 210px;
  float: left;
}

#loginform #wp-submit {
  float: left;
  clear: left;
  margin-top: 10px;
}

/*carousel*/
#owl-carousel-2799 .owl-item {
  height: 160px;
}

#owl-carousel-2804 {
  height: 80px;
}

.owl-carousel .owl-item {
  text-align: center;
}

#recapiti p,
#recapiti a,
#recapiti a:hover {
  color: #fff !important;
}

#recapiti p {
  padding-bottom: 0;
}

#recapiti p .tel {
  margin-right: 4px;
}

.single-usato .crea-pdf {
  position: absolute;
  left: 0;
  width: 99%;
  border-top: 1px solid #eeeeee;
  padding: 15px 12px;
  border-bottom: 1px solid #eeeeee;
}

.single-usato .crea-pdf label {
  font-weight: bold;
  float: left;
}

.single-usato .crea-pdf a {
  float: left;
  clear: left;
}

.single-usato .acf-form-submit {
  float: left;
  margin-top: 100px;
}

.delete-usato {
  float: right;
  background: #a51c34 !important;
  margin-top: 100px;
}

.gestione-annuncio {
  margin-top: 9rem !important;
  text-align: center;
  /*background: #ededed;*/
  /*float: left;*/
  /*width: 100%;*/
  /*border-top: 5px solid #808080;*/
  /*margin-bottom: 70px;*/
}

.gestione-annuncio ul {
  padding: 0;
}

.gestione-annuncio li {
  list-style-type: none;
  display: inline-block;
  width: 33%;
  float: left;
  padding: 5px;
  min-height: 400px;
}

.gestione-annuncio li:not(:last-of-type) {
  border-right: 1px dashed;
}

.gestione-annuncio li h4 {
  border: 2px solid;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.gestione-annuncio h3 {
  margin-top: 30px;
}

.gestione-annuncio hr {
  border: 2px solid;
}

table.galleria-img-annuncio {
  width: 700px;
  margin: 0 auto;
}

.ui-tabs .ui-tabs-panel {
  display: inline-block;
  border-width: 0;
  padding: 1em 1.4em;
  background: 0 0;
  width: 100%;
}

#tabs-1{
  margin-bottom: 12rem;
}

.usato-elenco .col-md-12, .usato-elenco .col-md-3{
  font-weight: 400;
}

/*
.logo_container a {
    background: #F9F9F9;
    padding: 25px;
    border-top: 5px solid #ca1f26;
}

.et-fixed-header .logo_container a {
    padding: 19px;
    border: none;
}*/

#main-header {
  /*  background: rgba(255, 255, 255, 0.6) !important;*/
}

#main-header.et-fixed-header {
  background-color: rgba(255, 255, 255, 0.96) !important;
}

#top-menu li li {
  width: 100%;
}

#top-menu li li a {
  color: #fff !important;
}

#main-header .nav li ul a {
  width: 100%;
}

.nav li ul {
  width: 330px;
}

.et-fixed-header .sub-menu {
  background: #a51c34 !important;
}

.et-fixed-header #top-menu ul.sub-menu li a {
  color: #fff !important;
}

#main-header .et_mobile_menu {
  background: #fff !important;
  height: 80vh;
  overflow: auto;
}

.et_mobile_menu li a {
  text-transform: uppercase;
}

#mobile_menu .sub-menu {
  background: #fff !important;
}

.img-footer {
  /*
    border-top: 4px solid #CA1F26;
    */
  background: #fff;
  padding: 20px;
  /*
    margin-top: -75px;
    */
  /*margin-bottom: 27px;*/
  position: absolute;
  top: 0;
}

#text-19 p:nth-of-type(2) {
  margin-top: 70px;
}

#text-19 p:not(:first-of-type) {
  width: 100%;
}

.et_pb_contact_submit {
  height: 48px;
  color: #fff !important;
  float: right;
}

.et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first {
  padding-top: 50px !important;
}

.home .et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first {
  padding-top: 0px !important;
}

.hidden {
  display: none;
}

.wpcf7-form-control.g-recaptcha.wpcf7-recaptcha div {
  margin: 0 auto;
}

#myTable tbody > tr > td {
  white-space: nowrap;
}

#myTable tr th,
table.dataTable.compact thead th {
  white-space: nowrap;
  font-size: 14px !important;
}

#myTable tr td,
.display tr td {
  height: 50px;
  font-size: 14px;
}

#myTable td a {
  color: #a51c34 !important;
}

.display img.img-carrello {
  max-height: 45px;
}

/*contatti*/
h4.et_pb_module_header {
  text-transform: capitalize;
}

.et_pb_team_member_description p {
  text-transform: lowercase;
  padding-bottom: 0;
}

.et_pb_team_member_description p.et_pb_member_position {
  text-transform: capitalize;
  color: #777;
  margin-bottom: 10px;
}

.et_pb_team_member_description span.tel {
  width: 31px;
  float: left;
}

div.et_pb_team_member_image {
  text-align: left !important;
}

.et_pb_team_member_description p a {
  color: #052162;
}

/*newsletter*/
.et_pb_newsletter_description {
  display: none;
}

.et_pb_newsletter_form p input {
  border: 1px solid #ccc;
}

div.et_pb_newsletter_form {
  padding-left: 0 !important;
  width: 80%;
}

.et_pb_newsletter_button.et_pb_button span {
  color: #fff !important;
}

/*header*/
.fa-facebook {
  float: right;
  margin-left: 15px;
  background: #3b5998;
  padding-top: 6px;
  padding-left: 8px;
  padding-right: 4px;
  border-radius: 3px;
  margin-top: -5px;
  color: #fff;
  font-size: 20px;
}

.icona-fb {
  position: relative;
  z-index: 2;
  float: right;
}

.et_search_form_container form.et-search-form {
  background: #fff !important;
}

/*ricerca*/
.immagine-carrello {
  max-height: 200px;
}

.galleria-carrello img {
  max-width: 100px;
}

#val-usato td {
  font-size: 14px;
  width: 33.33%;
}

.valutazione {
  float: right;
  margin: 0;
}

.valutazione ul {
  list-style-type: none;
  width: 120px !important;
  float: right;
}

.valutazione ul li {
  display: inline-block;
  width: 18px !important;
  margin: 0 3px !important;
}

.valutazione ul li i {
  font-family: FontAwesome !important;
  font-size: 24px !important;
}

i.fa-star {
  color: #a51c34;
}

i.fa-star-o {
  color: #052162;
}

.usato-elenco .col-md-12.prezzi {
  margin: 0;
}

/*gradient*/
.multimarca {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c3023b+0,202b5c+50,202b5c+51,c3023b+100 */
  background: #c3023b !important; /* Old browsers */
  background: -moz-linear-gradient(
    left,
    #c3023b 0%,
    #202b5c 50%,
    #202b5c 51%,
    #c3023b 100%
  ) !important; /* FF3.6-15 */
  background: -webkit-linear-gradient(
    left,
    #c3023b 0%,
    #202b5c 50%,
    #202b5c 51%,
    #c3023b 100%
  ) !important; /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to right,
    #c3023b 0%,
    #202b5c 50%,
    #202b5c 51%,
    #c3023b 100%
  ) !important; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c3023b', endColorstr='#c3023b', GradientType=1) !important; /* IE6-9 */
  font-weight: bold !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/*servizi*/
.box-contatti {
  margin-top: 30px;
  border: 1px solid #ccc;
  padding: 20px;
  width: auto;
  display: inline-block;
}

.box-contatti a {
  color: #052162;
}

.et-social-facebook a.icon::before {
  content: "\e093";
  background: #3b5998;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 0px;
  border-radius: 3px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 95%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

@media screen and (max-width: 768px) {
  .modal {
    width: 100%;
    height: 100%;
  }
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.closeBtn {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.closeBtn:hover,
.closeBtn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/*news*/
@media (min-width: 768px) {
  .entry-featured-image-url {
    float: left;
    width: 20%;
    margin-right: 2%;
  }

  h2.entry-title {
    float: left;
    width: 75%;
  }

  .post-content {
    float: left;
    width: 75%;
  }
}

@media (max-width: 768px) {
  .menu-db {
    padding: 0;
    margin-top: -40px;
    margin-bottom: 30px;
  }

  .content-occasioni{
    width: 95%;
  }

  #intestazione-pagina{
    margin-bottom: 10px !important;
  }

  .custom-bottoni-tab{
    max-width: 100% !important;
  }

  #page-container{
    padding-top: 285px !important;
  }

  .box-usato{
    top: 145px !important;
    display: block !important;
    padding: 10px 20px !important;
    height: 125px !important;
  }

  .et-fixed-header + .box-usato{
    transform: translateY(0px);
    opacity: 1;
    transition: .5s all ease;
  }

  .left-col, .right-col{
    width: 100% !important;
    margin-top: 0.5rem !important;
  }

  .left-col.drow, .right-col.drow{
    justify-content: start !important;
  }

  .box-usato .right-col.drow form{
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .bottone-bianco{
    width: 100% !important;
    height: 35px !important;
  }

  .box-title{
    font-size: 18px !important;
    margin: 0 !important;
  }

  .box-subtitle{
    font-size: 15px !important;
    padding-top: 0 !important;
    margin: 0 !important;
  }

  #collapseFiltri{
    margin-top: 220px !important;
  }

  #intestazione{
    padding: 1.5rem 0 !important;
  }

  #intestazione #usato-searchform .acf-fields.acf-form-fields{
    display: block !important;
  }

  #intestazione .acf-field{
    min-height: unset !important;
  }

  #usato-searchform{
    display: flex;
    flex-direction: column;
  }

  #intestazione .acf-form-submit{
    margin-bottom: 0;
    margin-top: 1rem;
  }

  .post-type-archive-usato .box-usato{
    top: 164px !important;
  }

  .acf-label h3{
      margin-bottom: 0;
  }

  .acf-input  a{
    font-size: 15px;
  }

  .menu-db li {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
  }

  .menu-db li:after,
  .menu-db li:not(:last-of-type):after {
    content: "";
  }
}

/*prodotti*/
/*.et_pb_image_wrap {*/
/*width: 350px;*/
/*text-align: center;*/
/*margin: 0 auto;*/
/*display: block !important;*/
/*}*/

.colnsc-md-4 {
  width: 33.33%;
  float: left;
}

.colnsc-md-6 {
  width: 50%;
  float: left;
}

.colnsc-md-12 {
  width: 100%;
  float: left;
}

.colnsc-xs-12 {
  width: 100%;
  float: left;
}

/*articolo singolo*/
.et_pb_post p.post-meta {
  float: left;
}

#wpcf7-f3872-p3863-o1 label span.prima {
  width: 33%;
  /*float: left;*/
  /*clear: left;*/
}

#wpcf7-f3872-p3863-o1 .wpcf7-recaptcha {
  float: left;
}

#wpcf7-f3872-p3863-o1 .col-3 {
  width: 25%;
  float: left;
}

#wpcf7-f3872-p3863-o1 .col-4 {
  width: 33%;
  float: left;
}

#wpcf7-f3872-p3863-o1 .col-2 {
  width: 20%;
  float: left;
}

#wpcf7-f3872-p3863-o1 .col-12 {
  width: 100%;
  float: left;
}

#wpcf7-f3872-p3863-o1 input:not([type="radio"]) {
  padding: 16px;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  color: #444;
  background-color: #eee;
  font-size: 14px;
  -webkit-appearance: none;
  width: 99%;
}

#wpcf7-f3872-p3863-o1 .col-12 input {
  width: 100%;
}

#wpcf7-f3872-p3863-o1 textarea {
  width: 100%;
  padding: 16px;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  color: #444;
  background-color: #eee;
  font-size: 14px;
  -webkit-appearance: none;
}

#wpcf7-f3872-p3863-o1 .wpcf7-radio .wpcf7-list-item-label {
  color: #444;
}

#wpcf7-f3872-p3863-o1 .wpcf7-submit {
  float: left;
  clear: left;
  margin-top: 20px;
  background: #3c414c !important;
  border-width: 1px !important;
  border-color: #3c414c;
  border-radius: 0;
  height: 48px;
  color: #fff !important;
  text-transform: uppercase;
  font-weight: bold;
  width: auto !important;
}

/* ====================== SLIDER HOMEPAGE ====================== */
.swiper-slide {
  min-height: 674px;
}

.slider-immagine {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 70%;
  position: absolute;
}
.slider-testo {
  padding: 3% 4%;
  background-color: #a51c34;
  width: 30%;
  min-height: 674px;
  float: right;
  text-align: right;
  color: #ffffff;
  font-size: 40px;
  line-height: 70px;
}
.slider-testo .testo-piccolo {
  font-size: 0.5em;
  line-height: 1em;
}

.swiper-container.swiper-container-horizontal > .swiper-pagination-bullets {
  width: 30%;
  right: 0;
  left: auto;
}
.swiper-container.swiper-container-horizontal
  > .swiper-pagination-bullets
  .swiper-pagination-bullet {
  background: transparent;
  border: 2px solid #ffffff;
}
.swiper-container.swiper-container-horizontal
  > .swiper-pagination-bullets
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #ffffff;
  border: 2px solid transparent;
}

/* ====================== TABS HOMEPAGE ====================== */
.et_pb_row.et_pb_equal_columns.custom-tabs {
  display: none;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.et_pb_row.et_pb_equal_columns.custom-tabs.active {
  display: flex;
  width: 100% !important;
  max-width: 100% !important;
}

.custom-bottoni-tab {
  text-align: center;
}

.custom-bottoni-tab .et_pb_button_module_wrapper {
  display: inline-block;
  position: relative;
}

/*.custom-bottoni-tab .et_pb_button_module_wrapper.et_pb_button_alignment_left.et_pb_module .et_pb_button.et_pb_bg_layout_light{*/
#tab1,
#tab2,
#tab3,
#tab4,
#tab5 {
  padding: 8px 30px !important;
}

.custom-bottoni-tab .et_pb_button_module_wrapper.active:after {
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  border: solid transparent;
  border-top-color: #a51c34;
  border-width: 12px;
  margin-left: -12px;
}

body
  #page-container
  .custom-bottoni-tab
  .et_pb_button_module_wrapper.active
  .et_pb_button {
  background-color: #a51c34;
  border-color: #a51c34;
}

/* ====================== FORM RICERCA HOMEPAGE ====================== */


#collapseFiltri {
  background-color: #f9f9f9 !important;
  margin-top: 165px;
}

#collapseFiltri.scroll {
  margin-top: 135px;
}

#collapseFiltri .card {
  background-color: #f9f9f9 !important;
}

#collapseFiltri .card .et_pb_section {
  background-color: #f9f9f9 !important;
}

.search-usato.et_pb_row {
  width: 100% !important;
  margin: 0% 0% 0% 0% !important;
  max-width: 100% !important;
}

#form-ricerca-usato .field-container {
  display: inline-block;
  width: 40%;
  margin-bottom: 2%;
  font-size: 13px;
}
#form-ricerca-usato .field-container .label-container {
  width: 40%;
  display: inline-block;
  text-align: left;
}

#form-ricerca-usato .field-container .input-container {
  width: 55%;
  display: inline-block;
  text-align: left;
}

#form-ricerca-usato .field-container label {
  text-transform: uppercase;
}

#form-ricerca-usato .field-container .input-container input,
#form-ricerca-usato .field-container .input-container select {
  width: 100%;
}

#form-ricerca-usato .form-submit {
  float: right;
}

#main-footer .widget_text i {
  background-color: #052162;
  padding: 0;
  border: none;
  margin-bottom: 1rem;
}

#footer-widgets .footer-widget {
  position: relative;
  margin-bottom: 2%;
}

@media (min-width: 981px) {
  .footer-widget:nth-of-type(2):before,
  .footer-widget:nth-of-type(3):before,
  .footer-widget:nth-of-type(4):before {
    content: "";
    position: absolute;
    background: #000000;
    width: 1px;
    height: 110px;
    right: -30px;
    top: 0;
  }

  .et_pb_section_1 {
    max-width: 95% !important;
  }

  #main-header {
    /* height: 12vh; */
  }

  #logo {
    max-height: 100%;
  }
}
@media (min-width: 981px) and (max-width: 1024px) {
  #et_top_search {
    float: right !important;
    margin: 11px 10px 0 0 !important;
  }

  #top-menu li {
    margin-bottom: 5px;
  }
}
.footer-widget:nth-of-type(2) .textwidget p strong {
  color: #a51c34;
  font-size: 24px;
}

.et_pb_module.et_pb_blurb
  .et_pb_blurb_content
  .et_pb_blurb_container
  h4.et_pb_module_header {
  font-size: 26px;
  width: 100%;
  font-family: "Open Sans Condensed", Helvetica, Arial, Lucida, sans-serif;
}

#intestazione-pagina h1.alternative {
  text-align: right;
  padding-right: 40px;
}

.custom-breadcrumb {
  color: #ffffff;
  float: left;
  padding-top: 10px;
  padding-left: 40px;
  line-height: 35px;
}
.custom-breadcrumb a {
  color: #ffffff;
}

/*
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

.page-template-page-occasioni #page-container #et-main-area{
  display: flex !important;
  flex-direction: column !important;
}

@media (min-width: 1281px) {
  #main-header {
    padding: 0 50px;
  }

  #page-container {
    padding-top: 165px !important;
  }

  #et_top_social {
    float: right;
  }

  .et_pb_row{
    margin: auto!important;
  }

  .swiper-slide {
    min-height: 674px;
  }



  #form-ricerca-usato .field-container .label-container {
    width: 40%;
    display: inline-block;
    text-align: left;
  }

  #form-ricerca-usato .field-container .input-container {
    width: 55%;
    display: inline-block;
    text-align: left;
  }

  #footer-widgets .footer-widget {
    font-size: 14px;
  }

  #form-ricerca-usato .field-container {
    font-size: 17px;
  }

  #form-ricerca-usato .field-container .label-container {
    width: 100%;
    display: inline-block;
    text-align: left;
    font-size: 18px;
  }

  #form-ricerca-usato .field-container .input-container {
    width: 100%;
    display: inline-block;
    text-align: left;
    font-size: 18px;
    line-height: 16px;
  }

  #form-ricerca-usato .field-container .input-container input,
  #form-ricerca-usato .field-container .input-container select {
    width: 100%;
    height: 38px;
    font-size: 20px;
  }
}

/*
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {
  #main-header {
    padding: 0 25px;
  }
  #page-container {
    padding-top: 150px !important;
  }
  .et_header_style_left #logo,
  .et_header_style_split #logo {
    max-width: 95%;
  }

  .et_header_style_left .logo_container {
    position: absolute;
    width: 20%;
    height: 100%;
  }

  .et_header_style_left #et-top-navigation,
  .et_header_style_split #et-top-navigation {
    padding-top: 2% !important;
    padding-left: 0 !important;
    width: 75% !important;
  }

  .et_header_style_left #et-top-navigation nav > ul > li > a,
  .et_header_style_split #et-top-navigation nav > ul > li > a {
    padding-bottom: 15px;
  }

  .nav li {
    position: relative;
    line-height: 0.5em;
  }

  #top-menu li {
    padding-right: 5px;
  }

  #top-menu li a {
    font-size: 15px !important;
  }

  #top-menu-nav {
    width: 85%;
  }

  #et_top_social {
    float: right;
  }

  .swiper-container {
    max-height: 585px;
  }

  .slider-testo {
    font-size: 30px;
    line-height: 70px;
  }

  #intestazione-pagina {
    margin-top: 67px;
  }

  .swiper-slide {
    min-height: 674px;
  }

  #footer-widgets .footer-widget {
    font-size: 12px;
  }

  #form-ricerca-usato .field-container .label-container,
  #form-ricerca-usato .field-container .input-container {
    width: 100%;
    display: inline-block;
    text-align: left;
  }

  #form-ricerca-usato .field-container .input-container input,
  #form-ricerca-usato .field-container .input-container select {
    width: 100%;
    height: 32px;
    font-size: 20px;
  }
}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
  /* HEADER SU SCHERMI MEDI */

  #main-header {
    padding: 0 25px;
  }

  .et_header_style_left #logo,
  .et_header_style_split #logo {
    max-width: 40%;
  }

  #top-menu li {
    padding-right: 7px;
  }

  .nav li {
    position: relative;
    line-height: 0.5em;
  }

  .et_header_style_left #et-top-navigation nav > ul > li > a,
  .et_header_style_split #et-top-navigation nav > ul > li > a {
    padding-bottom: 10px !important;
  }

  .et_header_style_left .logo_container {
    position: absolute;
    width: 65%;
    height: 100%;
  }

  #et_top_social {
    position: absolute;
    right: 115px;
    top: 28px;
  }

  .swiper-container {
    max-height: 625px;
  }

  .slider-testo {
    font-size: 32px;
    line-height: 50px;
  }

  .swiper-slide {
    min-height: 674px;
  }

  #footer-widgets .footer-widget {
    font-size: 14px;
  }

  #form-ricerca-usato .field-container {
    font-size: 13px;
    width: 48%;
  }

  #form-ricerca-usato .field-container .label-container {
    width: 40%;
    display: inline-block;
    text-align: left;
  }

  #form-ricerca-usato .field-container .input-container {
    width: 55%;
    display: inline-block;
    text-align: left;
  }

  #et-top-navigation {
    padding-top: 20px !important;
    min-height: 10vh !important;
  }

  #et_top_search {
    float: left;
    margin: 0 18px 0 0;
  }

  .et_pb_gutters1 .et_pb_column_1_4,
  .et_pb_gutters1.et_pb_row .et_pb_column_1_4 {
    width: 100%;
  }

  .et_pb_gutters1 .et_pb_column_3_4,
  .et_pb_gutters1.et_pb_row .et_pb_column_3_4 {
    width: 100%;
  }
}

/*
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 770px) and (max-width: 1024px) and (orientation: landscape) {
  #main-header {
    padding: 0 25px;
  }

  #footer-widgets .footer-widget {
    font-size: 14px;
  }

  nav#top-menu-nav,
  #top-menu,
  nav.fullwidth-menu-nav,
  .fullwidth-menu {
    width: 85%;
  }

  .et_header_style_left .logo_container {
    position: absolute;
    width: 45%;
    height: 100%;
  }

  .et_header_style_left #logo,
  .et_header_style_split #logo {
    max-width: 100%;
  }

  #logo {
    max-height: 90%;
  }

  #tab1,
  #tab2,
  #tab3,
  #tab4,
  #tab5 {
    font-size: 20px !important;
  }

  #form-ricerca-usato .field-container .label-container {
    width: 100%;
    display: inline-block;
    text-align: left;
    font-size: 18px;
  }

  #form-ricerca-usato .field-container .input-container {
    width: 100%;
    display: inline-block;
    text-align: left;
    font-size: 18px;
    line-height: 16px;
  }

  #form-ricerca-usato .field-container .input-container input,
  #form-ricerca-usato .field-container .input-container select {
    width: 100%;
    height: 42px;
    font-size: 20px;
  }
}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 769px) {
  #main-header {
    padding: 0 25px;
  }



  /* ====================== SLIDER HOMEPAGE ====================== */
  .swiper-slide {
    min-height: 410px;
  }

  .slider-immagine {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    position: absolute;
  }
  .slider-testo {
    padding: 3% 4%;
    background-color: #a51c34;
    width: 50%;
    min-height: 674px;
    float: left;
    text-align: right;
    color: #ffffff;
    font-size: 30px;
    line-height: 50px;
    position: absolute;
  }
  .slider-testo .testo-piccolo {
    font-size: 0.5em;
    line-height: 1em;
  }

  .swiper-container.swiper-container-horizontal > .swiper-pagination-bullets {
    width: 100%;
    right: auto;
    left: 20px;
    text-align: left;
  }
  .swiper-container.swiper-container-horizontal
    > .swiper-pagination-bullets
    .swiper-pagination-bullet {
    background: transparent;
    border: 2px solid #ffffff;
  }
  .swiper-container.swiper-container-horizontal
    > .swiper-pagination-bullets
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #ffffff;
    border: 2px solid transparent;
  }

  /* ====================== TABS HOMEPAGE ====================== */
  #tab1,
  #tab2,
  #tab3,
  #tab4,
  #tab5 {
    font-size: 20px !important;
    padding: 10px !important;
    float: left !important;
    font-size: 22px !important;
  }

  .custom-bottoni-tab {
    text-align: center;
    width: 100% !important;
  }

  .custom-bottoni-tab .et_pb_button_module_wrapper {
    position: relative;
  }

  #form-ricerca-usato .field-container {
    display: inline-block;
    width: 100%;
  }
  .ricerca-wrapper {
    margin: 0 0 !important;
    padding: 10px !important;
    width: 100% !important;
  }

  #form-ricerca-usato .form-submit {
    float: none;
  }

  .form-submit {
    text-align: center;
  }

  .custom-tabs {
    padding-top: 0 !important;
  }

  #custom-tab1 .et_pb_column,
  #custom-tab2 .et_pb_column,
  #custom-tab3 .et_pb_column,
  #custom-tab4 .et_pb_column,
  #custom-tab5 .et_pb_column {
    margin-bottom: 0 !important;
  }
  /* OWL STYLE */

  #riga-owl {
    width: 100%;
    margin: 0 !important;
    padding: 5px !important;
  }

  #footer-widgets .footer-widget {
    font-size: 24px;
  }

  #form-ricerca-usato .field-container .label-container {
    width: 50%;
    display: inline-block;
    text-align: left;
    font-size: 18px;
  }

  #form-ricerca-usato .field-container .input-container {
    width: 45%;
    display: inline-block;
    text-align: left;
    font-size: 18px;
    line-height: 16px;
  }

  #et_top_social {
    position: absolute;
    right: 115px;
    top: 32px;
  }

  #et_top_search {
    margin: 0 18px 0 0;
  }
}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  .et_header_style_left .logo_container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 4%;
    text-align: center;
  }

  .et_header_style_left #logo,
  .et_header_style_split #logo {
    max-width: 100%;
  }

  .et_header_style_left #et-top-navigation {
    min-height: 50px;
    width: 100%;
    padding: 3% !important;
    background-color: #a51c34;
  }

  #et-top-navigation div {
  }
  .mobile_menu_bar::before {
    color: #fff !important;
  }
  #et_top_social {
    display: none;
    float: left;
    width: 25px;
    height: 25px;
    margin-right: 20px;
  }
  #et_top_search {
    display: none;
    width: 25px;
    height: 25px;
    float: left;
    margin-right: 25px;
    /*padding-top:6px;*/
  }
  #et_mobile_nav_menu {
    display: block;
    float: right;
    width: 25px;
    height: 25px;
    margin-right: 20px;
  }

  #et-top-navigation:before {
    content: "MENU";
    color: white;
    position: relative;
    font-size: 20px;
  }

  .et_header_style_split .mobile_menu_bar,
  .et_header_style_left .mobile_menu_bar {
    padding-bottom: 0;
  }

  .et_pb_text_inner {
    text-align: center;
  }

  .et_pb_column_1_4 h3 {
    font-size: 32px;
  }

  /* ====================== SLIDER HOMEPAGE ====================== */
  .swiper-slide {
    min-height: 435px;
  }

  .swiper-container {
    height: 60vh;
  }

  .slider-immagine {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    float: left;
    height: 50%;
  }

  .slider-testo {
    padding: 3% 4%;
    background-color: #a51c34;
    width: 100%;
    max-height: 50%;
    float: left;
    text-align: right;
    color: #ffffff;
    font-size: 22px;
    line-height: 24px;
    position: relative;
    bottom: 0;
    left: 0;
  }

  .slider-testo .testo-piccolo {
    font-size: 0.5em;
    line-height: 1em;
  }

  .swiper-container.swiper-container-horizontal > .swiper-pagination-bullets {
    width: 100%;
    right: 0;
    left: auto;
  }
  .swiper-container.swiper-container-horizontal
    > .swiper-pagination-bullets
    .swiper-pagination-bullet {
    background: transparent;
    border: 2px solid #ffffff;
  }
  .swiper-container.swiper-container-horizontal
    > .swiper-pagination-bullets
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #ffffff;
    border: 2px solid transparent;
  }

  /* ====================== TABS HOMEPAGE ====================== */
  #tab1,
  #tab2,
  #tab3,
  #tab4,
  #tab5 {
    font-size: 20px !important;
    padding: 10px !important;
    float: left !important;
  }

  .custom-bottoni-tab {
    text-align: center;
    width: 100% !important;
  }

  .custom-bottoni-tab .et_pb_button_module_wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 0 !important;
  }

  .custom-bottoni-tab .et_pb_button_module_wrapper a {
    text-align: center;
    width: 100%;
  }

  .custom-bottoni-tab .et_pb_button_module_wrapper.active:after {
    /*top: 100%;*/
    /*left: 50%;*/
    /*content: "";*/
    /*height: 0;*/
    /*width: 0;*/
    /*position: absolute;*/
    /*border: solid transparent;*/
    /*border-top-color: #a51c34;*/
    /*border-width: 12px;*/
    /*margin-left: -12px;*/
  }

  #form-ricerca-usato .field-container {
    display: inline-block;
    width: 100%;
  }

  #form-ricerca-usato .field-container .label-container {
    font-size: 18px;
  }

  #form-ricerca-usato .field-container .input-container {
    font-size: 16px;
    line-height: 16px;
  }

  .ricerca-wrapper {
    margin: 0 0 !important;
    padding: 10px !important;
    width: 100% !important;
  }

  #form-ricerca-usato .form-submit {
    float: none;
    margin-top: 15px;
  }

  .form-submit {
    text-align: center;
  }

  .custom-tabs {
    padding-top: 0 !important;
  }

  #custom-tab1 .et_pb_column,
  #custom-tab2 .et_pb_column,
  #custom-tab3 .et_pb_column,
  #custom-tab4 .et_pb_column,
  #custom-tab5 .et_pb_column {
    margin-bottom: 0 !important;
  }

  /* OWL STYLE */

  #riga-owl {
    width: 100%;
    margin: 0 !important;
    padding: 5px !important;
  }

  .owl-theme .owl-controls {
    position: relative !important;
    top: -15vh !important;
  }

  .owl-prev {
    float: left;
    width: 50px;
    height: 50px;
    font-size: 50px !important;
    line-height: 35px;
    background: white !important;
    color: #a51c34 !important;
  }

  .owl-next {
    float: right;
    width: 50px;
    height: 50px;
    font-size: 50px !important;
    line-height: 35px;
    background: white !important;
    color: #a51c34 !important;
  }

  #footer-widgets .footer-widget {
    font-size: 20px;
  }

  #form-ricerca-usato .field-container {
    font-size: 14px;
  }

  #form-ricerca-usato .field-container .label-container {
    width: 100%;
    display: inline-block;
    text-align: left;
  }

  #form-ricerca-usato .field-container .input-container {
    width: 100%;
    display: inline-block;
    text-align: left;
  }
}

.post-type-archive-usato .box-usato{
  top: 95px;
}

.post-type-archive-usato .box-usato .btn p{
  margin: 0;
}

.box-usato {
  background: #052162;
  height: 85px;
  width: 100%;
  display: flex;
  z-index: 10000;
  padding: 20px 50px;
  top: 85px;
  position: absolute;
  transform: translateY(0px);
  opacity: 1;
  transition: .5s all ease;
}

@media screen and (max-width: 1280px) {
  .box-usato{
    top: 70px;
  }
}

.box-usato .right-col.drow form {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: end;
  margin-right: 1rem;
}

.left-col,
.right-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.left-col.drow,
.right-col.drow {
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  gap: 0 !important;

}

.box-title {
  color: white;
  padding-bottom: 0;
  font-size: 28px;
  font-weight: 600;
}

.box-subtitle {
  color: white;
  font-size: 18px;
  font-weight: 300;
  padding-bottom: 0;
  padding-top: 0.25rem;
}

#main-header {
  top: auto !important;
  position: relative;
}

#ricerca-usato {
  border-radius: 100px;
  height: 32px;
  padding: 0 16px;
  width: 80%;
  margin-right: 1rem;
}

#top-menu .menu-item-has-children > a:first-child:after,
#et-secondary-nav .menu-item-has-children > a:first-child:after {
  top: auto;
}

.header-wrap {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

.bottone-bianco {
  background-color: white !important;
  border-color: white;
  color: #2b335e;
  border-radius: 100px;
  font-size: 14px;
  font-weight: bold;
}

.bottone-bianco:hover,
.bottone-bianco:focus,
.bottone-bianco:active {
  color: #2b335e;
}

#collapseFiltri #intestazione {
  width: 100%;
  max-width: 100%;
}


#form-contatti input[type=text], #form-contatti input[type="email"], #form-contatti textarea {
	    -webkit-appearance: none;
    background-color: #eee;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #999;
    font-size: 14px;
    padding: 16px;
}

#form-contatti .wpcf7-list-item{
margin:0 !important;
}

#detail-contact p{
flex:1;
}

@media (min-width: 768px) {
#form-contatti input[type=text], #form-contatti input[type="email"]{
width:100%;
}


#form-contatti [type=submit]{
    text-transform: uppercase;
    cursor: pointer;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 14px;
    margin: 10px 0;
    display: inline-block;
}

#link-privacy{
color:black !important;
margin-top:1rem;
font-weight: bold;
}

#link-privacy:hover{
background: transparent !important;
}