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

#project-attachments a,
#secondary-project-list a ,
#project-list a {
    color: black;
}

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

form.as_p label {
    width: 200px;
}

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: 0 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: 0 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: 0;
    font-weight: bold;
}

ol {
    margin:32px 0 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='search'] {
  background-clip: padding-box;
  border: 1px solid #bbb;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ddd;
  border-radius: 4px;
/*  box-shadow: inset 0px 2px 4px #333;*/
  height: 20px;
  margin: 0;
  padding: 2px 8px;
}

input[type=text], input[type=password],  input[type=search] {
    font: 15px/21px 'SourceSans3-Regular', arial, sans-serif;
    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: 0;
    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;
}

.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;
}

.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;
}

img {
    padding: 0 0 0 20px;
}

.popular_downloads img {
    padding-left: 0;
}


/* Changes for Approval Tool/Projects */

.col.full {
    padding-bottom: 50px;
}

.logo {
    width: 442px;
}

textarea {
    border-radius: 4px;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-top-color: #bbb;
    border-bottom-color: #ddd;
    margin: 0;
    padding: 2px 8px;
    font: 15px/21px 'SourceSans3-Regular', arial, sans-serif;
}

#fancyalert-ok,
a.button {
    background: url(../img/ui/bg-btn.png) repeat-x 0 0;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-bottom: 1px solid #999;
    border-radius: 4px;
    font: 15px/21px 'SourceSans3-Regular', arial, sans-serif;
    color: #fff;
    height: 27px;
    text-shadow: 0 -1px 1px #000;
    padding: 0 5px;
    display: inline-block;
    line-height:27px;
    text-align: center;
}

a.button:hover {
    text-decoration: none;
}

button[type=reset],
input[type=reset] {
    background: url(../img/ui/bg-btn-login.png) repeat-x 0 0;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-bottom: 1px solid #999;
    border-radius: 4px;
    font: 15px/21px 'SourceSans3-Regular', arial, sans-serif;
    color: #000000;
    height: 29px;
    text-shadow: 0 -1px 1px #fff;
    margin-right: 25px;
}

button[type=reset].light-gray,
input[type=reset].light-gray,
a.button.light-gray {
    background-image: url(../img/ui/bg-btn-lightgray.png);
    color: #000;
    text-shadow: 0 -1px 1px #fff;
}

section#page_content {
    float: left;
    clear: both;
    margin-bottom: 40px;
}

span.type-icon {
    width: 16px;
    height: 16px;
    display: block;
    float: left;
    margin-right: 10px;
    margin-top: 5px;
    background: url(../img/DER-icons.png) no-repeat;
}

span.type-icon.type-pdf {
    background-position: 0 -50px;
}

span.type-icon.type-psd {
    background-position: 0 -100px;
}

span.type-icon.type-jpeg,
span.type-icon.type-jpg {
    background-position: 0 -150px;
}

span.type-icon.type-gif {
    background-position: 0 -200px;
}

span.type-icon.type-png {
    background-position: 0 -250px;
}

span.type-icon.type-docx,
span.type-icon.type-doc {
    background-position: 0 -300px;
}

span.type-icon.type-xlsx,
span.type-icon.type-xls {
    background-position: 0 -350px;
}

span.type-icon.type-pptx,
span.type-icon.type-ppt {
    background-position: 0 -400px;
}


#project-attachments {
    float: left;
    width: 100%;
    clear: left;
}

#project-attachments li.attachment {
    float: left;
    margin-top: 0;
    clear: left;
    line-height: 30px;
}

#project-attachments li.attachment a {
    color: #000000;
}

html.login form {
    border-top: 0;
}


form.project-data {
    margin-top: 20px;
}

form.project-data p {
    float: left;
    clear: left;
    width: 100%;
    margin-top: 15px;
}

form.project-data label {
    float: left;
    width: 180px;
    margin: 3px 0 0 20px;
}

form.project-data input[type=file] {
    width: 370px;
}

form.project-data input[type=text],
form.project-data textarea {
    float: left;
    clear: none;
    margin-left: 15px;
    width: 410px;
}


form.project-data div.button-group {
    border-top: 1px #aaa solid;
    width: 427px;
    margin-top: 20px;
    padding-top: 20px;
    padding-left: 200px;
    margin-left: 15px;
    float: left;
}

form.project-data div.button-group a.button,
form.project-data div.button-group input[type=reset],
form.project-data div.button-group input[type=submit] {
    width: 200px;
    display: block;
    float: left;
}

p.attachment-wrapper {
    width: 430px;
    line-height: 28px;
}

#reset-project {
    margin-right: 15px;
}

p.attachment-wrapper a.attachment-remove {
    background: url(../img/ui/icon-del.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    float: right;
    margin-top: 6px;
}


#secondary-project-list ,
#project-list {
    width: 915px;
    border-collapse: collapse;
    margin-bottom: 40px;
}

#secondary-project-list th ,
#project-list th {
    border-bottom: 1px solid #888;
    padding: 5px;
    width: 75px;
    text-align: left;
    font-family: "SourceSans3-Medium";
    font-weight: normal;
}

#secondary-project-list col.active ,
#project-list col.active {
    background-color: #f3f3f3;
}

#secondary-project-list th.active ,
#project-list th.active {
    font-family: "SourceSans3-Bold";
}

