@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('fonts/glyphicons-halflings-regular.eot');
  src: url('fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('fonts/glyphicons-halflings-regular.woff') format('woff'), url('fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
#locationlocator
{
    width:100%;
}
#locationlocator td
{
    border:1px solid #c1c1c1;
}

.mmlmap
{
    float:left;
    margin-right:5px;
}
#resulttop
{ 
    border-spacing: 1px;
    color: #666666;
    width: 100%;
    float:left;
}
.locationphone,.item-hour

{
    display:block;
    font-weight: 700;    
}
#resulttop .row0  {
    border: 4px solid #EEEEEE; border-radius: 2px; padding: 5px;
    border-radius:0 0 6px 6px;
}
#resulttop .row1  {
    background: none repeat scroll 0 0 #F9F9F9;
    border: 1px solid #A8A5A5;
    padding: 5px;
    border-radius:0 0 6px 6px;
}
.location-name
{
    position: relative;
    font-size: 16px;
}
.distance
{
    float:right;
}
#locationresult
{
    float: left;
    margin-top: 10px;
    position: relative;
    margin-bottom: 10px;

}
#map
{
    border:1px solid;
    float:left;
}

#locationsearch_div #map
{
    float:left;
}
#locationsearch_div #matrix
{
    float:right;
}
#maps
{
    width:100%;
    height:100%;
    float:left;
}
#udetails
{
    float:left;
    margin:4px;
}
a.jspArrow:hover{
    background:none;
}

.jspContainer{
    overflow: hidden;
    position: relative;
}

.jspPane{
    position: absolute;
}

.jspVerticalBar{
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 100%;
}

.jspHorizontalBar{
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 10px;
}

.jspVerticalBar *,.jspHorizontalBar *{
    margin: 0;
    padding: 0;
}

.jspCap{
    display: none;
}

.jspHorizontalBar .jspCap{
    float: left;
}

.jspVerticalBar .jspArrow{
    height: 16px;
}

.jspHorizontalBar .jspArrow{
    width: 16px;
    float: left;
    height: 100%;
}

.jspVerticalBar .jspArrow:focus{
    outline: none;
}

.jspCorner{
    float: left;
    height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner{
    margin: 0 -3px 0 0;
}

.horizontal-only {
    height: auto;
    max-height: 200px;
}


.jspArrowUp{
    background: url("images/up.png") no-repeat scroll center 0 transparent;
}
a.jspArrowUp:hover {
    background: url("images/up.png") no-repeat scroll center 0 transparent;
    opacity: 0.3;
}


.jspArrowDown{
    background: url("images/down.png") no-repeat scroll center 0 transparent;
}
a.jspArrowDown:hover {
    background: url("images/down.png") no-repeat scroll center 0 transparent;
    opacity: 0.3;
}


.jspArrowRight{
    background: url("images/right.png") no-repeat scroll 0 center transparent;
}
a.jspArrowRight:hover {
    background: url("images/right.png") no-repeat scroll 0 center transparent;
    opacity: 0.3;
}


.jspArrowLeft {
    background: url("images/left.png") no-repeat scroll 0 center transparent;
}
a.jspArrowLeft:hover {
    background: url("images/left.png") no-repeat scroll 0 center transparent;
    opacity: 0.3;
}

.jspTrack{
    position: relative;
    padding:1px;
}

.jspDrag{
    position: relative;
    top: 0;
    left: 0;
    cursor: pointer;
}

.jspHorizontalBar .jspDrag{
    float: left;
    height: 100%;
}

.jspHorizontalBar .jspTrack{
    float: left;
    height: 100%;
}

.jspDisabled{
    opacity: 0.3;
}

.jspArrow{
    text-indent: -20000px;
    display: block;
    cursor: pointer;
}
.jspDrag {
    background: none repeat scroll 0 0 #FFFFFF;
}
.jspTrack {
    background: none repeat scroll 0 0 #CCCCCC;
}
.mmlmap img, #map img
{
    max-width: none !important;
}
.location
{
    float: left;
    margin-top: 10px;
    width: 20%;

}
.loclist h3,.loclist 
{
    float:left;
    width:100%;
}

/* MAP LOCATIONS --------------------------------------*/
#locationlocator{ 
    width:100%; 
    min-height:338px; 
    float:none; 
    clear:both; 
    display:inline-block; 
    background:url('images/map-background.jpg') no-repeat; 
    position:relative; 
    margin:0px!important; 
    padding:0px!important;
}

#locationlocator .innerLeft { 
    width:100%; min-height:338px; 
    float:none; 
    clear:both; 
    display:inline-block; 
    position:relative; 
}

#locationlocator .innerLeft .innerRight { 
    width:100%; 
    min-height:338px; 
    float:none; 
    clear:both; 
    display:inline-block; 
    position:relative; 
}

#locationlocator .mymap-group { 
	width:40%; 
	display:inline-block; 
	text-align:center; 
	float:left; 
}

#locationlocator .mymap-group .mymap-success { 
	height:auto !important; 
	width:80%; 
	display:inline-block; 
	text-align:center; 
	margin:0px 10%; 
	padding:20px 0px; 
	-webkit-border-radius: 2px; 
	-moz-border-radius: 2px; 
	border-radius: 2px;
	font-size: 16px; 
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
 	background: #2980b9;
 	border: 0;
 	cursor: pointer;
  	box-shadow: inset 0 -2px #2475ab;
}

#locationlocator .mymap-group .mymap-success:active {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#locationlocator .mymap-group .mymap-success:hover { 
	opacity:0.8; 
	filter:alpha(opacity=80);
	color: #fff; 
}

#locationlocator .mymap-group .mymap-success i { 
	margin-right:10px; 
}

#locationlocator .mymap-group h2, #locationlocator #locationsearch_div h2 { color:#444 !important; font-weight:normal; font-size:19px!important; background:url('images/h2_bkg.png') top center no-repeat; height:47px; line-height:30px; margin:100px auto 0px auto;  }
#locationlocator .separatorLoc{ width:20%; display:inline-block; text-align:center; float:left; margin:150px 0 110px 25px; }
#locationlocator .separatorLoc h5 { 
	color:#fff!important; 
	font-weight:normal; 
	font-size:32px; 
	background: none repeat scroll 0 0 rgba(68, 68, 68, 0.7); 
	width:75px; 
	height:75px; 
	line-height:70px; 
	margin:0px auto; 
	-webkit-border-radius: 50px; 
	-moz-border-radius: 50px; 
	border-radius: 50px;
}

