/*
Code developed by Epi-interactive (www.epi-interactive.com)
CLIENT: EU FMD
PROJECT: Genome Annotator
DATE: 07/03/2022

Code users agree to appropriately acknowledge the code developer using the following citation: Code developed by Epi-interactive (www.epi-interactive.com) for EU FMD for Genome Annotator, 07/03/2022.
Restrictions regarding sharing and distributing the code of this project may apply, please contact Epi-interactive for clarification or consult our Services Agreement (if provided as part of the contract).
Restrictions may include:
  - the distribution of any source codes, header files, make files, or libraries of the software.
  - any merging, compiling, or copying of the software. 
  - alteration or removal of any notices in or on the software or within the documentation included within the software.
  - any distribution of the software that is not conducted with approval from Epi-interactive.
  - disclosure of any source codes pertaining to the software to third parties not included in this agreement.
*/

/*General styling*/

body{
  font-family: Geist;
  color: #333333;
      font-size: 16px;
}

a, a:hover, a:active, a:visited, a:focus{
  color: #FF8701;
}

input::-webkit-input-placeholder,  textarea::-webkit-input-placeholder{
  font-style: italic;
}

.info-button{
  cursor:pointer;
}

.btn-default {
  font-weight: bold;
}

.row {
  margin: 0;
}

.form-control {
  border-radius: 0;
}

.title{
  font-weight: bold;
  font-size: 60px;
  color: #0A133A;
}

.page-desc{
  width: 55%;

  padding-bottom: 40px;
}

.note-desc{
  padding-top: 40px;
  color: #0A133A;
}

.prev-page{
  padding-top:40px;
  padding-bottom: 10px;

}

.prev-page a{
  font-size: 20px;
  font-style: italic;
  color: #FF8701;
    display: flex;
  align-items: center;
}

.prev-page img{
  height: 20px;
  padding-right: 10px;
}

.next-page{
    display: flex;
    text-align: right;
    justify-content: flex-end;
    align-items: center;
}

.next-page:not(:first-child){
  margin-top: 40px;
}

.next-page .btn-default, .next-page .btn-default:hover{
  font-size: 20px;
  padding: 30px 20px;
  background-color: #0A133A;
  color: white;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
}

.next-page .btn-default.disabled, .next-page .btn-default.disabled:hover, .orange-btn.disabled, .orange-btn.disabled:hover{
  background-color: #90919B;
  color: white;
}

.next-page .btn-default img{
  height: 40px;
  padding-left: 10px;
}
.tab-title{
  display: flex;
  align-items: center;
  margin-bottom: 10px;
   margin-top: 30px;
}

.tab-title img{
  height: 20px;
  padding-left: 10px;
}

.tab-title h2{
  color: #0A133A;
  font-weight: bold;
  margin: 0;
}

.tab-desc{
  width: 55%;
}

.main-panel{
  padding:20px 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.main-panel.dark{
  padding:20px;
  background-color: #1C1F2D;
  color: white;
}

.legend-panel{
  margin-top: 20px;
  margin-bottom: 45px;
}

#btn-loader, #btn-loader-adjacent{
  margin-right: 10px;
}

.modal .nav-tabs:before{
  content: 'Sequences:';
  display: flex;
  padding-top: 6px;
  padding-right: 15px;
  font-size: 30px;
}

.nav-tabs {
  border:none;
  display: flex;
  
  padding: 0;
}

.nav-tabs>li {
  border-top:1px #1C1F2D solid;
}

.main-panel.dark .nav-tabs>li {
  border-top:1px white solid;
}

.nav-tabs>li>a, .nav-tabs>li>a:hover{
 color: #1C1F2D;
 border-radius: 0;
 margin: 0;
 padding: 0 10px;
 background-color: white;
 font-size: 30px !important;
 border: none;
 white-space: nowrap;
}

.main-panel.dark  .nav-tabs>li>a, .main-panel.dark .nav-tabs>li>a:hover{
  background-color: #1C1F2D;
  color:  #FF8701;
}

 .nav-tabs>li:not(.active)>a{
 padding-top: 5px;
}

