/* Fix .portletItemDetails in /presse */
.icons-on .contenttype-document,
.icons-on .contenttype-event,
.icons-on .contenttype-folder,
.icons-on .contenttype-link,
.icons-on .contenttype-news-item,
.icons-on .contenttype-plone-site,
.icons-on .contenttype-collection,
.icons-on .contenttype-topic,
.icons-on #plone-contentmenu-factories .contenttype-file,
.icons-on #plone-contentmenu-factories .contenttype-image {
    display: block;
}

#content .ploneSkin a.mceButtonActive,
#content .ploneSkin a.mceButtonSelected {
    border: 1px solid #444444 !important;
}

.template-atct_edit .fieldTextFormat {
    display: none;
}

#menu_text_text_style_text_menu_co {
    height: 350px !important;
}

table.listing td,
table.listing th {
    vertical-align: top;
}

#content {
    margin-right:0;
    margin-left:0;
    line-height: 1.4em;
    font-size: 11.5px;
}

#content div.documentByLine {
    margin-bottom: 6px;
}

.documentDescription {
    display:none;
}

#parent-fieldname-description {
    display:none;
}

#content li, dl.portlet li {
    margin-bottom: 3px;
}

#_top_ {
    display:none;
}

#page {
    min-height:100%;
    height:auto !important;
    height:100%;
}

#portal-siteactions {
    text-align:right;
    font-size:95%;
}

#funktionsleiste {
    width: 34%;
}

#funktionsleiste #portal-siteactions span {
    margin: 0 -4px 0 3px;
}

input, textarea, select {
    margin-right:5px;
}

#portal-logo {
    display: block;
    height: 60px;
    margin: 5px 0 5px 0;
    width: 339px;
}

#content table {
    width: 100%;
}

/*table fixes for valign/halign

table.plain tr,
table.plain td,
table.plain th,
table.invisible tr,
table.invisible td,
table.listing tr,
table.listing td,
table.grid.listing tr
table.grid.listing td
table.vertical.listing tr,
table.vertical.listing td {
}
*/

#childsiteviewlet {
    background-color: #90AED2;
    clear: both;
    color: #FFFFFF;
    font-size: 140%;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding: 0 0 0 14px;
}

#childsiteviewlet a {
    color: #FFFFFF;
}

#childsiteviewlet a:hover {
    color: #FFFFFF !important;

}

dl.path {
    font-size:90%;
    height: 23px;
    padding: 7px 0 0 10px;
}

/* Portal Messages */

dl.portalMessage {
    font-size:100%;
}

/* Portlets */

.portlets {
    padding: 0 10px;
}

.portletItemDetails {
    text-align: right;
}

dl.portlet {
    background-color: #FFFFFF;
    border: 1px solid #99CCFF;
    clear: both;
    font-size:95%;
    padding: 0;
    margin: 0 10px 15px 0;
}

dl.portlet a {
    color: #000000;
}

#page .portletHeader {
    background:transparent;
}

#page .portletHeader {
    border-bottom: 1px solid #99CCFF;
    padding: 5px 0 5px 5px;
}

#page .portletHeader {
    color: #000000;
    font-size: 100%;
    line-height: 130%;
    margin: 0;
}

#page .portletFooter{
    border-top: 1px solid #99CCFF;
    padding: 5px;
}

/* Navigation Portlet */

dl.portletNavigationTree {
    border: none;
    background:transparent;
    margin:0;
    padding:0;
}

.portletNavigationTree ul {
    list-style-image:none;
    margin:0 0 15px 0;
    padding:0;
}

dl.portlet ul.navTree .navTreeItem {
    padding: 0;
    margin: 0;
}

dl.portlet ul.navTreeLevel0 > .navTreeItem {
    border-bottom:none;
}

dl.portlet ul.navTree .navTreeItem a.contenttype-plone-site {
    border-top: 1px solid #336699;
}

dl.portlet ul.navTree .navTreeItem a.activePre {
    border-bottom: medium none;
}