#locationlocator #locationsearch_div { 
	width:40%; 
	display:inline-block; 
	text-align:center; 
	float:right; 
	padding:0px; 
	margin:0px; 
}

#locationlocator #locationsearch_div .input-append { 
	width:60%; 
	text-align:center; 
	margin:19px 10% 0px 10%; 
	padding:15px 10%; 
	border-radius: 4px; 
	background: #f7f7f7;
  display:flex;
}

#locationlocator #locationsearch_div .input-append #searchinput,#locationlocator #locationsearch_div .input-append #searchpostal  { 
	background:white!important; 
	border:none !important; 
	color: #422b18 !important; 
	-webkit-border-radius: 2px; 
	-moz-border-radius: 2px; 
	border-radius: 2px; 
	box-shadow:none !important; 
	width:70%; 
	float:left; 
	min-height: 25px;
}

#locationlocator #locationsearch_div .input-append .mymap-primary { 
	width:auto; 
	display:inline-block; 
	text-align:center; 
	line-height: 22px;
	-webkit-border-radius: 2px; 
	-moz-border-radius: 2px; 
	border-radius: 2px; 
	font-size: 15px; 
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
 	background: #2980b9;
 	border: 0;
 	cursor: pointer;
  box-shadow: inset 0 -2px #2475ab;
  margin-left: 3px;
    color: #fff;
}

address span.label.label-important.distance span {
color: #fff !important;
font-size:0.9em;
padding:0 4px;
}

#locationlocator #locationsearch_div .input-append .mymap-primary:active {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#locationlocator #locationsearch_div .input-append .mymap-primary:hover { 
	opacity:0.9; 
	filter:alpha(opacity=90);
	color: #fff; 
}

button.mymap.mymap-primary.resultmymap, a.mymap.mymap-inverse.resultmymap, button.sample.mymap.custom.large.a.pull-right.mymap-danger.button, a.mymap.mymap-warning.resultmymap, a.modal.resultmymap.mymap.mymap-success { 
    width:auto; 
    display:inline-block; 
    text-align:center; 
    line-height: 22px;
    border: 0;
    cursor: pointer;
    margin-left: 3px;
    color: #1f1d22;
    text-decoration: none;
    padding: 4px;
}

button.mymap.mymap-primary.resultmymap:active, a.mymap.mymap-inverse.resultmymap:active, button.sample.mymap.custom.large.a.pull-right.mymap-danger.button:active, a.mymap.mymap-warning.resultmymap:active {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

button.mymap.mymap-primary.resultmymap:hover, a.mymap.mymap-inverse.resultmymap:hover, button.sample.mymap.custom.large.a.pull-right.mymap-danger.button:hover, a.mymap.mymap-warning.resultmymap:hover {
    color:#1f1d22;
    background:transparent;
}

#maps { 
	margin:10px 0px 10px 0px; 
}

#locationresult { 
	float:right; width:38%; margin-top:0px!important; 
}
#resulttop .row0, #resulttop .row1 {
margin-bottom:10px; 
background: #f8f8f8;
border: 0;
padding: 10px 5px 0px 5px;
position: relative;
}
.sidebar_locations .row0,.sidebar_locations .row1
{
  float: left;
  width: 96%;

}

.location-name { 
	margin-left:5px; 
}

.location-location { 
	position:relative; left:5px; 
}

.location-name a { 
	color:#444 !important; 
	text-decoration: none;
}

span.item-map{margin-top:10px; display:inline-block; width:90%; margin-left:5%;}
body.location{ width:100%; margin:0px; }

