#header {
    background: #222;
    /*padding: 10px 0;*/
}

#header-links {
    float: right;
    color: white;
}

#transcript_dropdown {
    margin: 0px 0px 20px 0px;
}

#header-links a {
    color: white;
    font-weight: bold;
}

.navbar {
    margin-bottom: 0px;
}

.navbar .navbar-form{
    padding: 0 15px;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.nav>li>a {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

#home-title {
    text-align: center;
    padding: 30px;
}

#home-searchbox {
    margin: 20px 0;
}

.twitter-typeahead {
    width: 100%;
}

.link {
    cursor: pointer;
}

.dl-horizontal dt {
    white-space: normal;
}

.tt-query {
  color: #000;
}

.tt-hint {
  color: #999;
}

.lof_variant {
    color: #cd2932 !important;
    fill: #cd2932 !important;
}

.missense_variant {
    color: #a96500 !important;
    fill: #a96500 !important;
}

.synonymous_variant {
    color: #157e28 !important;
    fill: #157e28 !important;
}

.tooltip_hover {
    border-bottom: dotted 1px #000;
}

.section_header {
    font-weight: bold;
    font-size: 24px;
}

.d3-tip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
}

/* Style northward tooltips differently */
.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}

.table_hover {
    background-color: #b5f7ff !important;
}

th.allele_frequency_column {
    width: 150px;
}

/* tooltips - based on http://cbracco.me/a-simple-css-tooltip/ */
/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
    visibility: hidden;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
    position: absolute;
    white-space: pre;
    bottom: 150%;
    left: 50%;
    margin-bottom: 5px;
    margin-left: -40px;
    padding: 7px;
    width: auto;
    -webkit-border-radius: 3px;
    -moz-border-radius:    3px;
    border-radius:         3px;
    background-color: #000;
    background-color: hsla(0, 0%, 20%, 0.9);
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #000;
    border-top: 5px solid hsla(0, 0%, 20%, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}


/** @bw2 - class that shifts tooltip down to make it look better on variant table headers
TODO: come up with a better way to position tooltip
*/
.tooltip-table-header:hover:before,
.tooltip-table-header:hover:after,
.tooltip-table-header:focus:before,
.tooltip-table-header:focus:after {
    -webkit-transform: translate(-5px, 7px);
    -moz-transform:    translate(-5px, 7px);
    transform:         translate(-5px, 7px);
}

.coverage-plot-controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.coverage-plot-controls-left {
  display: flex;
  flex-direction: column;
}

.coverage-plot-controls-left-selectors {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.coverage-plot-controls-left-selectors {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.coverage-plot-controls-left-legend {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 10px;
}

.coverage-plot-label {
  font-weight: bold;
  margin-right: 5px;
}

#include_utrs_checkbox {
  margin-left: 5px;
}

.legend-square-exomes {
  width: 15px;
  height: 15px;
  margin-right: 5px;
  background-color: rgba(70, 130, 180, 1);
  border: 1px solid #000;
}
.legend-square-genomes {
  width: 15px;
  height: 15px;
  margin-left: 10px;
  margin-right: 5px;
  background-color: rgba(115, 171, 61, 1);
  border: 1px solid #000;
}

.variant_selector_group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  /*border: 1px solid green;*/
}

@media (max-width: 600px) {
  .variant_selector_group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    /*border: 1px solid green;*/
    height: 160px;
    margin-bottom: 20px;
  }
}

.variant_selectors_container {
  width: 30%;
  border: 1px solid blue;
}

.variant_selector_checkbox_container {
  padding-left: 10px;
  height: 100%;
  width: 50%;
  /*border: 1px solid yellow;*/
}

.variant_selector_checkbox_title {
  width: 100%;
  height: 30%;
  font-weight: bold;
  padding-left: 3px;
  /*border: 1px solid orange;*/
}

.variant_selector_checkboxes {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex-shrink: 1;
  align-items: flex-start;
  justify-content: center;
  height: 70%;
  width: 100%;
  padding-left: 12px;
  border: 1px solid lightgrey;
  border-radius: 5px;
}
@media (max-width: 600px) {
  .variant_selector_checkboxes {
    padding-left: 0;
    border: 0;
    height: 85%;
    justify-content: flex-start;
  }
  .variant_selector_checkbox_title {
    width: 100%;
    height: 15%;
    font-weight: bold;
    padding-left: 3px;
    /*border: 1px solid orange;*/
  }
}
.variant_selector_checkboxes label {
  font-weight: normal !important;
  display: flex;
  margin-bottom: 0;
}

.checkbox-label {
  /*margin-left: 10px;*/
  padding-left: 5px;
}

.data-indicators {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
}

.label-danger {
  /*border: 1px solid #000;  */
}

.data-indicator-ExAC {
  margin-right: auto;
}

