/*-------------------*/
/* Table of Contents */
/*-------------------*/
/* 1. #Imports
/* 2. #Animations
/* 3. #General (HTML, Body, links)
/* 4. #Typography
/* 5. #Partials
/* 5a.  ##Main Header
/* 5b.  ##Main Navigation
/* 5c.  ##Mobile Nav
/* 5d.  ##Main Content
/* 5e.  ##Footer
/* 6. #Pages
/* 6a.  ##Home
/* 6b.  ##About
/* 6c.  ##Book
/* 6d.  ##Studies
/* 6e.  ##Resources
/* 6f.  ##News
/* 6g.  ##FAQs
/* 6e.  ##Contact
*/


/*----------*/
/* #Imports */
/*----------*/
@import url('https://fonts.googleapis.com/css?family=Raleway:400,900italic,900,800italic,800,700italic,700,600italic,600,500italic,500,400italic,300italic,300,200italic,200,100italic,100');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital@0;1&display=swap');


/*-------------*/
/* #Animations */
/*-------------*/
@keyframes scale {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.01);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/*----------*/
/* #General */
/*----------*/
html, 
body {
  font-family: Raleway, Arial, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  display: flex;
  flex-direction: column;
  height: 100%;
  line-height: 1.75;
}

hr {
  margin: 1.125em auto 1.25em;
  height: 1px;
  border-color: #d1d5e5;
  max-width: 1140px;
}

/* 'Skip to main content' keyboard shortcut when Tabbing through site */
a.skip-content {
  position: absolute;
  background-color: #fff;
  border: 3px solid #3E7AC1;
  top: -99999px;
  padding: 0.75em;
  color: #fff;
}

a.skip-content:focus {
  top: 0;
  left: 0;
  z-index: 3000;
  outline: none;
}

/* Tool tips*/
i:after {
  content: "\0000a0 \0000a0 \0000a0 \0000a0";
}

