/* ==============================================
   FEUILLE DE STYLES DES GABARITS HTML/CSS --- 03
   © Elephorm & Alsacreations.com
   Conditions d'utilisation:
   http://creativecommons.org/licenses/by/2.0/fr/
   ============================================== */


/* --- COULEURS --- */

/* Note: vous pouvez modifier simplement l'aspect de ce gabarit en modifiant
   uniquement les couleurs de fond (propriétés background) et les couleurs
   du texte (propriété color).
   Pour modifier la disposition des blocs, voir plus bas dans la feuille de
   styles la partie «positionnement». */

/* Général */
body {
	background-image:url(../images/bimg.png);
	background-repeat:repeat-x;
	background-position:top left;
	background-color:#000080;
}
a {
	color: #FF6533;
}
a:hover, a:focus {
	color: #FF4C00;
}
strong {
	color: #A1B55D;
}

/* Page (top div)*/
#global {
	/*background: #181A12;*/
}

/* Navigation*/
#navigation {
	/*background: #181A12;*/
	width:542px;
	float:left;
}
#navigation a {
	color: #FFFFFF;
}
#navigation a:hover, #navigation a:focus {
	background: #4169E1;
	color:#FFFF00;
	/*border:1px solid #FFFF00;*/
}

/* BOTTOM BAR LINK BUTTONS */
a#shipowners {
	float:left;
	width:141px;
	height:48px;
	background-image:url(http://www.seajobrate.com/images/shipowners.gif);
	background-repeat:no-repeat;
	background-position:bottom left;
}
a#shipowners span { 
	display:none;
}
a#shipowners:hover {
	background-image:url(http://www.seajobrate.com/images/shipowners_hover.gif);
}
a#members {
	float:right;
	width:141px;
	height:48px;
	background-image:url(http://www.seajobrate.com/images/members.gif);
	background-repeat:no-repeat;
	background-position:bottom right;
}
a#members span { 
	display:none;
}
a#members:hover {
	background-image:url(http://www.seajobrate.com/images/members_hover.gif);	
}

/* BOTTOM BAR LINK BUTTONS END */

/* SUBSCRIBE BUTTON BUTTON */
a#subscribe {
	float:left;
	width:90px;
	height:80px;
	background-image:url(http://www.seajobrate.com/images/actions/go_off.png);
	background-repeat:no-repeat;
	background-position:center center;
}
a#subscribe span { 
	display:none;
}
a#subscribe:hover {
	background-image:url(http://www.seajobrate.com/images/actions/go_on.png);
}
/* SUBSCRIBE BUTTON BUTTON END */

/* content */
#contenu {
	color: #363B29;
	/*background: #cbd888;*/
	background-color:#E6E6FA;
/*	background:#FFFFFF;
*/}
#contenu a {
	color: #FFFFFF;
}
#contenu a:hover, #contenu a:focus {
	color: #00076B;
}
#contenu strong {
	color: #181A12;
}

/* Pied de page */
#pied {
	color: #E6A948;
}


/* --- POSITIONNEMENT --- */

/* Page */
html, body {
	height: 100%; /* Voir -> Note 1 ci-dessous */
}
body {
	padding: 0;
}
#global {
	min-height: 100%; /* -> 1 */
	width: 852px;
	overflow: hidden; /* -> 2 */
	margin-left: auto;
	margin-right: auto; /* -> 3 */
}

/* En-tête */
#entete {
	/*padding: 15px 20px 10px 20px;*/
	margin-bottom:0px;
}
#entete h1 {
	margin: 0;
}
#entete h1 img {
	float: left;
	margin: 7px 20px 10px 0;
}

#entete .sous-titre {
	margin: 2px 5 2px 5;
}

/* Menu de navigation */
#navigation {
	padding: 15px 15px;
}
#navigation ul {
	margin: 0;
	list-style: none;
	text-align: center;
}
#navigation li {
	display: inline;
}
#navigation a {
	padding: 6px;
	line-height: 1.5;
	font-size: .9em;
	text-decoration: none;
}

/* Contenu */
#contenu {
	padding: 0px 0px;

	min-height:400px;
	height:auto;
}

