
/* search panel */
/*#quickSearch_button{*/
/*    margin-bottom: 5px;*/
/*    margin-left: 5px;*/
/*}*/


/*AUTO-COMPLETE*/
* { box-sizing: border-box; }
body {
    font: 16px Arial;
}
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}
input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
}
input[type=text] {
    background-color: #f1f1f1;
    width: 100%;
}
input[type=submit] {
    background-color: DodgerBlue;
    color: #fff;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: none; /*1px solid #d4d4d4;*/
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}
/*AUTO-COMPLETE END*/

#protChoice{
    margin-top: 5px;
}
#confirmation{
    display: inline;
    margin-left: 5px;
}
#reset{
    display: inline;
}

/* ligand table */
#LigandSearch_div{
    position: absolute;
    visibility: hidden;
    display: table-cell;
    vertical-align: middle;
    /*left: 130px;*/
    /*     height:100%; */
    width: 100%;
    border-collapse: collapse;
}
#ligandTable{
    clear: both;
    margin-bottom: 0px;
    margin-left:0px;
    margin-right:0px;
    margin-top:15px;
    width:100%;
    height:400px;
    /*     border:1px solid black; */
}

#mutationSearch_div{
    position: absolute;
    visibility: hidden;
    display: table-cell;
    vertical-align: middle;
    left: 130px;
/*     height:100%; */
    width: 100%;
    border-collapse: collapse;
}

#selectMutation{
}
#residue_input{
    width:45px;
}
/*div meant to add space*/
div.space{
    clear:both;
    width:100%;
    height:15px;
}
/*div meant to add space*/
div.bigSpace{
    clear:both;
    width:100%;
    height:20px;
}
div.bandHeader{
/*     float:left; */
    clear: both;
    display: table;
    width:100%; 
    background-color:#E8E8E8; 
    height:25px; 
    border:0px solid black;
/*    text-align: center;
    font: 11pt  Helvetica,Verdana, sans-serif; 
    font-weight: bold; */
    margin-top: 15px;
    margin-bottom: 15px;
}
div.labelHeader{
    clear: both;
    height: 100%;
    width: 900px;
    display: table-cell;
    vertical-align: middle;
    color:black;
    text-align: center;
    font: 11pt  Helvetica,Verdana, sans-serif; 
    font-weight: bold;     
}

/*div.labelHeaderNameSubFam{*/
/*    clear: both;*/
/*    height: 100%;*/
/*    width: 900px;*/
/*    display: table-cell;*/
/*    vertical-align: middle;*/
/*    color:black;*/
/*    text-align: center;*/
/*    font: 11pt  Helvetica,Verdana, sans-serif;*/
/*    font-weight: bold;*/
/*}*/

div.missingData{
/*     background-color:red;  */
    width: 100%;
    font-weight: bold;  
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 20pt; 
    display: none;
}
#searchDesc{
    font-size:16px; 
    width:100%; 
    height:8%; 
    border:0px solid black;
}
#mutationTable{
    clear: both;
    margin-bottom: 0px;
    margin-left:0px;
    margin-right:0px;
    margin-top:15px;
    width:100%; 
    height:400px; 
/*     border:1px solid black; */
}

/* table for the mutations */
/* header */
#mutationFill_head{
    table-layout: fixed; 
    width:100%; 
/*     height:25px; */
}
#mutationFill_head th:nth-child(1){
    background-color:#E8E8E8; 
    padding:0px;
    margin:0px;
    border: 1px solid black;
    width: 15%;
    height:25px;
}
#mutationFill_head th:nth-child(2){
    background-color:#E8E8E8; 
    padding:0px;
    margin:0px;
    border: 1px solid black;
    width: 85%;
    height:25px;
}
/* body */
#mutationFill_div{
    clear:both;
    width:100%;
    height:375px;
    overflow-y:scroll;
    border-bottom: 1px solid #DBDBDB;
    border-right: 1px solid #DBDBDB;
}
#mutationFill {
    width:100%; 
    table-layout: fixed; 
    font: 9pt  Helvetica,Verdana, sans-serif;
}
#mutationFill td:nth-child(1){
    padding:5px;
    margin:0px;
    word-wrap: break-word;
    width: 15%; 
}
#mutationFill td:nth-child(2){
    padding:5px;
    margin:0px;
    width: 85%; 
}


