/* custom styles */

.BorlabsCookie {
    text-align: center;
}

/* avoid horizontal moving when touch (width) */
body{
    overflow-x:hidden;
  	font-family: 'Overpass', "Helvetica Neue", helvetica, arial, sans-serif;
}

/* anchor offset 
:target {
  display: block;
  position: relative;
  top: -800px; 
  visibility: hidden;
}
*/

h1, h2, h3, h4, h5, h6 {
	clear: both;
	line-height: 1.4;
	margin: 0 0 0.75em;
	padding: 0 0;
}

h2, .home.blog .entry-title, .page .panel-content .recent-posts .entry-title {
	/* font-size: 26px; */
	font-size: 1.25rem;
}

h3 {
	color: #333;
	font-size: 1em;
	font-weight: 300;
	text-transform: uppercase;
}

h2, .home.blog .entry-title {
	color: black;
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 300;
}

@media screen and (max-width: 736px) {
	.has-header-image.twentyseventeen-front-page .site-branding, .has-header-video.twentyseventeen-front-page .site-branding, .has-header-image.home.blog .site-branding, .has-header-video.home.blog .site-branding {
		display: table-cell;
		height: 90vh;
		vertical-align: bottom;
	}
}

/* svg logo header */
#wp-custom-header::before {
	/*background-image: url(https://www.zahnarzt-gilhaus.de/wp-content/uploads/2018/01/Logo_Torge_Gilhaus_white.svg);*/
	height: 65vh;
	width: 50vh;
	display: block;
	z-index: 1000;
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: '';
	background-repeat: no-repeat;
	background-size: 100%;
	background-position-y: 20vh;
}

#page {
	position: relative;
	word-wrap: break-word;
	width: 100%;
}

/* page title */
    @media screen and (min-width: 48em) {
        .page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {
            margin-bottom: 0;
        }
    }

.page .panel-content .entry-title, 
.page-title, body.page:not(.twentyseventeen-front-page) .entry-title {
	color: #222;
	font-size: 0.85rem;
	/*font-size: 1.2rem;*/
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
  	padding-bottom: 2rem;
  	padding-top: 2rem;
}

a, a:focus, a:active {
   outline: 0;
  border: none;
}

@media screen and (min-width: 48em) {
  #site-navigation {
    display: inline-block;
  }
}
.logo-link {
  display: none;
}

#logo-small {
  display: none;
  height: 0;
  max-height:0;
  transition: max-height 5s;
  transition: display 5s;
}

.navigation-top .wrap {
    max-height: 200px;
  	transition: max-height 5s;
  }

@media screen and (min-width: 48em) {
  #logo-small {
    /*display: none;
    height: auto;
    max-height: 100px;*/
    
	display: none;
	height: auto;
	max-height: 92px;
	margin-bottom: -0.5em;

  }
  
  .navigation-top .wrap {
    max-height: 300px;
  }

  .logo-link {
    width: 19%;
    display: inline-block;
    position: relative;
    top: 0;
    vertical-align: middle;
    padding: 0 4.5% 0 0;
    margin-left: -1rem;
  }
  
  .site-header .navigation-top .menu-scroll-down {
    color: #767676;
    top: inherit;
    bottom: inherit;
  }
}

@media screen and (min-width: 67em) {
  .logo-link {
    width: 22%;
    display: inline-block;
    position: relative;
    top: -30px;
    vertical-align: middle;
    padding: 0 4.5% 0 0;
	}
  
  .site-header .navigation-top .menu-scroll-down {
    color: #767676;
    top: inherit;
    bottom: 0vh;
  }

  .navigation-top {
    font-size: 14px;
    font-size: 1rem;
  }

}
.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a {
	color: inherit;
}

.site-branding {
	/*background: rgba(58,96,108,0.7);*/
	padding-top: 3em !important;
}

.menu-toggle {
	background-color: transparent;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #222;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.5;
	margin: 1px 0 2px 70%;
	padding: 1em;
	text-shadow: none;
}

.navigation-top {
    background: url('https://www.zahnarzt-gilhaus.de/wp-content/uploads/2018/01/cropped-Logo_Torge_Gilhaus_RGB.png') white;
    background-position: 3em;
    background-repeat: no-repeat;
    background-size: 100px;
    min-height: 100px;
    padding: 2em !important;
  }

@media screen and (min-width: 48em) {
  .navigation-top .wrap {
    padding: 1.5em 2em 0;
  }
}

@media screen and (min-width: 48em) {
  .navigation-top {
    background: white; 
    background-position: 5%;
    background-repeat: no-repeat;
    background-size: 10%;
    min-height: 100px;
    padding: 1em 2.5em 2.5em 2.5em !important;
  }
}

@media screen and (min-width: 67em) {
  .navigation-top {
    background-position: 12%;
    background-repeat: no-repeat;
    background-size: 10%;
    min-height: 100px;
    padding: 1.75rem 3em 0 !important;
  }
}

.main-navigation ul {
	background: white;
	list-style: none;
	margin: 0;
	padding: 0 1.5em;
	text-align: center;
}

