/*  

Theme Name: DerRechteRand
Version: 1.0
Author: Christian Sahm	

*/


/*********************************************************

   HTML Elements

 *********************************************************/

html,
body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: #727376 url(./images/bg_body.png) repeat-x top left;
	font-size: 80%;
	font-family:  verdana, arial, sans-serif;
	line-height: 170%;
	color: #555;
}

/* Headers */

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 10px 0;
	padding: 0;
}

h1 {
	padding: 10px 0 0 0;
	text-transform: uppercase;
	font-size: 1.6em;	
	color: #536C71;
}

h2 {
	text-transform: uppercase;
	font-size: 1.1em;
	color: #536C71;
	line-height: 1.2em;
	padding: 20px 0 0 0;
}

h3 {
	text-transform: uppercase;
	font-size: 0.9em;
	color: #5D6F73;
	padding: 0;
}

h4 {
  	font-size: 0.85em;
}

h5 {
	font-size: 0.8em;
}


/* Links */
a {
  color: #3B5D77;
}

#menu a {
  text-decoration: none;
}

a:hover {
  color: #668FA3;
}

a img {
  border: 0;
}

a img.border {  
  border: 1px solid #FC3307;
}

a:hover img.border {  
  /* Fixes IE bug - IE doesn't correctly apply the style on a:hover so need to mask it */
  border: 1px solid #668FA3 !important;
  border: 1px solid #FC3307;
}

/* Images */

img.floatRight {
  margin: 5px 0 10px 10px;
}

img.floatLeft {
  margin: 5px 10px 10px 0;
}

/* Lists */

ul li {
  line-height: 1.4em;
}

ol li {
  font-weight: bold;
}

ol li span {
  font-weight: normal;
}

.linkcat {
	list-style-type: none;
}


/* Blockquote */

blockquote {
  margin: 0;
  padding: 0 20px;
  background: #E7F1F3;
  border-top: 1px solid #AAD3DB;
  border-bottom: 1px solid #AAD3DB;
}


/**************************************************************

   Form Elements

 **************************************************************/


form {
  padding: 0;
  margin: 0;
}


/* If you're finding the input elements get pushed down, increase the width */

label {
  width: 25%;
  vertical-align: top;
}

div#search{
	background: transparent url(images/bg_search.png) left top no-repeat;
	border: 0;
	height: 40px;
	padding-left: 25px;
}

input#s{
	width: 120px;
  	padding: 7px 0 0 0;
  	font: 400 1em verdana, sans-serif;
  	color: #999;
}

input,
textarea,
select {
  padding: 1px;
  font: 400 1em verdana, sans-serif;
  color: #999;
  background: transparent;
  border: 0;
}


input.noBorder,
input:focus.noBorder,
input:hover.noBorder {
  padding: 0;
  border: 0;
}


input.button, input#searchsubmit {
  padding: 2px 5px;
  font: 400 0.9em verdana, serif;
  cursor: pointer;
}


input.radio {
  background: none;
  border: 0px;
}



 

/**************************************************************

   All page content except for footer

 **************************************************************/


#content { 
  margin: 0 auto;
  width: 1024px;	
  position: relative;
  height: auto !important;
  background-color: #ebeaeb;
  text-align: left;
}



#topbar {
  float: left;
  width: 100%;
  padding: 0.6em 0;
  font-size: 0.9em;
  text-transform: uppercase;
  color: #CFD9DB;
  background: #FFF url(./images/topbar.gif) repeat-x bottom left;
}


/**************************************************************

   Top menu and logo

 **************************************************************/


#header {
	width: 1024px;
	clear: both;
	position: relative;
	height: 140px;
	margin: 0 auto;
	background: #353748 url(./images/bg_head.png) repeat-x top left;
}


#header img {
  position: absolute;
  top: 5%;
  left: 0px;
}



/**************************************************************

   Header Image/Search

 **************************************************************/


#headerImg {
  margin: 0 40px; 
  width: 560px;
  height: 120px;
  background: url(./images/logo.png) no-repeat top left;
  float: left;
}



#headerSearch {
  margin: 0 0 0 700px;
  padding: 40px 0 4px 30px;
  height: 30px;
}


/**************************************************************

   Top Block Menu

 **************************************************************/


#menu {
  margin: 0 auto; 
  width: 1024px;
  height: 46px;
  background: #e4e9ec url(./images/bg_navi.png) repeat-x top left;
}

#menu img {
	padding: 14px 10px;
}

#menu ul {
  float: left;
  margin: 0;
  padding: 0;
  text-align: left;
}


#menu ul li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}


