body {
	font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #eeeeee;
}

body.cath-front {
	background: #eeeeee url('/static/images/feature_strips/front-04.png') no-repeat center 40px;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* http://stackoverflow.com/questions/18739937/how-to-keep-footer-at-bottom-of-screen */

#main-container {
  margin-top: 40px; /* nav banner */
  min-height: 600px;
  position: relative;
}
#main-body {
/*   overflow: auto; */
  padding-bottom: 60px;
}

#main-footer {
  position: relative;
  margin-top: -60px;
  height: 60px;
  clear: both;
  width: 100%;
}

body:before {
  content:"";
  height:100%;
  float: left;
  width: 0;
  margin-top:-32767px;
}

#nav-masthead .brand .label {
  margin: 2px;
}

#nav-masthead .brand {
  padding: 8px;
  margin-left: 0;
}

#nav-masthead .brand img {
  height: 40px;
}

#nav-masthead ul.nav li a {
  border-bottom: 3px solid transparent;
}
#nav-masthead ul.nav li a:hover {
  border-color: #f90;
}


#wiki-content h1 {
  font-size: 1.7em;
}

#wiki-content h2 {
  font-size: 1.4em;
}

#wiki-content h3 {
  font-size: 1.3em;
}

#wiki-content h4 {
  font-size: 1.2em;
}

#wiki-content h5 {
  font-size: 1.1em;
}

.accordion-body {
  background-color: #fff;
}

.footprint {
  text-align: right;
  font-size: 0.8em;
  color: #999;
}

.lead-feature {
	height: 240px;
}

.latest-news .story {
	height: 300px;
}

.latest-news .story, .latest-news .story img {
	width: 100%;
}

.latest-news, .release-stats {
	height: 30em;
}

h1, h2, h3 {
  font-weight: 400;
}

.form-search {
  margin: 0;
}

.label.cath-depth-icon {
  margin: 0.1em;
  width: 1em;
  height: 1.4em;
  text-align: center;
  vertical-align: center;
  line-height: 1.5em;
}

.cath-depth-1 { background-color: #b94a48; }
.cath-depth-2 { background-color: #468847; }
.cath-depth-3 { background-color: #3A87AD; }
.cath-depth-4 { background-color: #F89406; }

header .form-search {
	margin: 30px 0;
}
header .form-search input {
  width: 300px;
}

header .form-search input, header .form-search button {
	padding: 0.5em 1em;
}

header .form-search input {
	box-sizing: content-box;
	height: 30px;
}

.form-search .input-append .btn {
  border-radius: 0;
}
.form-search .input-append .btn:last-child {
  border-radius: 0 14px 14px 0;
}

header .form-search button {
	line-height: 26px;
}

.white-panel {
	background-color: white;
	padding: 0;
	margin-bottom: 20px;
	color: #333;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}

.table-keyvalue td:first-child {
	text-align: right;
	font-size: 1.2em;
	font-weight: bold;
}

#footer ul {
	list-style: none;
	margin: 1em;
	padding: 0;
}

#footer li {
	list-style: none;
	margin: 0.5em 0;
	padding: 0;
}

#footer li.first a {
  color: #ccc;
}

#footer li.first {
	font-size: 1.2em;
	font-weight: bold;
}

#footer a {
  color: #aaa;
}
#footer a:hover {
  color: #eee;
}

#footer {
  box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
	margin: 1em 0 0;
  padding: 1em 0;
  background-color: #444;
	color: #ccc;
	text-align: center;
}

.footer-copyright {
  border-top: 1px solid #666;
  font-size: 0.9em;
  color: #ccc;
	margin: 0;
  padding: 0.5em 0 1em;
	text-align: left;
}

.footer-copyright a {
  color: #08c;

}

.padding-small {
	padding: 10px;
}
.padding-medium {
	padding: 20px;
}

.footer-container li.first a {
	color: #999;
}

.footer-container {
	background: none;
	border: none;
	box-shadow: none;
}

#footer-copyright {
	padding: 5px;
}

#search-form-container {
  margin: 0 10px;
}
#search-form-container .tab-content {
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.alert.nomargin {
  margin: 0;
}

input.search-query {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.0);
}

input.search-query:focus {
  box-shadow: 0 0 10px rgba(81, 203, 238, 1.0);
}


.feature-icon {
	border: none;
	background-repeat: no-repeat;
	opacity: 0.3;
	float: left;
}

