body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #2a2b2e;
  background-color: #f2f2f2;
  padding-top: 60px;
  padding-bottom: 40px;
}

/* for checking vertical rhythm */
/*body{     
    background-image: -webkit-linear-gradient(#f9f9f9 .05em, transparent .05em);
    background-image:    -moz-linear-gradient(#f9f9f9 1px, transparent 1px);
    background-image:     -ms-linear-gradient(#f9f9f9 1px, transparent 1px);
    background-image:      -o-linear-gradient(#f9f9f9 1px, transparent 1px);
    background-image:         linear-gradient(#f9f9f9 1px, transparent 1px);
    background-size: 100% 20px;
}*/

/* navbar */
.navbar-fixed-top .navbar-inner {
  background-image: none;
  background-color: #fff;
  border-bottom: 1px solid #cdcdcd;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);

}


/* Tabs */
.nav-tabs {
  border-bottom: 1px solid #e9e9e9;
  margin-bottom: 0;
}

.nav-tabs > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 20px;
  border: 1px solid transparent;
  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
          border-radius: 4px 4px 0 0;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
  border-color: #eeeeee #eeeeee #e9e9e9;
}

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus {
  color: #2a2b2e;
  cursor: default;
  background-color: #fafafa;
  border: 1px solid #e9e9e9;
  border-bottom-color: transparent;
}

.nav-tabs > .active.bibliography > a,
.nav-tabs > .active.bibliography > a:hover,
.nav-tabs > .active.bibliography > a:focus {
  background-color: #fff;
}

.tab-pane {
  padding: 20px 10px;
  background-color: #fafafa;
}

.tab-pane.no-pad {
  padding: 0;
}


/* Sidebar */
.sidebar {
  background-color: #fafafa;
  color: #343238;

  -webkit-border-top-right-radius: 4px;
     -moz-border-top-right-radius: 4px;
          border-top-right-radius: 4px;
  -webkit-border-top-left-radius: 4px;
     -moz-border-top-left-radius: 4px;
          border-top-left-radius: 4px;

  
}