#secondary-project-list p,
#project-list p{
    padding: 0px;
    margin: 0px;
    font-size: 12px;
    line-height: 14px;
}

#secondary-project-list .project-image ,
#project-list .project-image {
    width: 95px;
    padding: 5px 0 0;
    text-align: center;
}

#secondary-project-list .project-title ,
#project-list .project-title {
    width: 310px;
}

#secondary-project-list .project-title ,
#project-list .project-title {
    width: 310px;
}

#secondary-project-list .project-rating ,
#project-list .project-rating {
    width: 160px;
}

/* I changed this to select only TDs to avoid it coloring the list header */
#secondary-project-list td.project-rating a,
#project-list td.project-rating a{
        color: #009fe3;
    }
#secondary-project-list .project-status ,
#project-list .project-status {
    width: 210px;
}

.project-button-status {
    display: block;
    width: 30px;
    height: 30px;
    background-image:url(../img/project_overview_button.png);
}

#secondary-project-list .project-button ,
#project-list .project-button {
    vertical-align: middle;
    text-align: center;
    padding-left: 30px;

}

.project-button-status.blue{
    background-position: 0px 0px;
}

.project-button-status.yellow{
    background-position: 0px -30px;
}

.project-button-status.grey{
    background-position: 0px -60px;
}

#secondary-project-list h4 ,
#project-list h4 {
    margin: 0;
    padding: 0;
    font-family: "SourceSans3-Medium";
    font-weight: normal;
    margin-bottom: 5px;
}

#comment-form .rating-stars,
#secondary-project-list .rating-stars,
#project-list .rating-stars{
    position: relative;
    height: 60px;
    width: 90px;
}

#comment-form .rating-stars img,
#secondary-project-list .rating-stars img,
#project-list .rating-stars img{
    position: absolute;
    top: 43px;
    left: 0px;
    padding: 0px;
    z-index:4;
}

#comment-form .rating-stars .measure,
#secondary-project-list .rating-stars .measure,
#project-list .rating-stars .measure{
    position: absolute;
    top:43px;
    left: 0px;
    width: 21px;
    height: 16px;
    background-color: #cc0018;
    z-index:1;
}

.measure-default{
    background-color: #d6d6d6;
    position: absolute;
    top: 43px;
    left: 0px;
    width: 89px;
    height: 16px;
    z-index:0;
}

#comment-form .rating-stars .measure.measuring {
    background-color: transparent;
    top: 43px;
    width: 83px;
}

#comment-form .rating-stars.hovering .measure.measuring {
    background-color: #ddce2b;
}

#comment-form .rating-stars .status,
#secondary-project-list .rating-stars .status,
#project-list .rating-stars .status{
    width: 210px;
    background-color:;
}

#comment-form .rating-stars .rating,
#secondary-project-list .rating-stars .rating,
#project-list .rating-stars .rating{
    width: 160px;
}

html.project-list h1 {
    float: left;
    width: 550px;
}

html.project-list .col.full {
    padding-bottom: 10px;
}

html.project-list #pagination-info {
    font-size: 12px;
    line-height: 12px;
    margin-top: 8px;
    margin-left: 20px;
    margin-bottom: 10px;
    float:left;
    width: 200px;
}



html.project-list #pagination-info strong {
    font-family: 'SourceSans3-SemiBold', arial, sans-serif;
    font-weight: normal;
}

html.project-list #projects-per-page {
    float: right;
    font-size: 12px;
}

html.project-list #projects-per-page .custom-selectbox-mini {
    margin-right: 20px;
    margin-top: 4px;
    line-height: 22px;
    background-image: url(../img/ui/selectbox_custom_mini.png);
    width: 35px;
    height:21px;
    font-size: 12px;
    padding-left: 5px;
}

html.project-list #id_per_page {
}

#secondary-project-list td ,
#project-list td {
    border-bottom: 1px solid #ccc;
    padding: 10px;
    line-height: 22px;
    vertical-align: top;
    cursor: pointer;
}

#secondary-project-list td img, #secondary-project-list th img,
#project-list td img, #project-list th img {
    margin: 0;
    padding: 0;
}

html.project-list .paginate {
    float: left;
    margin-top: 0;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    width: 735px;
}

html.project-list .paginate-controls {
    float: left;
    width: 61px;
    margin-left: 20px;
}

html.project-list .paginate-controls.ahead {
    float: right;
    margin-right: 20px;
}

html.project-list .paginate-controls a {
    display: block;
    height: 21px;
    background: url(../img/paginator-controls-disabled.png) no-repeat;
    float: left;
}

html.project-list .paginate-controls a[href] {
    background-image: url(../img/paginator-controls.png);
}

html.project-list .paginate-controls a.rewind {
    background-position: 0 0;
    width: 31px;
}

html.project-list .paginate-controls a.prev {
    background-position: -31px 0;
    width: 30px;
}

html.project-list .paginate-controls a.next {
    background-position: -60px 0;
    width: 30px;
}

html.project-list .paginate-controls a.ffwd {
    background-position: -91px 0;
    width: 31px;
}

html.project-list .status-icon {
    background: url(../img/icons-projects-status.png) no-repeat 0px 0px;
    width: 40px;
    height: 40px;
    display: block;
    float: left;
    margin-right: 5px;
}


html.project-list .status-icon.status-approved {
    background-position: 0px -80px;
}

