* { 
	margin: 0; 
	padding: 0; 
}
#page-wrap { 
	margin: 0 auto;
	background: white;
}

#page-wrap h4{
	padding-left: 0;
}

#page-wrap textarea{
	padding: 0;
}

.quo textarea { 
	border: 0;
	font: 14px 'Prompt', sans-serif;
	overflow: hidden; 
	resize: none; 
}
.quo table { 
	border-collapse: collapse; 
}
.quo table td, table th { 
	border: 1px solid black; 
	padding: 5px; 
}

#header-quo { 
	height: 30px; 
	width: 100%; 
	margin: auto; 
	background: #222; 
	text-align: center; 
	color: white; 
	font: 20px 'Prompt', sans-serif;
	letter-spacing: 5px; 
	padding: 0px 0px;
	border-radius: 0px;
}


#address { 
	width: 50%; 
	height: 150px; 
	float: left; 
	font-size: 13px;
}

#customer { overflow: hidden; }

#logo { 
	text-align: right; 
	float: right; 
	position: relative;
	border: 1px solid #fff;
}

#logo img { box-shadow: none; }

#customer-title { 
	font-size: 16px; 
	font-weight: bold;
}

#meta { 
	margin-top: 1px; 
	width: 40%; 
	float: right; 
	margin-bottom: 15px;
}

#meta td { text-align: right;  }

#meta td.meta-head { 
	text-align: left; 
	background: #eee; 
}

#meta td textarea { 
	width: 100%; 
	height: 20px; 
	text-align: right; 
}

#items { 
	clear: both; 
	width: 100%;
}

#items th { background: #eee; }

#items textarea { width: 80px; height: 50px; }

#items tr.item-row td { vertical-align: top; }

#items td.item-name { width: 300px; }

#items td.description textarea, #items td.item-name textarea { width: 100%; }

#items td.total-line { border-right: 0; text-align: right; }

#items td.total-value { border-left: 0; padding: 10px; }

#items td.total-value textarea { height: 20px; background: none; }

#items td.balance { background: #eee; }

#items td.blank { border: 0; }

#terms { text-align: center; margin: 10px 0 0 0; }

#terms h5 {
	text-transform: uppercase;
	font: 14px 'Prompt', sans-serif;
	padding: 0 0 8px 0;
	margin: 20px 0 8px 0;
	border-bottom: 1px solid #000;
	letter-spacing: 5px;
}

#terms textarea { 
	width: 100%; 
	text-align: center;
}

#identity{
	margin-top: 10px;
}

#customer textarea{
	width: 100%;
	height: 100px;
}
.c-area{
	float: left;
	width: 60%;
}

.payment{
	margin-top: 20px;
	letter-spacing: 10px;
	text-transform: uppercase;
	font: 14px 'Prompt', sans-serif;
	margin-bottom: 10px;
}

#payment_tb{
	width: 50%;
	border: 1px solid black;
}

@media (max-width: 677px){
	#address {
		width: 100%;
		height: auto;
	}

	#customer {
		margin-top: 10px;
	}

	.c-area {
		float: left;
		width: 50%;
	}

	#meta {
		width: 50%;
	}

	#payment_tb {
		width: 100%;
	}
}

@media (max-width: 576px){
	table {
		font-size: 13px;
	}

	#customer textarea{
		width: 100%;
		height: auto;
	}
	#terms {
		font-size: 13px;
	}
}

@media (max-width: 425px){

	.c-area {
		width: 100%;
	}
	#meta {
		width: 100%;
	}
}

@media (max-width: 355px){
	#address {
		font-size: 12px;
	}
}