*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body{
	height: 100%;
	margin:0px;
	overflow: hidden;
  font-family: Helvetica, Roboto, Arial, sans-serif;
}

body {
  position: relative;
}

img {
  max-width: none;
}

#map{
	margin: 0px;
	overflow: hidden;
	z-index: 10;
	-webkit-transform: none !important;
}

#draggable {
	z-index:1000;
}

#locationField {
	margin: 8px !important;
	width: 260px;
	-moz-box-shadow:    2px 2px 3px #888;
	-webkit-box-shadow: 2px 2px 3px #888;
	box-shadow:         2px 2px 2px #888;	
}

#locationInput {
  background-color: #fcfcfc;
  padding: 7px 0 7px 7px !important;
  font-size: 15px;
}

.pac-icon,
.hdpi .pac-icon {
  background-image: url(../img/civipin.png);
  background-size: 16px 18px;
  background-repeat: no-repeat;
  background-position: 0 0;
  opacity: 0.8;
}

#markerInput {
	border: 1px solid #A9BBDF;
	padding-top: 5px;
	text-align: center;
	width: 40px;
	margin: 5px;
	background-color: #FFF;
	-moz-box-shadow:    2px 2px 3px #888;
	-webkit-box-shadow: 2px 2px 3px #888;
	box-shadow:         2px 2px 2px #888;	
}

#alert{
	width: 300px;
	height:80px;
	background-color: #A39D96;
	position: absolute;
	float: left;
	bottom: 10px;
	right: 10px;
	opacity = 0.8;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-webkit-transition: opacity 1s linear;
}

#name{
	background: white;
	border: 1px solid black;
	padding-left: 10px;
}

#content{
	max-height: 0;	
	overflow: hidden;
	-webkit-transition: max-height .3s linear;
    -moz-transition: max-height .3s linear;
    transition: max-height .3s linear;
}

.desktop { display: block; }
.mobile { display: none; }

/*
*  Controls
*/

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  z-index: 1000;
  background-color: #fcfcfc;
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,.8);
  -moz-box-shadow: 0 0 3px rgba(0,0,0,.8);
  box-shadow: 0 0 3px rgba(0,0,0,.8);
}

#header h1 {
  display: inline-block;
  float: left;
  margin: 0;
  padding: 0 10px;
}

#header h1 img {
  width: auto;
  height: 33px;
  margin-top: 6px;
}

.hashtags {
  position: relative;
  margin: 0;
  padding: 0;
  text-align: center;
}

.hashtags .select {
  display: inline-block;
  padding: 6px;
  margin-top: 5px;
  font-size: 14px;
  font-family: Helvetica, Robot, Arial, sans-serif;
  text-align: left;
}
.hashtags .select input {
  margin-top: 10px;
}

#header .subtitle {
  float: right;
  margin-top: 5px;
  margin-right: 10px;
  color: #666;
  font-family: Helvetica, Robot, Arial, sans-serif;
  font-size: 16px;
  line-height: 40px;
  width: 150px;
  text-align: right;
}

#header .subtitle span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.1;
}
#header .subtitle span:first-child {
  font-weight: bold;
  font-size: 13px;
  margin-right: -1px;
  letter-spacing: 0.08em;
}

.zones {
  position: absolute;
  bottom: 10px;
  right: 5px;
  padding: 0 6px;
  background-color: rgba(0,0,0,.4);
  text-align: center;
  border: 1px solid rgba(255,255,255,.4);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  z-index: 501;
}

.zones span {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  line-height: 32px;
  text-transform: uppercase;
  vertical-align: top;
}

