/* Global */

body {
	margin: 0;
	padding: 0;
}

body, table, input, select, textarea {
	font: 13px tahoma, arial, sans-serif;
}

a img {
	border: none;
}

ul, ol {
	margin:0;
	padding:0;
	list-style:none;
}

#copyright {
	margin-left: auto;
	margin-right: auto;
	margin-top: 40px;
	text-align: center;
	width: 900px;
	height: 50px;
}

a, table.object-grid tbody a {
	text-decoration: none;
	color: #EA5012;
}

a:hover, table.object-grid tbody a:hover{
	text-decoration: underline;
}

h1 {
	font-size: 20px;
}

#fancybox-wrap, #fancybox-wrap * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

/* Forms */
form p, h2 {
	clear: both;
}

.form-action-buttons, .action-buttons {
	margin: 5px 0;
	padding: 0;
}

.form-field-label, .field-label {
	display: block;
	float: left;
	width: 150px;
	text-align: right;
	line-height: 29px;
	font-weight: bold;
	padding-right: 10px;
}

.field-label {
	line-height: 25px;
}

.form-field-wrapper, .field-wrapper {
	text-align: left;
	line-height: 24px;
	clear: both;
	padding: 5px 0 5px 0;
}

input[type=text], input[type=password], input.text, textarea, select {
	border: 1px solid #ccc;
	border-top: 1px solid #aaa;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 4px;
	margin: 0;
	color: #222;
}

select {
	padding: 1px;
}

textarea {
	width: 400px;
	height: 80px;
}


/** UI Grid **/
table.object-grid{
	width: 100%;
	border-spacing: 0px;
}

table.object-grid thead th{
	padding: 8px 8px 6px 8px;
	font-weight: normal;
	text-align: left;
	border-left: 0px;
	white-space: nowrap;
}

table.object-grid thead th .ui-corner-tl{
	border-left: 1px solid #051C2E;
}

table.object-grid th a.ui-widget {
	display: block;
	text-decoration: none;
}

table.object-grid th a span {
	float: right;
}

table.object-grid tbody td{
	padding: 8px;
	border-top: 1px solid #ddd;
}

div.ui-tabs ul.ui-tabs-nav li.ui-state-default {
	border-left: none;
	border-top: none;
	margin-left: 0;
	margin-right: 0;
}

div.ui-tabs {
	padding: 0;
	margin-bottom: 10px;
}

/** Pager **/
.pager {
	font-size: 1em;
	padding: 5px 0;
	margin-bottom: 5px;
}

.pager .button-group {
	margin-right: 5px;
	display: inline-block;
}

.pager .pager-current, .pager .pager-text {
	border: 1px solid transparent;
	padding: .4em 1em;
	display: inline-block;
	position: relative;
	line-height: normal;
	vertical-align: middle;
	overflow: visible;
}

.pager .pager-text {
	padding-left: 5px;
}

.pager .pager-current {
	text-align: center;
}


/** UI Buttons **/
h1 .button{
	float:right;
	margin-left: 10px;
}

h1 .ui-button-text{
	font-size: 12px;
}

.ui-button input {
	border: none;
	background: none;
	margin: 0;
	padding: 0;
	color: inherit;
	line-height: inherit;
	font: inherit;
	text-decoration: inherit;
	cursor: inherit;
}

table.object-grid .ui-button-text {
	line-height: 14px;
	font-size: 10px;
}


/** UI Tabs **/
div.ui-tabs {
	padding: 1px 12px 0;
/*	margin-bottom: 10px;*/
}

div.ui-tabs ul.ui-tabs-nav {
	padding: 0;
}

div.ui-tabs ul.ui-tabs-nav li {
	margin-right: 0;
	margin-left: 0;
}

div.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,
div.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
div.ui-tabs .ui-tabs-nav li.ui-state-processing a {
	cursor: default;
}


/** UI Other **/
div.ui-widget-content, ul.ui-widget-content, li.ui-widget-content {
	padding: 6px;
	background: #eee;
	border: 1px solid #ccc;
	margin-bottom: 10px;
}

div.ui-widget-content div.ui-widget-content {
	background: #f1f1f1;
}

.ui-message-icon{
	float: left;
	margin-right: 0.3em;
}

span.highlight {
	background: #ffff99;
}

div.ui-state-highlight, div.ui-state-error{
	margin-top:5px;
	margin-bottom: 5px;
}

table.object-grid tbody a.project-result-title-link {
	font-size: 16px;
	font-weight: bold;
	color: #002844;
}