dl.portlet ul.navTree .navTreeItem a {
    background: url("../images/bulletSubNav01.gif") no-repeat scroll 3px 9px transparent;
    border-left:none;
    border-bottom: 1px solid #336699;
    font-size:95%;
    color: #333333;
    line-height:13px;
    display: block;
    margin: 0;
    margin-right:10px;
    padding-left: 20px !important;
    padding-top:4px;
    padding-bottom:4px;
}

dl.portlet ul.navTree .navTreeItem a:hover,
dl.portlet ul.navTree .navTreeItem a:focus {
	color:#336699;
	text-decoration:none;
	background:url("++theme++bgbau.internettheme/images/bulletSubNav01selected.gif") no-repeat  3px 9px;
	background-color:#ffffff;
}

dl.portlet ul.navTree .navTreeItem .navTreeCurrentNode {
	background:url("++theme++bgbau.internettheme/images/bulletSubNav01selected.gif") no-repeat  3px 9px;
    background-color: #FFFFFF;
    color: #336699;
    margin-right:0;
    border-bottom: 1px solid #0099CC;
    border-top: 1px solid #336699;
}

#content a:link, #page dl.portlet a:link {
    border-bottom:none !important;
}

#content a:link,
#content a:visited {
    color: #00529C !important;
}

dl.portlet a:link {
    color: #000;
}

dl.portlet a:visited {
    color: #000000 !important;
    border-bottom:none !important;
}

dl.portlet a:hover, dl.portlet a:focus {
    color: #00529c !important;
/*    text-decoration:underline; */
}

dl.portlet ul.navTreeLevel1 {
    border-bottom:none;
    border-top:none;
    background:none;
    color: #336699;
    display: block;
    margin: 0 ;
    padding: 0 0 0 10px;
}

dl.portlet ul.navTreeLevel1 .navTreeItem a {
    border-bottom: 1px solid #FFFFFF;
    border-top: none;
    background:none;
    padding-left: 10px !important;
    margin-right: 10px !important;
}

dl.portlet ul.navTree .navTreeLevel1 .navTreeCurrentNode {
    border-bottom: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    margin: 0 10px 0 0;
    background:#E2EEF8;
}

dl.portlet ul.navTree .navTreeLevel1 .navTreeCurrentNode a {
    background:#FFF;
    margin-right:0 !important;
}

dl.portlet ul.navTree .navTreeLevel1 a:hover,
dl.portlet ul.navTree .navTreeLevel1 a:focus {
    background:#FFF;
}

dl.portlet ul.navTreeLevel2 {
    font-size: 11.5px;
    margin:0 10px 0 10px;
}

dl.portlet ul.navTreeLevel2 li {
    background-color: #E2EEF8;
    font-size: 90%;
}

dl.portlet .portletItem ul.navTreeLevel2 .navTreeCurrentNode a,
dl.portlet .portletItem ul.navTreeLevel2 .navTreeItem a,
dl.portlet .portletItem ul.navTreeLevel2 .navTreeItem a:hover,
dl.portlet .portletItem ul.navTreeLevel2 .navTreeItem a:focus {
	background:url("++theme++bgbau.internettheme/images/bulletSubNav03.gif") no-repeat scroll 3px 8px transparent;
    border-bottom: 1px solid #336699;
    color: #333333;
    display: block;
    line-height: 14px;
    margin:0;
    margin-right:0 !important;
    padding: 2px 0 2px 10px;
}

dl.portlet ul.navTree .navTreeLevel2 .navTreeCurrentNode {
    border:none;
    margin:0;
}

dl.portlet .portletItem ul.navTreeLevel2 .navTreeCurrentNode a,
#col1 dl.portlet .portletItem ul.navTreeLevel2 li.navTreeItem a:hover {
    background-color:#FFF;
}

dl.portlet ul.navTreeLevel2 .navTreeItem a {
    border-top: none;
}

#page dd.portletItem {
    margin: 0;
    padding: 0;
}

/* GlobalPortlet Styling */

#page dl.portletGlobal {
    border:none;
    background-color: #90AED2;
    color: #E1EDF9;
    margin: 0 10px 15px 0;
    padding: 0;
    font-size: 95%;
}

