/*----------------------------------------------------------------------------------
DESCRIPTION: General styles for www.capeverdeimports.com site
WEBSITE:		www.capeverdeimports.com
VERSION: 	2.0
AUTHOR: 		John Abbott
EMAIL:		john@equinoxwebdesign.com
website:		http://www.equinoxwebdesign.com
-------------------------------------------------------------------------------------*/

/* --------------GENERAL FORMATTING STYLES ------------------------------------------*/

body {
	/*border:thin solid red;*/ /*TODO = Remove before going live*/
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	margin: 5px;
	color:black;
	background-color: #660000;
}

p {
	font-size: small;
}

img {
	border:0;
	margin: 0;
	padding:0;
}
.clear {
	clear:both;
}

ul, ol {
	font-size: small;
}

abbr {
	border-bottom: 1px dotted black;
}
.hidden {
	display: none;
}


/* -----------END GENERAL FORMATTING STYLES -----------------------------------------*/

/* ------------------LAYOUT STYLES --------------------------------------------------*/

.wrapper {
	max-width: 1015px;
	min-width: 600px;
	margin:auto;
	background-color: white;
	color: inherit;
	position: relative;
}

.maincontent {
	margin:0 10%;
}

.footer {
	clear: both;
}

/* ----------------END LAYOUT STYLES ------------------------------------------------*/

/* -----------------------HEADER CONTENT FORMATTING STYLES --------------------------*/

div.nav-wrapper {
	color:inherit;
	background-color: #333333;
	margin:0;
	padding:0;
	border:none;
}

#logo {
	position:absolute;
	top:15px;
	left:40px;
}
.header h1 {
	margin:0;
	padding:0;
	text-align: right;
	background-image: url(../images/skysegment2.gif);
	height:130px;
}

ul.subnavigation,
ul.navigation,
ul.language {
	color:white;
	background-color:inherit;
	list-style: none;
	font-style: italic;
	font-weight: bold;
	margin:0;
	padding:0;
	display:inline;
	font-size: small;
}

/*Added for IE6*/
ul.language {
	position: relative;
}

.language span {
	font-size:x-small;
}
.language {
	float:right;
	font-size: x-small;
}
.header li {
	display: inline;
}

.header li a {
	color:white;
	background-color: inherit;
	text-decoration: none;
	padding: 0;
	font-size: small;
}

.header li a.current_page,
.header li a.current_page:hover,
.header li a.current_language,
.header li a.current_language:hover {
	background-color:#7A0201;
	color:white;
	cursor: default;
	position: relative;
	margin:0;
	padding:0;
}

.header li a.displayingparent,
.header li a.displayingparent:hover {
	color: Silver;
	background-color: #7A0201;
}
.header li a.displayingchild:hover,
.header li a:hover {
	color:#504F4A;
	background-color: #CCCCC0;
}
.firstnav {
	padding-left:3%;
}
/*Needed for IE6*/
.subfirstnav {
	padding-left:15px;
}
/*Hack for IE6 to allow the setting
of a % figure for the padding.  IE6
does not recognise first child selectors*/
ul>li.subfirstnav {
	padding-left: 3%;
}
.subnav-wrapper {
	background-color: #7A0201;
	margin:1px 0 0 50px;
	color:inherit;
	width:450px;
	position: relative;
	padding:0;
	border: none;
}
.subnavigation {
	margin: 0;
	padding:0;
}
.subnavigation li a.current_page,
.subnavigation li a.current_page:hover,
.subnavigation li a.current_page:visited {
	background-color:#333333;
	color:inherit;
}
/* ---------------------END HEADER CONTENT FORMATTING STYLES ------------------------*/

/* --------------------- MAIN CONTENT FORMATTING STYLES ----------------------------*/

.maincontent h2,
.maincontent h3,
.maincontent h4 {
	color: #7A0201;
	background-color: inherit;
	margin:15px 0;
}

