/*  
Theme Name: comratiotemplate



/******************************************
*   HTML Elements                         
******************************************/

* {
	margin:0;
	padding:0;
	}

body,html { min-height:101%; margin:0px; padding:0px;}
	
body {
	background-color: #cad8db;
	color: #353535;
	}

body, select, input, textarea {
	font: 12px Arial, Verdana, Sans-Serif;
	line-height:1.5em;
	}
	
p {	margin-bottom: 14px;	}

td {vertical-align: middle;
padding-top:2px;
}


hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
	}

small {
	font-size: 0.9em;
	padding:3px 6px;
	}


/******* Hyperlinks ********************/

/* standard link behaviour */
a:link, a:active, a:visited { 
	color:#b72100;
	text-decoration: none; 
	} 

a:hover	{ 
	color:#000000;
	text-decoration: none; 
	}

.blogtitle a { text-decoration: none; }

/* Title area links */
.title:link, .title:active, .title:visited { 
	color: #840000; 
	text-decoration: none;
	} 
.title:hover { 
	color: #840000; 
	text-decoration: underline;
	} 
	
/* HTML headline links */
h3 a:link, h3 a:active, h3 a:visited  {text-decoration:none;}
h3 a:hover {text-decoration:underline;}

h4 a:link, h4 a:active, h4 a:visited  {color:#666; text-decoration:none;}
h4 a:hover {text-decoration:underline;}


/* Artikel Navigation */
.articlenavigation {
display: block;
border-top: 3px solid #b72100;
width: 100%;
padding: 0px;
margin: 20px 5px 10px;
border-bottom: 1px solid #b72100;
}

.articlenavigation p {
width: 33.3%; float: left; padding: 0px; 
}

/* Links in the sidebar */
.subnav li a:link, .subnav li a:visited { /* .subnav is the categories list */
	background: #fff;
	display:block;
	padding:4px 4px 4px 20px;
	border-bottom: 1px solid #999;
	}
		
.subnav li a:hover, .subnav li a:active {
	background: #F4F4EC;
	text-decoration:none!important;
	}

#sidelist a:link, #sidelist a:active, #sidelist a:visited {text-decoration:none;}
#sidelist a:hover {text-decoration:underline;}
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#F4F4EC;
	color: #666;
	}
#sidelist .children li a:hover, #sidelist .children li a:active	{
	color:#000;
	text-decoration:none!important;
	}

/* Links in unordered lists */
.bullets li a { text-decoration:none!important;	}
.bullets li a:hover { text-decoration:underline!important;	}

/* How tags appear */
.tags a {text-decoration:none;}
.tags a:hover {text-decoration:underline;}

/* Links within comments metadata (date, Author etc.) */
.commentmetadata a:link, .commentmetadata a:active, .commentmetadata a:visited  {text-decoration:none;}
.commentmetadata a:hover {text-decoration:underline;}

/* Links in the footer */
#footer a {text-decoration: none;} 
#footer a:hover	{text-decoration: underline;}



/******************************************
*   Images                         
******************************************/

/*** default image behaviour ***/
img { border:0px solid #999; margin-left:8px; margin-right:6px; margin-top:3px;}


/*** WordPress specific image classes ***/
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
margin: 4px 15px 5px 0;
}

.alignright {
float: right;
}

.wp-caption {
   text-align: center;
   background-color: #fff;
   margin-top:5px;
   margin-right: 15px;
   margin-bottom:0px;
}

.wp-caption img{
   padding:2px;
   border:1px solid #999;
}

.wp-caption img:hover{
   border:1px solid #333;
}

.wp-caption p.wp-caption-text {
   color:#666;
   font-size: 10px;
   line-height: 12px;
   padding: 7px 4px 2px 5px!important;
   margin: 0!important;
}


		
/******************************************
*   General Structure                         
******************************************/

#page { /*the main container*/
	width:1017px;
	margin:0 auto;
	font-size:1em;
	background:#FFF;
	padding: 0px 9px;
	background:url(images/backgrounds/page_shadow.png) repeat-y;
	}