i.tooltip-help {
  display: inline-block;
  position: relative;
  top: -4px;
  width: 14px;
  background-image: url('../img/redesign/help_inactive.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  cursor: pointer;
  color: white;
}

i.tooltip-help:hover {
  background-image: url('../img/redesign/help_active.svg');
}

.tooltip-style {
  position: absolute;
  font-family: "open sans", arial, sans-serif !important;
  font-size: 15px;
  max-width: 360px;
  overflow: auto;
  padding: 10px;
  background-color: #000;
}

.rank-tooltip-style {
  position: absolute;
  font-family: "open sans", arial, sans-serif !important;
  font-size: 12px;
  max-width: 360px;
  overflow: auto;
  padding: 5px;
  background-color: #fff;
}

@media only screen and (max-width: 985px) {
  .container {
    width: 100%;
  }
}

/* Custom scrollbars */
/* Webkit only - might have to use https://github.com/kamlekar/slim-scroll */
/*div::-webkit-scrollbar {*/
/*  -webkit-appearance: none;*/
/*}*/
/*div::-webkit-scrollbar:vertical {*/
/*  width: 20px;*/
/*}*/
/*div::-webkit-scrollbar:horizontal {*/
/*  height: 20px;*/
/*}*/
/*div::-webkit-scrollbar-thumb {*/
/*  background-color: #67c2c7;*/
/*}*/
/*div::-webkit-scrollbar-track-piece  {*/
/*  background-color: #f4f4f4;*/
/*}*/
/*div::-webkit-scrollbar-track {*/
/*  background-color: #f4f4f4;*/
/*}*/


/*-------------*/
/* #Typography */
/*-------------*/
h1,
h2,
h3,
h4 {
  font-family: Raleway, Arial, sans-serif;
  margin: 1em 0;
  color: #4A6A99;
  font-weight: 600;
}

h1 {
  font-size: 2.125rem;
  font-weight: 700;
  margin: 1em 0;
  color: #3382D1;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  font-size: 1rem;
  margin: 0 0 1em;
  line-height: 1.75;
}

ol,
ul {
  line-height: 1.75;
  margin: 0 0 1em;
  padding-left: 20px;
}

img {
  max-width: 100%;
  width: 100%;
}

/* Sets font-family for SVGs */
text {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.85rem;
}

::selection {
  background-color: #3382D1;
  color: #fff;
}

a:link,
a:visited {
  font-weight: 600;
  color: #C74900;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #D65718;
  outline: 2px dashed goldenrod;
  outline-offset: 3px;
  transition: 100ms ease-out;
}


/*-----------*/
/* #Partials */
/*-----------*/
/* ##Main Header */
header {
  background-color: #213453;
  padding-bottom: 5px;
}

.logo {
  margin: 15px 0;
  width: auto;
}

header a:hover {
  outline: none;
}

.study-species-counter {
  width: 361px;
  height: 39px;
  text-align: center;
  float: right;
  background-image: url("/public/img/counter-bg.png");
  font-size: 0.75rem;
  line-height: 1.5;
  color: #b6dbff;
  padding-top: 4px;
}

.studies,
.species {
  display: inline-block;
  margin: 0 5px;
}

.study-species-counter-label,
.study-species-counter a:link,
.study-species-counter a:visited {
  color: #63a5d3;
  font-weight: 600;
  text-decoration: none;
}

.study-species-counter a:hover,
.study-species-counter a:focus {
  color: #b6dbff;
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .study-species-counter {
    display: none;
  }
}

/* ##Main Navigation */
.main-nav {
  float: right;
}

.main-nav ul {
  list-style-type: none;
  padding: 0;
}

.main-nav li {
  float: left;
  padding: 0 8px;
}

.main-nav a:link,
.main-nav a:visited {
  font-family: Raleway, Arial, sans-serif;
  text-decoration: none;
  font-size: 0.875rem;
  color: #fff;
  font-weight: 600;
}

.main-nav a.active {
  color: goldenrod;
}

.main-nav a:hover {
  color: goldenrod;
  outline: none;
}

@media only screen and (max-width: 768px) {
  .main-nav {
    display: none;
  }
}

/* ##Mobile Menu */
.mobile-menu nav {
  background-color: rgba(4, 17, 30, 0.97);
  position: fixed;
  color: #fff;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 2000;
}

.mobile-menu nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 50%;
  top: 170px;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.mobile-menu nav ul li {
  transform: translateY(50px);
  opacity: 0;
}

.mobile-menu nav ul li.program-name {
  font-family: Raleway, Arial, sans-serif;
  font-size: 1.125em;
  font-weight: 600;
  color: goldenrod;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.mobile-menu nav ul li a {
  font-family: Raleway, Arial, sans-serif;
  font-size: 6vw;
  text-decoration: none;
  padding: 10px 0;
  text-align: center;
  letter-spacing: 1.35px;
  color: #fff;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.mobile-menu nav ul li a:hover {
  color: goldenrod;
}

.mobile-menu nav ul li a img {
    display: inline-block;
}

.toggle-btn {
  display: block;
  position: fixed;
  z-index: 10;
  right: 15px;
  top: 0.75em;
  margin: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2500;
  padding: 10px 15px;
  background-color: #213453;
}

.toggle-btn .bar {
  width: 30px;
  height: 3px;
  margin: 7px auto;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.toggle-btn .bar:nth-child(2) {
  width: 20px;
}

#toggle:checked ~ nav {
  opacity: 1;
  visibility: visible;
}

#toggle:checked ~ nav ul {
  top: 45%;
  transform: translate(-50%, -50%);
  width: 100%;
}

#toggle:checked ~ nav ul li {
  transform: translateY(0px);
  opacity: 1;
  text-align: center;
}

#toggle:checked + label.toggle-btn .bar {
  background-color: red;
}

#toggle:checked + label.toggle-btn .bar:nth-child(2) {
  transform: translateX(50px);
  opacity: 0;
}

#toggle:checked + label.toggle-btn .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

#toggle:checked + label.toggle-btn .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ##Main Content*/
main {
  padding: 2.5% 0 5%;
  flex-grow: 1;
}

@media only screen and (max-width: 768px) {
  main {
    padding: 10% 0;
  }
}

/* ##Footer */
footer {
  background-color: #213453;
  color: #fff;
  padding: 4em 2em;
  font-size: 0.875rem;
}

.footer-heading {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.5em;
  color: #fff;
}

footer ul {
  padding: 0;
}

footer li {
  font-size: 0.875rem;
  list-style: none;
  color: #ccc;
}

.footer-contact {
  font-size: 0.875rem;
  line-height: 1.75;
}

.copyright-info {
  margin-top: 2em;
  line-height: 1.5;
}

.citation-directions {
  line-height: 1.5;
}

footer p {
  font-size: 0.875rem;
}