a.project-result-image-link {
	display: block;
	text-align: center;
	width: 140px;
}

@media all and (max-width: 599px) {
	.form-field-label, .field-label {
		float: none;
		text-align: left;
		line-height: 18px;
		padding-right: 0;
		width: auto;
	}
}

.home-callout {
	margin: 15px 0px;
}

.home-callout img {
	max-width: 100%;
	float: right;
}

.home-callout ul {
	margin-bottom: 10px;
}

a.home-callout-button {
	background-color:#f06638;
	color: #f0f0f0;
	font-size: 18px;
	padding: 10px 15px;
	text-decoration: none;
	white-space: nowrap;
	float: left;
	margin-right: 10px;
}

.home-project-boxes {
	width: 47%;
	float: left;
	margin-right: 2%;
}

.wrapper{
	width: 1000px;
	margin: auto;
}

/* Headings */
h1, h2, h3, h4{
	margin: 0;
	padding: 8px 0 0 0;
}

h1 {
	font-size: 24px;
	padding: 10px 0 4px 0;
	color: #222;
	text-transform: capitalize;
}

h2{
	color: #333;
	line-height: 24px;
	font-size: 16px;
	padding: 12px 0 0 0;
	margin-left: 5px;
}

h3{
	font-size: 14px;
}

/* Tables */
th, td{
	text-align:left;
}

/* Header */

.header {
	position: relative;
	padding: 10px 0;
}

#logo{
	display: block;
	float: left;
}

#logo img {
	height: 67px;
}

#banner {
	float: right;
	border: 1px solid #ccc;
}

.quicksearch-container{
	display: block;
	margin: 12px 0 0 0;
	width: 405px;
}

.quicksearch-form-wrapper{
	width: 338px;
	float: left;
	background: white;
	border: 1px solid #bbb;
}

.quicksearch-container input.text{
	width: 300px;
	font-size: 16px;
	float: left;
	border: none;
	display: block;
}

.quicksearch-container .quicksearch-label {
	float: left;
	margin-top: 5px;
	margin-right: 8px;
}

.quicksearch-button {
	width: 24px;
	height: 22px;
	border-left: 1px solid #aaa;
	background: center center no-repeat;
	background-image: url(../images/search.png);
	cursor: pointer;
	display: block;
	float: right;
	margin: 3px 0 0 0;
	padding: 0;
	opacity: 0.5;
	filter: alpha(opacity=50);
}

.quicksearch-button:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

#account-options {
	right: 0;
}

.admin-bar {
	font-size: 12px;
	line-height: 12px;
	padding: 4px;
	background: #222;
}

.admin-bar ul {
}

.admin-bar li {
	display: block;
	float: left;
}

.admin-bar li a {
	color: #ccc;
	padding: 0 7px;
	border-right: 1px solid #777;
}

.admin-bar li a:hover {
	color: #fff;
}

.header-links li:last-child {
	border: none;
}

input.placeholder, textarea.placeholder {
	color: #aaa !important;
	font-weight: normal;
}

/* project edit form */

.project-edit input.text, .project-edit input[type=text], .project-edit textarea {
	width: 600px;
}

.project-edit .form-field-label {
	width: 140px;
}

.project-edit .project-description-wrapper {
	float: left;
	width: 600px
}

.project-edit textarea{
	height:44px;
}

.project-edit-half{
	float: left;
	width: 420px;
	margin-right: 15px;
}

.project-edit h2 span.label {
	float: left;
	margin-right: 8px;
}

.project-audio-clips-list .form-field-label{
	float: none;
	width: auto;
	text-align: left;
	padding-right: 0;
}

.project-edit .uploadifive{
	float: right;
}

.project-audio-clips-list{
	margin:0;
	padding:0;
	list-style: none;
}

li.edit-audio-clip {
	margin-bottom: 10px;
	border-bottom-width: 1px;
	padding: 0 10px 10px 10px;
}

li.audio-clip {
	margin: 0;
	position: relative;
	padding: 0 8px 8px 8px;
	border-top: 1px solid #ddd;
	background: #F9F9F9;
	overflow: hidden;
}

.audio-clip-title {
	float: right;
	padding-top: 16px;
	width: 555px;
}

.audio-clip-actions {
	float: right;
	position: relative;
	margin-top: -16px;
	line-height: 16px;
}

.audio-clip-actions a {
	color: #EA5012;
}

