/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* YouTube iFrame */

.cf-yt iframe:not([src]) {
  display: none;
}

.cf-yt-placeholder {
  position: relative;
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
}

.cf-yt-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.cf-yt iframe[src] + .cf-yt-placeholder {
  display: none;
}

.cf-yt-overlay button {
  font-size: 16px;
  border-width: 1px !important;
  border-color: #004494;
  border-style: solid;
  border-radius: 0px;
  font-weight: bold;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  padding: 12px 20px;
  background: #004494;
  color: #fff;
  cursor: pointer;
  margin-top: 15px;
}

.cf-yt-overlay button:hover {
  color: #fff !important;
  background-color: #000;
  border-color: #000 !important;
}

/* Google Maps Karte */

.dsgvo-map{
    position:relative !important;
    width:100% !important;
    max-width:1200px !important;
    margin:0 auto !important;
    border-radius:0px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}

.dsgvo-map .dsgvo-map__preview{
    position:relative !important;
    width:100% !important;
    background-size:cover !important;
    background-position:center !important;
    background-repeat:no-repeat !important;
    box-sizing:border-box !important;
}

.dsgvo-map .dsgvo-map__overlay{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    height:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    background:rgba(221, 231, 240,.55) !important;
    color:#fff !important;
    text-align:center !important;
    padding:40px !important;
    box-sizing:border-box !important;
}

.dsgvo-map .dsgvo-map__overlay h3{
    color:#222 !important;
    margin:0 0 8px !important;
    padding:0 !important;
    font-size:1.6rem !important;
    font-weight:700 !important;
    text-transform:none !important;
    line-height:1.2 !important;
    text-align:center !important;
}

.dsgvo-map .dsgvo-map__overlay p{
    margin:0 0 18px !important;
    padding:0 !important;
    max-width:600px !important;
    color:#333 !important;
    text-align:center !important;
    line-height:1.4 !important;
}

.dsgvo-map .dsgvo-map__btn{
    display:inline-block !important;
    background:#004494 !important;
    color:#fff !important;
    border:1px solid #004494 !important;
    padding:12px 28px !important;
    font-weight:600 !important;
    border-radius:0px !important;
    cursor:pointer !important;
    font-size:1rem !important;
    line-height:1 !important;
    text-transform:none !important;
    box-shadow:none !important;
    transition:background .2s ease, color .2s ease, border-color .2s ease !important;
}

.dsgvo-map .dsgvo-map__btn:hover,
.dsgvo-map .dsgvo-map__btn:focus,
.dsgvo-map .dsgvo-map__btn:active{
    background:#000 !important;
    color:#fff !important;
    border-color:#000 !important;
}

.dsgvo-map iframe{
    display:block !important;
    width:100% !important;
    border:0 !important;
}