footer a:link,
footer a:visited {
  font-weight: 600;
  text-decoration: none;
  color: goldenrod;
}

footer a:hover {
  text-decoration: underline;
}

/* Groups all media queries for Footer-related styling */
@media only screen and (max-width: 768px) {
  #footer-contact,
  #ios-app {
    font-size: 1.5rem;
  }
}


/*--------*/
/* #Pages */
/*--------*/
/* ##About */
.group-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25em;
}

.credits-heading {
  margin-bottom: 0.25em;
}

.credits-list {
  color: #577182;
  padding: 0;
  list-style: none;
}


/* ##Studies */


/* ##News */
.category-tag {
  position: absolute;
  top: -1px;
  right: -1px;
  background-color: #213453;
  color: #fff;
  padding: 0.25em 1em 0.35em;
  font-size: 0.875em;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 8px;
}

/* News */
.news-article,
.book-review {
  background-color: #f9f9f9;
  margin: 1em 0 2em;
  padding: 2em;
  border: 1px solid #ccc;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 3px 5px 2px rgb(0, 0, 0, 0.03);
}

.news-source {
  margin: 0 0 1em;
  font-size: 1em;
  line-height: 1.125;
}

.news-title {
  font-size: 1.375em;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 0;
}

.news-description {
  line-height: 1.5;
}

/*Shared media query for all "News" items*/
@media only screen and (max-width: 768px) {
  .news-heading {
    text-align: center;
  }
}


/* Book Reviews */
.book-reviews-heading {
  margin-top: 3em;
  font-size: 2rem;
}

.book-review-source {
  margin: 0.75em 0 0.875em;
  font-size: 1.375em;
  font-weight: 800;
  line-height: 1.25;
}

.book-review-description {
  line-height: 1.5;
}


/*Shared media query for all "Book Reviews" items*/
@media only screen and (max-width: 768px) {
  .book-reviews-heading {
    text-align: center;
  }
}

.updates-heading {
  margin: 1.5em;
}

.update {
  margin: 0 0 2em;
}

.update-date{
  font-size: 1.25em;
  margin: 0;
}

/*Shared media query for all "Updates" items*/
@media only screen and (max-width: 768px) {
  .updates-heading {
    text-align: center;
  }
  
  .update-entry {
    margin: 0 0 2em;
  }
  
  .update-date {
    text-align: center;
  }
}


/* Resources */
.resource-container,
.literature-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1em;
  margin-bottom: 3.5em;
}

.resource,
.literature {
  background-color:#f9f9f9;
  text-align: center;
  padding: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 3px 5px 2px rgb(0, 0, 0, 0.03);
}

.resource ul,
.literature ul {
  list-style-type: none;
  text-align: left;
}

.resource-name {
  margin-top: 0;
  font-size: 1.125rem;
}

.resource-description,
.literature-info {
  line-height: 1.5;
  margin: 0;
}

.resource-category-heading {
  margin-bottom: 1.5em;
}

.literature-heading {
  font-size: 2rem;
  margin-bottom: 0;
}

.resource-edu-stu-heading {
  font-size: 2rem;
  margin-bottom: 1em;
}

.literature-category-heading {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 2em;
}

/* FAQs */
.faqs-question {
  margin: 2em 0 1em;
}

.faqs-q {
  color: #6691ad;
  font-weight: 700;
}

/* Contact */


/* #HOME */
.timetree-main-heading {
  margin: 1.875em 0 0.875em;
}

.timetree-search-mode-list-heading {
  font-size: 1.25rem;
  margin: 1.25em 0 0.5em;
  font-weight: 600;
}

img.timetree-spiral {
  margin: 4em 0 1em 0;
  border-radius: 50%;
}

.progression-arrow {
  max-width: 35px;
  margin: 0 auto;
  display: block;
  position: relative;
  top: 50px;
}

@media only screen and (max-width: 768px) {
  .progression-arrow {
    transform: rotate(90deg);
    top: 0;
    max-width: 50px;
    margin: 1em auto 2em;
  }
}

.search-thumbnail {
  min-width: 64px;
  margin: 0;
  box-shadow: 0px 10px 11px -7px rgba(0, 0, 0, 0.35);
}

.search-category {
  font-size: 1rem;
  margin: 0 0 0.75em;
  letter-spacing: 0.0125em;
  font-weight: 700;
  color: #699dd1;
}

.search-step {
  font-size: 1.125rem;
  margin: 0 0 0.5em;
  font-weight: 700;
  white-space: nowrap;
}