.audio-clip-player-container {
	width: 400px;
	float: left;
	position: relative;
	height: 31px;
	margin: 10px 0 0 0;
}

/*.remove-audio-clip {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 555;
}*/

.button-bar {
	padding: 10px 0 0 0;
	text-align: right;
}

form .project-images-list, form .audio-clip-images-list{
	margin: 0;
	padding: 0;
	min-height: 150px;
}

ul.project-images-list {
	list-style: none;
	padding: 10px;
}

form .audio-clip-images-list{
	border: 1px solid #aaa;
	background-color: #F9F9F9;
}

form .sortable-target-list {
	border-style: dashed;
	border-color: #444;
}

form .audio-clip-images {
	float: right;
	width: 50%;
}

form.project-edit a.delete-button {
	background: #222;
	border-color: #000;
}

form.project-edit a.delete-button:hover {
	background: red;
	border-color: darkred;
}

.project-images-list li {
	position: relative;
}

form .project-images-list li {
	padding: 10px;
}

.project-images-list li strong {
	display: block;
	text-align: center;
	background: #202020;
	opacity: .8;
	color: white;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	font-weight: normal;
	text-shadow: 0 2px 0 black;
	padding: 3px;
}

form .project-images-list li {
	cursor: move;
}

.project-images-list li a.ui-button{
	position: absolute;
	top: 3px;
	right: 3px;
	display: block;
}

.audio-clip a {
	font-size: 10px;
}

.audio-clip p {
	margin-bottom: 0;
	padding-bottom: 0;
}

.signal-chain-list{
	list-style: none;
	margin: 0 0 -5px 0;
	padding: 0;
}

.signal-chain-list li{
	margin: 0;
	cursor: move;
	margin-bottom: 5px;
}

.signal-chain-list a {
	margin-left: 4px;
	float: left;
}

.signal-chain-list li input, .signal-chain-list input.text, .signal-chain-list input[type=text] {
	cursor:text;
	margin: 0;
	float: left;
	width: 275px;
}

.project-subhead {
	color: #555;
	font-weight: normal;
}

.project-comments-list li.project-comment-item {
	margin: 0;
	position: relative;
	padding: 8px;
	border-top: 1px solid #DDD;
	background: #F9F9F9;
}

.project-comments-list a {
	color: #EA5012;
}

.project-comment-content {
	font-size: 13px;
	margin-bottom: 4px;
}

#project-comment-form textarea {
	width: 500px;
	height: 55px;
}

.project-comments-list li .ui-button {
	float: right;
}

/* align */
.alignleft{
	float:left;
}

.alignright{
	float:right;
}

/* uploadifive */
.uploadifive-queue-item {
	font: 11px Verdana, Geneva, sans-serif;
	border: 2px solid #E5E5E5;
	background-color: #F5F5F5;
	margin-top: 5px;
	padding: 10px;
}

.uploadifive-error {
	border: 2px solid #FBCBBC !important;
	background-color: #FDE5DD !important;
}

.uploadifive-queue-item .cancel {
	float: right;
}

.uploadifive-progress {
	background-color: #FFFFFF;
	border-top: 1px solid #808080;
	border-left: 1px solid #808080;
	border-right: 1px solid #C5C5C5;
	border-bottom: 1px solid #C5C5C5;
	margin-top: 10px;
	width: 100%;
}

.uploadifive-progress-bar {
	background-color: #0099FF;
	width: 1px;
	height: 3px;
}

.uploadifive {
	margin-bottom: 6px;
}

/*.uploadifive-button {*/
/*	width: 130px;*/
/*	line-height: 16px;*/
/*	font-size: 16px;*/
/*	padding: 4px 7px;*/
/*}*/

/*.uploadifive-button .uploadifive-button-text {*/
/*	font-size: 12px;*/
/*}*/

/* WYSIWYG */

.wysiwyg-content p, .wysiwyg-content ul{
	padding: 5px 0 5px 0;
	margin: 0;
}

.wysiwyg-content ul {
	margin: 0 0 0 20px;
	list-style: square;
}

span.cke_skin_kama {
/*	padding: 0 !important;
	border: 1px solid #999 !important;*/
}

li .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text {
	padding: 3px;
}

li:last-child > .move-down,
li:first-child > .move-up,
li:last-child > .button-bar > .move-down,
li:first-child > .button-bar > .move-up,
li.edit-audio-clip:first-child .same-as-above-label {
	display: none;
}

.same-as-above-label {
	font-weight: normal;
}