html.project-list .status-icon.status-needs_rework {
    background-position: 0px -117px;
}

html.project-list .status-icon.status-rejected {
    background-position: 0px -40px;
}

html.project-list .status-icon.status-forwarded,
html.project-list .status-icon.status-needs_review {
    background-position: 0px -160px;
}


html.project-list #secondary-project-list th a,
html.project-list #project-list th a {
    color: #3a3833;
}

html.project-list #secondary-project-list th img,
html.project-list #project-list th img {
    margin-right: 5px;
}

/* Project detail */

html.project-detail #project-status {
    float: left;
    width: 100%;
}

html.project-detail #project-status h1 {
    float: left;
}

html.project-detail #project-status aside {
    float:right;
    color: #aaa;
    line-height: 35px;
    margin: 20px 15px;
}

html.project-detail .comment-data,
html.project-detail #project-data {
    float: left;
    clear: both;
    border-bottom: 1px solid #999;
    height: auto;
    margin: 0 20px;
    position: relative;
    width: 630px;
}

html.project-detail .comment-data {
    margin-top: 10px;
}

html.project-detail .comment-data article,
html.project-detail #project-data article {
    float: left;
}


/* Used for comment- and description-related data */
html.project-detail #comment-form label,
html.project-detail .comment-info {
    clear: left;
    float: left;
    width: 180px;
}


html.project-detail .comment-author {
	font-family: 'SourceSans3-SemiBold', arial, sans-serif;
    margin-bottom: 0;
    padding-left: 0;
}

html.project-detail .comment-author-info {
    font-size: 10px;
    line-height: 14px;
    margin-bottom: 0;
    padding-left: 0;

}

html.project-detail .comment-creation-date {
    color: #999;

    font-size: 10px;
    padding-left: 0;

}

html.project-detail #project-title {
    float: left;
    font-size: 22px;
    margin-top: 0;

}
/*
html.project-detail #project-description,
html.project-detail #comment-text,
html.project-detail .comment-text {
    clear: left;
    float: left;
    width: 410px;
}
*/



html.project-detail .status-icon-large {
    background: url(../img/icons-projects-status.png) no-repeat 0 3px;
    width: 36px;
    height: 36px;
    display: block;
    float: right;
    margin-right: 5px;
    margin-left: 5px;
}

html.project-detail .status-icon-large.status-approved {
    background-position: 0 -77px;
}

html.project-detail .status-icon-large.status-needs_rework {
    background-position: 0 -117px;
}

html.project-detail .status-icon-large.status-rejected {
    background-position: 0 -37px;
}

html.project-detail .status-icon-large.status-forwarded,
html.project-detail .status-icon-large.status-needs_review {
    background-position: 0 -160px;
}


html.project-detail #comment-form {
    float: left;
    clear: left;
    margin-top: 15px;
}

html.project-detail #comment-form label {
    margin-left: 20px;
    margin-right: 5px;
}

html.project-detail #comment-form .button-group {
    text-align: right;
}

html.project-detail #comment-form .button-group input[type=submit]{
    float:none;
    display: inline-block;
}

html.project-detail #comment-form #add-attachment {
    margin-left: 220px;
}

div.button-group button[type=submit] {
    width: 140px;
}

/*
button.reject {
    background: url(../img/ui/bg-btn-red.png) repeat-x;
    color: #ffffff;
    border: 1px #bf0000 solid;
}

button.revise {
    background: url(../img/ui/bg-btn-blue.png) repeat-x;
    color: #ffffff;
    border: 1px #0091c5 solid;
}

button.approve {
    background: url(../img/ui/bg-btn-green.png) repeat-x;
    color: #ffffff;
    border: 1px #5c991f solid;
}
*/

button.save,
input.project-save,
button.reject,
button.approve,
button.forward,
button.revise,
button.download,
button.release{
  height: 31px;
  color: #fff; /* text color */
  font-family: 'SourceSans3-Medium';
  font-size: 15px;
  background-color: transparent;
  width: 120px !important;
  border:0;
  margin-right: 10px;
}

button.save,
input.project-save,
button.download {
  text-shadow: 0 1px 0 #000; /* drop shadow */
}

button.download{
    width: 130px !important;
}
button.forward {
    background-image:url(../img/ui/button_forward.png) !important;
    text-shadow: 0 -1px 0 #e57700;
}

button.forward.hover {
    background-image:url(../img/ui/button_forward_hover.png) !important;
}

button[type=submit].fancybox-closebutton.revise,
button.revise {
  background-image:url(../img/ui/button_revise.png);
    text-shadow: 0 -1px 0 #013351;
}
button[type=submit].fancybox-closebutton.revise.hover,
button.revise.hover {
  background-image:url(../img/ui/button_revise_hover.png);
}

button[type=submit].fancybox-closebutton.reject,
button.reject {
  background-image:url(../img/ui/button_reverse.png);
    text-shadow: 0 -1px 0 #850e22;
}

button[type=submit].fancybox-closebutton.reject.hover,
button.reject.hover {
  background-image:url(../img/ui/button_reverse_hover.png);
}


button[type=submit].fancybox-closebutton.approve,
button.approve,
button.release {
    background-image:url(../img/ui/button_release.png);
    text-shadow: 0 -1px 0 #306614;
}