.page-feature {
	padding-top: 20px;
	text-align: center;
}

.feature-content {
	min-height: 8em;
}

.page-feature h3 {
	font-size: 26px;
	font-weight: 400;
}

.page-feature .description {
	font-size: 1em;
}

.page-feature a {
	border-radius: 3px;
	background: #EEE;
	color: #444;
	text-decoration: none;
	margin: 10px;
}

.page-feature .white-panel:hover a {
	text-decoration: none;
}

.page-feature .white-panel:hover {
	border-color: #ccc;
	box-shadow: 0 1px 10px rgba(0, 0, 0, .2);
	-webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, .2);
}

.page-feature .feature-link {
	clear: both;
	margin-top: 5px;
}

.page-feature ul.feature-link {
  display: inline;
}
.page-feature ul.feature-link li {
  display: inline;
  list-style-type: none;
  padding: right: 10px;
}

.page-feature .feature-link.feature-go:hover {
/*	background-color: #c33; */
}
.page-feature .feature-link.feature-info:hover {
/*	background-color: #c33; */
}

.page-feature h3 {
	color: #666;
}

.page-feature .white-panel:hover h3 {
	color: black;
}

.page-feature .white-panel:hover .feature-icon {
	opacity: 0.8;
}

.feature-content {
	text-align: left;
	margin-left: 110px;
}

.feature-icon.icon-100 {
	background-image: url( '/static/images/front-page-icons-100.png' );
	background-position: -100px -100px;
	width: 100px;
	height: 100px;
}

.feature-icon.icon-100.structure 	{ background-position: 0 0; }
.feature-icon.icon-100.superfamily 	{ background-position: -100px 0; }
.feature-icon.icon-100.function 	{ background-position: -200px 0; }
.feature-icon.icon-100.active-site 	{ background-position: 0 -100px; }
.feature-icon.icon-100.download 	{ background-position: -100px -100px; }
.feature-icon.icon-100.faq		 	{ background-position: -200px -100px; }

hr {
	margin: 20px auto;
	border-top: 1px solid #ccc;
	border-top: 1px solid #white;
	width: 90%;
}


.navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
	padding: 0;
}

#nav-masthead {
	z-index: 100;
}

#nav-masthead .navbar-inner {
  -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hero-unit h1, .hero-unit h2 {
  font-weight: 600;
  text-shadow: 0px 1px 10px black;
}

.hero-unit h1 {
	font-size: 3.0em;
	line-height: 1.5em;
	margin-bottom: 10px;
  max-height: 1.5em;
  white-space: nowrap;
}

.hero-unit h1 small {
  color: #ff0;
  font-size: 0.55em;
}

.hero-unit h2 {
	font-size: 1.6em;
	line-height: 1.5em;
  max-height: 1.5em;
  white-space: nowrap;
}

header.hero-unit {
	background: none;
	color: white;
	margin: 20px 0;
	padding: 20px;
}

.hero-unit h1, .hero-unit h2 {
	text-shadow: 0px 1px 3px black;
}


.widget h3 {
	font-size: 20px;
}

.page-header {
  border-color: #ddd;
  margin-bottom: 20px;
  padding-bottom: 0;
}

.page-header h1 {
  font-size: 2.0em;
}

.page-header h2 {
  font-size: 1.5em;
}

.section.tabbable {
	padding-top: 1.5em;
}

header {
}

section {
	padding-bottom: 10px;
}

.white-panel {
	background-color: white;
	padding: 0;
	margin-bottom: 20px;
	color: #333;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}

.padding {
	padding: 10px;
}

.widget {
	padding-bottom: 20px;
}

#keyword-container .label {
	background-color: #CCC;
}

#keyword-container .label:hover {
	background-color: #999;
}

#keyword-container {
	margin: 0.3em 0 0;
}

.navbar-inverse .navbar-search .search-query {
	background-color: #777777;
	color: #FFFFFF;
}


#footer-message {
	background-color: #333;
	color: #FFF;
	margin: 0.5em;
	text-align: center;
}

.reference .title {
	font-weight: bold;
}

.reference .authors {
	font-size: 0.8em;
	font-style: italic;
}

.reference .journal {
	color: #666;
	font-size: 0.8em;
	font-style: italic;
	display: inline;
}

.reference .pubmed {
	font-size: 0.8em;
	display: inline;
}

