body {
	background:			#e9e6c9 url(../images/code/background-sm.gif) repeat-x;
	-webkit-text-size-adjust:100%;
}

input, textarea, select {
	-webkit-text-size-adjust:125%;
}
textarea.code {
	font-size:			1.0em; /* for some reason -webkit-text-size-adjust won't work here */
}
.itemlist, .category p, .months p {
	line-height:		160%;
}

#page {
	width:				auto;
}
#header {
	width:				100%;
	height:				90px;
}
#categories, #sidebar {
	position:			relative;
	top:				auto;
	left:				auto;
	width:				100%;
}
#content {
	width:				100%;
}
#main {
	clear:				both;
	margin:				0;
}

#nav {
	top:				57px;
	left:				-3px;
	width:				100%;
	overflow:			hidden;
}
#nav a, #nav b {
	margin-right:		3px;
}
#nav.long a.editsite, #nav.long b.editsite {
	background-image:	url(../images/nav/edit.gif);
	width:				32px;
}
#nav.long a.viewsite, #nav.long b.viewsite {
	background-image:	url(../images/nav/view.gif);
	width:				38px;
}
#minimize {
	display:			none;
}

#footer, #aboutfooter, #mediumfooter, #largefooter, #setupfooter {
	width:				100%;
	padding:			22px 0 20px 0;
	margin:				0;
}

/* no sidebars so all fields are the same */

input.tiny {
	width:				25px;
}
input.mini {
	width:				50px;
}
.search {
	width:				128px;
}

input.small, select.small, #main input.small, #main select.small, .dragging input.small{
	width:				120px;
	padding:			4px;
}
input.mediumsmall {
	width:				200px;
	padding:			4px;
}
input.help, input.medium, #main input.medium, #main textarea.medium, #main select.medium,
input.large, textarea.large, #main input.large, #main textarea.large, #main select.large {
	width:				96%;
	padding:			4px;
}
#main select.medium.multiple, #main select.medium.multiple#fields {
	height:				auto;
}
fieldset .two, fieldset .smallthree, #main fieldset .two, #main fieldset .smallthree,
fieldset .smalltwo, #main fieldset .smalltwo,
fieldset .smallfour, #main fieldset .smallfour {
	position:			relative;
	top:				auto;
	left:				auto;
	margin:				7px 0 0 0;
}

fieldset .float {
	margin-right:		5px;
}

/* sections on main page */

#forms, #left {
	position:			relative;
	width:				100%;
}
#commentsection, #entries, #center, #right {
	position:			relative;
	width:				100%;
	margin:				0 0 2px 0;
	border:				none;
	padding:			22px 0 0 0;
	overflow:			hidden;
	background:			url(../images/code/divider.gif) repeat-x 0 10px;
	clear:				both;
}

/* forms on main page */

#juneform fieldset.juneuser, #juneform fieldset.password {
	width:				142px;
	margin:				0;
	padding:			0;
	float:				left;
}
#juneform fieldset.password {
	width:				138px;
	clear:				none;
}
#juneform fieldset.checkboxes {
	position:			absolute;
	top:				16px;
	left:				116px;
	margin:				0;
	padding:			0;
}
#juneform fieldset.juneuser label, #juneform fieldset.password label {
	display:			none;
}
#juneform a.login_b {
	position:			absolute;
	top:				20px;
	left:				59px;
}

#searchform {
	position:			relative;
}
#searchform fieldset.search {
	position:			absolute;
	top:				-4px;
	left:				148px;
}
#searchform fieldset.search input {
	width:				130px;
}
#searchform a.search_b {
	position:			absolute;
	top:				-2px;
	left:				89px;
}

.login fieldset input, .login fieldset select {
	width:				130px;
}
#hello {
	top:				20px;
}

/* entries on main page */

.bookmarklet {
	display:			none;
}
.item .image {
	text-align:			left;
	margin:				0 0 10px 0;
	float:				none;
}
.item .hasimage, .recentupdate .image, .commententry .image {
	margin-left:		0;
}

/* headers */

