
div.field-mandatory,
td.field-mandatory input,
td.field-mandatory label,
td.field-mandatory select,
div.field-error,
td.field-error input,
td.field-error label,
td.field-error select {
    background-color: #FDBE4A;
}

svg {
    display: block;
    margin-top: 0.5em;
}

.ui-widget {
    font-size: inherit;
    font-family: inherit; // avoid small fonts from jqueryui
}

table.email-table {
    border-collapse: collapse;
}

td.email-table {
    vertical-align: top;
    border: 1px solid black;
}

div.message {
    padding: 1em;
    margin-bottom: 1em;
}

div.session-message {
    padding: 1em;
    margin-bottom: 1em;
}

.pms-current-session {
    font-weight: bold;
}

div.countdown {
    position: absolute;
    top: 1em;
    left: 1em;
}

// for Pages

.view_OmsCorePage.view > table > tbody > tr > td {
    padding-top: .5em;
    padding-bottom: .5em;
}

// for SelectAuthors

label[for=authorFilter] {
    font-weight: normal;
}

form.form-PmsOperSelectAuthors div.edit-item {
    display: inline;
}

//

input[type="checkbox"] {
    margin: 0 0.3em;
}

div.button-group {
    margin-top: 0.5em;
    margin-bottom: 0.3em;
}

div.pms-frame,
div.proposal-frame,
div.rounds-frame {
    /*border: 1px solid black;*/
    padding: 0.5em;
}

div.page-title.PmsCoreRatingCard,
div.view-item.PmsCoreRatingCard_introducer,
div.edit-item.PmsCoreRatingCard_introducer,
div.view-item.PmsCoreRatingCard_countryCategory,
div.edit-item.PmsCoreRatingCard_countryCategory {
    display: inline;
}
/* and */
div.view-item.PmsCoreRatingCard_introducer,
div.edit-item.PmsCoreRatingCard_introducer,
div.view-item.PmsCoreRatingCard_countryCategory,
div.edit-item.PmsCoreRatingCard_countryCategory {
    margin-left: 6em;
}

div.page-title > div.view-item.PmsCoreProposal_id,
div.page-title > div.edit-item.PmsCoreProposal_id {
    display: inline;
}

div.view-item.view-trackFractions > div.view-item,
div.view-item.view-trackFractions > div.edit-item {
    display: inline;
}

div.view-item.PmsCoreProposal_title {
    font-size: larger;
}

.view_PmsCoreRatingCard td.CoreKernelTextType,
.view_PmsCoreRatingCard td.CoreKernelStringType {
    /* inside table, this works only if table-layout is fixed */
    overflow: hidden;
    text-overflow: ellipsis; /* this works with IE, Safari and Chrome */
    white-space: nowrap;
    -moz-binding: url('/ellipsis.xml#ellipsis'); /* this is a Firefox hack */
}

.proposal-header {
    font-size: large;
    text-align: center;
    padding: .2em 0;
} .proposal-header.proposal-not-submitted {
    background-color: #FDBE4A; /* orange; */
} .proposal-header.proposal-submitted {
    background-color: lightgreen;
}

.PmsCoreProposal_proposalPis {
    white-space: nowrap;
}

.PmsCoreProposal_category div.sub-category {
    margin-left: 1em;
}

.pms-introducer td.PmsCoreAssignment_proposal {
    font-weight: bold;
    font-size: 110%;
}

span.pms-warning-color,
div.pms-warning-color {
    background-color: #FDBE4A; /* orange; */
}

span.pms-pending-author,
div.main span.pms-pending-author a {
    color: #E38502; /* orange; */
} span.pms-pending-author-text {
    background-color: #E38502; /* orange; */
}

.view table.view > tbody > tr.pms-conflict-author, /* .view is needed to protected this rule from others settings "background-color" with selector 'table.view > tbody > tr.*" */
span.pms-conflict-author {
    background-color: #F88;
}

