/*
 *  This file is part of WebSiCo: online Web Site Composer, http://websico.net
 *  Copyright (c) 2005-2011 Olivier Seston, http://seston.net
 *	All rights reserved.
 *  --------------------------------------------------------------------------
 *  ESSENTIAL SYSTEM CSS
 *  ---------------------------------------
 */

/*  Basic containers
 *  ----------------*/
 
/* Old fashion, useful ? */
td {
	padding: 0;
}
.wssystemcontainer td {
	vertical-align: top;
}
/**/

.wssystemcontainer {
	width: 100%;
	border-collapse: collapse;
	display: table;
	/* Height is recomputed at load time by jglobal.js to be 100% of its container */
}

.wssystemcontainer.V>div {
	display: table-row;
}
.wssystemcontainer.V>div>div {
	display: table-cell;
	vertical-align: top;
}
.wssystemcontainer.H>div {
	display: table-cell;
	vertical-align: top;
}
#outerContainer, #firstContainer {
	height: 100%;
}

/*  Stretchy user container, with vertical-aligned content.
	-------------------------------------------------------*/
.wscontainer .stretchWrapper { /* Old fashion, IE7- */
	width: 100%;
}
.wscontainer div.stretchWrapper {
	display: table;
	width: 100%;
	height: 100%;
}
.wscontainer .top {
	display: table-cell;
	vertical-align: top;
}
.wscontainer .middle {
	display: table-cell;
	vertical-align: middle;
}
.wscontainer .bottom {
	display: table-cell;
	vertical-align: bottom;
}

/*	Basic components
 *	----------------*/
.wsrawtext {
	padding: 5px;
}
.wsimage .ws_img_caption {
	margin-top: 0.5em;
}
.ws_selection {
	position: absolute;
}

/*  Errors
 *  ------*/
.ws_error, .ws_info {
	color: #d00;
	background: #ffe180;
	border: solid 5px;
	padding: 0.5em;
	text-align: center;
	font-size: 150%;
}
.ws_info {
	color: #080;
}

