/* TODO: https://www.google.com/fonts#UsePlace:use/Collection:Open+Sans */

/* http://www.fontsquirrel.com/fonts/Walkway?filter%5Bclassifications%5D%5B0%5D=sans+serif&filter%5Blicense%5D%5B0%5D=web&sort=popular */
@font-face {
  font-family: "Walkway";
  src: url('../fonts/walkway/Walkway_SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: "Walkway Bold";
  src: url('../fonts/walkway/Walkway_Bold.ttf') format('truetype');
}
@font-face {
  font-family: "Walkway UltraBold";
  src: url('../fonts/walkway/Walkway_UltraBold.ttf');
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,800italic,800,700italic,700,600italic,600,400italic,300italic,300');
@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');


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

/* 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;
}

html {
  margin: 0;
  padding: 0;
  right: 0;
  background-color: #213453;
}

html {
  min-width: 1210px;
  margin-left: auto;
  margin-right: auto;
}

a {
  text-decoration: none !important;
}

body .body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6em !important;
  /*color: #6F8B9F;*/
  color: #7b7b7b;
}

.body h1, h2, .body h3, .body h4, .body h5, .body h6 {
  color: #577182;
  font-family: 'Open Sans', sans-serif !important;
  padding: 0;
  margin-top: 0;
}
.heading h1, h2, h3, h4 {
    color: white;
}

h1 {
  font-family: "raleway", Arial, sans-serif !important;
  font-size: 32px;
  margin-left: 14px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: 600;
}
h1.heading {
  text-align: center;
}

h2 {
  font-family: 'Walkway UltraBold' !important;
  font-size: 32px;
  letter-spacing: 2px;
}

header {
  background-color: #213453;
  color: #9e8eb8;
}

header h1.heading {
  margin-top: 84px;
}

.logo {
  width: auto;
  height: 53px;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 20px;
}

#bg-counter {
  float: right;
  width: 361px;
  height: 39px;
  margin-right: 5px;
  background-image: url("/public/img/counter-bg.png");
}

#bg-counter ul {
  list-style: none;
  -webkit-padding-start: 0px;
  -moz-padding-start: 0px;
  -khtml-padding-start: 0pk;
  -o-padding-start: 0px;
  padding-start: 0px;
}
#bg-counter ul li {
  display: inline-block;
  font-family: "Familiar Pro", sans-serif;
  font-size: 12px;
  letter-spacing: 1.1px;
  line-height: 27px;
  color: #b6dbff;
}

#bg-counter a {
  font-family: "Familiar Pro", sans-serif;
  font-size: 12px;
  letter-spacing: 1.1px;
  line-height: 27px;
  color: #63a5d3;
}

#bg-counter a:hover {
  color: yellow;
}

.label-counter {
  color: #63a5d3;
}

p {
  line-height: 27px;
  margin-bottom: 10px;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px;
  /*color: #577182;*/
}

.entry {
  margin-bottom: 20px;
}

a.download-link {
  font-weight: bold;
}

.body a.heading {
  font-weight: bold;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #3dc8d3;
}
.body a.heading:hover {
  color: #a095ba;
}

.body h5 {
  font-weight: bold;
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: 'Open Sans', sans-serif;
}

.body h3 {
  font-size: 21px;
  color: #577182;
  font-family: 'Open Sans Bold', sans-serif;
  font-style: italic;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
}

.body h4 {
  font-size: 20px;
  margin-top: 25px;
  margin-right: 20px;
  margin-bottom: 5px;
  color: #6b5e7a;
}
.body h4.label {
  font-size: 16px;
  text-transform: uppercase;
  color: #5e2f7d;
}