.view table.view > tbody > tr.pms-conflict-institute,
span.pms-conflict-institute {
    background-color: #FF8;
}

.view table.view > tbody > tr.pms-conflict-optional,
span.pms-conflict-optional {
    background-color: #6FF;
}

.view tbody tr.pms-reference-line {
    background-color: #6FF;
}

.view_PmsCoreAssignment td {
    vertical-align: top;
}

div.PmsCoreViewSetups tbody {
    vertical-align: top;
}

.view form {
    margin-top: 0;
    margin-bottom: 0;
}

div.view_PmsCoreRatingCard table {
    table-layout: fixed;
    /* width:100%; */
}

div.view_PmsCoreProposal table {
    /* width: 100%; */
}
/* except */
div.edit-item div.view_PmsCoreProposal table {
    width: auto;
}

div.view_PmsCoreProposal th.PmsCoreProposal_title {
    /* width: 50%; */
}

.view > thead > tr > th {
    padding: 0 0.4em;
}

.view div.view-buttons {
    padding: 0.1em;
}

td.PmsCoreProposal {
    white-space: nowrap;
}

.view .PmsCoreProposal_id {
    white-space: nowrap;
}

.view .PmsCoreProposal_session {
    white-space: nowrap;
}

.view_ShowAllComments pre,
td.PmsCoreAssignment_comments pre,
div.view-item pre,
div.dummy {
    font-family: courier;
    font-size: 90%;
    white-space: pre-wrap;
} .view_ShowAllComments pre {
    margin: 0;
}

/*
textarea ~ .view-item label, textarea ~ .edit-item label {
*/
label ~ textarea  {
    display:block;
}

textarea {
    box-sizing: border-box;
    width: 100%;
}

div.view.view_ShowFinalGrades {
    padding: 0.5em;
} div.view.view_ShowFinalGrades table {
    width: 100%;
    padding: 0 0.5em;
} div.view.view_ShowFinalGrades table td {
    vertical-align: initial;
    white-space: nowrap;
}

div.view.view_PmsCoreAssignment table {
    width: 100%;
}

div.view.view_PmsCoreAssignment th.PmsCoreAssignment_proposal,
div.view.view_PmsCoreAssignment th.PmsCoreAssignment_assessor,
div.view.view_PmsCoreAssignment th.PmsCoreAssignment_computedMark,
div.view.view_PmsCoreAssignment th.PmsCoreAssignment_mark,
div.view.view_PmsCoreAssignment th.PmsCoreAssignment__edit,
div.view.view_PmsCoreAssignment th.PmsCoreAssignment__edit-delete,
div.dummy {
    width: 1%;
}

td.PmsCoreRatingCard_round0.CoreKernelIntType,
td.PmsCoreRatingCard_round1.CoreKernelIntType,
td.PmsCoreRatingCard_round2.CoreKernelIntType,
td.PmsCoreRatingCard_final.CoreKernelIntType {
    text-align: left;
}

td.PmsCoreRatingCard_recTime.CoreKernelStringType,
td.PmsCoreRatingCard_correctedTime.CoreKernelStringType,
td.dummy {
    text-align: right;
}

td.PmsCoreSource_ra, td.PmsCoreSource_dec {
    text-align: right;
}

td.PmsPdbMosaicOffset_dx input, td.PmsPdbMosaicOffset_dy input,
td.PmsPdbMosaicOffset_dx, td.PmsPdbMosaicOffset_dy,
td.dummy {
    text-align: right;
}

td > img {
    vertical-align:text-top;
}

td.PmsCoreTechSheet_checked {
    padding: 0.3em;
}

table.PmsPdbPolyfixTechSheet_configuration-resolutions td {
    padding-right: 1em;
}

td.view-assignmentCount {
    text-align: right;
}

td.PmsCoreRatingCard_introducer > select {
    width: 100%;
}

