@font-face {
	font-family: 'Open Sans';
	src: url('font/opensans-light-webfont.eot');
	src: url('font/opensans-light.eot?#iefix') format('embedded-opentype'), 
		url('font/opensans-light-webfont.woff') format('woff'),
		url('font/opensans-light-webfont.ttf') format('truetype'),
		url('font/opensans-light-webfont.svg#webfont') format('svg');
}
html, body {
	font-family: "Open sans", sans-serif;
	font-size: 1em;
	height: 100%;
	min-width: 1100px;
}

#main {
	padding: 10px;
	overflow: hidden;
}
#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -50px;
}


/* BANNER */
#full_width_banner {
	width: 100%;
	height: 100px;	
	background-color: #4e4e4e;	
	border-bottom: 2px solid #58a430;					
}
#banner {
	width: 1100px;
	margin: 0 auto;
	position: relative;
}
#banner_ait {
	position: absolute;
	top: 10px;
	right: 200px;
}
#banner_cibiv {
	position: absolute;
	top: 10px;
	right: 0px;
}
#banner h1 {
	color: #fff;
	font-weight: normal;
	display: inline-block;	
	font-size: 3.5em;
	line-height: 80px;
	vertical-align: top;
	margin: 10px 500px 10px 0;
}


/* BROWSE DATA */
#browse_data {
	width: 1100px;
	margin: 0 auto;
}
#browse_data h1 {
	font-size: 1.5em;
	margin-bottom: 10px;
}	
#browse_data h2 {
	font-size: 1.2em;
	margin-bottom: 5px;
}
#rgene_information .a_sequence { display: block; width: 280px; margin: 0 auto; }
#rgene_information .gene_overview { width: 280px; }
#live_search {
	margin-bottom: 3px;
	width: 250px;
	border: 1px solid #E1E1E1;
	font-size: 13px;
	height: 16px;
	line-height: 14px;
	padding: 5px;				
}
label.search_option {
	width: auto;
	display: inline-block;
}
input.search_option { vertical-align: baseline; }
#search_browse, #gene_subselection, #selected_rgene_information {
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
}
#browse_libraries {
	margin-top: 5px;
}
#libraries, #select_genes {
	border: 1px solid #e1e1e1;
}
.search_summary {
	display: block;
	width: 100%;
}
#selected_rgene_information {
	width: 330px;
	display: inline-block;
	font-family: "Open sans", sans-serif;
	font-size: 14px;
}
#selected_rgene_information .img_link { display: inline-block; padding: 0; text-align: center; }
#selected_rgene_information .img_link img { border: 1px solid #e1e1e1; }
#selected_rgene_information #login_request { width: auto; padding: 0; }


/* CHROMOSOME OVERVIEW */
/*
#chromosome_overview {
	width: 100%;
	position: relative;
	table-layout: fixed;
	border-collapse: collapse;
}
#chromosome_overview tbody {
	display: block;
	overflow-x: scroll;
}
#chromosome_overview th:nth-child(2) {
	padding-left: 100px;
}

.libID {
	position: absolute;
	font-size: 0.9em;
	background-color: #fff;
	z-index: 3;
	line-height: 20px;
	width: 150px;
	height: 20px;
	cursor: pointer;
}
@-moz-document url-prefix() {
	.libID { margin-top: -20px; }
}

#chromosome_overview td:nth-child(2), #all_genes_overview th:nth-child(2) {
	padding-left: 150px;
}
#chromosome_overview td:last-child, #all_genes_overview th:last-child {
	padding-right: 10px;
}
.chr_overview {
	height: 10px;
	border: 1px solid black;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;				
	border-radius: 5px;
	margin: 5px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}			
.chr01 { width: 500px; }
.chr02 { width: 275px; }
.chr03 { width: 350px; }
.chr04 { width: 405px; }
.chr05 { width: 295px; }
.chr06 { width: 335px; }
.chr07 { width: 320px; }
.chr08 { width: 320px; }
.chr09 { width: 345px; }
.chr10 { width: 335px; }
.chr11 { width: 255px; }
.chr12 { width: 345px; }
.chr_overview .snp {
	width: 1px;
	height: 100%;
	border-left: 1px solid #58a430;
	position: absolute;
}			
*/