table.adp-directions, table.adp-placemark{ border:none!important; }
table.adp-directions td, table.adp-placemark td{ border:none!important; }
table.adp-placemark, table.adp-placemark td{ background:none!important; font-weight:bold; color:#422B18 !important; }
#resultpanel button.sample{ position:relative; left:-15px; }

.cwell{
    padding: 20px;
}
#locationresult address
{
    width:100%;
}

#locationresult address
{
    width:100%;
}
#locationlocator .element-invisible,#locationlocator .page-header
{
    display: none;
}
.mmlmap h2
{
 
    font-size:30px;
}

#locationsearch_div .filter-select
{
    display: block !important;
}

#locationlocator .span1
{
    width:15%;
    float:left;
}
.maplist
{
    margin-bottom: 4px;
}
.contact .modal,.item-map .modal
{
    left: 0px;
    margin: 0;
    position: relative;
    width: auto;
    right: 0px;
    top: 0px;
}
.pac-container, .pac-item {
    width: inherit !important;
}
.adv-search input.labelauty + label
{
  background:#cccccc;
}
#filter_catid,#radius,#resultpanel
{
    background: none repeat scroll 0 0 #EEEEEE;
}


.mml-print,
.mml-back,
.mml-search,
.mml-screenshot,
.mml-filter,
.mml-map-marker,
.mml-calendar,
.mml-home,
.mml-icon-search,
.mml-user,
.mml-hand-right,
.mml-icon-remove-circle,
.mml-icon-geolocation,
.mml-icon-align-justify,
.mml-icon-screenshot,
.mml-edit {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mml-print:before {
  content: "\e045";
}
.mml-back:before {
  content: "\e091";
}
.mml-search:before {
    content: "\e003";
  }
  .mml-screenshot:before {
    content: "\e087";
  }
  .mml-filter:before {
    content: "\e001";
  }
.backbtn
{
  padding-right:10px;
}
.cmml-toolbar
{
    float:right;
    width:10%;
}
.maplist
{
    max-width: 200px;
}

.mml-map-marker:before {
  content: "\e062";
}
.mml-calendar:before {
  content: "\e023";
}
.mml-home:before {
  content: "\e021";
}
.mml-icon-search:before {
  content: "\e003";
}

.mml-user:before {
  content: "\e008";
}
.mml-hand-right:before {
  content: "\e145";
}
.mml-icon-remove-circle:before
{
    content: "\e014";
}
.mml-icon-geolocation:before
{
content:"\e087";
}

.mml-icon-align-justify:before
{
  content:"\e003";
}
.mml-icon-screenshot:before
{
 content:"\e087"
}
.mml-edit:before
{
 content:"\270f"; 
}
.tag-search
{
  float:left;
  width:100%;
}
#map-location.form-inline div.tag-search label
{
  padding:5px;
  line-height:15px;
}
.mmlmap .mymap-icon
    {
    max-width:100px;
    max-height: 100px;
    display: inline-block;
    height: auto;
    transition: all 0.2s ease-in-out 0s;
     float:left;
      margin: 0px 2px;
    }
    .sidebar-icon
    {
    max-width:80px;
    max-height: 80px;
    display: inline-block;
    padding: 4px;
     margin:4px 0px;
    transition: all 0.2s ease-in-out 0s;
    float:left;
    margin-right:20px;

    }
    .location-name {
    margin: 0 0 10px;
        margin-left: 0px;
    font-weight: 600;
    letter-spacing: .2px;
    font-size: 17px;
}

@media (min-width: 979px) {
  #locationlocator
  {
    background-size: 100% 338px;
  }
}
@media (min-width: 768px) and (max-width: 979px) { 
    #locationlocator .mymap-group h2, #locationlocator #locationsearch_div h2{ font-size:17px!important; background:url('images/h2_bkg.png') no-repeat; width:100%; line-height:30px; }
}

@media (min-width : 481px) and (max-width : 767px) { 
    #locationlocator .mymap-group{ width:80%; display:inline-block; text-align:center; margin:0px 10%; float:none; clear:both; }
    #locationlocator .separatorLoc{ width:100%; display:inline-block; text-align:center; float:none; clear:both; margin:20px 0px 0px 0px; }
    #locationlocator .mymap-group h2, #locationlocator #locationsearch_div h2{ margin:30px auto 0px auto;  }
    #locationlocator #locationsearch_div{ width:80%; display:inline-block; text-align:center; margin:0px 10%; float:none; clear:both; }
    #locationlocator #locationsearch_div .input-append{  width:60%; display:inline-block; text-align:center; margin:19px 10% 0px 10%; padding:15px 10% 0px 10%; -moz-border-radius: 9px; border-radius: 9px; border:1px solid #eeeeee; background: #eeeeee; }
#locationlocator .span1
{
    width:100%;
    float:left;
}
#locationlocator .mymap-group h2, #locationlocator #locationsearch_div h2
{
  margin:0px auto 0px;
}

}

@media (max-width: 480px) { 
    #locationlocator .mymap-group{ width:80%; display:inline-block; text-align:center; margin:0px 10%; float:none; clear:both; }
    #locationlocator .separatorLoc{ width:100%; display:inline-block; text-align:center; float:none; clear:both; margin:20px 0px 0px 0px; }
    #locationlocator .mymap-group h2, #locationlocator #locationsearch_div h2{ margin:30px auto 0px auto; width:100%; font-size:13px!important; line-height:21px; font-weight:bold; }
    #locationlocator #locationsearch_div{ width:80%; display:inline-block; text-align:center; margin:0px 10%; float:none; clear:both; }
    #locationlocator #locationsearch_div .input-append{  width:60%; display:inline-block; text-align:center; margin:19px 10% 0px 10%; padding:15px 10% 0px 10%; -moz-border-radius: 9px; border-radius: 9px; border:1px solid #c3b6ac; background: #cfc5bd; }
#locationlocator .span1
{
    width:100%;
    float:left;
}
#locationlocator .mymap-group h2, #locationlocator #locationsearch_div h2
{
  margin:0px auto 0px;
}
#locationlocator
{
  background-repeat: repeat-y;
}
}
@media (max-width: 560px) { 
    #locationresult,#map,.mmlmap
    {
        width:100% !important;
        float:left;
    }
}
.textbold
{
  font-size: 20px;
  font-weight: bold;
}
span.star-rating-wrap {
	width:98px;
	display:inline-block;
	height:23px;
	background-position: left bottom;
	background-repeat:no-repeat;
	border-radius: 7px;
}

span.star-rating-wrap span {
	width:100%;
	display:inline-block;
	height:22px;
	background-position: left top;
	background-repeat:no-repeat;
	float: left;
}
span.star-rating-wrap, span.star-rating-wrap span{background-image:url(images/stars-large.png) ;}
.google-avatar{
 background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    float: left;
    height: 60px;
    margin: 0 10px 10px 0;
    width: 60px;
    }
    #map .gm-style-iw h3
    {
      display:block;
    }
    #locationsearch_div #cal_event_id,#locationsearch_div #cal_event_endid
    {
      max-width:100px;
    }
    #locationsearch_div .calendar-append
    {
      display:inline;
    }
    

#resulttop .resultbar .locationsactive
{
	background: #fafafa;
	box-shadow:10px 10px 12px #eeeeee;
	border-top:3px solid #cccccc !important;
}

#location-form input, #location-form #filter_catid_chzn ,#location-form .chzn-container
{
  max-width: 300px !important;
}
#mmlloading
{
 position: absolute;
left: 40%;
display:none;
margin-top:15%;
}
#mmlloading {
  border: 16px solid #c7c7c7;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#maps .infoboxdata
{
height:300px;
overflow:auto;
width:100%;
}
.noresult
{
  box-sizing: border-box;
  clear: both;
  width: 100%;
  margin: 16px 0;
  padding: 16px 18px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #f8f9fa;
  color: #5f6368;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
#maps.mml-no-location-results > .mmlmap,
#maps.mml-no-location-results > .result-count,
#maps.mml-no-location-results > #locationresult
{
  display: none !important;
}
#resulttop .row0 p,#resulttop .row1 p
{
  float:left;width:100%;position:relative;
  font-size: 15px;
  color: #1f1d22;
}
/* CSS Document */

#locationlocator {  background-size: cover;padding: 20px 0 !important;}
#locationlocator .row-fluid {
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 15px;
}
#locationlocator .mymap-group .mymap-success {
    background: #009aff;
    border: 0;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .3px;
    -webkit-box-shadow: 0 10px 25px rgba(0, 154, 255, 0.25);
	-moz-box-shadow: 0 10px 25px rgba(0, 154, 255, 0.25);
		box-shadow: 0 10px 25px rgba(0, 154, 255, 0.25);
}
#locationlocator .mymap-group, #locationlocator #locationsearch_div {
    background: #fff;
	width: 40%;
    padding: 40px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
		border-radius: 3px;
}
#locationlocator .mymap-group .mymap-success, 
#locationlocator #locationsearch_div .input-append .mymap-primary {
    -webkit-text-shadow: none;
    -moz-text-shadow: none;
        text-shadow: none;
}
#locationlocator .mymap-group h2, #locationlocator #locationsearch_div h2 {
    background: transparent;
    margin: 0;
    font-size: 22px !important;
    color: #000 !important;
    height: auto;
    margin-bottom: 30px;
    letter-spacing: .3px;
    line-height: 1.2;
    white-space: pre-line;
}
#locationlocator .span1:before {
    content: '';
    position: absolute;
    top: -75px;
    height: 190px;
    left: 50%;
    border-left: 2px solid #fff;
    z-index: -1;
    margin-left: -1px;
}
#locationlocator .span1 {
    width: 17%;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 0;
}
#locationlocator .separatorLoc {
    width: auto;
    margin: 0;
	float: none
}
#locationlocator .separatorLoc h5 {
    font-size: 14px;
    text-transform: lowercase;
    font-weight: 500;
    width: 40px;
    height: 40px;
    line-height: 40px;
}
#locationlocator .mymap-group .mymap-success {
    display: block;
    margin: 0;
    
}
#locationlocator .mymap-group .mymap-success { width: 100%}
#locationlocator #locationsearch_div .input-append {
    padding: 0;
    width: auto;
    background: transparent;
    position: relative;
  	margin-bottom: 10px;
}
#locationlocator #locationsearch_div .input-append #searchinput, 
#locationlocator #locationsearch_div .input-append #searchpostal {
    width: 100%;
    padding: 0px 0px 0px 45px;
    background: #f4f3f4 url(images/locPointer.png) 20px center no-repeat !important;
    height: 50px;
    font-size: 15px;
	z-index: 2;
	float: none;
    border: 1px solid #e8e8e8 !important;
}
#locationlocator #locationsearch_div .input-append .mymap-primary {
    height: 50px;
    margin: 0;
	background: #009aff;
    border: 0;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .3px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
		box-shadow: none;
	-webkit-border-radius: 0 2px 2px 0;
    -moz-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
}
select#radius {float: left;}
select#filter_catid { float: right}
select#radius, select#filter_catid,select#country_list,select#state_list,select#city_list,select.mmlcategory_list,select.maplist {
    width: 100%;
    background: #fff url(images/selectIcn.png) 95% center no-repeat;
    height: 40px;
    padding: 5px 25px 5px 20px;
    font-size: 15px;
    color: #000;
	-webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
	outline: none;
    border: 1px solid #e8e8e8 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    margin-bottom: 10px;
}
.result-count p .badge-info {
    background: transparent;
    font-size: 19px;
    padding: 0;
    font-weight: normal;
    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    text-shadow: none;
}
.result-count p {
    font-size: 18px;
    margin: 10px 0px 20px 0px;
    color: #1f1d22;
}
.mmldir-search-fields-form-elem select#filter_catid,.mmladv-search select#country_list,.mmladv-search select#state_list,.mmladv-search select#city_list {
  width:24%;
  min-width: 150px;
}
#locationlocator .mymap-group h2 + br, #locationlocator #locationsearch_div h2 + br { display: none}
.tag-search { margin-top: 5px}
#map-location.form-inline div.tag-search label {
    padding: 5px 10px;
    line-height: 15px;
    min-width: inherit !important;
    font-size: 12px;
    margin: 5px 8px 5px 0;
}
#map-location.form-inline div.tag-search label:hover { background-color: #ddd}
#locationlocator, #locationlocator .innerLeft, #locationlocator .innerLeft .innerRight { min-height: inherit}
input.labelauty + label > span.labelauty-unchecked-image {
    width: 10px;
    height: 10px;
    background-size: 100% auto;
}
input.labelauty + label > span.labelauty-unchecked-image, input.labelauty + label > span.labelauty-checked-image,
input.labelauty + label > span.labelauty-unchecked, input.labelauty + label > span.labelauty-checked { vertical-align: middle}
#locationlocator .mymap-group .mymap-success, body .mmldir-search-fields-form-elem .mymap.mymap-primary.resultmymap, body .mmldir-search-fields-form-elem .mymap.mymap-primary.resultmymap:hover {
    border: 0;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .3px;
}