.sidebar-header{
  padding: 40px 10px;
  background-color: #2b2b2e;
  text-align: center;
  color: #fff;
  
  padding-bottom: 35px;
  border-bottom: 5px solid #2b2b2e;
  
  background-image: -ms-radial-gradient(center, circle farthest-corner, #404045 0%, #2B2B2E 100%);
  background-image: -moz-radial-gradient(center, circle farthest-corner, #404045 0%, #2B2B2E 100%);
  background-image: -o-radial-gradient(center, circle farthest-corner, #404045 0%, #2B2B2E 100%);
  background-image: -webkit-gradient(radial, center center, 0, center center, 496, color-stop(0, #404045), color-stop(1, #2B2B2E));
  background-image: -webkit-radial-gradient(center, circle farthest-corner, #404045 0%, #2B2B2E 100%);
  background-image: radial-gradient(circle farthest-corner at center, #404045 0%, #2B2B2E 100%);
  
  -webkit-border-top-right-radius: 4px;
     -moz-border-top-right-radius: 4px;
          border-top-right-radius: 4px;
  -webkit-border-top-left-radius: 4px;
     -moz-border-top-left-radius: 4px;
          border-top-left-radius: 4px;
}

body.author  .sidebar-header { border-color: #4d95be; }
body.name    .sidebar-header { border-color: #d36e2b; }
body.concept .sidebar-header { border-color: #899369; }
body.phylogeny .sidebar-header { border-color: #899369; }


  .sidebar-header #title {
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
    text-shadow: 0px -1px 1px rgba(0, 0, 0, 0.5);
    
    display: inline;
    background-repeat: no-repeat;
  }
  
  body.author .sidebar-header #title {
    background-image: url(/images/icon-author-white.png); 
    background-position: left 1px;
    padding-left: 22px;
  }
  
  body.name  .sidebar-header #title { 
    background-image: url(/images/icon-tag-white.png); 
    background-position: left 1px;
    padding-left: 34px;
  }
  
  /* rdmp */
  
  body.publication  .sidebar-header #title { 
    background-image: url(/images/icon-doc-white.png); 
    background-position: left 1px;
    padding-left: 34px;
  }
  
  body.journal  .sidebar-header #title { 
    background-image: url(/images/icon-books-white.png); 
    background-position: left 1px;
    padding-left: 34px;
  }
  
  
  body.search  .sidebar-header #title { 
    background-image: url(/images/icon-search-white.png); 
    background-position: left 1px;
    padding-left: 34px;
  }
  
  body.phylogeny .sidebar-header #title {
    background-image: url(/images/icon-phylogram-white.png); 
    background-position: left 1px;
    padding-left: 22px;
  }  
  
  body.phylogeny .toolbarbutton {
  	padding:2px;
  	border:2px solid rgb(228,228,228);
  	height:24px;
  }  
 
  

.sidebar-section {
  margin: 0;
  padding: 0;
  background-color: #fff;
}

  .sidebar-section h3 {
    font-weight: normal;
    font-size: 18px;
    line-height: 18px;
    margin: 0;
    padding: 10px 0 10px 10px;
    background-color: #fafafa;
    border-bottom: 1px solid #f2f2f2;
    border-top: 1px solid #f2f2f2;
    
 }
  
  
  .sidebar-section ul {
    list-style: none;
    margin: 0;
  }
  
  .sidebar-section li {
    margin: 0 10px;
    line-height: 20px;
        
    -webkit-box-shadow: inset 0px -1px 0px 0px #f6f6f6;
    box-shadow: inset 0px -1px 0px 0px #f6f6f6;
    
  }

  .sidebar-section li:last-child {
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .sidebar-metadata {
    background-color: #fff;
    
    -webkit-box-shadow: 0px 1px 0px #f2f2f2;
    -moz-box-shadow:    0px 1px 0px #f2f2f2;
    box-shadow:         0px 1px 0px #f2f2f2;
        
    -webkit-border-bottom-right-radius: 4px;
       -moz-border-bottom-right-radius: 4px;
            border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
       -moz-border-bottom-left-radius: 4px;
            border-bottom-left-radius: 4px;
    
  }
  
  /* this keeps stats from "word wrapping" if column becomes too narrow */
  .sidebar-metadata .stats {
    overflow:hidden;
    height: 60px;
    
  }
  
  .sidebar-metadata .metadatum {
    float: left;
    margin: 10px 0;
    padding: 0 10px;
    text-align: center;
    border-right: 1px solid #f2f2f2;
  }
  
  .sidebar-metadata .metadatum:last-child { border-right: none; }
  
  .metadatum-title {
    font-size: 10px;
    text-transform: uppercase;
    color: #d2d3d7;
  }
  
  .metadatum-value {
    font-size: 20px;
  }


  .sidebar #cluster .authority {
    border-top: 1px solid #f2f2f2;
    padding: 10px 0 0 10px
  }
  
  .authority {
    font-size: 10px;
    line-height: 20px;
    color: #d2d3d7;
    text-transform: uppercase;
  }

  .authority-name {
    color: #2a2b2e;
  }

  
  
  .sidebar #cluster .snippet {
    height: auto;
    background-color: transparent;
    border-bottom: none;
  }
  
  .sidebar #cluster .snippet .details {
    margin-left: 60px;
  }
  
  .sidebar .image-gallery {
    padding-left: 5px;
    max-height: 200px;
    overflow: hidden;
  }
  .sidebar .image-gallery img{
    margin: 10px 5px;
    height: 80px;
    width: 80px;
  }


  
/*  body.author  .sidebar-section#taxa h3 {
    background: url(/bionames-api/images/icon-tag-blue.png) no-repeat 5px 13px;
    padding-left: 40px;
  }
  body.author  .sidebar-section#coauthors h3 {
    background: url(/bionames-api/images/icon-author-blue.png) no-repeat 5px 9px;
    padding-left: 32px;
  }
  
  body.name  .sidebar-section#concepts h3 {
    background: url(/bionames-api/images/icon-taxon-concept-orange.png) no-repeat 5px 6px;
    padding-left: 32px;
  }
  
  body.name  .sidebar-section#related h3 {
    background: url(/bionames-api/images/icon-tag-orange.png) no-repeat 5px 13px;
    padding-left: 40px;
  }*/
  
  

/* Simple tree */
.classification
{
	list-style-type:none;
	margin-left:6px;
	padding:0px;
}

.classification li {
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;

}

.root 
{
  margin-left: 0px;
  padding: 0px 0px 0px 10px;
  background: url("/images/root.png") no-repeat 0 0;
  line-height:16x;
}	

.child 
{
  margin-left: 0px;
  padding: 0px 0px 0px 10px;
  background: url("/images/child.png") no-repeat 0 0;
  line-height:16x;
}	

.lastchild 
{
  margin-left: 0px;
  padding: 0px 0px 0px 10px;
  background: url("/images/lastchild.png") no-repeat 0 0;
  line-height:16x;
}	
  
  

/* Snippets */
.snippet-wrapper {
	height: 120px;
  width: 320px;
	overflow: hidden;
  float: left;
  border-right: 1px solid #f9f9f9;
}
  
.snippet {
  background-color: #fff;
  padding: 20px;
  color: #181c1f;
	height: 80px;
  overflow: hidden;
  position: relative;
  
  /* stay on rhythm despite a bottom border */
  padding-bottom: 19px;
  border-bottom: 1px solid #f9f9f9;
}

.sidebar .snippet {
  width: auto;
  padding: 10px 10px 9px 10px;
  
}

.snippet a {
 	color: inherit;
}

.snippet .thumbnail_blank {
  float: left;
  width:60px;
  height:80px;
  background-color: #fafafa;
  border: 1px solid #f2f2f2;
  border-radius: 2px;

}

.snippet .thumbnail {
  float: left;
  height: 80px;
  padding: 0;
  overflow: hidden;
  background-color: #fafafa;
  border: 1px solid #f2f2f2;
  border-radius: 2px;
}

.snippet .thumbnail.concept-thumb {
  width: 80px;
}

.snippet .thumbnail.concept-thumb img {
  display: block;
  width:  80px;
  height: 80px;
  border-radius: 2px;
}

.snippet .details {
  margin-left:90px;
  overflow:hidden;
} 

.snippet .title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
 	text-overflow: ellipsis;
}

.snippet .metadata {
  font-size: 10px;
  line-height: 20px;
}

.snippet .logo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  text-align: right;
}
.snippet .journal {
font-style: italic;
}

