#navigation .nolink {
    color: #fff;
    display: block;
    padding: 2px 4px;
}

span.error, ul.errorlist li {
    color: #f00;
}

form.as_p label {
    width: 166px;
}

form.padd {
    margin-left: 20px;
}

.highlighted {
    background-color: #4d4d4d;
    color: #fff;
}

.tabnav ul li a {
    color: white !important;
}

.tabnav li.selected a {
    color: #CC0018 !important;
}

.context-menu li a {
    color: #fff;
}


h2.nopadding {
    padding:0;
}

.small h3 {
    /* padding-left: 0; */
}

#breadcrumbs .plaintext {
    background: url(../img/ui/arrow-right.png) no-repeat right 6px;
    color: #fff;
    padding-right: 7px;
    text-decoration: none;
}

#mininav li .nolink {
    padding: 6px 8px;
}

/* Nav level 2, no link */
#mininav > ul > li > ul > li > .nolink {
    font: 15px/28px 'SourceSans3-SemiBold', arial, sans-serif;
    text-transform: uppercase;
    color: white;
}

/* Nav level 3, no link */
#mininav > ul > li > ul > li > ul > li > .nolink {
    font: 15px/28px 'SourceSans3-Bold', arial, sans-serif;
    padding-left: 16px;
    text-transform: none;
    color: white;
}

/* Nav level 4, no link */
#mininav li.flat-nav > ul > li > a, #mininav > ul > li > ul > li > ul > li > ul > li > .nolink {
    background: none;
    color: #B7B7B7;
    font: 15px/15px 'SourceSans3-Medium', arial, sans-serif;
    padding-left: 28px;
    text-transform: none;
}

.context-menu-container {
    background-color: #464646;
    border-radius: 4px;
    box-shadow: 0px 2px 8px #333;
    color: #fff;
    display: none;
    padding: 2px;
    position: absolute;
    width: 240px;
    z-index: 200;
}

#metanav .context-menu-container {
    width: auto;
}

#metanav .context-menu li a {
    background: none;
    color: white;
    display: block;
    margin: 2px 0;
    padding: 0px 4px;
}

#metanav .context-menu li a:hover {
    background-color: #343434;
    border-radius: 4px;
}

#metanav ul.context-menu {
    padding: 2px;
}

.ajax-big {
    background: url(img/ajax-loader-big.gif)  no-repeat;
    background-position: center;
    width: 920px;
    height:50px;
}


#lightbox .buttonbar option {
    color: black;
}

#favorites .download .hidden {
    visibility: hidden;
}

#favorites .bc_favs a {
    color: #fff;
    display: inline;
    margin: 0px;
    font-weight: bold;
}

ol {
    margin:32px 0px 8px 32px;

}

ol li {
    list-style-type: decimal;
    padding-bottom: 0.85em;
}

/*
CMS Edit mode
*/
.placeholder_headline {
    background-color: #4d4d4d;
    padding:0 0 0 4px;
    color: white;
}

input[type=text], input[type=password] {
    font-size: 100%;
}

form p {
    margin-bottom: 6px;
}

h3.nopadding {
    padding-left: 0;
}

html.login input[type="submit"] {
    /*    margin-left: 20px; */
}

ul.menutree > li {
    margin-bottom: 1em;
}

#favorites .fileactions {
    width: 111px;
}


/* Always show background for acordions */

.tab > .i-grp > .i-col > .acc > .accitm:first-child {
    background: url(../img/ui/bg-acc.png) repeat-x 0 0;
}

.tab > .acc > .accitm:first-child {
    background: url(../img/ui/bg-acc.png) repeat-x 0 0;
}

/* Zoom image left aligned (see #7128) */
.img-wrapper .zoom {
    left: 0;
}

.linklist .download {
    padding-left: 0px;
    line-height: 16px;
}

.linklist .download .icon {
    display: inline-block;
    width: 15px;
    height: 16px;
    margin-right: 10px;
    background: url('../img/ui/icons.png') no-repeat;
    overflow: hidden;
}

.linklist .icon.unknown_type {
    background-position: 0 0;
}

.linklist .icon.pdf {
    background-position: -15px 0;
}

.linklist .icon.zip {
    background-position: -30px 0;
}

.linklist .icon.fav {
    background-position: -45px 0;
}

h4 {
    padding: 0 20px;
}

@media screen and ( min-width: 768px ) and ( max-width: 959px ) {
    h4 {
        padding: 0 15px;
    }
}

@media screen and ( max-width: 767px ) {
    h4 {
        padding: 0 10px;
    }
}

.tab .acc:first-of-type .accitm {
    background-image: none;
    margin-top: -20px;
}

.tab .acc {
    padding-top: 0;
}

table.guideline tbody td {
    font-family: 'SourceSans3-Regular';
}
table.guideline tbody tr > td:first-child {
    font-family: 'SourceSans3-SemiBold';
}

.tab .img-wrapper {
    margin-left: 20px;
}

.small .plugin_link {
    margin-left: 20px;
}

@media screen and ( min-width: 768px ) and ( max-width: 959px ) {
    .small .plugin_link {
        margin-left: 15px;
    }
}

@media screen and ( max-width: 767px ) {
    .small .plugin_link {
        margin-left: 10px;
    }
}

.download_result {
    margin-left: 40px;
    padding:8px 8px 8px 0;
}

.download_result a {
    font-weight: bold;
}

.col select.custom {
    color: #000;
}

ul.ui-autocomplete {
    width: 700px !important;
    max-width: 700px;
}

ul.ui-autocomplete li {
    width: 700px !important;
    max-width: 700px;
}

.login .plugin_link a {
    margin-left: 20px;
}

.linklist {
    margin-bottom: 0;
}

.linklist:last-of-type {
    margin-bottom: 15px;
}
.login fieldset {
    margin-bottom: 16px;
}

.login fieldset:last-of-type {
    margin-bottom: 0;
}

.login fieldset label:not(.radio) {
    float: left;
}

.login fieldset legend {
    padding: 8px 0 8px 0;
    /*    font-weight: bold;*/
    /*    font-size: 1.2em;*/
}

#fs_contact_person {
    display: none;
}

.i-col.small .plugin_link {
    display: block;
}

.img-caption-wrapper {
    margin-bottom:8px;
    display: inline-block;
}

.img-caption-wrapper .info {
    padding-left: 20px;
}

@media screen and ( min-width: 768px ) and ( max-width: 959px ) {
    .img-caption-wrapper .info {
        padding-left: 15px;
    }
}

@media screen and ( max-width: 767px ) {
    .img-caption-wrapper .info {
        padding-left: 10px;
    }
}


img {
    padding: 0 0 0 20px;
}

.popular_downloads img {
    padding-left: 0;
}

.controls .help-inline {
    color: red;
}

/*
Crispy forms: two elements in a row in registration form
*/

form.as_p .row input {
    width: 80px;
}

form.as_p .row .sel-wrapper {
    width: 0px;
}

form.as_p .row .control-group, form.as_p .row .controls {
    display: inline;
    float: left;
}

form.as_p .row label[for="id_contact_person_email_suffix"] {
    width: auto;
}

form.as_p .row .sel {
    width: 145px;
    background-position: right top;
}

#metanav > ul > li.middle-item > a {
    margin-left: 1px;
    padding-left: 5px;
    padding-right: 3px;
}

#metanav > ul > li.pipe-background > a {
    background: url(../img/ui/pipe.png) no-repeat 0 3px;
}
