/*
 *  This file is part of WebSiCo: online Web Site Composer, http://websico.net
 *  Copyright (c) 2005-2010 Olivier Seston, http://seston.net
 *	All rights reserved.
 *  --------------------------------------------------------------------------
 *  STANDARD CLASSES AND APPLICATION DEFAULT CSS
 *  --------------------------------------------
 *	Colors are formated #xxxxxx for consistency with online css edition popup
 */

/************************************************ PAGE */
html {
	height: 100%;
}
body {
	margin: 0;
  	height: 100%;
  	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #555555;
	background-color: #ffffff;
}

/*	Top aligned container contents (default is middle) */
.wssystemcontainer td {
	vertical-align: top;
}
.wsspage a {
  	color: #555555;	/* Would be better to use inherit, but IE... */
  	font-weight: bold;
}
.wsspage a:hover {
  	color: white;
  	background: #8a8a8a;
  	text-decoration: none;
}
.wsspage a img {
  	border: none;
}
.wsspage a:hover img {
	-moz-opacity: 0.6;
	opacity: 0.6;
}
/* Filter only some type, because other types with transparency are ugly with IE */
.IE-All .wsspage a:hover img.filter {
  	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
}

/************************************************ GALLERY */
.gallery {
	background: #000;
	text-align: center;
	padding: 0;
}
.gallery .caption {
	position: absolute;
	top: 0;
	left: 0;
	width: 15em;
	color: #fff;
	background: #333;
	padding: 0.5em;
	border: 1px solid #555;
	margin-left: 50px;
	margin-top: 10px;
}
.gallery .image {
	border: 2px solid #e0e0d0;
}
.gallery .progressBar {
	position: absolute;
	top: 4px;
}
.gallery .counter {
	font-size: 10px;
	color: #fff;
	background: #333;
	border: 1px solid #555;
	padding: 2px;
	text-align: center;
}
.gallery .control {
	position: absolute;
	top: 0;
	left: 0;
	margin: 6px;
	text-align: left;
}
.gallery .control img {
	margin-top: 2px;
	border: none;
}

/************************************************ ALL CONTAINERS */
.wscontainer {
  	padding: 10px;
  	margin: 5px;
  	border: solid 1px #eaeaea;	/* For a better visibility of container limits by default */
}

/************************************************ BASIC AND STANDARD COMPONENTS */
.wscomponent {
  	border-style: solid;		/* Necessary to be tunable dynamically */
  	border-width: 0;
  	padding: 5px;
  	margin: 5px;
}
.wssbadge img {
    cursor: pointer;
}
.wsstitle {
	font-size: 220%;
	margin-top: 15px;	/* Around 0.5em; in px unit for consistency with css popup */
	margin-bottom: 15px;	/* Around 0.5em */
	font-variant: small-caps;
	letter-spacing: 0.3em;
	line-height: 1em;
	border-bottom-width: 1px;
}
.wsstitle a {
    display: block;
	text-decoration: none;
}
.wstextarea {
	line-height: 1.5em;
}
.wsimage {
	text-align: center;
	font-style: italic;
}
.wsimage a {
	display: block;
}
.wsimage .zoomable {
	cursor: url('ws_images/ws_zoom.ico'), pointer;
}
.IE-All .wsimage .zoomable {
	cursor: url('ws_lib/ws_core/ws_images/ws_zoom.ico'), pointer;
}
.wsscontactform {
  	background: #F5F5F5;
  	border: solid 1px #dddddd;
}
.wsscontactform form, .wssrssreader h2 {
  	margin: 0;
}
.wssrssreader {
	overflow: auto;    /* Ready for choosing user fixed height, incidently it fixes height when floating elements included (IE) */
  	border: solid 1px #dddddd;
}
.wssrssreader .feedImage {
	float: right;
	margin-left: 1em;
}
.wssrssreader h2 {
	font-size: 150%;
}
.wssrssreader dt {
    clear: both;
  	margin-top: 0;
  	padding-top: 10px;
}
.wssrssreader dl {
  	margin-bottom: 0px;
}

/************************************************ STANDARD MENU */
.wssmenu {
	font-variant: small-caps;
	font-weight: bold;
	line-height: 1.3em;
	white-space: nowrap;
}
.wssmenu .submenu {
    display: none;
	position: absolute;
	overflow: visible; /* To fix hidden overflow of menu container */
	z-index: 1;        /* Necessary for submenu to be over some other objects like google ads */
}
.wssmenu a {
  	color: #8a8a8a;
  	background: white;
	text-decoration: none;
  	border-style: solid;
  	border-width: 0;
	margin: 2px;
	padding-left: 0.5em;
	padding-right: 0.5em;
	display: block;
}
.wssmenu a:hover, .wssmenu a.hover {
  	color: white;
  	background: #8a8a8a;
	text-decoration: none;
}
.wssmenu .horizontal {
	overflow: hidden;	/* To adjust container height of floating elements */
}
.wssmenu .horizontal a {
	float: left;
}
.wssmenu .vertical a {
	float: none;
}
/************************************************ LANGUAGE SELECTOR */
.wslangselector a {
	text-decoration: none;
}
.wslangselector a img {
	width: 20px;
	height: 10px;
	border: solid 1px #ccc;
	margin: 2px 0;
}
.wslangselector.wslangselector a:hover {    /* Double classname to get precedence over page selector properties */
	background: transparent;
}
.wslangselector a:hover img {
	border-color: black;
}