.search-label,
.label {
  font-family: Raleway, Arial, sans-serif;
  font-size: 0.75rem;
  color: #555;
  white-space: nowrap;
  width: 100%;
}

.or-heading {
  text-align: center;
  font-weight: 900;
  font-size: 1.5rem;
  margin: 0.25em 0 0.5em;
}

.search-field {
  max-width: 100%;
  width: 100%;
  padding: 0 0.5em;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid #888888;
  margin: 0 0 0.5em;
  outline: none;
  height: 34px;
}

.search-field:focus {
  border-color: #3382D1;
  box-shadow: 0 1px 5px -1px #3382D1;
}

/* Search, Show Time, Show Timeline, etc buttons */
.search-button,
.button-primary {
  background-color: #4A6A99;
  background: linear-gradient(0deg, rgba(74,106,153,1) 0%, rgba(77,118,177,1) 13%, rgba(62,122,193,1) 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  max-width: 100%;
  width: 100%;
  min-height: 34px;
  border-radius: 4px;
  margin: 0 0 0.5em;
  outline: none;
  box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05);
}

.error-btn-enabled {
  background-color: #4A6A99;
  background: linear-gradient(0deg, rgba(74,106,153,1) 0%, rgba(77,118,177,1) 13%, rgba(62,122,193,1) 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  max-width: 100%;
  width: 100%;
  min-height: 34px;
  border-radius: 4px;
  margin: 0 0 0.5em;
  outline: none;
  box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05);
}


/* TEMP SOLUTION TO GETTING SEARCH BUTTONS
FROM BUILD A TIMETREE TO DISPLAY CORRECT COLORS */
button.button.col-xs-12 {
  background: linear-gradient(0deg, rgba(74,106,153,1) 0%, rgba(77,118,177,1) 13%, rgba(62,122,193,1) 100%);
}

.search-button:hover,
.button-primary:hover {
  background-color: #3E7AC1;
  background: #3382D1;
}

/* remove active, mobile styles */
.button-primary:focus,
.search-button:focus {
   background: #3382D1;
}

/* Grouped Media queries for Search buttons, Search fields, etc */
@media only screen and (max-width: 768px) {
  .search-section-container {
    padding: 0 0 1em;
    display: flex;
    align-items: center;
  }
  
  .search-headings-container {
    padding: 0;
  }
  
  .search-category {
    text-align: center;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.5;
  }
  
  .search-step {
    text-align: center;
  }
  
  .search-heading {
    font-size: 2rem;
    text-align: center;
    margin: 1.75em 0 1.5em;
  }
  
  .search-label,
  .label {
    font-size: 1rem;
    text-align: left;
  }
    
  .search-button {
    margin-top: 1em;
  }

  .search-step {
    font-size: 1.5rem;
    margin: 0 0 1em;
    padding-left: 14px;
  }

  .search-field,
  .search-button {
    padding: 0.25em 0.75em;
    max-width: 100%;
    width: 100%;
    border-radius: 4px;
    margin: 0 0 1em;
    min-height: 50px;
    outline: none;
  }

  .search-button:hover {
    border: none;
  }
  
  .search-field,
  .search-button,
  .tab-content select {
    padding: 0.25em 0.75em;
    min-height: 50px;
    margin: 0 0 1em;
  }
}

/* Studies heading from Search Results page */
.search-studies-heading {
  margin: 1.5em 0 1em; 
}

/* Styles disabled search fields, buttons, etc */
.disabled h1,
.disabled h2,
.disabled h3,
.disabled h4,
.disabled .search-category,
.disabled label {
    color: #ccc;
}

.disabled button,
.disabled button:hover {
    background-color: #ccc;
    background: #ccc;
}

.disabled select {
    border: 2px solid #ccc;
}



.option-button {
  color: #fff;
  background-color: #1c88a7;
  border: 2px solid #1c88a7;
}

.option-button:hover {
  border: 2px solid #72b5c8;
}

.option-button .label {
  color: #fff;
  font-size: 19px;
  font-family: "Walkway UltraBold" !important;
  font-weight: normal;
}
.option-button .labeled {
  float: right;
  background-color: #fff;
  border: 1px solid #fff;
}
.option-button input, .option-button select {
  color: #000;
  padding: 0;
}

