/* The non-IE CSS for text pages at the ABFS Russian group's website
   Copyright (c) 2007-2011 Chortos-2 aka Oleg Oshmyan */

/* ********************
   **** ATTENTION! ****
   This is applied in IE as well, so ie.css
   must override anything that is wrong for IE */

/* Again the fancy frame-like alignment (see common.css) */
/*.text:after
{
	content: "Copyright © 2007–2025 ABFS";

	display: block;
	font-size: 10pt;
	text-align: center;
	visibility: hidden;
	white-space: pre-line;
	margin: 1em 0 0;
}*/

@media print
{
	.main:after
	{
		display: none;
	}
}

.main
{
	margin: 0;
	display: table;
	width: 100%;
	height: 100%;
	position: relative;
}

div.logo
{
	display: table-row;
	height: 100px;
}

/* Make sure the logo doesn't cause the table column to be too wide */
img.logo
{
	position: absolute;
}

/* Hi Presto! Do you mind learning to use content-box on table elements? */
.row1
{
	display: table-row;
	height: 1em;
}

.row2
{
	display: table-row;
	height: 100%;
}

.header
{
	display: table-cell;
	vertical-align: top;
	background-color: #58616C;
	width: 0;
	white-space: nowrap;
}

.col2
{
	display: table-cell;
	width: 100%;
	-webkit-box-shadow: 0 0 1em 0 black;
	-khtml-box-shadow: 0 0 1em 0 black;
	-moz-box-shadow: 0 0 1em 0 black;
	box-shadow: 0 0 1em 0 black;
	/* Behaviour undefined in CSS 2.1. Gecko just ignores this; everyone else follows CSS 2 */
	position: relative;
}

.copyright
{
	/* The containing block is .col2 except in Gecko where it is .main.
	   Thus .copyright gets a wrong width in Gecko with JavaScript turned off. */
	position: absolute;
	bottom: 0;
}
