/* extra css */

/*MAP POINTS*/
.map-points-search
{
  position: absolute;
  z-index: 100;
  padding: 4px 8px;
  background: #fff;
  display: flex;
  place-items: center;
  margin: 4px;
  border-radius:4px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.map-points-search-form > * {
  margin:2px;
}

.map-points-search-zip {max-width:90px;}
@media (max-width:800px),(max-device-width: 800px){
  .map-points-search-form > * {font-size:1.5rem;}
  .map-points-search {
    position: static;
    margin: 0;
    border-radius: 4px 4px 0 0;
    box-shadow: none;
    width: 100%;
    border: 2px solid rgba(0, 0, 0, 0.1);
  }
}
/*END- MAP POINTS*/
.tabs_h .tab {
  flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  text-align: center;
}

.gallery_item {
  float:left;
  width:calc(100% / 3 - 40px);
  height:auto;
  margin:20px 20px 40px 20px;
  position:relative;
}

.gallery_item a {
  background-repeat: no-repeat;
  background-size:cover;
  display:block;
  width:100%;
  height:400px;
  outline: 2px solid rgba(0,0,0,.2);
  outline-offset: -2px;
  box-shadow: 2px 2px 10px rgba(0,0,0,.2);
}

.gallery_item a:hover {
  outline: 2px solid rgb(24, 119, 198);
  box-shadow: 2px 2px 10px rgba(24, 119, 198, .8);
  transition: outline .25s, box-shadow .25s;
}

.gallery_item.item_logo {
  width:calc(100% / 3 - 40px);
  height:auto;
  background-image:none; /**/
}

.gallery_item.item_logo a {
  height:250px;
  background-position: center center;
}

p {margin: 5px 0;}
a[href^="tel:"]::before, a[href^="sms:"]::before {
  content:'\f095';
  font-family:'fontawesome';
  color:#fff;
  margin-right:5px;
  font-size:3rem;
  vertical-align: middle;
}

a[href^="sms:"]::before {
  content:'\f086';
}

.flexslider {margin-bottom:0px !important;overflow:hidden;}
.flex-control-nav {bottom:0 !important;}

/*footer .grid-column-3-3 {background:url(images/flame.svg) no-repeat center center / 60%;}*/

.heading {background:none;padding-top: 10px;color:#757575;}

.footer-form input
,.footer-form textarea {
  background: #fff;
  border-radius: 4px;
  border: none;
  padding: 6px 10px;
  font-size: 1.6rem;
  width:100%;
}
.footer-form input[type="submit"] {
  display: block;
  padding: 10px 20px;
  margin: 0 auto;
  width: 50%;
  font-weight:bold;
}

.tab_selected a, .tab_selected a:hover, .tab_selected a:visited {
  background:#1877c6;
  color:#fff;
}

main .tabs {width:360px;}
main .tabs_content {width: calc(100% - 360px);}

@media (max-width:1024px),(max-device-width: 1024px){
  .gallery_item,
  .gallery_item.item_logo {width:calc(50% - 40px);}
  .gallery_item.item_logo a {height: calc(100vw / 3.7);}
}

@media (max-width:800px),(max-device-width: 800px){
  main .tabs, main .tabs_content {width: 100%;}
  .gallery_item,.gallery_item.item_logo {width:100%;float:none;margin: 40px 0;}
  .gallery_item.item_logo a {height:calc(100vw / 2.2);}
}