/*#contenu > :first-child {
	margin-top: 10px;
}*/

#contenu p, #contenu li {
	line-height: 1.5;
}



/*MULTICOLOR BANNER*/
#multicolor {
	width:100%;
	height:124px;
	padding-top:20px;
	background-image:url(../images/multicolor_newsfact1.jpg);
	background-repeat:no-repeat;
	background-position:0% 50%;
}
/* END MULTICOLOR BANNER*/

/* TABS DIV */
#tabsbloc {
	display:block;
	height:35px;
	margin-bottom:25px;
	background-color:#D3D3D3;
	font-size:20px;
	color:#4169E1;
}
.tab {
	float:left;
	padding:2px 10px 2px 10px;
	color:#000080;
	text-align:center;
	line-height:30px;
	background-color:#E6E6FA;
	border-top:2px solid silver;
	border-right:2px solid silver;
}
.tab_dis {
	float:left;
	padding:2px 10px 2px 10px;
	color:#000080;
	text-align:center;
	line-height:30px;
	background-color:#DCDCDC;
	border:1px inset silver;
}

#ctryname {
	float:right;
	text-align:right;
	font-weight:bold;
}

.icn_pos {
	padding:0px 5px 0px 0px;
}

.flag_pos {
	margin:0px 0px 0px 10px;
}

/*PAGE : INDEX.PHP*/
#trynow {
	background-image:url(http://www.seajobrate.com/images/trynow700_a.gif);
	background-repeat:no-repeat;
	background-position:center center;
	width:100%;
	height:290px;
}

#ctryform {
	float:right;
	margin-right:89px;
	margin-top:69px;
	width:322px;
	height:195px;
	text-align:left;
	font-weight:bold;
	color:#000080;
	border:0px solid black;
}

#flags_bloc {
	display:block;
	height:130px;
	overflow:hidden;
}
#ctry_list {
	height:auto;
	text-align:center;
	background-color:#FFFFFF;
	border-top:1px solid #B0C4DE;
	border-bottom:1px solid #B0C4DE;
	padding-top:8px;
	padding-bottom:4px;
}

#nxtctry_list {
	height:auto;
	text-align:left;
	padding-left:4px;
	line-height:2em;
	color:#FFFFFF;
	padding-top:5px;
}

#ctry_select {
	margin-top:35px;
	width:315px;
	height:25px;
	text-align:right;
	font-weight:bold;
}

.errormsg {
	text-align:center;
	color:crimson;
	background-color:yellow;
	margin-top:-21px;
	margin-bottom:0px;
	border-top:1px solid blue;
	border-bottom:1px solid blue;
}

.ieflags {
	margin:0px 4px 0px 4px;
	border:1px solid #D3D3D3;
}

.nxtflags {
	margin:3px 4px 3px 4px;
}

#errormsgcontainer {
	height:34px;
	width:445px;
	padding:10px 0px 5px 75px;
	background-image:url(http://www.seajobrate.com/images/form/msgbox.png);
	background-repeat:no-repeat;
	background-position:center left;
	line-height:1.3em;
	color:crimson;
	font-weight:bold;
	font-size:11px;
}

#errormsgcontainer2 {
	float:left;
	width:600px;
	height:34px;
	padding-left:75px;
	padding-top:10px;
	background-image:url(http://www.seajobrate.com/images/form/msgbox_long.png);
	background-repeat:no-repeat;
	background-position:center left;
	margin-left:8px;
	color:crimson;
	font-weight:bold;
	font-size:11px;
}

/* PAGES FROM STEP0 TO STEP 8 */
#page_topic {
	margin:0% 5% 0% 5%;
	padding:0px 0px 0px 10px;
	background-color:#4169E1;
	border-bottom:2px solid #FFFFFF;
	line-height:36px;
	font-size:22px;
	color:#FFFFFF;
	font-weight:bold;
}

.form_title {
	padding:5px 0px 0px 10px;
	line-height:24px;
	font-size:14px;
	font-weight:bold;
	background-color:#D3D3D3;
	border-bottom:1px solid #FFFFFF;
}

.form_content {
	line-height:20px;
	background-color:#FFFACD;
}

