/*
 This file is part of Invenio.
 Copyright (C) 2011 CERN.

 Invenio is free software; you can redistribute it and / or
 modify it under the terms of the GNU General Public License as
 published by the Free Software Foundation; either version 2 of the
 License, or (at your option) any later version.

 Invenio is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with Invenio; if not, write to the Free Software Foundation, Inc.,
 59 Temple Place, Suite 330, Boston, MA 02111 - 1307, USA.
*/

#profile_search {
    margin-top: 20px;
}

#person_menu {
    margin-bottom: 10px;
}

#bai_content {
    font-size: 14px;
}

#aid_person {
    font-size: 12px;
}

#aid_person img {
    background: none repeat scroll 0% 0% transparent;
    border: none;
}

#aid_person hr {
    margin: 2em auto;
    border: 1px solid #eee;
    width: 90%;
}

#aid_message-overlay {
    font-family:Arial,Helvetica,sans-serif;
    position:fixed;
    top:0px;
    left:0px;
    width:100%;
    z-index:105;
    color:#333;
    text-align:center;
    font-weight:bold;
    font-size:100%;
    color:white;
    padding:5px 0px 5px 0px;
    border:1px solid #99cc33;
    background:#c2e085;
    vertical-align:middle;
}

#aid_message-overlay span {
    color: #333;
    text-align: center;
    width: 95%;
    float:left;
}

.aid_close-notify {
    white-space: nowrap;
    float:right;
    margin-right:10px;
    color:#99cc33;
    background:#DDFF97;
    text-decoration:none;
    border:1px #fff solid;
    padding-left:3px;
    padding-right:3px
}

.aid_close-notify a {
    color: #333;
}

#aid_moreinfo {
    background: inherit;/*#F0F0F6;*/
    margin: 0px;
    margin-top: 15px;
    padding: 0px;
    text-align: left;
}

#aid_moreinfo .record_body {
    font-size:9pt;
}

#aid_moreinfo .titlelink {
    font-size:9pt;
}

#aid_moreinfo .authorlink {
    font-size:9pt;
}

#aid_moreinfo ul li {
    margin-top: 0px;
}

#aid_result0 {
    background: #fff;
    margin: 5px;
    padding: 20px 15px;
}

#aid_result1 {
    background: #F0F0F6;
    margin: 5px;
    padding: 20px 15px;
}

#aid_moreinfolink {
    font-size:12px;
    text-decoration: none;
}

#aid_moreinfolink:visited {
    color: #00c;
}

#aid_message-ribbon {
    border:solid 1px #ccc;
    background:#ABC8E2; margin: 10px 0;
  	padding:10px;
}

#aid_menu {
    border-bottom: 2px solid #3366CC;
    clear: both;
    height: 1.4em;
    padding: 0 0 4px;
    position: relative;
    width: 100%;
    z-index: 5;
    line-height: 2em;
    font-size: 14px;
}

#aid_menu ul {
    list-style: none outside none;
    padding: 0 0 0 4px;
}

#aid_menu li {
    display: block;
    float: left;
    height: 100%;
    margin-right: 10px;
    text-decoration: none;
}

#aid_menu a {
    text-decoration: None;
    color: #333;
}

#aid_menu a:active{
    text-decoration: None;
    color: #333;
}

#aid_menu a:hover{
    text-decoration: underline;
    color: #bbb;
}

#aid_menu a:visited{
    text-decoration: None;
    color: #333;
}

#aid_person_names {
    margin: 35px 10px;
}

#aid_checkout_teaser {
    color:#009900;
    font-weight:bold;
    font-size:1.2em;
}

#aid_person_names ul {
    margin: 0px;
    list-style: none outside none;
}

#aid_person_names li {
    height: 100%;
    margin: 0px;
    text-decoration: none;
}

.aid_lowlight_text {
    color: #CCC;
}

#aid_status_details {
    display:inline;
    line-height: 1.2em;
}

#aid_status_details a {
    text-decoration: None;
    color: #333;
}

#aid_status_details a:active{
    text-decoration: None;
    color: #333;
}

#aid_status_details a:hover{
    text-decoration: underline;
    color: #bbb;
}

#aid_status_details a:visited{
    text-decoration: None;
    color: #333;
}

#aid_status_details img {
    margin-left: 4px;
    margin-right: 4px;
}

.aid_reclist_selector {
    text-align:left;
    padding-top: 10px;
}

#aid_status_details a.aid_grey {
    color: #ccc;
}

.aid_reclist_buttons {
    padding-top: 10px;
    vertical-align:middle;
    padding-bottom: 15px;
}

