.species {
    padding: 7px;
    font-size: 25px;
    color: #676767;
}


#structure_control_panel{

    margin: 20px 0;
}

#structure_container{

    width: 100%;
    height: 500px;
    position: relative;
}

#structure{
    width: 100%;
    height: 100%;
}

#structure canvas{

    border-radius: 4px;
}

#struct_download_bttn {
    position: absolute;
    bottom: 32px;
    right: 32px;
    height: 50px;
    width: 50px;
    opacity: 0.7;
    z-index: 100;
}

#struct_download_bttn:hover{

    opacity: 1;
}

#structure_stats {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.701);
    max-height: 200px;
    overflow: scroll;
}

#structure_stats table {
    margin: 5px;
    width: calc(100% - 10px);
}

#structure_stats table th {
    background: none;
}

#structure_stats th, #structure_stats td{

    border: none;
    text-align: center;
}

#structure_stats tr:last-child td{

    font-weight: bold;
}

#structure_stats tr:last-child{

    background: #f3f3f3;
}

#plddt_legend{

    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    font-size: 10px;
    z-index: 90;
    display: none;
}

#plddt_legend .plddt-legend-title{
    text-align: center;
    margin-bottom: 0;
    font-weight: bold;
}

#plddt_legend .plddt-legend-hr{
    margin: 5px 0;
    border: none;
    border-top: 1px solid #ccc;
}

#plddt_legend .plddt-legend-row{

    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#plddt_legend .plddt-legend-item{

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

#plddt_legend .plddt-legend-label{

    font-weight: normal;
    margin-bottom: 4px;
    text-align: left;
    white-space: nowrap;
}

#plddt_legend .plddt-legend-bar{

    width: 100%;
    height: 10px;
    border-radius: 6px;
}


a img{

    width: 100%;
    height: 100%;
}


#copy_page_link{


    width: 42px;
    height: 42px;
    background: none;
    opacity: 0.5;
}

#copy_page_link:hover{

    opacity: 1;
}

#star_interaction{

    width: 50px;
    height: 50px;
    background: none;
    opacity: 0.5;
}

#star_interaction:hover{

    opacity: 1;
}

#note_button{

    width: 48px;
    height: 48px;
    background: none;
    opacity: 0.5;
}

#note_button:hover{

    opacity: 1;
}

.pae_plot{

    position: relative;
    display: inline-block;
    width: 300px;
    height: 300px;
    margin:30px;
    margin-bottom: 66px;
}

.pae_plot .title{

    position: absolute;
    bottom:calc(100% + 10px);
    width: 100%;
    text-align: center;
    left: 0;
    font-weight: bolder;
    font-size: 20px;
}

.pae_plot img{

    width: 100%;
    height: 100%;
    cursor:crosshair;
    pointer-events: all;
}

.pae_plot .x_axis_label, .pae_plot .y_axis_label{

    text-align: center;
    position: absolute;
    top:0;
}

.pae_plot .y_axis{

    transform: rotate(90deg);
    transform-origin: top left;
}


.pae_plot .hover_info_block{

    position: absolute;
    background: rgba(0, 0, 0, 0.472);
    padding: 3px;
    font-size: 12px;
    color:white;
    display: none;
    z-index: 10;
    line-height: 1em;
    pointer-events: none;
}

.pae_plot .hover_info_block.show{

    display: block;
}

.sequence_view{

    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    line-height: 1.5em;
}
.sequence_view .aa{

    display: inline-block;
    width:0.8em;
    text-align: center;
    position: relative;
    cursor: pointer;
    color: inherit;
}

.sequence_view .aa.focus{

    border-bottom: 2px solid;
    color: black;
}

.sequence_view .aa.xlink_anchor {

    border-bottom: 2px solid #000000;
    color: #000000;
}


.sequence_view .aa.focus::after, .sequence_view .aa.xlink_anchor::after, .sequence_view .aa:hover::after{

    content:attr(data-index);
    display: block;
    position: absolute;
    bottom:55%;
    font-size: 7px;
    width: 100%;
    text-align: center;
}

.sequence_view .aa:hover{

    font-weight: bold;
    color:crimson;
}

.sequence_view .name{

    width: 60px;
    margin-right: 5px;
    font-weight: bold;
    padding-top: 5px;
    color: inherit;
}

.sequence_view .display_mode{

    width: 60px;
    margin-right: 25px;
    font-weight: bold;
    padding-top: 5px;
    color: inherit;
}

.sequence_view .aa.show_index::after{

    content:attr(data-index);
    display: block;
    position: absolute;
    bottom:55%;
    font-size: 7px;
    width: 100%;
    text-align: center;
}

.sequence_view .sequence{

    padding-top: 5px;
    display: inline-block;
    width: calc(100% - 120px);
    overflow: scroll;
    white-space: nowrap;
    color:inherit;
    padding-bottom: 15px;
}



.pdb_entry{

    display: inline-block;
    margin:6px;
    position: relative;
}


.pdb_entry.after_training{

    background: #e1e1e1;
    padding: 2px;
}

.pdb_entry:hover::after{

    border: 1px solid #d8d8d8;
    content: attr(data-hover-text);
    position: absolute;
    bottom: 130%;
    left: 0;
    background: white;
    line-height: 1em;
    padding: 4px;
    font-size: 12px;
    width: 110px;
    pointer-events: none;
}

tr.best_prediction td{

    color:#1d76b4;
    font-weight:bold;
}

#predictions_stats_table, #summary_stats_table{

    table-layout: fixed;
}

tr.clashing_residues td{

    background: rgba(255, 0, 0, 0.185);
}

tr.interacting_residues td{

    background: rgba(0, 179, 255, 0.185);
}


#mini_aa_hover_indicator{
    position: absolute;
    top:20px;
    right:20px;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px;
}

#xl_panel{

    position: absolute;
    top:100px;
    right:0;
    width: 300px;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px;
    border-radius: 2px;
}

#xl_panel:hover{

    background: white;
}

#xl_table_container{

    overflow: scroll;
    border-collapse: collapse;
    max-height: 200px;
    overflow: scroll;
    margin-top: 15px;
    padding-right: 20px;
}

#xl_table_container table{

    margin: 0;
    font-size: 13px;
}

#xl_panel .xl_row{

    padding: 4px;
}

tr.xl_row td{

    border: none;
    border-bottom: 1px solid #efefef;
}

tr.xl_row:last-child td{

    border: none;
}


tr.xl_row td:first-child{

    border: none;
}

tr.xl_row[data-xl-fit="1"]{

    color: rgb(86 153 113);
}

tr.xl_row[data-xl-fit="0"]{

    color: rgb(149, 85, 142);
}

.pdb_chain_link{

    margin-right: 10px;
    display: inline-block;
    width: 56px;
}

.missense_text{

    border: 1px solid #e5e5e5;
    background: #f5f5f5;
    padding: 0px 10px;
    display: inline-block;
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: 11px;
}

.aa.missense{

    border-bottom:1px solid #ff4444;
}


th.afm_score{

    background: rgb(226, 233, 237);
}

th.db_score{

    background: rgb(228, 240, 229);
}
