/*** Allgemeine Regeln ***/

body, html {
	font-family: Arial, sans-serif;
	background-color: #d9d9d9;
	margin: 0;
	padding: 0;
	height: 101%;
	font-size: 12px;
}

a {
	font-style: italic;
	color: #000;
	text-decoration: none;
}

img, a img {
	border-color: black;
	border: 0;
	vertical-align: middle;
}

img.pic {
	border: 1px solid black;	
}

h1, h2, h3, h4, h5 {
	clear: both;
}
/*** Layout und Aufbau der Seite:
 *
 * #header (fixed)
 *   #banner
 *   #menu <ul>
 *     <li> oder <li.selected>
 *   #submenu <ul> (optional)
 *     <li> oder <li.selected>
 * #headline (fixed)
 *   <h1>
 * #leftrow
 *   h1 (fixed)
 *   #content
 *     <content> (see: next section)
 * #rightrow (fixed)
 *   <div.rightbox> (<div class="rightbox"><div><div><div>[CONTENT]</div></div></div></div>)
 *   ...
 * #footer
 */

/*** Farben:
 * 
 * #f6f6f6 (hellgrau)    Content-Hintergründe
 * #eeeeee (hellgrau2)   Boxen in der rechten Spalte
 * #d9d9d9 (grau)        Hintergrund
 * #737373 (dunkelgrau)  Menu
 * #999999 (dunkelgrau2) Submenu
 */


#header {
	position: fixed;
	z-index: 50;
	top: 0;
	left: 0;
	width: 100%;
	height: 125px; /* 70 #banner + 25 #menu + 20 #submenu + 10px free */
	background-color: #d9d9d9;	
}

#banner { /* child of #header */
	height: 70px;
	width: 100%;	
}

#menu { /* child of #header */
	background-color: #737373;
	height: 25px;
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}

#menu li {
	float: left;
	padding: 0;
	margin: 0;
	text-align: center;
}

#menu li a {
	float: left;
	display: block;
	height: 25px;
	padding: 0 7px;
	line-height: 25px;
	vertical-align: -10%;
	color: #f2f2f2;
    font-style: normal;
}

#menu li a:hover {
	background-color: #999999;
}

#menu li.selected a {
	background-color: #999999;
	color: black;
}

#submenu { /* child of #header */
	background-color: #999999;
	height: 20px;
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}

#submenu li {
	float: left;
	padding: 0;
	margin: 0;
	text-align: center;
}

#submenu li a, #submenu li span {
	float: left;
	display: block;
	height: 20px;
	padding: 0 7px;
	line-height: 20px;
	vertical-align: -10%;
	color: #f2f2f2;
        font-style: normal;
}

#submenu li a:hover {
	background-color: #d9d9d9;
}

#submenu li.selected a {
	color:black;
	background-color: #d9d9d9;
}

#headline {
	position: fixed;
	top: 125px;
	left: 0;
	/*z-index: 50;*/
	width: 100%;
	height: 50px;
}

#headline div {
	margin: 0 170px 0 10px;
	background: transparent url('/images/layout/corner_rt.png') no-repeat right top;
}

#headline div div {
	background: transparent url('/images/layout/corner_lt.png') no-repeat left top;
	padding: 0 10px;
	margin: 0;
}

#headline h1 {
	background: #f6f6f6 no-repeat left 10px;
	font-size: 16px;
	margin: 0 0;
	padding: 15px 0 0 16px;
	height: 35px;
}

#leftrow {
	background-color: #f6f6f6;
	margin: 120px 170px 0 10px;
	padding: 35px 0 5px 0;
}

#content {
	width: 680px;
	margin: 0 auto;
	text-align: justify;
	padding: 0 10px 10px 10px;
	background-color: #ddd;
}

#content p {
	margin: 0 0 0 0;
	padding: 0 0 10px 5px;
}

#content h1 { /* should not be used. Has special meaning within #leftrow. Use only h2-h5 within #content */
	display: none;
}

#content h2 {
	display: block;
	background-color: #bbb;
	margin: 10px -10px 10px -10px; /* The surrounding #content has padding: 10px */
	padding: 4px 10px;
	border: 2px solid #f6f6f6;
	border-width: 10px 0 2px 0;
	font-weight: bold;
	font-size: 16px;
}

#content h3 {
	display: block;
	background-color: #bbb;
	margin: 10px -10px 10px -10px; /* The surrounding #content has padding: 10px */
	padding: 3px 10px;
	border: 2px solid #f6f6f6;
	border-width: 5px 0 2px 0;
	font-weight: bold;
	font-size: 14px;
}

#content h4 {
	display: block;
	border: 1px solid #aaa;
	border-width: 0 0 1px 0;
	margin: 15px 0 5px 0;
	padding: 0 0 2px 0;
	font-weight: bold;
	font-size: 14px;
}

#content h5 {
	display: block;
	margin: 0 0 2px 0;
	padding: 0;
	font-weight: bold;
	font-size: 12px;
}

/*h3 without content border*/
#content h7{
	display: block;
	background-color: #bbb;
	margin: 10px -10px 0 -10px; /* The surrounding #content has padding: 10px */
	padding: 3px 10px;
	border: 2px solid #f6f6f6;
	border-width: 5px 0 2px 0;
	font-weight: bold;
	font-size: 14px;
}

#content hr {
	clear: both;
	width: 100%;
	height: 1px;
	border: 1px solid #aaa;
	border-width: 0 0 1px 0;
	margin: 1px;
	padding: 8px 0;
}

#content hr.dashed {
	border-style: dashed;
}

#content a {
  text-align: left;
}

#content a.anker {
	position: relative;
	top: -153px;
	left: -10000px;
}