/* CONTACT */
#contact {
	width: 1100px;
	margin: 0 auto;
}
#contact_form {
	float: left;
	width: 700px;
	margin-bottom: 50px;
}
#contact h1 {
	font-size: 26px;
	margin-bottom: 10px;
}	
#contact #forum_reminder { 
	display: block;
	width: 430px;
	margin: 5px 0 5px 160px;
	font-size: 0.9em;
	line-height: 1.1em;
	text-align: justify;
}		
label {
	display: inline-block;
	width: 150px;
	vertical-align: top;
	margin-top: 5px;
}
input[type=text], input[type=email], input[type=password] {
	margin-bottom: 3px;
	width: 250px;
	border: 1px solid #E1E1E1;
	font-size: 13px;
	height: 16px;
	line-height: 14px;
	padding: 5px;	
}
#contact select { 
	border: 1px solid #E1E1E1;
	background: none;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	line-height: 14px;
	margin: 5px; 
}
textarea {
	border: 1px solid #E1E1E1;
	font-size: 13px;
	line-height: 14px;
	width: 435px;
	height: 250px;
	padding: 5px;
}
input:focus, input:hover, textarea:focus, textarea:hover {
	border: 1px solid rgba(88, 164, 48, 1);
	/*background-color: rgba(88, 164, 48, 0.2);*/
	/*box-shadow: 0 0 8px #58a430;*/
}
.req {
	color: red;
}
input[type=submit] {
	border: 1px solid #E1E1E1;
	display: block-inline;
	width: 100px; 
	height: 30px;
	cursor: pointer;	
	padding: 0;
	font-family: 'Open sans', sans-serif;
	font-size: 15px;
	margin: 3px 0 50px 500px;	
	background: none;		
}
input[type=submit]:hover {
	border: 1px solid rgba(88, 164, 48, 1);
}
#family_name { display: none; }

.address {
	float: left;
	width: 365px;
	padding: 10px;
	border: 1px solid #E1E1E1;
	font-size: 0.9em;
}
.address:hover {
	border: 1px solid #58a430;
}
.address:nth-of-type(1) {
	margin-bottom: 10px;
}
.address h3 {
	color: #58a430;
	font-size: 1.2em;
	margin-bottom: 5px;
}
.address p {
	line-height: 1.2em;
	display: inline-block;
	width: 180px;
}


/* CULTIVAR OVERVIEW */
#cultivar_container {
	width: 1100px;
	margin: 0 auto;
}
#cultivar_container h1 {
	font-size: 1.5em;
	margin-bottom: 10px;
}
#cultivar_container .gene_overview {
	width: 280px;
}			
.chr_header {
	font-size: 1em;
}
.a_top {
	font-size: 0.9em;
	position: absolute;
	left: 680px;
}
.chr_box {
	overflow: hidden;
	margin: 20px 5px;
}
.chr_box .linkage {
	width: 10px;
	float: left;
}
.line {
	height: 1px;
	background-color: blue;
}	
.chr_box .overview_collection {
	width: 570px;
	float: left;
	margin-left: 50px;
}
.chr_box .gene_view {
	cursor: pointer;
}
.chr_box .gene_overview {
	width: 280px;
	vertical-align: middle;
}
.chr_box .gene_header, .chr_box .gene_overview {
	display: inline-block;
}
.gene_header {
	font-size: 0.9em;
	width: 205px;
	text-align: right;
	vertical-align: middle;
}
.cultivar_chr_overview {
	width: 10px;
	border: 1px solid black;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 5px;
	overflow: hidden;
	position: relative;
	float: left;
}	
.chr_box .chr01 { height: 500px; }
.chr_box .chr02 { height: 275px; }
.chr_box .chr03 { height: 350px; }
.chr_box .chr04 { height: 405px; }
.chr_box .chr05 { height: 295px; }
.chr_box .chr06 { height: 335px; }
.chr_box .chr07 { height: 320px; }
.chr_box .chr08 { height: 320px; }
.chr_box .chr09 { height: 345px; }
.chr_box .chr10 { height: 335px; }
.chr_box .chr11 { height: 255px; }
.chr_box .chr12 { height: 345px; }
.cultivar_chr_overview .gene {
	height: 3px;
	width: 100%;
	background-color: blue;
	position: absolute;
	cursor: pointer;
}
#cultivar_list { list-style-type: circle; }
.select_cultivar { margin-left: 25px; cursor: pointer; }
.loading { margin-left: 250px; }
			
