div#globalWrapper {
  margin-right: 200px;
  width: auto;
  position: static; /* TODO: only added to be comaptible with 1.16. Remove? */
}

div#column-content {
    margin:0 0 0.6em -300px;
}

div#column-one {
    background: url("../../skins/ICV/header_bg.jpg") 0 90px repeat-x;
    padding-top: 245px;
}

div#content {
    border: none;
    margin:150px 0 0 300px;
    padding:0 32px 15px 32px;
}

#backgroundwrap{
	background : transparent url('../../skins/ICV/header_bg.jpg');
	position:absolute;
	width:320px;
	height:150px;
	z-index:1;
}
body {    
    color:#808080;
    background : none;
}
.visualClear {
    clear: both;
}
a {
    color: #009EE0;
}
a:visited {
    color: #009EE0;
}
a:active {
    color: #004588;
}
a:hover {
    text-decoration: none;
	color:#F49D00;
}
#p-personal a.new {
    color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
	color:#006AB2;
    font-weight: bolder;
}

/* Some space under the headers in the content area */
#bodyContent h1, 
#bodyContent h2 {
    margin-top: .2em;
} 

.success {
    color: green;
    font-size: larger;
}
.error {
    color: red;
    font-size: larger;
}
.errorbox, .successbox {
    font-size: larger;
    border: 2px solid;
    padding: .5em 1em;
    float: left;
    margin-bottom: 2em;
    color: #000;
}
.errorbox {
    border-color: red;
    background-color: #fff2f2;
}
.successbox {
    border-color: green;
    background-color: #dfd;
}
.errorbox h2, .successbox h2 {
    font-size: 1em;
    font-weight: bold;
    display: inline;
    margin: 0 .5em 0 0;
    border: none;
}

/* disable interwiki styling */
#bodyContent a.extiw,
#bodyContent a.extiw:active {
    color: #36b;
    background: none;
    padding: 0;
} 

/* this can be used in the content area to switch off
 special external link styling */ 
#bodyContent .plainlinks a {
    background: none !important;
    padding: 0 !important;
}

.portlet {    
	background-color:#F0F1F1;
    width: 300px;
    margin: 0;
} 

.portlet h3 {
    background: #AFB0B2;
    padding-left : 20px;
    padding-top: 0.8em;
    padding-bottom:5px;
    height: 1.4em;
    text-transform: uppercase;
    font-size: 91%;
    font-weight: bold;
    white-space: nowrap;
    border-bottom:solid 1px #575757;
    color:#ffffff;	
    display: block;
} 

.portlet ul {
    list-style-type:none;
    padding-left:15px;
} 
.portlet li {
    padding: 2px;
}

.pBody {
    border: none;
    background-color: inherit;
    padding:5px;
}

/*
** Logo properties
*/
#p-logo {
    height: 120px;  
    background:url('../../skins/ICV/icv_logo-2024.png');
    background-repeat:no-repeat;
    margin-right: 295px;
    right: 0px;
    top: 90px;
    left: auto;
    width: 400px;
} 

#p-logo img.titletext{	
	position:absolute;
	top:165px;
	left:-230px;
	border-bottom:0px;
	color:#ffffff;
	font-size:32px;
}

#p-logo h5 {
    display: none;
} 
#p-logo a, 
#p-logo a:hover {
    display: block;
    width: 12.2em;
    background-repeat: no-repeat;
    background-position: 35% 50% !important;
    text-decoration: none;
}

#p-cactions {
    top:198px;
    left:300px;
    line-height:15px;
    z-index: 4;
}

.haufe-ad {  
}

#haufe-ad-bigsize {
  width: 100%;
  text-align: center; 
  height: 90px;
  overflow: hidden;
  float: right;
}

#haufe-ad-sky {  
  clear: right;
  width: 160px;
  height: 600px;
  overflow: hidden;
  text-align: left;
  float: right;
  margin-top: 160px;
}
@media (max-width: 1224px) {
#haufe-ad-sky {  
	display: none;
}
}


#haufe-ad-content {  
}

#p-cactions li.selected {
    font-weight:bold;
    padding:0 0 0.2em;
}

#p-cactions li {
    background:none repeat scroll 0 0 white;
    border: none;
    display:inline;
    margin:0 0.3em 0 0;
    overflow:visible;
    padding:0 0 0.1em;
}

#p-cactions li a {
    color:#009EE0;
}