#rightrow {
	position: fixed;
	/*z-index: 50;*/
	top: 125px;
	right: 0;
	width: 150px;
	height: 100%;
	margin: 0;
	padding: 0 10px 0 10px;
	background-color: #d9d9d9;
	font-size: 10px;
}

#rightrow h2 {
	padding: 2px;
	margin: 2px;
	font-size: 12px;
	font-weight: bold;
}

#rightrow table {
	width: 100%;
}

#rightrow td {
	padding: 0 5px 3px 5px;
	margin: 0;
}

.rightbox {
	background: #eee;
	margin-bottom: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        padding: 5px;
}
/*.rightbox div {
	background: transparent url('/images/layout/corner_rbox_rt.png') no-repeat top right;
}
.rightbox div div {
	background: transparent url('/images/layout/corner_rbox_lb.png') no-repeat bottom left;
}
.rightbox div div div {
	background: transparent url('/images/layout/corner_rbox_rb.png') no-repeat bottom right;
	padding: 5px;
}
.rightbox div div div div {
	background: transparent;
}*/

#baseline {
	position: relative;
	left: 0;
	top: -5px;
	width: 100%;
}

#baseline div {
	margin:0 170px 0 10px;
	background: transparent url('/images/layout/corner_lb.png') no-repeat bottom left;
}

#baseline div div {
	background: transparent url('/images/layout/corner_rb.png') no-repeat bottom right;
	padding: 0 10px;
	margin: 0;
}

#baseline p {
	background: #f6f6f6 no-repeat left 10px;
	margin: 0 0;
	padding: 0 0 0 16px;
}

#footer {
	font-size:12px;
	clear: both;
	text-align:center;
	padding: 0 0 10px 0;
}

#footer_content {
	margin:0 170px 0 10px;
	line-height:20px;
}

/*** Main structural elements
 * Use <h2> for headings and surround all content with div.block elements
 */


/* progressbar */
/*#progress_bar {
	position: fixed;
	top:0;
	right: 0;
	background-color:#eee;
	padding:5px 10px;
	-moz-border-radius: 0 0 0 10px;
}

 screen to prevent clicks during Ajax requests
#progress {
	background-image: url(/images/layout/progress_bg.png);
	display:none;
	cursor:wait;
	position:fixed;
	top:0;
	left:0;
	z-index:999;
	width:100%;
	height:100%;
}*/

#progress {
    display: none;
    cursor: wait;
    opacity: 0;
    background-color: red;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    width:100%;
    height:100%;
}


/*** Formulare ***/

input, textarea {
	background-color: #f2f2f2;
	border: 1px solid #737373;
	border-color: #737373 #aaa #aaa #737373;
	margin: 1px;
}

input[type=submit] {
  border-color: #fff #737373 #737373 #fff;
}

input[type=checkbox] {
  border:0;
  background: transparent;
  padding:0;
  margin:0;
}

input[type=image], input[type=image]:hover, input[type=image]:focus{
	background-color: transparent;
	border: 0;
	vertical-align: middle;
}

input[type=text], textarea {
  vertical-align: middle;
  padding: 1px 3px 1px 3px;
}

input:hover, textarea:hover{
	background-color: #fff;
	border-color: #737373 #aaa #aaa #737373;
}

input:focus, textarea:focus {
	border: 2px solid black;
	border-color: #737373 #aaa #aaa #737373;
	margin: 0;
}

.notice {
    color:red;
}
div.slider { width:256px; margin:10px 0; background-color:#ccc; height:10px; position: relative; }
div.slider span.handle { width:10px; height:15px; background:url("/images/layout/slider_pull.gif") no-repeat center bottom; position: absolute; cursor:move;}
span.slider_info {padding-left:260px; white-space:nowrap;}

.assembly_method_version {
    padding-left: 10px;
}

.aa_info_header {
    background-color: #737373;
    border-color: gray;
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    border-width: 1px;
    color: #f6f6f6;
    padding: 3px;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 10px;
}

.rss_twitter_logo {
    position: relative;
    float: right;
    top: 5px;
    margin-right: 5px;
}

.species_list_genome_files {
    background-color: #EDEDED;
    color: #333333;
}

.switch_off {
    width: 23px;
    background-image:url(/images/layout/socialshareprivacy_on_off.png);
    background-position: 1 12px;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    margin: 4px 0 0;
    overflow: hidden;
    text-indent: -9999em;
}
.switch_on {
    width: 23px;
    background-image:url(/images/layout/socialshareprivacy_on_off.png);
    background-position: 0 12px;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    margin: 4px 0 0;
    overflow: hidden;
    text-indent: -9999em;
}

#info_switch_off {
    background-color: #A4CAFE;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    bottom: 40px;
    box-shadow: 0 3px 4px #999999;
    color: #000000;
    display: none;
    font-size: 12px;
    font-weight: bold;
    left: 0;
    line-height: 16px;
    padding: 10px 15px;
    width: 110px;
    z-index: 500;
}
.sequences_index_name {
    float: left;
    width: 150px;
    color: #598707;
}

.sequences_index_data {
    float: left;
}

.sequences_index_sequences {
    margin-left: 160px;
}

.alignment_table {
    width: 100%;
    border-width: 1px;
    border-collapse: collapse;
/*    background-color: rgb(255, 245, 238);*/
}

.alignment_table th{
    border-width: 1px;
    border-style: inset;
    border-color: gray;
    background-color: #bbbbbb;
    color: white;
}

.alignment_table td:first-child {
    text-align: left;
    background-color: #eeeeee;
    color: black;
}

.alignment_table td {
    border-width: 1px;
    padding: 1px;
    border-style: inset;
    border-color: gray;
    background-color: white;
    text-align: right;
}

.alignment_table tr:hover td:first-child {
    text-align: right;
}