select.options-toggle > option {
  color: gray;
  text-decoration: line-through;
}
select.options-toggle > option.option-enabled {
  color: #fff;
  text-decoration: none;
}


#pairwiseSvg {
  display: flex;
}


/*
input, select {
  outline: none;
  border: 2px solid #7b7b7b;
  border-radius: 0;
  padding: 3px;
}
input:focus, select:focus {
  transition: all .3s linear;
    border-radius: 0;
    border: 2px solid #6f8ba2 !important;
}
*/

/*
label.label {
  font-family: "open sans", arial, sans-serif !important;
  color: #7b7b7b;
  font-weight: bold;
  font-size: 90%;
  line-height: 180%;
  padding: .2em .6em .3em;
}
*/

/*
.wrap {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
*/


.stripe {
  background-color: #3e2159;
  height: 20px;
  width: 100% !important;
}


/*div.scrollable {*/
/*  display: block;*/
/*  overflow-y: auto;*/
/*}*/

/* Tabs adapted from http://webdesignerhut.com/create-pure-css-tabs/ */
.tabs {
  float: none;
  list-style: none;
  padding: 0;
  
}

.tabs:after {
  content: '';
  display: table;
  clear: both;
  margin: 0;
}

.tabs input[type=radio] {
  display: none;
}

.tabs label {
  display: block;
  float: left;
  padding: 0 1.75em;
  margin-bottom: 0;
  background-color: #78869c;
  color: #fff;
  text-align: center;
  cursor: pointer;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  transition: all 0.5s;
}

.tabs label span {
  display: none;
}

.tabs label i {
  padding: 5px;
  margin-right: 0;
}

/*
.tab-content {
  display: none;
  width: 100%;
  box-sizing: border-box;
}
*/

.visible-tab-content {
  width: 100%;
  box-sizing: border-box;    
}

.tabs i {
  padding: 5px;
  margin-right: 10px;
}

.tabs label span {
  display: inline-block;
}

.tabs {
  margin: 0 auto;
  max-width: 1140px;
  background-color: #78869c;
}

.tabs *:checked + label {
  background: #fff;
  color: #5a5872;
  margin-top: -5px;
  padding-bottom: 5px;
}

.tabs label:focus {
  background-color: #fff;
  color: #3382D1;
}


.tab-content div {
  -webkit-animation: scale 0.4s ease-in-out;
  -moz-animation: scale 0.4s ease-in-out;
  animation: scale 0.4s ease-in-out;
}

.tabs-background {
  background-color: #78869c;
  margin-top: -2.5%;
}

@media only screen and (max-width: 768px) {
  .tabs-background {
    margin-top: -10%;
  }
}


/* Modal that appears when Search is loading, or whenever there is a form validation error */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  height: 100%;
  width: 100%;
  display: none;
}

.modal-content {
  /*position: absolute;*/
  top: 50%;
  left: 50%;
  color: #000;
  transform: translate(-50%, 50%);
  background-color: #fff;
  padding: 1em;
}

/* grid fixes */
.container_12 .grid_1_5 {
  width: 100px;
}
.grid_1_5 {
  display: inline;
  float: left;
  margin-left: 10px;
  margin-right: 10px;
}
.error {    
    font-size: 0.875rem;
    font-weight: bold;
    color: #df5a6f;
}
.error-div {
    width: 350px;
}
.study-time {
    text-align: right;
}
.timeline-heading {
  background-color: #3e2159;
  border-radius: 2px;
  text-align: center;
  color: #fff;
  padding: 4px;
}
#timeline-results-header {
    text-transform: none;
}

.centered-svg svg {
    display: block;
    margin:auto;
}







.context-menu-item-value {
  font-family: "Open Sans", arial, sans-serif;
  font-size: 14px;
}


.context-menu-item-name {
  font-family: "open sans", arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
}

#ncbi-link a {
    color: #7b688e;
}

#ncbi-link a:hover {
    color: #3e2158;
}



























@media only screen and (max-width: 768px) {
  #timeline-svg-wrapper {
  margin-top: 50px;
  }
}





.studies-dload {
    margin-bottom: -20px;
    max-height: 40px;    
}

.studies-table tbody {
    /*height: 200px;*/
    overflow: auto;
}

.border-top {
    border-top: 1px solid rgba(0,0,0,0.5);   
    padding-top: 10px;
}

.widget-button {
  height: 36px;
  line-height: 2; 
  width: 140px;
}

td:hover .name {opacity:1;}
td:hover .pic {opacity:0.5;}