.nav-tabs>li.active>a,  .nav-tabs>li.active>a:focus,  .nav-tabs>li.active>a:hover {
  color:  #1C1F2D;
  font-weight: bold;
  background-color: white;
  border: none;
  border-top: solid 5px #FF8701;
}

.main-panel.dark .nav-tabs>li.active>a, .main-panel .dark.nav-tabs>li.active>a:focus, .main-panel.dark .nav-tabs>li.active>a:hover {
  color:  white;
  background-color: #1C1F2D;
}

.main-panel h3, .legend-panel h3{
  font-size: 20px;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 25px;
}

.btn-default.orange-btn{
  border:none;
  font-size:20px;
  border-radius: 0;
  padding:10px;
}

.btn-default.orange-btn:not(.disabled){
  background-color: #FF8701;
  color:white;
}

/*Loading -----------------*/
.loader {
 border: solid 5px transparent;
  border-top-color: white;
  border-left-color: white;
  border-bottom-color: white;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  animation: spin 700ms linear infinite;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-adjacent {
  display: flex;
  font-size: 31px;
}


/* breadcrumbs -----------------*/
.fmd-main-breadcrumb {
  width: 100%;
  height: 70px;
  background-color: #90919B;
  display: flex;
  margin-top:70px;
}

.fmd-main-breadcrumb > div {
    font: normal normal bold 16px/20px Geist;
    color: white;
  position: relative;
  padding-left: 50px;
  width: 25%;
}

.fmd-main-breadcrumb > .visited-tab{
  background: #1C1F2D;
  cursor: pointer;
}

.fmd-main-breadcrumb > .active-tab{
  background: #FF8701;
}

.fmd-main-breadcrumb > .visited-tab + .active-tab:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 35px solid #1C1F2D;
  border-top: 35px solid transparent;
  border-bottom: 35px solid transparent;
}

.fmd-main-breadcrumb > .active-tab + div:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 35px solid #FF8701;
  border-top: 35px solid transparent;
  border-bottom: 35px solid transparent;
}

.fmd-main-breadcrumb > .visited-tab:not(.active-tab) + div:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 35px solid #1C1F2D;
  border-top: 35px solid transparent;
  border-bottom: 35px solid transparent;
}

.breadcrumb-inner{
      display: flex;
    align-items: center;
    height: 100%;
}

.numberCircle {
    border-radius: 50%;
    width: 37px;
    height: 37px;
    padding: 1px;
    margin-right: 8px;
    background: transparent;
    border: 3px solid white;
    color: white;
    text-align: center;
    display: inline-block;
    font: normal normal bold 23px/29px Geist;
}


/* Tables --------------------------- */
table.dataTable.display tbody tr.odd, table.dataTable.display tbody tr.even, table.dataTable.display  tbody tr:hover {
  background-color: transparent;
}

.main-panel.dark div.datatables{
  color: white;
}

table.dataTable.display tbody td {
    border-top: 1px solid #FF8701;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody, table.dataTable.no-footer {
  border-bottom: 1px solid #FF8701;
}

table.dataTable thead th{
  border-bottom: 3px solid #FF8701;
}

table.dataTable tbody td {
  padding: 10px 18px;
}


table.dataTable tbody td .form-group, table.dataTable tbody td .form-group .checkbox{
  margin: 0;
}

table.dataTable  .shiny-input-container:not(.shiny-input-container-inline) {
    width: 50px;
    display: flex;
    justify-content: center;
}

.include-table td:first-child{
  width: 16px;
}

.pretty.p-icon .state i.icon.fa.fa-check {
  color:#333333;
}
  
.pretty .state label:before  {
    border-color: #333333;
}

.dark .pretty .state label:before  {
    background-color: #ffffff;
}


.pretty .disabled+.state label:before {
  background-color: #DDDDDD;
  border-color: #DDDDDD;
}

.table-percent{
  padding-left: 10px;
  display: inline-block;
  width: 55px;
}