.maincontent h2 {
	font-size: large;
	font-weight: bold;
	font-style: italic;
}

.maincontent h3 {
	font-size: medium;
	font-weight: bold;
	margin:15px 0;
}
.maincontent h4 {
	font-weight: bold;
	font-size: small;
}
.winerange {
	width:90%;
	clear:both;
}

h3.inlinetitle a,
.winerange h3 a {
	color:#7A0201;
	text-decoration: none;
	background-color:inherit;
}

h3.inlinetitle a:visited,
.winerange h3 a:visited {
	color: #A30101;
	background-color:inherit;
}

h3.inlinetitle a:hover,
.winerange h3 a:hover {
	color:#7A0201;
	background-color: #CCCCC0;
}

.maincontent ul {
	list-style: none;
	margin:0;
	padding:0;
}

.maincontent li {
	margin:5px 0 5px 0;
}
.maincontent ol {
	margin:0 0 0 20px;
	padding:0;
}

.specialtext {
	color:#7A0201;
	background-color:inherit;
	font-weight: bold;
}
/*Formatting for the montage on Imports page
This combines with the 'chart' picture to form
the full montage - see #chart {....} for details*/
.montage {
	background-image: url(../images/shippingmontage.jpg);
	background-position: left top;
	background-repeat: no-repeat;
	text-align: right;
}
.import {
	margin:3px 0;
}
.import li {
	margin: 0 15px 10px 30px;
}

.inlinetitle {
	display: inline;
}
/* -- Contact Page -- */
.contacts {
	border:4px solid #7A0201;
	position: absolute;
	width:250px;
	top:375px;
	left:360px;
	padding:10px;
	color:inherit;
	background-color: #CACACA;
	
}
/* Formatting for the noscript element */
.contacts li p {
	display: inline;
	margin:0;
	padding: 0;
}
/* Style the contact information within the div */
.contacts li strong {
	width:65px;
}
.contacts li {
	position: relative;
}
.contacts li span {
	position: absolute;
	left:65px;
}
/* Style the Company details on the contact page */
.registration {
	font-size:small;
	color: Gray;
	background-color:inherit;
	margin: 3px 0 5px;
}
.registration li {
	margin: 0;
	padding: 0;
	line-height: 110%;
}

/* -- Policy Pages -- */
.policy ul {
	list-style: disc;
	margin-left: 25px;
}


/* --------------------- END MAIN CONTENT FORMATTING STYLES ------------------------*/


/* ---------------------FOOTER CONTENT FORMATTING STYLES ------------------------*/

.footer {
	clear:both;
	padding-bottom:20px;
	
}
.footer ul {
	margin:0;
	padding:0;
	color:white;
	background-color:#333333;
	list-style: none;
	font-size: small;
	font-weight: bold;
	font-style: italic;
}

.footer li {
	display: inline;
}

.footer li a {
	color:white;
	background-color: inherit;
	text-decoration: none;
	padding: 0 1em;
	font-size: small;
}

.footer li a:hover {
	color:#504F4A;
	background-color: #CCCCC0;
}
.footer li.firstnav a {
	padding-left:0;
	margin-left:0;
}
/* Hidden Links */
.invisible {
	visibility: hidden;
	margin: 0;
	padding: 0;
}
.invisible p {
	margin: 0;
	padding: 0;
	line-height: 1%;
}
/* ---------------------END FOOTER CONTENT FORMATTING STYLES ------------------------*/

/* ----------------COMMON IMAGE DEFINITIONS -----------------------------------------*/


#logo {
	height:75px;
	width: 214px;
	float:left;
	margin-left: 5px;
}

#hp_img1 {
	height: 171px;
	width: 260px;
	float: left;
	margin: 5px;
}

#hp_img2 {
	height: 171px;
	width: 260px;
	float: right;
	margin: 5px;
}

#header-image2 {
	width:600px;
	height:130px;
}