.carousel-caption {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.25);
}

.carousel-caption:hover {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.75);
}

.carousel-control {
	line-height: 14px;
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.25);
	width: 20px;
	height: 20px;
	padding-top: 5px;
}

.carousel-control:hover {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.35);
}


.carousel-control.right {
	right: 5px;
}

.carousel-control.left {
	left: 5px;
}

.align-left {
	text-align: left;
}
.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}

th small {
	font-weight: normal;
	font-size: 0.9em;
	margin-left: 0.5em;
	color: #999;
}

.solr-options ul {
	list-style: none;
	margin-left: 0;
}

.solr-options li {
}

.solr-options li .alert {
	margin-bottom: 5px;
}

.solr-options section {
	margin-bottom: 10px;
}

.solr-tagcloud {

}

.solr-tagcloud .item {

}

.tagcloud_size_0 { font-size: 0.8em }
.tagcloud_size_1 { font-size: 0.9em }
.tagcloud_size_2 { font-size: 1.0em }
.tagcloud_size_3 { font-size: 1.1em }
.tagcloud_size_4 { font-size: 1.2em }
.tagcloud_size_5 { font-size: 1.3em }
.tagcloud_size_6 { font-size: 1.4em }
.tagcloud_size_7 { font-size: 1.5em }
.tagcloud_size_8 { font-size: 1.6em }
.tagcloud_size_9 { font-size: 1.7em }
.tagcloud_size_10 { font-size: 1.8em }

.widget-caption {
	color: #999;
	margin-bottom: 0.5em;
	font-size: 0.9em;
	font-style: italic;
}

img.widget-icon {
	opacity: 0.8;
	border: 1px solid #cccccc;
}

img.widget-icon:hover {
	opacity: 1.0;
	border-color: #0088cc;
}

table.key-value .key {
	font-weight: bold;
}


textarea.sequence, input.sequence {
	font-family: courier, "Courier New", monospace;
	font-size: 0.8em;
}

.resource .description {
	font-size: 0.9em;
	font-style: italic;
}

.resource .id {
	font-weight: bold;
	font-size: 0.9em;
}

a:hover {
	cursor: pointer:
}

/*
	SOLR
*/

.solr-pager {
	margin: 0;
}

.solr-pager-header {
}

.solr-result-entry {
	margin: 0 0 0.5em;
}

.solr-result-entry .thumb-container img {
	width: 100px;
	height: 100px;
	margin: 10px;
}

.solr-result-entry .keywords {
	color: #999;
	font-style: italic;
	font-size: 0.9em;
}

.ac_results {
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 3px 5px;
	cursor: default;
	display: block;
	/*
	if width will be 100% horizontal scrollbar will apear
	when scroll mode will be used
	*/
	/*width: 100%;*/
	/*font: menu;*/
	/*font-size: 12px; */
	/*
	it is very important, if line-height not setted or setted
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
}

.ac_loading {
	background: white url('indicator.gif') right center no-repeat;
}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #0A246A;
	color: white;
}

.latest-news {
}


.latest-news h3, .latest-news p, .latest-news .story {
	background-color: #0066cc;
	border-color: #0066cc;
}

.latest-news .story {
	position: relative;
	width: 100%;
	height: 268px;
	margin-bottom: 10px;
	border-width: 1px;
	border-style: solid;
	overflow: hidden;
}

.latest-news .story img {
	width: 100%;
}

.latest-news h3 {
	left: 0;
	top: 0;
	width: 70%;
	height: auto;
	line-height: 1;
	position: absolute;
	color: #ffffff;
	padding: 0.5em;
	margin: 0;
}

.latest-news h3 .date {
	font-size: 0.8em;
	font-weight: normal;
	color: #cccccc;
	font-style: italic;
}

.latest-news p {
	left: 0;
	bottom: 0;
	width: auto;
	height: auto;
	position: absolute;
	color: #ffffff;
	padding: 0.5em 1em;
	margin: 0;
}

/* flot graphs */

.plot-figure-box {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
}
.plot-figure-box .figure {
	margin-left: 30px;
}
.plot-figure-box .axis {
    font-weight: bold;
    padding: 1em;
}
.plot-figure-box .y-axis {
    float: left;
    position: relative;
    width: 1em;
	top: -100px;
	writing-mode: tb-rl;
    white-space: nowrap;
    -webkit-transform:rotate(270deg);
    -moz-transform:rotate(270deg);
}
.plot-figure-box .caption {
    font-size: 90%;
    background-color: #EEE;
    color: #333;
    border: 1px solid #CCC;
    padding: 0.5em;
}
.plot-figure-box .x-axis {
    text-align: center;
}

.plot-figure-box .legend {
    width: 180px;
    text-align: left;
    border: 1px solid #ccc;
    color: #666;
    background-color: white;
	float: right;
	position: relative;
	top: 30px;
}

.plot-figure-box .legend ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.plot-figure-box .legend li {
    background-repeat: no-repeat;
    background-position: 5px 5px;
    margin: 0;
    padding-left: 24px;
    line-height: 2em;
}

.plot-figure-box .legend h4 {
    font-size: 1em;
    font-weight: normal;
    color: #999;
    display: inline;
    background: white;
    padding: 0.5em;
    position: relative;
    top: -0.5em;
    left: 0.5em;
}

.plot-tooltip IMG {
    border: 1px solid #CCC;
}

.plot-tooltip TD DIV.note {
    font-weight: normal;
    font-style: italic;
}

.plot-tooltip-close {
    float: right;
    border: 1px solid #CC9;
    background-color: #FFE;
}


.uniprot {

}

.uniprot .title {
	font-weight: bold;
}

.uniprot .species {
	font-style: italic;
}

.uniprot .description {

}

.nav.nav-tabs {
	font-weight: bold;
	font-size: 110%;
  margin: 0 10px 0;
}

.tab-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
}

