:root {
    --bg-color:rgb(232, 242, 245);
    --dark-base:#535686;
    --highlight:#d17676;
}

@-webkit-keyframes rotating {
    from{
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
    }
    to{
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes blink {
    0% {
    opacity: 0;
    }
    50% {
    opacity: 1;
    }
    100% {
    opacity: 0;
    }
}

@keyframes horizontal-shaking {
    0% { margin-left:0}
    25% { margin-left:5px}
    75% { margin-left:-5px}
    100% { margin-left:0}
}

*.horizontal-shake {
    animation: horizontal-shaking 0.1s infinite;
}

*{

    box-sizing: border-box;
    /* font-family: 'Poppins', Arial, Helvetica, sans-serif; */
    font-family: Helvetica, sans-serif;
    color:rgb(82 86 134);
}

::-moz-selection, ::selection {
    color: rgb(251, 251, 251);
    background: var(--dark-base);
}

body, html{

    margin: 0;
    padding: 0;
    /* background:var(--bg-color); */
    background: white;
    line-height: 1.5em;
}

button, a{

    cursor: pointer;
    text-decoration: none;
}

a:hover{

    color: var(--highlight);
}

main{

    margin:110px auto;
    max-width: 1200px;
    margin-bottom: 100px;
}

/* select{

    border:none;
    border-radius: 4px;
    padding: 1px;
    background: #747fb4;
    color:white;
}

input[type="number"]{

    border:none;
    border-radius: 4px;
    padding: 2px 6px;
    background: #747fb4;
    color:white;
} */

.spacer{

    display: inline-block;
    width: 20px;
}

input[type="number"]{

    width: 4em;
}

#user_status_bar{

    width: 100%;
    height: 25px;
    font-size: 12px;
    background: white;
    text-align: right;
    line-height: 1em;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 30px;
}

#user_name{

    margin-right: 20px;
    font-weight: bold;
}


form{

    transition: all 0.2s;
}

form.center{

    position:fixed;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 4px;
    padding: 40px 50px;
    background: white;
    opacity: 1;
    transition: all 0.2s;
    pointer-events: all;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    max-width: 500px;
    z-index: 4000;
    border: 1px solid;
    min-width:120px;
}

form.center.hidden{

    opacity: 0;
    transform: translate(-50%, -45) scale(0.8);
    pointer-events: none;
}

form.center .message{

    font-size: 12px;
    text-align: center;
    color:red;
    position: absolute;
    top:10px;
    left:50%;
    transform: translateX(-50%);
    line-height: 1em;
    width: 60%;
    justify-content: center;
}

form.center label{

    width: 100px;
    text-align: right;
    margin-right: 10px;
}
form.center input, form.center textarea, form.center select{

    background: rgb(230,230,230);
    padding: 4px;
    outline:none;
    border:none;
    border-radius:4px;
    width:calc(100% - 100px);
    resize: none;
    margin:0;
}

form.center> div{

    text-align: right;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

form.center > div:last-of-type{

    margin-bottom: 0;
    justify-content: flex-end;
    margin-top: 29px;
}

form.center .close_bttn{

    position: absolute;
    top: 7px;
    right: 12px;
    background: none;
    border: none;
    color: #d17676;
    font-size: 23px;
}

*[data-status="processing"]::before{

    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.77);
    z-index: 1000;
}

*[data-status="processing"]::after{

    content: "";
    position: absolute;
    top:50%;
    left:50%;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    border: 6px solid var(--dark-base);
    border-top-color: transparent;
    -webkit-animation: rotating 0.5s linear infinite;
    z-index: 1001;
}

.processing::before{

    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.77);
    z-index: 1000;
}

.processing::after{

    content: "";
    position: absolute;
    top:50%;
    left:50%;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    border: 6px solid var(--dark-base);
    border-top-color: transparent;
    -webkit-animation: rotating 0.5s linear infinite;
    z-index: 1001;
}

form.center .post_submit_message{

    display: none;
    text-align: center;
}

form.center.post_submission > *{

    display: none;
}

form.center.post_submission .close_bttn, form.center.post_submission .post_submit_message{

    display: block;
}


form.show_message .content, form.show_message .title{

    display: none;
}

form.show_message .message{

    display: block;
}


tr.even td {
    background: rgba(0, 0, 0, 0.06);
}




th{

    color:var(--highlight);
    text-align: left;
}

body.cover::after{

    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 71%);
    z-index: 3000;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {

    background: var(--dark-base);
    color: white !important;
    border: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    background: var(--highlight);
    border: none;
}

.dataTables_wrapper .dataTables_length select {

    margin: 0 10px;
}

.dataTable.no-footer{

    margin-bottom: 10px;
}

*:disabled{

    opacity: 0.5;
}

.dt-buttons button{

    margin-right: 18px;
}

table.dataTable tbody tr {
    vertical-align: top;
}

table.dataTable tbody td {
    padding: 6px 4px;
}

table.dataTable tbody tr.selected * {

    color: white;
}


table input{

    background: none;
    padding: 5px;
    border: none;
    border-radius: 3px;
    outline-color: var(--highlight);
}

table input:hover, table textarea:hover, table input:active, table textarea:active{

    background: rgba(255,255,255,0.8);
}


table textarea{

    background: none;
    padding: 5px;
    border: none;
    border-radius: 3px;
    outline-color: var(--highlight);
}

.dataTables_wrapper .dataTables_filter input {

    margin-right: 0;
}



.dataTables_length{

    margin-right: 25px;
}

*[data-hovertext]:hover{

    position: relative;
}

