
body {
    background: #ddd;
    padding:0px;
    font-family: Verdana;
}
.map {
    height:1400px !important;
    width:1080px !important;
    display:block;
    position:relative;
}

.floor {
    width:100%;
    height:100%;
    clear:both;
    float:none;
    box-sizing: border-box;
    background-size:contain;
    background-position: top center;
    background-repeat: no-repeat;
    background-color:#fff;
    overflow:none;
    position:relative;
    opacity:0;
    height:0;
    transition: opacity linear .2s;
}
.floor h1 {
    position:absolute;
    z-index:10;
    top:60px;
    left:30px;
}
.floor-selected {
    height:100%;
    opacity:1;

}
.floor-f0 {
    background-image: url('./images/P0.png?r=11');
}
.floor-f1 {
    background-image: url('./images/P1.png?r=10')
}

.top {
    height:767px;
    width:100%;
    position:relative;
    display:block;
    clear:both;
}
.bottom {
    width:100%;
    padding:10px;
    box-sizing: border-box;
    top: auto;
    bottom:0;
    position:absolute;
    z-index:10;
    height:633px;
    clear:both;
    float:none;
    border-top:1px solid #aaa;
    background:#fff;
}
.btn-main {
    background-color: #B7A4A1;
    color:#fff;
}
.btn-green {
    background-color: #4F9D09;
    color:#fff;
}
button:focus {outline:0 !important;}


.shop-pin {
    width:15px;
    height:15px;
    padding:5px;
    border-radius:50%;
    background: white;
    border: 1px solid red;
    margin-top:91px;
    margin-left:39px;
    display:inline-block;
    position:absolute;
    z-index:100;
    cursor:pointer;
}
.shop-pin-full {
    background:red;
}

.shop-logo {
    margin:6px 6px 0px 0;
    width:90px;
    height:90px;
    display:inline-block;
    clear:none;
    cursor: pointer;
    border:1px solid #eee;
    border-radius:3px;
    opacity:1;
    animation-name: opacity;
    animation-duration: .7s;
}
.shop-name {
    margin:18px 6px 0px 0;
    width:180px;
    height:30px;
    padding-top:15px;
    font-size:15px;
    display:inline-block;
    clear:none;
    cursor: pointer;
}
.shop-img {
    opacity: 0;
    transition: opacity linear .2s;
}
.shop-img-loaded {
    opacity: 1;
}

.shop-detail {
    opacity: 0;
    height: 0;
    overflow:hidden;
    background:#fff;
    transition: opacity linear .2s;
    visibility: hidden;

}
.shop-detail .close {
    position: absolute;
    top:10px;
    left:auto;
    z-index:10;
    right:10px;
}
.shop-detail > .row {
    margin-top:35px;
}
.shop-detail h1 {
    margin-top:5px;
}

.shop-detail h2 {
    font-size:18px;
    font-style: italic;
    font-weight:bold;
    color:#333;
}
.shop-detail p.description {
    margin:15px 0;
    padding:10px 0;
    border-bottom:2px dotted rgba(100, 100, 100, .3);
    border-top:2px dotted rgba(100, 100, 100, .3);
    font-size:14px;
    
}
.shop-detail-active {
    opacity: 1;
    height: 100%;
    visibility: visible;
}



.keyboard-block {
    padding:15px;
    border-radius:5px;
    width:80%;
    margin-left:10%;
    background:#eee;
    opacity:0;
    transition: all linear .4s;
}
.keyboard-block-visible {
    opacity:1;
}
    .keyboard-row {
    display: block;
    text-align:center;
  }
  
  button.btn-keyboard {
    font-size:20px;
    padding:6px 2px;
    text-align:center;
    width:40px;
    max-width:40px;
    color:#000;
    border-color:#444;
    border-radius:5px;
    box-shadow: 0 0 rgba(200, 200, 200, .2);
    margin: 2px;
    background:#fff;
  }
  button.key- {
      width:300px;
      max-width:300px;
  }
  h1.search{
      width:70%;
      border-bottom:1px solid #555;
      text-align:center;
      margin-left:15%;
      margin-bottom: 5px;
  }
  .search-results{
      padding-top:50px;
  }

  .here {
      position:absolute;
      z-index: 100;
      width:100px;
      height:86px;
      text-shadow: 0 0 3px #fff;
      font-size:14px;
      font-weight:bold;
      padding-top:70px;
      text-align:center;
      background: transparent url(/images/here.png) top center no-repeat;
  }
  .here span {
      background: rgba(255,255,255, .5);
  }

  @keyframes opacity {
    0%   {opacity:0;}    
    100% {opacity:1;}
  }
  .pin {
    position:absolute;
    z-index: 101;
    margin-top:30px;
    margin-left:15px;
    width: 60px;
    height:80px;
    display: inline-block;
    background-size: cover;
    opacity:1;
    background: transparent url(/images/pin.png) bottom center no-repeat;
    animation-name: opacity;
    animation-duration: .4s;
  }
  .pulse {
    animation: pulse-animation 1.5s infinite !important;
  }
  
@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
  }
  
  .pin img {border:2px solid #948683;background:#fff;box-shadow: 0 -5px 5px #fff;border-radius:3px;}
  .totem {
    position:absolute;
    z-index: 100;
    width: 64px;
    height:64px;
    display: inline-block;
    background-size: cover;
    cursor: pointer;
    margin-left:-64px;
    margin-top:-64px;
    background: transparent url(/images/totem.png?r=1) bottom center no-repeat;
    background: transparent;
    opacity:1;
    animation-name: opacity;
    animation-duration: .4s;

  }
  .totem span {
      position:absolute;
      width:64px;
      top:16px;
      text-align:center;
      font-size:9px;
      font-weight:bold;
      z-index:102;
      left:0;
      text-transform: uppercase;
      color:#9d8882;
  }
.modal {
 z-index: 100001;   
}
.grid, .path {
    position:absolute;
    z-index:100000;
    width:100%;
    height:100%;
} 
@keyframes hideshow {
    0% { opacity: 0;  }
  
    100% { opacity: 1;  }
  } 
.path svg {
    animation: hideshow 1s ease;

    
}
.path svg.svg-visible {
    opacity: 1;
    width:100%;
    height:100%;
}
.path {
    z-index:99;
}
.grid tr.grid-row{
    width:100%;
    height:5px;
}
.grid td.grid-cell {
    border:1px solid #000;
    width:5px;
    height:5px;
}
.grid .grid-cell:hover {
    background: black;
}
.grid .grid-cell.walkable {
    background: green;
}


.totem-modal-container {
    position:fixed;
    z-index:100000000;
    background: rgba(0,0,0,.2);
    width:100%;
    display:inline-block;
    height:100%;
    top:0;
    left:0;
    opacity: 0;
}
.totem-modal-container-visible {
    opacity: 1;
}

.totem-modal {
    position:fixed;
    z-index:100000001;
    width:40%;
    left:30%;
    top:30%;
    background:#fff;
    border-radius: 20px;
    box-shadow: 0, 0, 10px #000;
    padding:25px;
    box-sizing:border-box;
}

  