.data-indicator-child {
  padding: 4px 6px 3px 6px;
  display: flex;
  align-items: center;
}
.data-indicator-child.label-success {
  background-color: #4682b4;
  border: 1px solid #000;
}
.data-indicator-child.label-success.data-indicator-gnomAD {
  background-color: rgba(115, 171, 61, 1);
  border: 1px solid #000;
}
.data-indicator-child.label-warning {
  background-color: rgba(70, 130, 180, 0.4);
  /*background-color: rgba(255, 0, 0, 0.6);*/
  border: 1px dashed #000;
}
.data-indicator-child.label-warning.data-indicator-gnomAD {
  background-color:rgba(115, 171, 61, 0.4);
  /*background-color: rgba(255, 0, 0, 0.6);*/
  border: 1px dashed #000;
}
.frequency-container  {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.btn-info {
  background-color: grey;
  border: none;
}
.btn-info:hover {
  background-color: #69584E;
  border: none;
}

.population_selector_checkbox_container {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
  /*border: 1px solid blue;*/
}

.population_selector_checkbox_title {
  font-weight: bold;
  margin-right: 15px;
  /*border: 1px solid orange;*/
}

.population_selector_checkboxes {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  /*border: 1px solid #9C27B0;*/
}

.checkbox-label {
  /*margin-left: 10px;*/
  padding-left: 5px;
  margin-right: 20px;
}

.population_selector_checkboxes label {
  font-weight: normal !important;
  display: flex;
  margin-bottom: 0;
}

.quality_display_button_group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.genotype-quality-bottom-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 5px;
  /*border: 1px solid blue;*/
}

.site-quality-data-selector-form {
  display: flex;
  flex-direction: row;
  margin-bottom: 8px;
  /*margin-left: 20px;*/
  /*border: 1px solid purple;*/
}

.genotype-quality-data-selector-form {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  /*border: 1px solid purple;*/
}

.dataRadio {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-right: 10px;
  /*border: 1px solid #B71C1C;*/
}

.dataRadio input {
  margin-right: 3px;
}

.upper-display-dt {
  /*border: 1px solid #FCE4EC;*/
}

.upper-display-row {
  display: flex;
  flex-direction: row;
  width: 280px;
  /*border: 1px solid #BF360C;*/
}

.upper-display-cell {
  /*border: 1px solid #D4E157;*/
  overflow: hidden;
  width: 33%;
}

.upper-display-cell.bold {
  font-weight: bold;
}

#ibd-footer {
  display: block;
  font-size: 12px;
  margin-top: 12px;
}

#variant_table {
  table-layout: fixed;
}

#th-variantid, #td-variantid {
  width: 150px;
}
#th-data, #td-data {
  width: 50px;
}
#th-hgvs, #td-hgvs {
  padding-left: 5px;
  width: 100px;
}
#th-vep, #td-vep {
  width: 100px;
}
#th-flags, #td-flags {
  width: 50px;
}
#th-ac, #td-ac {
  width: 65px;
}
#th-an, #td-an {
  width: 65px;
}
#th-hom, #th-hem, #td-hom, #td-hem {
  width: 80px;
}
#th-af, #td-af {
  width: 100px;
}

@media (max-width: 768px) {
  #th-variantid, #td-variantid {
    width: 110px;
    overflow: hidden;
  }
  #th-data, #td-data {
    width: 50px;
  }
  #th-hgvs, #td-hgvs {
    padding-left: 5px;
    padding-right: 5px;
    width: 90px;
    overflow: hidden;
  }
  #th-vep, #td-vep {
    width: 80px;
  }
  #th-flags, #td-flags {
    width: 50px;
  }
  #th-ac, #td-ac {
    width: 60px;
  }
  #th-an, #td-an {
    width: 65px;
  }
  #th-hom, #th-hem, #td-hom, #td-hem {
    width: 65px;
  }
  #th-af, #td-af {
    width: 100px;
  }
}

.credits {
  font-size: 13px;
}
.credit-section {
  padding-left: 0px;
  padding-right: 5px;
}
.credits ul {
  list-style: none;
  padding-left: 0px;
}
.credits li {
  padding-left: 0px;
}
.credit-subset li {
  padding-left: 25px;
}
.credit-pi-second {
  margin-top: 60px;
}
@media (max-width: 993px) {
  .credits {
    font-size: 16px;
  }
  .credit-pi-first {
    margin-bottom: 0px;
  }
  .credit-pi-second {
    margin-top:  0px;
  }
}

.notification {
  display: flex;
  justify-content: center;
  background-color: rgb(66, 133, 244);
  width: 100%;
}

.notification a {
  text-align: center;
  margin-bottom: 0px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
}

.notification p {
  text-align: center;
  margin-bottom: 0px;
  color: #FFFFFF;
  font-weight: normal;
}

.disclaimer {
  background-color: #B71C1C;
  color: #FFFFFF;
  width: 100%;
}

.disclaimer p {
  text-align: center;
  margin-bottom: 0px;
}

.jobs {
  display: flex;
  justify-content: center;
  width: 100%;
}

.jobs p {
  margin-bottom: 0px;
}

.jobs a {
  color: #428bca;
}

.btn.btn-info.report {
  margin-top: 5px;
  background-color: #F5F5F5;
  color: #000000;
  /*border: none;*/
}
.btn.btn-info.report:hover {
  background-color: #E0E0E0;
  /*border: none;*/
}

.download-header {
  padding-left: 13px;
  margin-bottom: 15px;
}

.download-tables {
  display: flex;
  flex-direction: row;
  /*border: 1px solid blue;*/
  margin-right: 10px;
  /*width: 2000px;*/
}

.download-table-group {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
}

.downloads-table {
  margin-bottom: 32px;

}

.download-code {
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 15px;
}

#filter-status-genome {
  /*display: flex;
  flex-direction: column;
  width: 1px;*/
}
#filter-status-exome {
  /*display: flex;
  flex-direction: column;*/
}
.label-info {
    background-color: #7e7e7e; !important
}