/* FIELD VALIDATION */		
.error {
	background: rgba(240, 0, 0, 0.2);			
}
.correct {
	background: rgba(36, 198, 78, 0.2);				
}


/* FOOTER */
#push {
	height: 70px;
}
#page_footer {
	font-size: 0.9em;
	width: 100%;
	height: 50px;
	background-color: #4e4e4e;
	border-top: 2px solid #58a430;		
}
#footer_content {
	width: 1100px;
	margin: 0 auto;
	position: relative;
}
#footer_links {
	margin-top: 10px;
	list-style-type: none;
}
#footer_links li {
	display: inline-block;
	margin: 0 10px;
}
#footer_links li a { color: #fff; }
#footer_links li a:hover { color: #58a430; }
#DM_reminder {
	color: red;
	display: block;
	width: 400px;
	position: absolute;
	top: 0;
	right: 10px;
}
#paper_reference {
	color: #fff;
	display: block;
	width: 400px;
	position: absolute;
	top: 0px;
	right: 10px;
}
#paper_reference i {
	font-style: italic;
}

/* GENE INFO */
.gene_info_label  {
	width: 135px;
	display: inline-block;
}
#seq_box {
	width: inherit;
	height: 98px !important;
	overflow-y: scroll;
	font-family: Courier, sans-serif;
	font-weight: thin;
	font-size: 12px;
	word-wrap: break-word;
	margin-bottom: 5px;
}
#copy_seq, #download_seq {
	margin-right: 5px;
	display: inline-block;
	border: 1px solid #E1E1E1;
	width: 70px; 
	height: 25px;
	cursor: pointer;	
	padding: 0;
	font-family: 'Open sans', sans-serif;
	font-size: 0.95em;		
	background: none;	
	vertical-align: middle;
}
#download_seq {
	color: #000;
	height: 23px;
	line-height: 23px;
	text-align: center;
}
#geneInfo {
	display: none;
	width: 300px;
	height: auto;
	padding: 10px;
	border: 1px solid black;
	position: absolute;
	background-color: #fff;
	font-family: Courier;
	font-size: 12px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#geneInfo:after {
	content: '';
	display: block;
	position: absolute;
	top: 20px;
	left: -20px;
	width: 0;
	height: 0;
	border-color: transparent #fff transparent transparent;
	border-style: solid;
	border-width: 10px;
}
#geneInfo:before {
	content: '';
	display: block;
	position: absolute;
	top: 19px;
	left: -22px;
	width: 0;
	height: 0;
	border-color: transparent #000 transparent transparent;
	border-style: solid;
	border-width: 11px;
}
#geneInfo .img_link { display: inline-block; padding: 0; text-align: center; }
#geneInfo .img_link img { border: 1px solid #e1e1e1; }
#geneInfo #login_request { width: auto; padding: 0; }


/* GENE OVERVIEW */
.gene_overview {
	width: 150px;
	height: 10px;
	border: 1px solid black;
	position: relative;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;				
	border-radius: 5px;
	margin: 5px;
	overflow: hidden
}
.gene_overview .snp {
	width: 1px;
	height: 100%;
	border-left: 1px solid #58a430;
	position: absolute;
}
.domain {
	height: 100%;
	position: absolute;
}
.NB-ARC {
	background-color: #9EE084;
}
.TIR {
	background-color: #F07582;
}
.LRR_1, .LRR_2, .LRR_3, .LRR_4, .LRR_5, .LRR_6, .LRR_7, .LRR_8, .LRR_9 {
	background-color: #FFFEBA;
}


