
#container {
	width: 800px;
	height: 500px;
	border: 1px solid black;
}

#popup {
	position: absolute;
}

#popup-header {
	min-width: 100px;
	min-height: 30px;
	background: blue;
}

#popup-body {
	min-width: 100px;
	min-height: 100px;
    max-width: 500px;
    max-height: 300px;
	background: red;
    overflow: hidden;
    resize: both;
}