/*
	Compatibility layer for the UCP layout.
	The original theme relies on floats and collapses badly when a PHP block
	stops before the content column is printed.
*/

section {
	width: 1148px;
}

.all {
	display: table;
	width: 1148px;
	table-layout: fixed;
	background: #fff;
}

.all > .menu {
	width: 70px;
}

.all > .bluArea {
	float: left;
	width: 1078px;
	min-height: 700px;
	background-color: #CA0000;
}

.bluArea > .loggedInfo {
	width: 268px;
}

.whitArea {
	display: block;
	float: left;
	width: 810px;
	min-width: 810px;
	min-height: 700px;
	background: #fff;
	position: relative;
	z-index: 2;
}

.whitArea article {
	display: block;
	float: none;
	width: 810px;
	min-height: 700px;
	box-sizing: border-box;
	background: #fff;
}

.twoBox,
.box,
.mult {
	box-sizing: border-box;
}

input,
select,
textarea,
button,
.default {
	box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
	outline: 2px solid rgba(202, 0, 0, .25);
	outline-offset: 1px;
}

.donateBox {
	max-width: 100%;
}

@media (max-width: 1180px) {
	section,
	.all {
		width: 100%;
		max-width: 1148px;
	}

	.all > .bluArea {
		width: calc(100% - 70px);
	}

	.whitArea,
	.whitArea article {
		width: calc(100vw - 408px);
		min-width: 0;
	}
}

@media (max-width: 820px) {
	.all,
	.all > .bluArea,
	.whitArea,
	.whitArea article {
		display: block;
		float: none;
		width: 100%;
		min-width: 0;
		min-height: 0;
	}

	.all > .menu,
	.bluArea > .loggedInfo {
		width: 100%;
		float: none;
	}

	.whitArea article {
		padding-left: 16px;
		padding-right: 16px;
	}

	table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
	}
}
