/* Dealer Map Css */
#dealer-map-error::before {
  content: "";
  width: 4px;
  height: 24px;
  background-color: #ff0000;
  float: left;
  margin-right: 15px;
}
.wp-dealer-map .search_bar {
  background: none repeat scroll 0 0 #f5f5f5;
  border: 1px solid #eeeeee;
  padding: 10px 20px;
  margin-bottom: 15px;
}
#store_map {
  border: 1px solid #dddddd;
  height: 400px;
  font-size: 12px;
  width: 100%;
  float: left;
}
#store_map .name {
  font-weight: bold;
}
#store_map .custom_field_value {
  margin-left: 5px;
}
#store_map label {
  width: auto;
  display: inline;
}
#store_map img {
  max-width: none;
}
.wp-dealer-map .addresses {
  display: block;
  overflow-y: auto;
  width: 100%;
  margin-bottom: 30px;
}
.wp-dealer-map .addresses ul {
  display: flex !important;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: normal;
}
.wp-dealer-map .addresses li:not(.no_stores_found) {
  background: url(../markers/pin-lightblue.png) no-repeat scroll 9px 17px
    transparent;
  clear: both;
  margin: 1rem 0 0 0;
  font-size: 15px;
  line-height: 1.25rem;
  padding: 15px 0;
  min-height: 30px;
  border-bottom: 1px solid #b3b3b3;
  list-style: none;
}
.wp-dealer-map .addresses li.no_stores_found {
  clear: both;
  margin-top: 1rem;
  font-size: 14px;
  line-height: 1.25rem;
}
.wp-dealer-map .addresses ul li .no_stores_found {
  background: none;
}
.wp-dealer-map .addresses .colo-2 {
  flex: 0 49%;
}
.wp-dealer-map .addresses .colo-3 {
  flex: 0 32.33333333%;
}
.wp-dealer-map .addresses .colo-4 {
  flex: 0 24%;
}
.wp-dealer-map .addresses .colo-5 {
  flex: 0 19%;
}
.wp-dealer-map .addresses .colo-6 {
  flex: 0 15.66666667%;
}
.wp-dealer-map .addresses li a {
  width: 75%;
  outline: medium none;
  margin-bottom: 6px;
  text-decoration: none;
  display: inline-block;
}
.wp-dealer-map .addresses li a:hover {
  text-decoration: none;
}
.wp-dealer-map .addresses li a .name {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  text-transform: capitalize;
}
.wp-dealer-map .addresses li a span {
  color: #444;
  line-height: 1.35;
}
.wp-dealer-map .addresses li a .phone {
  color: #e92b2e;
  text-transform: uppercase;
}
.wp-dealer-map .custom_searches {
  display: block;
}
.wp-dealer-map .custom_searches .custom_search_label {
  width: 200px;
  display: inline-block;
}
.wp-dealer-map .custom_searches select,
.wp-dealer-map .main_search_bar input {
  width: 45%;
}
.wp-dealer-map .main_search_label {
  vertical-align: middle;
  margin: 0.4rem 1rem;
  text-transform: uppercase;
  color: #000;
}
.wp-dealer-map .search_filters .search_filter {
  float: left;
  margin-right: 20px;
  width: 154px;
  padding: 2px 0;
}
/* Buton styling */
.wp-dealer-map .search_bar button {
  position: relative;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  margin-left: 10px;
  padding: 0.6rem 1.75rem;
  font-family: arial;
  color: #5d5d5d;
}
.wp-dealer-map .search_bar button:hover {
  color: #9e9e9e;
}
.wp-dealer-map .search_bar button span {
  color: #fafafa;
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(#2196f3),
    to(#03a9f4)
  );
  background-image: linear-gradient(0deg, #2196f3 0%, #03a9f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-filter: drop-shadow(0 2px 2px #2196f3);
  filter: drop-shadow(0 2px 2px #1e88e5);
}
.wp-dealer-map .search_bar button:active {
  position: relative;
  top: 1px;
}
/* Blue gradient button */
.wp-dealer-map .search_bar .blue-gradient {
  color: #f5f5f5;
  border: 1px solid #457eff;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#aadaff),
    to(#008df9)
  );
  background-image: linear-gradient(-180deg, #aadaff 0%, #008df9 100%);
  box-shadow: 0 3px 0.75rem 0 rgba(22, 75, 195, 0.5),
    0 -0.25rem 1.5rem #42c4ff inset,
    0 0.75rem 0.5rem rgba(255, 255, 255, 0.4) inset,
    0 0.25rem 0.5rem 0 #03a9f4 inset;
}
.wp-dealer-map .wp-dealer-map .wp-dealer-map .search_bar .blue-gradient::before,
.wp-dealer-map .search_bar .red-gradient::before,
.wp-dealer-map .search_bar .green-gradient::before,
.wp-dealer-map .search_bar .black-gradient::before {
  content: "";
  display: block;
  height: 0.15rem;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 80%;
  background: #fff;
  border-radius: 100%;
  opacity: 0.6;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0)),
    color-stop(20%, #ffffff),
    color-stop(80%, #ffffff),
    to(rgba(255, 255, 255, 0))
  );
  background-image: linear-gradient(
    -270deg,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 20%,
    #ffffff 80%,
    rgba(255, 255, 255, 0) 100%
  );
}
.wp-dealer-map .search_bar .blue-gradient:hover {
  color: #07388a;
}
/* Red gradient button */
.wp-dealer-map .search_bar .red-gradient {
  color: #f5f5f5;
  border: 1px solid #ff0000;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ff9d95),
    to(#d40e00)
  );
  background-image: linear-gradient(-180deg, #ff9d95 0%, #d40e00 100%);
  box-shadow: 0 3px 0.75rem 0 rgba(244, 67, 54, 0.25),
    0 -0.25rem 1.5rem #791109 inset,
    0 0.75rem 0.5rem rgba(255, 255, 255, 0.4) inset,
    0 0.25rem 0.5rem 0 #ff612f inset;
}
.wp-dealer-map .search_bar .red-gradient:hover {
  color: #63130d;
}
/* Green gradient button */
.wp-dealer-map .search_bar .green-gradient {
  color: #fff;
  border: 1px solid #4caf50;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#c7ffc9),
    to(#4caf50)
  );
  background-image: linear-gradient(-180deg, #c7ffc9 0%, #4caf50 100%);
  box-shadow: 0 3px 0.75rem 0 #f2fff3, 0 -0.25rem 1.5rem #8bc34a inset,
    0 0.75rem 0.5rem rgba(255, 255, 255, 0.4) inset,
    0 0.25rem 0.5rem 0 #cad83c inset;
}
.wp-dealer-map .search_bar .green-gradient:hover {
  color: #0a5d0d;
}
/* White gradient button */
.wp-dealer-map .search_bar .white-gradient {
  color: #454545;
  border: 1px solid #777;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fafafa),
    to(#fff)
  );
  background-image: linear-gradient(-180deg, #fafafa 0%, #fff 100%);
  box-shadow: 0 3px 0.75rem 0 #fafafa, 0 -0.25rem 1.5rem #e0e0e0 inset,
    0 0.75rem 0.5rem rgba(255, 255, 255, 0.1) inset,
    0 0.25rem 0.5rem 0 #fff inset;
}
.wp-dealer-map .search_bar .white-gradient:hover {
  color: #999;
}
/* Black gradient button */
.wp-dealer-map .search_bar .black-gradient {
  color: #f2f2f2;
  border: 1px solid #f2f2f2;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#3a3a3c),
    to(#000)
  );
  background-image: linear-gradient(-180deg, #3a3a3c 0%, #000 100%);
  box-shadow: 0 3px 0.75rem 0 #9e9e9e, 0 -0.25rem 1.5rem #212121 inset,
    0 0.75rem 0.5rem rgba(255, 255, 255, 0.4) inset,
    0 0.25rem 0.5rem 0 #757575 inset;
}
.wp-dealer-map .search_bar .black-gradient:hover {
  color: #9e9e9e;
  border: 1px solid #000;
}
.wp-dealer-map .search_bar .main_search_bar {
  width: 50%;
  float: left;
}
.wp-dealer-map .search_bar .main_search_bar p {
  line-height: 0.6;
  margin-bottom: 0.375em;
}
.wp-dealer-map .search_bar .search_limit,
.wp-dealer-map .search_bar .search_within_distance {
  float: left;
  text-align: center;
}
.wp-dealer-map .search_bar .search_limit {
  min-width: 20%;
}
.wp-dealer-map .search_limit_label,
.wp-dealer-map .main_search_label,
.wp-dealer-map .distance_label {
  display: inline-block;
  font-weight: 700;
}
.wp-dealer-map .search_bar .main_search_bar input,
.wp-dealer-map .search_bar .search_within_distance select,
.wp-dealer-map .search_bar .search_limit select {
  margin-bottom: 0;
  outline: none;
}
.wp-dealer-map .search_bar .main_search_bar input {
  padding: 0.345rem 1rem;
}
.wp-dealer-map .search_bar .search_within_distance select,
.wp-dealer-map .search_bar .search_limit select {
  padding: 0.345rem 0.225rem;
  min-width: 140px;
}
.wp-dealer-map .distance {
  color: #999999;
  float: left;
  font-size: 11px;
  width: 52px;
  height: 35px;
  margin-top: 30px;
}
.wp-dealer-map .search_filters {
  border-top: 1px solid #e5e5e5;
  clear: both;
  margin: 10px 0 0;
  padding-top: 10px;
}
.wp-dealer-map .store_finded {
  clear: both;
  display: block;
  padding: 15px;
  width: 100%;
  overflow: hidden;
  text-transform: uppercase;
}
.wp-dealer-map .store_finded h3 {
  font-size: 22px;
  font-weight: 700;
}
.wp-dealer-map .header_html {
  margin-bottom: 10px;
}
.wp-dealer-map .footer_html {
  margin-top: 15px;
}
.wp-dealer-map .applicable_filter {
  background: url("../markers/checkmark.png") no-repeat scroll 0 1px transparent;
  padding: 2px 10px 0 16px;
  float: left;
}
.wp-dealer-map .directions {
  clear: both;
  padding-top: 5px;
}
.wp-dealer-map .directions a {
  color: red;
}
.wp-dealer-map .directions a:hover {
  color: darkred;
}
.wp-dealer-map .addresses .store_website,
.store_website_container,
.wp-dealer-map .addresses .directions {
  margin-left: 52px;
}
.wp-dealer-map .addresses .store_website li,
.wp-dealer-map .addresses .directions li {
  width: auto;
}
#submitBtn {
  display: inline-block;
  float: right;
}
.wp-dealer-map .gm_popup .store_website_container {
  margin: 0;
}
.wp-dealer-map .website_text_span {
  font-weight: bold;
}
.wp-dealer-map .store_website_container a {
  margin: 0 !important;
}
.wp-dealer-map .store_website_container a:hover {
  text-decoration: underline !important;
  color: #0aa5df;
}
.wp-dealer-map .directions a:hover {
  text-decoration: underline;
}
/* ============== DIRECTIONS ==============  */
#directions_text a.return_to_results {
  margin-bottom: 15px;
}
#directions_text #direction_destination {
  background: url("../markers/pin-black.png") no-repeat scroll 7px 13px
    transparent;
  border-bottom: 1px dotted #dddddd;
  color: #333333;
  font-size: 12px;
  padding: 10px 0 10px 40px;
}
#directions_text #direction_destination .name {
  font-weight: bold;
  display: block;
}
#directions_text .directions_step {
  border-bottom: 1px dotted #dddddd;
  color: #333333;
  font-size: 11px;
  padding: 10px 10px 10px 0px;
}
#directions_steps .directions_step_distance {
  float: right;
  color: #999;
}
#directions_text {
  display: block;
  height: 400px;
  overflow: hidden;
  padding-right: 7px;
  width: 31%;
}
#directions_steps {
  height: 72%;
  overflow-y: auto;
}
#directions_steps .directions_instructions {
  float: left;
  width: 175px;
}
#directions_steps .directions_step_id {
  width: 20px;
  float: left;
}
/*Responsive Maps*/
@media only screen and (max-width: 1170px) and (min-width: 600px) {
  .wp-dealer-map .search_limit {
    margin-bottom: 10px;
  }
  .wp-dealer-map .addresses .colo-5 {
    flex: 0 32.33333333%;
  }
  .wp-dealer-map .addresses .colo-6 {
    flex: 0 32.33333333%;
  }
}
@media (max-width: 800px) {
  .wp-dealer-map .search_bar .main_search_bar {
    width: 100%;
    margin-bottom: 15px;
  }
  .wp-dealer-map .main_search_label {
    width: auto;
    margin-right: 10px;
    padding-top: 7px;
  }
  .wp-dealer-map .main_search_bar input {
    width: 200px;
  }
  .wp-dealer-map .search_bar .search_within_distance,
  .wp-dealer-map .search_bar .search_limit {
    text-align: left;
    margin-right: 15px;
    margin-bottom: 12px;
  }
  .wp-dealer-map .search_within_distance {
    min-width: 25%;
  }
  #directions_steps .directions_instructions {
    width: auto;
    float: none;
  }
  .wp-dealer-map .addresses li a {
    width: 120px;
    float: none;
  }
  .wp-dealer-map .addresses .directions {
    float: none;
    margin-top: 0;
    width: auto;
  }
  #directions_steps .directions_step_distance {
    display: block;
    float: none;
  }
  .wp-dealer-map .directions_instructions {
    display: inline;
    float: none;
    width: auto;
  }
  .wp-dealer-map .store_website a {
    word-break: break-all;
  }
}
@media (max-width: 650px) {
  #submitBtn {
    display: block;
    float: left;
    width: 100%;
  }
  #store_map {
    width: 100%;
    float: none;
  }
  .wp-dealer-map .addresses {
    width: 100%;
    height: auto !important;
  }
  .wp-dealer-map .addresses li a {
    width: auto;
    display: inline-block;
  }
  .wp-dealer-map .addresses .directions {
    float: none;
    margin-left: 7px;
    margin-right: 7px;
  }
  .wp-dealer-map .addresses .directions a {
    margin-bottom: 0;
  }
  #directions_text {
    width: 100%;
    margin-top: 20px;
  }
  #directions_steps .directions_instructions {
    float: left;
    width: 80%;
  }
  #directions_steps .directions_step_distance {
    float: right;
  }
}
@media (max-width: 510px) {
  .wp-dealer-map .search_bar .main_search_bar {
    width: auto;
    float: none;
  }
  .wp-dealer-map .main_search_label {
    margin-left: 0;
    margin-bottom: 5px;
  }
  .wp-dealer-map .search_bar button {
    height: 34px;
    width: 80px;
    display: block;
    margin: 0;
    clear: both;
  }
  .wp-dealer-map .search_bar .search_within_distance,
  .wp-dealer-map .search_bar .search_limit {
    margin-bottom: 10px;
  }
  .wp-dealer-map .search_bar .search_within_distance .distance_label {
    margin-right: 11px;
  }
  .wp-dealer-map .search_bar .search_limit .search_limit_label {
    margin-right: 19px;
  }
  #submitBtn {
    display: block;
    float: none;
    width: 100%;
  }
  .wp-dealer-map .search_filters .search_filter {
    width: 50%;
    margin: 0;
  }
  #store_map {
    height: 250px !important;
  }
  .wp-dealer-map .addresses .colo-6,
  .wp-dealer-map .addresses .colo-5,
  .wp-dealer-map .addresses .colo-4,
  .wp-dealer-map .addresses .colo-3 {
    flex: 0 49%;
  }
}