#header h1 {
	display:			none;
}
#header.loggedout h1 {
	position:			relative;
	display:			block;
	top:				13px;
	left:				auto;
	width:				262px;
	height:				60px;
	background-image:	url(../images/code/junecode-sm.gif);
	margin:				0 auto;
}
#header.loggedout h1 a, #header.loggedout h1 b {
	top:				0;
	left:				0;
	width:				258px;
	height:				60px;
}

h2.header a, h2.header b {
	display:			block;
	top:				20px;
	left:				0;
	width:				100%;
	height:				26px;
}
#header.loggedout h2.header a, #header.loggedout h2.header b {
	display:			none;
}
h2.home_h a, h2.home_h b {
	background-image:	url(../images/code/home-lg.gif);
}
h2.settings_h a, h2.settings_h b {
	background-image:	url(../images/code/settings-lg.gif);
}
h2.siteeditor_h a, h2.siteeditor_h b {
	background-image:	url(../images/code/site_editor-lg.gif);
}

/* buttons */

a.button, span.disabled {
	margin:				0 2px 4px 0;
}
a.editfiles_entry_b {
	margin-bottom:		10px;
}
a.divider_categories_b {
	display:			none;
}
td a.button, td span.disabled {
	margin:				auto;
}

/* tables */

table.files, table.folders, table.categories, table.categorytemplates, table.usersandsites, 
table.contributors, table.orders, table.orderitems, table.spamfilters, table.products,
table.productformats, table.metadata, table.usersandsites, table.contributors, table.orders,
table.orderitems, table.spamfilters, table.contacts, table.categories.draggable {
	width:				100%;
}

table.usersandsites .title, table.usersandsites .name,
table.usersandsites .site, table.usersandsites .user,
table.contributors th.delete,
table.contributors th.user, table.contributors td.user,
table.contributors th.access, table.contributors td.access {
	width:				auto;
}

/* help */

#help {
	position:			relative;
	top:				auto;
	left:				auto;
	width:				auto;
	margin:				20px 0;
	background-color:	#fff;
	border:				1px solid #000;
	-webkit-border-radius:13px;
}
#help .middle {
	background-image:	none;
	padding:			13px;
}
#help .top, #help .bottom, #showtooltips {
	display:			none;
}
h3.help_h {
	width:				auto;
	padding:			0 0 7px 0;
	margin:				0 0 7px 0;
}
#closehelp a {
	left:				auto;
	top:				9px;
	right:				9px;
}

/* sections in site editor */

#categoriesheader {
	display:			block;
}
#categorieslist {
	display:			none;
	margin:				0 0 10px 0;
	padding:			0 0 12px 0;
	background:			url(../images/code/divider.gif) repeat-x bottom left;
	clear:				both;
}
#imageframe {
	width:				100%;
}
#pagenumbers {
	margin-top:			3px;
}

.leftcolumn, .rightcolumn {
	width:				100%;
	margin:				0;
	float:				none;
}

.color select {
	width:				28%;
}

.categorytemplates .name, .categorytemplates .main, 
.categorytemplates .entry, .categorytemplates  .feed {
	width:				60px;
}
.categorytemplates .name, .categorytemplates .main, 
.categorytemplates .entry {
	padding-right:		0;
}
.categorytemplates select {
	width:				100%;
	margin:				0;
	overflow:			hidden;
}

/* orders */

#search.searchcontent fieldset .float select {
	width:				100%;
}
#findproduct {
	width:				100%;
	height:				auto;
}
#product {
	max-width:			100%;
}
table.orders .status select {
	margin-bottom:		5px;
}

/* category list table */

.dragitem, .dragitem:hover, .dragitem:active {
	position:			relative;
	background-image:	none;
}

table.categories .name {
	width:				50%;
}
table.categories .private {
	width:				20%;
}
table.categories .default {
	width:				10%;
}
table.categories .directory,
table.categories .perpage,
table.categories .order {
	display:			none;
}

#main table.categories .name .small {
	width:				90%;
}

/* meta data field list table */

table.metadata .labelname, table.metadata .type, table.metadata .datavalue {
	width:				35%;
}
#main table.metadata input.small, #main table.metadata input.mediumsmall, table.metadata select {
	width:				80%;
}
table.metadata select {
	width:				93%;
	overflow:			hidden;
}
