#masthead {
    background-size: cover;
}

/*Until flex grid is part of the EBI framework we use these two classes as a hack...*/
.padding-bottom-for-button {
    padding-bottom: 5rem !important;
}

.align-row-to-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.margin-top-xxlarge {
    margin-top: 4rem;
}

.margin-bottom-xxlarge {
    margin-bottom: 4rem;
}

a:hover {
    color: rgb(0,124,130);
    border-bottom: 1px solid rgb(0,124,130);
}

a.clear {
    border-bottom: 0;
}

.tabs-title a, .tabs-title a:visited, .tabs-title a:hover {
    border-bottom-width: 0;
}

.button-rd.differential {
    background-color: #3497C5;
}

.button-rd.baseline {
    background-color: #23AFA5;
}

.button-rd {
    line-height: 1;
    -webkit-appearance: none;
    vertical-align: middle;
    border-radius: 50%;
    /* To make it perfectly round vertical padding must be the same as font-size */
    padding: 0.75em 0.9rem;
    margin-right: 2px;
    font-size: 0.9rem;
    color: #FEFEFE;
    font-weight: bold;
}

.button-rd.tiny {
    padding: 0.75em 0.6rem;
    font-size: 0.6rem;
}

p.experiments {
    line-height: 1.7;
}

span.diffBaselinePosition {
    margin-top: 1px;
}

span.large-species-icon {
    font-size: 600% !important;
}

span.large-green:before {
    font-size: 600%;
    color: #5CB85C;
}

span.large-red:before {
    font-size: 600%;
    color: #D9534F;
}

span.large-blue:before {
    font-size: 600%;
    color: #5BC0DE;
}

a.differential {
    color: #5E8CC0;
    border-bottom: 0;
}
a.baseline {
    color: #23AFA5;
    border-bottom: 0;
}

.tabs a {
    border-bottom: none;
}

#local-footer-nav-menu {
    background-image: url("../../images/dots-matrix-background.png");
    background-size: cover;
}

#local-footer-nav-menu a,
#local-footer-nav-menu h1,
#local-footer-nav-menu h2,
#local-footer-nav-menu h3,
#local-footer-nav-menu h4,
#local-footer-nav-menu h5,
#local-footer-nav-menu h6 {
    color: white;
}

/* autocomplete-related classes */
.ac_results {
    padding: 0;
    background-color: #fff;
    overflow: hidden;
    z-index: 99999;
    font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
    font-size: 0.85rem;
}

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

.ac_results li {
    margin: 0;
    padding: 0 3px;
    cursor: default;
    display: block;
    overflow: hidden;
    position: relative;
    line-height: 1.7rem;
}

.ac_tree_level, .ac_tree_control {
    float: left;
    width: 16px;
    height: 16px;
}

.ac_tree_control div {
    width: 9px;
    height: 9px;
    margin: 10px 3px 3px 0;
    overflow: hidden;
}

.ac_tree_collapsed .ac_tree_control div {
    background: url(../../images/ae-autocomplete/ac_minmax.gif) 0 0 no-repeat;
}

.ac_tree_expanded .ac_tree_control div {
    background: url(../../images/ae-autocomplete/ac_minmax.gif) 0 -9px no-repeat;
}

.ac_loading {
    background: #FFF url('../../images/ae-autocomplete/busy.gif') right center no-repeat;
}

.ac_over {
    background-color: #3497c5;
    color: #FFF;
}

.ac_over .ac_efo, .ac_over .ac_field {
    color: #FFF;
}

.ac_outer {
    background-color: #FFF;
    color: #000;
    cursor: default;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

.ac_field, .ac_efo {
    position: absolute;
    top: 0;
    right: 2px;
    color: #3497c5;
}

.ac_field {
    font-style: italic;
}

.ac_efo {
    font-weight: bold;
}

.tab-disabled {
    pointer-events: none;
}

.tab-disabled a {
    /* Overrides .tabs-title > a in theme-atlas.css */
    color: gray !important;
}

.anchored a {
    visibility: hidden;
}

.anchored:hover a {
    visibility: visible;
}

img.icon {
    height: 28px;
}

img.big-icon {
    height: 64px;
}

/* Fix for Highcharts tooltip being cut off */
.gxaHeatmapContainer .highcharts-container {
    overflow: visible !important;
}
.gxaHeatmapContainer svg {
    overflow: visible !important;
}

/* Override icon colour in media objects in callouts */
#publication-list .icon, #tools .icon {
    color: #5688B3;
}