button[type=submit].fancybox-closebutton.approve.hover,
button.approve.hover,
button.release.hover {
    background-image:url(../img/ui/button_release_hover.png);
}


input.project-save,
button.save {
    background-image:url(../img/ui/button_save.png);
}

input.project-save.hover,
button.save.hover {
    background-image:url(../img/ui/button_save_hover.png);
}


#fancyalert-box {
}

#fancyalert-box h2 { /* Using this for error messages */
    margin: 10px 0;
    padding: 0;
}

#fancyalert-box .button-wrapper {
    text-align: right;
    clear: both;
    float: right;
}

.project-search {
    clear: both;
    border-top: 1px solid #999999;
    border-bottom: 1px solid #999999;
    padding: 10px 0;
    position: relative;
}

.project-search{
    line-height: 27px;
    margin: 0 20px;
}

.project-search label{
    width: 24px;
    display: inline-block;
    text-align: center;
}

.project-search input, select{
    border:0;
}

input[type='text'].datepicker, .datepicker {
  background-image: url(../img/ui/datepicker.png);
  width: 113px;
  height: 27px;
  border: 0;
  padding: 2px;
  padding-left: 5px;
  display: inline-block;
  cursor: pointer;
  margin: 0;
}

.project-search .customSelect{
    margin-right: 7px;
}

.project-search .datepicker-to{
    margin-right: 17px;
}

.customSelect, .custom-selectbox-mini{
/* This is the default class that is used */
/* Put whatever custom styles you want here */
  background-image: url(../img/ui/selectbox_custom.png);
  width: 110px;
  height: 31px;
  display: inline-block;
  top: 0px;
  padding-left: 10px;
}

.fancybox-skin .customSelect,
.general-project-information .customSelect.long{
    background-image: url(../img/ui/selectbox_custom_large.png) !important;
    width: 260px;
    height: 31px;
    line-height: 27px;
}

.general-project-information select.long{
    width: 260px !important;
}

.general-project-information .left-side{
    margin-right: 40px;
}

.left-side,
.right-side {
    width: 440px;
    float: left;
}

.general-project-information .right-side .control-group {
    margin-top: 0px;
    margin-bottom: 10px;
}

.fancybox-skin .customSelectInner {
    width: 240px !important;
}

select.size-m,.customSelect.size-m {
    width: 221px !important;
    background-image: url(../img/ui/selectbox_custom_size_m.png) !important;
    line-height: 27px;
}

select.size-m {
    width: 231px !important;
}

.general-project-information .control-group {
    margin-top: 10px;
}

.general-project-information span.date-to {
    display: inline-block;
    width: 24px;
    text-align: center;
}

.general-project-information .add-plus {
    background-image: url("../img/ui/selectbox_plus.png");
    float:right;
    height: 31px;
    width:31px;
}


.fancybox-skin button,
.fancybox-skin input[type=reset],
.fancybox-skin input[type=submit] {
    float: left;
    margin: 0;
}

.fancybox-skin button[type=reset],
.fancybox-skin input[type=reset] {
    margin-right: 10px;
}

.project-search .searchfield{
    background-image: url(../img/ui/search_field.png);
    width: 160px;
    border: 0;
    height: 26px;
    margin-right: 10px;
    float: right;
    -webkit-appearance: none;
}

.project-search input[type=submit]{
    background-image: url(../img/ui/search-form-submit.png);
    width: 30px;
    float: right;
}


.project-search .sel-wrapper {

}

.inactive-user {
    color: #aaa;
}

.fancybox-skin button[type=reset], .fancybox-skin button[type=submit],
.fancybox-skin input[type=reset], .fancybox-skin input[type=submit]{
    width: 130px;
}

.fancybox-skin h3, .fancybox-skin p{
    margin: 0;
    padding: 0;
    font-size: 15px;
    margin-bottom: 1em;
    color: #000;
}

.fancybox-skin button[type=submit],
.fancybox-skin input[type=submit] {
    float: right;
}

.fancybox-skin {
    padding: 10px !important;
}

.fancybox-skin a {
    color: #009FE3;
}

.form-project-title {
    clear: both;
    width: 440px;
}

.form-project-title input {
    background-image:url(../img/ui/input_projekttitle.png);
    border: none;
    border-radius: 0px;
    width: 424px;
    height: 27px;
}

.form-project-title #id_contact_person {
    margin-left: 50px;
    width: 265px;
    background-image:url(../img/ui/input_projekttitle_contactperson.png);
}

.form-project-title label {
    display: block;
    border-bottom:1px solid #dcdcdc;
    line-height: 30px;
    margin-bottom: 10px;
    font: 15px/28px 'SourceSans3-SemiBold', arial, sans-serif;
    width: 100% !important;
}

.form-project-title label.non-bold {
    font: 15px/15px 'SourceSans3-Medium', arial, sans-serif;
}

.form-project-title label span {
    float: right;
    font: 15px/15px 'SourceSans3-Medium', arial, sans-serif;
    font-size: 13px;
    color: #898989;
    margin-top: 5px;
}

.general-project-information {
    margin-left: 20px;
    margin-top: 35px;
    margin-right: 20px;
}