#page .inside {
      background-color:#f0f0f0;
      background-image:url(images/backgrounds/content_bg_spirals.png);
      background-repeat:no-repeat;
      background-position:left bottom;
}

#page .page_layout {
      padding:0px 18px;
      width:981px;
}	

#header {
position:relative;
background-color:#fff;
}

#branding .logo {
  width:738px;
  height:80px;
  display:block;
  float:left;
  background:url(images/header_logo.jpg) no-repeat;
}

#branding .address {
  float:right;
  display:block;
  width:auto;
  margin:0px;
  white-space:pre;
  line-height:0.5em;
  margin-top:10px;
}

#branding-pic { /* only used for print style */
display:none;
}

#toolbar {
  clear:both;
  background-color:#e8e8e8;
  border-bottom:1px solid #adadad;
  z-index:3000;
  position:relative;
}

#toolbar #nav {
  border-top:3px solid #bc0000;
  padding-right: 220px;
}

.left {
	float:left;
	}

.right {
	float:right;
	}

#language {	
float:left;
position:relative;
        margin-top:-26px;
        padding-left: 583px;
        font-size:0.8em;
	}

#languageselector {	

position:absolute;
        margin-top:-31px;
        margin-left: 675px;
        font-size:0.8em;
	}

#sidebar {/*you guessed it: it´s the sidebar container*/
	float:right;
	}

/* Quickcontact sidebar */


.linklist {
border:1px solid #adadad;
border-top:8px solid #bc0000;
padding:23px 11px;
width:257px;
background-image:url(images/backgrounds/trans-white.png);
background-repeat:repeat;
margin-bottom:10px;
} 

.linklist ul {
 overflow: hidden; padding-left: 1.5em;
}

#sidelist, #tdsidebar ul {
clear:both;
padding-left:0px;
}

#tdsidebar ul li {
clear:both;
}

.linklist .nolist li, .linklist .nolist ul {
list-style-type:none;
padding:0px;
text-indent:0;
margin:5px;
}

.selfborder {
padding:0px;
border-width:0px;
}

.linklist h3 {
margin-bottom:10px;
}

#balken {/*you guessed it: it´s the sidebar container*/
	width: 300px;
	float:right;
        margin-top:50px;
        padding-left:20px;
        background:url(images/backgrounds/comratio-risk-management.jpg) no-repeat;
	}

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:287px;
	border-right:1px solid #b6b6b6;
	padding-right:18px;
	}

#leftcol, #rightcol {
	margin-top:10px;
	float:left
	}	
	
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:277px;
	padding-left:18px;
	margin-top: -2px;
	text-align:justify;
	}


		
/******************************************
*   Sidebar                         
******************************************/

#sidebar h3 {
margin-top:0px;
}

.subnav li {/*.subnav is mainly the categories list*/
	list-style:none;
	}

#sidelist li {
	list-style:none;
	}
	
.bullets li {
	margin:0 0 5px 15px;
	list-style:square;
	}
	
#sidelist .bullets li {
	list-style:square;
	margin-bottom:5px;
	margin-left:22px;
	}

#sidelist .children {
	background:#F4F4EC;
	}

#sidelist .children li {
	background: #F4F4EC;
	list-style: none;
	margin-left:15px;
	padding-left:15px;
	border-bottom:1px solid #fff;
	}

#sidelist .feed li{
	margin-bottom:5px;
	padding-left:20px;
	background:url(images/rss.gif) no-repeat;
	}

/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.8em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	padding: 20px 0px 10px 0px;
	}

h1 {
	color: #b72100;
	font-size: 1.8em;
	font-family: arial;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #b72100;
	font: 1.8em arial;
        font-weight: bold;
	padding-bottom:4px;
	}

h3 {
	font-weight:bold;
	color: #b72100;
	}

#sidebar h2, #sidebar h3 a {
	font: 0.9em Arial, Helvetica, sans-serif;
	letter-spacing:0.3em;
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	color:#840000;
	}