#beta-label {
  font-size: 34px;
  background-color: #5b6c8a;
  color: #d5dbe6;
  padding: 0 20px;
  position: absolute;
  top: 16px;
  font-family: 'Open Sans Bold', sans-serif;
}

#timetree-stats {
  float: right;
  margin-top: 20px;
  color: #d5dbe6;    
  font-weight: bold;
}

#studies-counter {
  margin-left: 21px;
  margin-bottom: 3px;  
}

#studies-counter span {
  background: rgba(120,134,156,1);
  background: -moz-linear-gradient(top, rgba(120,134,156,1) 0%, rgba(33,52,83,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(120,134,156,1)), color-stop(100%, rgba(33,52,83,1)));
  background: -webkit-linear-gradient(top, rgba(120,134,156,1) 0%, rgba(33,52,83,1) 100%);
  background: -o-linear-gradient(top, rgba(120,134,156,1) 0%, rgba(33,52,83,1) 100%);
  background: -ms-linear-gradient(top, rgba(120,134,156,1) 0%, rgba(33,52,83,1) 100%);
  background: linear-gradient(to bottom, rgba(120,134,156,1) 0%, rgba(33,52,83,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#78869c', endColorstr='#213453', GradientType=0 );   
  font-family: sans-serif;
}

#species-counter span {
  font-family: sans-serif;
  font-weight: bold;
  background: rgba(33,52,83,1);
  background: -moz-linear-gradient(top, rgba(33,52,83,1) 0%, rgba(120,134,156,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(33,52,83,1)), color-stop(100%, rgba(120,134,156,1)));
  background: -webkit-linear-gradient(top, rgba(33,52,83,1) 0%, rgba(120,134,156,1) 100%);
  background: -o-linear-gradient(top, rgba(33,52,83,1) 0%, rgba(120,134,156,1) 100%);
  background: -ms-linear-gradient(top, rgba(33,52,83,1) 0%, rgba(120,134,156,1) 100%);
  background: linear-gradient(to bottom, rgba(33,52,83,1) 0%, rgba(120,134,156,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#213453', endColorstr='#78869c', GradientType=0 );  
}

#timetree-stats span {
  border: 1px solid gray;
  padding: 1px 4px;
  margin-right: 1px;
  /*color: #ccc;*/
  color: white;
  border-radius: 2px;
}




/* Overrides JQuery-UI.min.css */
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  border: 2px solid #222;
  background: #ddd;
}

.ui-state-default:hover,
.ui-widget-content .ui-state-default:hover,
.ui-widget-header .ui-state-default :hover {
  background: #222;
  color: #fff;
}

.ui-tooltip {
  color: #fff;
}



table.dataTable thead th.ui-state-default:first-child,
table.dataTable tfoot th.ui-state-default:first-child {
  border-left-width: 2px;
}

.dt-buttons.ui-buttonset {
  display: flex;
}

.dt-buttons.ui-buttonset:last-child {
  margin-right: 2em;
}


#time-estimates_length > label {
  display: flex;
  align-items: center;
}

.ui-state-default {
  font-size: 0.8rem;
  font-weight: 600;
}

.timetree-buttonset.ui-buttonset {
  margin-bottom: 2.25em;
}

.ui-state-active {
  border: 3px solid #000;
  color: #444;
  border-radius: 4px;
  background-color: #fff;
  z-index: 2000;
  box-shadow: 0 1px 3px 1px rgb(0 0 0 / 10%);
}

.ui-buttonset .ui-button {
  margin: 0;
}

.ui-button-text-only .ui-button-text {
  padding: 0.5em 0.4em;
}

.ui-dialog .ui-dialog-titlebar-close {
  top: 0;
  height: 37px;
  right: 0;
  margin: 0;
    width: 30px;
}







/*///////////////////////*/
/*/// Results Pop-Up ///*/
/*/////////////////////*/

.context-menu {
  z-index: 9999;
  display: none;
}

.ui-dialog-titlebar {
    background-color: #6f8ba2;
    color: #fff;
}

.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.context-menu.ui-draggable.ui-resizable {
  font-family: Raleway, Arial, sans-serif;
  box-shadow: 0 5px 15px 5px rgb(0 0 0 / 20%);
  max-width: 400px !important;
  height: auto !important;
  width: auto !important;
}

.ui-dialog .ui-dialog-title {
  font-family: Raleway, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0px;
}