.zones ul {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.zones ul li {
  float: left;
  width: 21px;
  margin-left: 4px;
  margin-top: 5px;
  padding: 0;
  list-style: none;
  line-height: 1em;
  background-color: #eee;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.zones ul li i {
  padding: 3px 7px;
  font-size: 13px;
  font-style: normal;
  line-height: 21px;
  color: #111;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.zones ul li.active[data-id="1"] i {
  background-color: #b0120a;
  background-color: rgba(176,18,10,.5);
}

.zones ul li.active[data-id="2"] i {
  background-color: #e51c23;
  background-color: rgba(229,28,35,.4);
}

.zones ul li.active[data-id="3"] i {
  background-color: #ff5722;
  background-color: rgba(255,87,34,.4);
}

.zones ul li.active[data-id="4"] i {
  background-color: #ff9800;
  background-color: rgba(255,152,0,.4);
}

.zones ul li.active[data-id="5"] i {
  background-color: #ffc107;
  background-color: rgba(255,193,7,.4);
}

.zones ul li.active[data-id="6"] i {
  background-color: #ffeb3b;
  background-color: rgba(255,235,59,.4);
}

.tw-share {
  display: block;
  float: left;
  margin-top: 6px;
  margin-left: 20px;
  padding: 1px 12px 2px;
  color: #fff;
  text-decoration: none;
  background-color: #55acee;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	opacity: 0.9;
}
  .tw-share:hover {
    text-decoration: none;
    opacity: 1;
  }

  .tw-share span {
    display: inline-block;
    margin-left: 6px;
    font-size: 14px;
    line-height: 26px;
  }

  .tw-share i {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/twitter-20.png);
    background-position: 1px 4px;
    background-repeat: no-repeat;
  }

#map {
  margin-top: 44px;
}

.civi-myloc {
  display: none;
  position: absolute;
  top: 45px;
  right: 10px;
  color: #222;
  text-shadow: 1px 1px 1px #fff;
  z-index: 500;
}
.civi-myloc:hover {
  background: #fff;
}

.googft-info-window a {
  display: block;
  font-weight: bold;
}
.googft-info-window .civi-dirs {
  margin-top: 5px;
}
.googft-info-window .civi-twt {
  margin-top: 2px;
  color: #3383c0;
}

.googft-info-window .civi-ec {
  font-weight: bold;
  display: inline-block;
  margin-bottom: 3px;
}

.modal {
  display: none;
  padding: 10px;
  background: #eee;
  background: rgba(255,255,255,.95);
  text-align: center;
  width: 260px;
  max-width: 260px;
}

.modal button {
  position: relative;
  background-color: #eee;
  background-image: -webkit-linear-gradient(#fff,#dedede);
  background-image: linear-gradient(#fff,#dedede);
  border: #ccc solid 1px;
  border-radius: 3px;
  color: #333;
  font-weight: bold;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  cursor: pointer;
  height: 18px;
  overflow: hidden;
  height: 28px;
  box-shadow: 0 1px 1px #444;
  margin-bottom: 5px;
}

#share-modal {
  padding: 0;
}

#share-modal h4 {
  margin: 0;
  padding: 10px 0;
  color: #eee;
  background: rgba(0,0,0,.6);
}

#share-modal a {
  display: block;
  padding: 20px 5px;
  color: #000;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
}

#share-modal a:hover {
  background-color: #fff;
}

#share-modal button {
  padding-left: 24px;
}

#dirs-modal a {
  display: block;
  margin: 20px 0;
  font-size: 24px;
  text-decoration: none;
}

#dirs-modal a.civi-amaps {
  color: #02adff;
}

#dirs-modal a.civi-gmaps {
  color: #609323;
}

@media only screen and (max-width: 1025px) {
  .gm-style-iw + div {
    zoom: 0.75;
  }
}

@media only screen and (max-width: 720px) {
  .desktop { display: none; }
  .mobile { display: block; }

  #header h1 img.mobile {
    height: 28px;
    margin-top: 7px;
    margin-right: 15px;
  }

  .zones span {
    font-size: 12px;
  }

  #locationField {
    margin: 6px !important;
  }

  #share-modal {
    max-width: 95%;
  }

  .tw-share {
    margin-left: 0;
    padding: 1px 8px 2px;
  }
  .tw-share i {
    width: 20px;
    height: 20px;
  }

  .civi-myloc {
    top: auto;
    bottom: 45px;
  }
}