/* HEADER */
#page_header {
	width: 100%;
	position: relative;
	background-color: #F8F8F8;
}		
#full_width_nav {
	width: 100%;
	box-shadow: 2px 0 4px rgba(78, 78, 78, 0.5);					
}
#web_navigation {
	width: 1100px;
	height: 70px;
	margin: 0 auto;
}
#web_navigation ul {
	list-style-type: none;
}
#web_navigation li, #web_navigation a {
	display: inline-block;
	color: #4e4e4e;
	height: 64px;
	line-height: 60px;
	margin: 3px 10px 0 10px;
	text-align: center;
	font-size: 1.1em;
	text-decoration: none;
}
#web_navigation li:first-child {
	margin-left: 0;
}
#web_navigation li:hover {
	background-color: #58a430;
	-moz-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;	
	transition: all 0.2s linear;
}
#web_navigation li.selected {
	background-color: #58a430;
}


/* HOME & PROJECT */
i { font-style: italic; }
#main article {
	width: 1100px;
	margin: 10px auto;
}
#main article h1 { font-size: 1.5em; }
#main article h3 { font-size: 1.2em; margin-top: 0.5em; }			
#main article ol { list-style-type: decimal; }
#main article ol li { margin: 10px 25px; line-height: 1.3em; }
#main article img { vertical-align: top; }
#main article p { line-height: 1.3em; text-align: justify; }
#main article b { font-weight: bold; }

#features { width: 1100px; height: 500px; border: 1px solid #e1e1e1; margin: 10px auto; display: table; }
#features_h1 { font-size: 2em; margin: 0 auto; color: #58a430; width: 300px; } 
#features p:not(:first-of-type) { display: none; }
#features img { max-width: 100%; }
#features ul { width: 100%; margin: 0; padding: 0; }
#features ul li {
	width: 219px;
	display: inline-block;
	height: 50px;
	line-height: 50px;
	text-align: center;
	cursor: pointer;
	border-bottom: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
}
#features ul li:last-child { border-right: none: }
#features ul li:hover { color: #58a430; }
#features ul li.active { color: #58a430; border-bottom: none; }
#features p { margin: 10px; line-height: 1.2em; text-align: justify; }
.p_heading { color: #58a430; font-size: 1.1em; }
#desc_jump_to { float: right; margin: 0 10px; }
#desc_stats { float: right; margin: 0 10px 10px 10px; }


/* LOGIN */
#login_request {
	width: 500px;
	margin: 0 auto;
	padding: 10px;
	line-height: 1.2em;
}
#login_request h2 { color: red; font-size: 1.2em; margin: 5px 0; }
#login_request a { color: #58a430; }


/* OVERVIEW */
#overview { width: 1100px; margin: 0 auto; font-size: 0.9em; }
#overview tr { line-height: 1.2em; }
#overview tr:nth-child(even) { background-color: #e1e1e1; }
#overview th { text-align: left; padding: 4px 1px; font-weight: bold; font-size: 1em; }
#overview td { padding: 1px 0px 1px 4px; }
#overview .libID { width: 200px; }
#overview .donator { width: 400px; }
#overview .donator_contact { width: 400px; }
#overview .chromosome_links { width: 100px; text-align: right;}


