@font-face {
    font-family: 'ecfiaRegular';
    src: url('../fonts/TitilliumWeb-Regular.ttf');
}

@font-face {
    font-family: 'ecfiaBold';
    src: url('../fonts/TitilliumWeb-Bold.ttf');
}


* {
    margin: 0;
    padding: 0;
    font-family: 'ecfiaRegular';
}

body {
    background-color: #f0f5f9;
    max-width: 1090px;
}

/* login */
#login {
    position: absolute;
    top: 15%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

#login #formWrapper .formLabel,
#login #formWrapper .formInput {
    display: inline-block;
    color: #1a1a1a;
}

#login .formLabel {
    width: 6em;
}

#login .formSubmit input {
    padding:5px 15px; 
    background:#265a95; 
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
    color: #fff;
    font-family: 'ecfiaBold';
}




/* NAVIGATION */
#pubNav ul {
    padding: 0.5em;
}

#pubNav li {
  display: inline;
  padding-right: 0.5em;
}

.back a {
  float: right;
}

#pubNav a,
.back a{
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'ecfiaBold';
    font-size: 1.2em;
    color: #009ee3;
}

#pubNav a.active{
     color: #000;
}

#pubNav a:hover{
    color: #265a95;
}

/* TABLES */
table {
    width: 100%;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
    border-top: 1px solid #ececec; 
}

table th {
    padding: 0.5em;
    font-size: 100%;
}

table td {
  border-collapse: collapse;
  border-spacing: 1px;
  border-style: solid;
  border-width: thin;
  border-color: #ececec;
  text-align: left;
  vertical-align: top;
  padding: 0.25em;
}

table .tdIndex,
table .tdAbstract {
    text-align: center;
}
.ecfiaTableHead,
table caption {
    background-color: #265a95;
    color: #fff;
}

table caption {
 text-align: left;   
 padding: 0.5em;
 font-family: 'ecfiaBold';
}

.ecfiaTableHead .thAbstract {
    width: 8%;
}

.ecfiaTableHead .thTitle {
    width: 30%;
}

.ecfiaTableHead .thAuthors {
    width: 30%;
}

.ecfiaTableHead .thPublication {
    width: 24%;
}

.ecfiaTableHead .thAbstract {
    width: 8%;
}

table tbody tr {
    background-color: #fff;
    color: #1a1a1a;
}

table tbody tr:nth-of-type(2n+1) {
    background-color: #f3f3f3;
    color: #1a1a1a;
}

table tbody a {
    color: #009ee3;
}

table tbody a:hover {
    color: #1a1a1a;
    text-decoration: none;
}

table tbody tr:hover {
   background-color: #f6f6f6;
}

/* PUBLICATION DETAIL */
#ecfiaPublication h1{
    font-size: 1em;
    font-family: 'ecfiaBold';
}
/*
#ecfiaPublication #publicationDetail{
  display: grid;
  grid-template-columns: auto auto; 
}

#ecfiaPublication publicationDetail .grid-item {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.8);
  text-align: center;
}
*/
/* SEARCH */
#ecfiaSearch .pubSearchElement {
    padding: 0.5em;
    display: inline-block;
}

#ecfiaSearch .pubSearchElement label {
    padding-right: 0.5em;
    font-size: 0.75em;
    font-weight: bold;

}

.pubSearchPagination {
    padding: 0.5em;
}

.pubSearchPagination a {
    text-decoration: none;
    color: #1a1a1a;
}

.pubSearchPagination .active {
    color: #f00;
}    

#ecfiaSearch .pubSearchElement #search {
      padding:5px 15px; 
    background:#265a95; 
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
    color: #fff;
    font-family: 'ecfiaBold';
    width: 10em;
}

.pubSearchNumFound {
    font-family: 'ecfiaBold';
    padding: 0.5em;
}
/*"searchTermYellow","searchTermGreen", "searchTermBlue", "searchTermOrange", "searchTermGray"*/
#ecfiaSearch .searchTermYellow {
    background-color: yellow;
}

#ecfiaSearch .searchTermGreen {
    background-color: lightgreen;
}

#ecfiaSearch .searchTermBlue {
    background-color: lightblue;
}

#ecfiaSearch .searchTermOrange {
    background-color: orange;
}

#ecfiaSearch .searchTermGray {
    background-color: lightgray;
}