.snippet .identifier {
	list-style-type: none; padding: 0px; margin: 0px;
} 

.snippet .identifier li {
	white-space: nowrap;
	overflow:hidden;
text-overflow: ellipsis;
}	


/* Search Results */
.facet {
}

.facet .cards {
  clear: both;
  overflow:hidden;
  background-color: #fafafa;
/*  border-top: 1px solid #e9e9e9;
*/  
}

.facet .cards:after,
.facet-title:after {
  clear: both;
}

/* GROUP tab-style search results */
/*.facet-title {
    clear: both;
    overflow: hidden;
      margin-bottom: -1px;
    
}

.facet-title h2 {
  float: left;
  background-color: #fff;
  font-size: 18px;
  line-height: 40px;
  font-weight: 400;

  padding-right: 12px;
  padding-left: 12px;
  margin: 0;
  
  border: 1px solid #e9e9e9;
  border-bottom-color: #fff;
  
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 20px;
  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
          border-radius: 4px 4px 0 0;
}
*/
/* END GROUP tab-style search results */

/* GROUP list-style search results */
.facet:first-child .facet-title h2 {
  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
          border-radius: 4px 4px 0 0;
}


.facet-title h2 {
  margin: 0;
  padding: 10px;
  font-weight: normal;
  font-size: 18px;
  line-height: 18px;
  background-color: #fafafa;
  border: 1px solid #f2f2f2;
  border-right: none;
}

.facet .cards {
  background-color: #fff;
  margin-bottom :-1px;
}

.cards .snippet {
  background-color: transparent;
  border-bottom-color: #f2f2f2;
  border-right-color: #f2f2f2;
}
/* END GROUP list-style search results */






.name-cluster {
  float: left;
  padding: 10px 20px;
  height: 20px;
  width: auto;
}
  .name-cluster a { color: inherit; }