@media screen and (min-width: 48em) {
  .main-navigation ul {
    background: transparent;
  }
  
  .panel-content .wrap {
		/*padding-bottom: 1.5rem;*/
		padding-top: 0;
  
	}
  
  .twentyseventeen-panel {
    overflow: hidden;
    position: relative;
    padding-top: 2rem;
  }
}

/* philosophie centering*/
#el-e6f1cbe7 p {
    margin: 0 auto;
    padding: 0;
}

/* home / kontakt bg */

@media screen and (min-width: 1900px) {
  #post-29 {
    font-size: 1.3rem;
    /*min-height: 82vh;*/
    padding-top: 6rem;
  }
}

#post-29, #panel4 {
  background: #cddcd5; /* Old browsers */
  background: -moz-linear-gradient(top, #cddcd5 0%, #deede6 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #cddcd5 0%,#deede6 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #cddcd5 0%,#deede6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cddcd5', endColorstr='#deede6',GradientType=0 ); /* IE6-9 */
	
  background: #cddcd5;
}


/* no gradient over header and section img */
.custom-header-media::before,
.panel-image::before {
	background: none;
}

.site-title, .site-description {
	text-shadow: 2px 1px 3px rgba(84, 82, 82, 0.5);
}

p {
  max-width: 42rem;}

.single-post:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary {
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
}

.page-one-column .panel-content .wrap {
  max-width: 1440px;
  text-align: center;
}

.wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
	padding-left: 2em;
	padding-right: 2em;
}

.vce-row-container {
	margin-bottom: 4rem;
}

/* home: philosophy p */

#el-e42ade0d p {
  width: 50rem;
	margin: 0 auto;
}	

#el-e6f1cbe7 p {
	margin: 0 auto;
	padding: 0;
	font-size: 1.1rem;
	line-height: 1.6;
}

/* team */
.team-row {
	max-width: 900px;
	margin: 0 auto;
	padding-left: 0%;
}

/* home: kontakt p */
#el-306ca575 p {
  text-align: left;
}	

.vce-text-block {
	text-align: left;
}

/* google map */
embed, iframe, object {
	margin-bottom: 1.5em;
	max-width: 100%;
	width: 100%;
	min-height: 500px;
}

/* leistungen bg images */

/* ap layout */

.wrapper-text-img {
	display: block;
	margin: 0 auto;
	position: relative;
	width: 100%;
	height: auto;
}
.text-block {
  diiisplay: inline-block;
  display: block;
  float: left;
  max-width: 40rem;
}

@media screen and (min-width: 1024px) {
	.wrapper-text-img {
		display: flex;
   		 flex-wrap: wrap;
   		 margin-right: -2em;
	}

	.text-block {
		flex: 0 0 50%;
    	box-sizing: border-box;
    	float: none;
    	padding-right: 2em;
	}
}

.text-block > h3, .text-block > h2, .text-block > h1, .text-block > p {
margin-bottom: 0 !important;

}

/* leistungen mobile no padding */
.post-523 .wrap {
	padding-left: 0;
	padding-right: 0;
}

/* grid */
.col-text {
  height:32em;
}
.grid-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  flex-direction: row; 
  -webkit-flex-direction: row;
  -webkit-flex-wrap: wrap;
  -webkit-justify-content: space-around;
}

.grid-flex:nth-child(odd) {
 background: rgba(183,202,207,0.9);
 	
}
.grid-flex:nth-child(even) {
 background: rgba(183,202,207,0.5);
}

.col {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.col-left {
  -webkit-box-ordinal-group:-1;
  -webkit-order: -1;
  -ms-flex-order: -1;
  order: -1;
}
  .col-text {
  display: flex;
  align-items: start;
  padding-top: 2rem;
  justify-content: center;
}

.Aligner-item {
	width: 90%;
	padding: 1em;
}
.col-image {
  background-size: cover;
  background-position:center center;
}
  .col-text div p, .col-text div h1, .col-text div h2, .col-text div h3 {
    /*padding: 1em;*/
    text-align: left !important;
  }

@media (max-width: 79rem) {
  .grid-flex {
  display: block;
    height: auto;
    display: -webkit-flex;
    -webkit-flex-direction: column;
    flex-direction: column; 
   }
  .col {
    order:vertical;
  }
  .col-left {
    -webkit-box-ordinal-group:0;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
  }
  .col-image {
  min-height: 300px;
}
.col-text{
  display: block;
  height: auto;
}
  .col-text div p {
    /*padding: 1em;*/
    text-align: left !important;
  }
  .Aligner-item {
    width: 90%;
  }
}


@media screen and (max-width: 800px) {
    h1, h2, h3, h4, h5, h6 {
      clear: both;
      line-height: 1.4;
      margin: 0 0 0.75em;
      padding: 0;
  }
  .vce-row.vce-element--has-background {
    padding-left: 1% !important;
    padding-right: 1% !important;
    padding-top: 70%;
  }
  
  .vce-asset-background-simple--position-right-center .vce-asset-background-simple-item {
    background-position: top !important;
  }
  .vce-asset-background-simple--style-cover .vce-asset-background-simple-item {
    background-size: contain !important;
    background-repeat: no-repeat;
  }
  
  .vce-row-content--top > .vce-row-content > .vce-element--has-background > .vce-col-inner {
      padding-top: 30px;
      padding-left: 3%;
      padding-right: 3%;
  }
}

.site-info {
	float: none;
	padding: 0.7em 0 0;
	width: 100%;
	text-align: center;
}

/* leistungen V2 */

/*
.colorfond {
  background-color: transparent !important;
	padding-top: 12rem !important;
}
*/

@media screen and (min-width: 800px) {
  #post-514, .post-523 .vce-row:not(#el-b210d00b){
    background: #839da2 !important;
    p-adding-top: 0 !important;
    margin-bottom: 0 !important;
    color: white !important;
  }  
  .post-523 .vce {
      margin-bottom: 0;
  }
  .post-523 .vce-text-block-wrapper {
  	padding-top: 2rem;
  }
  .post-523 h2, #post-523 h3 {    
  }
  .post-523 .vce-text-block #el-e7ffa9d6 p {
  	margin: 0 auto;
  }
}

