/***
 Defaults
***/

html, body {
	padding: 0;
	margin: 0;
	font-family: Arial, Verdana, sans-serif;
	background-color: #FFF;
}

html {
	font-size: 62.5%;
}

body {
	padding-bottom: 40px;
	font-size: 1.2em;
	color: #000;
	overflow: auto;
}

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

a.external {
	text-decoration: underline;
	color: #000;
}

a.external:hover {
	text-decoration: none;
}

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

a.internal:hover {
	text-decoration: underline;
}

img {
	border: 0;
}

ul, li {
	padding: 0;
	margin: 0;
}

h1, h2, h3 {
	padding: 0;
	margin: 0;
}

table {
	padding: 0;
	margin: 0;
	width: 100%;
	border-spacing: 0;
}

tr, td {
	padding: 0;
	margin: 0;
}

td {
	vertical-align: top;
}

	
/***
 Layout utils
***/

.col-1, .col-2, .col-3, .col-4 {
	float: left;
	margin-right: 10px;
}

.col-1 {
	width: 230px;
}

.col-2 {
	width: 470px;
}

.col-3 {
	width: 710px;
}

.col-4 {
	width: 950px;
}

.last {
	margin-right: 0;
}

.center {
	margin-left: auto;
	margin-right: auto;
	width: 960px;
}

.hide {
	display: none;
}

.divider {
	clear: both;
	margin-top: 10px;
	margin-bottom: 10px;
	border-top: 1px solid #CCC;
}

/***
 Page Parts
***/

#layout {
	
}

#header {
	background-color: #000;
}

#nav {
	height: 36px;
	color: #FFF;
}

#titleHolder {
	padding: 17px 0 10px 0;
	height: 33px;
	background-color: #1cb0ec;
}

#title {
	
}

#title h1 {
	float: left;
	font-weight: normal;
	font-size: 1.6em;
	color: #FFF;
}

#title a {
	color: #FFF;
}

#title a:hover {
	text-decoration: underline;
}

#title .active {
	text-decoration: underline;
}

#appTitle, #userBar {
	float: right;
	margin-top: 7px;
	font-size: 0.8em;
	text-transform: uppercase;
}

#userBar {
	margin-top: 10px;
}

#appTitle a, #userBar a {
	color: #FFF;
}

#appTitle a:hover, #userBar a:hover {
	text-decoration: underline;
}

#searchBarHolder {
	background-color: #E9E9E9;
}

#formMessage {
	font-weight: bold;
	letter-spacing: 0.03em;
	color: #FFF;
}

#app {
	margin-top: 30px;
}

/**
 Forms
**/

input, textarea {
	padding: 5px;
	border: 1px solid #CCC;
	font-family: Arial, Verdana, sans-serif;
}

input, textarea, select {
	margin-top: 2px;
}

select {
	display: block;
	padding: 1px;
	margin-right: 10px;
}

textarea {
	display: block;
	font-size: 0.9em;
}

label {
	font-size: 0.9em;
	color: #444;
}

fieldset {
	float: left;
	padding: 0;
	margin-bottom: 20px;
	width: 100%;
	border: 0;
}

fieldset legend {
	padding: 0;
	font-size: 1.4em;
	font-weight: bold;
}

.col-2 textarea {
	width: 454px;
}

.caption {
	font-size: 0.9em;
	color: #777;
}

.field {
	margin-bottom: 10px;
}

.formButtons {
	clear: both;
	margin-bottom: 20px;
}

.formButtons .primary, .formButtons .secondary {
	display: inline;
	margin-right: 20px;
}

.formButtons .primary button {
	width: 120px;
}

.formButtons button {
	cursor: pointer;
}

.formButtons .secondary button {
	margin-right: 5px;
}

.fieldsetContent {
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid #CCC;
}

.textfield, .select {
	display: block;
}

.supershort {
	width: 50px;
}

.long {
	width: 200px;
}

.superLong {
	width: 470px;
}

