// Autoresize content column
content = document.getElementById('content');
var maxwidth = content.offsetWidth;

function fitWidth() {
	content.style.setProperty('width','100%',null);
	content.style.setProperty('margin-left','0',null);
	content.style.setProperty('left','0',null);
}

function column() {
	content.style.removeProperty('width');
	content.style.removeProperty('margin-left');
	content.style.removeProperty('left');
}

function resizeContent() {
	if (window.innerWidth <= maxwidth) {
		fitWidth();
	} else {
		column();
	}
}

