@charset "utf-8";
* {
	margin: 0;
    padding: 0;
}

html {
	background-color: #FFFFFF;
	font: normal 15px / 17px  "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    color: #666666;
	word-spacing: normal;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-weight: 400;
}

a {
	text-decoration: none;
	color: #666666;
}

div {
    line-height: normal;
}

#wrapper {
    width: 100%;
}
.section {
    width: 100%;
    border-bottom: solid #eee 1px;
    background-color: #FFFFFF;
}
.bgblue {
    border: none;
    background-color: #15a3e7;
    color: #FFFFFF;
}



 .bgblue #content {
    padding: 0 80px 0 80px;
}

.bgblue #content .contentarea {
    padding-bottom: 10px;
}

#content.pictures{
    padding: 40px 0;
    max-width: 1020px;
}
.sticky .bgblue {
    background-image: url('./../img/background.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.bgsilver {
    border: none;
    background-color: #F5F5F5;
}

.sticky {
    position: sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    
    top: 0;
    z-index: 800;
    
}

#contact {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
	font: normal 95% / 320% "Open Sans", Helvetica, Arial, Verdana, sans-serif;
	
	padding: 0 20px;

    max-width: 900px;
    margin: 0 auto;
}

#contact div {
    padding: 10px 25px 10px 25px;
	background-repeat:no-repeat;
    background-position: 0 50%;
    background-size: 17px;
    
    display: flex;
    align-items: center;
}

#contact a {
    min-height: 37px;
}


#contact span:hover {
	cursor: pointer;
}

#contact a  {
    display: flex;
}

#contact div  {
    color: #036798;
}

#contact div:hover  {
	color: #036798;
}

#contact div.adress {
	background-image: url('./../img/pin_filled.svg');
}
#contact div.adress:hover {
	background-image: url('./../img/pin_filled.svg');
}

#contact div.phone {
	background-image: url('./../img/phone_filled.svg');
}
#contact div.phone:hover {
	background-image: url('./../img/phone_filled.svg');
}

#contact div.mail {
	background-image: url('./../img/mail_filled.svg');
}
#contact div.mail:hover{
	background-image: url('./../img/mail_filled.svg');
}




#menu {
	display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-end;
    
	font: normal  95% / 320%  "Open Sans", Helvetica, Arial, Verdana, sans-serif;
	padding: 20px 20px 0px 20px;
    
    max-width: 1020px;
    margin: 0 auto;
    
    z-index: 800;
    position: relative;
}





.logo {
	width: 60px;
	height: 60px;
}

.logoTitleContainer {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logoTitleContainer div {
    line-height: 150%;
}

.logoTitleContainer .logoTitle {
    color: #333333;
    font-style: italic;
}

.logoTitleContainer .logoSubtitle {
    
}

.nav, #logowrapper {
	display: flex;
    flex-wrap: wrap;
}
#logowrapper {
    align-items: center;
    font-size: 110%;
    margin: 0 60px 20px 10px;
}
.nav {
    justify-content: center;
}

.nav div {
	display: inline-block;
	text-transform: uppercase;
}

.nav div:hover .navnav {
    display: flex;
}

.nav .navnav {
    display: none;
    
    flex-direction: column;
    
    background-color: #FFFFFF;
    box-shadow: 1px 4px 10px silver;
    font-size: 90%;
    
    position: absolute;
}

.nav .navnav a {
    padding: 5px 15px;
}
.nav .navnav a:hover {
    color: #FFFFFF;
    background-color: #15a3e7;
}

.nav div a {
    display: inline-block;
	letter-spacing: 1.5px; 
	z-index: 1000;
	padding: 15px;
	border-bottom: 4px solid white;
}

.nav .nav div.current a {
	border-bottom: 4px solid #15a3e7;
}

.nav .nav div.current a,
.nav>div>a:hover {
    border-bottom: 4px solid #15a3e7;
}

.nav div.icon {
    display: none;
    width: 100%;
    text-align: center;
}