#form_line {
	margin:0% 5% 0% 5%;
	padding:0px 0px 0px 10px;
	background-color:#FDFDFD;
	border-top:1px solid #4169E1;
	border-right:8px solid #4169E1;
}

#form_line2 {
	height:auto;
	margin:0% 5% 0% 5%;
	padding:0px 0px 0px 10px;
	background-color:#FDFDFD;
	border-top:1px solid #4169E1;
	border-right:8px solid #4169E1;
}

#form_msg {
	float:left;
	display:inline;
	width:65%;
	min-height:34px;
	padding:8px;
	margin-left:5%;
	background-color:khaki;
	border-right:8px solid orange;
	border-bottom:1px solid orange;
	text-align:left;
	line-height:15px;
	font-size:11px;
	font-weight:bold;
	color:#DC143C;
}

#form_submit {
	float:right;
	display:inline;
	width:20%;
	margin:0% 5% 0% 0%;
	line-height:50px;
	background-color:#DCDCDC;
	border-right:8px solid #4169E1;
	border-bottom:1px solid #4169E1;
	text-align:center;
}

/* TABLE STYLING */ 
TABLE {
	background-color:#FDFDFD;
	color:#000080;
	font-family:geneva;
	font-weight:normal;
	font-size:10px;
	text-align:left;
	margin-bottom:2px;
}

.title {
	font-size:12px;
	font-style:italic;
	font-weight:bold;
	color:#1E90FF;
}

.headline {
	background-color:#4169E1;
	color:#ffffff;
	font-weight:bold;
	text-align:center;
}

.headline1 {
	background-color:#FF8C00;
	color:#ffffff;
	font-weight:bold;
	text-align:center;
}

.line_norm {
	background-color:#F5F5F5;
}

.line_alt {
	background-color:#FFFFFF;
}

.line_warn {
	background-color:#FFFF00;
}

.line_good {
	background-color:#ADFF2F;
}

.totals {
	background-color:dimgray;
	color:#ffffff;
	font-weight:bold;
	text-align:center;
}

/* PAGES FROM STEP0 TO STEP 8 END*/




/* Pied de page */
#pied {
	padding: 0px 0px;
	font-size: .85em;
	border-left: 2px solid #808000;
	border-right: 2px solid #808000;
}
#pied p {
	margin: .5em 0;
}

#btmbar {
	display:block;
	width:854px;
	height:47px;
	position:relative;
	margin-top:0px;
	background-image:url(http://www.seajobrate.com/images/bottom_blue.png);
	background-repeat:no-repeat;
	background-position:top center;
}

#copyright {
	text-align: left;
	font-size: 1em;
}


/* --- NOTES ---

1.	Pour pouvoir utiliser une hauteur (height) ou une hauteur minimale
	(min-height) sur un bloc, il faut que sont parent direct ait lui-même une
	hauteur déterminée (donc toute valeur de height sauf "auto": hauteur en
	pixels, em, autres unités...).
	Si la hauteur du parent est en pourcentage, elle se réfère alors à la
	hauteur du «grand-père», et ainsi de suite.
	Ainsi, pour pouvoir utiliser un "min-height: 100%" sur div#contenu, il nous
	faut:
	- un parent (body) en "height: 100%";
	- le parent de body également en "height: 100%".

2.	Il faut éviter que les marges des enfants de div#global ne se transmettent
	à leur parent. Notamment, le margin-top du premier enfant (ici, div#entete),
	et le margin-bottom du dernier enfant (ici, div#pied).
	On évite ce problème grâce à la propriété CSS overflow, qui bloque la
	fusion des marges. En savoir plus sur la fusion des marges:
	http://web.covertprestige.info/test
		04-blocs-imbriques-et-fusion-des-marges.html

3.	Les marges automatiques à gauche et à droite permettent de centrer notre
	bloc div#global, et donc tout le site.
	Pour aligner div#global à gauche, on fera:
		margin-left: 0;
		margin-rigth: auto;
	Pour aligner div#global à droite, on fera:
		margin-left: auto;
		margin-right: 0;
	Pour aligner div#global à droite avec un retrait (à droite) de 100px:
		margin-left: auto;
		margin-right: 100px;

*/