.inlineToolBar {
	padding: 10px 0 10px 0;
	margin-bottom: 10px;
	font-size: 0.8em;
	text-transform: uppercase;
	font-weight: bold;
	background-color: #E9E9E9;
	color: #222;
}

.inlineToolBar li {
	display: inline;
}

.inlineToolBar a {
	padding: 10px;
	border-right: 1px solid #FFF;
	color: #000;
	cursor: pointer;
}

.inlineToolBar a:hover {
	background-color: #222;
	color: #FFF;
}

.inlineToolBar a:active {
	background-color: #444;
}

.formMessage {
	padding: 10px;
	margin-bottom: 10px;
	font-size: 0.9em;
	background-color: #ffed87;
}

.formMessage .icon {
	float: left;
	position: relative;
	top: -3px;
	left: 0;
	margin-right: 10px;
	font-size: 1.6em;
	font-weight: bold;
}

.controls {
	margin-bottom: 20px;
	height: 33px;
	border: 1px solid #CCC;
	font-size: 0.9em;
}

.controls ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.controls ul li {
	float: left;
	padding: 10px 10px 3px 10px;
	height: 21px;
}

.controls .handle {
	padding: 6px;
	width: 23px;
	border-right: 1px solid #CCC;
	text-indent: -200px;
	background-position: 10px 9px;
	overflow: hidden;
	cursor: move;
}

.controls li a {
	padding: 3px;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 0.9em;
}

.controls li a:hover, .controls li a:hover, .delete a:hover, .edit a:hover {
	text-decoration: none;
}

.floating {
	margin: 10px 0 10px 0;
	border: none;
}

.floating ul li {
	height: auto;
	padding: 0;
}

.delete, .delete a {
	color: #ff4949;
}

.edit, .edit a {
	color: #6bb04a;
}

.delete a:hover {
	background: #ff4949;
	color: #FFF;
}

.delete a:active {
	background: #C33939;
}

.edit a:hover {
	background: #6bb04a;
	color: #FFF;
}

.edit a:active {
	background: #538A3A;
}

.misc, .misc a {
	color: #1CB0EC;
}

.misc a:hover {
	background: #1CB0EC;
	color: #FFF;
}

.misc a:active {
	background: #1491C5;
}

.singleButton {
	padding: 3px;
}

/**
 Messages
**/

.success, .error {
	padding: 20px 0 20px 0;
	margin-bottom: 1px;
}

.success {
	background: #6bb04a;
}

.success a, .error a {
	color: #FFF;
	text-decoration: underline;
}

.success a:hover, .error a:hover {
	text-decoration: none;
}

.error {
	background: #ff4949;
}

.field_with_error {
	padding-left: 5px;
	margin-left: -10px;
	border-left: 5px solid #ff4949;
}

.field .error_message {
	display: block;
	margin-bottom: -14px;
	font-size: 0.9em;
	color: #ff4949;
}

/***
 Nav
***/

#nav ul {
	list-style: none;	
}

#navActual li {
	float: left;
	position: relative;
	margin-right: 1px;
	height: 34px;
}

#navActual a {
	outline: none;
	cursor: pointer;
}

#navActual a.top {
	display: block;
	padding: 10px 10px 0px 10px;
	height: 26px;
	font-weight: bold;
	letter-spacing: .05em;
	background-color: #363636;
	color: #FFF;
}

#navActual li.active a.top {
	background-color: #1cb0ec;
}

#navActual li a.top:hover, #navActual li a.hover, #navActual li.active a.top.hover {
	background-color: #FFF;
	color: #000;
}

#navActual li ul {
	display: none;
	position: absolute;
	top: 36px;
	left: 0;
	width: 250px;
	background-color: #FFF;
	color: #000;
}

#navActual li ul li {
	height: auto;
}

#navActual li ul a {
	display: block;
	padding: 10px;
	width: 230px;
	border-bottom: 1px solid #CCC;
	background: none;
	color: #000;
}

