/**
 * NOTE:
 *   `/selector' is hack for IE6/7. It is not valid, but DON'T fix it.
 */

div.form-item {
    margin: 0;
}
.loading {
    display: inline-block; width: 50%; padding: 2px 16px; margin: 3px;
    background: url(images/ajax-loader.gif) no-repeat;
}

.ares-index-menu {
    margin: 1em;
}

.ares-table {
    word-wrap: break-word;
}
.ares-form,
#center .ares-form {
    margin: 0;
}
.ares-form table {
    word-wrap: break-word; margin: 0;
    /* table-layout: fixed; */
}
.ares-form fieldset table{
    width: 98%;
}
.ares-form table.table-form {
    margin: 0;
    table-layout: fixed;
}
.ares-form .table-form tbody {
    border: none;
}
.ares-form .table-form tr {
    line-height: 1em;
}
.ares-form .table-form td {
    padding: 0 2px 0 0;
}
.ares-form .table-form th {
    background-color: #dfdfdf; border: solid white 1px; text-align: center;
}
.ares-form .table-form .form-text,
.ares-form .table-form .form-textarea,
.ares-form .table-form .form-select {
    margin: 1px 0; display: inline-block; /display: inline; /zoom: 1;
}
.ares-form .table-form .view-mode-field {
    border:solid #efefef 1px; line-height: 1.4em;
}
.ares-form .table-form .description {
    margin: 0;
}
.ares-form .auto-grid .form-text,
.ares-form .auto-grid .form-textarea,
.ares-form .auto-grid .form-select,
.ares-form .auto-grid .view-mode-field {
    width: 100%;
}
.ares-form table.fixed-grid    { width: auto; }
.ares-form table.fixed-grid th { width: 15em; }

.ares-form .form-item label {
    display: inline-block; width: 15em; text-align: center; vertical-align: top; white-space: normal; background-color: #DFDFDF;
}
.ares-form label.option { 
    background-color: transparent; border: none; width: auto; vertical-align: middle;
}
.ares-form fieldset {
    margin: 0; padding: 4px;
}
.ares-form fieldset.field-group {
    background: none; margin: 0; padding: 0; border: none;
}
.ares-form .field-group .form-item,
.ares-form .form-radios,
.ares-form .form-radios .form-item {
    display: inline-block; /display: inline; /zoom:1;
    vertical-align: middle;
}
.ares-form .form-required {
    color: red;
}
.ares-form .view-mode-field {
    display: inline-block; /display:inline; /zoom:1; 
    border-bottom:solid #efefef 1px;
    min-width: 5em;
}
.ares-form .main-author {
    color: green;
}

.ares-form .empty-fname {
    color: orangered;
}

.ares-form table tr.selected td {
    background-color: transparent;
    color: black; font-weight: bold;
}

.ares-form table td .ares-form-warning {
    background-color: #FFFFDD;
}

.ares-form table td .ares-form-changed {
    background-color: #FFEFD5;
}

.ares-front-anonymous {
    margin: 0 auto; width: 40em;
}
.ares-front-anonymous h2,
.ares-front .shibboleth-link {
    text-align: center;
}
.ares-front .shibboleth-link a {
    display: inline-block; color: black; background-color: #efefef; width: 8em;
    border: solid black 1px; text-align: center; margin: 0 2em; padding: 2px 1em;
}
.ares-front .shibboleth-link a:hover {
    color:black; background-color: #e0e0e0;
}
.ares-front .language-selector {
    text-align: center; margin-top: 2em;
}

.ares-achievement-type-selector li {
    list-style-image: none; list-style-type: none; background: none;
}

.ares-achievement-type-selector a {
    display: inline-block; color: black; background-color: #efefef; width: 8.5em;
    border: solid black 1px; text-align: center;
}

.block #ares-ui-switch-user-form select {
    width: 180px;
}
.block #ares-ui-switch-user-form .swbutton a {
    display: inline-block; width: 172px; padding: 2px 3px;
    border: solid #aaaaaa 1px; text-align: center; cursor: pointer;
    background-color: #dddddd; text-decoration: none;
}
.block #ares-ui-switch-user-form .swbutton a:hover {
    background-color: #cccccc;
}
.block #ares-ui-switch-user-form .current-user {
  display: inline-block; width: 172px; padding: 1px 3px;
  border: solid #aaaaaa 1px; text-align: center;
}
.block-atr .item-count {
    text-align: right;
}