.ui-dialog-titlebar {
  background: linear-gradient(0deg, rgba(74,106,153,1) 0%, rgba(77,118,177,1) 13%, rgba(62,122,193,1) 100%);
  margin-bottom: 1em;
}


.ui-dialog .ui-dialog-content {
  padding: 0;
  width: auto !important;
}

.ui-widget-content {
  border: 3px solid #3E7AC1;
  border-radius: 4px;
  padding: 1em;
}


.ui-widget-content a {
    color: #337AB7;
    text-decoration: none;
    font-weight: bold;
}





/* Overrides Datatables.min.css CDN */
div.dt-buttons .dt-button {
  margin-right: 0.5em;
  border-radius: 4px;
}

.dataTables_wrapper .dataTables_filter input {
  border-radius: 4px;
}

.dataTables_wrapper .dataTables_paginate .fg-button:hover {
  color: #fff;
  outline: none;
}

div#time-estimates_filter {
  float: left;
  margin-bottom: 0.5em;
}

div#time-estimates_length {
  float: right;
}

#pairwiseSvg {
  display: flex;
  justify-content: center;
  align-items: center;
}

#pairwise-results {
    margin: 0 0 0 1em;
}

#pairwise-results rect {
  fill: #333;
  stroke-width: 0;
}

#pairwise-results text {
  font-family: Roboto, Arial, sans-serif;
}

#pairwise-results rect + text {
  fill: #fff;
  font-size: 1rem;
  font-family: Roboto, Arial, sans-serif;
  border-radius: 39px;
}

#timeline-geo-timescales {
  margin-left: 2px;
}

@media only screen and (max-width: 768px) {
  #pairwiseSvg {
    margin-top: 30px;
    border: none;
  }
  
  #pairwise-luminosity,
  #pairwise-co2,
  #pairwise-o2,
  #pairwise-impacts,
  #pairwise-eons,
  #pairwise-eras,
  #pairwise-periods,
  #pairwise-epochs,
  #pairwise-ages {display: none;}
  
  /*svg#pairwise-hit-records {*/
  /*  margin-left: auto;*/
  /*}*/
  


  
  #timeline-luminosity,
  #timeline-co2,
  #timeline-o2,
  #timeline-impacts {display: none; }
}


#timeline-results rect[scientific-name] + text {
  fill: #fff;
  letter-spacing: -0.10px;
  font-family: Roboto, Arial, sans-serif;
}

rect[scientific-name] {
  fill: #333;
  stroke: #333;
  stroke-width: 2;
}
rect.div-time {
  fill: #fff;
}



div#timeline-panels {
  display: flex;
  justify-content: center;
}


@media only screen and (max-width: 768px) {
  div#timeline-panels {

  }
}


.dataTables_wrapper {
  overflow: auto;
}

.dt-buttons.ui-buttonset {
  justify-content: center;
}

table.dataTable thead th, table.dataTable thead td {
  padding: 0;
}



.toggle-checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}

input[type=checkbox].ui-helper-hidden-accessible {
    border: 0;
    clip: auto;
    height: auto;
    margin: auto;
    overflow: hidden;
    padding: 0;
    position: static;
    width: auto;
}


/* Bootstrap override */
input[type=checkbox],
input[type=radio] {
  margin: 0;
}





/* Slideshow */
.slideshow {
  margin-top: 60px;
  margin-bottom: 60px;
}

div#carousel-example-generic {
  overflow: hidden;
  border-radius: 1em;
  box-shadow: 0px 5px 10px 5px rgb(0 0 0 / 10%);
}

/* Previous and Next arrows */
.carousel-control:link,
.carousel-control:visited {
  color: #fff;
}

.carousel-control.left,
.carousel-control.right {
  background: none;
}

.carousel-control .icon-next,
.carousel-control .icon-prev {
  font-size: 60px;
  margin-top: -30px;
}

.carousel-indicators {
  bottom: 11px;
  margin-bottom: 0;
}

.carousel-caption {
  left: 0;
  right: 0;
  top: -20px;
}

.carousel-caption p {
  font-family: "Roboto", sans-serif;
  margin-bottom: 0;
  font-size: clamp(0.825rem, 1vw, 1rem);
  line-height: 1.5;
  /*background-color: rgba(0, 0, 0, 0.75);*/
  padding: 1.125em;
  text-shadow: 0 2px 2px #000;
  text-align: left;
}