.floorplan-wrapper {
  display: block;
  position: relative;
  margin: 0 auto 2em;
  width: 100%;
  max-width: 720px;
  color:black;
}

.floorplan-wrapper ul {
	list-style:none;
}

.floorplan-wrapper .floor-label {
	padding:4px 8px;
	background: #DDA400;
	background:rgba(221,164,0,.8);
	color:#760F6D;
	position: absolute;
	z-index: 2;
	font-size: 1.2em;
}

.floorplan-wrapper .floor-label.entrance {
	top: 20%;
	right: 4%;
}

.floorplan-wrapper .floor-label.stairway-1 {
	top: 8%;
	left: 30%;
}

.floorplan-wrapper .floor-label.stairway-2 {
	top: 54%;
	left: 16%;
}

.floorplan-wrapper > img {
  display: block;
}

.floor-poi {
  position: absolute;
  border-radius: 50%;
}
.floor-poi > a {
  position: relative;
  z-index: 2;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9000px;
  overflow:hidden;
  border-radius: inherit;
  background: #d95353;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.floor-poi > a::after, .floor-poi > a:before {
  /* rotating plus icon */
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background-color: white;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.floor-poi > a::after {
  height: 2px;
  width: 12px;
}
.floor-poi > a::before {
  height: 12px;
  width: 2px;
}
/*.floor-poi::after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: inherit;
  background-color: transparent;
  -webkit-animation: cd-pulse 2s infinite;
  -moz-animation: cd-pulse 2s infinite;
  animation: cd-pulse 2s infinite;
}*/
.floor-poi.zone-a {
  top: 30%;
right: 20%;
}
.floor-poi.zone-b {
  top: 40%;
  right: 38%;
}
.floor-poi.zone-c {
  top: 22%;
left: 46%;
}
.floor-poi.zone-d {
  top: 17%;
left: 17%;
}
.floor-poi.zone-e {
  bottom: 20%;
right: 46%;
}
.floor-poi.zone-f {
  bottom: 20%;
left: 30%;
}
.floor-poi.zone-g {
  bottom: 9%;
right: 36%;
}
.floor-poi.is-open > a {
  background-color: #475f74;
}
.floor-poi.is-open > a::after, .floor-poi.is-open > a::before {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  -o-transform: translateX(-50%) translateY(-50%) rotate(135deg);
  transform: translateX(-50%) translateY(-50%) rotate(135deg);
}
.floor-poi.is-open::after {
  /* remove pulse effect */
  display: none;
}
.floor-poi.is-open .cd-more-info {
  visibility: visible;
  opacity: 1;
  /*-webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);*/
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s, -webkit-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s, -moz-transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s, transform 0.3s 0s, top 0.3s 0s, bottom 0.3s 0s, left 0.3s 0s, right 0.3s 0s;
}
.floor-poi.visited > a {
  background-color: #475f74;
}
.floor-poi.visited::after {
  /* pulse effect no more active on visited elements */
  display: none;
}

.floor-poi .cd-more-info {
	text-align:center;
  }

.floor-poi .cd-more-info span {
	border: 1px solid #000;
	display: inline-block;
	padding: 4px 8px;
	margin-bottom: 5px;
	font-size: 1.2em;
}

.floor-poi .cd-more-info h3, .floor-poi .cd-more-info p.heading {
	font-size:1.8em;
	line-height: 1.2;
	/* text-transform: capitalize; */
	color: #DDA400;
	padding-bottom: 24px;
}

.floor-poi .cd-more-info h4, .floor-poi .cd-more-info p.subheading {
	font-size:1.4em;
	letter-spacing: .1em;
	border-top: 1px solid #5A6A77;
	padding: 8px 0px 24px;
margin-top: -16px;
	display: inline-block;
	color:#760F6D;
}



.floor-poi .cd-more-info a {
	display: inline-block;
}

.floor-poi .cd-more-info img {
	display:block;
	width:100%;
	max-width: 440px;
}

@media only screen and (min-width: 480px) {
	.floorplan-wrapper .floor-label.entrance {
		top: 24%;
		right: 4%;
	}
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  .floor-poi .cd-more-info {
		padding: 4em 3em 3em;
		text-align:center;
		bottom:auto !important;
  }
  
  .floor-poi .cd-more-info span {
		font-size: 1em;
	}
	
	.floor-poi .cd-more-info h3, .floor-poi .cd-more-info p.heading {
		font-size: 2.4em;
		padding: 0px 2em 20px;
	}
	
	.floor-poi .cd-more-info h4, .floor-poi .cd-more-info p.subheading {
		font-size: 1.8em;
		padding-bottom: 20px;
		margin-top: -16px;
	}
  
}

@media only screen and (min-width: 768px) {
	.floor-poi .cd-more-info {
		text-align:left;
  }
	
	.floor-poi .cd-more-info span {
	border: 1px solid #000;
	display: inline-block;
	padding: 4px 8px;
	margin-bottom: 5px;
	font-size: .8em;
}

.floor-poi .cd-more-info h3, .floor-poi .cd-more-info p.heading {
	font-size:1.3em;
	padding-bottom: 8px;
}

.floor-poi .cd-more-info h4, .floor-poi .cd-more-info p.subheading {
	font-size:1em;
	padding: 8px 0px;
	margin-top:0px;
}
	
	
  .floor-poi.is-open .cd-more-info.cd-left {
    right: 140%;
  }
  .floor-poi.is-open .cd-more-info.cd-right {
    left: 140%;
  }
  .floor-poi.is-open .cd-more-info.cd-top {
    bottom: 140%;
  }
  .floor-poi.is-open .cd-more-info.cd-bottom {
    top: 140%;
  }
}

/*@-webkit-keyframes cd-pulse {
  0% {
    -webkit-transform: scale(1);
    box-shadow: inset 0 0 1px 1px rgba(217, 83, 83, 0.8);
  }

  50% {
    box-shadow: inset 0 0 1px 1px rgba(217, 83, 83, 0.8);
  }

  100% {
    -webkit-transform: scale(1.6);
    box-shadow: inset 0 0 1px 1px rgba(217, 83, 83, 0);
  }
}
@-moz-keyframes cd-pulse {
  0% {
    -moz-transform: scale(1);
    box-shadow: inset 0 0 1px 1px rgba(217, 83, 83, 0.8);
  }

  50% {
    box-shadow: inset 0 0 1px 1px rgba(217, 83, 83, 0.8);
  }

  100% {
    -moz-transform: scale(1.6);
    box-shadow: inset 0 0 1px 1px rgba(217, 83, 83, 0);
  }
}
@keyframes cd-pulse {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    box-shadow: inset 0 0 1px 1px rgba(217, 83, 83, 0.8);
  }

  50% {
    box-shadow: inset 0 0 1px 1px rgba(217, 83, 83, 0.8);
  }

  100% {
    -webkit-transform: scale(1.6);
    -moz-transform: scale(1.6);
    -ms-transform: scale(1.6);
    -o-transform: scale(1.6);
    transform: scale(1.6);
    box-shadow: inset 0 0 1px 1px rgba(217, 83, 83, 0);
  }
}*/

@media only screen and (min-width: 768px) {
  .floor-poi .cd-more-info {
    position: absolute;
    width: 220px;
    height: auto;
    padding: .9em;
    overflow-y: visible;
    line-height: 1.4;
    border-radius: 0.25em;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .floor-poi .cd-more-info.cd-top, .floor-poi .cd-more-info.cd-bottom {
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .floor-poi .cd-more-info.cd-top::before, .floor-poi .cd-more-info.cd-bottom::before {
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  
}