.table-direction{
  padding-left: 30px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #FF8701 !important;
  border:none;
  border-bottom: 2px solid #FF8701;
  background: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
  
    background: none;
    border: none;
    border-bottom: 1px solid white;
    color: #292929 !important;
    border-radius: 0;
    margin-left: 2px;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active, 
.dataTables_wrapper .dataTables_paginate .paginate_button:hover
{
   border-radius: 0;
   background: none;
   border: none;
   border-bottom: 1px solid #292929;
   color: #292929 !important;

}
.dataTables_wrapper .dataTables_paginate {
    color: #292929;
}


/* Cartoon ---------------------- */
.cartoon-container{
  padding-left: 30px;
  width:300px;
  height:10px;
  position: relative;
  display: inline-block;
}

.cartoon, .cartoon-overlay{
  height:100%;
  display: inline-block;
  width: 100%;
  white-space: nowrap;
 
}
.cartoon-overlay{
  z-index: 10;
  position: absolute;
  left: 0px;
  padding-left: 30px;
}

.cartoon div, .cartoon-overlay div{
  height:100%;
  margin-left: 1px;
  display: inline-block;
}

.cartoon div{
  opacity:0.4;
}

/*Modal*/
.modal-lg {
    width: 85%;
}

.modal p{
  font-size: 20px;
  margin: 0;
}

.modal a{
  font-size: 16px;
  color: #FF8701;
  margin-left: auto;
  margin-top: auto;
}

.modal-body{
  padding: 35px;
}

.modal-heading-row, .modal-header{
  display: flex;
  align-items: center;
}

.modal-heading-row i, .modal-header i{
  margin-left: auto;
  cursor: pointer;
}

.modal .heading {
  font-size: 30px;
  color: #0A133A;
}

.modal .subheading{
  font-weight: bold;
  
}


/* upload sequence page-------------- */
.upload-instructions{
  margin:40px 0;
}

.single-sequence{
  border-top: 3px solid #FF8701;
  margin-bottom: 47px;
}

.single-sequence h3{
  padding-top: 12px;
}

.single-sequence .row{
  display: flex;
}

.single-sequence .row > div:first-child{
  margin-right: 2%;
}

#upload-tabs:before{
  content: 'Format:';
  display: flex;
  padding-top: 6px;
  padding-right: 15px;
  font-size: 30px;
}

#upload-fastaSequences{
  overflow-x: hidden;
}

#upload-fastaTab .shiny-input-container:not(.shiny-input-container-inline){
  width:100%;
}

/*Sequence page -------------------------- */
.arrow-text{
  font-style: italic;
}

.title-number{
  font-weight: normal;
}


/*Parameter page ------------------------ */
#parameter-tabs:before, #tree-tabs:before{
  content: 'Serotype:';
  display: flex;
  padding-top: 6px;
  padding-right: 15px;
  font-size: 30px;
}

#parameter-tabs:after, .modal .nav-tabs:after{
  border-top:1px solid #1C1F2D;
  width:100%;
}

.possible-text{
  color: #FF8701;
  font-size: 20px;
  position: absolute;
  z-index: 10;
  top: 157px;
  right: 35px;
  font-style: italic;
}

.ref-row{
  border-top: 1px solid;
  border-bottom: 1px solid;
  padding-top: 25px;
  margin-bottom: 50px;
}
   

.inline-input{
      padding-right: 30px;
      display: inline-block;
      vertical-align: middle;
      padding-top: 7px;
      margin-bottom: 25px;
}

.ref-row .btn{
  margin-bottom: 25px;
} 


.inline-input > span{
 font-weight: bold;
 padding-right: 10px;
 display: inline-block;
    vertical-align: top;
    padding-top: 6px;
}

.inline-input >div{
    margin-bottom: 0;
    display: inline-block;
}

.inline-input .selectize-control, .inline-input .form-group{
  margin-bottom: 0;
}

.inline-input .input-group-addon:not(:first-child):not(:last-child){
  background: none;
    border: none;
    color: white;
}