.ares-form .label-delete a {
    background: url(images/recycle.png) no-repeat; cursor: pointer;
    width: 3em; height: 0; padding-top:18px; overflow: hidden; display: inline-block;
}
.ares-form .disabled .label-delete a {
    background-image: none; height: 18px; padding: 0; width: auto;
}
.ares-form .disabled {
    background-color: #cccccc;
}
.ares-form .label-arrow a {
    background: url(images/right-arrow.png) no-repeat; cursor: pointer;
    width: 20px; height: 0; padding-top:20px; overflow: hidden; display: inline-block;    
}

.ares-form textarea {
  white-space: pre-wrap;
}

.ares-statistics h3 {
    font-weight: bold; border-top: solid #aaa 1px;
    padding-top: 10px; margin-top: 16px;
}
.ares-statistics table {
    width: 50%; margin-left: 2em;
}
.ares-statistics td {
    width: 48%;
}

h3.ares-section-separator {
    border-top: solid #aaa 1px; padding-top: 10px; margin-top: 16px;
}

#ares-user-unconfirmed-list tr {
    border-bottom: solid #D3E7F4 1px;
}

#ares-user-unconfirmed-list-form .achievement-subclass select {
  width: 180px;
}

#ares-user-unconfirmed-list-form .field-group div {
  margin-right: 16px;
}

#ares-achievement-diff table { table-layout: fixed; }

th { min-width: 4em; }

#public-tab dl.achievement {
  display: inline-block; border: none;
}
#public-tab dl.achievement dt {
  border: none;
}

dl.achievement {
  margin: 0; border-bottom: solid #ccc 1px;
}
dl.achievement dt {
  margin: 0; font-weight: bold; border-top: solid #ccc 1px;
}
dl.achievement dd {
  margin: 0;
}
dl.achievement dd.abstract {
  margin-left: 1em;
}

#atr-researcher-basic-config-form h4 {
  font-size: 1em;
}
#atr-researcher-basic-config-form label {
  font-weight: normal;
}
#atr-researcher-basic-config-form .input-column {
  position: relative;
}
#atr-researcher-basic-config-form .form-item-achievement-rm-pub {
  width:48%;
}
#atr-researcher-basic-config-form .hint-column {
  position: absolute;
  top: 0; right: 0;
  width: 48%;
}
#atr-researcher-basic-config-form .disabled {
  color: #ccc;
  background-color: transparent;
}

#ares-user-achievement-filter-form fieldset {
  margin: 0; padding: 2px 8px;
}
#ares-user-achievement-filter-form div,
#ares-user-register-form div {
  display: inline;
}

#ares-ui-devel-switch-user-form {
  height: 3em; overflow: hidden;
  padding-bottom: 3px; border-bottom: dotted #ccc 2px;
}

#ares-ui-devel-switch-user-form:hover {
  height: auto; border-bottom: none;
}

#atr-researcher-basic-information fieldset {
  position: relative;
  border: none;
}
#atr-researcher-basic-information fieldset:after {
  content: ""; display: block; clear: both;
}
#atr-researcher-basic-information fieldset > legend {
  float: left; width: 100px;
  color: #494949; font-weight: bold;
}
#atr-researcher-basic-information .fieldset-wrapper > table {
  width: 82%; margin-left: 120px;
}
#atr-researcher-basic-information .fieldset-wrapper > table thead {
  display: none;
}
#atr-researcher-basic-information fieldset table label {
  width: 10em; word-wrap: break-word; word-break:break-all; white-space: normal;
}
#atr-researcher-basic-information label.option {
  vertical-align: middle; width: auto;
}