/* SEQUENCE ALIGNMENT */
#alignment_view { width: 1200px; margin: 0 auto; }
#alignment_view #geneInfo .img_link:first-of-type { display: none; }
#alignment_settings {
	font-size: 0.9em;
	padding: 10px;
	width: 100%;
	margin: 0 auto;
	border: 1px solid #E1E1E1;
	position: relative;
}
#alignment_settings h2 {
	font-size: 1.5em;
	cursor: pointer;				
}
#settings_button {
	position: absolute;
	top: 7px;
	right: 5px;
	cursor: pointer;
}
#cultivar_selection {
	margin-top: 10px;
	width: 950px;
	display: inline-block;
	position: relative;
}
#cultivar_selection h3 {
	margin-bottom: 5px;
}
#cultivar_selection label {
	display: inline-block;
	width: auto;
}
#cultivar_selection #select_deselect {
	display: block;		
	border: 1px solid #E1E1E1;
	width: 80px; 
	height: 25px;
	cursor: pointer;	
	padding: 0;
	font-family: 'Open sans', sans-serif;
	font-size: 15px;
	margin: 3px 0 0 0px;	
	background: none;			
	font-size: 0.9em;	
}	
#cultivar_selection #select_deselect:hover {
	border: 1px solid rgba(88, 164, 48, 1);
}
#download_sequences {
	width: 150px;
	position: absolute;
	bottom: 10px;
	right: 20px;
}
#btn_download { 
	margin-top: 5px; 
	display: block;
	border: 1px solid #E1E1E1;
	width: 70px; 
	height: 25px;
	cursor: pointer;	
	padding: 0;
	font-family: 'Open sans', sans-serif;
	font-size: 0.9em;	
	background: none;	
	line-height: 25px;
	text-align: center;
	color: black;
}
#save_selection, #delete_selection {
	position: absolute;
	border: 1px solid #E1E1E1;
	width: 110px; 
	height: 25px;
	cursor: pointer;	
	padding: 0;
	font-family: 'Open sans', sans-serif;
	font-size: 15px;
	margin: 3px 0 0 0px;	
	background: none;			
	font-size: 0.9em;	
}
#btn_download:hover, #save_selection:hover, #delete_selection:hover { border: 1px solid rgba(88, 164, 48, 1); }
#save_selection {
	bottom: 0;
	right: 130px;
}
#delete_selection {
	bottom: 0;
	right: 10px;
}
#sequences {
	font-family: 'Courier New';
	margin: 10px auto;
	width: 100%;
	padding: 10px;
	font-size: 0.9em;
	vertical-align: middle;
	text-align: center;
}
#sequences th {
	font-weight: bold;
	text-align: center;
}
#sequences td {
	text-align: center;
	vertical-align: middle;		
	height: 20px;	
	width: 18px;
	font-size: 0.9em;
}
#sequences .seqID {
	white-space: nowrap;
	max-width: 150px;
	width: 150px;
	overflow-x: auto;
	cursor: pointer;
	text-align: right;
	overflow: hidden;
	font-size: 0.9em;
}
#sequences .seqDM { text-align: right; }
#sequences .DM td, #sequences .tickmark td {
	height: 16px;
	vertical-align: middle; 
}
#sequences .spacer { height: 4px; }
#sequences td.empty { height: 40px; }
#sequences .lastPos { text-align: left; padding-left: 5px; }


#sequences .domain_bar td {
	height: 10px;
	border-bottom: 4px solid rgba(255, 255, 255, 1.0);
}
.posLeft {
	text-align: right;
	padding: 0 10px;	
}
.posRight {
	text-align: left;
	padding-left: 10px;
}
.A {
	background-color: #f8fba1;
}
.T {
	background-color: #bff8b0;
}
.C {
	background-color: #c1c1fb;
}
.G {
	background-color: #f2b0aa;
}
.SNP, .neg_SNP {
	color: red;
	background-color: none;	
}
.SNP:hover, .neg_SNP:hover {
	text-decoration: underline;	
	cursor: pointer;
}	
#loading {
	display: none;
	clear: left;
	background-image: url('assets/img/ezgif-save.gif');
	background-repeat: no-repeat;
	background-position: 580px;				
	width: 1200px;
	height: 100px;
}	

