/* =============================================
 *
 *   PLUGIN DOUBLE MAPS
 *
 *   
 *   http://www.tontonduweb.com
 *   
 *
 *   copyright 2016 : ELM Agency
 *
 * ============================================= */

 @import url(https://fonts.googleapis.com/css?family=Ubuntu:400,500,700);


#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: rgba(243,102,57,0.9);
  z-index: 1;
  top: 0;
  right: 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  color: #fff;
  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;
  text-transform: uppercase;
}
#address-on-map .address-on-map-cities {
  margin: 20px 0;
}
#address-on-map .address-on-map-cities .city {
  position: relative;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  font-size: 1.2em;
  font-weight: 400;
  -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: 40%;
  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: #333333;
}
#address-on-map .address-on-map-cities .city:first-child {
  margin-right: 45px;
  text-align: right;
}
#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: #FFF;
}
#address-on-map .addresses {
  display: table;
  width: 100%;
  background: white;
}
#address-on-map address {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-style: normal;
}
#address-on-map address:first-child {
  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 #f36635;
}
#address-on-map address h2 {
  position: relative;
  padding-bottom: 25px;
  font-family: 'Ubuntu', sans-serif;
  color: #333333;
  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-family: 'Ubuntu', sans-serif;
  font-weight: bold;
  color: #f36635;
  text-transform: uppercase;
}
#address-on-map address .street a {
  font-family: 'Ubuntu', sans-serif;
  color: #333333;
  text-decoration: none;
}
#address-on-map address .phone a {
  font-family: 'Ubuntu', sans-serif;
  color: #888888;
  text-decoration: none;
  font-size: 1.1em;
}
#address-on-map .show-tiles {
  font-size: 1.1em;
  font-weight:400;
  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: #fff;
}
#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: #fff;
  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');
}