body .mmldir-search-fields-form-elem .mymap.mymap-primary.resultmymap {
    height: 50px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width:120px;
}
body .sidebarform .mmldir-search-fields-form-elem .mymap.mymap-primary.resultmymap {
    height: 50px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width:80%;
    margin-bottom: 20px;
    background-color:#f4f3f4;

}
body .sidebarform .mmldir-search-fields-form-elem .mymap.mymap-primary.resultmymap:hover,body .mmldir-search-fields-form-elem .mymap.mymap-primary.resultmymap:hover 
{
   box-shadow: 1px 1px 12px #eee;
   background-color: #f4f3f4;
}
.mmldir-search-fields .mmldir-search-fields-form-elem .mmlinput-distance
{
  margin-top:-10px;
}
body .sidebarform .mmldir-search-fields .mmldir-search-fields-form-elem .mmlinput-distance
{
 width:80%;
 margin-top:0px;
}
.mmlsearch input#searchname {
    background: #f4f3f4;
    height: 50px;
    border: 1px solid #e8e8e8;
    margin: 0 !important;
    vertical-align: top;
}
body .mmlinput-sec .rangeslider--horizontal {
    height: 4px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;

}
body .mmlinput-sec .rangeslider__handle {
    height: 20px;
    width: 20px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

body .mmlinput-sec .rangeslider__handle {
    height: 20px;
    background: #fff;
    border: 5px solid #009aff;
    width: 20px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#locationresult .resultbar .locationaddress
{
  margin-left: 70px;
display: block;

}

#maps .mmlmap {
    margin-bottom: 0;
    float: none !important;
}

.mml_address .address
{
        margin-bottom: 10px;
    border: 0;
    position: relative;
}
.mml-pagination
{
  float: left;
}
.mmlmap .leaflet-popup-content
{
  min-width:100px;
}
@media screen and (max-width: 979px) {
    .sidebarform .mmldir-search-fields {  padding: 30px 15px 6px 15px }
    #maps .sidebarform .mmldir-search-fields-form-elem + .mmldir-search-fields-form-elem { margin: 0 }
}
@media screen and (max-width: 850px) {
    #locationlocator { padding: 50px 0 !important}
    #locationlocator .mymap-group, #locationlocator #locationsearch_div {padding: 20px;}
    
}
@media screen and (max-width: 767px) {
    #locationlocator { padding: 30px 0 !important}
    #locationlocator .row-fluid { display: block; }
    body { padding: 0 } 
    #locationlocator .mymap-group, #locationlocator #locationsearch_div, #locationlocator .span1 {
        float: none;
        margin: 0 auto;
        width: 92%;
        max-width: 470px;
    }
    #locationlocator .span1 {
        position: relative;
        padding: 20px 0;
    }
    #locationlocator .span1:before {
        width: 190px;
        border: 0;
        height: 2px;
        background: #fff;
        top: 50%;
        left: 50%;
        margin-left: -95px;
    }
    #locationlocator #locationsearch_div form#map-location { margin: 0}
    #locationlocator #locationsearch_div .controls:before,
    #locationlocator #locationsearch_div .controls:after { content: ''; display: table; clear: both; }
    .mmldir-search-fields-form-elem { width: 50%;}
    .mmldir-search-fields-form-elem.form-elem-category { clear: left}
    .mmldir-search-fields-form-elem + .mmldir-search-fields-form-elem {
        width: 100%;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 10px;
        float: none;
        top: inherit;
    }
    body .mmldir-search-fields-form-elem .mymap.mymap-primary.resultmymap {
        margin: 0;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        width: 80%;
    }
  
    .mmlsearch-block.input-append #searchinput
    {
      width:60%;
    }
    #maps .sidebarform .mmldir-search-fields-form-elem + .mmldir-search-fields-form-elem { margin-bottom: 20px}
    #maps span.sidebarform
    {
         width: 100%;
        background: #fff;
        position: static;
        display: block;
        height: auto !important;
        margin-bottom: 30px;
    }

}

  .mmldir-search-fields-form-elem select#radius, .mmldir-search-fields-form-elem select#filter_catid
  {
    margin-top:10px !important;
  }
  #locationresult #resulttop address
  {
    width:80%;
  }
    #locationresult #resulttop .row0, #locationresult #resulttop .row1 { width: 100% }
    .mmldir-search-fields-form-elem .mmlsearch-query {  width: 100% !important}