#atr-researcher-form {
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: solid #D9EAF5 1px;
}
#atr-researcher-form table {
  table-layout: auto;
}
#atr-researcher-form tbody {
  border-top: none;
}
#atr-researcher-form .name-jre{
  font-size: 160%;
}
#atr-researcher-form select {
  width: 120px;
}
#atr-researcher-form .form-item {
  display: inline-block;
}
#atr-researcher-form th {
  width: 120px; background-color: white; text-align: left; border: none;
}
#atr-researcher-form #researcher-picture {
  text-align: center;
}
#researcher-picture img {
  max-width: 120px; max-height: 160px;
}
#atr-researcher-form #misc-rm-pub-group label {
  vertical-align: middle; width: auto; font-weight: normal; margin: 0 4px;
}
#atr-researcher-form #misc-rm-pub-group select {
  margin-right: 10px;
}

#atr-researcher-profile-form th {
  vertical-align: top; width: 120px;
  background-color: white;
}

#atr-researcher-form .jscancel,
#atr-researcher-basic-config-form .jscancel,
#atr-researcher-addition-form .jscancel,
#atr-researcher-profile-form .jscancel {
  display: none;
}

#atr-list-settings-form {
  position: absolute;
  top: 0; right: 10px;
}

#atr-list-settings-form .form-item {
  display: inline;
}

table .cell5 { width: 5em; }
table .cell8 { width: 8em; }
table .cell10 { width: 10em; }

.ares-form .description {
    margin-left: 18em;
}

dl.researcher-info {
  list-style: none; margin: 0; padding: 0;
}
dl.researcher-info:after {
  content: ""; display: block; clear: both;
}
dl.researcher-info dt {
  margin: 0; width: 120px; float: left; font-weight: bold;
}
dl.researcher-info dd {
  margin: 0 0 5px 120px; padding: 2px;
  display: block;
}
dl.researcher-info ul li:nth-child(even) {
  background-color: #f8f8fa;
}
dl.researcher-info table { width: auto; margin: 0; border: hidden; }
dl.researcher-info tr    { background-color: white; }
dl.researcher-info td    { border-bottom: hidden; padding-left: 0; }
dl.researcher-info ul    { list-style-type: none; padding: 0; }
dl.researcher-info li    { background-image: none; padding: 3px; margin: 0; }
dl.researcher-info em    { font-weight: bold; font-style: normal; }

.researcher-info.extra-info dd { border: dashed #ccc 1px; min-height: 5em; }
#atr-researcher-view-form #researcher-picture { float: right; margin: 10px; width: 120px; }
#atr-researcher-view-form #researcher-last-updated { text-align: right; }
.js #atr-study-field-list { display: none; }

.achievement-list li { clear: both; }
.achievement-list .links { display: inline-block; float: right; }
.achievement-list .links a { display: inline-block; margin-left: 1em; }

#atr-study-field-list li.collapsed > ul { display:none; }
#atr-study-field-list li {
  margin: 0 0 0 1em; padding: 0;
  list-style-image: url("../../../../misc/menu-expanded.png");
  background-image: none;
}
#atr-study-field-list li.collapsed {
  margin: 0 0 0 1em; padding: 0;
  list-style-image: url("../../../../misc/menu-collapsed.png");
  background-image: none;
}

#ares-user-public-list-form label{
  width: auto;
}
#ares-user-public-list-form .no-order {
  background-color: #fff8f8; padding: 0 8px;
}

div.ares-indent {
  margin-left: 20px;
}

div.ares-indent ul {
  list-style-type: none !important;
}

div.ares-indent ul li {
  background: none !important;
  padding: 0 !important;
}

#ares-achievement-author-list tr.warning,
#ares-achievement-author-order tr.warning {
  background-color: #faedf5;
}

#ares-achievement-export #edit-did {
  margin-right: -20px;
  width: 300px;
}
#ares-achievement-export .form-item-did {
  margin-right: 20px;
}
#ares-achievement-export .loading {
  width: 20px; height: 20px; vertical-align: middle;
  margin: 0; padding: 0;
}

.ares-rmapv2-status-summary {
  vertical-align: top;
  display:inline-block;
  color: orange;
}
.ares-rmapv2-status-summary.success {
  color: green;
}
.ares-rmapv2-status-summary.warning {
  color: red;
}
.ares-rmapv2-status-summary.not-available {
  color: gray;
}
#ares-rmapv2-result-list-download-options-form label {
  vertical-align: middle;
}
