/* @override http://localhost/bms/bms.css */

/* Main */

body
{
	font-family: "Gill Sans", Verdana, sans-serif;
	font-size: 12px;
}

img
{
	border:  none;
}

a:link,
a:visited
{
	color: #025894;
	text-decoration: none;
}

a:hover
{
	color: #025894;
	text-decoration: underline;
}

a:active
{
	color: #79d6ff;
}

div.clear
{
	clear: both;
}

#page
{
	position: relative;
	
	margin: 12px auto;
	width: 966px;
}

/* Logos */

#logos
{
	position: absolute;
	
	width: 230px;
	margin-top: 24px;  /* Should be 16px */
	top: 75px;         /* BMS Logo height */
	left: 0;
}

#logos a,
#logos img
{
	display: block;
}

a#etnet
{
	margin-bottom:  80px;
}

a#iuh
{
	margin-bottom:  28px;
}

a#unil
{
	width: 100px;
	float:  left;
}

a#chuv
{
	width: 60px;
	margin-left: 125px;
	/* Correct value is 5 (Height UNIL: 37, CHUV: 32) */
	/* but 4 is visually better */
	padding-top: 4px;
	margin-bottom: 48px;
}

a#epfl
{
	width: 181px;
	clear:  both;
	margin-bottom: 48px;
}

#logos p
{
	font-size: 0.9em;
	margin-right: 25px;
	color: #555;
}

/* Content */

#content
{
	margin-top: 16px;
	margin-left: 245px;
	
	text-align: justify;
	line-height: 150%;
}

#content h1
{
	font-size:  1.2em;
}

ul.fr
{
	list-style-image: url(logos/dash.png);
}

.signature
{
	text-align: right;
	margin: 2em 0;
}

/* Menu */

#menu
{
	margin-bottom: 16px;

	position: relative;
	height: 16px;

	font-weight: bold;
}

#menu div
{
	display: block;
	width: 240px;
	position: absolute;
}

#menu a:link,
#menu a:visited
{
	color: black;
	text-decoration: none;
}

#menu a:hover
{
	color: #025894;
	text-decoration: none;
}

#menu a:active  /* I didn't think it would be needed */
{
	color: #79d6ff;
}

#english_link
{
	left: 0;
	text-align: left;
}

#french_link
{
	left: 240px;
	text-align: center;
}

#form_link
{
	right: 0;
	text-align: right;
}

/* Form */

#form_replacement
{
}

form,
#form_replaced
{
	margin: 0 42px;
}

.field_group,
.radio_group
{
	margin: 32px 0;
}

input[type=radio],
.radio_group input
{
	display: block;
	float:  left;
}

.radio_group label
{
	display: block;
	margin-left: 28px;
}

label
{
	padding: /*4px*/ 0;  /* For clickability */
}

#form_replaced dt
{
	font-weight: bold;
}

#form_replaced dd
{
	margin-bottom: 12px;
}

label.error
{
	display:  block;
	color:  red;
}

textarea
{
	margin-bottom: 2ex;
	width: 640px;
	padding: 0;
}

input[type=submit]
{
	display: block;
	margin: 3ex 0 8ex auto;
}

#upload_section
{
	border: 1px solid #888;
	padding: 8px;
	width: 624px; /* 640 - padding */
}

#upload_section label
{
	margin-right: 1em;
}

#file_size_error
{
	color:  red;
}

.bilingual p
{
	margin: 0.2em 0;
}

#links
{
	margin: 3em 0;
}

#links p
{
	text-align:  center;
	font-weight: bold;
}
