body {
    margin-top:-30px;
}
#main-logo {
	display:block;
    background: url('../img/sprite-test.png') no-repeat -14px -692px;
    width: 503px;
    height: 75px;
	margin:140px auto 28px auto;
    -webkit-transition: margin 500ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
       -moz-transition: margin 500ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
        -ms-transition: margin 500ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
         -o-transition: margin 500ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
            transition: margin 500ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
}
#main-logo.loaded-results{
    margin-top: 70px;
}
#content {
	margin-top:30px!important;
	overflow:hidden;
	text-align:center;
    position: relative;
    height: 100%;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
#content.home {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow-y:auto;
    overflow-x:hidden;
}
#input {
	display: inline-block;
	height: 48px;
	width: 280px;
	margin: 0px;
	padding: 0px;
    overflow: hidden;
	border-bottom-right-radius: 0px;
	border-top-right-radius: 0px;
	border: 1px solid #c8c8c8;
	padding-left: 7px;
	padding-right: 45px;
    font-weight:300;
	font-family:"Open Sans", Helvetica, sans-serif;
	font-size:32px;
	box-shadow: none;
	line-height: 48px;
}

#input:focus {
	outline-width: 0;
	box-shadow: inset 0 0 3px 0px rgb(109, 192, 88);
	background-color: white;
}

#search {
	background:transparent url("../img/mag-glass-loading.gif") no-repeat left top;
    -webkit-background-size: auto 100%;
    background-size: auto 100%;
	cursor:pointer;
	height:40px;
	margin-left:-36px;
	width:36px;
	vertical-align:top;
	border:0;
    position: relative;
    left: -11px;
    top: 5px;
    z-index: 0;
}
#toggle {
	cursor:pointer;
	font-size:1.2em;
	vertical-align:middle;
	color: #666;
	-webkit-transition: color 0.3s;
	-moz-transition: color 0.3s;
	-o-transition: color 0.3s;
	-ms-transition: color 0.3s;
	transition: color 0.3s;
	position: absolute;
	top: 1px;
	right: 5px;
}

#toggle:hover {
	color: #6AB457;
}

#toggle:active{
    color: #666;
}
#note {
	display:inline-block;
	font-size:1em;
	font-weight:normal;
	margin-left:3px;
	margin-top:2px;
	vertical-align:top;
	width:240px;
	padding:0;
	margin:0;
}
#species {
	display: inline-block;
	display: none;
	height: 48px;
	width: 160px;
	min-width: 160px;
	padding: 0px 10px;
	border-bottom-right-radius: 2px;
	border-top-right-radius: 2px;
	border: 1px solid #c8c8c8;
	position: relative;
	left: -5px;
	vertical-align: top;
	font-size:16px;
}
#species:focus {
	outline-width: 0;
	box-shadow: inset 0 0 3px 0px rgb(109, 192, 88);
	background-color: white;
}
#header_browser form {
	padding-left: 8px;
}
#username, #password {
	position: relative;
	top: -1px;
	height: 20px;
	font-size: 13px;
	line-height: 14px;
}
#specbox {
	display: inline-block;
	height: 48px;
	background-color: #eee;
	vertical-align: top;
	position: relative;
	left: -5px;
	border-bottom-right-radius: 2px;
	border-top-right-radius: 2px;
	border: 1px solid #c8c8c8;
	text-align: center;
	padding: 0 10px;
	padding-right: 30px;
	min-width: 150px;
	line-height: 48px;
}
#specbox:hover {
    background-color: #eeeeee;
    cursor:pointer;
}
#specbox:active {
    background: #e9e9e9;
}
#specbox a {
	text-decoration: none;
	color: #666;
    text-transform:uppercase;
	transition: color 0.3s;
}
#specbox a:hover {
	color: #6AB457;
}
#specbox a:active{
    color: #666;
}
#specbox a.no-map {
    cursor:default;
}
#specbox a.no-map:hover {
    text-decoration:none;
}
#browse-genome {
	line-height: 40px;
	margin-left: 5px;
	background:#eee;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius:5px;
    -moz-box-shadow:0 1px 3px rgba(0,0,0,0.5);
    -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.5);
    box-shadow:0 1px 3px rgba(0,0,0,0.5);
    color:#447387;
    cursor:pointer;
    clear:both;
    font-size:1em;
    padding:4px 6px 4px;
    text-decoration:none;
    text-shadow:0 -1px 1px rgba(0,0,0,0.25);
}
#search-details {
	font-size:0.7em;
	margin-left:10px;
	margin-top:5px;
}
#results {
	margin: 38px auto 50px auto;
	font-size:14px;
	width: 760px;
}

#no-results {
    font-size: 24px;
}
#search-form {
	display:inline;
    vertical-align:middle;
    position: relative;
    left:4px;
}
#load-more {
	background: url('../img/loader.gif') no-repeat;
	display:none;
	height:11px;
	margin:10px auto;
	width:43px;
}
input.ui-autocomplete-loading ~ #search {
    background: url("../img/mag-glass-loading.gif") no-repeat right top;
    -webkit-background-size: auto 100%;
    background-size: auto 100%;
}
.ui-autocomplete {
	max-height: 300px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
	padding-right: 20px;
}
.ui-menu .ui-menu-item a:first-letter {
    text-transform:capitalize;
}
.autocomplete-matched {
	color: #6DC058;
	font-weight: 500;
}

