/* =============================================
 *
 *   PLUGIN DOUBLE MAPS
 *
 * ============================================= */

#address-on-map .map-container {
  position: relative;
  height: 600px;
}
#address-on-map .address-on-map-header,
#address-on-map .tile {
  position: absolute;
  width: 25%;
  height: 50%;
  background: #004397;
  z-index: 1;
  top: 0;
  right: 0;
  color: #ffffff;
  display: table;
}
#address-on-map .address-on-map-header .content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
#address-on-map .address-on-map-header .content h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}
#address-on-map .address-on-map-cities {
  margin: 20px 0;
}
#address-on-map .address-on-map-cities .city {
  position: relative;
  cursor: pointer;
  color: #1e1e1e;
  font-size: 1.2em;
  -webkit-transition: .3s color cubic-bezier(.25, .46, .45, .94);
  -moz-transition: .3s color cubic-bezier(.25, .46, .45, .94);
  -o-transition: .3s color cubic-bezier(.25, .46, .45, .94);
  transition: .3s color cubic-bezier(.25, .46, .45, .94);

  width: 50%;
  display: inline-block;
  text-align: left;
}
#address-on-map .address-on-map-cities .city:hover,
#address-on-map.selected-map-1 .address-on-map-cities .city-1,
#address-on-map.selected-map-2 .address-on-map-cities .city-2 {
  color: #ffffff;
}
#address-on-map .address-on-map-cities .city:first-child {
  *margin-right: 45px;
  text-align: center;
}
#address-on-map .address-on-map-cities .city:first-child:after {
  position: absolute;
  content: '';
  *width: 20px;
  *height: 2px;
  top: 50%;
  right: -32px;
  margin-top: -1px;
  *background: #be93b5;
}

#address-on-map .addresses {
  display: table;
  width: 100%;
  background: #004397;
}
#address-on-map address {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-style: normal;
}
#address-on-map address:first-child {
  width: 50%;
  border-right: 1px solid rgba(0,0,0,.2);
  border-top: 4px solid transparent;
  transition: border-color .2s ease-in;
}
#address-on-map address.city-1:hover,
#address-on-map address.city-2:hover,
#address-on-map.selected-map-1 address.city-1,
#address-on-map.selected-map-2 address.city-2 {
  border-top: 4px solid #FFFFFF;
}
#address-on-map address h2 {
  position: relative;
  padding-bottom: 25px;
  color: #FFFFFF;
  font-size: 29px;
  line-height: 29px;
}
#address-on-map address h2:after {
  position: absolute;
  content: '';
  width: 22px;
  height: 1px;
  left: 50%;
  bottom: 0;
  margin-left: -11px;
  background: #8c8c8c;
}
#address-on-map address .main {
  margin: 20px 0;
  line-height: 20px;
  display: block;
  font-weight: bold;
  color: #004397;
}
#address-on-map address .street a {
  color: #ffffff;
  text-decoration: none;
}
#address-on-map address .phone a {
  color: #f5621d;
  text-decoration: none;
  font-size: 1.4em;
  padding-top: 20px;
}
#address-on-map .show-tiles {
  font-size: 1.4em;
  cursor: pointer;
}
#address-on-map .show-tiles span {
  display: block;
}
#address-on-map .show-tiles span:first-child {
  display: inline-block;
  position: relative;
}
#address-on-map .show-tiles span:first-child:before,
#address-on-map .show-tiles span:first-child:after {
  position: absolute;
  content: '';
  width: 130%;
  height: 1px;
  top: 50%;
  left: -30px;
  background: #ffffff;
}
#address-on-map .show-tiles span:first-child:after {
  left: auto;
  right: -30px;
}

#address-on-map .address-on-map-header .content h2:after {
  position: absolute;
  content: '';
  width: 120%;
  height: 1px;
  left: -10%;
  bottom: 0;
  background: #ffffff;
  opacity: .3;
}
#address-on-map .map {
  width: 100%;
  height: 100%;
}

#address-on-map .zoom-in,
#address-on-map .zoom-out {
  position: absolute;
  top: 1em;
  left: 1em;
  display: block;
  background: url('img/zoom-in.png');
  background-size: contain;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border: none;
}
#address-on-map .zoom-out {
  background-image: url('img/zoom-out.png');
  top: calc(32px + 2em);
}
#address-on-map .tile {
  right: auto;
  background-size: cover;
  height: 0;
  opacity: 0;

  -webkit-transition: 0.6s height, 0.6s opacity;
  -moz-transition: 0.6s height, 0.6s opacity;
  -o-transition: 0.6s height, 0.6s opacity;
  transition: 0.6s height, 0.6s opacity;
  -moz-transition-timing-function: cubic-bezier(.19, 1, .22, 1);
  -webkit-transition-timing-function: cubic-bezier(.19, 1, .22, 1);
  -o-transition-timing-function: cubic-bezier(.19, 1, .22, 1);
  transition-timing-function: cubic-bezier(.19, 1, .22, 1);
}
#address-on-map .tile.visible {
  height: 50%;
  opacity: 1;
}
#address-on-map .tile-1 {
  top: 0;
  left: 0;
  background-image: url('img/tile-1.jpg');
}
#address-on-map .tile-2 {
  top: 0;
  left: 25%;
  background-image: url('img/tile-2.jpg');
}
#address-on-map .tile-3 {
  top: 0;
  left: 50%;
  background-image: url('img/tile-3.jpg');
}
#address-on-map .tile-4 {
  top: 50%;
  left: 0;
  background-image: url('img/tile-4.jpg');
}
#address-on-map .tile-5 {
  top: 50%;
  left: 25%;
  background-image: url('img/tile-5.jpg');
}
#address-on-map .tile-6 {
  top: 50%;
  left: 50%;
  background-image: url('img/tile-6.jpg');
}
#address-on-map .tile-7 {
  top: 50%;
  left: 75%;
  background-image: url('img/tile-7.jpg');
}
@media (max-width: 480px) {
#address-on-map .map-container {
  position: relative;
  height: 400px;
}
#address-on-map .address-on-map-header,
#address-on-map .tile {
  position: absolute;
  width: 35%;
  height: 30%;
  background: #004397;
  z-index: 1;
  top: 0;
  right: 0;
  color: #ffffff;
  display: table;
}