
/**
 * @file
 * CSS for Google Map widget of Geolocation field.
 */

.geolocation-map {
  /* Clear floated elements */
  overflow: auto;
}

.geolocation-map-canvas {
  height: 350px;
  width: 100%;
}

/* Fix Google Maps v3 controls */
.geolocation-map-canvas .gmnoprint img {
  max-width: none;
}

.geocode-controlls-wrapper {
  display: block;
  width: 100%;
  font-size: 14px;
  margin: 1em 0 0 1em;
}

.geocode-controlls-wrapper input,
.geocode-controlls-wrapper button {
  position: relative;
  padding: 0;
  font-size: inherit;
  height: 32px;
  outline: none;
  vertical-align: top;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  text-overflow: ellipsis;
  border: 1px solid transparent;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.geocode-controlls-wrapper input {
  padding: 0 1em;
  border-radius: 2px 0 0 2px;
  background-color: #fff;
  width: 40%;
  max-width: 350px;
  z-index: 2;
}
.geocode-controlls-wrapper input:focus {
  border-color: #4d90fe;
}

.geocode-controlls-wrapper button {
  color: #FFF;
  cursor: pointer;
  height: 32px;
  text-align: center;
}

button.submit {
  background-color: #4d90fe;
  background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
  border-radius: 0 2px 2px 0;
  width: 72px;
}
button.submit::before {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAABVUlEQVRYw+2YQRGEMAxFkVAJlYAEJCABCUhAQiWshJWABCRUAg7+XsrMTkibNDBdDvtnek0fSfqToQPQPeE8AuK5IDkBGAC8AESctQEIAHxXKTUIgB7ACr0CAHcrCIAJNm0A+ltALkAc2jWlKoKkcnCKCdCR0i3p4lNmroJwPRGEgC6VhGo2gaTXUQUhwEQryKsmUOaZU40WEOoTk8Eb3iTGYgGhcgaQmcRYL4N0BjHl+RnIeDuI1iFJ8EBivC0gm7bRCsGj1ktKIIGx6pohNjNZ9RYQnxliTgHRM1a/XrH4kIEZhEzstT0mgeTmBpJZzemJjgk65naTO9aAPvOFtavAWMqKdjHyhcxIW9quGRVVO2uh/lTr8fWMqbEw1cvzV/AlXXico2c884IgwZhADMY2STBNQDQwzUAkmKYgAoxvClKAGZqDMDBb89IwRjlI0/f/W+ID3tQLQPib2qQAAAAASUVORK5CYII=);
  background-size: 17px;
  content: "";
  display: block;
  height: 17px;
  margin: 0 auto;
  width: 17px;
}

button.clear {
  margin: 0 0.5em;
  background-color: #736648;
  background-image: -webkit-linear-gradient(top,#736648,#685C41);
  border-radius: 2px;
  width: 36px;
}
button.clear::before {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAA3CAYAAACo29JGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZD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