@media screen and (max-width: 480px) {
  .mmldir-search-fields-form-elem,.mmlinput-sec.mmlinput-distance {
    width: 100% !important;
    margin-bottom: 10px;
    float:left;
    margin-top:0px;
}
#map-location .mmldir-search-fields-form-elem select#filter_catid,#map-location  .mmladv-search select#country_list,#map-location  .mmladv-search select#state_list,#map-location  .mmladv-search select#city_list
{
  width:90%;
}
#map-location .mmldir-search-fields-form-elem input#searchname,#map-location .mmldir-search-fields-form-elem input#searchzipcode
{
  width:90% ;  
}
.mmlinput-sec.mmlinput-distance
{
  max-width: 90%;
}
    #locationlocator #locationsearch_div .input-append { border: 0; padding: 0 }
    #locationlocator #locationsearch_div .input-append .mymap-primary {
        position: static;
        width: 100%;
        display: block;
        margin: 10px 0 0;
        border-radius: 2px;
        -webkit-box-shadow: 0 10px 25px rgba(0, 154, 255, 0.25);
        -moz-box-shadow: 0 10px 25px rgba(0, 154, 255, 0.25);
        box-shadow: 0 5px 21px rgba(0, 154, 255, 0.25);
    }
    select#radius, select#filter_catid {
        float: none;
        width: 100%;
        margin: 5px 0;
        height: 40px;
        padding: 5px 25px 5px 15px;
    }
    #locationlocator .mymap-group .mymap-success {
        height: 50px !important;
        padding: 10px;
    }
    #locationlocator .mymap-group h2, #locationlocator #locationsearch_div h2 {
        margin: 5px 0 20px;
        font-size: 18px !important;
    }
    .sidebar-icon {   max-width: 40px}
    #locationresult address .mytool { float: none; }
    #locationresult address { padding: 20px 20px 0;}
    .label-important, .badge-important,
     body #resulttop .label-important,body #resulttop  .badge-important { font-size: 11px;top: 15px; padding: 4px 7px;}
    #locationresult address > a { top: 17px; left: 15px }
    #locationlocator .row-fluid { padding: 0 10px}
    #map-location.form-inline div.tag-search label { padding: 4px 10px;}
    .mmldir-search-fields-form-elem {  width: 100%; margin-bottom:  10px}
    .mmldir-search-fields-form-elem.form-elem-category { margin-top:  10px }
    .mmlinput-sec { padding: 10px 0 0   }
    #maps span.sidebarform {
        width: 100%;
        background: #fff;
        position: static;
        display: block;
        height: auto !important;
        margin-bottom: 30px;
    }
    span.sidebarform .mmlinput-sec .label { color: #333;}
    .sidebarform .mmldir-search-fields { padding: 10px 5px}
    #maps .sidebarform .mmlsearch input#searchname, 
    span.sidebarform .SumoSelect,
    #maps .sidebarform .mmlsearch-block.input-append #searchinput { border: 1px solid #e8e8e8}
    #maps .result-count { padding: 30px 15px 10px}
}