.input-daterange input:first-child,.input-daterange input:last-child,  .selectize-input {
    border-radius: 0;
    font-size: 16px;
}

.cancel-btn, .cancel-btn:hover{
  background: #C4C7D0;
  color: #0A133A;
  font-size: 20px;
  padding: 30px;
  font-weight: bold;
    border-radius: 0;
  border: none;
  margin-right: 20px;
}

.save-btn, .save-btn:hover{
  background: #0A133A;
  color: white;
  font-size: 20px;
  padding: 30px;
  font-weight: bold;
  border-radius: 0;
  border: none;
}

.save-btn img{
  padding-right: 10px;
}
.download-row{
  display: flex;
  align-items: end;
  margin-bottom: 29px;
  margin-top: 80px;
}

.reference-row{
  padding-top: 80px; 
  display: flex;
  align-items: center;
}

.reference-row a{
  margin-left: 30px;
  margin-top: 5px;
    margin-bottom: 25px;
}


/*Tree page --------------------- */

.tree-options{
  display: flex;
  align-items: center;
}

.tree-options > div{
  padding-right: 60px;
}

.export-pdf-btn {
  text-decoration: none !important;
  background: #0A133A;
  color: white !important;
  padding: 30px;
  font-weight: bold;
  border-radius: 0;
  border: none;
}

.export-pdf{
  margin-left: auto;
}

.export-pdf img{
  height: 10px;
  padding-left: 5px;
}

/*Build tree legend */
.fmd-legend{
  display: flex;
  flex-wrap: wrap;
   width: 100%;
}

#tree-colorLegend:not(:empty){
 border-top: 1px solid black;
 padding-top: 15px;
 margin-top: 15px;
}

.legend-col{
  display: flex;
   flex-direction: column;
}

.legend-section{
  display: flex;
  align-items: center;
 
}

.legend-col .legend-section + .legend-section{
   padding-top: 10px;
}

.legend-swatch{
  height: 16px;
  width: 16px;
  margin: 2px 0;
  min-width: 16px;
  vertical-align: middle;
      margin-right: 10px;
}


.legend-swatch.filled{
  background-color: black;
}

.legend-swatch.circle{
  border-radius: 8px;
}

.legend-swatch.diamond{
  transform: rotate(45deg);
  height: 12px;
  width: 12px;
  min-width: 12px;
}

.fmd-footer-top {
  margin-top: 45px;
  height: 6px;
  background: #FF8701 0% 0% no-repeat padding-box;
  opacity: 1;
}

.fmd-footer-bottom {
  top: 1329px;
  left: 0px;
  height: 234px;
  background: #0A133A 0% 0% no-repeat padding-box;
  opacity: 1;
}

.fmd-footer-bottom-content {
  margin-top: 43px;
  text-align: left;
  font: normal normal normal 16px/20px Geist;
  letter-spacing: 0px;
  color: #FFFFFF;
  opacity: 1;
}

.fmd-footer-epi-logo {
  margin-top: -15px;
  height: 40px;
}

.fmd-footer-epi-text {
  margin-top: 19px;
  font: italic normal normal 16px/17px Geist;
  letter-spacing: 0px;
  color: #FFFFFF;
  opacity: 1;
}

.info-msg {
  font-size: 20px;
  color: #FF8701;
  font-weight: bold;
  font-style: italic;
}

.add-report {
  border-bottom: 2px solid;
  padding-bottom: 15px;
}

.add-seq-success {
  color: #FF8701;
  font-style: italic;
}

/*About and Info Modals*/
.about-button {
  font-size: 20px;
  font-weight: bold;
  color: #0A133A;
  border-radius: 0px;
  border-style: none none solid none;
  border-width: 3px;
  border-color: #FF8701;
  margin-right: 30px;
}

.about-button:hover, .about-button:active {
  color: white;
  background-color: #1C1F2D;
  transition: 0.7s;
}

.modal-lg:has(.about-modal):has(.modal-content) {
  width: 85%;
}