.edit-audio-clip a {
	text-decoration: underline;
}

.tag-links {
	font-size: 12px;
	padding-top: 2px;
	font-weight: bold;
}

.tag-links a:hover, table.object-grid tbody .tag-links a:hover {
	text-decoration: underline;
}

.tag-links a, table.object-grid tbody .tag-links a {
	font-weight: normal;
	border-radius: 5px;
	font-size: 11px;
	background: #fff;
	text-decoration: none;
	color: #002844;
}

ul.ui-autocomplete {
	background: white;
	border: 1px solid #002844;
}


/* search filter */

.sidebar-filters {
	float: left;
	width: 150px;
	margin-right: 10px;
}

.filtered-grid {
	float: left;
	width: 800px;
}

.sidebar-filters li a {
	color: #666;
}

.sidebar-filters li a.selected {
	color: #222;
	font-style: italic;
}

.filtergrid label {
	display: block;
	padding: 2px;
	margin: 0 10px 0 0;
	float: left;
	font-weight: bold;
	font-size: 10px;
}

.filtergrid .ui-button {
	margin-top: 11px;
}

.filtergrid select, .filtergrid input {
	display: block;
	margin: 2px 0 0 0;
	font-size: 11px;
}

.filtergrid select {
	width: auto;
	min-width: 60px;
}

tr.even td {
	background: #EFEFEF;
}

#preset-select {
	width: 300px;
}

.form-presets {
	padding: 0 0 5px 3px;
	margin-bottom: 5px;
	border-bottom: 1px solid #ccc;
}

.form-presets span {
	font-weight: bold;
}

.sidebar-filters .filter-select {
	display: none;
}


/* hacks */

.inline-block{
	display:-moz-inline-stack;
	display:inline-block;
	*display:inline;
	zoom:1;
}

textarea, input{
	max-width: 100% !important;
}

@media screen and (max-width: 980px) {
	.wrapper,
	#copyright,
	.audio-clip-title,
	.audio-clip-player-container {
		float: none;
		width: auto;
		display: block;
		clear: both;
	}

	h1 {
		font-size: 20px;
	}

	h2 {
		font-size: 14px;
	}

	.audio-clip-title {
		padding-top: 10px;
	}

	.audio-clip-player-container {
		margin: 5px 0 0 0;
	}

	.ui-tabs .ui-tabs-nav li a {
		padding: .5em .5em;
	}

	.wrapper {
		padding-left: 10px;
		padding-right: 10px;
	}

	.quicksearch-container {
		width: auto;
	}

	.quicksearch-form-wrapper {
		width: 260px;
	}

	.quicksearch-container input.text {
		width: 220px;
	}

	.quicksearch-label {
		display: none;
	}

	.home-callout img {
		display: none;
	}

	.home-callout div {
		max-width: 45%;
	}

	.home-callout div div {
		max-width: none;
	}

	a.home-callout-button {
		font-size: 14px;
	}

	#banner, #logo {
		max-width: 55%;
	}

	#banner img,
	#logo img {
		height: auto;
		max-width: 100%;
		max-height: 100px;
	}

	.filtered-grid {
		width: 70%;
	}
}

@media screen and (max-width: 650px) {
	#logo,
	.form-field-label,
	.field-label,
	.audio-clip-title,
	.project-edit .form-field-label,
	.project-edit .project-description-wrapper,
	.quicksearch-container,
	.home-project-boxes,
	.ui-tabs ul.ui-tabs-nav,
	.home-callout div,
	.home-callout div div,
	.filtered-grid,
	.sidebar-filters {
		float: none;
		width: auto;
		display: block;
		margin-right: 0;
		margin-left: 0;
		max-width: 100%;
	}

	.quicksearch-container {
		margin-bottom: 4px;
	}

	#banner {
		display: none;
	}

	.sidebar-filters .filter-list {
		display: none;
	}

	.sidebar-filters .filter-select {
		display: block;
	}

	.project-edit .form-field-label, .form-field-label, .field-label, .form-field-wrapper, .field-wrapper {
		line-height: inherit;
		text-align: left;
	}

	#logo {
		max-width: 100%;
	}

	#banner img,
	#logo img {
		max-height: 65px;
	}

	div.ui-tabs {
		padding-left: 0;
		padding-right: 0;
	}

	.edit-audio-clip .audio-clip-images {
		display: none;
	}

	a.project-result-image-link {
		max-width: 100px;
	}

	table.object-grid img {
		max-width: 100%;
	}
}