#page dl.portletGlobal dd a {
    border-bottom: 1px solid #FFFFFF;
    color: #FFFFFF !important;
    display: block;
    margin: 0;
    padding: 5px 0 5px 15px;
}

#page dl.portletGlobal dd a:hover,
#page dl.portletGlobal dd a:focus {
    background-color:#e2eef8;
    text-decoration:none;
    color:#00529c !important;
}

#page dl.portletGlobal dd  a.active {
	font-weight:bold;
	background-color:#e2eef8;
	color:#333333;

}

#page dl.portletGlobal dd.isCurrent {
    background-color: #E2EEF8;
    color: #333333;
    font-weight: bold;
}

#page dl.portletGlobal dd.isCurrent a {
    color: #333333 !important;
    font-weight: bold !important;
}


/* Search Portlet */


#col1 input, #col1 textarea, #col1 select {
    width: 183px;
}

#col3 input, #col3 textarea, #col3 select {
    border: 1px solid #7F9DB9;
    width: 163px;
    -moz-appearance: none;
}

#page .portletSearch {
    border:none;
    background:transparent;
    margin: 0 10px 15px 0;
}


input.searchButton, input.buttom {
    background-attachment: scroll;
    background-image: url("++theme++bgbau.internettheme/images/buttonBG.gif");
    background-position: left top;
    background-repeat: repeat-x;
    color: #00529C;
    cursor: pointer;
    padding: 2px;
    float:right;
    margin-top:7px;
    margin-right:0;
    width:120px !important;
    z-index: 1;
    position:relative;
}

input.portlet-search-gadget::-webkit-input-placeholder { /* WebKit browsers */
    opacity: 1;
}
input.portlet-search-gadget:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    opacity: 1;
}
input.portlet-search-gadget::-moz-placeholder { /* Mozilla Firefox 19+ */
    opacity: 1;
}
input.portlet-search-gadget:-ms-input-placeholder { /* Internet Explorer 10+ */
    opacity: 1;
}

input.searchPage {
    font-size: 140% !important;
}

#search-field input.searchButton,
#search-filter input.searchButton {
    margin-top: 0;
    float: none;
}

.portletSearch .livesearchContainer {
    background: #FFF;
    position:absolute;
    z-index:100;
    width:auto;
}

.portletSearch .LSBox {
    width:auto;
}

.portletSearch fieldset {
    border: 1px solid #7F9DB9;
}

.portletSearch .LSIEFix {
    margin-top:10px;
}

.portletSearch #livesearchLegend {
    background-color: #E2EEF8;
    position:absolute;
    top:-11px;
    border: 1px solid #7F9DB9;
    margin-bottom:5px;
}

.portletSearch ul {
    list-style-image: none;
    margin-left: 0;
    padding-left: 0;
}

.portletSearch ul li {
    margin-left:0;
    padding-left:0;
    padding-top: 0px;
}

.portletSearch ul li a {
    border:none !important;
}

.portletSearch .LSResult {
    position:relative;
    z-index:100;
    top: 33px;
}

.searchResults a.internal,.searchResults a.internal-link, .searchResults a.state-internal,
.searchResults a.state-published,.searchResults a.state-pending,.searchResults a.state-private {
    background: none;
    padding: 0;
}

#page .portletRecent .portletItem {
    padding: 4px 4px 0;
}

#page .portletNews .portletItem {
    padding: 5px 0 5px 15px;
}

#page .portletEvents .portletItem {
    padding: 5px 0 5px 15px;
}

#page .portletCollection .portletItem {
    padding: 4px;
}

#page .portletImagePortlet .portletItem {
    padding: 4px 4px 0;
}

#page .portletStaticText .portletItem {
    padding: 4px 4px 0;
}

/* Calendar Portlet */

.portletCalendar {
    width:auto;
}

.ploneCalendar .weekdays th {
    background-color: #90AED2;
    color:white;
}

/* RSS Portlet */

#page .portletRss .portletItem {
    padding: 4px;
}

/* Image Portlet */

.portletImagePortlet {
    overflow: hidden;
}

.portletImagePortlet ul {
    padding-bottom:0;
}

/* Portlet Column 1 */

#col1 .isRoot{
    margin-top:30px;
}