nav.nav {
  text-align: center;
  bottom: 0;
}
nav.nav > ul {
  list-style-type: none;
  display: inline-block;
  margin-top: 3px;
  margin-right: 28px;
  float: right;
}
nav.nav > ul > li {
  float: left;
  padding: 4px 12px;
}
nav.nav a {
  font-family: 'raleway', sans-serif;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

nav.nav a:hover {
  color: yellow;
}

nav.nav a.active {
  color: yellow;
}

.timetree-spiral {
  margin-top: 10px;
  padding: 10px;
  border: 4px solid #f2f2f2;
}

footer .content .row {
  margin-bottom: 4px;
}
footer h1, footer h2, footer h3, footer h4, footer h5  {
  margin-bottom: 18px !important;
}
footer .copyright {
  padding: 20px 0 20px 0;
  background-color: #213453;
  font-size: 11px;
}
footer li {
  font-family: "open sans", arial, sans-serif;
  font-size: 13px;
  color: #cecece;
  text-decoration: none;
  list-style: none;
}
.pdflink {
    color: #cecece;
}

.footer-heading {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
  color: white;
}

footer li a {
  font-family: "open sans", arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #cecece;
}

footer li a:hover {
  color: yellow;
}

.glyphicon-envelope {
  top: 0;
}

.copyright {
  color: #cecece;
}

button, .button {
  height: 30px;
  background-color: #6f8ba2;
  color: #fff;
  padding: 4px;
  font-weight: bold;
  cursor: pointer;
  border: 0px solid #f68535;
  margin-top: 2px;
  margin-bottom: 8px;
}
.condensed {
  width: 93px;
}
.button-margin {
  margin-right: 3px;
}
button:hover, .button:hover {
  background-color: #577182;
  border: none;
}

.inline-block {
  display: inline-block;
}

.center {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  text-align: center;
}

.about-center {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  text-align: center;
}

.content {
  width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.body a, footer a {
  font-weight: 600;
  /*color: #3dc8d3;*/
  color: #305792;
}

.body a:hover {
  color: #6f8ba2;
}
footer a.active {
    color: yellow;
    font-weight: normal;
}


.italic {
  font-style: italic;
}
.bold {
    font-weight: bold;
}
.bold-italic {
    font-style: italic;
    font-weight: bold;    
}

.group {
  margin-bottom: 24px;
}
.group2 {
  margin-bottom: 28px;
}
.wall-poster-title {
  margin-top: 20px !important;
}
.book-reviews-title {
  margin-top: 25px !important;
}
/*
.content .row {
  margin-bottom: 35px;
}
*/
.row.center .col-xs-2, .row.center .col-xs-3, .row.center .col-xs-4 {
  float: none;
}

.option-button {
  color: #fff;
  background-color: #1c88a7;
  border: 2px solid #1c88a7;/*#72b5c8;*/
}
.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;
}

i:after {
  content: "\0000a0 \0000a0 \0000a0 \0000a0";
}
i.tooltip-help {
  display: inline-block;
  padding-top: 10px;
  width: 18px;
  margin-left: 5px;
  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;
}
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 {
  width: 1140px;
  min-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.body {
  min-height: 730px;
  padding-top: 50px;
  margin-bottom: 90px;
  /*background-color: #fff;*/
}
.body:after {
  float: none;
  content: ' ';
  clear:both;
}
.body h1 {
  border-bottom: 2px solid #f2f1f9;
}

.pull-left {
  float: left;
}
.pull-right {
  float: right;
}

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

img.ipad {
  margin-top: -70px;
  margin-bottom: -60px;
  width: 240px;
  height: auto;
}

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

div.heading {
  margin: 6px 0px 6px 0px;
  background-color: #577182;
  border-radius: 2px;
  text-align: center;
  color: #fff;
  padding: 4px;
}
div.heading h1, div.heading h2, div.heading h3, div.heading h4 {
  margin: 0;
  font-family: "open sans", arial, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.50px;
  text-transform: uppercase;
  padding: 3px 12px;
  display: inline-block;
}

.hidden {
  display: none !important;
}

/* 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;
  min-width: 200px;
  margin-right: 0px;
  margin-left: 12px;
  margin-bottom: 0;
  background-color: #78869c;
  color: #fff;
  /*padding-top: 4px;*/
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 2;

  cursor: pointer;
/*  border-top-left-radius: 12px;
  border-top-right-radius: 12px;*/
  /*border-bottom: 2px solid rgba(255, 255, 255, 1);*/

  -webkit-transition: all 0.5s; /* Safari 3.1 to 6.0 */
  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;
  background-color: #78869c;
}
.tabs *:checked + label {
  background: white;
  /*border-bottom: 2px solid #3e2159;*/
  color: #5a5872;
}
.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;
}
hr.hr {
  display: block;
  margin-top: 10px;
  margin-bottom: 18px;
  height: 1px;
  border: 0;
  border-top: 1px solid #e9e2f7;
}

