/**
 * Embed Design file.
 * @package		px\Embed
 * @version		1.0.0
 */
.embed-container {
  margin-bottom: 1.5em;
}

.embedVideo {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  bottom: 0;
  height: 50px;
}

.embed-container {
  height: 0;
  height: auto;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.embed-content > span,
.embed-content > div {
  width: 100%!important;
  height: 100%!important;
}

.embed-content div > iframe,
.embed-content div span > iframe,
.embed-content iframe {
  width: 100%!important;
  height: 100%!important;
  position: absolute!important;
  top: 0!important;
  left: 0!important;
}

.embed-overlay {
  width: auto;
  height: auto;
  color: #121212;
  background-color: rgba(0, 0, 0, 0.9);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  padding: 100px 30px;
  transition: background-color .25s ease-in-out, color .25s ease-in-out;
}

.embed-overlay > h4 {
  margin-top: 0;
  margin-bottom: 0;
}

.embed-overlay > h3 {
  color: #ddd;
  display: table-cell;
  text-align: center;
  transition: color .25s ease-in-out;
  vertical-align: middle;
  position: absolute;
  width: 100%;
  left: 0;
  top: 40%;
}

.embed-overlay:hover > h3 {
  color: #fff;
}

.embed-overlay > h4 {
  margin-top: 0;
}

.embed-overlay:hover {
  color: #121212;
  background-color: rgba(0, 0, 0, 0.8);
}

button.embedVideo {
  position: static;
  display: block;
  height: auto;
  font: inherit;
  line-height: inherit;
  border-radius: 5px;
  border-width: 0;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;

}

#px_map {
  margin: 0 auto;
}

.formContainer .form{
  display: flex;
}

.gm-ui-hover-effect {
  box-shadow: none;
}

.gm-style-iw-d {
  overflow: visible!important;
}

.gm-style-iw.gm-style-iw-c {
  min-width: 240px;
  left: 85px !important;
}

.googlemap {
  position: relative;
  min-height: 400px !important;
  overflow: hidden;
}

.googlemap,
.googlemap > div {
  max-height: 100%!important;
  max-width: 100%!important;
  display: flex;
  align-items: center;
}

.px_embed_fallback {
  width: unset !important;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 1rem;
}
.px_embed_fallback img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.px_embed_fallback .px_map_btn {
  position: static;
  height: auto;
  font: inherit;
  text-decoration: none;
  line-height: inherit;
  border-radius: 5px;
  border-width: 0;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.px_map_thumb {
  position: relative;
  text-align: center;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.map_thumb_inner {
  max-width: 80%;
  margin: 0 auto;
}

.map_thumb_inner p {
  margin-top: 0;
}

@media screen and (max-width: 600px) {
  .map_thumb_inner p {
    font-size: 1rem;
  }
}

.map_thumb_inner button {
  height: auto;
  font: inherit;
  line-height: inherit;
  border-radius: 5px;
  border-width: 0;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.px_map_thumb p {
  font-weight: normal;
}

.px_map_thumb::after {
   opacity: .25;
   content: "";
   top: 0;
   left: 0;
   bottom: 0;
   right: 0;
   position: absolute;
   z-index: -1;
   background-size: cover;
}

.px_infoWindow {
  display: flex;
  padding: 10px;
}

.px_infoWindow .px_infoWindow_thumb {
  margin-right: 15px;
}

.px_map_wrapper {
  margin: 0;
}