fieldset.general-project-information {
    border: none;
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.general-project-information h5 {
    display: block;
    border-bottom: 1px solid #dcdcdc;
    line-height: 30px;
    margin-bottom: 10px;
    font-weight: normal;
    font: 15px/28px 'SourceSans3-Regular', arial, sans-serif;
}

.general-project-information .button-group {
    border-top: 1px solid #dcdcdc;
    padding-top: 10px;
    text-align: right;
}

input[type=submit].create-project {

}

.general-project-information label{
    width: 170px;
    float: left;
    height: 31px;
    line-height: 27px;
    font: 15px/28px 'SourceSans3-SemiBold', arial, sans-serif;
}

html.project-detail div.attachment-preview {
    width: 700px;
    height: 395px;
    background-color: #ccc;
}

.project-details-header{
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    overflow: hidden;
    margin: 0 20px;
    padding: 10px 0;
    margin-bottom: 35px;
}
    .project-details-header > div {
        float: left;
        color: #000;
    }

    .project-details-header > div.project-id {
        font-size: 60px;
        font-family: 'SourceSans3-Light';
        line-height: 1;
        width: 170px;
    }

    .project-details-header > div.project-infos {
        margin-left: 20px;
        width: 460px;
        margin-right: 20px;
    }

    .project-details-header > div.project-state {
        width: 250px;
        position: relative;
    }

    .project-details-header > div.project-state > span{
        background: url(../img/icons-projects-status.png) no-repeat 0px 0px;
        position: absolute;
        width: 30px;
        height: 30px;
        right: 0;
        top: 0;
    }

    .project-details-header > div.project-state.status-approved > span{
        background-position: 0px -80px;
    }

    .project-details-header > div.project-state.status-rejected > span{
        background-position: 0px -40px;
    }

    .project-details-header > div.project-state.status-open > span {
        background-position: 0px 0px;
    }

    .project-details-header > div.project-state.status-needs_review > span,
    .project-details-header > div.project-state.status-forwarded > span {
        background-position: 0 -160px;
    }

    .project-details-header > div.project-state.status-needs_rework > span{
        background-position: 0px -120px;
    }

    .project-details-header > div.project-state.being_checked,
    .project-details-header > div.project-state.being_edited  > span{
        background-position: 0px -160px;
    }

    .project-details-header p {
        margin-bottom: 0px;
    }

    .project-details-header h3 {
        font-family: 'SourceSans3-Medium';
        font-size: 18px;
        font-weight: normal;
        margin-bottom: 18px;
        color: #000;
        padding: 0;
    }

    .project-details-header p {
        font-size: 12px;
        font-family: 'SourceSans3-SemiBold';
        line-height: 14px;
        padding: 0;
    }

    .project-details .left-side {
        width: 440px;
        margin-left: 20px;
        margin-right: 40px;
    }

    .project-details .long-col {
        margin: 0 20px;
        overflow: hidden;
        clear: both;
        padding-top: 20px;
    }
        .project-details .long-col .left-side {
            margin: 0px;
            margin-right: 40px;
        }

    .project-details h5 {
        font-size: 15px;
        border-bottom: 1px solid #4b4b4b;
        font-family: 'SourceSans3-Regular';
        line-height: 25px;
        color: #4b4b4b;
        margin-bottom: 20px;
    }

    .project-details dt{
        font-family: 'SourceSans3-Bold';
    }
    .project-details dd{
        font-family: 'SourceSans3-Medium';
    }

    .project-details dt,
    .project-details dd{
        display: inline-block;
        width: 170px;
        margin-right: 10px;
        line-height: 20px;
        font-size: 15px;
        vertical-align: top;

    }
    .project-details dd{
        width: 220px;
    }
    .project-details dd strong{
        display: inline-block;
        width: 50px;
        text-align: center;
    }

.project-description {
    clear: both;
    margin-top: 40px !important;
}

    .project-description h3 {
        font-size: 20px;
        font-family: 'SourceSans3-Regular';
        text-transform: uppercase;
        line-height: 25px;
        color: #cc0018;
        padding: 0;
    }

    .project-description .user-infos p {
        padding-left: 0;
        font-size: 12px;
        line-height: 14px;
        margin-top: 0;
    }

    .project-description .user-infos{
        width: 211px;
        float: left;
    }

    .project-description-left .user-infos {
        text-align: right;
    }

    .project-description-left .user-infos p {
        text-align: right;
        padding-right: 0;
    }

    .project-description .inactive-user {
        color: #aaa;
    }


    .project-description .long-description{
        background: white url(../img/ui/project-description.png) no-repeat 0 0;
        width: 689px;
        padding: 10px;
        float: left;
        padding-bottom: 0;
    }

    .project-description-left .long-description{
        background: url(../img/ui/project-description_left.png) no-repeat 0 0;
    }

    .project-description .button-group{
        margin-left: -10px;
    }

    .project-description .long-description h4 {
        clear: both;
    }
    .project-description .long-description p,
    .project-description .long-description h4,
    .project-description .long-description a,
    .project-description .long-description ul{
        margin: 0;
        padding: 0;
        margin-left:10px;
    }

    .project-description-left .long-description p,
    .project-description-left .long-description h4,
    .project-description-left .long-description a,
    .project-description-left .long-description ul{
        margin: 0;
        padding: 0;
    }

    .project-details form h4 {
        font-weight: normal;
    }

    .project-description .long-description ul,
    .project-description .long-description li{
        margin-left: 0;
    }

    .project-description .long-description .project-external-links {
        margin-top: 10px;
    }

    .project-description .stage {
        width: 700px;
        height: 394px;
        background-color: #ccc;
        position: relative;
        overflow: hidden;
        margin-top: 20px;
    }

    .project-description-left .stage {
        margin-left: -10px;
    }

        .project-description .stage a.arrow-left,
        .project-description .stage a.arrow-right{
            background-image: url(../img/ui/project_stage_right.png);
            top: 0px;
            right: 0px;
            width: 32px;
            height: 64px;
            position: absolute;
            margin: 0;
            top: 50%;
            margin-top: -32px;
            z-index: 1;
        }

        .project-description .stage a.arrow-left{
            background-image: url(../img/ui/project_stage_left.png);
            left: 0px;
        }

        .project-description .attachment-list img.attachment-thumb{
            padding: 0px;
            float: left;
        }

        .project-description .attachment-download {
            float: right;

        }

        .project-description .attachment-download img {
            padding: 0px;
            margin-right: 10px;
            margin-top: 10px;
        }


        .project-description ul.attachment-list {
            border-top: 1px solid #d6d6d6;
            margin-top: 25px;
            margin-right: -10px;
        }

        .project-description-left ul.attachment-list {
            border-top: 1px solid #d6d6d6;
            margin-top: 25px;
            margin-right: 0px;
            margin-left: -10px;
        }

        .project-description .attachment-list li {
            clear: both;
            border-bottom: 1px solid #d6d6d6;
            overflow: hidden;
        }

        .project-description .attachment-list li .attachment-text-link{
            width: 580px;
            display: inline-block;
            line-height: 40px;
            font-size: 15px;
            margin-left: 10px;
        }

        .project-description .attachment-list li.active{
            background-color:#d6d6d6;
        }
        .project-description .attachment-list li.hover{
            background-color:#DDDDDD;
        }


    .project-description .stage .attachment-item {
        width: 700px;
        height: 394px;
        display: table;
    }

    .project-description .stage .preview-type-icon,
    .project-description .stage .preview-type-image{
        width: 700px;
        height: 394px;
        line-height: 394px;
        display:table-cell;
        vertical-align: middle;
        text-align: center;
        background:url(../img/ui/icon_file.png) no-repeat center center;
    }

    .project-description .stage .preview-type-icon.icon-txt,
    .project-description .stage .preview-type-icon.icon-rtf,
    .project-description .stage .preview-type-icon.icon-doc{
        background-image:url(../img/ui/icon_doc.png);
    }

    .project-description .stage .preview-type-icon.icon-zip{
        background-image:url(../img/ui/icon_zip.png);
    }

    .project-description .stage .preview-type-icon.icon-psd{
        background-image:url(../img/ui/icon_psd.png);
    }

    .project-description .stage .preview-type-icon.icon-pdf{
        background-image:url(../img/ui/icon_pdf.png);
    }

    .project-description .stage .preview-type-icon.icon-jpg{
        background-image:url(../img/ui/icon_jpg.png);
    }

    .project-description .stage .preview-type-icon.icon-png{
        background-image:url(../img/ui/icon_png.png);
    }

    .project-description .stage .preview-type-icon.icon-xls{
        background-image:url(../img/ui/icon_xls.png);
    }

    .project-description .stage .preview-type-icon.icon-gif{
        background-image:url(../img/ui/icon_gif.png);
    }


    .project-description .stage .preview-type-image img{
        vertical-align: middle;
        padding: 0px;
    }

    .project-description .long-description textarea {
        width: 670px;
        height: 191px;
        border: none;
        padding: 5px;
        background-image: url(../img/ui/form_textarea_background.png);
        resize: none;
        margin-left: 8px;
    }

    .project-description-left .long-description textarea {
        margin-left: 0px;
    }

    .project-description-left form.project-data label {
        margin-left: 0px;
    }

    #comment-form .add-attachment,
    .project-description .long-description .add-attachment,
    #comment-form .add-link,
    .project-description .long-description .add-link {
        background-image: url(../img/ui/icon_links_hinzufuegen.png);
        width:30px;
        height: 31px;
        float: left;
        margin-right: 5px;
    }

    #comment-form .add-attachment,
    .project-description .long-description .add-attachment {
        background-image: url(../img/ui/icon_add_attachment.png);
    }
    .project-description .long-description h4,
    .project-comment .long-description h4 {
        margin-bottom: 10px;
    }

    .project-description .long-description .add-attachments,
    .project-description .long-description .add-links{
        padding-top: 10px;
        clear: both;
    }

    .project-description .long-description .add-attachments h4,
    .project-description .long-description .add-links h4{
        color: #4B4B4B
    }


    .project-description .long-description .add-links ul{
        padding-top: 15px;
        clear: both;
    }

    .project-description .long-description .add-links .external-link-edit{
        background-image: url(../img/ui/link_attachment_edit.png);
        float: right;
        width:20px;
        height: 20px;
    }

    .project-description .long-description .add-links .external-link-delete{
        background-image: url(../img/ui/link_attachment_delete.png);
        float: right;
        width:20px;
        margin-right: 3px;
        margin-left: 3px;
        height: 20px;
    }

    .project-description .long-description .external-link-wrapper{
        clear: both;
    }

    .project-description .long-description .button-group{
        background: #ffffff url(../img/ui/submit_area.png);
        width: 700px;
        height: 41px;
        z-index:1;
        margin-left:-1px;
        float: none;
        padding-left:0;
        padding-top: 10px;
        text-align: right;
    }

    .project-description .long-description .button-group.no-attachments {
        background-image: url(../img/ui/project-description_bottom.png);
        height: 15px;
        padding: 0;
    }

    .project-description .long-description .button-group button{
        margin-right: 10px;
    }

    .project-description-left .long-description .button-group {
        margin-left: -10px !important;
    }

    .project-description .long-description .add-attachments {
        margin-bottom: 20px;
    }

    .project-description .long-description .add-attachments p,
    .project-description .long-description .add-links p{
        font-size: 12px;
        line-height: 15px;
        clear: none;
        float: none;
        padding-bottom: 20px;
    }

.button-group {
    position: relative;
}

.button-download-comment,
.button-create-project,
.empty-project-list .button-create-project,
#navigation .button-create-project,
#navigation .button-save-project,
#navigation .button-download-project,
#navigation .button-cancel-project {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 136px;
    height: 28px;
    line-height: 28px;
    text-align: right;
    padding-right: 10px;
    background-image: url(../img/ui/button_top.png);
    font: 15px/28px 'SourceSans3-Medium', arial, sans-serif;
}