.NB-ARC {
	background-color: #9EE084;
}
.TIR {
	background-color: #F07582;
}
.LRR_1, .LRR_2, .LRR_3, .LRR_4, .LRR_5, .LRR_6, .LRR_7, .LRR_8, .LRR_9 {
	background-color: #FFFEBA;
}
.gene_coverage td {
	height: 16px;				
}
.entire_gene {
	border: 1px solid black;
	position: relative;
}		
.coverage {
	width: 1px;
	height: 100%;
	border-left: 1px solid #D1D1D1;
	position: absolute;			
	top: 0;
	z-index: -1;
}
#domain_coverage td {
	height: 16px;
}
#domain_overview {
	position: relative;
	border: 1px solid black;
}
#domain_overview .domain {
	position: absolute;
	height: 100%;
	top: 0;
	z-index: -1;
	overflow: hidden;
	font-size: 12px;
	line-height: 16px;
}
.coverage_spacer td {
	height: 5px;
}

#geneInfo .gene_overview {
	width: 280px;
}


/* SITEMAP */
#sitemap {
	width: 1100px;
	margin: 0 auto;
	list-style-type: circle;
}
#sitemap h1 {
	font-size: 1.5em;
	margin-bottom: 10px;
}
#sitemap li {
	margin-left: 25px;
}


/* SNP INFO */
#snpInfo {
	display: none;
	width: 140px;
	height: 60px;
	padding: 10px;
	border: 1px solid black;
	position: absolute;
	background-color: #fff;
	font-family: Courier;
	font-size: 12px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
}
#snpInfo:after {
	content: '';
	display: block;
	position: absolute;
	top: -20px;
	left: 70px;
	width: 0;
	height: 0;
	border-color: transparent transparent #fff transparent;
	border-style: solid;
	border-width: 10px;
}
#snpInfo:before {
	content: '';
	display: block;
	position: absolute;
	top: -22px;
	left: 69px;
	width: 0;
	height: 0;
	border-color: transparent transparent #000 transparent;
	border-style: solid;
	border-width: 11px;
}
#snpInfo #snpClose {
	color: red;
	position: absolute;
	bottom: 2px;
	right: -20px;
	cursor: pointer;
}
#snpInfo #snpID {
	font-weight: bold;
	margin: 0 0 5px 0;
}
#snpInfo #snpLibrary {
	display: block;
	margin: 0 0 5px 0;
}
#snpInfo span {
	display: inline-block;
	width: 35px;
	margin-bottom: 2px;
}


/* STATISTICS */
#statistics {
	width: 1100px;
	margin: 0 auto;
	position: relative;
	min-height: 500px;
	font-size: 0.9em;
}
#statistics h2 {
	font-size: 24px;
	margin-bottom: 10px;
}
#h2_cultivar_stats {
	margin-top: 20px;
}
.db_stats {
	display: inline-block;
	width: 60px;
}
#cultivar_origins {
	position: absolute;
	top: 0;
	right: 0;
}
#cultivar_origins img { height: 500px; }
#cultivar_stats th { 
	border-bottom: 1px solid black; 
	text-align: left; 
	vertical-align: bottom; 
}
#cultivar_stats tr:nth-child(2) > td { padding-top: 5px; }
#cultivar_stats td, #cultivar_stats th { padding: 2px; }
#cultivar_stats tr:nth-child(odd) { background-color: #F8F8F8; }
#cultivar_stats tr:first-child { background-color: #fff; }
#th_cultivar { width: 70px; }
#th_genes { width: 70px; }
#th_snps { width: 70px; }
#th_avg { width: 100px; }


/* 404 ERROR */
#error_404, #error_403 {
	width: 1100px;
	margin: 0 auto;
}
#error_404 h1, #error_403 h1 {
	font-size: 2.5em;
	width: 500px;
	margin: 20px auto;
}
#error_404 span, #error_404 a, #error_403 span, #error_403 a { color: red; }
.previous_page { cursor: pointer; }
#error_404 p, #error_403 p {
	font-size: 1.1em;
	width: 500px;
	margin: 0 auto;
}
