/*
 -------------------------------------------------- 
 Theme Name: Blueness
 Description: Theme for pension-neubert.de
 Version: 1.0
 Author: C. Neubert
 --------------------------------------------------
 TODO:
	- min-width for the content? some browser supposedly have
	  problems when the browser window is smaller than the
	  width of the content. research.
 --------------------------------------------------
*/

/* ------------------------------ */
/* RESET STANDARD TAGS            */
/* ------------------------------ */

* {
	border: 0;
	margin: 0;
	padding: 0;
}

.hidden {
	display: none;
}

/* ------------------------------ */
/* STANDARD HTML TAGS             */
/* ------------------------------ */

body {
	/* FIX: fix font sizes & units */
	font-family: Georgia;
	font-size: 14px;
	color: #222;
	line-height: 23px;
}

a {
	color: #2e84cf;
}

img {
	border: 0 none;
}

h2 {
	font-family: Georgia, serif;
	font-variant: small-caps;
	font-size: 150%;
	color: #1D4A6E;
	margin-bottom: 12px;
}

p {
	padding-bottom: 15px;
}

ul,
ol {
	margin: 1em 0;
	padding: 0 0 0 40px;
}

h1 {
	margin-bottom: 20px;
}



a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

a:active {
	text-decoration: none;
}

/* ------------------------------ */
/* PAGE ELEMENTS                  */
/* ------------------------------ */

.btn {
	background-color: rgb(122, 137, 231);
	border-radius: 5px;
	padding: 10px;
	color: white;
}

.news {
  position: relative;
  background-color: #fff8b3;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.3);
  font-family: sans-serif;
  margin: 1em 0;
	margin-bottom: 2em;
}

.news::before {
	content: "📌";
	transform: scaleX(-1);
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 1.5em;
}

#pagewrap {
	/*margin: auto;*/
	background: url(images/content_bg.jpg) repeat top center #dee3ee;
}

#headerwrap {
	background: url(images/header_bg.jpg) top center no-repeat;
/*	background-size: cover;
	mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);*/
	height: 160px;
}

/* ------------------------------ */
/* HEADER                         */

#header {
	margin: 0pt auto;
	position: relative;
	width: 800px;
}

#logo {
	/* display: inline;*/
	/* why? */
	width: 380px;
	height: 100px;
	position: absolute;
}

#contentwrap {
	/*background-color: white;*/
	margin: 0 auto;
	width: 800px;
}

/* ------------------------------ */
/* CONTENT                        */

#content {
	float: left;
	min-height: 850px;
	/*margin-right: 280px;*/
	margin-right: 20px;
	padding-top: 1em;
	padding-bottom: 2em;
	width: 510px;
}

#content .padding {
	padding: 30px 0 0 25px;
}

#content h1 {
	font-size: 130%;
	text-align: center;
	color: #1D4A6E;
}

#content h2 {
	font-size: 110%;
	text-align: center;
}

#content p {
	text-align: justify;
	hyphens: auto;
}

#slogan {
	margin-bottom: 20px;
}


#flashcontent {
	width: 480px;
	height: 300px;
}

#flashcontent img {
	border-radius: 10px;

}

/* ------------------------------ */
/* SIDEBAR                        */


#sidebar {
	float: left;
	width: 250px;
}

#sidebar .padding {
	padding: 3em 0 0 0;
}

#shadebox {
	/*background: url(images/hbg.gif) repeat-x; border-bottom: 1px dotted #ccc; padding: 10px; margin-bottom: 25px;*/
	margin-bottom: 25px;

}

#sidebox {
	background-color: #EEE;
	border-radius: 10px;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
	padding: 10px;
}

/* ------------------------------ */
/* FOOTER                         */

#footer {
	clear: both;
	background: #a5c1f1;
	font-size: 12px;
	padding: 10px 25px;
}

#footer a {
	color: rgb(35, 35, 200);
}


/* ------------------------------ */
/* NAVIGATION                     */

#navbar {
	width: 423px;
	height: 33px;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	position: absolute;
	right: -2px;
	top: 114px; /* Adjust this value */
	bottom: 0; /* Ensure alignment with the bottom edge of the header */
}

#navbar li {
	display: inline;
	/* why? */
	float: left;
}

.n_uebersicht,
.n_uebersichtactive,
.n_details,
.n_detailsactive,
.n_anfahrt,
.n_anfahrtactive,
.n_kontakt,
.n_kontaktactive {
	overflow: hidden;
	/* keeps Firefox from drawing a border around the element when it's clicked. is there a better way? */
	text-indent: -9999em;
}


.n_uebersichtactive a {
	background: url(images/alltabs.jpg) no-repeat left bottom;
	display: block;
	width: 106px;
	height: 33px;
}

.n_uebersicht a {
	background: url(images/alltabs.jpg) no-repeat left top;
	display: block;
	width: 106px;
	height: 33px;
}

.n_uebersicht a:hover {
	background: url(images/alltabs.jpg) no-repeat left center;
	display: block;
	width: 106px;
	height: 33px;
}


.n_detailsactive a {
	background: url(images/alltabs.jpg) no-repeat -106px bottom;
	display: block;
	width: 106px;
	height: 33px;
}

.n_details a {
	background: url(images/alltabs.jpg) no-repeat -106px top;
	display: block;
	width: 106px;
	height: 33px;
}

.n_details a:hover {
	background: url(images/alltabs.jpg) no-repeat -106px center;
	display: block;
	width: 106px;
	height: 33px;
}


.n_anfahrtactive a {
	background: url(images/alltabs.jpg) no-repeat -212px bottom;
	display: block;
	width: 106px;
	height: 33px;
}

.n_anfahrt a {
	background: url(images/alltabs.jpg) no-repeat -212px top;
	display: block;
	width: 106px;
	height: 33px;
}

.n_anfahrt a:hover {
	background: url(images/alltabs.jpg) no-repeat -212px center;
	display: block;
	width: 106px;
	height: 33px;
}

.n_kontaktactive a {
	background: url(images/alltabs.jpg) no-repeat -318px bottom;
	display: block;
	width: 105px;
	height: 33px;
}

.n_kontakt a {
	background: url(images/alltabs.jpg) no-repeat -318px top;
	display: block;
	width: 105px;
	height: 33px;
}

.n_kontakt a:hover {
	background: url(images/alltabs.jpg) no-repeat -318px center;
	display: block;
	width: 105px;
	height: 33px;
}