/* ---- vc ---- */

.vce-row-container {
	margin-bottom: 2rem;
}

.vce-content-background-container {
 border-radius:inherit
}
.vce-asset-background-simple-container {
 position:absolute;
 top:0;
 right:0;
 bottom:0;
 left:0;
 overflow:hidden;
 pointer-events:none;
 display:none;
 border-radius:inherit
}
.vce-asset-background-simple {
 position:absolute;
 top:0;
 right:-1px;
 bottom:0;
 left:-1px
}
.vce-asset-background-simple-item {
 background-position:50% 0;
 box-sizing:border-box;
 position:absolute;
 top:0;
 right:0;
 bottom:0;
 left:0
}
.vce-asset-background-simple--style-cover .vce-asset-background-simple-item {
 background-size:cover;
 background-repeat:no-repeat
}
.vce-asset-background-simple--style-contain .vce-asset-background-simple-item {
 background-size:contain;
 background-repeat:no-repeat
}
.vce-asset-background-simple--style-full-width .vce-asset-background-simple-item {
 background-size:100% auto
}
.vce-asset-background-simple--style-full-height .vce-asset-background-simple-item {
 background-size:auto 100%
}
.vce-asset-background-simple--style-repeat .vce-asset-background-simple-item {
 background-repeat:repeat
}
.vce-asset-background-simple--style-repeat-x .vce-asset-background-simple-item {
 background-repeat:repeat-x
}
.vce-asset-background-simple--style-repeat-y .vce-asset-background-simple-item {
 background-repeat:repeat-y
}
.vce-asset-background-simple--style-no-repeat .vce-asset-background-simple-item {
 background-repeat:no-repeat
}
.vce-asset-background-simple--position-left-top .vce-asset-background-simple-item {
 background-position:0 0
}
.vce-asset-background-simple--position-center-top .vce-asset-background-simple-item {
 background-position:top
}
.vce-asset-background-simple--position-right-top .vce-asset-background-simple-item {
 background-position:100% 0
}
.vce-asset-background-simple--position-left-center .vce-asset-background-simple-item {
 background-position:0
}
.vce-asset-background-simple--position-center-center .vce-asset-background-simple-item {
 background-position:50%
}
.vce-asset-background-simple--position-right-center .vce-asset-background-simple-item {
 background-position:100%
}
.vce-asset-background-simple--position-left-bottom .vce-asset-background-simple-item {
 background-position:0 100%
}
.vce-asset-background-simple--position-center-bottom .vce-asset-background-simple-item {
 background-position:bottom
}
.vce-asset-background-simple--position-right-bottom .vce-asset-background-simple-item {
 background-position:100% 100%
}
.vce-asset-background-simple-container.vce-visible-all-only {
 display:block
}
@media (max-width:543px) {
 .vce-asset-background-simple-container.vce-visible-xs-only {
  display:block
 }
}
@media (min-width:544px) and (max-width:767px) {
 .vce-asset-background-simple-container.vce-visible-sm-only {
  display:block
 }
}
@media (min-width:768px) and (max-width:991px) {
 .vce-asset-background-simple-container.vce-visible-md-only {
  display:block
 }
}
@media (min-width:992px) and (max-width:1199px) {
 .vce-asset-background-simple-container.vce-visible-lg-only {
  display:block
 }
}
@media (min-width:1200px) {
 .vce-asset-background-simple-container.vce-visible-xl-only {
  display:block
 }
}

.js .main-navigation.toggled-on > div > ul {
    z-index: 1000;
    position: relative;
    margin-top: -1em;
}

.small-footer a {
  margin-right: 1em;
}

.vce-single-image-container.team-pic.vce-single-image--align-center {
    max-width: 10rem;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 50%;
  	-moz-border-radius: 50%;  
    -webkit-border-radius: 50%;
    max-height: 10rem;
  margin-bottom: 1em;
}

.vce-single-image-container.team-pic.vce-single-image--align-center img {
      border-radius: 50%;
  	-moz-border-radius: 50%;  
    -webkit-border-radius: 50%;
  padding-top: 3px;
}