/**
 * Copyright (c) 2010-2014, Apple Inc. All rights reserved. 
 * 
 * IMPORTANT NOTE: This file is licensed only for use on Apple-branded
 * computers and is subject to the terms and conditions of the Apple Software
 * License Agreement accompanying the package this file is a part of.
 * You may not port this file to another platform without Apple's written consent.
 * 
 * IMPORTANT NOTE: This file is licensed only for use with the Wiki Server feature
 * of the Apple Software and is subject to the terms and conditions of the Apple
 * Software License Agreement accompanying the package this file is part of.
 **/

/* com.apple.collabd.theme.main_banner */

#banner
{
	background-color: #3078BD;
	background: -webkit-gradient(linear, left top, left bottom, from(#528BC4), to(#3078BD));
	background: -moz-linear-gradient(top, #528BC4, #3078BD);
	ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#528BC4', EndColorStr='#3078BD')";
	color: #FFFFFF;
	text-shadow: rgba(0,0,0,0.6) 0px -1px 1px;
}

body:not(.toplevel) #banner
{
	border-bottom: 1px solid #245D94;
}

body:not(.toplevel) #banner .left
{
	border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* com.apple.collabd.theme.main_banner.selected_link */

#banner .right .links li.selected
{
	border: 1px solid rgba(0,0,0,0.3);
	border-bottom-color: rgb(40,85,129) !important;
	box-shadow: 0px 1px 0px rgba(255,255,255,0.2);
	text-shadow: rgba(0,0,0,0.6) 0px 0px 2px;
	background-color: rgba(0,0,0,0.3);
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.3)), to(rgba(0,0,0,0.2)));
	background: -moz-linear-gradient(top, #2D5480, #356497);
	ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#2D5480', EndColorStr='#356497')";
}

/* com.apple.collabd.theme.body */

#main
{
	background-color: #F5F6F7;
}

/* com.apple.collabd.theme.sidebar_and_filter_bar_headers */

.cc-sidebar > h2,
.cc-sidebar.toplevel .cc-sidebar-section > h3,
.cc-filter-bar-view,
.cc-filter-bar-right-button
{
	background-color: #C7D9EF;
	background: -webkit-gradient(linear, left top, left bottom, from(#C7D9EF), to(#A8C7DF));
	background: -moz-linear-gradient(top, #C7D9EF, #A8C7DF);
	ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#C7D9EF', EndColorStr='#A8C7DF')";
	border: 1px solid #9EBACF;
	border-top-color: #A4BED5;
	border-bottom-color: #99B6CA;
	color: #395986;
	text-shadow: rgba(255,255,255,0.3) 0px 1px 0px;
}

.cc-sidebar h2 .button.sidebar-close
{
	background-image: url(sidebar_close.png);
	background-image: -webkit-image-set(url(sidebar_close.png) 1x, url(sidebar_close@2x.png) 2x);
}

/* com.apple.collabd.theme.sidebar_and_history_banner_backgrounds */

.cc-sidebar > .content,
.revisions.detail .controls
{
	background-color: #F2F9FF;
}

.cc-sidebar-section .button
{
	background-image: url(sidebar_buttons.png);
	background-image: -webkit-image-set(url(sidebar_buttons.png) 1x, url(sidebar_buttons@2x.png) 2x);
}

/* com.apple.collabd.theme.show_more_link */

.cc-sidebar .cc-sidebar-pagination,
.cc-collapsible-list-toggle,
.cc-sidebar > .content a.more,
.cc-entitylist .footer a,
.cc-error-message-view.deleted form input
{
	color: #467CBF;
}

.cc-sidebar .cc-sidebar-section.loading > .content,
.cc-sidebar .cc-sidebar-pagination.loading
{
	background-image: url(sidebar_spinner_small.gif);
}

/* com.apple.collabd.theme.sidebar.rounded_button */

.cc-sidebar .cc-sidebar-rounded-button,
.cc-sidebar.watched_controls .content span
{
	color: #33597B;
}

.cc-sidebar .cc-sidebar-rounded-button
{
	border: 1px solid #B0CEE4;
	border-bottom-color: #9ABAD5;
	background-color: #FCFDFF;
	background: -webkit-gradient(linear, left top, left bottom, from(#FEFFFE), to(#E9F4FF));
	background: -moz-linear-gradient(top, #FEFFFE, #E9F4FF);
	ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#FEFFFE', EndColorStr='#E9F4FF')";
}

/* com.apple.collabd.sidebar.selected_losenge */

.cc-sidebar.show .searchlinks li a.selected,
.cc-sidebar.sort_by .searchlinks li a.selected,
.cc-sidebar.filter_by_tag .searchlinks li a.selected,
.revisions.listing .revision.selected
{
	background-color: #AAC5DF;
	border: 1px solid #9EB8D0;
	color: #FFFFFF;
	text-shadow: rgba(0,0,0,0.2) 0px -1px 0px;
}

/* com.apple.collabd.theme.filter_bar_view */

.cc-filter-bar-view
{
	text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
}

/* com.apple.collabd.theme.filter_bar_view.button_selected */

.cc-filter-bar-view .button.selected
{
	text-shadow: rgba(0,0,0,0.4) 0px -1px 0px;
	background-color: #5282b2;
	background: -webkit-gradient(linear, left top, left bottom, from(#4f7fa3), to(#6596c2));
	background: -moz-linear-gradient(top, #4f7fa3, #6596c2);
	box-shadow: 0px 1px 0px rgba(255,255,255,0.3), inset 0px 0px 2px rgba(0,0,0,0.5);
}

.cc-filter-bar-view .cc-filter-bar-view-popup
{
	background-image: url(entitylist_header_popup_arrows.png);
	background-image: -webkit-image-set(url(entitylist_header_popup_arrows.png) 1x, url(entitylist_header_popup_arrows@2x.png) 2x);
}

/* com.apple.collabd.theme.filter_bar_view.cc-filter-bar-right-button */

.cc-filter-bar-right-button
{
	border: 1px solid rgba(57,89,134,0.6);
	text-shadow: rgba(255,255,255,0.4) 0px 1px 0px;
	box-shadow: inset rgba(255,255,255,0.3) 0px 1px 0px;
}

/* com.apple.collabd.theme.filter_bar_view.cc-filter-bar-right-button-active */

.cc-filter-bar-right-button:active
{
	text-shadow: rgba(255,255,255,0.3) 0px 1px 0px;
	box-shadow: inset rgba(57,89,134,0.4) 0px 1px 3px;
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(57,89,134,0.3)), to(rgba(57,89,134,0)));
	background: -moz-linear-gradient(top, from(rgba(57,89,134,0.3)), to(rgba(57,89,134,0)));
}

/* com.apple.collabd.theme.comment.moderation_banner */

.cc-comment .moderation.banner
{
	background-color: #5F6C7F;
}

.cc-comment .norgie
{
	background-image: url(comment_sidebar_norgie.png);
	background-image: -webkit-image-set(url(comment_sidebar_norgie.png) 1x, url(comment_sidebar_norgie@2x.png) 2x);
}

/* com.apple.collabd.theme.comment.body */
/* com.apple.collabd.theme.tag */

.cc-comment .body,
.cc-tag
{
	background: -webkit-gradient(linear, left top, left bottom, from(#EBF5FF), to(#DBEBFA));
	background: -moz-linear-gradient(top, #EBF5FF, #DBEBFA);
	background-color: #DBEBFA;
	border: 1px solid #C3D0D3;
	border-bottom-color: #B0C0CD;
	box-shadow: 0px 1px 0px #DEE6EC;
}

/* com.apple.collabd.theme.tagger.textfield */

.cc-tag-editor .cc-tag-entryfield input
{
	border: 1px solid #C5D0DB;
	border-bottom-color: #95A5B5;
	box-shadow: 0px 1px 0px #E0E6E2;
}

.cc-related-popup-menu .handle,
.cc-related-popup-menu .top-cap,
.cc-related-popup-menu .bottom-cap,
.cc-related-popup-menu .top,
.cc-related-popup-menu .bottom
{
	background-image: url(sidebar_popup_bg.png);
	background-image: -webkit-image-set(url(sidebar_popup_bg.png) 1x, url(sidebar_popup_bg@2x.png) 2x);
}

.cc-related-popup-menu .handle .button.add
{
	background-image: url(sidebar_buttons.png);
	background-image: -webkit-image-set(url(sidebar_buttons.png) 1x, url(sidebar_buttons@2x.png) 2x);
}

/* com.apple.collabd.theme.related.link */

.cc-related-popup-menu .body a,
.cc-related-popup-menu .body ul.recents a,
.cc-related-popup-menu .body h2
{
	color: #607AA1;
}

/* com.apple.collabd.theme.related.popup.header */

.cc-related-popup-menu .body h2
{
	background-color: rgba(100, 130, 165, 0.2);
	border: 1px solid #A2B2CB;
}

/* com.apple.collabd.theme.revisions.details.banner */

.revisions.detail .controls
{
	border-bottom: 1px solid #D8DFE4;
}

/* com.apple.collabd.theme.revisions.details.buttons */

.revisions.detail .controls .button
{
	border: 1px solid #A9C7DE;
	color: #426D8E;
}

.revisions.detail .controls .button.close
{
	background-image: url(close_revisions_button.png);
	background-image: -webkit-image-set(url(close_revisions_button.png) 1x, url(close_revisions_button@2x.png) 2x);
}

.cc-grouped-tags-view .cc-grouped-tags-view-actions .button.edit
{
	background-image: url(button_edit.png);
	background-image: -webkit-image-set(url(button_edit.png) 1x, url(button_edit@2x.png) 2x);
}