.button-download-comment:hover,
.button-create-project:hover,
.empty-project-list .button-create-project:hover,
#navigation .button-create-project:hover,
#navigation .button-save-project:hover,
#navigation .button-download-project:hover,
#navigation .button-cancel-project:hover {
    background-image: url(../img/ui/button_top_hover.png);
}

#navigation .button-download-project {
    right: 170px;

}

a.button-download-comment {
    color: #ffffff;
    height: 31px;
    padding-right: 10px;
    text-align: center;
    width: 150px;
}

a.button-download-comment:hover {
    text-decoration: none;
}

input[type=submit].button-create-project{
    position: relative;
    font-family: 'SourceSans3-Medium';
}

.empty-project-list .button-create-project{
    position: absolute;
    width: 140px;
    height: 30px;
    color: #fff;
    line-height: 30px;
    left: 0;
    top: 50px;
}

.empty-project-list{
    position: relative;
    right: none;
    left: none;
    margin-left: 230px;
    margin-top: 30px;
    height: 70px;
}
.empty-project-list .button-create-project span,
#navigation .button-create-project span,
#navigation .button-create-project span{
    background-image: url(../img/ui/icon_add_project.png);
    position: absolute;
    width: 11px;
    height: 12px;
    left: 0px;
    margin-top: 8px;
    left: 10px;
}