/*div that contains NGL*/
#viewport{
    width:100%;
    height:100%;
}

#reset{
    float:right; 
    margin-top:4px; 
    margin-left:4px; 
    margin-right:4px;
}
/*contains the label for NGL*/
#labelHovered{
    width:100%; 
    text-align: center;  
    height: 22px; 
    font: 11pt  Helvetica,Verdana, sans-serif;
}


/*div used my MSA*/
#seqAlign{
    width: 100%;
}

/*MSA caption easier to notice*/
.msa-col-header{
    font-weight: bold;
}

/* For full screen */
#canvas :-webkit-full-screen {
    width: 100%;
    height: 100%;
    background: white;
}

:-moz-full-screen {
  background: white;
}

:-ms-fullscreen {
  background: white;
}

:full-screen { /*pre-spec */
  background: white;
}

:fullscreen { /* spec */
  background: white;
}




/*==================================================
 * Effect 1
 * ===============================================*/
.effect1{
    -webkit-box-shadow: 0 10px 6px -6px #777;
       -moz-box-shadow: 0 10px 6px -6px #777;
            box-shadow: 0 10px 6px -6px #777;
}

/*==================================================
 * Effect 2
 * ===============================================*/
.effect2
{
  position: relative;
}
.effect2:before, .effect2:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 20px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 20px 10px #777;
  -moz-box-shadow: 0 20px 10px #777;
  box-shadow: 0 20px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.effect2:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}

/*==================================================
 * Effect 3
 * ===============================================*/
.effect3
{
  position: relative;
}
.effect3:before
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

/*==================================================
 * Effect 4
 * ===============================================*/
.effect4
{
  position: relative;
}
.effect4:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  right: 10px;
  left: auto;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
}

/*==================================================
 * Effect 5
 * ===============================================*/
/*.effect5*/
/*{*/
/*  position: relative;*/
/*}*/
/*.effect5:before, .effect5:after*/
/*{*/
/*  z-index: -1;*/
/*  position: absolute;*/
/*  content: "";*/
/*  bottom: 35px;*/
/*  left: 10px;*/
/*  width: 50%;*/
/*  top: 80%;*/
/*  max-width:300px;*/
/*  background: #777;*/
/*  -webkit-box-shadow: 0 35px 20px #222;*/
/*  -moz-box-shadow: 0 35px 20px #222;*/
/*  box-shadow: 0 35px 20px #222;*/
/*  -webkit-transform: skew(8deg) rotate(-8deg);*/
/*  -moz-transform: skew(8deg) rotate(-8deg);*/
/*  -o-transform: skew(8deg) rotate(-8deg);*/
/*  -ms-transform: skew(8deg) rotate(-8deg);*/
/*  transform: skew(8deg) rotate(-8deg);*/
/*}*/
/*.effect5:after*/
/*{*/
/*  -webkit-transform: skew(8deg) rotate(7deg);*/
/*  -moz-transform: skew(8deg) rotate(7deg);*/
/*  -o-transform: skew(8deg) rotate(7deg);*/
/*  -ms-transform: skew(8deg) rotate(7deg);*/
/*  transform: skew(8deg) rotate(7deg);*/
/*  right: 10px;*/
/*  left: auto;*/
/*}*/

/*==================================================
 * Effect 6
 * ===============================================*/