/*
** the personal toolbar
*/
#p-personal {
    background: url('../../skins/ICV/header_background.jpg') no-repeat right top;    
    height: 150px;
    top: 90px;
    right: 0;
    margin-right: 160px;    
    left: auto;
} 
#p-personal .portlet, 
#p-personal .pBody {    
    z-index: 1;
    padding-top: 10px;
    position:absolute;
    left: 210px;
}

/* this is the ul contained in the portlet */
#p-personal ul {    
    color: #FFFFFF;
} 
#p-personal li {
    color: #FFFFFF;
} 
#p-personal li a {    
    color: #FFFFFF;
} 
#p-personal li a:hover {
    background-color: transparent;
    text-decoration: underline;
} 

/* ICV Fixes */

#globalWrapper .portlet h3 { 
    text-transform: uppercase;
}

.page-Hauptseite #bodyContent table a.image  img {
	height: auto;
	margin: 1em 0;
	max-width: 100%;
	width: 100%;
}

/* Flags */

#n-Wiki-English,
#n-Wiki-Polnisch,
#n-Wiki-Deutsch,
#n-Internationaler-Controllerverein {
    margin-left: -10px;
    padding-left: 20px;
    list-style-type: none;
    list-style-image: none;
}

#n-Wiki-English {     
    background: transparent url('../../skins/ICV/flag_en.gif') 0 4px no-repeat;
}
#n-Wiki-Polnisch {    
    background: transparent url('../../skins/ICV/flag_pl.gif') 0 4px no-repeat;
}
#n-Wiki-Deutsch {
    background: transparent url('../../skins/ICV/flag_de.gif') 0 4px no-repeat;
}
#n-Internationaler-Controllerverein {
    background: transparent url('../../skins/ICV/icv-link.gif') 0 4px no-repeat;
}

/* Flagged Revs */

#mw-fr-revisiontag {
    text-align: left;
    color: #fff;
    background-color:#F0F1F1;
    border:1px solid #AFB0B2;
    float: none;
    display: block;
    height: 45px;
    margin: -3px 0 0 -11px;
    padding: 0;    
}

#mw-fr-revisiontag a img {
    margin: 0;
    padding: 0;
    border: none;
}

span.protected {
    display: block;
    border: solid 2px #AAA;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px 20px 0 0;
    padding: 40px 15px 15px 15px;
    background: #f1f1f1 url('../../skins/ICV/disclaimer.png') 5px 5px no-repeat;
    min-width: 200px;
    max-width: 300px;
}

#icv-disclaimer {
    float: right;
    width: 300px;
    height: 44px;
    background: transparent url('../../skins/ICV/disclaimer.png') top right no-repeat;
    padding-top: 26px;
    text-align: right;
}

#icv-disclaimer-text {
    text-align: left;
    display: none;
    width: 293px;
    margin: 19px 0 0 0;
    padding: 3px;
    color: #000;    
    background: #f1f1f1;
    border: solid #AAA 1px;
    border-top: none;
}

#ie6warning { display: none; }



p {
    margin: .4em 0 .5em 0;
    line-height: 1.5em;
    }

#content {
	color: black;
}

#p-personal ul {
    padding: 0 2em 0 3em;
}

/* modal for privacy policy */
#privacy-policy-modal .modal-dialog{
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    margin: 0;
}
.modal{
    background-color: rgba(0,0,0,.3);
}
.modal-dialog{
    font-size: 16px;
}
.modal .header{
    line-height: 1;
}
.modal .modal-title{
    padding: 0;
}
.modal .modal-body > p{
    display: flex;
    align-items: flex-start;
}
.modal .modal-body > p.decline-text{
    margin: 2em 0;
}
.modal .modal-body input[type="checkbox"]{
    margin-right: 10px;
    margin-top: 3px;
}
.btn-modal{
    padding: 12px 20px 10px 20px;
    border-radius: 3px;
    background-color: #006AB2;
    color: #fff;
    border: none;
    line-height: 1;
}
.btn-modal[disabled]{
￼    cursor: not-allowed;
     filter: alpha(opacity=65);
￼    opacity: 0.65;
}
.modal-footer{

}
.modal .decline-text{

}
/* cookie warning */
.mw-cookiewarning-container{
    background-color: #fff;
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid #777;
}
.mw-cookiewarning-text a{
    color: #009EE0 !important;
    background-color: transparent;
    font-weight: 500;
}
.mw-cookiewarning-text .mw-cookiewarning-dismiss{
    background-color: #f8f9fa;
    color: #000 !important;
    font-weight: 500;
    border: 1px solid #a2a9b1;
}
