﻿.map-container > * {
  font-family: "DIN", Arial, Helvetica, sans-serif;
}

.subject-area-wrapper {
  background: #f1f3f4;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 0 20px;
  width: 100%;
}

#subject-area {
  width: 100%;
  font-size: 1rem;
}

h3.studying-at {
  display: none;
  margin-bottom: 20px;
}
h3.studying-at span {
  color: #007099;
}

#googleMap {
  height: 500px;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  bottom: 0;
}
#googleMap img {
  max-width: none !important;
}

.gm-style .gm-style-iw {
  background-color: #00aeef !important;
  display: block !important;
  height: 100% !important;
  left: 0 !important;
  max-height: 120px !important;
  min-height: 120px !important;
  padding-top: 10px;
  top: 0 !important;
  width: 100% !important;
}
.gm-style .gm-style-iw #google-popup p {
  padding: 10px;
}
.gm-style div div div div div div div div {
  background-color: #00aeef !important;
  color: #fff;
  font-size: 16px;
  margin: 0;
  padding: 0;
  top: 0;
}
.gm-style div div div div div div div div a {
  color: #f1f1f1;
  font-weight: bold;
}

#google-popup .campus {
  font-size: 0.7em;
}

.infoBox:before {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
  bottom: -9px;
  content: " ";
  height: 0;
  left: 130px;
  position: absolute;
  width: 0;
}

.info-box-wrap {
  background: white;
  box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
  padding: 10px;
}
.info-box-wrap img {
  box-sizing: border-box;
  display: block;
  float: left;
  height: 58px;
  left: 0px;
  position: absolute;
  top: 0px;
  width: 58px;
}

.info-box-text-wrap {
  margin-left: 60px;
}
.info-box-text-wrap h4 {
  color: #007099;
  font-size: 17px;
  margin: 0;
  text-transform: uppercase;
}
.info-box-text-wrap p {
  color: #cc7a24;
  font-size: 12px;
}
.info-box-text-wrap p:last-of-type {
  margin: 1px 0 0 0;
}

.map-container {
  height: 500px;
  margin: 0 auto;
  max-width: 940px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

#info-panel {
  box-sizing: border-box;
  position: absolute;
  transition: left 0.2s ease-in-out, width 0.2s ease-in-out;
  background: rgba(255, 255, 255, 0.9);
  height: 100%;
  left: -100%;
  width: 100%;
  z-index: 1000;
}
@media screen and (min-width: 900px) {
  #info-panel {
    width: 50%;
  }
}
#info-panel.visible {
  left: 0;
}
#info-panel > .info-panel-text {
  padding: 20px;
}
#info-panel > img {
  display: block;
  width: 100%;
}

.info-panel-text > h3 {
  color: #007099;
  font-size: 24px;
  font-weight: normal;
  line-height: 1;
  margin: 0 20px 5px 0;
  text-transform: uppercase;
}
.info-panel-text > p.info-price {
  color: #444;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.info-panel-text > p.info-desc {
  color: rgb(68, 68, 68);
  font-size: 14px;
  font-weight: normal;
  line-height: 23.1px;
}
.info-panel-text > p.info-strapline {
  color: #cc7a24;
  margin-top: 0;
  text-transform: uppercase;
}
.info-panel-text > a {
  border: solid 1px #007099;
  clear: both;
  color: #007099;
  display: inline-block;
  font-size: 14px;
  padding: 0.5em 1em;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  width: auto;
}
.info-panel-text > a:hover {
  background: #004b66;
  border: solid 1px #004b66;
  color: #fff;
  cursor: pointer;
}

.info-panel-text > .info-features > ul {
  margin: 0 0 10px;
  padding: 0;
  width: 49%;
  display: inline-block;
}
.info-panel-text > .info-features > ul > li {
  list-style-type: none;
}
.info-panel-text > .info-features > ul > li::before {
  height: 21px;
  margin-right: 5px;
  width: 21px;
}
.info-panel-text > .info-features > ul > li::after {
  color: #007099;
  font-size: 14px;
  font-weight: normal;
  line-height: 23.1px;
  position: relative;
  top: -5px;
}

