/*
* Copyright 2012 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/


/* Dimensions */
.bb-activity.bb-activity-small {
	width: 41px;
	height: 41px;
}

.bb-activity.bb-activity-medium {
	width: 93px;
	height: 93px;
}

.bb-activity.bb-activity-large {
	width: 184px;
	height: 184px;
}

/* Swatch A - Dark */
.bb-activity-bg-a.bb-activity-small {
	background-image: url('images_bb/core_activityindicator_bg_small_dark.png');
}

.bb-activity-bg-a.bb-activity-medium {
	background-image: url('images_bb/core_activityindicator_bg_medium_dark.png');
}

.bb-activity-bg-a.bb-activity-large {
	background-image: url('images_bb/core_activityindicator_bg_large_dark.png');
}

/* Swatch C - Light*/
.bb-activity-bg-c.bb-activity-small {
	background-image: url('images_bb/core_activityindicator_bg_small.png');
}

.bb-activity-bg-c.bb-activity-medium {
	background-image: url('images_bb/core_activityindicator_bg_medium.png');
}

.bb-activity-bg-c.bb-activity-large {
	background-image: url('images_bb/core_activityindicator_bg_large.png');
}

/*Swirl*/
.bb-activity-swirl {
	width: 100%;
	height: 100%;
	-webkit-animation: bb-spin infinite linear 0;
	-webkit-animation-duration: 2s;
}

.bb-activity-small .bb-activity-swirl {
	background-image: url('images_bb/core_activityindicator_swirl_small.png');
}

.bb-activity-medium .bb-activity-swirl {
	background-image: url('images_bb/core_activityindicator_swirl_medium.png');
}

.bb-activity-large .bb-activity-swirl {
	background-image: url('images_bb/core_activityindicator_swirl_large.png');
}

/*Utitlity*/
.bb-activity-hidden {
	display: none;
}

/*Swirl Animation*/
@-webkit-keyframes bb-spin {
	0% {
		transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
	}
}