#sidebar h3, #sidebar h2 {
	font-size:0.9em;
	border-top:3px double #999;
	border-bottom:1px solid #999;
	padding:5px 0 5px 2px;
	margin:20px 0 15px 0;
	color:#840000;
	}

h3#respond {
	font-size:1.1em;
	border-top:1px solid #666;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h3 a:link, h3 a:visited {
	color: #666;;
	}

h4 {
	font-size:1.2em;
	margin-bottom:6px;
	}
	
	
	
/******************************************
*   Content                        
******************************************/

#content {

	}

#content.homepage .post {
width:auto;
}
	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
	background: url(images/backgrounds/bg_featured.jpg) repeat-x #F4F4EC;
	padding:15px;
	border: 1px solid #ccc;
	}

.feature p, #rightcol p { margin:0;	}

#leftcol img, #rightcol img {
	padding:1px;
	border:1px solid #999;
	}

#leftcol .feature {	margin-bottom: 15px; }

/* Formating of the Leadstory stuff in the tabbed section */
			
#leadpic {
	float:left;
	margin: 0 18px 8px 0;
	padding:1px;
	border: 1px solid #999;
	}

.title, a.title  {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:1.1em;
	font-weight:bold;
	color: #840000;
	letter-spacing:normal;
	}
		
#lead p {
	margin-bottom:10px;
	}

.read-on a { /* This can be used to format the "[...]" link in the lead story */
	color:#840000!important;
	text-decoration:none;
	}
	
.read-on a:hover {
	text-decoration:underline;
	}

/* Formating of "rightcol" which is the column in the homepage middle ;-) */

#rightcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#leftcol img {
	margin-bottom: 4px;
	display:block
	}
	
#rightcol .clearfloat {
	border-bottom:1px solid #999;
	padding:12px 0;
	}	
	


/* Post Formatting */

.entry {
	padding-bottom:28px;
	text-align:justify;
	}

.post {
    width:645px;
    margin:10px 0px;
    padding:32px 21px 20px 25px;
    border:1px solid #adadad;
    background-image:url(images/content_red_square.jpg);
    background-repeat: no-repeat;
    background-color:#fff;
}

.columns {
-moz-column-count: 2;
-moz-column-gap: 40px;
-webkit-column-count: 2;
-webkit-column-gap: 40px;
column-count: 2;
column-gap: 40px;
}

.homepage .post h2, .span_columns {
	-moz-column-span: all;
	-webkit-column-span: all;
	column-span: all;
}

.thickbox_style .post {
   width:auto;
   padding:20px;
   background-image:none;
}

.post blockquote {
	color:#666;
	background:#F4F4EC;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.post ul li {
	list-style:square;
	margin-bottom:5px;
	margin-left:42px;
	}

.post ol li {
	margin-bottom:5px;
	
	margin-left:48px;
	}
	
#tags {
	padding:3px;
	border-bottom:1px solid #DDD;
	border-top:1px solid #DDD;	
	}	
	
.postmetadata {
	font-size:0.9em;
	margin:0 0 10px 0;
	padding:5px 10px;
	background:#F4F4EC;
	border-top:1px solid #E6E3D3;	
	border-bottom:1px solid #E6E3D3;	
	}
				

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	

#searchform {float:right; margin:0px 25px; font-family:arial, sans-serif;}
#searchform input[type=text] {
width:100px;
}

.button {
	padding: 1px;
	background:#b72100;
	color:#fff;
	border:none;
	}

.button:hover {
	background:#666;
	color:#FFF;
	text-decoration:none
	}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}

