/**********************************************************************************
* phpComasy Web Content Management System                                         *
* http://www.phpcomasy.com                                                        *
*                                                                                 *
* Copyright (c) 2005 - 2009 indual GmbH (http://www.indual.ch)                    *
*                                                                                 *
* phpComasy is released under his own licence (http://www.phpcomasy.com/licence)  *
**********************************************************************************/

/* Portlet language switcher ---------------------------------------------------- */

div#portlet_language_switcher {
	padding: 0;
	margin: 0 0 0 20px;
	float: left;
	background: transparent;
	width: auto;
}
div#portlet_language_switcher h3.portlet-title,
div#portlet_language_switcher ul.controls {
	display: none;
}
div#portlet_language_switcher div.portlet-content {
	padding: 0;
	margin: 0;
}

div#portlet_language_switcher a {
	font-size: 11px;
	display: block;
	float: left;
	height: 10px;
    margin: 0;
    padding: 0 0 0 10px;
	line-height: 10px;
	text-decoration: none;
    text-transform: uppercase;
	margin-right: 7px;
    color: #4c4141;
    float: left;
    background: transparent url(../img/meta_navigation_delimiter.png) no-repeat;
}
div#portlet_language_switcher a#language-de {
    background: transparent;
}
div#portlet_language_switcher a.current {
    color: #a90f1a;
    font-weight: normal;
}


/* General portlets -------------------------------------------------------------- */

.portlet {
	display: block;
	margin: 0 0 10px 0;
	padding: 0;
	width: 210px;
	background: #eee;
}

.portlet h3.portlet-title {
	background: #a90f1a url(../img/portlet_heading.png) no-repeat top right;
	height: 20px;
	line-height: 20px;
	padding: 0px 20px 0px 7px;
	margin: 0px;
    color: white;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    border: none;
    letter-spacing: 0.6px;
}

.portlet .portlet-content {
	background: transparent;
	padding: 6px 8px 6px 8px;
	line-height: 19px;
	margin: 0;
	color: #222;
    border: none;
}

.portlet h2, 
.portlet h2 a {
	padding: 0px;
	margin: 0px;
    color: #222;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    margin: 0px;
}

.portlet p {
    padding: 3px 0 3px 0;
    margin: 0;
}

.portlet a {
	color: black;
	text-decoration: underline;
}
.portlet a:hover {
	color: #333;
	text-decoration: underline;
}


.logged_in.portlets_portlets .portlet ~ .portlet {
	margin-top: 40px;
}
.logged_in.portlets_portlets .portlet ul.controls,
.logged_in.portlets_startpage_portlets .portlet ul.controls {
	position: absolute;
	top: -20px;
	right: 0;
}
.logged_in.portlets_startpage_portlets .portlet ul.controls {
	top: 0;
}


/* Startpage portlets -------------------------------------------------------------- */

table#valign_bottom_pseudo_table {
	padding: 0;
	margin: 0;
	border-collapse: collapse;
	border: none;
	display: none;
}

table#valign_bottom_pseudo_table tr,
table#valign_bottom_pseudo_table td {
	padding: 0;
	margin: 0;
}

#startpage_portlets {
	height: 400px;
	width: 950px;
	vertical-align: bottom;
	text-align: right;
}

#startpage_portlets .portlet {
	margin: 20px 0 0 6px;
	padding: 0;
	width: 210px;
	background: #eee;
    position: relative;
    z-index: 50;
    display: inline-block;
    vertical-align: bottom;
	text-align: left;
	max-height: 20px;
	overflow: hidden;
	-webkit-transition: all 0.2s ease-out;
	   -moz-transition: all 0.2s ease-out;
	     -o-transition: all 0.2s ease-out;
	        transition: all 0.2s ease-out;
}
#startpage_portlets .portlet:hover {
	max-height: 400px;
}
#startpage_portlets .logged_in.portlets_startpage_portlets .portlet {
	padding-top: 20px;
}

#startpage_portlets .portlet h3.portlet-title {
    display: block;
    width: 168px;
	height: 20px;
	line-height: 20px;
	background: #a90f1a url(../img/portlet_heading_arrow_up.png) no-repeat top right;
	padding: 0px 20px 0px 22px;
	margin: 0px;
    color: white;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    border: none;
}
#startpage_portlets .portlet:hover h3.portlet-title {
	background-image: url(../img/portlet_heading_arrow_down.png);
}

#startpage_portlets .portlet h3.portlet-title a {
    color: white;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    border: none;
    text-decoration: none;
}

#startpage_portlets .portlet .portlet-content {
	background: transparent;
	padding: 6px 8px 6px 8px;
	margin: 0;
	line-height: 19px;
	color: #222;
    border: none;
}