#navigation .button-cancel-project {
    right: 10px;
}
#navigation .button-cancel-project span{
    background-image: url(../img/ui/icon_cancel_project.png);
    position: absolute;
    width: 12px;
    height: 15px;
    left: 0px;
    margin-top: 6px;
    left: 10px;
}

#navigation .button-save-project {
    right: 170px;
}

#navigation .button-save-project span{
    background-image: url(../img/ui/icon_save_project.png);
    position: absolute;
    width: 16px;
    height: 15px;
    left: 0px;
    margin-top: 6px;
    left: 10px;
}

.button-download-comment {
    right: 10px;
}

#navigation .button-download-project span{
    position: absolute;
    width: 11px;
    height: 16px;
    margin-top: 6px;
    left: 10px;
    background: url(../img/ui/icon_download_project.png) 0 -1px;
}

#id_rating_filter{
    display: none;
}
.rating_filter_options {
    width: 118px;
    height: 178px;
    position: absolute;
    border: 1px solid #c8c8c8;
    top: 40px;
    left: 420px;
    z-index: 3;
}

.rating_filter_options {
    background-color: #fff;
    display: none;
}

.rating_filter_options ul{
    margin: 0;
    padding: 0;
}

.rating_filter_options ul li:hover{
    background-color: #666666;
}


.rating_filter_options a{
    background-image:url(../img/ui/rating_filter.png);
    display: block;
    height: 30px;
}

.rating_filter_options a.no-stars {
    background-image: none;
    color: black;
    padding-left: 7px;
}

.rating_filter_options a.no-stars:hover {
    text-decoration: none;
    color: white;
}

.rating_filter_options a.star1{
    background-position: 0px 0px;
}

.rating_filter_options a.star2{
    background-position: 0px -30px;
}

.rating_filter_options a.star3{
    background-position: 0px -60px;
}

.rating_filter_options a.star4{
    background-position: 0px -90px;
}

.rating_filter_options a.star5{
    background-position: 0px -120px;
}

.print-icon {

    width: 16px;
    height: 14px;
    right: 20px;
    top: 20px;
    position: absolute;
    background-image:url(../img/ui/icon_print.png);
    text-indent: -9000px;
}

button[type=reset].fancybox-closebutton,
button[type=submit].fancybox-closebutton,
button[type=submit].fancybox-submitbutton,
input[type=submit].fancybox-submitbutton,
input[type=reset].fancybox-closebutton,
input[type=submit].fancybox-closebutton {
    background: none;
    border-radius: 0;
    border:0;
    font-size: 15px;
    height: 31px;
    font: 15px/21px 'SourceSans3-Regular', arial, sans-serif;
}

button[type=reset].fancybox-closebutton,
input[type=reset].fancybox-closebutton{
    background-image:url(../img/ui/fancybutton_reset.png);
}

