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

.floor {
    width:100%;
    height:100%;
    clear:both;
    float:none;
    box-sizing: border-box;
    background-size:cover;
    background-position: center 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:160px;
    left:30px;
}
.floor-selected {
    height:100%;
    opacity:1;

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

.top {
    height:1080px;
    width:100%;
    position:relative;
    display:block;
    top:-90px;
    clear:both;transform: rotate(0deg);
}
.bottom {
    width:100%;
    padding:0;
    box-sizing: border-box;
    top: auto;
    bottom:0;
    position:absolute;
    z-index:10;
    height:320px;
    clear:both;
    float:none;
    border-top:1px solid #aaa;
    background:#fff;
}
.btn-default {
    background-color: #A29897;
    color:#fff;
}
.btn-main {
    background-color: #ff3303;
    color:#fff;
}
.btn-green {
    background-color: #4F9D09;
    color:#fff;
}
.buttons button {
    margin-right:10px;
}
button:focus {outline:0 !important;}

.shops {
    text-align:center;
    margin-top:20px;
}
.shop-pin {
    width:15px;
    height:15px;
    padding:2px;
    border-radius:50%;
    background: white;
    border: 1px solid red;
    margin-top:-5px;
    margin-left:-5px;
    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:0px 0 10px 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;
}
p.other {
    font-size:12px;
    margin: 5px 0;
}
.shop-detail-active {
    opacity: 1;
    height: 100%;
    visibility: visible;
}



.keyboard-block {
    padding:5px;
    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:16px;
    padding:3px 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: 1px 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: 3px;
      font-size:24px;
  }
  .search-results{
      padding-top:0px;
  }

  @keyframes opacity {
    0%   {opacity:0;}
    100% {opacity:1;}
  }
  .pin {
    position:absolute;
    z-index: 101;
    /*margin-top: -60px;*/
    margin-top: -65px;
    margin-left: -30px;
    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;
  }
  .pin-service {
    background: transparent url(/images/pin-service.png) bottom center no-repeat;

  }
  .pin-service img {
      border-color: #948683 !important;
  }
  .pulse {
    animation: pulse-animation 1.5s infinite !important;
  }

  div.bar {
      width:100%;
      padding: 10px;
      text-transform: uppercase;
      background: #D9D2D1;
  }
  div.bar-2 {
      background-color: #4DBCB9;
      color:#fff;
  }
  span.close-x {
      float:right;
      padding:0 5px;
      font-weight:bold;
      cursor: pointer;
  }

  div.categories {
      width:700px;
      clear:both;
      display:block;
      margin-left:200px;
      margin-top:0px;
  }
  div.category {
      width:200px;
      padding:8px 10px;
      border-radius:10px;
      color:#fff;
      background:#52BCB8;
      text-align:center;
      text-transform: uppercase;
      line-height:1.3;
      font-size:16px;
      margin:8px 10px;
      display:block;
      height: 60px;
      cursor:pointer;
      clear:none;
      float:left;
  }
  div.category-1 {
      background:#F2C272;
  }
  div.category-2 {
      background:#96BB53;
      clear:right;
  }
  div.category-3 {
      background:#D884A6;
  }
  div.category-4 {
      background:#8A83B4;
  }
  div.category-5 {
      background:#DA9974;
      clear:right;
  }
  div.category-6 {
    background:#4B6BA7;
  }
  div.category-7 {
      background:#3B8AC6;
  }
  div.category-8 {
      background:#B7A4A2;
      clear:right;
  }

  span.shop-title {
    display: inline-block;
    clear: none;
    text-align: left;
    width: 30%;
    margin-right:3%;
    line-height: 18px;
    text-transform: uppercase;
    float: left;
    padding: 3px;
    cursor:pointer;
    margin-top:3px;
  }
  span.shop-title-small {
    padding: 2px;
    width: 24%;
    line-height: 16px;
    margin-right:1%;
    margin-top:1px;

  }

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
  }

  .pin img {border:2px solid #ff3303;background:#fff;box-shadow: 0 -5px 5px #fff;box-shadow:none;border-radius:3px;}
  .totem {
    position:absolute;
    z-index: 100;
    width: 64px;
    height:64px;
    display: inline-block;
    background-size: cover;
    cursor: pointer;
    margin-left:-32px;
    margin-top:-60px;
    background: transparent url(/images/totem.png?r=1) bottom center no-repeat;
    background: transparent;
    opacity:1;
    animation-name: opacity;
    animation-duration: .4s;

  }
  .totem.here {
    margin-top:-32px;

  }
  .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:4px;
}
.grid td.grid-cell {
    border:1px solid #000;
    width:4px;
    height:4px;
}
.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;
}