/* Slideshow */
#slideshow{
color:#fff;list-style:none;}
#slideshow span{
display:none;}
#slideshow_wrapper{
width:1017px;
overflow:hidden;
display:none;}
#fullsize{
width:1016px;
overflow:hidden;
height:265px;}
#information{
width:380px;
height:0;
bottom:0;
left:625px;
top:185px;
position:absolute;
overflow:hidden;
color:#fff;z-index:200;opacity:1;filter:alpha(opacity=100);}
#information h3,#information .sub{
display:block;
line-height:1.2em;
font-weight:normal;
font-size:24px;
font-style:normal;}
#information p{
margin-top:0;
padding:0 8px 8px;
font-family:Times New Roman;
font-style:italic;
font-weight:normal;
font-size:20px;}
#image img{
width:1017px;
margin:0px;
padding:0px;
position:absolute;z-index:25;}
.imgnav{
width:20px;
height:20px;
position:absolute;cursor:pointer;z-index:150;}
#imgprev{
right:50px;
background:url("../../tl_files/affoltern/website/slideshow-left.png") left center no-repeat;}
#imgnext{
right:20px;
background:url("../../tl_files/affoltern/website/slideshow-right.png") right center no-repeat;}
#imglink{
width:100%;
height:306px;
position:absolute;opacity:.4;filter:alpha(opacity=40);}
.linkhover{background:url(images/link.gif) center center no-repeat;}
#thumbnails{
margin-top:15px;}
#slideleft{
width:20px;
height:81px;
float:left;
background-color:#222;background:url(images/scroll-left.gif) center center no-repeat;}
#slideleft:hover{
background-color:#333;}
#slideright{
width:20px;
height:81px;
float:right;background:#222 url(images/scroll-right.gif) center center no-repeat;}
#slideright:hover{
background-color:#333;}
#slidearea{
width:456px;
height:81px;
position:relative;
overflow:hidden;
float:left;
margin-left:5px;}
#slider{
height:81px;
left:0;
position:absolute;}
#slider img{
padding:2px;
border:1px solid #666;cursor:pointer;}

/* Comments*/

.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#F4F4EC;
	border:1px solid #E6E3D3;
	}

.commentlist blockquote {
	color:#666;
	background:#fff;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	}	

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#fff;
	border:1px solid #E6E3D3;
	}



/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block;
	}	

.clearfloat {
	display:block;
	}
	
.clear {
  clear:both;
  width:0px;
  height:0px;
  font-size:1%;
}
	
	
/******************************************
*   Footer                        
******************************************/

#footer {
	font-size:0.9em;
	text-align:center;
	padding-top:20px;
	color:#000000;
/* background-image:url(images/backgrounds/trans-black.png); */
background-color:#E8E8E8;
background-repeat:repeat;
margin:20px 0px 0px 0px;
height:200px;
border-top:1px solid #adadad;
	}

#footer a {
	color:#000000;
	}



/******************************************
*   Navigation                        
******************************************/

/******************************************
*   Main or page navigation styles                       
******************************************/


/*Main Navbar */

#nav {
	font-size:1em;
	float:left;
	position:relative;

	}
	
#nav, #nav ul {
	list-style:none;
	line-height:1;
	}

#nav a, #nav a:hover {
	display: block;
	text-decoration: none;
	border:none;
	}

#nav li {
	float: left;
	list-style:none;
	border-right:1px solid #fff;
	}

#nav a, #nav a:visited {
	display:block;
	font-weight:normal;
	color: #b72100;
	padding:6px 12px;
	
	}

#nav a:hover, #nav a:active {
	background:#ffffff;
	text-decoration:none;
	}	

.current_page_item	a, #home .on  {background:#ffffff;}

	
	
	
/* Dropdown Menus for child pages */		

#nav li ul {/*first level dropdown*/
	position: absolute;
	z-index: 10;
	left: -999em;
	height: auto;
	width: 145px;
	border-bottom: 1px solid #ffffff;
	}
	
#nav li ul ul {/*second level dropdown*/
	margin: -2em 0 0 145px;
	}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
	}

#nav li li {
	width: 145px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	background:#e8e8e8;
	}

#nav li li a, #nav li li a:visited {
	font-weight:normal;
	font-size:1em;
	color:#b72100;
	}

#nav li li a:active {background:#ffffff;}	