.aid_review_rows {
    margin-left: 20px;
}

.aid_error_line {
    color:red;
}

.aid_result {
    /*position: relative;
    display: inline-block;
    width:1760px;*/
}

/* Hack for some UI Themes since not always are these 2 classes included */
.css_right {
	float: right;
}

.css_left {
	float: left;
}

.aid_btn_blue {
      background: white url('../img/aid_btn_blue.png') repeat-x top;
      border: 1px solid #0000FF;
      height: 25px;
      color: #ffffff !Important;
}

.aid_btn_blue:disabled {
      background: white url('../img/aid_btn_blue.png') repeat-x top;
      opacity: 0.5;
      border: 1px solid #0000FF;
      height: 25px;
      color: #ffffff;
}

.aid_btn_red {
      background: white url('../img/aid_btn_red.png') repeat-x top;
      border: 1px solid #FF0000;
      height: 25px;
      color: #ffffff;
}

.aid_btn_green {
      background: white url('../img/aid_btn_green.png') repeat-x top;
      border: 1px solid #018701;
      height: 25px;
      color: #ffffff;
}

/* Hack for the dataTables jQuery UI wrapper classes */
.dataTables_wrapper {
    clear: both;
    min-height: 190px;
    position: relative;
}

.paperstable {
    width: 100% !Important;
}

.reviewstable {
    width: 100% !Important;
}

/*#personHeaders {
    min-height: 20px;
    margin: 5px;
    padding: 5px 15px;
}

#personHeaders > div{
    float:left;
}

#personHeaders > div > span {
    font-size: 1.2em;
    font-weight: bold;
    color: #3366CC;
}*/

/*
 * Persons table
 */

#aid_search_bar {
    padding: 5px;
    margin-bottom: 10px;
    position: relative;
}

#personsTable {
    margin-top: 10px;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;

}

#personsTable th {
    /*text-align: center;*/
    line-height: 40px;
    padding-left: 10px;
}

#personsTable tr {
    height: 45px;
    text-align: left;
    padding-left: 10px;
}

#personsTable td {
    padding-left: 10px;
}

#personsTable tbody tr.even:hover, #personsTable tr.even td.highlighted {
    background-color: lightblue;
}

#personsTable tbody tr.odd:hover, #personsTable tr.odd td.highlighted {
    background-color: lightblue;
}

#personsTable tr.even:hover td.sorting_1 {
    background-color: lightblue;
}

#personsTable tr.odd:hover td.sorting_1 {
    background-color: lightblue;
}

.idsAssociationTable {
    width: 46%;
    height:20px;
    font-size: 12px;
    border-spacing: 0px;
}

.idsAssociationTable th {
    height: 36px;
    text-align: left;
    padding-left: 10px;
}

.idsAssociationTable td {
    height: 45px;
    padding-left: 10px;
}

#externalIDsTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

#externalIDsTable tr {
    height: 25px;
    text-align: left;
}

#externalIDsTable td {
    padding-left: 0px;
    word-wrap:break-word;
}

#new_person_link {
/*    background-color: lightgreen!important;
*/ /*   background: #65a9d7;
   background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7))!important;
   background: -webkit-linear-gradient(top, #3e779d, #65a9d7)!important;
   background: -moz-linear-gradient(top, #3e779d, #65a9d7)!important;
   background: -ms-linear-gradient(top, #3e779d, #65a9d7)!important;
   background: -o-linear-gradient(top, #3e779d, #65a9d7)!important;
    color: white!important;*/
    width: 200px;
    height: 32px;
    font-size: 1.2em;
    position: absolute;
    top: 12px;
    right: 5px;
    cursor: pointer;
}

#new_person_link a{
    text-decoration: none;
}

.confirmlink {
    text-decoration: none;
}

.searchresultsbox th {
    text-align: left;
}

#mergeList td {
    padding: 0 10 0 0;
}

#mergeList a {
    padding-right: 5px;
    text-decoration: none
}

#mergeList a:hover {
    text-decoration: underline;
}

#primaryProfileTd {
    font-size: 14px!important;
    font-style: italic!important;
    color: #646465!important;
}

.profileAvailable {
    color: green!important;
}

.profileNotAvailable {
    color: orange!important;
}

#mergeListButtonWrapper {
    position: relative;
    width: 310px;
    height: 30px;
}

#cancelMergeButton {
    position: absolute;
    top: 0px;
    left: 0px;
}

#mergeButton {
    position: absolute;
    top: 0px;
    right: 0px;
}