.subtitle {
  color: #577182;
}

.modal {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif !important;
  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%;
  transform: translate(-50%, -50%);
  color: #0e0e0e;
  background-color: #fff;
  padding: 20px 120px;
}

/* 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: 1.2em;
    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;
}

/*///////////////////////*/
/*/// Results Pop-Up ///*/
/*/////////////////////*/
.ui-dialog .ui-dialog-titlebar-close span {
    margin: -8px 0px 0 -9px;
}
.ui-dialog .ui-dialog-title {
  float: left;
  font-family: "raleway", arial, sans-serf !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px;
}
.ui-widget-content a {
    color: #337AB7;
    text-decoration: none;
    font-weight: bold;
}
.context-menu-item-value {
  font-family: "Open Sans", arial, sans-serif;
  font-size: 14px;
}
.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;
}

/* colors */
.button-green-pair {
  display: inline-block;
  cursor: pointer;
  border: none;
  height: 40px;
  width: 150px;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 40px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background-color: #909090;
}
.button-green-pair:hover {
  background-color: #8bbc4b;
  border: none;
}
.button-green {
  display: inline-block;
  cursor: pointer;
  border: none;
  height: 30px;
  width: 150px;
  font-size: 14px;
  line-height: 28px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background-color: #909090;
}
.button-green:hover {
  background-color: #8bbc4b;
  border: none;
}
.button-red-pair {
  text-align: center;
  cursor: pointer;
  border: none;
  padding: 0px;
  height: 40px;
  width: 150px;
  font-size: 14px;
  line-height: 40px;
  font-weight: 600;
  color: #fff;
  background-color: #909090;
}
.button-red:hover {
  background-color: #8bbc4b;
  border: none;
}
.button-red-pair:hover {
  background-color: #8bbc4b;
  border: none;
}
.widget-button {
  height: 36px;
  line-height: 2; 
  width: 140px;
}
.grey-div_bg {
  background-color:#f9f9f9;
  margin: 5px;
  width: 49%;
  text-align: center;
  min-height: 200px;
  padding: 20px 40px 15px 40px;
}
.news-grey-div_bg {
  background-color:#f9f9f9;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  min-height: 200px;
  padding: 7px 30px 20px 30px;
}
.title-margin {
  margin-bottom: 15px;
}
.news-margin {
  margin-bottom: 4px !important;
}
.news-category {
  font-size: 19px;
  margin-top: 10px !important;
  margin-bottom: 5px !important;
}
.news-title {
  margin-top: 15px !important;
  margin-right: 0px !important;
}
.news-description {
  margin: 0px !important;
}
.resource-h2 {
  font-family: "raleway", arial, sans-serif;
  padding-top: 10px !important;
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
}
.resource-h3 {
  font-family: "raleway", arial, sans-serif;
  padding-top: 35px !important;
  padding-bottom: 15px !important;
  margin: 0px !important;
}
.selected-literature {
  font-family: "raleway", arial, sans-serif;
  padding-top: 40px !important;
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
}


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;
    
}
.ui-tooltip {
    color: white;
}
.ui-state-active {
    border: 1px solid #aaaaaa;
    background-color: #ffffff;  
    color: #454545;
}