
* {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  margin: 0px;
  padding: 0px;
}

#container {
  display: block;
  position: absolute;
  width: 320px;
  margin-left: auto;
  margin-right: auto;
  top: 0px;
  bottom: 0px;
}

#banner {
  text-align: center;
  position: absolute;
  top: 0em;
  left: 0em;
  right: 0em;
  height: 3em;
  padding: .5em;
  border-bottom: 0em solid #000;
  background-color: #000;
  color: #fff;
}

#logo {
  display: block;
  position: absolute;
  top: 0em;
  left: 0em;
  display: none!important;
  height: 100%;
  margin: 0em;
  padding: 0em;
//  height: 2.8em!important;
//  padding: .1em;
}

#logo img {
  height: 2.8em;
  padding: .1em;
  margin: 0em;
}

#banner h1 {
  display: inline;
  color: #fff;
  font-size: 2em;
  margin: 0em;
  padding: 0em;
  font-weight: normal;
}

#banner a {
  color: #fff;
  text-decoration: none;
}

em {
  color: #f00;
  font-style: normal;
}

#debug {
  display: none;
  position: absolute;
  top: 3em;
  left: 0em;
  right: 0em;
  bottom: 0em;
  padding: 1em;
  background-color: rgba(0,0,0,0.8);;
  color: #fff;
  z-index: 999;
  overflow: scroll;
}

#login {
  position: absolute;
  top: 2.5em;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1em;
  font-size: 1.1em;
  overflow: auto;
  z-index: 2;
}

#locate {
  position: absolute;
  z-index: 1;
  top: 2.5em;
  left: 0px;
  right: 0px;
  bottom: 0px;
  postition: absolute;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1em;
  font-size: 1.1em;
  overflow: auto;
}

#locate a {
  display: block;
  text-decoration: none;
  color: #fff;
  margin: .5em;
}

#locate a:hover {
  color: #f00;
}

#locate img, #login img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
}

#locate input, #login input {
  font-size: .9em;
  color: #f00;
  border: 1px solid #fff;
  background-color: #000;
  padding: .5em;
  border-radius: 12px;
}

#locate input[type=text] {
  color: #000;
  background-color: #fff;
}

#locate input[type=button], #locate input[type=submit], #filters input[type=button], #login input[type=button] {
  cursor: pointer;
}

#possible {
  font-weight: normal;
  color: #f00;
}

#filters input[type=button] {
  font-size: .9em;
  color: #000;
  border: 1px solid #000;
  background-color: #f00;
  padding: .5em;
  border-radius: 12px;
  box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
}

#locate input[type=text] {
  width: 12em;
  font-size: 1em;
}

#locate span, #login span, #filters label {
  display: block;
  margin: .5em;
}

#filters {
  display: none;
  position: absolute;
  top: 2.5em;
  left: 0px;
  bottom: 0px;
  right: 0px;
  overflow: scroll;
  background-color: #fff;
  color: #000;
  padding: 1em;
  text-align: center;
  font-size: 1.2em;
}

#filters h2 {
  margin: 0em;
  color: #000;
}

#filters label.last {
  text-align: center;
  padding: 1em;
}

#filters input[type=text] {
  width: 3em;
}

#meta {
  display: none;
  position: absolute;
  top: 3em;
  height: 2em;
  left: 0px;
  right: 0px;
  text-align: center;
  padding: .5em 0em .5em 0em;
//  padding-bottom: 0em;
  background-color: #f00;
}

#meta a {
  color: #000!important;
}

#meta a:hover {
  color: #fff!important;
}

#results {
  display: none;
  position: absolute;
  top: 5em;
  bottom: 3em;
  right: 0px;
  left: 0px;
  background-color: #c8c8c8;
  overflow: scroll;
  border-top: 1px solid #000;
}

#results a {
  color: blue;
  text-decoration: none;
}

#results a:hover {
  color: #fff;
}

