/* {{{ General */

span.swat-required, span.swat-optional { color: #888; }

.swat-form label { color: #aaa; }

.swat-form .swat-insensitive {
	opacity: 0.5;
	filter: alpha(opacity=50);
}

textarea,
input.swat-entry {
	font-size: 12px;
}

.swat-note {
	color: #777;
	font-size: 11px;
}

div.swat-note {
	padding: 4px 0 8px 0;
}

.swat-frame .swat-actions {
	background: #f5f5f5;
	border-top: 1px solid #e5e5e5;
}

div.swat-textarea-resize-handle {
	background: #555 url('../images/elements/swat-textarea-resize-handle.png') center center no-repeat;
	border-bottom: 1px solid #333;
}

.swat-table-view thead th {
	border-color: #333;
	color: #999;
}

.swat-fieldset,
.swat-grouping-form-field-fieldset {
	border: 1px solid #444;
}

.swat-disclosure-anchor-opened,
a.swat-expandable-checkbox-tree-anchor-opened {
	background: url('../images/elements/swat-disclosure.png') left top no-repeat;
}

.swat-disclosure-anchor-closed,
a.swat-expandable-checkbox-tree-anchor-closed {
	background: url('../images/elements/swat-disclosure.png') 0px -16px no-repeat;
}

.swat-disclosure-anchor-opened { background-position: 3px 0; }
.swat-disclosure-anchor-closed { background-position: 3px -16px; }

.swat-details-view-field th {
	text-align: left;
	font-weight: normal;
	color: #999;
}

span.swat-null-text-cell-renderer { color: #777; }

/* }}} */
/* {{{ Swat Frame */

.swat-frame {
	background: url(../images/elements/background-white-0.08.png);
	background: rgba(255,255,255,0.08);
	border: 0;
	display: block;
	zoom: 1; /* for IE */

	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

.brightness-light .swat-frame {
	background: url(../images/elements/background-black-0.08.png);
	background: rgba(0,0,0,0.08);
}

.swat-frame .swat-frame .swat-frame-title {
	background: transparent;
	margin: 0 0 4px 0;
	padding: 0;
	color: #ccc;
	font-size: 17px;
}

.swat-frame .swat-frame-title {
	background: transparent;
	margin: 0;
	color: #ccc;
	font-size: 17px;
	padding: 10px 15px 0 15px;
}

.swat-frame .swat-frame-subtitle { display: block; }

.swat-frame .swat-frame-contents {
	display: block;
	padding: 15px 15px;
}

.swat-frame .swat-frame-contents .swat-frame { background: none; }
.swat-frame .swat-frame-contents .swat-frame-contents {	border: 0; }

.swat-frame .swat-footer-form-field {
	background: url(../images/elements/background-white-0.08.png);
	background: rgba(255,255,255,0.08);

	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.brightness-light .swat-frame .swat-footer-form-field {
	background: url(../images/elements/background-black-0.08.png);
	background: rgba(0,0,0,0.08);
}

.swat-frame .swat-footer-form-field p {	font-size: 11px; }

/* }}} */
/* {{{ Img Tile View */

.swat-tile-view .site-image-wrapper img,
.swat-table-view .site-image-wrapper img {
	background: #fff;
	border: 1px solid #eee;
	padding: 2px;
	margin: 0;
}

.swat-tile-view .swat-tile a {
	padding: 0;
	width: 108px;
}

.swat-tile-view .swat-tile {
	width: 108px;
	margin: 0;
	padding: 4px 2px 6px 5px;
	margin-right: 5px;
}

#related_photos_view .swat-tile {
	padding: 4px 16px 4px 0;
	margin-right: 0;
	margin-left: 0;
}

#photos_tile_view div.swat-check-all {
	padding-top: 10px;
}

#photos_tile_view input.swat-check-all {
	margin: 0 0 0 7px;
}

.swat-tile-view .swat-tile a:hover { background: none; }

.swat-tile-view .swat-tile a:hover img,
.swat-table-view a:hover .site-image-wrapper img {
	background: #afc7e0;
	border-color: #4982bf;
}

.swat-tile-view .swat-tile a span.title { display: none; }

.swat-tile-view .highlight {
	background: #5788af;

	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

.swat-tile-view .highlight label { color: #fff; }

#photos_table_view tr.highlight,
#photos_table_view tr.highlight-odd {
	background: #5788af;
	color: #fff;
}

/* }}} */
/* {{{ Swat Toolbar */

ul.swat-toolbar {
	background: url(../images/elements/background-white-0.08.png);
	background: rgba(255,255,255,0.08);
	font-size: 11px;
	font-weight: normal;
	padding: 8px 0 8px 5px;
	margin-left: -15px;
	margin-right -15px;
	border: none;
	left: 0;

	-moz-border-radius-topright: 8px;
	-moz-border-radius-topleft: 8px;

	-webkit-border-top-right-radius: 8px;
	-webkit-border-top-left-radius: 8px;

	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
}

.swat-tool-link { border: 0; }

.swat-toolbar .swat-tool-link-edit:link,
.swat-tool-link-edit:link,
.swat-toolbar .swat-tool-link-edit:visited,
.swat-tool-link-edit:visited,
.swat-toolbar .swat-tool-link-add:link,
.swat-tool-link-add:link,
.swat-toolbar .swat-tool-link-add:visited,
.swat-tool-link-add:visited,
.swat-toolbar .swat-tool-link-create:link,
.swat-tool-link-create:link,
.swat-toolbar .swat-tool-link-create:visited,
.swat-tool-link-create:visited,
.swat-toolbar .swat-tool-link,
.swat-toolbar .swat-tool-link-insensitive {
	background: transparent url('../images/elements/swat-toolbar-background.png') center left no-repeat;
	padding: 8px 6px;
	color: #7cadd6;
	text-decoration: none;
}

.swat-toolbar .swat-tool-link-insensitive {
	color: #888;
}

.swat-toolbar a.swat-tool-link-edit:hover,
a.swat-tool-link-edit:hover,
a.swat-tool-link-add:hover,
a.swat-tool-link-create:hover,
.swat-toolbar a.swat-tool-link-add:hover,
.swat-toolbar a.swat-tool-link-create:hover,
.swat-toolbar a.swat-tool-link:hover,
.swat-toolbar a.swat-tool-link-insensitive:hover {
	background: transparent url('../images/elements/swat-toolbar-background.png') center left no-repeat;
	text-decoration: none;
	color: #afdbff;
}

.swat-toolbar .first-button:link,
.swat-toolbar .first-button:visited,
.swat-toolbar a.first-button:hover,
a.first-button:hover,
.swat-toolbar .first-button,
.swat-toolbar .first-button:hover {
	background: none;
}

/* }}} */
/* {{{ Site Tag Entry */

li.site-tag-prehighlight { background: #dfedff; }

.site-tag-entry {
	width: auto;
	margin-bottom: 0;
}

.site-tag-entry .site-tag-entry-add-tag { background-image: url('../images/elements/swat-tool-link-create.png'); }

ul.site-tag-array {
	width: auto;
	margin: 5px 0;
}

.site-tag-container .yui-ac-content { color: #555; }

#tags_value { margin-top: 5px; }

.site-tag-array li {
	border: none;
	background: #333;
	margin: 0 2px 2px 0;
	width: auto;
	float: left;
	position: relative;
	padding: 3px 20px 3px 5px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

.swat-actions .site-tag-array li {
	background-color: #444;
}

.site-tag-array li a {
	background: url('../images/elements/tag-close.png') 0px 0px no-repeat;
	width: 8px;
	height: 8px;
	display: block;
	overflow: hidden;
	float: right;
	position: absolute;
	top: 8px;
	right: 6px;
	text-indent: -500px;
}

.site-tag-array li a:hover { background-position: 0px -8px; }

.site-tag-autocomplete-container { clear: left; }

.site-tag-array li.new-tag {
	color: #fff;
	background: #6b8f59;
}

.site-tag-array li.new-tag a { background: url('../images/elements/tag-close-new.png') 0px 0px no-repeat; }

.site-tag-array li.new-tag a:hover { background-position: 0px -8px; }

/* }}} */
/* {{{ Swat Messages */

.swat-form-field-with-messages {
	background: #8f2d23;
	border-color: #5f1912;
}

.swat-form-field-with-messages .swat-note {
	color: #ffd4cf;
	padding-bottom: 0;
}

.swat-form-field-messages .swat-message,
.swat-table-view-input-row-messages .swat-message,
.swat-form-field-with-messages label,
* html .swat-form-field-messages .swat-message,
* html .swat-table-view-input-row-messages .swat-message,
* html .swat-form-field-with-messages label {
	color: #ffd4cf;
	background: none;
	padding: 0;
}

.swat-form-field-with-messages span.swat-required,
.brightness-light .swat-form-field-with-messages span.swat-required { color: #af736d; }

.swat-message-display .swat-message-primary-content {
	font-weight: normal;
	font-size: 17px;
}

.swat-message-display .swat-message .swat-message-container { padding-left: 82px; }

#doc .swat-message-display .swat-message-notification,
#doc .swat-message-display .swat-message-cart,
#doc .swat-message-display .swat-message-photo {
	background-color: #dbefd1;
	border-color: #b5cfa6;
}

#doc .swat-message-display .swat-message-warning {
	background-color: #fffe92;
	border-color: #e6d960;
}

#doc .swat-message-display .swat-message-warning a {
	color: #947140;
	text-decoration: underline;
}

#doc .swat-message-display .swat-message-warning a:hover {
	color: #533a15;
}

#doc .swat-message-display .swat-message-notification a,
#doc .swat-message-display .swat-message-cart a,
#doc .swat-message-display .swat-message-photo a {
	color: #2a6f29;
	text-decoration: underline;
}

#doc .swat-message-display .swat-message-notification a:hover,
#doc .swat-message-display .swat-message-cart a:hover,
#doc .swat-message-display .swat-message-photo a:hover {
	color: #1f4f1d;
}

.swat-message-display .swat-message-cart {
	background-image: url('../images/elements/swat-message-cart.png');
	background-position: 0 0;
}

.swat-message-display .swat-message-notification {
	background-image: url('../images/elements/swat-message-notice.png');
	background-position: 0 0;
}

.swat-message-display .swat-message-warning {
	background-image: url('../images/elements/swat-message-warning.png');
	background-position: 0 0;
}

.swat-message-display .swat-message-error {
	background-image: url('../images/elements/swat-message-error.png');
	background-position: 0 0;
}

.swat-message-notification .swat-message-primary-content,
.swat-message-cart .swat-message-primary-content,
.swat-message-photo .swat-message-primary-content {
	color: #2a6f29;
}

.swat-message-notification .swat-message-secondary-content,
.swat-message-cart .swat-message-secondary-content,
.swat-message-photo .swat-message-secondary-content {
	color: #4d884a;
}

.swat-message-display .swat-message-photo .swat-message-container { padding-left: 1em; }

.swat-message-photo .photo-saved-message-image {
	text-align: center;
	float: left;
}

.swat-message-photo .photo-saved-message img {
	padding: 5px;
	border: 1px solid #b5cfa6;
	background: #f4ffef;
}

.swat-message-photo .secondary-content {
	color: #4D884A;
	font-size: 13px;
	font-weight: normal;
}

.swat-message-error {
	background-color: #8f2d23;
	border-color: #5f1912;
}

.swat-message-error .swat-message-secondary-content,
.swat-message-error .swat-message-primary-content {
	color: #ffd4cf;
}


#doc .swat-message-error .swat-message-secondary-content a {
	color: #ffd4cf;
	text-decoration: underline;
}

