* { box-sizing: border-box; }

body {
  color: #404040;
  font: 400 15px/22px 'Lato', sans-serif;
  font-smoothing: antialiased;
}

h1 {
  font-size: 34px;
  margin: 0;
  font-weight: 700;
  font-family:'PT Serif', serif;
}
h2 {
  font-size:30px;
  margin:0;
  font-weight:700;
  font-family:'PT Serif', serif;
}
a { text-decoration: none;-webkit-transition: background-color 0.4s ease 0s, border 0s ease 0s, color 0.4s ease 0s, opacity 0.4s ease-in-out 0s; -moz-transition: background-color 0.4s ease 0s, border 0s ease 0s, color 0.4s ease 0s, opacity 0.4s ease-in-out 0s; -o-transition: background-color 0.4s ease 0s, border 0s ease 0s, color 0.4s ease 0s, opacity 0.4s ease-in-out 0s; transition: background-color 0.4s ease 0s, border 0s ease 0s, color 0.4s ease 0s, opacity 0.4s ease-in-out 0s;
color:#1478aa;}
a:visited {
    text-decoration: line-through;
  }
a:hover,
a:focus {
  color:#2ca3df;
  text-decoration: none;
  outline: none;
}

.container{width:100%;}

@media (max-width: 767px) {
.sidebar {
  /*padding-top: 60px;*/ /** fixed height .heading **/
  position: absolute;
  width: 100%;
  height: auto;
  top: 0; left: 0;
  overflow: show;
  border-right: 1px solid rgba(0,0,0,0.25);
  float:left;
}
.listings {
  /*display:none;*/ 
}
.map {
  position: absolute;
  left: 0;
  width: 100%;
  top:0; bottom: 0;
  float:left;
  display:none;
}
}
@media (min-width: 768px) {
.sidebar {
  
  /*padding-top: 60px;*/ /** fixed height .heading **/
  position: absolute;
  width: 23%;
  height: 100%;
  top: 0; left: 0;
  overflow: show;
  border-right: 1px solid rgba(0,0,0,0.25);
}
.map {
  position: absolute;
  left: 23%;
  width: 77%;
  top: 0; bottom: 0;
}
}

@media (max-width: 767px) {

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.modal-dialog {
  position: fixed;
  margin: 0;
  width: 100% !important;
  height: 100%;
  padding: 0;
}

.modal-content {
  position: absolute;
  padding:10px;
  width:100% !important;
}


}
/*@media (max-width: 480px) {

.modal-dialog {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
.modal-content {
   width: 460px;
    height: 100%;
    min-height: 100%;
    height: auto;
    border-radius: 0;
}*/

.quiet { color:#fff4f7; color: #888 }

.heading {
  background: #fff;
  border-bottom: 1px solid #eee;
  height: 60px;
  margin-top: -60px;
  line-height: 60px;
  padding: 0 10px;
  color: #428bca;
  text-align:center;
}
.heading h4{
  color: #428bca;
  text-decoration: none;
}
.listings {
  height: 100%;
  overflow: auto;
  font-size: 0.9em
}

.listings .item {
  background-color: white;
  display: block;
  border-bottom: 1px solid #eee;
  padding: 15px;
  text-decoration: none
}

.listings .item > div div {
  margin: 0.4em 0
}

.listings .active a {
  color: white
}

.listings a > img {
  vertical-align: text-bottom
}

.listings .item:last-child { border-bottom: none; }

.listings .item .title {
  display: block;
  color: #0d2e4f;
  font-size:18px;
  font-family:'PT Serif', serif;
  font-weight:bold;
  padding-bottom: 0.2em
}

.listings .item .title small { font-weight: 200; }
/*.listings .item.active .title,
.listings .item .title:hover { color: #8cc63f; }*/
.listings .item:hover { background: #e4e4e4; }
.listings .item.active { background-color: #f8f8f8; }

.listings .active_over {
  background-color: #e4e4e4;
}

.clearfix { display: block; }
.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* Marker tweaks */
.leaflet-popup-close-button {
  /*display: none;*/
  z-index:10000;
}
.leaflet-popup-content {
 /*font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;*/
 /* padding: 5px;
  width: 500px;*/
  z-index:1000;
  position:relative;
  /*background-color:#0C3;*/
}
.leaflet-popup-content-wrapper {
  padding: 5px;
  width: 400px;
  height:auto;
}
.leaflet-popup-content h3 {
  /*background: #98012E;
  color: #fff;
  margin: 0;
  display: block;
  padding: 10px;
  border-radius: 3px 3px 0 0;*/
  font-weight: 300;
  padding: 0px 10px;
  /*margin-top: -15px;*/
}
.leaflet-popup-content img {
  color: #fff;
  margin: 0;
  display: block;
  padding: 0 10px;
  /*border-radius: 3px 3px 0 0;*/
  /*padding: 0 !important;
  /*margin-top: -16px;*/
  /*margin-top: -15px;*/
}
.leaflet-popup-content div {
  padding: 0px 10px;
}

.leaflet-popup-content .city {
  margin-top:-10px;
}

.leaflet-popup-content .hours {
  padding: 10px 10px;
}
.leaflet-popup-content .item {
  background-color: white;
  display: block;
  border-bottom: 1px solid #eee;
  padding: 15px;
  text-decoration: none;
  height:auto;
}

.modal iframe {
  max-height:500px;
}

/*.leaflet-popup-content .item > div div {
  margin: 0 0
}

.leaflet-popup-content .active a {
  color: white
}
*/
/*.leaflet-popup-content img {
  vertical-align: text-bottom;
  padding-top:20px !important;
  width:50%;
  height:50%;
}*/

.leaflet-popup-content .item:last-child { border-bottom: none; }

.leaflet-popup-content .title {
  display: block;
  color: #98012E;
  font-weight: 800;
  font-size: 1.1em;
  padding-bottom: 0.4em
}

.leaflet-popup-content { font-weight: 400; }
.leaflet-popup-content { color: #000000 !important; }
.leaflet-popup-content .active .title,
.leaflet-popup-content .title:hover { color: #8cc63f; }
.leaflet-popup-content .active { background-color: #f8f8f8; }

.leaflet-container .leaflet-marker-icon { cursor: pointer; }

.center
{
  text-align:center;
  padding-bottom:20px !important;
}

@media (min-width: 768px) {
.ui-button {
  background:#1478aa;
  color:#FFF;
  display:block;
  position:absolute;
  bottom:5%;left:30%;
  width:200px;
  margin:-20px 0 0 -80px;
  z-index:100;
  text-align:center;
  padding:10px;
  border:1px solid rgba(0,0,0,0.4);
  border-radius:3px;
  }
  .ui-button:hover {
    background:#B3E5E9;
    color:#fff;
  text-decoration:none;
    }
  .ui-button:visited {
    color:#fff;
  text-decoration:none !important;
    }
}
@media (max-width: 768px) {
.ui-button {
  background:#1478aa;
  color:#FFF;
  display:block;
      position:absolute;
  bottom:5%;left:30%;
  width:200px;
  margin:-20px 0 0 -80px;
  z-index:100;
  text-align:center;
  padding:10px;
  border:1px solid rgba(0,0,0,0.4);
  border-radius:3px;
  }
  .ui-button:hover {
    background:#B3E5E9;
    color:#fff;
  text-decoration:none;
    }
  .ui-button:visited {
    color:#fff;
  text-decoration:none !important;
    } 
}
  
.listings .active {
  background-color: #F90 !important;
  color: #fff4f7;
  -webkit-box-shadow: inset -2px -8px 21px -4px rgba(0,0,0,0.28);
  -moz-box-shadow: inset -2px -8px 21px -4px rgba(0,0,0,0.28);
  box-shadow: inset -2px -8px 21px -4px rgba(0,0,0,0.28);
}

.listings .active .title {
  color: white !important
}
.listings .item .ter { color: #000000 !important; }
.reset
{
  position:absolute;
  z-index:10000;
  top:20px;
  right:20px;
}
/*darko*/
.street_title
{
  text-transform: uppercase;
  color:#326fa5;
}
.address
{
  color: #979797;
  font-size:14px;
}
.marker-legend {
  margin:0;
  padding:0;
  list-style-type:none;
  margin: 10px 0 15px;
}
.marker-legend li {
  display:inline-block;
  margin-right:15px;
  vertical-align:middle;
}
.marker-legend li:last-child {
  margin-right:0;
}
.marker-legend span[class^="key-"] {
 background-position:center center;
 width:10px;
 height:10px;
 border-radius:50%;
 display:inline-block;
}
.marker-legend .key-blue {
  background-image:url(markerbg-blue.png);
  background-repeat:no-repeat;
}
.marker-legend .key-red {
  background-image:url(markerbg-red.png);
  background-repeat:no-repeat;
}
.marker-legend .key-green {
  background-image:url(markerbg-green.png);
  background-repeat:no-repeat;
}
.markerbg,
.markerbg-blue
{
  background-image:url(markerbg-blue.png);
  background-repeat:no-repeat;
  width:33px;
  height:46px;
  position:relative;
}
.markerbg-lightblue
{
  background-image:url(markerbg-lightblue.png);
  background-repeat:no-repeat;
  width:33px;
  height:46px;
  position:relative;
}
.markerbg-red
{
  background-image:url(markerbg-red.png);
  background-repeat:no-repeat;
  width:33px;
  height:46px;
  position:relative;
}
.markerbg-lightred
{
  background-image:url(markerbg-lightred.png);
  background-repeat:no-repeat;
  width:33px;
  height:46px;
  position:relative;
}
.markerbg-green
{
  background-image:url(markerbg-green.png);
  background-repeat:no-repeat;
  width:33px;
  height:46px;
  position:relative;
}
.markerbg-lightgreen
{
  background-image:url(markerbg-lightgreen.png);
  background-repeat:no-repeat;
  width:33px;
  height:46px;
  position:relative;
}
div[class^="markerbg-"] .number
{
  position:absolute;
  top:3px;
  left:4px;
  text-align:center;
  width:24px;
  height:40px;
  color:#FFF;
}
.markerbg .number {
	padding: 5px 0 0 0;
    margin: 0 0 0;
    color: #fff;
  top:5px;
  text-align:center;
}
.modal-title-1
{
  color: #0d2e4f;
  font-size: 24px;
  font-family: 'PT Serif', serif;
    font-weight: bold;
    margin-top: 0.5em;
}
.modal-title-1 small {
      display: block;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    color: #979797;
    font-weight: normal;
    margin-top: 1em;
}
.close
{
  color:#000;
  font-size:32px;
  filter:alpha(opacity=100);opacity:1;
}
.top_search {
  padding:20px;
}

.top_search h2
{
  color: #0d2e4f;
  font-weight:bold;
  margin-bottom:0px;
  line-height:1.2em;
  font-size:20px;
}
.top_search p
{
  font-size:16px;
  margin-bottom:10px;
}
 .form-control {
  font-size: 14px;
  color: #1478aa;
  background-color: #eff0f1;
  background-image: none;
  border: 1px solid #eff0f1;
  border-radius: 0px;
  font-weight:bold;
}
input[placeholder], [placeholder], *[placeholder] {
   color: #1478aa;
  font-weight:bold;
}
.input-group-addon {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  color: #3b3c3b;
  text-align: center;
  background-color: #eff0f1;
  border: 1px solid #eff0f1;
  border-radius: 0px;
}
.modal .modal-dialog {
    width: 70%; /* respsonsive width */
}