#resulttop .row0.featured,#resulttop .row1.featured
{
  background: #fbf0d1;
}
.MicrosoftMap .as_container ul li
{
  text-align: left;
}
#autosuggest .twitter-typeahead
{
  vertical-align:top;
}
.search-price-range
{
    width:80px;
    padding:8px 10px;
}
.tags.inline li{list-style-type:none;}
#map-location #autosuggest .search-query.tt-hint{ width:30PX;}
.plainform select#radius,.plainform  select#filter_catid,.plainform  select#country_list,.plainform  select#state_list,.plainform  select#city_list,.plainform  select.mmlcategory_list,.plainform  select.maplist
{
    margin-top:5px;
}
.plainform {padding-bottom: 10px;}
.plainform input[type="text"],.plainform input[type="search"]{
    background-color: transparent;
border: none;
  border-bottom-color: currentcolor;
  border-bottom-style: none;
  border-bottom-width: medium;
border-radius: 0;
outline: none;
padding: 0;
box-shadow: none;
box-sizing: content-box;
transition: all 0.3s;
}
.plainform  .mymap.mymap-primary{background:transparent;border:none;}
.plainform  .submit.mymap.mymap-primary{width:36px;}
.plain  #resulttop .row0,.plain  #resulttop .row1{background:transparent; border:none;}

@media screen and (max-width: 680px) {.well.plainform{width:100% !important;}}

/* Weekly opening hours: applied only when the stored Hours value matches the
   canonical seven-line schedule generated by the administrator helper. */
.mml-hours-card {
    display: inline-block;
    width: min(100%, 360px);
    margin: 10px 0 4px;
    overflow: hidden;
    vertical-align: top;
    color: inherit;
    background: rgba(127, 127, 127, .045);
    border: 1px solid rgba(127, 127, 127, .22);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .055);
}
.mml-hours-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.25;
    border-bottom: 1px solid rgba(127, 127, 127, .18);
}
.mml-hours-card-title .mml-calendar {
    margin: 0;
}
.mml-hours-grid {
    display: grid;
    padding: 5px 0;
}
.mml-hours-row {
    display: grid;
    grid-template-columns: minmax(88px, .8fr) minmax(150px, 1.2fr);
    align-items: start;
    gap: 12px;
    padding: 6px 12px;
    font-size: .86rem;
    line-height: 1.35;
}
.mml-hours-row:not(:first-child) {
    border-top: 1px solid rgba(127, 127, 127, .10);
}
.mml-hours-day {
    font-weight: 650;
}
.mml-hours-value {
    min-width: 0;
    text-align: right;
}
.mml-hours-slot {
    display: block;
    white-space: nowrap;
}
.mml-hours-slot + .mml-hours-slot {
    margin-top: 3px;
}
.mml-hours-dash {
    display: inline-block;
    margin: 0 5px;
    opacity: .55;
}
.mml-hours-row.is-closed .mml-hours-value {
    opacity: .68;
    font-style: italic;
}
.mml-hours-fallback-break,
.mml-hours-fallback-separator,
.mml-hours-fallback-slot-separator {
    display: none;
}
@media (max-width: 480px) {
    .mml-hours-card {
        width: 100%;
    }
    .mml-hours-row {
        grid-template-columns: minmax(76px, .7fr) minmax(0, 1.3fr);
        gap: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .mml-hours-slot {
        white-space: normal;
    }
}


/* Google Places (New) official autocomplete widget.
 * Keep Google's own prediction UI; only size the host so it fits legacy MML forms.
 */
.mml-google-place-autocomplete {
    display: inline-block;
    width: min(100%, 420px);
    min-width: 220px;
    max-width: 100%;
    vertical-align: top;
    box-sizing: border-box;
    font-family: Roboto, Arial, sans-serif;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
}
.mml-google-autocomplete-host .mml-google-place-autocomplete {
    flex: 1 1 auto;
}
@media (max-width: 680px) {
    .mml-google-place-autocomplete {
        width: 100%;
        min-width: 0;
    }
}

/* Template-neutral repair for the core category selector. Some Joomla templates
 * leak display typography/spacing into the native select, making "Select Category"
 * appear spread out or vertically misaligned. This does not change its data/options.
 */
#map-location select#filter_catid,
#map-location .SumoSelect > .CaptionCont,
#map-location .SumoSelect > .CaptionCont > span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    text-align: left !important;
    line-height: 1.35 !important;
}
#map-location select#filter_catid {
    min-height: 44px;
    padding: 8px 36px 8px 12px !important;
    box-sizing: border-box !important;
    white-space: nowrap;
}
#map-location select#filter_catid option {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

/* Google Places (New) PlaceAutocompleteElement: shared MML form integration.
 * The legacy input is hidden when the official Google widget is mounted, so
 * legacy #searchinput sizing no longer applies. Keep Google's native UI and
 * fit it cleanly into Simple, Sidebar, Full Width and Modern search forms. */
#map-location .mml-google-place-autocomplete {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e5e9 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #333 !important;
    color-scheme: light !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    vertical-align: top !important;
}

#map-location .mml-google-place-autocomplete::part(input) {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    outline: 0 !important;
    background: transparent !important;
    color: #333 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 48px !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

#map-location .mml-google-place-autocomplete::part(focus-ring) {
    border-radius: 4px !important;
    outline: 2px solid rgba(0, 154, 255, .25) !important;
    outline-offset: 0 !important;
}

#map-location .mml-google-place-autocomplete::part(prediction-list),
#map-location .mml-google-place-autocomplete::part(prediction-item),
#map-location .mml-google-place-autocomplete::part(prediction-item-main-text),
#map-location .mml-google-place-autocomplete::part(prediction-item-secondary-text),
#map-location .mml-google-place-autocomplete::part(prediction-item-match),
#map-location .mml-google-place-autocomplete::part(prediction-item-nonmatch) {
    font-family: Roboto, Arial, sans-serif !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

/* Simple layout: Google widget occupies the same space as the old 50px input. */
#locationlocator #locationsearch_div .input-append.mml-google-autocomplete-host {
    align-items: stretch !important;
}
#locationlocator #locationsearch_div .input-append.mml-google-autocomplete-host .mml-google-place-autocomplete {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 50px !important;
    border-radius: 2px 0 0 2px !important;
}
#locationlocator #locationsearch_div .input-append.mml-google-autocomplete-host .mml-google-place-autocomplete::part(input) {
    border-radius: 1px 0 0 1px !important;
}