#col1 #home_link a {
    float:right;
    height:23px;
    margin:7px 10px 0 0;
    font-size: 90%;
}

#col1 div.managePortletsLink,
#col3 div.managePortletsLink {
    margin-right:10px;
}

/* Dashboard Portlets */

#dashboard-portlets1,
#dashboard-portlets2,
#dashboard-portlets3 {
    float: left;
    padding: 0.7em 1.3em 0 0;
    width: 31%;
}

#dashboard-portlets3 {
    padding-right:0;
}

#dashboard div.portletAssignments {
    padding-top: 10px;
}

/* Search results of plone.app.search */

/*  IE-fix */
#searchform div.cell {
    float: none;
}

#search-results .documentLocation {
    display: none;
}

.userrole-authenticated #search-results .documentLocation {
    display: block;
}

#search-results-bar .actionMenu {
    display: none;
}

.userrole-authenticated #search-results-bar .actionMenu {
    display: block;
}

/* Control Panel */

.template-usergroup-userprefs #page,
.template-usergroup-userprefs #col2,
.template-usergroup-userprefs #col2_Front,
.template-usergroup-groupprefs #page {
    width: auto;
}

.template-usergroup-groupprefs #col2 {
    width: 850px !important;
}

#content #users_search {
    overflow:scroll;
}

#content #groups_search {
    overflow:scroll;
}

/* Edit Bar */

#edit-bar {
    font-size: 100%;
    background-color: #0099CC;
    border: 0.25em solid #0099CC;
    border-bottom:0;
}

#edit-bar ul {
    margin: 0 0 0 2px;
    padding: 0;
}

#edit-bar dl {
    margin: 0 ;
}

/* TinyMCE Fixes */

.text_cyan {
    color:#0095db;
}

.text_turquoise {
    color:#008c8e;
}

.text_green {
    color:#51ae31;
}

.text_limegreen {
    color:#afca06;
}

.text_purple {
    color:#b80d78;
}

.text_red {
    color:#d40f14;
}

.text_orange {
    color:#f39200;
}

.text_yellow {
    color:#ffcc00;
}

hr[width] {
   background:#ECECEC;
   border-color:#ECECEC;
   color:#ECECEC;
   padding:0px;
}

hr[size] {
    background:#ECECEC;
    border-color:#ECECEC;
    color:#ECECEC;
    padding:0px;
}

hr {
   border-width: 0 0 2px;
}

#content.mceContentBody a {
    border-bottom: none !important;
}

#content .callout {
   background:transparent;
   border: 1px solid #99CCFF;
   border-left: 1em solid #99CCFF;
}

ul.listTypeSquare {
    list-style-image: url("++theme++bgbau.internettheme/images/bullet.gif") !important;
    list-style-type: square;
}

#content ul {
    list-style-type: none;
    margin: 0;
    padding-left: 12px;
    overflow: hidden;
}

#content ul ul {
    padding-bottom:0;
}

#content ol, dl.portlet ol {
    list-style-type: decimal;
    margin-left: 16px;
}

#content .visualHighlight {
    background-color: #90AED2;
}

#edit-bar, #content ul.formTabs {
    padding-bottom:0;
}

#content-views {
    background-color: #0099CC;
}

#contentActionMenus {
    background: none repeat scroll 0 0 #0099CC;
}

#contentActionMenus dl.actionMenu a, #contentActionMenus dl.actionMenu.activated dd {
    background-color: #0099CC;
}

#contentActionMenus dl.actionMenu.activated dd {
    border-bottom: 0.5em solid #0099CC;
}

/* Footer */

#content div.listingBar a {
    border: 0.1em solid #CCCCCC !important;
}

#footer {
    position:relative;
    height: 40px;
}

#footer UL {
    margin:0;
    float: left;
}

#footer li {
    float: left;
    margin: 0;
    padding: 5px 15px 5px 20px;
    vertical-align: baseline;
    font-size: 88%;
}

#footer #document-action-print {
	background:url("++theme++bgbau.internettheme/images/drucker.gif") no-repeat  left 5px;
}