.setPrimaryProfile, .removeProfile{
    color: #3b5998!important;
    font-size: 14px!important;
}

#authorid_menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#authorid_menu li a {
    font-size: 11pt;
    text-decoration: none;
    font-weight: bold;
}

.hidden {
    display: none;
}

/* Default class for an overlay */
.ow-overlay {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

  background: #424242;
  opacity: 0.8;
}

/* Default class for both hidden overlay and modal window */
.ow-closed {
  display: none;
}

@media screen{
    /* Hides additional modal scrollbar when not using mobile version */
    .modal {
     overflow-y: auto;
    }

    /* Leaves the old scrollbar when modal is on, so that the view is not moving */
    /* Probably will be fixed in new version of Bootstrap */
    .modal-open {
     overflow: auto;
    }
}

.login-btns {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    width: 478px;
}


#login-prompt-buttons {
    margin: 25px;
}

.login-btn {
    float: left;
    margin: 1em;
}

.arxiv-button {
    background-color: #b31b1b !important;
    opacity: 0.6;
}

.guest-button {
    background-color: #AAAAAA !important;
    opacity: 0.6;

}

.guest-btn:hover {
    opacity: 1;
}

.arxiv-btn:hover {
    opacity: 1;
}

.guest-btn .innerText {
    color: #ffffff;
    font-size: 3em;
}

.guest-btn .headingText {
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: -1em;

}

.arxiv-btn .innerText {
    color: #ffffff;
    font-size: 3em;
}

.arxiv-btn .headingText {
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: -1em;

}

#ticket_status {
    z-index: 10;
}

.pid-list {
    list-style-type: none;
    margin: 0;
    padding: 0;

}

.pid-list li {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#results-frame {
    overflow: hidden;
    height: 100px;
}

.op-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    max-width: 60%;
    min-width: 940px;
}

.op-list li {
    margin: 0 0 10px 0;
    padding: 0;
    background-color: #FFFFFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.op-list .title {
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.op-list .action {
    /*width: 80px;*/
    height: 60px;
    line-height: 60px;
    /*padding: 5px 10px;*/
    /*float: left;*/
    text-align: center;
    font-weight: bold;
    /*margin-right: 10px;*/
    /*vertical-align: middle;*/

    -webkit-border-top-left-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.op-btn {
    /*width: 60px;*/
    /*margin-bottom: 10px;*/
}

.op-assign {
    background-color: #043C6B;
    color: #FFF;
}


.op-reject {
    background-color: #860049;
    color: #FFF;
}

.op-reset{
    background-color: #867b5e;
    color: #FFF;
}

.assign-text {
    margin-top: auto;
    margin-left: auto;
}

.pagebody {
    margin: 0;
    padding: 0;
}

.bsw .inspire-well {
    background-color: #ffffee;
}

.bai-box-title {
    color: #444444;
    margin-bottom: 10px;
    font-size: large;
    border-bottom: 1px solid #dddddd;
}

.bai-box-title span {
    padding-bottom: 5px;
    display: block;
}

.bai-box-content {
    padding-left: 5px;
    min-height: 32px;
    overflow: visible;
}

#pubs_list {
    min-height: 50px;
    max-height: 300px;
    overflow-y: auto;

}

ul.pub-tabs>li> a.pub-tab-active {
    color: #444444;
}

ul.pub-tabs, .pub-tabs li {
    margin: 0;
    padding: 0;
}

.pub-tabs li {
    display: inline-block;
    vertical-align: top;
    color: #999999;
    margin-right: 10px;
    padding-bottom: 5px;
}

.pub-tabs li.active {
    border-bottom: 5px solid #dddddd;
}

.pub-tabs a {
    background-color: transparent;
    text-decoration: none;
}

.pub-tabs a:link, .pub-tabs a:visited {
    color: #999999;
}

.pub-tabs a:hover {
    color: #777777;
    text-decoration: none;
}

.bsw .col-section-title {
  color: #999999;
  text-transform: uppercase;
}

.bsw .table>thead>tr>th.no-border,
.bsw .table>tbody>tr>th.no-border,
.bsw .table>tfoot>tr>th.no-border,
.bsw .table>thead>tr>td.no-border,
.bsw .table>tbody>tr>td.no-border,
.bsw .table>tfoot>tr>td.no-border {
    border-top: none;
}

#recomputeProfile-disabled {
    pointer-events: auto;
}

#hepSpin {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
}

#spinDiv {
    height: 100px;
}

#hepModalDismiss {
    float: left;
}

.form-group.required .control-label:after { 
   content:" *";
   color:#bd362f;
}
