/**
 * Template: teachpress 2016 template
 * Version: 1.0
 * Author: Michael Winkler
*/

.teachpress_filter > select {
    font-size: initial !important;
}

.teachpress_filter > #yr {
    width: 12%;
}

.teachpress_filter > #type {
    width: 25%;
}

.teachpress_filter > #tgid {
    display: none;
}

.teachpress_filter > #auth {
    width: 60%;
}

.teachpress_filter > #usr {
    display: none;
}

.teachpress_pub_list .tablenav {
    display: inline-block;
}

.teachpress_pub_list .tablenav .tablenav-pages {
    text-align: center;
    float: unset !important;
}

.teachpress_pub_list .tablenav .tablenav-pages a {
    font-size: inherit;
    padding: 2px 10px;
}

.teachpress_pub_list .tablenav .tablenav-pages .displaying-num::after {
    content: ". Page";
}

td.tp_pub_info {
    font-size: 85%;
    border-bottom: 1px solid silver;
    vertical-align: top;
    padding: 8px 0px 16px 6px;
    border: none !important;
}

.tp_pub_author, #content p.tp_pub_author {
    margin: 1px 0px 1px 100px;
}

.tp_pub_title, #content p.tp_pub_title {
    font-weight: bold;
    margin: 1px 0px 1px 100px;
}

.tp_pub_additional, #content p.tp_pub_additional {
    margin: 1px 0px 1px 100px;
}

.tp_pub_tags, #content p.tp_pub_tags {
    margin: 1px 0px 1px 100px;
    color: #555555;
    font-size: 85%;
    /*
    background-color: #f6f6f6;
    border-radius: 3px;
    padding: 3px 8px 3px 8px;
    */
}

.tp_pub_link {
    padding-left: 0.3em;
    padding-right: 0.2em;
}

.tp_pub_tags a {
    color: #777777;
    text-decoration: underline;
    box-shadow: none;
}

.tp_pub_tags a:hover {
    color: #111;
    text-decoration: none;
}

.tp_pub_src_location, #content p.tp_pub_src_location {
    margin: 1px 0px 1px 100px;
    color: #555555;
    font-weight: bold;
    font-size: 9pt;
}

.tp_pub_src_location a {
    color: #777777;
    text-decoration: underline;
    box-shadow: none;
    font-weight: normal;
}

.tp_pub_type {
    margin-left: -100px;
    position: relative;
    float: left;
    text-align: center;
    width: 80px;
    background-color: #008bd2;
    color: #fff;
    display: inline-block;
    padding: 3px 4px;
    margin-right: 8px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 2px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
}

.tp_pub_label_status {
    background-color: orange;
    color: #fff;
    display: inline-block;
    padding: 3px 4px;
    margin-left: 5px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    border-radius: 2px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
}

#pub_user {
    display: none;
}

#pub_tag {
    max-width: 300px;
}

.teachpress_cloud {
    position: relative;
    top: -50px;
}

.teachpress_cloud a {
    color: #111;
    margin: 0 5px 0 5px;
}

div.teachpress_cloud > span > a {
    display: inline-block;
}

.teachpress_cloud a:hover {
    color: #111;
    text-decoration: none;
}

.teachpress_filter {
    padding: 0;
}

.teachpress_filter > select  {
    margin: 0px 5px 0 2px;
    height: 2em;
    font-size: 10pt;
}

.tp_meta_pub_status {
    margin-left: 100px;
}

div.tp_bibtex_entry > pre {
    font-size: 9pt;
    white-space: normal !important;
}

ul.tp_pub_list li {
    font-size: 9pt;
}

/* Custom statuses */
.tp_meta_pub_status_entry {
    --float: right;
    background-color: #c32b72;
    color: #fff;
    display: inline-block;
    padding: 3px 4px;
    margin-right: 5px;
    font-size: 9px;
    font-weight: bold;
    line-height: 1;
    border-radius: 2px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
    position: relative;
    top: 3px;
}

.tp_meta_pub_status_entry.abstract {
    background-color: orange;
}

.tp_meta_pub_status_entry.in-press {
    background-color: orange;
}

.tp_meta_pub_status_entry.to-appear {
    background-color: orange;
}

.tp_meta_pub_status_entry.open-access {
    background-color: green;
}

.tp_meta_pub_status_entry.full-text-available {
    background-color: green;
}

.tp_meta_pub_status_entry.preprint {
    background-color: olive;
}

.tp_meta_pub_status_entry.spanish {
    background: #bc0000;
    background: -webkit-linear-gradient(left, #bc0000, #f90, #bc0000);
    background: -o-linear-gradient(left, #bc0000, #f90, #bc0000);
    background: -moz-linear-gradient(left, #bc0000, #f90, #bc0000);
    background: linear-gradient(to right, #bc0000, #f90, #bc0000);
}


/* Use different colors by publication type ^*/
.tp_pub_type.journal {
    background-color: #606b70;
}

.tp_pub_type.article {
    background-color: #c32b72;
}

.tp_pub_type.conference {
    background-color: #196ca3;
}

/* Set separators for the categories */
td > h3.tp_h3 {
    border-width: 0 0 0 0;
    border-style: solid;
    border-color: silver;
    font-weight: bold;
}

/* Make sure the publications table does not inherit any other border */
table.teachpress_publication_list > tbody > tr {
    border: none !important;
}

tr.tp_publication {
    border: none !important;
    margin-bottom: 30px;
}

a.tp_pub_list {
    padding: 5px 0px 0px 0px;
}

div.tp_links_entry > ul.tp_pub_list {
    margin: 0;
    padding: 0;
}

.tp_bibtex_entry, .tp_abstract_entry {
    padding: 8px 13px 8px 13px;
    border-style: dashed;
    margin: 10px 0 0 100px;
    border-width: 2px;
    border-color: gray;
    border-radius: 10px;
    background-color: #f1f1f1;
}

.tp_bibtex_entry {
    font-family: monospace;
    font-size: 9pt;
}

.tp_links_entry {
    padding: 8px 13px 8px 5px;
    border-style: dashed;
    margin: 10px 0 0 100px;
    border-width: 2px;
    border-color: gray;
    border-radius: 10px;
    background-color: #f1f1f1;
}

.tp_close {
    float: right;
    top: 3px;
    position: relative;
}

.tp_crop {
    overflow: hidden;
    position: relative;
    max-height: 3em;
}

/*
.tp_crop::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2.5em;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}
*/

.tp_show_less_link {
    position: relative;
    width: 100%;
    text-align: right;
    display: block;
    z-index: 100;
}

.tp_show_more_link {
    position: relative;
    width: 100%;
    text-align: right;
    display: block;
    z-index: 100;
    margin-top: -1.5em;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 1) 87%);
}

.tp_hidden {
    display: none;
}