.eInfo {
  border-top: 1px solid #000;
  background-color: #fff;
  margin: 0em;
  padding: .5em;
  color: #000;
  box-shadow: 0px 3px 5px rgba(0,0,0,0.5);
}

.eInfo:first-child {
  border-top-width: 0px;
}

.eInfo span {
  display: inline;
}

.show {
  float: right;
  margin-left: .5em;
  padding-left: .5em;
  border-left: 1px solid #ddd;
  text-align: center;
  color: #00f!important;
}

.eInfo a {
  text-decoration: none;
}

.eInfo a:hover {
  color: #f00!important;
}

#mbox {
  display: block;
  position: absolute;
  top: 5em;
  right: 0px;
  left: 0px;
  bottom: 3em;
  border-top: 1px solid #000;
  z-index: -1;
}

#map {
  width: 100%;
  height: 100%;
}

#vinfo {
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
/*  bottom: calc(50% - 100px); */
  bottom: 50%;
  border-bottom: 1px solid #000;
  background-color: #fff;
  box-shadow: 0px 5px 5px rgba(0,0,0,0.6);
  padding: .5em;
  z-index: 100;
}

#vinfo:after {
	position: absolute;
//	left: calc(50% - 1.1em);
  left: 50%;
	bottom: -1.1em;
	margin-left: -1em;
	width: 2em;
	height: 2em;
	background: white;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
  box-shadow: 3px 3px 5px rgba(0,0,0,0.6);
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
	content: '';
}

#vinfo div.cover {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 128px;
  border-bottom: 1px solid #000;
  overflow: hidden;
}

#vinfo div.cover img {
  width: 100%;
}

#vinfo img.pic {
  float: left;
  margin: 0em .5em .5em 0em;
  width: 96px;
  border: 1px solid #000;
  padding: 3px;
  background-color: #fff;
}

#vinfo h3 {
  margin: 0px;
  padding: 0px;
}

#vinfo a {
  text-decoration: none;
  color: #00f;
}

#vinfo a.prev, #vinfo a.next {
  position: absolute;
  bottom: -1.7em;
  padding: .2em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  color: #000;
}

#vinfo a.prev {
  left: 0em;
}

#vinfo a.next {
  right: 0em;
}

#vinfo a:hover {
  color: #f00;
}

#controls {
  display: block;
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 3em;
  margin: 0em;
  padding: 0em;
  border-top: .1em solid #000;
  list-style-position: inside;
  background-color: #f00;
}

#controls li {
  display: inline-block;
  padding: 1em 0em 1em 0em;
  font-size: 1em;  
  margin: 0em;
  border-left: 1px solid #000;
  width: 33.3%;
  text-align: center;
}

#controls li:first-child {
  border-left-width: 0px!important;
}

#controls li a {
  color: #000;
  text-decoration: none;
}

#controls li a:hover {
  color: #fff;
}

#lres {
  display: none!important;
}



/* button animation */
@keyframes animateTop{
0%{-webkit-transform: translateX(-100%);
  transform: translateX(-100%);}

  100%{
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}
@keyframes animateBottom{
0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}
100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}
}


@keyframes pulselogo{
0% {
transform:scale(0); opacity:0;
}
  50%{ transform:scale(1); opacity:1; }
  
100% {
transform:scale(0); opacity:0;
}
}

.main-logo{ animation: 5s pulselogo linear infinite;}

#login-fancy{position:relative; }
#login-fancy input{background:red; color:white;}

/* #login-fancy:before{
    position: absolute;
    content: '';
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, rgba(255, 0, 0, .03), #f00);
    -webkit-animation: 2s animateTop linear infinite;
    animation: 2s animateTop linear infinite;
}
#login-fancy:after{
    position: absolute;
    content: '';
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, rgba(255, 0, 0, .03), #f00);
    -webkit-animation: 2s animateBottom linear infinite;
    animation: 2s animateBottom linear infinite;
} */