﻿/* ###################################################################
	Common MergeFlow CSS (shared between NewsSurveyor, Homepage etc.)
   ################################################################### */

html
{
	font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	background-color:white;
	font-size:smaller;
	color: #333;
	margin:0;
	padding:0;
}

body
{
	margin:0;
	padding:0;
}

#header
{
	background-color:#d2ff42;
	background-image:url(header80.png);
	background-repeat:no-repeat;
	margin-bottom:2em;
	height:80px;
}

#headernavi
{
	float:right;
	margin:0.5em 1em 0 0;
}

#headernavi a
{
	color:#333;
	text-decoration:none;
}

#headernavi a:hover
{
	color:#333;
	text-decoration:underline;
}

#page /* needs to be extra layer, because IE doesn't support it on html/body */
{
	margin:0 1em 0 1em;
	max-width:60em; /* readablity: not too many characters per line */
}

h1
{
	letter-spacing:0.1em;
}

h2
{
	letter-spacing:0.1em;
}

h3
{
	letter-spacing:0.1em;
}

h5
{
	font-size:1em;
	display:inline;
}

p
{
	margin:0;
}

p + p
{
	margin-top:0.8em;
}

img
{
	border:none;
}

.clear
{
	clear:both;
}

span.nobr
{
	white-space:nowrap;
}

#pagetop
{
	text-align:center;
	padding:1em 0 2em 0;
}

.bodytext
{
	line-height: 180%;
}

dl
{
	line-height: 130%;
}

dt
{
	font-size:0.9em;
	letter-spacing:0.02em;
	font-weight:bold;
}

dd
{
	margin-bottom:1em;
}

.leftcol
{
	float:left;
	width:48%;
	margin-right:3%;	
}

.rightcol
{
	float:right;
	width:48%;
}

/* ######### Tabs ######### */

.tabs {
	padding: 0;
	margin: 0;
	font-weight: bold;
	list-style-type: none;
	text-align: left;
	text-decoration: none;
}

.tabs a 
{
	color:#333;
}

.tabs li {
	display: inline;
	margin:0 0.33em 0 0;
	position: relative;
	top: 0;
	padding:0;
}

.tabs li a {
	text-decoration: none;
	padding: 0.2em 0.66em 0.2em 0.66em;
	margin: 0;
}

.tabs li a:hover{
	background-color: white;
	text-decoration: none;
}

.tabs li a.selected {
	text-decoration: none;
    background-color: white;	
	border-bottom: 0.15em white solid;
}

.tabs li a.selected:hover {
	background-color: white;
	text-decoration: none;
	background-image: none;	
}

.tabs li a {
	border: 0.15em solid #ddd;
	background-color: #eee;
}

.tabs li a.selected {
	border-top: 0.15em #ddd solid;
	border-left: 0.15em #ddd solid;
   	border-right: 0.15em #ddd solid;
}

/* ######### tab page body ############# */

#tabpage {
	margin-top:0.2em;
	border: 0.15em solid #ddd;
	padding:1em 0.66em 1em 0.66em;
}

/* ######## Footer ########### */

#footer
{
	margin:1em 0;
	clear:both;
	font-size:0.8em;
}

/* ############################################################
	Homepage-specific styles
   ############################################################ */

h2
{
	padding-top: 1.5em;
}

h4
{
	letter-spacing:0.1em;
}

#tabpage > p:first-child 
{
    font-size: 1.4em;
    letter-spacing:0.02em;
    padding-top: 1em;
    padding-bottom: 1.5em;
}

/* ######## Engine Page ######### */

.rightspace
{
	padding-right: 7px; 
}

.leftspace
{
	padding-left: 7px; 
}

.column
{
	 padding-bottom: 10px;
}

.centred
{
	text-align: center;
}

/* ######## Alliance Page ####### */

.first_p 
{
    /* font-weight:bold;*/
}

#alliancetab table
{
	margin:1em 0 0 0;
}

#alliancetab td
{
	vertical-align:top;
	padding:0.5em;
	border:solid 0.5em #ddd;
}

#alliancetab ul
{
	margin:0;
	padding:0 0 0 1.5em;
}

#alliancetab p
{
	text-align:center;
}

#alliancetab img
{
	margin:0.25em 0;
}

/* ######## Index Page ####### */

.no_margin 
{
}