.nav div.icon a {
    padding: 7px 15px;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-navicon:before, .fa-reorder:before, .fa-bars:before {
    content: "\f0c9";
}




.mySlides {
    display: none
}

.mySlides img {
    width: 100%;
}

.slideshow-container {
    max-width: 1020px;
    height: auto;
    margin: 0 auto;
    position: relative;
    display: block;
    
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    opacity: .0;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.slideshow-container:hover .prev, .slideshow-container:hover .next {
    background-color: #15a3e7;
    opacity: .5;
}



.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    animation-name: fade;
    animation-duration: 2s;
}
@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@media only screen and (max-width: 300px) {
    /*.text {font-size: 11px} */
}

.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 1s linear;
}
.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 1s, opacity 1s linear;
}



#stoerer {
    background-color: rgba(21, 163, 231, 0.8);
    color: #FFFFFF;
    position: fixed;
    right: 0;
    top: 50%;
    padding: 30px;
    border-radius: 10px 0 0 10px;
    
    -webkit-box-shadow: 0px 0px 15px 1px rgba(255,255,255,0.2);
    -moz-box-shadow: 0px 0px 5px 1px rgba(255,255,255,0.2);
    box-shadow: 0px 0px 5px 1px rgba(255,255,255,0.2);
}


#stoerer .contentarea {
    text-align: center;
}

#stoerer .contentarea .contents {
    padding: 25px 0 0 0;
}

#stoerer .contentarea .contents .content {
    display: flex;
    justify-content: space-between;
}

#stoerer .contentarea .contents .content .first {
    padding: 5px 10px 5px 5px;
    text-transform: uppercase;
}
#stoerer .contentarea .contents .content .second {
    padding: 5px;
}

#stoerer .close_button {
    position: absolute;
    right: 10px;
    top: 10px;
}

#stoerer .close_button a {
    color: #FFFFFF;
    font-weight: bolder;
    
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}



#content {
	padding: 40px 80px 0 80px;
    margin: 0 auto;
    max-width: 920px;
}



#content a.anchor {
    display: block;
    position: relative;
    top: -148px;
    visibility: hidden;
}

#content h1 {
	font-weight: 700;
	margin: 20px 0;
}

#content h2 {
    font-weight: 300;
    margin: 20px 0;
    text-transform: uppercase;
}

#content paragraph {
	margin: 20px 0;
    display: inline-block;
    text-align: justify;
    width: 100%;
}

#content .bgsilver  paragraph p, #content .bgsilver  paragraph ul {
    padding: 0 40px ;
}


#content paragraph a {
    font-style: italic;
}
#content paragraph a:hover {
    text-decoration: underline;
}

#content .subheader {
    font-weight: bolder;
    margin: 0 0 20px 0;
}


#content paragraph .inner-paragraph{
    margin: 15px 0 0 0;
}

#content paragraph ul {
    margin: 0 0 0 20px;
}



#content .ratings {
	display: flex;
    flex-wrap: wrap;
	padding: 40px 0;
}

#content .ratings div{
	padding: 0 50px 0 0;
}

#content .ratings img {
	max-width: 200px;
}

#content .contentareas {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-around;
    width: 100%;
}

#content .contentarea {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
    
    width: 100%;
}



#content .contentarea .contents {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-around;
    width: 100%;
}

#content .contentarea .contents .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#content .contentarea .contents .content .first {
    padding: 5px;
    text-transform: uppercase;
}
#content .contentarea .contents .content .second {
    padding: 5px;
}

.imagewrapper .background-pic {
    height: 489px;
    
    background-size: cover;
    background-image: url("../img/Zahnarztpraxis_Margarete Baier_10551_Berlin_Tiergarten_Moabit.jpg");
    background-repeat: no-repeat;
    background-position: left;
    
}


.half {
    display: flex;
    margin: 20px 0;
    align-items: center;
}
.halfarea {
    flex-basis: 50%;
    width: 100%;
}






.flex-colum {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.halfarea .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px;
}

.halfarea .content .first {
    padding: 5px;
    text-transform: uppercase;
}
.halfarea .content .second {
    padding: 10px;
    text-align: center;
}

p {
    margin: 0 0 20px 0;
}
paragraph p {
    margin: 0 0 0px 0;
}
.imprint h3, .p-police p {
    padding: 10px 0 5px 0;
}
.imprint table, .p-police table {
    margin: -15px 0 20px 0;
    border: solid #eee 1px;
    border-collapse: collapse;
}
.imprint td, .p-police td {
    padding: 1px 20px 1px 2px;
    border: solid #eee 1px;
    vertical-align: bottom;
}

