.at4-share-outer {
  display: none!important;
}

.map-frame {
  position: relative;
}

#gmap {
  width: 100%;
  height: 800px;
}

#rivenditori_form ul,
#rivenditori_form li {
  display: block;
  padding: 0;
  margin: 0;
}

#search-container,
#results-container {
  box-shadow: 0 0 10px #666;
  background: white none repeat scroll 0 0;
}

#search-container select {
  display: block;
}

#results-container {
  display: none;
}

#search-container {
  margin-bottom: 20px;
}

#rivenditori_form {
  height: 730px;
  left: 110px;
  position: absolute;
  top: 40px;
  width: 450px;
}

#rivenditori_form h2 {
  color: black;
  font-size: 24px;
  padding: 15px 25px;
  border-bottom: 1px solid #DEDEDE;
  margin: 0px;
}

#rivenditori_form li {
  background: #EFEFEF;
  border-top: 1px solid white;
  border-bottom: 1px solid #DEDEDE;
  padding-bottom: 10px;
}

#rivenditori_form li form {
  display: none;
}

#rivenditori_form li.active form {
  display: block;
}

#rivenditori_form ul h3 {
  padding-left: 65px;
  color: black;
  padding-top: 10px;
  cursor: pointer;
  background-position: 25px 13px;
  background-repeat: no-repeat;
}

#rivenditori_form ul h3.italy {
  background-image: url(/Content/images/italy.png);
}

#rivenditori_form ul h3.france {
  background-image: url(/Content/images/france.png);
}

#rivenditori_form ul h3.world {
  background-image: url(/Content/images/world.png);
  background-position: 10px 13px;
}

#rivenditori_form ul form {
  margin-left: 65px;
}

#rivenditori_form ul form .jcf-select {
  width: 170px;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
}

#rivenditori_form ul form .jcf-select .jcf-select-opener:after {
  background: rgba(0, 0, 0, 0) url("../images/arrow-bottom-select-red.svg") no-repeat scroll 0 0 / 100% 100%;
  border: medium none;
  height: 7px;
  margin: -2px 0 0 -7px;
  width: 12px;
}

#rivenditori_form ul form select {
  width: 160px;
  border: 0;
  border-bottom: 1px solid #DDDDDD;
  font-size: 15px;
  padding: 5px;
  display: inline-block;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
}

#rivenditori_form #search-tab div {
  display: inline-block;
  width: 50%;
  color: #999;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  height: 50px;
  line-height: 50px;
  padding-left: 75px;
}

#rivenditori_form #search-tab div.active {
  border-top: 2px solid #D42717;
  height: 52px;
  line-height: 47px;
}

#rivenditori_form #search-tab div.active,
#search-results {
  background-color: #333333;
  color: white;
}

#search-results {
  min-height: 100px;
  max-height: 380px;
  overflow-x: hidden;
  overflow-y: scroll;
}

#search-results .single-dealer,
#search-results .loading {
  border-bottom: 1px solid #666;
  color: #999;
  font-family: "nimbus-sans",Helvetica,Arial,sans-serif;
  font-size: 15px;
  line-height: 21px;
  padding: 30px;
  position: relative;
}

#search-results .loading {
  text-align: center;
  border: 0;
}

#search-results .single-dealer a {
  color: #999;
  text-decoration: none;
}

#search-results .single-dealer strong {
  color: white;
  font-size: 17px;
}

#search-results .loadmore {
  height: 40px;
  width: 100%;
}

#search-results .single-dealer a.gotoMap {
  background: #da251c none repeat scroll 0 0;
  border-bottom: 2px solid #8c130b;
  border-radius: 4px;
  bottom: 20px;
  color: white;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 10px;
  position: absolute;
  right: 30px;
}

.start-image-container:after {
  display: none;
}

#search-tab>div {
  background-position: 27px 13px;
  background-repeat: no-repeat;
  background-size: auto 20px;
}

.tab-moto {
  background-image: url(/Content/images/tab-moto-off.png);
}

.tab-moto.active {
  background-image: url(/Content/images/tab-moto-on.png);
}

.tab-bike {
  background-image: url(/Content/images/tab-bici-off.png);
}

.tab-bike.active {
  background-image: url(/Content/images/tab-bici-on.png);
}

@media all and (max-width: 1300px) {
  #rivenditori_form {
    left: auto;
    right: 30px;
    width: 350px;
  }

  #rivenditori_form ul form {
    margin-left: 17px;
  }

  #rivenditori_form ul form .jcf-select {
    width: 155px;
    margin-right: 5px;
  }

  #rivenditori_form h2 {
    font-size: 20px;
  }

  #rivenditori_form #search-tab div {
    padding-left: 63px;
    font-size: 14px;
  }

  #search-tab > div {
    background-position: 18px 13px;
  }
}

@media all and (max-width: 750px) {
  #gmap {
    display: none;
  }

  #rivenditori_form {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
  }

  #search-container {
    margin-bottom: 0;
  }

  #search-container, #results-container {
    box-shadow: none;
    display: block;
  }

  #search-results {
    max-height: none;
  }

  #rivenditori_form ul form .jcf-select {
    width: 45%;
    margin-right: 5px;
  }

  #search-results .single-dealer a.gotoMap {
    display: none;
  }
}

@media all and (max-width: 360px) {

  #rivenditori_form ul form .jcf-select {
    width: 90%;
    margin-right: 0;
    margin-bottom: 0;
  }

  #rivenditori_form ul form {
    margin-left: 65px;
  }

  #rivenditori_form #search-tab div ,
	#rivenditori_form #search-tab div.active {
    font-size: 14px;
    line-height: 16px;
    padding-left: 65px;
    padding-right: 10px;
    padding-top: 9px;
  }
}