/* New CSS for new results */
.gene {
    border: solid 1px #dadada;
    width: 760px;
    margin: 20px auto 0 auto;
    padding: 8px 0 10px 0;
    overflow: hidden;
    border-radius: 2px;
    color: #333333;
    position: relative;
    z-index: 0;
    text-align: left;
}
a.gene-link {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left: 0;
	z-index: 1;
}
.result-title-bg {
    position: relative;
    background-color:#eee;
    top: -8px;
    width: 100%;
    padding:0 10px;
    border-bottom: 1px solid #dadada;
}
.gene * {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
.result-column {
	display: block;
    float: left;
    width: 50%;
    padding: 0 10px;
}
.result-first-column{
    width: 50%;
}
.result-second-column{
    width: 50%;
    white-space: nowrap;
}
.gene p {
    margin: 0;
    display: inline-block;
    line-height: 25px;
    font-size: 15px;
    max-width: 97%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.result-symbol, .result-species {
  position: relative;
}
p.result-symbol, p.result-symbol a {
    font-weight:400;
    display: inline-block;
    position: relative;
    z-index: 2;
    color: #427388;
    text-decoration: none;
    font-size: 1.2em;
    line-height: 36px;
    vertical-align: top;
}
p.result-symbol, p.result-symbol a:hover{
    text-decoration: underline;
    color: black;

}
p.result-species, p.result-species a {
    display: inline-block;
    position: relative;
    z-index: 2;
    text-decoration: none;
    font-size: 19px;
    font-weight: 300;
    margin-left: 4px;
    color: #878787;
    height: 100%;
    bottom: -5px;
}
.result-species span {
    color: #cf0000;
    font-style: italic;
    font-size: 0.9em;
}
.result-locus{
    margin-left: 4px;
}
.result-locus b {
    font-weight: 600;
}
p.result-name{
    text-indent: -10px;
    padding-left: 10px;
}
.result-gene {
  margin-top: 5px;
  display: inline-block;
}
.result-external-links {
    text-decoration: none;
    font-size: 14px;
    color: #0000af;
    position: relative;
    z-index: 3;
}
.result-external-links:visited{
    color: #0000af;
}
.result-external-links:hover{
    color: #0000af;
    text-decoration: underline;
}

.howto-button {
    display:block;
    text-decoration: none;
    text-transform: uppercase;
    margin-top:20px;
    background-color: #6DC058;
    color: #ffffff;
    width: 350px;
    margin: 20px auto;
    padding: 8px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    font-size: 1.5em;
}
.howto-button:hover {
    background-color: #447387;
    text-decoration: none;
}

#learn-more {
    min-height: 40px;
    width: 100%;
    position: absolute;
    bottom: 40px;
    text-align: center;
}
#learn-more-button {
    line-height: 40px;
    display: inline-block;
    height: 100%;
    width: auto;
    margin: 0 auto;
    font-weight: 700;
    color: #447387;
    text-decoration: underline;
    cursor: pointer;
    text-align: left;
    background: url('../img/down.gif') no-repeat right center;
    padding-right: 12px;
}
#learn-more-button:hover {
    text-decoration: none;
}
#learn-more-content {
    width: 100%;
    height: 1000px;
    margin-bottom: 40px;
}
#learn-more-content-center{
    width:80%;
    margin:0 auto;
}
#learn-more-content .feature {
    min-height: 400px;
    width: 100%;
    padding: 50px 0;
    overflow: hidden;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
#learn-more-content .feature > * {
    float:right;
}
.feature-text > * {
    font-size: 1.6em;
    margin: 0;
}
#one.feature {
    text-align: left
}
#two.feature {
    text-align:right;
}
#one.feature .feature-text {
    width:60%;
}
#two.feature .feature-text {
    width:100%;
}
.feature-text h2 {
    font-size: 2.8em;
    padding-top:20px;
}
div#one img {
    height: auto;
    width: 40%;
}
div#two img {
    height:auto;
    width:100%;
    padding-top: 40px;
}
@media screen and (max-width : 63em) {
    #learn-more-content .feature .feature-text > * {
        font-size: 1.5em;
    }   
    #learn-more-content .feature .feature-text h2 {
        font-size: 2.5em;
    }
}
@media screen and (min-width : 88em) and (max-width: 105em) {
    #learn-more-content .feature .feature-text > * {
        font-size: 1.8em;
    }
    #learn-more-content .feature .feature-text h2 {
        font-size: 3.1em;
    }
}
@media screen and (min-width : 105em) {
    #learn-more-content .feature .feature-text > * {
        font-size: 2.5em;
    }
    #learn-more-content .feature .feature-text h2 {
        font-size: 4.4em;
    }
}
#searchstate {
	display : none;
}
/* Media query for high pixel density displays */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

    #main-logo {
        background: url("../img/logo@2x.png") no-repeat center top;
        -webkit-background-size: auto 100%;
        background-size: auto 100%;
    }
    #search {
        background: url("../img/mag-glass-loading@2x.gif") no-repeat left top;
        -webkit-background-size: auto 100%;
        background-size: auto 100%;
    }
    input.ui-autocomplete-loading ~ #search {
        background: url("../img/mag-glass-loading@2x.gif") no-repeat right top;
        -webkit-background-size: auto 100%;
        background-size: auto 100%;
    }
}
