@charset "UTF-8";

body {
  font-family: "Myriad Pro", Helvetica, Arial, sans-serif;
  background: #f9f9f9;
  line-height: 140%;
  font-size: 14px;
  font-weight: 300;
}

.wf-active body {
  font-family: "myriad-pro-1","myriad-pro-2", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  font-style: italic;
}

h1 {
  font-size: 28px;
  line-height: 120%;
}

h2 {
  font-size: 25px;
  line-height: 120%;
}

h3 {
  font-size: 22px;
  line-height: 120%;
	margin-bottom: 3px;
}

h4 {
  font-size: 20px;
  line-height: 120%;
	margin-bottom: 3px;
}

h5 {
  font-size: 18px;
  line-height: 120%;
}

h6 {
  font-size: 16px;
  line-height: 120%;
}

article {
  padding: 0px 10px 20px 10px;
}

article header {
  padding: 10px 0px 5px 0px;
}

article h1 {
  color: #0048a0;
  padding-bottom: 5px;
}

article h2 {
  font-size: 22px;
	margin-top: 10px;
	margin-bottom: 5px;
}

article h3 {
  font-size: 16px;
	margin-top: 10px;
	margin-bottom: 5px;
}

a {
  color: #0048a0;
  text-decoration: none;
}

a:hover {
  color: #ffa400;
}

p {
  padding-bottom: 8px;
}

pre {
  overflow: auto;
  padding: 10px;
  border: #777 solid 1px;
  background-color: #ddd;
  margin-bottom: 8px;
}

ul, ol {
	list-style-position: outside;
	padding: 0px 0px 8px 18px;
}

dl.table-display {
}

.table-display dt {
	float: left;
	clear: left;
	margin-right: 10px;
}

.table-display dd {
	margin-left: 100px;
}

td {
	vertical-align: top;
}


.floatright {
	float:right;
	clear: right;
}

/* --- page --- */


#page_header {
  background-color: #0048a0;
  padding-bottom: 10px;
  border-bottom: #f9f9f9 solid 5px;
}

.cssgradients #page_header {
  background: gradient(linear, 
                       center top, center bottom, 
                       from(#0050b2), to(#0048a0));
  background: -moz-linear-gradient(top, #0050b2, #0048a0);
  background: -webkit-gradient(linear, 
                               center top, center bottom, 
                               from(#0050b2), to(#0048a0));
}

.boxshadow #page_header {
  border-bottom-color: #0048a0;
  box-shadow: 0px 0px 3px #777;
  -moz-box-shadow: 0px 0px 3px #777;
  -webkit-box-shadow: 0px 0px 3px #777;
}

#page_header .skip-link {
  display: none;
}


/* --- page_prolog --- */


#page_prolog {
  margin: 0px auto;
}

#page_prolog #berndb_logo {
	display: inline-block;
	margin-right: 30px;
	color: #ffffff;
}

#page_prolog #berndb_logo:hover {
  color: #ffa400;
}

#page_prolog #berndb_logo h1 {
	font-style: normal;
	font-size: 84px;
	font-weight: 600;
}

#page_prolog #site-description {
	display: inline-block;
	color: #ffffff;
}

#page_prolog #site-description h2 {
	font-style: normal;
	font-size: 42px;
	font-weight: 600;
}

/* --- page_footer --- */


#page_footer {
  margin-top: 15px;
  background-color: #0048a0;
  border-top: #f9f9f9 solid 5px;
}

.cssgradients #page_footer {
  background: gradient(linear, 
                       center top, center bottom, 
                       from(#0050b2), to(#0048a0));
  background: -moz-linear-gradient(top, #0050b2, #0048a0);
  background: -webkit-gradient(linear, 
                               center top, center bottom, 
                               from(#0050b2), to(#0048a0));
}

.boxshadow #page_footer {
  border-top-color: #0050b2;
  box-shadow: 0px 0px 3px #777;
  -moz-box-shadow: 0px 0px 3px #777;
  -webkit-box-shadow: 0px 0px 3px #777;
}

/* --- page_epilog --- */


#page_epilog {
  margin: 0px auto;
	padding: 10px 0px;
}

#page_epilog ul {
	list-style: none;
}

page_epilog li {
	display: inline;
	margin-right: 10px;
}

#page_epilog a {
	font-size: 18px;
	color: #fff;
}

#page_epilog a:hover {
  color: #ffa400;
}


/* --- container_header --- */


#container_header {
  margin-bottom: 10px;
}

#container_header nav {
  clear: both;
  padding: 5px;
}

#container_header nav ul {
  background-color: #b6cbe5;
  color: #fff;
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
  font-style: italic;
  list-style-type: none;
  overflow: hidden;
}

.cssgradients #container_header nav ul {
  background: gradient(linear, 
                       center top, center bottom, 
                       from(#cbe2ff), to(#b6cbe5));
  background: -moz-linear-gradient(top, #cbe2ff, #b6cbe5);
  background: -webkit-gradient(linear, 
                               center top, center bottom, 
                               from(#cbe2ff), to(#b6cbe5));
}

.borderradius #container_header nav ul {
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#container_header nav ul li {
  display: block;
  float: left;
	width: 100px;
  margin-right: 10px;
  padding: 10px 10px;
  height: 22px;
}


/* --- container --- */


#container {
  margin: -15px auto 0px auto;
  padding-bottom: 10px;
  background-color: #f9f9f9;
}

.borderradius #container {
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}


/* --- container_footer --- */


#container_footer {
  clear: both;
}


/* --- content --- */


#content {
  clear: both;
  float: left;
}

#content .post {
  position: relative;
  clear: both;
}

#content .post header {
  padding: 10px 0px 5px 0px;
	margin-bottom: 10px;
  border-bottom: #cbe2ff 2px solid ;
}

#content .teaser {
  position: relative;
	float: left;
}

#content .teaser header {
  padding: 10px 0px 5px 0px;
	margin-bottom: 10px;
  border-bottom: #cbe2ff 2px solid ;
}

#content_footer {
  clear: both;
}


/* --- sidebar --- */


#sidebar {
  float: left;
}

#sidebar_footer {
  clear: both;
}


/* --- media specific --- */


@media screen and (max-width:419px) {  /* too small */
  body {
    width: 420px;
  }
}

@media screen and (max-width:719px) {  /* small */
  #page_prolog {
    width: 400px;
  }  

  #page_epilog {
    width: 400px;
  }  

  #container {
    width: 400px;
  }  

  #content {
    width: 400px;
    padding-bottom: 20px;
    border-bottom: solid #cbe2ff 2px;
  }

  #sidebar {
    clear: both;
    width: 400px;
  }
}

@media screen and (min-width:720px) and (max-width:959px) { /* medium */
  #page_prolog {
    width: 630px;
  }

  #page_epilog {
    width: 630px;
  }

  #container {
    width: 630px;
  }

  #content {
    width: 630px;
    padding-bottom: 20px;
    border-bottom: solid #cbe2ff 2px;
  }

  #sidebar {
    clear: both;
    width: 630px;
  }
}

@media screen and (min-width:960px) { /* large */
  #page_prolog {
    width: 960px;
  }

  #page_epilog {
    width: 960px;
  }

  #container {
    width: 960px;
  }

  #content {
    width: 630px;
    padding-right: 20px;
    margin-right: -2px;
    border-right: solid #cbe2ff 2px;
  }

  #content .teaser {
    width: 300px;
    padding-right: 5px;
    margin-right: -2px;
	}
	
  #sidebar {
    padding-left: 19px;
    width: 270px;
    border-left: solid #cbe2ff 2px;
  }
}


