/*! Gastro-HN - Custom Styles */

/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('../fonts/open-sans-v18-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v18-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/open-sans-v18-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v18-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('../fonts/open-sans-v18-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v18-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local(''),
       url('../fonts/open-sans-v18-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v18-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/open-sans-v18-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v18-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* ==========================================================================
   Default Styles
   ========================================================================== */

body {
	background-color: #fff;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-display: swap;
	font-size: 110%;
	line-height: 1.6;
  word-break: break-word;
	font-weight: 400;
	color: #232c37;	
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: #cfe6e2;
}

.aligncenter { text-align: center; }
.alignright { text-align: right; }
figure, figure img { margin: 0; padding: 0; width: 100% }
strong { font-weight: 600; }
p { margin: 0 0 0.75em 0; }
ul { margin: 0 0 0.75em 0; }
li { list-style-type: none; margin-left: 0; padding-left: 0; }

#main ul { padding-left: 20px; }
#main ul > li { list-style-type: disc; padding-left: 0px; }

#main .container { padding-top: 1.5rem; padding-bottom: 6em; margin: 0 auto; }

.invisible { display: none; }


/* ==========================================================================
   Überschriften
   ========================================================================== */
   
h1 { color: #232c37; font-size: calc(18px + (24 - 18) * (100vw - 400px) / (800 - 400)); font-weight: 700; line-height: 1.3 }
h2 { color: #232c37; font-size: calc(17px + (22 - 17) * (100vw - 400px) / (800 - 400)); font-weight: 700; line-height: 1.3; margin-top: 1em; margin-bottom: 1.5em; }
h3 { color: #232c37; font-size: calc(16px + (18 - 16) * (100vw - 400px) / (800 - 400)); font-weight: 700; line-height: 1.3; margin-top: 1em; margin-bottom: 1em;}

@media screen and (max-width: 64em) { 
  h1 { font-size: 2.5em; }
}

@media screen and (max-width: 50em) {
  h1 { font-size: 2em; }
}

@media screen and (max-width: 30em){
  h1 { font-sitze: 1.5em; }
}   

h2:after { content:""; margin-top: 0.5em; background-color: #de4324; display: block; width: 80px; height: 1px; border: 1px solid #de4324; }
.team h3 { margin-top: 0.5em; margin-bottom: 0; }

#footer div.footer-range-col { margin: 2em 0 0.5em 0; font-weight: 600; font-size: 110%; }

   
/* ==========================================================================
   Links
   ========================================================================== */   

a {  }
a:link { color: #043882; }
a:hover { color: #de4324; }
a:visited { color: #02204a; }

a:focus {
  outline: 2px solid #043882 !important;
  outline-offset: 2px;
}


/*#main a[href^="http"]:after {
         font-family: 'FontAwesome';
         content: " \f08e";
         font-size: 80%;
         color: #043882;
       }  
*/

/* ==========================================================================
   Top
   ========================================================================== */
   
.top { height: 35px; background-color: #021A3D; color: rgba(255,255,255,0.9); font-weight: 400; position: fixed; width: 100%; z-index: 999; }   
.top .top-phone { margin: 0 auto; font-size: 90%; text-align: center; line-height: 35px; }
.top .top-phone:before { content: '\f095'; font-family: 'FontAwesome'; padding-right: 10px; font-style: normal; }
.top .top-phone a { color: rgba(255,255,255,0.9); text-decoration: none; }

@media screen and (min-width: 55em) {
  .top .top-phone { text-align: right; }
}


/* ==========================================================================
   Header
   ========================================================================== */

#header { height: 150px; padding-top: 30px; }
#header .container { margin: 0 auto; }

#header #logo h1 {
  width: 220px;
  height: 64px;
}

#header #logo a {	
	display: block;
	text-indent: -10000px;
}

#header #logo h1 a {
	width: 100%;
	height: 100%;
	background: url(../img/gastroenterologische-praxis-hn.png);
  background-size: contain;
	-webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}

#header .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Nav Menu Essentials */

#nav-menu-container {
	margin: 0;
  line-height: 1;
  font-size: 90%;
}

.nav-menu, .nav-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-menu li {
	position: relative;
	white-space: nowrap;
	display: inline-block;
	padding: 7px 8px;
}

/* .nav-menu li:last-child { padding-right: 0; } wieder entfernen, wenn Online-Termin-Tool aktiviert wird */
.nav-menu li.termin { background-color: #021A3D }
.nav-menu li.termin:hover { background-color: #de4324; }
.nav-menu li.termin a { color: rgba(255,255,255,0.8); }
.nav-menu li.termin a:hover { color: rgba(255,255,255,1); border-bottom: none; }

.nav-menu a {
	text-decoration: none;
	display: inline-block;
	color: #000;
	font-weight: 400;
	outline: none;
	transition: 0.5s;
}

.nav-menu a.active { color: #043882; font-weight: 600; }
.nav-menu a:hover { color: #de4324; }


/* Mobile Nav Toggle */

#mobile-nav-toggle {
	position: fixed;
	right: 30px;
	top: 10px;
	z-index: 999; 
	margin: 40px 0 0 0;
	padding-top: 0;
	border: 0;
	background: none;
	font-size: 42px;
	display: none;
	transition: all 0.4s;
	outline: none;
	cursor: pointer;
	background-color: rgba(255,255,255,0.25); 
}

#mobile-nav-toggle i { color: #021A3D; }
#mobile-nav-toggle i:hover { color: #de4324; }

@media (max-width: 990px) {
	#mobile-nav-toggle {
		display: inline;
	}
}


/* Mobile Nav Styling */

#mobile-nav {
	position: fixed;
	top: 0;
	padding-top: 30px;
	bottom: 0;
	z-index: 998;
	background: rgba(0,0,0, 0.85);
	left: -75%;
	width: 75%;
	overflow-y: auto;
	transition: 0.4s;
	text-align: left;
}

#mobile-nav ul {
	padding: 0;
	margin: 0;
	margin-top: 3em;
	list-style: none;
	border-top: 1px solid rgba(255,255,255,0.2);
}

#mobile-nav ul li {
	position: relative;
	padding-left; 60px;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

#mobile-nav ul li:hover { background-color: #dc5635; }

#mobile-nav ul li a {
	color: rgba(255,255,255,0.8);
	font-size: 18px;
	text-transform: uppercase;
	overflow: hidden;
	padding: 10px 22px 10px 15px;
	position: relative;
	text-decoration: none;
	width: 100%;
	display: block;
	outline: none;
	font-weight: 300;
}

#mobile-nav ul li a:hover { color: rgba(255,255,255,0.9) !important; }
#mobile-nav ul .active { color: #dc5635; }
#mobile-nav ul .active:before { content: '\203A'; padding-right: 10px; font-size: 1.3rem; font-weight: 600 }

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
  display: none;
}

/* Mobile Nav body classes */

body.mobile-nav-active { overflow: hidden; }
body.mobile-nav-active #mobile-nav { left: 0; }
body.mobile-nav-active #mobile-nav-toggle { color: #fff; }


@media screen and (max-width: 61.88em) {
  #nav-menu-container { display: none; }
}

@media screen and (min-width: 61.88em) {
  #mobile-nav-toggle { display: none; }
}

/* ==========================================================================
   content
   ========================================================================== */

.teaser, .raster { background-color: #cdd7e6; padding: 30px 40px; margin-bottom: 3em; }
.teaser p { line-height: 1.6;  }
.teaser h2 { margin-top: 0; margin-bottom: 0.75em !important; line-height; 1.4; }
.teaser h2:after { display: none; }

@media screen and (max-width: 50em) {
  .teaser { padding: 20px 20px; }
}

@media screen and (min-width: 50em) {
  .teaser { margin-top: -100px; }
}


table caption { display: none; }

.content-table { margin-bottom: 2em; }
.content-table tr:nth-child(odd) { background-color: rgba(4,56,130,0.1)}
.content-table tr:nth-child(even) { background-color: rgba(4,56,130,0.2)}
.content-table td { padding: 7px 15px; }

.team .profil-img { width: 160px; float: left; margin-right: 1em; margin-bottom: 3em; }

.back:before { 
  font-family: 'FontAwesome';
  content: " \f060";
  font-size: 80%;
  color: #043882; 
  padding-right: 5px;
}

.caption { font-style: italic; font-size: 80%; padding: 0.5em 0; margin-bottom: 2em; border-bottom: 3px solid #e0e0e0; display: block; }


.special {
  background-color: #e6ebf1;
  padding: 10px 30px 20px 30px;
  margin-top: 3rem;
}

.special h3 { color: #000; }

.hinweis {
  background-color: rgba(4,56,130,0.1);
  padding: 30px 30px 20px 30px;
  margin-top: 1rem;  
}

a.button {
  display: inline-block;
  background-color: #021A3D;
  padding: 10px 30px;
  text-align: center;
  margin: 20px 10px;
  border-radius: 4px;
  color: rgba(255,255,255,0.8);
  font-weight: bold;
}

a:hover.button {
  display: inline-block;
  background-color: #de4324;
  padding: 10px 30px;
  text-align: center;
  margin: 20px 10px;
  border-radius: 4px;
  color: rgba(255,255,255,0.8);
  font-weight: bold;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footer { text-align: center; line-height: 1.6; background-color: #021A3D; }

#footer .row {
  margin: 0 auto;
  text-align: left;
}

.footer-content {
  background-color: #021A3D;
  color: rgba(255,255,255,0.8);
  padding: 2em 0 3em 0;  
  font-size: 90%
}

.footer-table tr:nth-child(odd) { background-color: rgba(255,255,255,0.1)}
.footer-table tr:nth-child(even) { background-color: rgba(255,255,255,0.3)}
.footer-table td, .footer-table th { padding-left: 15px; }

.footer-content .big { font-size: 150%}
.footer-content .big a { color: #fff; text-decoration: none;}


.footer-eof {
  background-color: #011024;
  color: rgba(255,255,255,0.8);
  padding: 1.5em 0 1em 0;
}

.footer-eof a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-eof a:hover { color: rgba(255,255,255,1); }

.footer-eof p {
    text-align: center;
    font-size: 0.875rem; 
}

@media screen and (min-width: 50em) {
	
	.footer-eof p { text-align: right; }

}
	

/* ==========================================================================
   Padding & Margin
   ========================================================================== */

.pt10 { padding-top: 10px; }
.pt20 { padding-top: 20px; }
.pt30 { padding-top: 30px; }
.pt40 { padding-top: 40px; }
.pt60 { padding-top: 60px; }
.pt80 { padding-top: 80px; }
.pb20 { padding-bottom: 20px; }
.pb30 { padding-top: 30px; }
.pb40 { padding-bottom: 40px; }
.pb60 { padding-bottom: 60px; }
.pb80 { padding-bottom: 80px; }

.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }
.mt60 { margin-top: 60px; }
.mt80 { margin-top: 80px; }
.mt100 { margin-top: 100px; }
.mt120 { margin-top: 120px; }
.mb20 { margin-bottom: 20px; }
.mb40 { margin-bottom: 40px; }
.mb60 { margin-bottom: 60px; }
.mb80 { margin-bottom: 80px; }
.mb100 { margin-bottom: 100px; }
.mb120 { margin-bottom: 120px; }
	