#bottle1,
#bottle2 {
	width: 33px;
	height:147px;
	float:left;
	margin:0 0 30px -8%;
}

#wine_logo {
	width:149px;
	height:86px;
}

#vineyard_mp {
	width:96px;
	height:64px;
	float:right;
	margin:0 0 30px 5%;
}
#varietalbottles {
	width:115px;
	height:73px;
	float:right;
	margin:0 0 0 5%;
}
/*#winebottles {
	width:42px;
	height:100px;
	float:right;
	margin:0 0 30px 5%;
}*/

#bigmerlot {
	width:118px;
	height:490px;
	float:left;
	margin:20px 5% 10px 0;
	position: relative; /*Hack for IE6*/
}

#kingsriverwhite {
	width: 114px;
	height: 500px;
	float: right;
	margin: 0 10px 15px 0;
	position: relative; /*Bug fix for IE6 */
}
#prospecthillbig {
	width: 116px;
	height:500px;
	float:left;
	margin:20px 5% 10px 0;
	position: relative; /*Hack for IE6*/
}
#bigchardonnay {
	width:108px;
	height: 403px;
	float: right;
	margin: 0 10px 15px 0;
	position: relative; /*Bug fix for IE6 */
}
#wineincrates,
#cvflag {
	width:161px;
	height:107px;
	float: left;
	margin:0 10px 15px 0;
	position: relative; /*Bug fix for IE6 */
}

#wineincrates {
	width:161px;
	height:116px;
}

#containership {
	width:168px;
	height:109px;
	float:right;
	margin:0 10px 0 0;
	position: relative; /*Bug fix for IE6 */
}

#wineandglasses {
	width:179px;
	height:120px;
	float:left;
	margin:0 10px 5px 0;
	position: relative; /*Bug fix for IE6 */
}

#chart {
	width:171px;
	height:120px;
}

#winebarrels,
#packingcrates {
	width:111px;
	height:150px;
	float:right;
	margin:0 0 5px 20px;
	position: relative; /*Bug fix for IE6 */
}
#robertsonlogo {
	width:169px;
	height:56px;
	float:left;
	position: relative; /*Bug fix for IE6*/
	margin: 0 10px 10px 0;
}

#cork {
	width:140px;
	height: 90px;
	float: left;
	position: relative;
	margin: 0 10px 15px 0;
}

#screwcapclosure {
	width: 140px;
	height:90px;
	float: right;
	position: relative;
	margin:0 0 0 10px;
}

/*Hack for IE6*/
#subnav-join {
	display: none;
}
/*Not recognised by IE6 so the image will not display*/
a>img#subnav-join {
	position: absolute;
	width:88px;
	color:inherit;
	background-color: #7A0201;
	display: inline;
}
/*Hack to get the positioning correct in Opera
Modern browsers recognise this first CSS declaration 
but Opera will not recognise the second*/
img[id="subnav-join"] {
	height:4px;
	bottom: 1px;
	
}
/*Hack for Opera that will apply the CSS
to an image with the id 'subnav' that does 
not exist so don't create one.*/
img[id|="subnav-join"] {
	bottom:-2px;
	height:2px;
}
#cvchart {
	width:644px;
	height:450px;
}
#boekenhoutskloof {
	width:202px;
	height:48px;
	float:left;
	position: relative; /*Bug fix for IE6*/
	margin: 25px 10px 0 0;
}
#porcupine {
	width:71px;
	height:83px;
	float:left;
	margin:10px 10px 0 0;
}
#wolftrap {
	width:35px;
	height:120px;
	float:right;
	margin:0 0 5px 5px;
}
#houseofkrone {
	width:200px;
	height:142px;
	float:left;
	position: relative; /*Bug fix for IE6*/
	margin: 0 10px 10px 0;
}
#krone {
	width:41px;
	height:150px;
	float:right;
	margin:0 0 30px 5%;
}
#porcupinebig {
	width:112px;
	height: 465px;
	float:left;
	margin:20px 5% 10px 0;
	position: relative; /*Hack for IE6*/
}
#porcupinewhitebig {
	width: 103px;
	height:389px;
	float:right;
	margin: 0 10px 15px 0;
	position: relative; /*Bug fix for IE6 */
}
#wolftrapbig {
	width: 77px;
	height: 300px;
	float:left;
	margin: 30px 30px 10px 0;
	position: relative; /*Bug fix for IE6*/
}
/* ------------END COMMON IMAGE DEFINITIONS -----------------------------------------*/