#footer #document-action-sendto {
	background:url("++theme++bgbau.internettheme/images/email.gif") no-repeat  left 5px;
}

#footer #document-action-feedback {
	background:url("++theme++bgbau.internettheme/images/feedback.gif") no-repeat left 5px;
}

#footer #document-action-imprint {
    position: absolute;
    right: 0;
}

#footer #document-action-webcode,
#footer #document-action-create_webcode {
	background:url("++theme++bgbau.internettheme/images/webcode.gif") no-repeat left 5px;
}

#footer #document-action-webcode a:hover {
     color: #666666 !important;
     text-decoration: none;
     cursor:default;
}

#footer #document-action-top {
    position: absolute;
    right: 5px;
    top: -36px;
}

#footer #document-action-top a {
    background: url("++theme++bgbau.internettheme/images/top.gif") no-repeat scroll right 5px transparent;
    font-size: 11.5px;
    color: #00529C;
    margin: 0;
    padding: 0 10px 5px 0;
    text-decoration: none;
}

#twitter {
    position: relative;
    float: left;
    width: 140px;
    margin-top: 1px;
}

#footer #twitter li {
    font-size: 88%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

.social_share_privacy_area.line .twitter iframe {
    position: absolute;
    width: 108px !important;
}

#twitter .settings_info {
    display: none;
}

.social_share_privacy_area.line li div.tweet {
    width: auto !important;
}

/* SiteMap */

#portal-sitemap #content a:visited {
    color: #333333 !important;
}

#portal-sitemap a,
#portal-sitemap a:visited {
    color: #333333 !important;
    font-size: 11.5px;
}

#portal-sitemap a img {
    display:none;
}

#portal-sitemap a:hover {
    text-decoration:none;
    color: #00592C !important;
}

#portal-sitemap .navTreeItem {
    clear: both;
    height: 100%;
    width: 100%;
    border: 1px solid #99CCFF;
    clear: both;
    padding: 0;
}

#portal-sitemap .navTreeItem div a {
    background-color: #E2EEF8;
    border-bottom: 1px solid #99CCFF;
}

#portal-sitemap .navTreeItem a {
    background: none;
    color: #333333 !important;
    font-weight: bold;
}

#portal-sitemap .navTreeLevel2 {
    background:#FFF;
    font-size:95%;
    font-weight: bold;
}

#portal-sitemap .navTreeLevel2 {
    background-color: #FFF;
}

#portal-sitemap .navTreeLevel2 li {
    background:#FFF;
    margin-bottom: 15px;
    margin: 5px 0 0;
    border:none;
}

#portal-sitemap .navTreeLevel2 .navTreeLevel3 div a {
    border-top: 1px solid #ECECEC;
}

#portal-sitemap .navTreeLevel2 div a {
    background: url("++theme++bgbau.internettheme/images/sitemapEbene2.gif") no-repeat scroll left 4px #FFF !important;
    border-bottom: none;
}

#portal-sitemap .navTreeLevel3 div a {
    background: url("++theme++bgbau.internettheme/images/sitemapEbene3.gif") no-repeat scroll left 9px #FFF !important;
    border-bottom: none;
    font-weight: normal;
}

#portal-sitemap .navTreeLevel3 li {
    background:#FFF;
    padding-top:0;
}

#portal-sitemap .navTreeLevel3 li a {
    font-size: 95%;
    padding-top: 5px;
}

#portal-sitemap .navTreeLevel4 div a {
    background: url("++theme++bgbau.internettheme/images/sitemapEbene4.gif") no-repeat scroll left 7px #FFF !important;
    border-bottom: none;
    font-size:110%;
    font-weight: normal;
}


#portal-sitemap .navTreeItem .navTreeItem {
    border:none;
}

#portal-sitemap .navTreeItem .navTreeItem {
    margin-bottom: 0;
    padding-top: 0;
}

/* PloneTrueGallery */

#content a#galleria-player {
    top: auto !important;
    bottom: 60px;
}

.galleria-info {
    left: auto !important;
}

.galleria-info .galleria-info-text {
    padding-top: 17px;
    padding-right: 17px;
}

#content .galleria-info-close {
    right: 5px;
    top: 5px;
}