/* Basic graph styling */
svg {
  margin: 0;
  padding: 0;
}
svg .bars {
  shape-rendering: crispEdges;
  fill: ##2a2b2e;
}

body.author  svg .bars { fill: #4d95be; }
body.name    svg .bars { fill: #d36e2b; }
body.concept svg .bars { fill: #2a2b2e; }

svg .axis path,
svg .axis line {
    fill: none;
    stroke: #737880;
    stroke-width: 1;
    shape-rendering: crispEdges;
}


svg .axis .domain {
  display: none;
}
        
svg .axis text {
    font-size: 11px;
}

svg .brush .extent {
  fill: rgba(0,0,0, 0.08);
  stroke: none;
}

svg .brush .resize path {
  fill: #fff;
  stroke: #737880;
  stroke-width: 1;
}


.pub-timeline {
  background-color: #fff;
  border-bottom: 1px solid #f2f2f2;
  padding: 20px;
}


table {
  border-collapse:collapse;
}
table,th, td, tr {
  margin: 0;
  padding: 0;
  vertical-align:bottom;
  border: none;
}


.nameTimeline { 
  -moz-transition:color 0.5s;
  -webkit-transition:color 0.5s;
  -o-transition:color 0.5s;
  transition:color 0.5s;
}
.nameTimeline svg .bars { 
  -moz-transition:fill 0.5s;
  -webkit-transition:fill 0.5s;
  -o-transition:fill 0.5s;
  transition:fill 0.5s;
}

.nameTimeline svg .axis line {
  stroke: #f2f2f2;
}

.nameTimeline label { 
  display: inline-block;
  margin: 0;
  font-size: 11px;
}
.nameTimeline label input { margin: 0 0.25em 0 0; }

.nameTimeline.disabled { color: #D2D3D7; }
.nameTimeline.disabled svg .bars { fill: #f2f2f2; }

/* Publication Lists */
.decadeYear {
  background: url(/images/decade_dot.gif) no-repeat left center;
  padding-left: 10px;
  color: #bbbfc6;
  font-weight: 700;
/*  line-height: 30px;  
*/}

.pub {
  overflow: hidden; /* clearfix */
  margin-left: 3px;
  padding: 1em;
  border-bottom: 1px solid #f2f2f2;
  border-left: 2px solid #c3c7ce;
 }
 
 .pub:nth-child(2) {
   border-top: 1px solid #f9f9f9;
 }

.pub .thumbnail {
  float: left;
  width:  40px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  /*background-color: #f2f2f2;*/
  background-color: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 2px;
}

.pub .thumbnail img {
  display: block;
  width:  40px;
  height: 60px;
  border-radius: 2px;
}

.pub .citation {
  margin-left: 50px;
  padding-right: 10px;
}

.pub .title {
  font-weight: 700;
}

.pub .meta, 
.pub .tag {
  font-size: 11px;
}

.pub .meta,
.pub .meta span.j-sep{
  color: #737880;
}

.pub .meta span {
  color: #45494d;
}

.pub .journal {
  font-style: italic;
}

.pub .tag {
  display: inline-block;
  position: relative;
  background-color: #b7b7bd;
  line-height: 16px;
  height: 16px;
  margin-left: 8px;
  padding: 0 6px 0 7px;
  color: #fff;
  
  -moz-border-radius-bottomright:2px;
  -webkit-border-bottom-right-radius:42x;	
  border-bottom-right-radius:2px;
  -moz-border-radius-topright:2px;
  -webkit-border-top-right-radius:42x;	
  border-top-right-radius:2px;
  
}

.pub .tag:before {
  position: absolute;
  top: 0;
  left: -8px;
  height: 0;
  width: 0;
  text-indent: -9999em;
  content: "";
  border-color:transparent #b7b7bd transparent transparent;
  border-style:solid;
  border-width:8px 8px 8px 0;
}

.pub .tag:after {
  content:"";
  position:absolute;
  top:6px;
  left:0;
  float:left;
  width:4px;
  height:4px;
  -moz-border-radius:2px;
  -webkit-border-radius:2px;
  border-radius:2px;
  background:#FAFAFA;

}



/* Tablet
------------------------- */
@media (max-width: 979px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }
}