#startpage_portlets .portlet h2, 
#startpage_portlets .portlet h2 a {
	padding: 0px;
	margin: 0px;
    color: #222;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    margin: 0px;
}

#startpage_portlets .portlet p {
    padding: 3px 0 3px 0;
    margin: 0;
}

#startpage_portlets .portlet a {
	color: black;
	text-decoration: underline;
}
#startpage_portlets .portlet a:hover {
	color: #333;
	text-decoration: underline;
}


#startpage_portlets .portlet a.button {
	border: none;
	border-radius: 0;
	color: black;
	text-decoration: underline;
	background: transparent url(../img/portlet_link_background.png) no-repeat top left;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	float: right;
	margin: 0;
	padding: 0 10px 0 20px;
	position: relative;
	z-index: 45;
	display: inline;
	box-shadow: none;
}

#startpage_portlets .portlet a.button:hover {
	color: #EEE;
	text-decoration: underline;
}



#startpage_portlets .portlet_identifier .action {
	float: right;
}
#startpage_portlets .portlet_identifier .portlet {
	width: 210px;
}
#startpage_portlets .portlet_identifier {
	width: 210px;
	float: right;
	margin: 0 0 0 10px;
}



/* Special portlets -------------------------------------------------------------- */

/* quicklinks */ 
.portlet_quicklinks {
	padding: 0;
	margin: 0 0 10px 0;
	background: transparent;
}
.portlet_quicklinks .portlet-content {
	padding: 0;
	margin: 0;
	background: transparent;
}


.portlet_quicklinks h3.portlet-title {
	display: none;
}

.portlet_quicklinks #item_1 a.quicklink {
	display: block;
	height: 56px;
	width: 159px;
	padding: 2px 5px 2px 45px;
	color: white;
	font-size: 13px;
	line-height: 59px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	background: url(../img/quicklink_button.png) 0px 0px repeat-x;
	margin-bottom: 10px;
}

.portlet_quicklinks #item_1  a.quicklink:hover {
	background: url(../img/quicklink_button.png) 0px -60px repeat-x;
	color: black;
}



.portlet_quicklinks #item_2 a.quicklink {
	display: block;
	height: 56px;
	width: 159px;
	padding: 2px 5px 2px 45px;
	color: white;
	font-size: 13px;
	line-height: 59px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	background: url(../img/quicklink_button_facebook.png) 0px 0px repeat-x;
	margin-bottom: 10px;
}

.portlet_quicklinks #item_2  a.quicklink:hover {
	background: url(../img/quicklink_button_facebook.png) 0px -60px repeat-x;
	color: black;
}


/* portlet webcams (startpage) */

#startpage_portlets .portlet .portlet-content {
	margin: 0px;
	padding: 0px;
}
#startpage_portlets .portlet .portlet-content p,
#startpage_portlets .portlet .portlet-content img {
	margin: 0px;
	padding: 0px;
}

#startpage_portlets .portlet .portlet-content img {
	margin-bottom: -25px;
}


#startpage_portlets .portlet ul {
	padding: 0;
	margin: 0;
}
#startpage_portlets .portlet ul li {
	padding: 0;
	margin: 0;
}

#startpage_portlets .portlet .entry {
	display: block;
	margin: 0;
	padding: 5px 10px 3px 10px;
	z-index: -10;
}




/* portlet weather/rro (startpage) */
.rro_weather_entry {
	float: left;
	margin-right: 20px;
}

.rro_weather_entry a img {
	border: 1px solid silver;
}


div#contentframe div.portlet_quicksearch .portlet-content {
	padding-bottom: 20px;
}

/* ---------- Search ---------- */
div#search .portlet {
	width: auto;
	background: none;
	margin: 0;
	position: relative;
	top: -6px;
}
div#search .portlet h3,
div#search .portlet ul.controls {
	display: none;
}
div#search .portlet .portlet-content {
	padding: 0;
	position: relative;
}
div#search .search_field {
	width: 100px;
}
div#search .search_button {
	position: absolute;
	background: url(../img/loupe.png) center center no-repeat;
	height: auto;
	width: 25px;
	border: 0;
	padding: 0;
	top: 0;
	right: 0;
	bottom: 0;
	cursor: pointer;
	opacity: 0.4;
	-webkit-transition: all 0.2s ease-out;
	   -moz-transition: all 0.2s ease-out;
	     -o-transition: all 0.2s ease-out;
	        transition: all 0.2s ease-out;
}
div#search .search_field:hover + input,
div#search .search_field:focus + input,
div#search .search_field:active + input,
div#search .search_button:hover,
div#search .search_button:focus,
div#search .search_button:active {
	opacity: 1;
}