li.search-result{
  border-bottom : none !important;
  margin        : 0 !important;
}
div.pr_publication_snippet{
  /*border-top  : 1px solid #d3d7d9;*/
  padding-top : 1em;
  padding-bottom : 0.25em;
  position    : relative;
  margin-bottom : 2em;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, .4);
  -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, .4);
  -moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, .4);
  box-sizing : border-box;
}
div.pr_publication_snippet:hover{ background-color:#F3F3F3; }
div.is_author{background-color : #f8f2dd;}
div.is_author:hover{background-color : #f3ecd4; }



/* publications title ======================================================== */
div.pr_publication_snippet h3{ font-size:1.2em; font-weight:bold; margin-left : 1em !important; margin-right : 1em !important}
div.pr_publication_snippet h3 img{ margin-right: 5px; }

/* publications flags ======================================================== */
div.pr_publication_snippet div.publication_flags_right{ position:absolute; top:-15px; right:25px; }
div.pr_publication_snippet div.publication_flags_left{ position:absolute;  top:-15px; left:10px; }
div.pr_publication_snippet div.publication_actions{ top:15px; display:none; }
div.pr_publication_snippet:hover div.publication_actions{  display:block;}

div.pr_publication_snippet div.publication_flags img{
  border                : 1px solid #d3d7d9;
  padding               : 4px;
  -webkit-border-radius : 12px;
  -moz-border-radius    : 12px;
  border-radius         : 12px;
  background-color      : #FFF;
  margin-left           : 5px;
}
div.pr_publication_snippet div.publication_flags a{ background : none !important; }


/* ============================================================================= */
/*    PUBLICATIONS SNIPPET                                                       */
/* ============================================================================= */
div.publication + div.publication,
li.search-result + li.search-result{
  border-top           : 1px dotted #CCC;
}
div.publication{
  position             : relative;
  padding              : 12px 0;
}
div.publication a{
  text-decoration      : none;
}
div.publication a:hover{
  text-decoration      : underline;
}
li.search-result .title{
  font-size            : 1em;
}

/* action buttons ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.publication ul.actions{
  position             : absolute;
  right                : 0;
  bottom               : 0.2em;
  display              : none;
}
div.publication:hover ul.actions{
  display              : block;
}
div.publication ul.actions img{
  border                : 1px solid #d3d7d9;
  padding               : 4px;
  border-radius         : 12px;
  margin-left           : 0;
  background-color      : #F7F7F7;
}

/* data ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.publication span.title{
  line-height          : 20px;
  padding-top          : 2px;
  padding-bottom       : 2px;
  font-weight          : bold;
}

div.publication span.additional-data{
  font-style           : italic;
}
.open-access{
  background-image     : url('../images/open.png');
}
.protected-access {
  background-image     : url('../images/protected.png');
}
.open-access, .protected-access {
  background-position  : center left;
  background-repeat    : no-repeat;
}
.open-access.title,
.protected-access.title{
  padding-left         : 16px;
}
span.authors{
  display              : block;
}
span.contributor a{
  color                : #444;
}
span.authors::before{
  content              : "By : ";
  font-weight          : bold;
}
span.contributor + span.contributor::before{
  content              : " ; ";
}

span.contributor span.orcid{
  display             : inline-block;
  padding-left        : 20px;
  background          : url('https://orcid.org/sites/default/files/images/orcid_16x16.png') center left no-repeat;
  font-family         : "Courier New";
  font-size           : 0.9em;
  height              : 16px;
  margin-left         : 4px;
}
span.contributor span.orcid a{
  color               : #A8000C;
  text-decoration     : none !important;
}
span.contributor span.orcid a:hover{
  text-decoration     : underline !important;
}
.publication-metadata{
  margin-bottom       : 1em;
}
p.publication-metadata{
  text-align          : justify;
}


/* ~~ TABS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#publication-tabs .ui-tabs{
  padding                 : 0;
}
#publication-tabs .ui-tabs-nav li{
  margin-right            : 4px;
  border-top-left-radius  : 0.5em;
  border-top-right-radius : 0.5em;
}
#publication-tabs .ui-widget-header{
  border-top              : none;
  border-left             : none;
  border-right            : none;
  border-bottom           : 1px solid #AAA;
  background              : #FFF;
}
#publication-tabs.ui-widget-content{
  border                  : none;
  background              : #FFF;
}
#publication-tabs .ui-tabs-panel{
  border                  : none;
  background-color        : #FFF !important;
}
#publication-tabs .ui-tabs-anchor{
  text-transform          : none;
  font-weight             : normal;
  color                   : #A8000C;
}
#publication-tabs .ui-state-active, #publication-tabs .ui-state-default{
  background              : #FFF !important;
}
#publication-tabs .ui-state-default{
  border-color            : #AAA;
}
#publication-tabs .ui-state-active{
  border-bottom-color     : #FFF;
}
#publication-tabs .ui-state-active a{
  background-color        : #FFF !important;
  border-top-left-radius  : 0.5em;
  border-top-right-radius : 0.5em;
}
#publication-tabs.ui-tabs .ui-tabs-panel{
  margin                  : 1em 0;
}


/* ~~ METADATA TABLE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.publication-metadata tbody, .publication-metadata tr{
  border                  : none;
}
.publication-metadata th{
  white-space             : nowrap;
  text-align              : right;
}
.publication-metadata th::after{
  content                 : " : ";
}
.publication-metadata ul{
  list-style-type         : none;
  margin                  : 0 !important;
  padding                 : 0 !important;
}
.publication-metadata ul span{
  color                   : #999;
  font-weight             : normal;
  font-style              : italic;
  padding-left            : 1em;
}


/* ~~ DOWNLOAD FILE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.datastream-small{
  padding-left            : 10px;
  border-left             : 2px solid #CCC;
  margin-bottom           : 15px;
}
.datastream-small:hover{
  background-color        : #F5F5F5;
}

.datastream-small a{
  font-weight             : bold;
  text-transform          : uppercase;
}
.datastream-small label{
  font-size               : 0.8em;
}
.datastream-small span.datastream-version{
  margin-left: 1.5em;
  color: #999;
}
.datastream-small ul{
  list-style              : none;
  margin                  : 0 !important;
  padding                 : 0 0 0 16px !important;
}
.datastream-small ul li{
  display                 : inline;
  padding-right           : 5px;
  border-right            : 1px solid #CCC;
  font-size               : 0.8em;
}
.datastream-small ul li.access-cell{
  font-weight             : bold;
}
.datastream-small ul.open-access li.access-cell{
  color                   : #5f821f;
}
.datastream-small ul.protected-access li.access-cell{
  color                   : #888;
}
.datastream-small ul.embargo-access li.access-cell{
  color                   : orange;
}
.datastream-small ul.restricted-access li.access-cell{
  color                   : red;
}

/* ============================================================================= */
/*    PUBLICATIONS DETAILS                                                       */
/* ============================================================================= */
div.publication-detail{
  position                : relative;
}
div.publication-detail aside{
  float                   : right;
  width                   : 230px;
}
.aside + .content{
  float                   : left;
  width                   : calc(100% - 250px);
}
.publication-badges *{
  text-align              : center !important;
}
.publication-badge + .publication-badge{
  margin-top              : 25px;
}
.datastream-small + .publication-badges{
  margin-top              : 30px;
}


div.pr_publication_action{ float:left;  width:20%; }
div.pr_publication_detail{
  float:left;
  width:78%;
  border-left : 1px solid #E6E6E6;
  padding-left : 1em;
}

/* publication citation ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.publication_citation{
  width:98%;
  margin : 0 auto 0 0;
  border : #bcdcef 1px solid;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  background: #d4e4ee;
  background-image: -webkit-linear-gradient(top, #d4e4ee, #e2ecf3);
  background-image: -moz-linear-gradient(top, #d4e4ee, #e2ecf3);
  background-image: -o-linear-gradient(top, #d4e4ee, #e2ecf3);
  background-image: linear-gradient(to bottom, #d4e4ee, #e2ecf3);
  color : #80a8cf;
  box-sizing: border-box;
}
div.publication_citation table tbody th{
  width : 25%;
  text-align : right;
  font-weight : bold;
  color : #6699cc;
}
div.publication_citation table tbody{ border : none; }
div.publication_citation table th, div.publication_citation table td{
  border : none;
  padding: 2px 5px;
}

/* publication submitter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.publication_citation + div.publication_citation{ margin-top : 1em; }
div.publication_submitter{
  border                      : #edc240 1px solid;
  background                  : #f8e7b3;
  background-image            : -webkit-linear-gradient(top, #f8e7b3, #f8f0d9);
  background-image            : -moz-linear-gradient(top, #f8e7b3, #f8f0d9);
  background-image            : -o-linear-gradient(top, #f8e7b3, #f8f0d9);
  background-image            : linear-gradient(to bottom, #f8e7b3, #f8f0d9);
  color                       : #cc9933;
}
div.publication_submitter table tbody th{
  color                       : #cc9933;
}

/* actions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.publication-detail ul.actions{
  list-style                  : none;
  margin                      : 0;
  padding                     : 0;
  float                       : right;
}
div.publication-detail ul.actions li{
  display                     : inline-block;
  margin                      : 0;
  padding                     : 2px 8px 2px 10px;
  border                      : 1px solid #CCC;
  background-color            : #ededed;
  background                  : -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
  background                  : -moz-linear-gradient(top,  #fff,  #ededed);
  filter                      : progid:progidDXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
  float                       : left;
  margin-left                 : -1px;
}
div.publication-detail ul.actions li:first-child{
  border-top-left-radius      : 4px;
  border-bottom-left-radius   : 4px;
}
div.publication-detail ul.actions li:last-child{
  border-top-right-radius     : 4px;
  border-bottom-right-radius  : 4px;
}
div.publication-detail ul.actions li img {
    vertical-align            : middle;
}


table.actions{ margin : 1em auto 2em auto; font-size: 1.2em;}
table.actions tbody{ border:none; }
table.actions td{ padding : 5px; }
table.actions td.image{ width: 40px; padding: 5px 0; text-align:center; }
table.actions tr:hover td.image{
  background-color:#ECECEC;
}
table.actions .popup-element-title{ background: none; color:#A8000C; }
table.actions a{ text-decoration : none !important;}



/* ============================================================================= */
/*    ADDITIONAL DATA                                                            */
/* ============================================================================= */
h2.metadata_subtitle{
  border-bottom : 1px solid #444;
  margin-top    : 2em;
  color         : #444;
}
ol.article_references {
  counter-reset      : item;
  margin-left        : 2em;
  display            : table;
}
ol.article_references li {
  display            : table-row;
}
ol.article_references li:before {
  display            : table-cell;
  content            : counter(item) ". ";
  counter-increment  : item;
  color              : #A8000C;
  font-weight        : bold;
  text-align         : right;
  padding-right      : 1.5em;
}
span.reference_counter{
  float              : right;
  background-color: #BBB;
  color: white;
  border-radius: 1em;
  font-size: 0.8em;
  padding: 2px 0.5em;
  font-weight: bold;
}