button[type=reset].fancybox-closebutton.hover,
input[type=reset].fancybox-closebutton.hover{
    background-image:url(../img/ui/fancybutton_reset_hover.png);
}


button[type=submit].fancybox-submitbutton,
button[type=submit].fancybox-closebutton,
input[type=submit].fancybox-submitbutton,
input[type=submit].fancybox-closebutton{
    background-image:url(../img/ui/fancybutton_submit.png);
    color: #ffffff;
}

button[type=submit].fancybox-submitbutton.hover,
button[type=submit].fancybox-closebutton.hover,
input[type=submit].fancybox-submitbutton.hover,
input[type=submit].fancybox-closebutton.hover{
    background-image:url(../img/ui/fancybutton_submit_hover.png);
    color: #ffffff;
}


.fancybox-inner input[type=text]{
    background-image:url(../img/ui/fancybox_input.png);
    border:0;
    border-radius:0;
    width: 253px;
    height: 27px;
}

.general-project-information input[type=submit]{
    height: 32px;
    width: 152px;
    right: 0px;
    text-align: center;
}

.project-data input[type=submit].project-save{
    float: none !important;
    margin-right: 10px;
    display: inline-block !important;
}

.project-list tr:hover td{
    background-color: #e9e9e9;
}

.project-list tr:hover td.active{
    background-color: #dedede;
}

.project-list table a:hover{
    text-decoration: underline;
}

#project-list .rating-stars img{
    top:0px;
}

.attachment-filename,
.upload-percent{
    float: left;
    line-height: 27px;
}

.attachment-filename a {
    margin-left: 0 !important;
/*
    width: 350px;
    overflow: hidden;
    display: block;
*/
}

.upload-percent{
    position: absolute;
    right: 265px;
}
.attachment-wrapper{
    clear:both !important;
    font-size: 15px !important;
    position: relative;
}

.attachment-wrapper progress{
    position: absolute;
    right: 25px;
    appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}

a.add-attachment{
    margin-bottom: 10px !important;
}

h2.own-projects {
    display: block;
    clear: both;
    border-bottom: 1px solid #4b4b4b;
    padding:0;
    margin: 0 20px;
    font-size: 15px;
    text-transform: none;
    margin-bottom: 20px;
    line-height: 30px;
    color: #4b4b4b;
}

.project-list #project-list .rating-stars .measure,
.project-list #secondary-project-list .rating-stars .measure{
    background-color: transparent;
    position: static;
    display:inline-block;
    height: 30px;
    width:118px;
}

.project-list #secondary-project-list .rating-stars .stars1,
.project-list #project-list .rating-stars .stars1{
    background-image:url(../img/ui/rating_filter_transparent.png);
    background-position: 0 0 !important;
}

.project-list #secondary-project-list .rating-stars .stars2,
.project-list #project-list .rating-stars .stars2{
    background-image:url(../img/ui/rating_filter_transparent.png);
    background-position: 0 -30px !important;
}

.project-list #secondary-project-list .rating-stars .stars3,
.project-list #project-list .rating-stars .stars3{
    background-image:url(../img/ui/rating_filter_transparent.png);
    background-position: 0 -60px !important;
}

.project-list #secondary-project-list .rating-stars .stars4,
.project-list #project-list .rating-stars .stars4{
    background-image:url(../img/ui/rating_filter_transparent.png);
    background-position: 0 -90px !important;
}

.project-list #secondary-project-list .rating-stars .stars5,
.project-list #project-list .rating-stars .stars5{
    background-image:url(../img/ui/rating_filter_transparent.png);
    background-position: 0 -120px !important;
}

div.popup-messages {
    display: none;
}

tr.being-edited td {
    background: url(../img/being_edited-overlay.png);
    cursor: default !important;
}

tr.being-edited td * {
    opacity: 0.5;
}

tr.being-edited td.project-id p {
    position: relative;
}
tr.being-edited td.project-id a {
    cursor: default !important;
}

tr.being-edited td.project-id a:hover {
    text-decoration: none;
}

tr.being-edited td.project-id img {
    position: absolute;
    left: 15px;
    top: 35px; /* Locked icon */
    opacity: 1;
}

tr.being-edited td.project-image {
    background-position: 4px 0;
}
tr.being-edited td.project-title {

}
tr.being-edited td.project-rating {
    background-position: 3px 0;
}
tr.being-edited td.project-status {
    background-position: 1px 0;
}
tr.being-edited td.project-button {

}

fieldset.bottom-padding {
    padding-bottom: 15px;
}

progress {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #fff;
    border-radius: 50px;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
    background: #9c9c9c;
}

progress[role]:after {
    background-image: none; /* removes default background from polyfill */
}

progress.complete {
    background-color: #53b224;
}

progress::-moz-progress-bar {
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 2px;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
    background: #4f4f4f;
}

progress.complete::-moz-progress-bar {
    background-color: #53b224;
}

#navigation > ul > li {
    padding-top: 9px;
}

input::-webkit-input-placeholder {
    padding-top: 2px;
    line-height: 1em;
    font-size: 15px;
}

select.project-filter {
    top: 10px !important;
}

#id_status_filter {
    width: 140px;
}

.custom-selectbox-statusfilter {
    background-image: url(../img/ui/selectbox_custom_140px.png);
    width: 130px;
}

#fancyalert-ok {
    float: right;
}


#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;
}