.imprint ul, .p-police ul ,
.imprint ol, .p-police ol {
    padding: 0 0 20px  0;
    margin-top: -15px;
    padding-left: 18px;
}

.imprint ul ol, .p-police ul ol ,
.imprint ol ul, .p-police ol ul {
    margin-top: 0;
}


.pictureContainer {
    padding:0 0 40px 0;
}

.pictureContainer .row {
    display: flex;
    flex-direction: row;
}

.pictureContainer .column {
    display: flex;
    flex-direction: column;
}

.pictureContainer img {
    width: 100%;
    border: solid 1px #f0f0f0;
}

 .pictureContainer .column  {
    border: solid 5px #ffffff;
}


#footer {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
	font: normal 75% / 120% "Open Sans", Helvetica, Arial, Verdana, sans-serif;
	padding: 20px;
}

#footer a {
	text-decoration: none;
	color: #777;
}

#footer .nav div.current a ,
#footer .nav div a:hover {
    border-bottom: none;
    text-decoration: none;
    font-weight: 800;
}
#footer .nav div a:hover {
    color: #15a3e7;
    text-decoration: underline;
}

@media only screen and  (max-width: 940px) {
    .halfarea.textcontent {
        flex-basis: 70%;
    }
    
    #content {
        padding: 40px 60px 0 60px;
    }
    .bgblue #content {
        padding: 40px 60px 40px 60px;
    }
    #stoerer {
        display: none;
    }
    #content h1 {
        font-size: 160%;
    }
    .nav.responsive {
        font: normal 120%/ 320% "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    }
    #menu .nav div.icon {
        font: normal 120%/ 320% "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    }
     #menu .nav.responsive div.icon {
        font: normal 100%/ 320% "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    }
    #contact div {
        background-size: 20px;
    }
    #content .bgsilver paragraph p {
        padding: 0 20px;
    }
    #content .bgsilver paragraph ul {
        padding: 0 20px;
    }
    #menu {
        flex-direction: column;
        align-items: inherit;
    }
 
 #logowrapper {
        font-size: 130%;
        margin: 0 10px 20px 10px;
    }
 .halfarea .content .first {
     text-align: center;
 }
 

}



@media only screen and  (max-width: 740px) {
    #content {
        padding: 40px 20px 0 20px;
    }
    .bgblue #content {
        padding: 40px 20px 40px 20px;
    }
    
    #content .bgsilver paragraph p {
        
        padding: 0 20px;
    }
    #contact div.mail span {
        display: none;
    }
    .half {
        flex-direction: column;
        align-items: center;
    }
    .prev, .next {
        background-color: #15a3e7;
        opacity: .5;
        font-size: 12px;
        padding: 10px;
        margin-top: -17px;
    }
    
    html {
        font: normal 17px / 19px  "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    }
    
    #menu .nav div {display: none;}
    #menu .nav div.icon {
        display: inline-block;
    }
    
    #menu .nav.responsive {
        flex-direction: column;
        display: flex;
    }
    #menu .nav.responsive .icon {
        
    }
    #menu .nav.responsive div {
        display: flex;
        justify-content: center;
    }
    
    #menu .nav.responsive div.navnav {
        display: none;
    }
    
    #menu .nav.responsive div a {
        padding: 7px 15px;
    }
    
    #menu {
        justify-content: center;
        align-items: center;
        
    }
    
    #menu .nav div.current {
        background-color: #15a3e7;
        opacity: 0.5;
        color: #FFFFFF;
    }
    
    #menu .nav div.current a {
        color: #FFFFFF;
        border-bottom: 4px solid #15a3e7;
    }
    
    .nav .nav div.current a,
    .nav>div>a:hover {
        border-bottom: 4px solid #FFFFFF;
    }
    
    
    .section.sprechzeiten #content .contentarea .contents {
        flex-direction: column;
        align-items: center;
    }
    .section.sprechzeiten #content .contentarea .contents .content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    #content .contentareas.anschrift {
        flex-direction: column;
    }
    
    
    @media only screen and  (max-width: 540px) {
        #contact div.phone span {
            display: none;
        }
    }
    
    @media only screen and (max-width: 440px) {
        #contact div.adress span {
            display: none;
        }
        #contact a {
            margin-left: 34px;
        }
    }


}