.nav-list > .active {
	margin: 0 -10px;
	padding: 5px 0;
}

.nav-list > .active > a {
	border-radius: 5px;
	font-weight: bold;
	padding: 5px;
	padding-left: 20px;
}


/* BEGIN: Annotation displaying CSS from Interpro */

.bot-row {
    border: 0;
    overflow: visible;
    margin-top: 1px;
}

.bot-row-signame {
    float: right;
    padding-left: 16px;
    width: 50px;
    font-size: 85%;
}

ol.signatures li .bot-row-line, .prot_scale .bot-row .bot-row-line {
    display: block;
    height: 15px;
    /*margin: 0 200px 0 0;*/
	margin: 0 0 0 0;
}



ol.signatures li .bot-row-line {
    background-color: #EEEEEE;
    border-left: 1px solid #D8D8D8;
    border-right: 1px solid #D8D8D8;
}

ol.signatures li .bot-row-line .matches {
    position: relative;
}

.signature-data .label {
    opacity: 0.4;
}

.signature-data .label.active {
	opacity: 1.0;
}

.signature-data tr.active {
	background-color: #EEE;
}

.signatures .bot-row-line .matches .match, ul.legend .legend-label-colour {
	border: 1px solid black;
    border-radius: 4px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.4;
}

.signatures .bot-row-line .matches .match {
    height: 5px;
    position: absolute;
    top: 0.4em;
    z-index: 1;
}

.signatures .bot-row-line .matches .match.active, ul.legend .legend-label-colour.active {
    box-shadow: 0 0 0.5em 0 rgba(0, 0, 0, 0.25);
    opacity: 1.0;
}

.signatures .bot-row-line .matches .match.selected {
    box-shadow: 0 0 0 0.5em rgba(255, 191, 0, 1.0);
	opacity: 1.0;
}

.signatures .bot-row-line .matches .grade {
    background: url("http://wwwdev.ebi.ac.uk/interpro/images/bgd_dot.gif") repeat-y scroll 0 0 transparent;
    height: 17px;
    position: absolute;
    width: 1px;
    z-index: 0;
}

.bot-row .bot-row-line .scale_numb {
    border: 0;
    color: #bbbbbb;
    font-size: 90%;
    margin-left: -10px;
    margin-top: 4px;
    position: absolute;
    z-index: 2;
}

.bot-row .bot-row-line .scale_bar {
    border: 0;
    background-color: #cecece;
    width: 1px;
    height: 4px;
    position: absolute;
    z-index: 1;
}

ol.entries, ol.signatures {
    margin: 0;
    padding: 0;
}

