#wrap { background: none; position: relative; }
div#main, #footer-left { width: 100% !important; }
#footer-right { display: none; }

textarea#text {
	width: 99.3% !important;
	margin: 1px 0 0 1px;
	border-top: 1px solid;
}

/* jQuery TextAreaResizer */
div.grippie {
	background: #eee url(/img/grippie.png) no-repeat scroll center 2px;
	margin: 0 0 0 1px !important;
	border: #ddd solid 1px;
	border-top: 0;
	cursor: s-resize;
	height: 9px;
	overflow: hidden;
}

.quickref { float: left; margin-top: 8px; }
.quickref p { margin-bottom: 0 !important; }

.rfloat a { margin-right: 0 !important; }

div#main { border-top: none; }
.top-title { display: none; }

#preview-wrap { 
	width: 603px; 
	margin-left: 180px;
}
.widepage #preview-wrap { width: 800px; }

.edit-sidebar #wrap { background: url("/img/bg-main.png") repeat-y 797px 0 !important; }
.edit-sidebar div#main { width: 783px !important; }
.frontpage.edit-sidebar div#main { width: 600px !important; }
.frontpage.edit-sidebar #wrap { background-position: 619px 0 !important; }
.edit-sidebar #preview-wrap { display: none; }

#preview                   { border-color: #928b81; }
body.news #preview         { border-color: #ff7900; }
body.jobs #preview         { border-color: #b1059d; }
body.department #preview   { border-color: #0065bd; }
body.research #preview     { border-color: #00a8b4; }
body.publications #preview { border-color: #009b3a; }
body.studies #preview      { border-color: #ed2939; }

img#wide-arrow {
	position: absolute;
	right: -22px;
	width: 6px;
	padding: 15em 7px;
	background: #f5f5f5;
}
img#wide-arrow:hover { background: #ddd; }

#wikiedit img { vertical-align: bottom; }

div.editbutton {
	float: right;
	margin: 0 0 0 5px;
	color: black;
	cursor: pointer;
	height: 22px;
	background: transparent url('images/button-stretch.png') no-repeat;
}
div.editbutton span {
	display: block;
	padding: 5px;
	line-height: 12px;
	background: transparent url('images/button-right.png') no-repeat top right;
}
div.editbox {
	display: none;
	float: right;
	position: absolute;
	z-index: 1;
	right: -5px;
	width: 150px;
	padding: 5px 5px 0 5px;
	border: 1px solid #cccccc;
	background-color: #f9f9f9;
	cursor: pointer;
}

.buttons a, .buttons button {
    display: block;
    float: left;
    margin: 0 7px 0 0;
    background-color: #f5f5f5;
    border: 1px solid #dedede;
    border-top-color: #eee;
    border-left-color: #eee;
    font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size: 100%;
    line-height: 130%;
    text-decoration: none !important;
    font-weight: bold;
    color: #565656;
    cursor: pointer;
    padding: 5px 10px 6px 7px;
}
.buttons button {
    width: auto;
    overflow: visible;
    padding: 4px 10px 3px 7px; /* IE6 */
}
.buttons button[type] {
    padding: 5px 10px 5px 7px; /* Firefox */
    line-height: 17px; /* Safari */
}
*:first-child+html button[type] {
    padding: 4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img {
    margin: 0 3px -3px 0 !important;
    padding: 0;
    border: none;
    width: 16px;
    height: 16px;
	vertical-align: baseline !important;
}

button:hover, .buttons a:hover {
    background-color: #dff4ff;
    border: 1px solid #c2e1ef;
    color: #336699;
}
button:active, .buttons a:active {
    background-color: #6299c5;
    border: 1px solid #6299c5;
    color: #fff;
}

.buttons a.positive:hover, button.positive:hover {
    background-color: #E6EFC2;
    border: 1px solid #C6D880;
    color: #529214;
}
button.positive:active, .buttons a.positive:active {
    background-color: #529214;
    border: 1px solid #529214;
    color: #fff;
}

.buttons a.negative:hover, button.negative:hover {
    background: #fbe3e4;
    border: 1px solid #fbc2c4;
    color: #d12f19;
}
button.negative:active, .buttons a.negative:active {
    background-color: #d12f19;
    border: 1px solid #d12f19;
    color: #fff;
}