/* t3 */
.top {
    /*transform: rotate(0deg);*/
    transform: rotate(0deg) scale(0.95) skew(355deg,0deg);
}
.top .floor-f0 {
    background-image: url('./images/P0_0.png?r=23');
}
.top .floor-f1 {
    background-image: url('./images/P1_0.png?r=23')
}
#map .top .floor h1.ng-binding{
  transform: rotate(355deg) skew(0deg,5deg);
}
#map .top .pin{
  transform: rotate(-5deg) skew(0deg,5deg);
}
#map .top .totem.here{
  transform: rotate(-5deg) skew(0deg,5deg);
}


/* t2 */
.rotation-90 {
    /*transform: rotate(90deg);*/
    transform: rotate(90deg) skew(0deg,5deg);

    top:0;
    left:80px;
}
.rotation-90 .totem,
.rotation-90 h1,
.rotation-90 .pin img {
    transform: rotate(270deg);
}
.rotation-90 .pulse img {
    transform: rotate(270deg);
}
.rotation-90 h1 {
    left:200px;
    top:200px;
}
.rotation-90 .floor-f0 {
    background-image: url('./images/P0_90.png?r=23');
}
.rotation-90 .floor-f1 {
    background-image: url('./images/P1_90.png?r=23')
}
#map .rotation-90 .floor h1.ng-binding{
  transform: rotate(265deg) skew(0deg,5deg);
}
#map .rotation-90 .pin{
  transform: rotate(0deg) skew(0deg,355deg);
}
#map .rotation-90 .totem.here{
  transform: rotate(265deg) skew(0deg,5deg);
}


/* t4  */
.rotation-180 {
    /*transform: rotate(180deg);*/
    transform: rotate(180deg) scale(0.95) skew(355deg,0deg);

    top:80px;
    left:0
}
.rotation-180 .totem,
.rotation-180 h1,
.rotation-180 .pin img {
    transform: rotate(180deg);
}
.rotation-180 h1 {
    bottom:auto;
    top:300px;
    left:250px;
    right:auto;
}
.rotation-180 .floor-f0 {
    background-image: url('./images/P0_180.png?r=23');
}
.rotation-180 .floor-f1 {
    background-image: url('./images/P1_180.png?r=23')
}
#map .rotation-180 .floor h1.ng-binding{
    transform: rotate(175deg) skew(0deg,5deg);
}
#map .rotation-180 .pin{
  transform: rotate(-5deg) skew(0deg,-355deg);
}
#map .rotation-180 .totem.here{
  transform: rotate(175deg) skew(0deg,5deg);
}


/* t1 */
.rotation-270 {
    /*transform: rotate(270deg);*/
    transform: rotate(270deg) skew(0deg,5deg);

    top:0px;
    left:-60px;
}
.rotation-270 .totem,
.rotation-270 h1,
.rotation-270 .pin img {
    transform: rotate(90deg);
}
.rotation-270 h1 {
  top:200px;
  left:200px;
}
.rotation-270 .pulse img {
    transform: rotate(90deg);
}
.rotation-270 .floor-f0 {
    background-image: url('./images/P0_270.png?r=23');
}
.rotation-270 .floor-f1 {
    background-image: url('./images/P1_270.png?r=23')
}
#map .rotation-270 .floor h1.ng-binding{
  transform: rotate(85deg) skew(0deg,5deg);
}
#map .rotation-270 .pin{
  transform: rotate(0deg) skew(0deg,355deg);
}
#map .rotation-270 .totem.here{
  transform: rotate(85deg) skew(0deg,5deg);
}
