* {
    font-family: 'Titillium Web', sans-serif;
}

p {
    margin-bottom: 0 !important;
    color: var(--main-dark-grey) !important;
    font-weight: normal !important;
}

h5, h4, h3, h2, h1 {
    color: var(--main-dark-grey);
}

a {
    word-wrap: break-word;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    padding-bottom: 450px
}

html {
    min-height: 100%;
    position: relative;
}

/*Colors*/
:root {
    --main-dark-grey: #4D4D4D;
    --main-light-grey: #CCCCCC;
}

/*Fonts*/
.semi-bold {
    font-weight: 600 !important;
}

.bold {
    font-weight: bold !important;
}

.italic {
    font-style: italic;
}

/*Footer*/
footer {
    bottom: 0;
    width: 100%;
    position: absolute;
    background-color: var(--main-dark-grey) !important;
}

.list-footer {
    padding-bottom: 10px;
}

.footer-color {
    color: white !important;
}

.copyright {
    color: var(--main-light-grey) !important;
}

.padding {
    padding-left: 10px;
    padding-right: 10px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 0px !important;
}

.contact-info {
    padding-top: 10px;
}

.jameda {
    display: block;
    width: 235px;
    height: 29px;
    margin: auto auto;
    margin-bottom: 10px;
    background-image: url(https://cdn1.jameda-elements.de/_images/badges/fach_teaser_small_neu.gif);
    background-repeat: no-repeat;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.margin-top {
    margin-top: 10px;
    margin-bottom: -10px;
    text-decoration: underline;
}

.list-unstyled > li > a:hover {
    text-decoration: underline;
}

.footer-copyright > div > a:hover {
    text-decoration: underline;
}

/*
.transform {
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
}*/

@media (min-width: 768px) {

    body {
        padding-bottom: 350px
    }

    .contact-info > i, .contact-info > p {
        display: inline !important;
    }

    .contact-info > p {
        padding-left: 5px;
    }

    .padding {
        margin-top: 20px;
    }

    .contact-info {
        padding-bottom: 5px;
    }

    .margin-top {
        margin-top: 0px;
        padding-top: 0px;
    }

    .pos-right {
        text-align: left;
        position: absolute;
        right: 0;
        width: 200px;
        margin-top: 20px;
    }

    .jameda {
        margin-left: 10px;
    }

    #margin-ort {
        margin-left: 25px;
    }
}

@media (max-width: 767px) {
    .hide-element {
        display: none;
    }

    .padding-2 {
        padding-bottom: 0px !important;
        margin-bottom: 10px;
    }

    #margin-straße {
        margin-bottom: 0px;
    }

}

/*Navbar+Titelbild*/
.header-img-look {
    background-size: cover;
    width: 100%;
    height: 35vw;
    min-height: 18rem;
    max-height: 30rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.image-index {
    background-image: url('../img/praxis/praxis_front_neu_cutted_mobile.jpg');
}

.image-contact-header {
    background-image: url('../img/praxis/praxis_front_neu_cutted_mobile.jpg');
}

.image-about-me-header {
    background-image: url('../img/praxis/praxis_front_neu_cutted_mobile.jpg');
}

.image-kurse-header {
    background-image: url('../img/header/Kurse-new-mobile.jpg');
}

.osteopathie-image {
    background-image: url('../img/header/therapeut.jpg');
}

.impressum-datenschutz-image {
    background-image: url('../img/header/grass.jpg');
}

.navbar {
    background-color: white;
    box-shadow: none;
    position: relative;
}

@media (min-width: 768px) {
    .image-kurse-header {
    background-image: url('../img/header/Kurse-new-tablet.jpg');
    }
}

@media (min-width: 992px) {
    .image-index {
        background-image: url('../img/praxis/praxis_front_neu_cutted.jpg');
    }

    .image-contact-header {
        background-image: url('../img/praxis/praxis_front_neu_cutted.jpg');
    }

    .image-about-me-header {
        background-image: url('../img/praxis/praxis_front_neu_cutted.jpg');
    }
    
   .image-kurse-header {
    background-image: url('../img/header/Kurse-new-tablet.jpg');
    } 

    .impressum-datenschutz-image {
        margin-top: 70px;
    }

    .navbar {
        box-shadow: 0 4px 4px -1px rgba(0, 0, 0, 0.25);
        position: fixed;
        margin-bottom: 70px;
    }

    .image {
        margin-top: 6.65rem;
    }

    .navbar-nav {
        margin-left: auto;
        margin-right: 0% !important;
    }

    #navbar-logo {
        height: 4em;
    }
    
    .pos-right {
        margin-top: 10px;
    }
}

@media (max-width: 992px) {
    #navbar-logo {
        height: 2.8em !important;
    }
}

#inline-accept{
    margin-top: 4rem;
    text-align: center;
}
#inline-accept a{
    color: black;
}
.accept-button{
    margin-top: 1rem;
}

#footer-cookie,
#footer-cookie * {
    box-sizing: border-box;
}

#footer-cookie {
    z-index: 10000;
    display: none;
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 60px;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 60px;
    background: #303030;
    color: #fff;
}

#footer-cookie a {
    color: #fff;
}

#footer-cookie #description {
    float: left;
}

#footer-cookie #accept {
    float: right;
}

#footer-cookie #accept a {
    border: 1px solid #fff;
    padding: 5px 10px;
    text-decoration: none;
}

.more {
    text-decoration: underline;
}


@media (max-width: 1100px) {
    #footer-cookie {
        padding-top: 30px;
        padding-bottom: 30px;
        line-height: inherit;
        height: auto;
    }

    #footer-cookie #description {
        width: 100%;
    }

    #footer-cookie #accept {
        width: 100%;
        margin-top: 15px;
    }


    #footer-cookie #accept a {
        width: 100%;
        display: block;
        text-align: center;
    }
}

/*Popup*/

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 200px auto;
  padding: 20px;
  background: #fff;
  width: 30%;
  position: relative;
}

.popup h2,.popup div{
  margin-top: 0;
  color: var(--main-dark-grey);
  font-family: 'Titillium Web', sans-serif;;
}

.popup .close {
  position: absolute;
  top: 15px;
  right: 30px;
  transition: all 200ms;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  color: var(--main-dark-grey);
}
.popup .close:hover {
  color: var(--main-dark-grey);
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}