#menu ul li a {
  float: left;
  font: 400 1.1em arial, sans-serif;
  letter-spacing: 0.1em;
  color: #414243;
  overflow: hidden;
  display: block;
  padding: 16px;
  color: #8C8D94;
}


#menu ul li a:hover,
#menu ul li a.here {
  color: #fff;	
  background: #464853 url(./images/bg_navi_high.png) repeat-x top left;
}



/**************************************************************

   Page Content

 **************************************************************/

#page {
  clear: both;
  float: left;
  width: 100%;
  padding-bottom: 30px;
  padding-top: 30px;
  text-align: left;
  background-color: #fff;
}


#columns {
  margin: 0 20px;
}


/* Column widths */

.width {
  width: 776px;
}


.widthPad {
  width: 746px;
}


.width25 {
  width: 24%;
}

.width40 {
  width: 390px;
  margin-right: 20px;
}


.width50 {
  width: 45%;
}

.width73 {
  width: 519px;
}


.width75 {
  width: 75%;
}


.width100 {
  width: 776px;
}

.media {
	float: left;
	padding: 10px 15px;
	width: 250px;
}

/**************************************************************

   Footer

 **************************************************************/


#footer {
  clear: both;  
}

#footer h1, #footer h2 {
	color: #d7e1e6;
}

#footer p, #footer ul {
	color: #d7e1e6;
	font-size: 0.9em;
	line-height: 1.3em;
}


#footer #bg {
  position: relative;
  width: 1024px;	
  overflow: auto;
  margin: 0 auto;
  background: #1e2132 url(./images/bg_foot.png) repeat-x top left;
}



#footer #bg ul {
  margin: 1em 1em 0 0 !important;
  margin: 1em 0.5em 0 0;
  padding: 0;
  list-style: none;
}


#footer #bg ul li {
  list-style: none;
}



#footer #bg ul li a {
  color: #d7e1e6;
  font: 400 1em arial, sans-serif;
  letter-spacing: 0.1em;
  line-height: 0.8em !important;
  line-height: 1em;
}



#footer #bg ul li a.last {
  padding-right: 0;
  border-right: 0;
}



#footer #bg ul li a:hover {
  color: #8C8D94;
}

#footer .width50 {
	margin: 30px 20px 10px 20px;
}


/**************************************************************

   Posts

 **************************************************************/

.post {
  float: left;
  width: 100% !important;
  width: 99%;
  position: relative;
  margin: 10px;
  padding: 80px 0 0 0;
  border: 1px solid #d7e1e6;
  background-color: #f8faf9;
}


.page img,
.post img {
  float: left;
  margin: 15px;
  padding: 3px;
  background-color: #f4f4f4;
  border: 1px solid #ededec;
  width: 150px;
  height: 212px;
}

.post .ausg {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 500px;
  background: #d7e1e6 url(images/bg_title.png) top left repeat-x;
}

.post .ausg .ausg_no {
  font: 700 6em arial, sans-serif;
  width: 160px;
  color: #fff;
  float:left;
  margin: 10px;
}

.post .ausg .ausg_datum {
  display: block;
  width: 320px;
  float: right;
  font-size: 1.4em;
}


.post #excerpt {
	float: right;
	margin-right: 10px;
	width: 310px;
	margin-top: 15px;
	overflow: auto;
}

.post .more {
	clear: both;
	margin:0;
	width: 100%;
	height: 93px;
	background: #d7e1e6 url("images/corner_abo.png") top right no-repeat;
}

.post .more p{
	padding: 10px;
	font-size: 1.4em;
	line-height: 1.8em;
}


.smallpost {
  float: left;
  width: 100% !important;
  width: 99%;
  position: relative;
  margin: 10px 10px 20px 10px;
  padding: 60px 0 0 0;
  border: 1px solid #d7e1e6;
  background-color: #f8faf9;
}


.smallpost img.attached-image {
  float: left;
  margin: 15px;
  padding: 3px;
  background-color: #f4f4f4;
  border: 1px solid #ededec;
  width: 60px;
  height: 90px;
}

.smallpost .ausg {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 371px;
  padding-bottom: 10px;
  background: #d7e1e6 url(images/bg_title.png) top left repeat-x;
}

.smallpost .ausg .ausg_no {
  font: 700 4.4em arial, sans-serif;
  width: 100px;
  color: #fff;
  float:left;
  margin: 5px 10px;
}

.smallpost .ausg .ausg_datum {
  display: block;
  width: 320px;
  font-size: 1.1em;
}


.smallpost #excerpt {
  display: block;
	float: right;
	margin-right: 10px;
	width: 240px;
}

.smallpost .more {
	clear: left;
	margin:0;
	width: 100%;
	height: 4px;
	background-color: #d7e1e6;
}