/* Sidebar + Full Width: the legacy geolocation addon must not overlap Google's
 * own clear button. Give it a dedicated 44px column beside the widget. */
#map-location .mmlsearch-block.mml-google-autocomplete-host {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
}
#map-location .mmlsearch-block.mml-google-autocomplete-host .mml-google-place-autocomplete {
    grid-column: 1 !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 4px 0 0 4px !important;
}
#map-location .mmlsearch-block.mml-google-autocomplete-host .mml-google-place-autocomplete::part(input) {
    border-radius: 3px 0 0 3px !important;
}
body #map-location .mmlsearch-block.mml-google-autocomplete-host .add-on-geolocation {
    grid-column: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    float: none !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e5e9 !important;
    border-left: 0 !important;
    border-radius: 0 4px 4px 0 !important;
    background-color: #f4f3f4 !important;
    box-sizing: border-box !important;
    z-index: 1 !important;
}
body #map-location .mmlsearch-block.mml-google-autocomplete-host .add-on-geolocation .geocode {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Modern/plain: preserve the existing compact row and its three action buttons. */
#map-location .plainsearch.mml-google-autocomplete-host {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px 42px 42px !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
}
#map-location .plainsearch.mml-google-autocomplete-host .mml-google-place-autocomplete {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 6px !important;
}
#map-location .plainsearch.mml-google-autocomplete-host .mml-google-place-autocomplete::part(input) {
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
    border-radius: 5px !important;
}

@media (max-width: 680px) {
    #map-location .mml-google-place-autocomplete {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    #map-location .mmlsearch-block.mml-google-autocomplete-host {
        grid-template-columns: minmax(0, 1fr) 44px !important;
    }
}

/* Azure Maps autocomplete: keep the existing layout width, hide the empty
 * suggestion surface, and only show a clean dropdown when results exist. */
.azure-mml-autocomplete {
    position: absolute !important;
    z-index: 10000 !important;
    display: none;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    border: 0 !important;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
}

.azure-mml-autocomplete-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #e8eaed;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
    color: #202124;
    font-family: Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

.azure-mml-autocomplete-item:last-child {
    border-bottom: 0;
}

.azure-mml-autocomplete-item:hover,
.azure-mml-autocomplete-item.is-active {
    background: #f5f7fa;
}

.azure-mml-autocomplete-pin {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-top: 1px;
    border-radius: 50%;
    background: #f1f3f4;
}

.azure-mml-autocomplete-pin::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 7px;
    width: 8px;
    height: 8px;
    border: 2px solid #4b5563;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-sizing: border-box;
}