/* -------------IMAGE PRELOADER -----------------------------------------------------*/

.image_preload1 {
	width:0;
	height:0;
	background-image: url(../images/wine_logo.gif);
}

.image_preload2 {
	width:0;
	height:0;
	background-image: url(../images/bigchardonnay.jpg);
}

.image_preload3 {
	width:0;
	height:0;
	background-image: url(../images/bigmerlot.jpg);
}

.image_preload4 {
	width:0;
	height:0;
	background-image: url(../images/varietalbottles.jpg);
}

.image_preload5 {
	width:0;
	height:0;
	background-image: url(../images/bottle.gif);
}

.image_preload6 {
	width:0;
	height:0;
	background-image: url(../images/vineyard_mp.gif);
}

.image_preload7 {
	width:0;
	height:0;
	background-image: url(../images/cviflag.jpg);
}

.image_preload8 {
	width:0;
	height:0;
	background-image: url(../images/containership.jpg);
}

.image_preload9 {
	width:0;
	height:0;
	background-image: url(../images/wineandglasses.jpg);
}
.image_preload10 {
	width:0;
	height:0;
	background-image: url(../images/chart.png);
}
.image_preload11 {
	width:0;
	height:0;
	background-image: url(../images/packingcrates.jpg);
}
.image_preload12 {
	width:0;
	height:0;
	background-image: url(../images/robertsonlogo.gif);
}
.image_preload13 {
	width:0;
	height:0;
	background-image: url(../images/cork_140x90.jpg);
}
.image_preload14 {
	width:0;
	height:0;
	background-image: url(../images/screwcapclosure.jpg);
}
.image_preload15 {
	width:0;
	height:0;
	background-image: url(../images/subnav.gif);
}
.image_preload16 {
	width:0;
	height:0;
	background-image: url(../images/cvchart.gif);
}
.image_preload17 {
	width:0;
	height:0;
	background-image: url(../images/boekenhoutskloof.gif);
}
.image_preload18 {
	width:0;
	height:0;
	background-image: url(../images/porcupine.jpg);
}
.image_preload19 {
	width:0;
	height:0;
	background-image: url(../images/shippingmontage.jpg);
}
.image_preload20 {
	width:0;
	height:0;
	background-image: url(../images/wolftrap.jpg);
}
.image_preload21 {
	width:0;
	height:0;
	background-image: url(../images/winebarrels.jpg);
}
.image_preload22 {
	width:0;
	height:0;
	background-image: url(../images/houseofkrone.gif);
}
.image_preload23 {
	width:0;
	height:0;
	background-image: url(../images/krone.jpg);
}
.image_preload24 {
	width:0;
	height:0;
	background-image: url(../images/kingsriverwhite.jpg);
}
.image_preload25 {
	width:0;
	height:0;
	background-image: url(../images/prospecthillbig.jpg);
}
.image_preload26 {
	width:0;
	height:0;
	background-image: url(../images/porcupinebig.jpg);
}
.image_preload27 {
	width:0;
	height:0;
	background-image: url(../images/porcupinewhitebig.jpg);
}
.image_preload28 {
	width:0;
	height:0;
	background-image: url(../images/wolftrapbig.jpg);
}
.image_preload29 {
	width:0;
	height:0;
	background-image: url(../images/winecrates.jpg);
}
/* ------------- END IMAGE PRELOADER ------------------------------------------------*/