#navActual li ul a:hover {
	background: #EEE;
}

#navActual li ul a:active {
	background: #CCC;
}

/**
 Misc
**/

.handle {
	display: block;
	float: left;
	width: 25px;
	height: 25px;
	text-indent: -200px;
	background-image: url('img/handle.gif');
	background-repeat: no-repeat;
	overflow: hidden;
	cursor: move;
}

.textblockToolbar {
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 0.9em;
}

.ed_button {
	padding: 3px;
	margin-right: 10px;
	border: 1px solid #FFF;
	color: #000;
}

.ed_button:hover {
	border: 1px solid #CCC;
}

.ed_bold {
	font-weight: bold;
}

.ed_italic {
	font-style: italic;
	font-family: Georgia, serif;
}

.ed_underline {
	text-decoration: underline;
}

.notice-wrap {
	position: fixed;
	top: 50px;
	left: 10px;
	width: 250px;
	z-index: 999;
}

.notice-item {
	padding: 5px 13px 5px 13px;
	margin-bottom: 10px;
	letter-spacing: 0.03em;
	background: #222;
	color: #FFF;
}

.notice-item-close {
	display: none;
}

.notice-item.heavy {
	padding-top: 20px;
	font-size: 1.2em;
	font-weight: bold;
	background-image: url("img/loading.gif");
	background-repeat: no-repeat;
	background-position: center 15px;
	color: #FFF;
}

.notice-item.warning {
	font-size: 1.2em;
	font-weight: bold;
	color: #FFD846;
}

.notice-item.success {
	color: #99DA38;
}

.jqifade {
      position: absolute;
      background-color: #808080;
}

.jqi_state {

}

.jqi h1 {
	padding: 10px;
	margin-top: 0px;
	margin-bottom: 10px;
	font-size: 1.2em;
	border-bottom: 1px solid #CCC;
}

.jqi {
    position: absolute;
    width: 400px;
    text-align: left;
	border: 5px solid #BFBFBF;
	background-color: #FFF;
}

.jqi .jqicontainer {
}

.jqi .jqiclose{
	display: none;
}

.jqi .jqimessage {
	line-height: 20px;
	color: #000;
}

.jqi .jqibuttons {
	padding: 10px;
	margin-top: 10px;
}

.jqi button {
	margin: 0 10px 0 0;
	cursor: pointer;
}

.jqi button.jqidefaultbutton {
	width: 120px;
}

.jqiwarning .jqi .jqibuttons {
	border-color: #F00;
    background-color: #F00;
}

.jqi input {
	display: block;
	padding: 3px;
	margin-bottom: 10px;
	width: 250px;
}

.jqi label {
	display: block;
	margin-bottom: 2px;
}

.jqi label, .jqi input, .jqi select, .jqi p {
	margin-left: 10px;
}

#dashboard .col-1 {
	margin-bottom: 10px;
	width: 229px;
	min-height: 135px;
	border-right: 1px solid #CCC;
}

#dashboard .menu {
	font-size: 1.2em;
}

#dashboard .menu a {
	color: #666;
}

#dashboard .menu a:hover {
	text-decoration: underline;
}

#dashboard .stats {
	padding: 0;
	margin-top: 10px;
	font-size: 0.9em;
	list-style: none;
}

#dashboard .stats li {
	margin-bottom: 2px;
}

#dashboard .stats a {
	color: #000;
}

#dashboard .stats a:hover {
	text-decoration: underline;
}

.tooltip {
	position: relative;
	display: inline;
	font-size: 0.9em;
}

.tooltip .tooltipLink {
	margin-left: 5px;
	cursor: pointer;
}

.tooltip-active {
	font-weight: bold;
}

.tooltip .tooltipMessage {
	display: none;
	position: absolute;
	top: 0;
	left: 20px;
	padding: 10px;
	width: 350px;
	border: 1px solid #DCCC75;
	background-color: #ffed87;
}

.tooltip .arrow {
	display: none;
}
