a {
	color: #000;
	text-decoration: none;
}   

a:hover {
	color: #335966;
}

a:focus, a:active {
	outline-style: none;
}

body {
	font-family: 'Open Sans', sans-serif;
	background-color: #fbfbfb;
	font-size: 1em;
	line-height: 1.4;
}

#content {
	margin: 40px 20px 20px 20px;
}

.contentContainer {
	width: 600px;
	margin: 0 auto;
}

/* -------- HEADER -------- */

#header {
	text-align: center;
	position: relative;
}

#header h1 {
	font-size: 3em;
	margin: 0.67em 0px;
}

#header h2 {
	margin: -30px 0px 0.83em 0px;
}

#userInfo {
	text-align: right;
	position: absolute;
	bottom: 0;
	right: 0;
	padding-left: 10px;
}

#logoutLink {
	margin: -2px 0 0 4px;
}


/* -------- LOGIN -------- */

#loginFormContainer {
	text-align: center;
}

#loginForm label {
	display: block;
}

#username, #password {
	width: 200px;
	height: 20px;
	margin-bottom: 10px;
	background: 0 none;
	background-color: white;
	height: 24px;
	padding: 2px 8px;
}

#loginButton {
	margin-top: 10px;
}


/* MAIN MENU */

#adminMenu {
	margin: 0 auto;
	width: 900px;
	font-size: 1em;
}

#adminMenu h1 {
	padding-left: 32px;
}

span.ui-button-text {
	font-size: 9pt;
}   

#adminMenu section {
	text-align: center;
	padding-top: 0;
}

#adminMenu ul {
	padding: 0;
}

#adminMenu ul li {
	display: inline-block;
	margin: 0 10px;
}

#adminMenu table {
	background-color: #fff;
	border-collapse: collapse;
	margin: 0 auto;
	font-size: 9pt;
	text-align: left;
	cursor: pointer;
}

#adminMenu table.statsTable {
	display: inline-block;
	margin: -10px 4px 0 4px;
	vertical-align: top;
}

#articleTable {
	width: 820px;
}

#articleNav a {
	padding: 10px 2px 0 2px;
	font-size: .8em;
	cursor: pointer;
}

#articleNav a.jp-current, #articleNav a.jp-disabled {
	color: #aaa;
	cursor: default;
}
/*
#categoryTable, #pageTable {
	width: 200px;
}
*/
#adminMenu table tr {
	border-bottom: solid 1px #ccc;
}

#adminMenu table thead tr th {
	padding: 4px;
}

#adminMenu table thead tr .header {
	background-image: url("table_images/bg.gif");
	background-repeat: no-repeat;
	background-position: center right;
}
	
#adminMenu table tr td {
	border-left: solid transparent 1px;
	border-right: solid transparent 1px;
	padding: 4px;
	vertical-align: top;
}

#adminMenu table thead tr .headerSortUp {
	background-image: url("table_images/asc.gif");
}
#adminMenu table thead tr .headerSortDown {
	background-image: url("table_images/desc.gif");
}

#adminMenu table tr td.ui-state-active, #adminMenu table tr td.ui-state-hover {
	font-weight: normal !important;
}

.firstTd {
	border-left: solid #ccc 1px !important;
}

.lastTd {
	border-right: solid #ccc 1px !important;
}

th.id {
	width: 40px;
}

th.name {
	min-width: 100px;
}

th.num_articles {
	width: 66px;
}

#deleteDialog {
	display: none;
	font-size: 10pt;
	padding-top: 16px;
	text-align: center;
}

.ui-dialog-buttonpane {
	padding: 10px !important;
}

.ui-dialog-buttonset button {
	margin: 0 10px !important;
}

.ui-dialog-buttonset {
	float: none !important;
	width: 100%;
	text-align: center;
}

hr {
	margin: 20px 0;
}

/* -------- FORMS -------- */

#inputErrors {
	border: solid 1px red;
	padding: 5px 10px;
	background-color: #FFEFDB;
}

#inputErrors .error {
	font-size: .9em;
	color: red;
	margin-left: 5px;
}

.contentContainer h2 {
	margin-left: 84px;
	color: #3383bb;
	
}

.contentContainer label {
	display: inline-block;
	width: 80px;
	vertical-align: top;
	line-height: 30px;
}

.contentContainer input {
	width: 490px;
	height: 24px !important;
	display: inline;
	font-size: 9pt;
	height: 20px;
	text-align: left;
	padding: 2px 10px;
}

.contentContainer input[type=text], .contentContainer input[type=url]{
	background: 0 none;
	background-color: white;
	height: 28px;
}

#categoryCheckboxContainer {
	float: right;
	width: 510px;
	text-align: left;
	margin: -2px 5px -2px 0;
}

#categoryCheckboxContainer label {
	margin: 2px 0;
}

#teaserField {
	background: 0 none;
	background-color: white;
	height: 54px;
	width: 490px;
	resize: none;
	text-align: left;
	font-size: 9pt;
	padding: 8px 10px;
}

#imageRadio {
	display: inline-block;
} 

#imagePreview {
	width: 202px;
	max-height: 113px;
	margin: 10px 0 0 198px;
	box-shadow: inset 0 0 1em #3383bb;
	border: solid 1px #ccc;
}

#imageSelect {
	margin: 10px 0 0 85px;
}

#imageSelect #imagePreview {
	margin: 10px 0 0 115px;
}

.imageInput.hide {
	display: none;
}

.clear{
	clear: both;
}

.fieldContainer {
	margin-bottom: 10px;
	vertical-align: top;
}

#form-submit input  {
	font-size: 12pt;
	height: 34px !important;
	width: auto;
	height: auto;
}

#submitButton {
	float: left;
}

#previewButton {
	float: right;
}

.ui-selectmenu, .ui-selectmenu-menu-dropdown {
	font-size: 9pt;
	width: 510px !important;
}

.ui-selectmenu {
	padding-top: 2px;
}

#messageContainer {
	text-align: center;
}