.info-panel-text > .info-features > ul > li.city-center:before {
  content: url("/content/imgs/icons/icon-city-center.png");
}
.info-panel-text > .info-features > ul > li.city-center:after {
  content: "City Centre";
}
.info-panel-text > .info-features > ul > li.city-south:before {
  content: url("/content/imgs/icons/icon-city-center.png");
}
.info-panel-text > .info-features > ul > li.city-south:after {
  content: "City South";
}
.info-panel-text > .info-features > ul > li.city-north:before {
  content: url("/content/imgs/icons/icon-city-center.png");
}
.info-panel-text > .info-features > ul > li.city-north:after {
  content: "City North";
}
.info-panel-text > .info-features > ul > li.bcu:before {
  content: url("/content/imgs/icons/icon-bcu.png");
}
.info-panel-text > .info-features > ul > li.bcu:after {
  content: "BCU";
}
.info-panel-text > .info-features > ul > li.en-suite:before {
  content: url("/content/imgs/icons/icon-en-suite.png");
}
.info-panel-text > .info-features > ul > li.en-suite:after {
  content: "En suite";
}
.info-panel-text > .info-features > ul > li.shared-bathroom:before {
  content: url("/content/imgs/icons/icon-en-suite.png");
}
.info-panel-text > .info-features > ul > li.shared-bathroom:after {
  content: "Shared bathroom";
}
.info-panel-text > .info-features > ul > li.double-bed:before {
  content: url("/content/imgs/icons/icon-double-bed.png");
}
.info-panel-text > .info-features > ul > li.double-bed:after {
  content: "Double beds";
}
.info-panel-text > .info-features > ul > li.social-study:before {
  content: url("/content/imgs/icons/icon-social-study.png");
}
.info-panel-text > .info-features > ul > li.social-study:after {
  content: "Social/study space";
}
.info-panel-text > .info-features > ul > li.social-space:before {
  content: url("/content/imgs/icons/icon-social-study.png");
}
.info-panel-text > .info-features > ul > li.social-space:after {
  content: "Social space";
}
.info-panel-text > .info-features > ul > li.laundry:before {
  content: url("/content/imgs/icons/icon-laundry.png");
}
.info-panel-text > .info-features > ul > li.laundry:after {
  content: "Laundry";
}
.info-panel-text > .info-features > ul > li.partner:before {
  content: url("/content/imgs/icons/icon-partner.png");
}
.info-panel-text > .info-features > ul > li.partner:after {
  content: "Partner";
}
.info-panel-text > .info-features > ul > li.three-quarter-bed:before {
  content: url("/content/imgs/icons/icon-double-bed.png");
}
.info-panel-text > .info-features > ul > li.three-quarter-bed:after {
  content: "Three-quarter beds";
}
.info-panel-text > .info-features > ul > li.gym:before {
  content: url("/content/imgs/icons/icon-gym.png");
}
.info-panel-text > .info-features > ul > li.gym:after {
  content: "Gym";
}
.info-panel-text > .info-features > ul > li.parking:before {
  content: url("/content/imgs/icons/icon-parking.png");
}
.info-panel-text > .info-features > ul > li.parking:after {
  content: "Discounted parking";
}
.info-panel-text > .info-features > ul > li.music-prac:before {
  content: url("/content/imgs/icons/icon-music-prac.png");
}
.info-panel-text > .info-features > ul > li.music-prac:after {
  content: "Music practice rooms";
}

#close-btn {
  background-color: #000;
  cursor: pointer;
  height: 22px;
  opacity: 1;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 22px;
}
#close-btn:hover {
  opacity: 1;
}
#close-btn::before, #close-btn::after {
  background-color: #ccc;
  content: " ";
  height: 22px;
  left: 10px;
  position: absolute;
  width: 2px;
}
#close-btn::before {
  transform: rotate(45deg);
}
#close-btn::after {
  transform: rotate(-45deg);
}