*[data-hovertext]:hover::after{

    content: attr(data-hovertext);
    position: absolute;
    bottom: calc(100% + 10px);
    padding: 8px;
    border-radius: 3px;
    color: white;
    background: var(--dark-base);
    pointer-events: none;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    line-height: 1.3em;
    min-width: 184px;
    max-width: 200px;
    text-align: center;
    z-index: 1000;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.gpu_indicator{
            
    display: inline-block;
    padding: 1px 30px;
    line-height: 2.4em;
    border-radius: 3px;
    margin: 5px 20px;
    font-size: 10px;
    position: relative;
}

.gpu_indicator.busy{

    color: #3a337b;
    background: #9aa1bb;
}

.gpu_indicator.busy::after{

    content:'';
    position:absolute;
    top: 50%;
    left: 14px;
    background-image: url("../images/fan.png");
    background-position: center;
    background-size: 14px 14px;
    width:14px;
    height:14px;
    -webkit-animation: rotating 0.3s linear infinite;
    opacity: 0.5;
}

.gpu_indicator.available{

    background: #60d191;
    color:white;
}



.sequence_view{

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

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

.sequence_view .aa:hover{

    font-weight: bold;
    color:crimson;
}

.sequence_view .aa:hover::after{

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

.sequence_view .name{

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

.sequence_view .aa.show_index::after{

    content:attr(data-view-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% - 60px);
    overflow: scroll;
    white-space: nowrap;
    color:inherit;
    padding-bottom: 15px;
}


section{

    padding: 5px;
    margin-bottom: 70px;
}

section.collapsed{

    border-bottom: 2px solid var(--dark-base);
}

section h2{

    margin: 0;
    color:var(--highlight);
    font-weight: normal;
    text-transform: uppercase;
    font-size: 26px;
}

h4{
    margin: 6px 0;
}

section .ctrl_bar{

    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 2px;
    opacity: 0.7;
    margin-bottom: 30px;
}

section .title_end{

    display: block;
    font-size: 12px;
}

section .ctrl_bar:hover{

    opacity: 1;
    background: rgba(255, 255, 255, 0.865);
    outline:10px solid rgba(255, 255, 255, 0.865);
}

section .ctrl_bar .indicator{

    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    font-size: 40px;
    transition: all 0.2s;
}

section.collapsed .indicator{
    
    transform: translateY(-50%) rotate(0deg);
}

section .content_area{

    height: auto;
    transition: all 0.3s;
    margin: 0 10px;
}

section .content_area.collapsed{

    height: 0;

}

.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%;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    border-radius: 3px;
    cursor:crosshair;
}

.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 .point{

    position:absolute;
    width: 2px;
    height: 2px;
    border-radius: 3px;
    background: black;
    pointer-events: none;
}

.pae_plot .hover_info_block{

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

.pae_plot .hover_info_block.show{

    display: block;
}

h1.main_header{

    margin:50px 0;
    line-height:35px;
    font-size:45px
}

h1.main_header .species{

    font-weight: lighter;
    font-size: 20px;
    color:var(--highlight);
}

.filter{

    margin:7px 0;
    padding-bottom: 7px;
    border-bottom: 1px dotted;
}

.filter:last-child{

    border-bottom: none;
}

.filter input, .filter select{

    margin-right: 10px;
    border: none;
    border-radius: 3px;
    padding: 3px;
    background: rgb(244, 244, 244);
}

.field_options input{

    margin-right: 30px;
}


nav{

    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    display: flex;
    height: 44px;
    background:var(--dark-base);
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    z-index: 1000;
}

nav .left, nav .right{
    
    display: flex;
    align-items: center;
}

nav a{

    margin: 0 10px;
    display: inline-block;
    text-decoration: none;
    padding:10px 20px;
    color:white;
}

nav a:hover{

    background:white;
    color:var(--dark-base);
}

nav a:first-child{

    margin-left: 0;
}

nav a:last-child{

    margin-right: 0;
}

nav a img{

    width: 100%;
    height: 100%;
}

#user_icon{

    border-radius: 40px;
    background: #525686;
    color: white;
    height: 33px;
    width: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 5%;
}


.option_list{

    position: relative;
    display: inline-block;
    padding: 0px 8px;
    border-radius: 3px;
    background: rgb(255, 255, 255);
    margin-right: 10px;
    font-size: 13px;
    cursor: pointer;
    padding-right: 24px;
    width: 130px;
    line-height: 21px;
    border: 1px solid #767676;
}

.option_list::before{

    content: "";
    position: absolute;
    top:99%;
    left: 0;
    height: 6px;
    width: 100%;
}

.option_list::after{

    content: "";
    position: absolute;
    top:57%;
    transform: translateY(-50%);
    right:10px;
    border:4px solid transparent;
    border-top-color: #5b5b5b;
}


.option_list .list{

    position: absolute;
    display: none;
    top: 112%;
    left: -1px;
    padding: 5px 0;
    border-radius: 3px;
    background:white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    z-index: 40;
    width: 100%;
    border:1px solid rgb(245, 245, 245);
}

.option_list:hover .list{

    display: block;
}

.option_list .option{

    position: relative;
    cursor: pointer;
    opacity: 0.8;
    user-select: none;
    display: flex;
    margin-bottom: 2px;
    padding: 0 10px;
}

.option_list .option:hover{

    opacity: 1;
    background: rgb(237, 237, 237);
}

.option_list .option .checkbox{

    display: inline-block;
    width: 12px
}

.option_list .option[data-checked="checked"] .checkbox::after{

    content: "";
    border: 2px solid rgb(45, 45, 45);
    border-right-width: 0;
    border-top-width: 0;
    height: 3px;
    width: 7px;
    position: absolute;
    top: 50%;
    left: 7px;
    transform: translate(0, -50%) rotate(301deg);
}