#nav li li a:hover {background:#f3f3f3;}
	
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {left: auto;}

a.main:hover {background-color:#ffffff;}






/******************************************
*   Navigation Language Selector                       
******************************************/

#lang_sel {height:28px; float:right; font-family:arial, sans-serif;}
/* hack to correct IE5.5 faulty box model */
* html #lang_sel {width:12em; w\idth:12em;}

/* remove all the bullets, borders and padding from the default list styling */
#lang_sel ul, #lang_sel li {padding:0 !important; margin:0 !important; list-style-type:none !important;}
#lang_sel li:before{content:'' !important;}
#lang_sel ul ul {width:60px;}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#lang_sel li {float:left;width:60px;position:relative;}

/* style the links for the top level */
#lang_sel a, #lang_sel a:link, #lang_sel a:visited {
	display:block;
	/*background: #fcfcfc;*/
	font-size:9px;
	text-decoration:none !important;
	color:#000;
	border:1px solid #000;
	line-height:18px;
	border-top: 1px solid #e1e1e1;
	border-right: 1px solid #c8c8c8;
	border-bottom: 1px solid #bfbfbf;
	border-left: 1px solid #e1e1e1;
	padding: 4px 10px;
	font: normal bold 10px arial, sans-serif;
	}
/* a hack so that IE5.5 faulty box model is corrected */
* html #lang_sel a, * html #lang_sel a:link, * html #lang_sel a:visited {width:60px; w\idth:60px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#lang_sel ul ul {visibility:hidden;position:absolute;height:0;top:22px;left:0; width:60px;border-top:0;}

/* another hack for IE5.5 */
* html #lang_sel ul ul {top:25px;t\op:25px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#lang_sel table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
#lang_sel ul ul a, #lang_sel ul ul a:link, #lang_sel ul ul a:visited {
	font-weight: normal;
	/*font-size: 11px;*/
	background:#eee;
	color:#000 !important;
	/*height:auto; line-height:1em; */
	/*padding:3px 10px;*/
	border-width:0 1px 1px 1px;
	}
/* yet another hack for IE5.5 */
* html #lang_sel ul ul a, * html #lang_sel ul ul a:visited {width:80px;w\idth:80px;}

/* style the top level hover */
#lang_sel a:hover, #lang_sel ul ul a:hover{color:#000; background:#ccc;}
#lang_sel :hover > a, #lang_sel ul ul :hover > a {color:#000; background:#ccc;}

#lang_sel a.lang_sel_sel{
    background:url(../images/nav-arrow-down.png) #fcfcfc right no-repeat;
    color: #000000;
}
#lang_sel a.lang_sel_sel:hover{
    text-decoration: none;
    /*color:#000;*/
}

/* make the second level visible when hover on first level list OR link */
#lang_sel ul li:hover ul,
#lang_sel ul a:hover ul{visibility:visible; }

#lang_sel ul li img {
	position: relative;
	margin: 0;
	padding: 0;
	margin-right: -6px;
	border: 1px solid #bfbfbf;
	top: 2px;
}

#lang_sel ul li ul li img {
	margin-right: -2px;
}


/*** Thickbox contents ***/
.thickbox_style {
font-size:90%;
padding-top:0px;
padding-bottom:0px;
}

.thickbox_style h2 {
margin-top:0px;
}

.thickbox_style form p {
margin:2px 0px;
}

.thickbox_style p label {
width:200px;
text-align:left;
float:left;
}

.thickbox_style .hidden {
display:none;
}

.thickbox_style p {
padding:0px;
margin:0px;
}

.thickbox_style form input, .thickbox_style form textarea {
width:99%;
}

.thickbox p {
color:#b72100;
margin-top:1em;

}

.thickbox img {
float:left;
width:25px;
margin-top:-0.5em;
}

.page_options {
	float:right;
}
.page_options ul {
	list-style-type:none;
}
.page_options ul li, .page_options ul li img {
	display:inline;
margin:1px!important;
}