.effect6
{
    position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.effect6:before, .effect6:after
{
    content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
    box-shadow:0 0 20px rgba(0,0,0,0.8);
    top:50%;
    bottom:0;
    left:10px;
    right:10px;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}
.effect6:after
{
    right:10px;
    left:auto;
    -webkit-transform:skew(8deg) rotate(3deg);
       -moz-transform:skew(8deg) rotate(3deg);
        -ms-transform:skew(8deg) rotate(3deg);
         -o-transform:skew(8deg) rotate(3deg);
            transform:skew(8deg) rotate(3deg);
}

/*==================================================
 * Effect 7
 * ===============================================*/
.effect7
{
    position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.effect7:before, .effect7:after
{
    content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
    box-shadow:0 0 20px rgba(0,0,0,0.8);
    top:0;
    bottom:0;
    left:10px;
    right:10px;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}
.effect7:after
{
    right:10px;
    left:auto;
    -webkit-transform:skew(8deg) rotate(3deg);
       -moz-transform:skew(8deg) rotate(3deg);
        -ms-transform:skew(8deg) rotate(3deg);
         -o-transform:skew(8deg) rotate(3deg);
            transform:skew(8deg) rotate(3deg);
}

/*==================================================
 * Effect 8
 * ===============================================*/
.effect8
{
    position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.effect8:before, .effect8:after
{
    content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 50px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 50px rgba(0,0,0,0.8);
    box-shadow:0 0 50px rgba(0,0,0,0.8);
    top:10px;
    bottom:10px;
    left:0;
    right:0;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}
.effect8:after
{
    right:10px;
    left:auto;
    -webkit-transform:skew(8deg) rotate(3deg);
       -moz-transform:skew(8deg) rotate(3deg);
        -ms-transform:skew(8deg) rotate(3deg);
         -o-transform:skew(8deg) rotate(3deg);
            transform:skew(8deg) rotate(3deg);
}



.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;  
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1; 
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%; 
    background: #CCE5FF;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #CCE5FF;
    cursor: pointer;
}

/* =============================================
Stuff for the panel 1
ex: Dropdown-menu, autocomplete-container
================================================ */
.autocomplete-container {
    position: relative;
    background-color: #ffffff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #ffffff;
    border: 2px solid #ccc;
    border-top: none;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

.dropdown-menu.open {
    display: block;
}

/* Styles for the search container */
.search-container {
    position: relative;
    width: 180px;
    border-top: none;
}

/* Styles for the input field */
#searchGN_auto {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f5f5f5 ; /* color of the autocomplete box*/
}

#searchMOL_auto {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f5f5f5 ; /* color of the autocomplete box*/
}

/* Styles for the suggestions container */
#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #c0b9b9;
    border: 1px solid #ccc;
    border-top: none; /* Remove the top border */
    border-radius: 0 0 4px 4px;
    z-index: 1000;
}

/* Styles for individual suggestion items */
#search-results div {
    padding: 10px;
    cursor: pointer;
}

/* Hover effect for suggestion items */
#search-results div:hover {
    background-color: #f0f0f0;
}

/* For the ligand auto-complete sections of the webpage ======================= */
/* Styles for the suggestions container */
#search-results-GN {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #c0b9b9;
    /*border: 1px solid #ccc;*/
    border-top: none; /* Remove the top border */
    border-radius: 0 0 4px 4px;
    z-index: 1000;
}

/* Styles for individual suggestion items */
#search-results-GN div {
    padding: 10px;
    cursor: pointer;
}

/* Hover effect for suggestion items */
#search-results-GN div:hover {
    background-color: #f0f0f0;
}

/* Styles for the suggestions container */
#search-results-MOL {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #c0b9b9;
    /*border: 1px solid #ccc;*/
    border-top: none; /* Remove the top border */
    border-radius: 0 0 4px 4px;
    z-index: 1000;
}

/* Styles for individual suggestion items */
#search-results-MOL div {
    padding: 10px;
    cursor: pointer;
}

/* Hover effect for suggestion items */
#search-results-MOL div:hover {
    background-color: #f0f0f0;
}
/* End of ligand auto-complete sections of the webpage  ======================= */

/* Ascendant and descendant icons for header filters of column ========================== */
/* Basic table styling */
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}
th {
    cursor: pointer;
    position: relative;
}

/* Icon styling */
.sort-icon {
    font-size: 12px;
    margin-left: 5px;
}

.asc::after {
    content: "▲"; /* Ascending icon */
    font-size: 12px;
}

.desc::after {
    content: "▼"; /* Descending icon */
    font-size: 12px;
}

/* End of ascendant and descendant icons for header filters of column ========================== */