ol.signatures li {
    border: 0 solid purple;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

/* END: Annotation displaying CSS from Interpro */


.colour-0  { background-color: #999999; }
.colour-1  { background-color: #990000; }
.colour-2  { background-color: #009900; }
.colour-3  { background-color: #000099; }
.colour-4  { background-color: #999900; }
.colour-5  { background-color: #990099; }
.colour-6  { background-color: #009999; }
.colour-7  { background-color: #990099; }
.colour-8  { background-color: #66CC33; }
.colour-9  { background-color: #CC6633; }
.colour-10 { background-color: #3366CC; }
.colour-11 { background-color: #6633CC; }
.colour-12 { background-color: #CC3366; }
.colour-13 { background-color: #33CC66; }
.colour-14 { background-color: #FF0000; }
.colour-15 { background-color: #FF0000; }
.colour-16 { background-color: #FF0000; }
.colour-17 { background-color: #FF0000; }
.colour-18 { background-color: #FF0000; }

/* control form */

.control-panel select.input-sm {
	height: 32px;
	line-height: 30px;
	font-size: 12px;
	max-width: 200px;
}

.control-panel option.input-sm {
	font-size: 12px;
}

.table-sm {
	font-size: 11px;
}

.control-panel .description {
	font-size: 0.8em;
	color: #999;
	font-style: italic;
}

.control-panel .alert {
	font-size: 0.9em;
}

.control-panel .controls {
	margin-bottom: 20px;
}

.uniprot-link.label {
	font-size: 0.7em;
	opacity: 0.6;
}

.label-go {
	background-color: #468847;
}
.label-ec {
	background-color: #f89406;
}
.label-3D {
	background-color: #3a87ad;
}

/*
http://blog.sathomas.me/post/tracking-progress-in-pure-css
*/

ol.tracker {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ol.tracker li {
	display: inline-block;
	text-align: center;
	line-height: 3em;
}
ol.tracker li.tracker-done {
	color: black;
	border-bottom: 4px solid #5bb75b;
}
ol.tracker li.tracker-error {
	color: black;
	border-bottom: 4px solid red;
}
ol.tracker li.tracker-todo {
	color: silver;
	border-bottom: 4px solid silver;
}
ol.tracker[data-tracker-steps="2"] li { width: 49%; }
ol.tracker[data-tracker-steps="3"] li { width: 33%; }
ol.tracker[data-tracker-steps="4"] li { width: 24%; }
ol.tracker[data-tracker-steps="5"] li { width: 19%; }
ol.tracker[data-tracker-steps="6"] li { width: 16%; }
ol.tracker[data-tracker-steps="7"] li { width: 14%; }
ol.tracker[data-tracker-steps="8"] li { width: 12%; }
ol.tracker[data-tracker-steps="9"] li { width: 11%; }
ol.tracker li:after {
	content: "\00a0\00a0";
}
ol.tracker li:before {
	position: relative;
	bottom: -2.5em;
	float: left;
	left: 50%;
	line-height: 1em;
}
ol.tracker li.tracker-done:before {
    content: "\2713";
    color: white;
    background-color: #5bb75b;
    height: 1.2em;
    width: 1.2em;
    line-height: 1.2em;
    border: none;
    border-radius: 1.2em;
}
ol.tracker li.tracker-todo:before {
    content: "\039F";
    color: silver;
    background-color: white;
    font-size: 1.5em;
    bottom: -1.6em;
}
ol.tracker li.tracker-error:before {
    content: "\2718";
    color: white;
    background-color: red;
    height: 1.2em;
    width: 1.2em;
    line-height: 1.2em;
    border: none;
    border-radius: 1.2em;
}


@media (max-width: 979px) {
	#page {
		margin-top: 0;
	}
	.navbar-fixed-top {
    margin-bottom: 0;
	}
  header.hero-unit h2 {
    font-size: 1.6em;
  }
  header .search-query {
    min-width: 250px;
  }
	#main-container {
    margin-top: 0;
  }
  .feature-icon.icon-100 {
    display: none;
  }
  .feature-content {
    margin-left: 10px;
  }
}

@media (max-width: 767px) {
  header.hero-unit {
    margin: 10px;
    padding: 0;
  }
  header.hero-unit h1 {
  }
  header.hero-unit h2 {
    font-size: 1.2em;
  }
}

h2 .popover .popover-content {
	font-size: 14px;
	line-height: 20px;
}

a.external {
	font-size: 0.8em;
	background-color: #ffc;
	border: 1px solid #cc9;
	padding: 4px;
	border-radius: 3px;
}

a.external-source {
}