.smallpost .more p{
	padding: 5px;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}


.singlepost {
  float: left;
  position: relative;
  margin: 10px;
  padding: 80px 0 0 0;
  border: 1px solid #d7e1e6;
  background-color: #f8faf9;
}


.singlepost .postcontent{
  padding: 10px;
}

.singlepost .ausg {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 423px;
  background: #d7e1e6 url(images/bg_title.png) top left repeat-x;
}

.singlepost .ausg .ausg_no {
  font: 700 4em arial, sans-serif;
  width: 120px;
  color: #fff;
  float:left;
  margin: 10px;
}

.singlepost .ausg .ausg_datum {
  display: block;
  width: 280px;
  float: right;
  font-size: 1.2em;
}

/**************************************************************

   Thumbnail Lists

 **************************************************************/

#thumbsmenu {
	float: left;
	width: 1024px;
	background-color: #eff7f6;	
	border-bottom: 1px solid #d7e1e6;	
}

#scroll_left {
	float: left;
}

#scroll_right {
	float: right;
}

#thumbswrapper {
	float: left;	
	width: 904px;
	height: 104px;
	padding: 10px;
	position: relative;
	overflow: hidden;
}

#thumbs {
	overflow: auto;
	position: relative;
}

#thumbs img {
  	width: 70px;
	height: 99px;
	padding: 2px;
  	border: 1px solid #ccc;
	margin-right: 18px;
}

.media img, #thumbs img {
	padding: 2px;
  	border: 1px solid #ccc;
	margin-right: 18px;
}

.media a:hover img, #thumbs a:hover img {
  background: #8EB4C6;
  border: 1px solid #ccc;
}






/**************************************************************

   Submenu Styles

 **************************************************************/


ul.submenu1,
ul.submenu2 {
  margin: 0 0 20px 0;
  padding: 0;
}


ul.submenu1 li,
ul.submenu2 li{
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: url(foo.gif); /* because IE is balls */
}


ul.submenu1 li a,
ul.submenu2 li a {
  display: block;
  height: auto !important;
  /* Start hide from IE Mac \*/
  height: 1%;
  /* End hide from IE Mac */
  padding: 1px 5px 1px 20px;
}


ul.submenu1 li a {
  background: url(./images/submenu1.gif) no-repeat 5px 50%;
}

ul.submenu1 a:hover {
  color: #426F85;
  background: #B3C6C4 url(./images/submenu1.gif) no-repeat 5px 50%;
}


ul.submenu2 li a {
  color: #426F85;
  background: url(./images/submenu2.gif) no-repeat 3px 50%;
}


ul.submenu2 a:hover {
  color: #426F85;
  background: #B3C6C4 url(./images/submenu2.gif) no-repeat 3px 50%;
}



/**************************************************************

   Photo captions

 **************************************************************/

.largecaptionleft {
  float: left;
  width: 500px;
  margin: 5px;
  padding: 5px;
  border: solid 1px #ddd;
  background: #E5F2FF;
  font-size:90%;
  line-height: 100%;
  font-style: italic;
  color: black;
}


.largecaptionright {
  float: left;
  width: 500px;
  margin: 5px;
  padding: 5px;
  border: solid 1px #ddd;
  background: #E5F2FF;
  font-size:80%;
  line-height: 100%;
  font-style: italic;
  color: black;
}


.smallcaptionleft {
  float: left;
  width: 250px;
  margin: 5px;
  padding: 5px;
  border: solid 1px #ddd;
  background: #E5F2FF;
  font-size:80%;
  line-height: 100%;
  font-style: italic;
  color: black;
}


.smallcaptionright {
  float: right;
  margin: 5px;
  padding: 5px;
  width: 250px;
  border: solid 1px #ddd;
  background: #E5F2FF;
  font-size:80%;
  line-height: 100%;
  font-style: italic;
  color: black;
}



/**************************************************************

   Generic Display 

 **************************************************************/


.block {
  display: block;
}


.clear {
  clear: both;
}


.marginRight {
  margin-right: 15px;
}


.paddingLeft {
  padding-left: 5px;
}


.paddingRight {
  padding-right: 5px;
}


.floatLeft {
  float: left;
}


.floatRight {
  float: right;
}


.alignLeft {
  text-align: left;
}


.alignRight {
  text-align: right;
}


.alignTop {
  vertical-align: top;
}


.alignMiddle {
  vertical-align: middle;
}


.alignBottom {
  vertical-align: bottom;
}


.lightBlueBg {
  	border: 1px solid #d7e1e6;
	background-color: #f8faf9;
	padding: 5px;
}


.dark {
  color: #353E47;
}

.left {
  float: left;
}

.right {
  float: right;
}