/* Variables =================================================== */
/* Mixins =================================================== */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
.modal .modal-header {
  background-color: #306;
}
.modal .modal-header h4 {
  color: #fff;
}
.modal .modal-header .building-code {
  color: #bfbfbf;
  font-size: 13px;
  font-size: 1.3rem;
}
.modal .modal-header img {
  margin: 0 0 1.4em 0;
}
.modal .modal-header .close {
  color: #ffffff !important;
}
.modal .modal-header #favourite {
  margin: 10px 0 0 0;
}
.modal .modal-header #favourite a {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
  background: #cc0066 url(../img/favourite-icon-grey.png) no-repeat 5px 0.28em;
  color: #ffffff !important;
  padding: 0.35em 10px 0.35em 34px;
}
.modal .modal-header #favourite a:hover,
.modal .modal-header #favourite a:active,
.modal .modal-header #favourite a:focus {
  background-color: #bd005e !important;
  color: #ffffff !important;
}
.modal .modal-header #favourite a.favourited {
  background-image: url(../img/favourite-icon.png);
  color: #ffffff !important;
}
@media only screen and (max-width: 480px) {
  .modal .modal-header #favourite a {
    font-size: 14px;
    font-size: 1.4rem;
  }
}
.modal #collections ul li a.external {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
.modal #collections ul li a.external:after {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  content: ' ';
  background: url(../img/icon-external-link.gif) no-repeat 0 0;
  height: 11px;
  margin-left: 5px;
  padding: 0;
  opacity: .6;
  width: 11px;
}
.modal #collections ul li a.external:hover:after {
  opacity: 1;
}
.modal #tour_360 iframe,
.modal #google_street_view iframe {
  width: 100%;
  height: 300px;
  margin-bottom: 0.7em;
}
.modal #show_relative_to ul {
  margin: 0;
  padding: 0;
}
.modal #show_relative_to ul li {
  margin-bottom: 5px;
}
.modal #show_relative_to ul li a {
  padding: 3px 0;
}
.modal .section {
  margin-top: 1.4em;
  border-top: 1px solid #dcdcdc;
  padding-top: 1.4em;
}