#doc .swat-message-error .swat-message-secondary-content a:hover,
#doc .swat-message-error .swat-message-secondary-content a:active {
	color: #fff;
}

/* }}} */
/* {{{ Progress Bar */

div.swat-progress-bar-bar {
	height: 24px;
	background-color: #eee;
	background-image: none;
	margin-top: 12px;
	padding: 0;
	border: none;

	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

div.swat-progress-bar-left-to-right div,
div.swat-progress-bar-full {
	height: 24px;

	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

div.swat-progress-bar-full {
	background-color: #7cadd6;
	background-image: url(../images/elements/swat-progressbar-horizontal-background.png);
}

.swat-progress-bar-text {
	color: #fff;
	display: block;
	text-align: center;
}

/* }}} */
/* {{{ SwatPagination */

.swat-pagination a,
.swat-pagination a:hover,
.swat-pagination a:active,
.swat-pagination span {
	border: 0;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 4px 8px;
	margin-right: 2px;
	background: url(../images/elements/background-white-0.2.png);
	background: rgba(255,255,255,0.2);
	text-decoration: none;
}

.brightness-light .swat-pagination a,
.brightness-light .swat-pagination a:hover,
.brightness-light .swat-pagination a:active,
.brightness-light .swat-pagination span {
	background: url(../images/elements/background-black-0.2.png);
	background: rgba(0,0,0,0.2);
}

.swat-pagination span {
	background: url(../images/elements/background-white-0.08.png);
	background: rgba(255,255,255,0.08);
	text-decoration: none;
	border: 0;
}

.brightness-light .swat-pagination span {
	background: url(../images/elements/background-black-0.08.png);
	background: rgba(0,0,0,0.08);
}

.swat-pagination span.swat-pagination-current {
	border: 0;
	padding: 8px 12px;
}

#photos_pager_container {
	font-size: 11px;
	font-weight: bold;
	margin: 0.2em;
	padding-bottom: 3px;
	text-align: center;
}

/* }}} */
/* {{{ SwatTableView */

.swat-table-view thead th,
.swat-table-view tbody tr {
	background: url(../images/elements/dotted-border.png) bottom left repeat-x;
}

.brightness-light .swat-table-view thead th,
.brightness-light .swat-table-view tbody tr {
	background-image: url(../images/elements/dotted-border-light.png);
}


.swat-table-view tbody tr.highlight,
.swat-table-view tbody tr.highlight-odd {
	background: #444;
	border-bottom: 1px solid #3b3b3b;
}

.swat-table-view .swat-table-view-group {
	color: #fff;
	background: #222;
	border-bottom: 1px solid #3b3b3b;
}

/* }}} */
/* {{{ SwatButton */

.swat-button-processing-throbber {
    background-image: url(../images/elements/swat-button-throbber.gif);
}

/* }}} */
/* {{{ SwatTextareaEditor (tinymce) */

body .swatSkin table.mceLayout {
	border: none;
}

body .swatSkin table.mceLayout tr.mceFirst td {
	border-top: none;
}

body .swatSkin table.mceLayout tr.mceLast td {
	border: 1px solid #666;
}

body .swatSkin td.mceToolbar {
	background: transparent;
	border-bottom: none;
}

body .swat-textarea-editor-dialog {
	background: transparent;
}

body .swat-textarea-editor-dialog .swat-frame {
	border: none;
	background: #333;
}

body .swatSkin .mceButton {
	margin-right: 0;
	padding: 1px 2px;
	background: #333;
	background: rgba(255,255,255,0.2);
	border: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

body .swatSkin .mce_italic,
body .swatSkin .mce_link,
body .swatSkin .mce_redo {
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

body .swatSkin .mce_bold,
body .swatSkin .mce_link,
body .swatSkin .mce_undo {
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

body .swatSkin a.mceButtonEnabled:hover {
	background: #4c4c4c;
	background: rgba(255,255,255,0.3);
	border: none;
}

body .swatSkin .mceButtonDisabled {
	opacity:0.3;
	-ms-filter:'alpha(opacity=30)';
	filter:alpha(opacity=30);
}

body .swatSkin .mceIcon {
	background-image: url(../images/elements/tinymce-icons.png);
}

/* }}} */