.azure-mml-autocomplete-copy {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.azure-mml-autocomplete-primary,
.azure-mml-autocomplete-secondary {
    display: block;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.azure-mml-autocomplete-primary {
    color: #202124;
    font-size: 14px;
    font-weight: 600;
}

.azure-mml-autocomplete-secondary {
    margin-top: 2px;
    color: #5f6368;
    font-size: 13px;
    font-weight: 400;
}

/* Azure popup route UI: route controls sit below the location description
 * instead of colliding with Details/other popup actions. */
.azure-mml-popup {
    min-width: 240px;
    max-width: 380px;
    padding: 10px;
    box-sizing: border-box;
}

.azure-mml-popup-description {
    display: block;
    margin: 0 0 10px;
}

.azure-mml-route-row {
    display: flex;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
}

.azure-mml-route-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 6px 8px !important;
    box-sizing: border-box !important;
}

.azure-mml-route-button {
    flex: 0 0 auto;
    min-height: 36px;
    margin: 0 !important;
    white-space: nowrap;
}

.azure-mml-route-summary {
    min-height: 0;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: #5f6368;
}

@media (max-width: 480px) {
    .azure-mml-route-row {
        flex-wrap: wrap;
    }
    .azure-mml-route-input,
    .azure-mml-route-button {
        width: 100% !important;
    }
}

/* Azure Maps popup: isolate MML location content from template typography and
 * keep location actions readable inside the compact Atlas popup. */
.azure-mml-popup {
    width: 320px;
    max-width: calc(100vw - 64px);
    min-width: 0;
    padding: 12px 14px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #202124;
    text-align: left;
    letter-spacing: normal;
    word-spacing: normal;
}

.azure-mml-popup .azure-mml-popup-description,
.azure-mml-popup .azure-mml-popup-description * {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: normal;
    word-spacing: normal;
    text-align: left;
}

.azure-mml-popup .location-title {
    display: block;
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.azure-mml-popup .location-title a {
    color: #202124;
    text-decoration: none;
}

.azure-mml-popup .location-title a:hover {
    text-decoration: underline;
}

.azure-mml-popup .myaddress,
.azure-mml-popup .locationaddress {
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #3c4043;
}

.azure-mml-popup .detailsicon {
    margin-left: 0;
    padding-left: 0;
}

.azure-mml-popup .resultmymap.mymap.mymap-inverse {
    margin-top: 7px;
    margin-right: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: normal;
}

.azure-mml-route-block {
    clear: both;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.azure-mml-route-label {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #3c4043;
}

.azure-mml-route-input {
    border: 1px solid #c7c7c7 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #202124 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
}

.azure-mml-route-button {
    border-radius: 3px !important;
    padding: 6px 12px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
}

/* Azure turn-by-turn panel shown under the map after a route is calculated. */
.azure-mml-directions {
    box-sizing: border-box;
    width: 100%;
    padding: 18px 20px;
    background: #fff;
    color: #202124;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    letter-spacing: normal;
    word-spacing: normal;
}

.azure-mml-directions-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.azure-mml-directions-title {
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.azure-mml-directions-from,
.azure-mml-directions-to {
    margin-top: 2px;
    color: #5f6368;
    overflow-wrap: anywhere;
}

.azure-mml-directions-meta {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.azure-mml-directions-meta span {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 12px;
    background: #f1f3f4;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.azure-mml-directions-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: azure-mml-step;
}

.azure-mml-directions-steps li {
    position: relative;
    margin: 0;
    padding: 12px 8px 12px 42px;
    border-bottom: 1px solid #ececec;
    counter-increment: azure-mml-step;
}

.azure-mml-directions-steps li::before {
    content: counter(azure-mml-step);
    position: absolute;
    top: 12px;
    left: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef4fb;
    color: #1f5f9f;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

.azure-mml-step-text {
    font-weight: 500;
    color: #202124;
}

.azure-mml-step-meta {
    margin-top: 3px;
    font-size: 12px;
    color: #6b7280;
}

.azure-mml-directions-empty {
    padding: 16px 0 4px;
    color: #6b7280;
}

@media (max-width: 600px) {
    .azure-mml-popup {
        width: 280px;
        max-width: calc(100vw - 48px);
    }
    .azure-mml-directions {
        padding: 14px;
    }
    .azure-mml-directions-head {
        display: block;
    }
    .azure-mml-directions-meta {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

.azure-mml-directions-route {
    max-width: 720px;
    color: #5f6368;
    overflow-wrap: anywhere;
}


/* Azure RC3: interactive popup routing and explicit From/To directions panel. */
.azure-mml-popup,
.azure-mml-popup * {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-align: left;
}
.azure-mml-popup {
    pointer-events: auto !important;
}
.azure-mml-popup input,
.azure-mml-popup button,
.azure-mml-popup a,
.azure-mml-popup .azure-mml-route-row,
.azure-mml-popup .azure-mml-autocomplete {
    pointer-events: auto !important;
}
.azure-mml-route-input {
    position: relative;
    z-index: 3;
    user-select: text;
    -webkit-user-select: text;
    cursor: text !important;
}
.azure-mml-route-row {
    position: relative;
    overflow: visible;
}
.azure-mml-route-row .azure-mml-autocomplete {
    z-index: 2147483000;
}
.azure-mml-route-to {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 8px;
    align-items: start;
    margin: 3px 0 8px;
    padding: 7px 9px;
    border-radius: 6px;
    background: #f7f9fc;
    color: #3c4043;
    font-size: 13px;
    line-height: 1.35;
}
.azure-mml-route-endpoint-label,
.azure-mml-directions-endpoint-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: .04em !important;
}
.azure-mml-route-endpoint-value {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
    color: #202124;
}
.azure-mml-directions-title {
    margin: 0 0 12px;
}
.azure-mml-directions-endpoints {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}
.azure-mml-directions-endpoint {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #202124;
}
.azure-mml-directions-endpoint-value {
    min-width: 0;
    overflow-wrap: anywhere;
}
.azure-mml-directions-endpoint-address {
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.35;
}
.azure-mml-directions-meta {
    justify-content: flex-start;
    margin: 0 0 8px 62px;
}


/* Azure popup content is rebuilt from semantic pieces instead of reusing the
 * legacy icon spans/classes. This prevents Details/Contact controls escaping
 * the Atlas popup and avoids inherited float/icon-font rules. */
.azure-mml-popup-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}
.azure-mml-popup-title-link {
    color: #202124;
    text-decoration: none;
}
.azure-mml-popup-title-link:hover,
.azure-mml-popup-title-link:focus {
    text-decoration: underline;
}
.azure-mml-popup-address {
    display: block;
    margin: 0;
    color: #3c4043;
    font-size: 14px;
    line-height: 1.45;
}
.azure-mml-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}
.azure-mml-popup-action {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    color: #1a73e8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}
.azure-mml-popup-action:hover,
.azure-mml-popup-action:focus {
    text-decoration: underline;
}

/* The Modern/plain layout has a later inline `color: inherit` rule for the
 * distance span. Keep the distance text readable on its accent badge. */
#resulttop .label-important.distance,
#resulttop .label-important.distance .distance {
    color: #fff !important;
}

/* Azure popup action icons: keep these collision-free from legacy mml-* icon rules. */
.azure-mml-popup-action-icon {
    flex: 0 0 auto;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.azure-mml-popup-action-icon-details {
    background-image: url("images/detailsIcn.png");
}
.azure-mml-popup-action-icon-contact {
    background-image: url("images/contactIcn.png");
}
.azure-mml-popup-action-label {
    display: inline-block;
    line-height: 18px;
}


/* Azure Route action uses the extension's existing route icon asset. */
.azure-mml-route-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.azure-mml-route-button-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: url("images/routeIcn.png") center / contain no-repeat;
}
.azure-mml-route-button-label {
    display: inline-block;
    line-height: 18px;
}

/* OpenStreetMap OSRM routing (Leaflet Routing Machine).
   Keep the polyline on the map, but place the itinerary in MML's existing
   results/directions column. The below-map infobox is only a fallback when
   a sidebar/result panel is not present. */
#resultpanel.osm-mml-route-panel {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-y: auto !important;
}
#locationresult.osm-mml-route-active {
  overflow: hidden !important;
}
#locationdir.osm-mml-route-content {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 0 0;
}
.infoboxdata.osm-mml-route-panel {
  width: 100%;
  clear: both;
  box-sizing: border-box;
  margin-top: 10px;
  overflow: visible !important;
}
.osm-mml-route-panel .leaflet-routing-container.osm-mml-routing-external {
  float: none !important;
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  background: #fff;
  color: #222;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
.osm-mml-route-panel .leaflet-routing-container h2,
.osm-mml-route-panel .leaflet-routing-container h3,
.osm-mml-route-panel .leaflet-routing-container table,
.osm-mml-route-panel .leaflet-routing-container td,
.osm-mml-route-panel .leaflet-routing-container th {
  font-family: inherit;
}
.osm-mml-route-panel .leaflet-routing-container .leaflet-routing-alt {
  max-height: 420px;
  overflow: auto;
}
.osm-mml-route-panel .osm-mml-route-endpoints {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.12);
  background: rgba(248,249,250,.98);
}
.osm-mml-route-panel .osm-mml-route-endpoint {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 8px;
  align-items: start;
  margin: 2px 0;
  color: #222;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
}
.osm-mml-route-panel .osm-mml-route-endpoint strong {
  font-weight: 700;
}
.osm-mml-route-panel .osm-mml-route-endpoint span {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .osm-mml-route-panel .leaflet-routing-container .leaflet-routing-alt {
    max-height: 320px;
  }
}