.galleria-info-link {
    line-height: 20px;
}

.galleriatheme_light .galleria-image-nav-right {
    background-image: url("++resource++ptg.galleria/images/east-mini.png") !important;
    background-position: right 50% !important;
}

.galleriatheme_light .galleria-image-nav-left {
    background-image: url("++resource++ptg.galleria/images/west-mini.png") !important;
    background-position: left 50% !important;
}

#content .galleriatheme_light #galleria-player.play,
#content .galleriatheme_light #galleria-player.pause,
#content .galleriatheme_light #galleria-player.play:hover,
#content .galleriatheme_light #galleria-player.pause:hover {
    background-image: url("++theme++bgbau.internettheme/images/btn-mc-controls1_light.png");
}

.nivoGallery-fullscreen {
    display: none !important;
}

#content .galleriatheme_classic .galleria-info {
    display: none !important;
}

/* Barrierefreiheit */

body.largeText, body.largeText #content {
    font-size: 125% !important;
}

body.smallText {
      font-size: 65% !important;
}

body.smallText #content {
      font-size: 85% !important;
}

/* PlonePoPoll Styling */

#page .portaltype-plonepopoll #results ul {
    list-style-image:none;
    margin:0;
}

#page .portletPopoll .portletItem {
    padding:5px;
}

#page .portletPopoll .portletItem strong {
    padding-left:5px;
}

#page .portletPopoll h5 {
    font-style:normal;
}

#page .portletPopoll .portletItem input {
    width:auto;
    margin-bottom:8px;
}

#page .portletPopoll .portletItem input[type=submit]{
    border: 1px solid #7F9DB9;
    width: 163px;
    background-attachment: scroll;
    background-image: url("++theme++bgbau.internettheme/images/buttonBG.gif");
    background-position: left top;
    background-repeat: repeat-x;
    color: #00529C;
    cursor: pointer;
    padding: 2px;
    margin-top:7px;
    margin-right:0;
    width:120px !important;
    z-index: 1;
    position:relative;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */


/* eea.facetednavgation */
#faceted-form #left-area {
    width: 20em !important;
}

#faceted-form .left-area-js {
    margin-left: 21em;
}

body.template-facetednavigation_view #col2,
body.template-facetednavigation_view #col2_Front {
    width: 787px;
}

body.template-facetednavigation_view #col3 {
    display: none;
}

#faceted-form .documentByLine {
    color: #666666;
    display: block;
    font-size: 85%;
}

#faceted-results dt {
    margin-top: 1.5em;
}

.template-facetednavigation_view #edit-bar {
    display: none;
}

.template-facetednavigation_view.userrole-manager #edit-bar {
    display: block;
}

/* ploneformgen */
.portaltype-formthankspage #content dd {
    margin: 0 0 1em 2em;
}

/* Survey */
.portaltype-survey #archetypes-fieldname-showCaptcha {
    display: none;
}

/* states */
.portletNavigationTree a:visited.state-pending,
.portletNavigationTree a:link.state-pending,
#folderlisting-main-table a:link.state-pending,
#folderlisting-main-table a:visited.state-pending {
    color: #FFA500 !important;
}

.portletNavigationTree a:visited.state-private,
.portletNavigationTree a:link.state-private,
#folderlisting-main-table a:link.state-private,
#folderlisting-main-table a:visited.state-private {
    color: #FF0000 !important;
}


/*
    For now we simply hide anything we don't need in the popup.
*/
#fancybox-content #page #header,
#fancybox-content #page #logo,
#fancybox-content #page #funktionsleiste,
#fancybox-content #page #topnav,
#fancybox-content #page #col1,
#fancybox-content #page #col3,
#fancybox-content #page > .clear,
#fancybox-content #page #col2 .path,
#fancybox-content #page #col2 #edit-bar,
#fancybox-content #page #col2 #footer,
#fancybox-content #page #col2 .documentByLine {
    display: none;
}

#fancybox-content #page #col2 {
    width: 100%;
    min-height: auto;
}

#fancybox-content #page #col2 #contentCol2 {
    min-height: auto;
}

