
.PopupPanel.Capability
{
	max-width: 100%;
	width: 100%;
	height: 100%;
	vertical-align: Bottom;
	box-shadow: none;

	background-color: rgba(0, 0, 0, 0.274);
	border: 0px solid white;

	flow-children: none; 
	padding-bottom: 0px;
}


.PopupPanel.Capability.Hidden,
.PopupPanel.Hidden
{
	opacity: 0.0;
	pre-transform-scale2d: 1.25;
	transform: translateY( -10px );
	sound: "ui_custom_lobby_dialog_slide";

	transition-property: transform, pre-transform-scale2d, opacity, height, width;
	transition-duration: 0.2s;
	transition-timing-function: ease-in-out;
}

.PopupPanel.Capability .PopupButton.hidden,
.PopupPanel.Capability .IconButton.hidden
{
	opacity: 0;
	visibility: collapse;
	transition-property: opacity;
	transition-duration: .25s;
	transition-timing-function: ease-in-out;
}

.popup-capability__top
{
	padding: 48px 0px 0px 0px;
	flow-children: down;
	horizontal-align: center;
	max-width: 850px;
}

.popup-in-xray .popup-capability__top.inspect
{
	                                
	vertical-align: center;
	ui-scale: 65%;
}

.popup-capability__name
{
	font-size: 42px;
	max-height: 48px;
	text-align: center;
	text-shadow:0px 0px 0px #535353;
	text-align: left;
	text-overflow: ellipsis;
	font-family: stratum2Font;
	font-weight: medium;
}

.popup-capability__collection-name
{
	max-height: 30px;
	font-size: 24px; 
	text-overflow: ellipsis;
	font-family: stratum2Font;
}

.popup-capability__warning
{
	font-size: 18px;
	max-width: 940px;
}

.popup-capability__info-block
{
	flow-children: down;
	vertical-align: bottom;
	width: 100%;
	margin-bottom: 96px;
}

.popup-capability__button-row
{
	width: 968px;
	border-top: 1px solid rgba(145, 145, 145, 0.5);
	vertical-align: bottom;
	horizontal-align: center;
	padding: 8px 0px 8px 0px;
}

.popup-capability__button-row .IconButton
{
	margin: 8px 16px;

	transition-property: position;
	transition-duration: 0.25s;
	transition-timing-function: ease-in-out;
}

.popup-capability__button-row .IconButton Image
{
	height: 36px;
}

.popup-capability__button-row.no-border
{
	border-top: 0px solid rgba(145, 145, 145, 0.5);
}

.popup-capability-faded
{
	opacity: .15;

	transition-property: opacity;
	transition-duration: 0.25s;
	transition-timing-function: ease-in-out;
}

.popup-capability__purchase
{
	height: fit-children;
	width: fit-children;
	horizontal-align: right;
	vertical-align: center;
	flow-children: left;
	opacity: 1;
	transform: translateY( 0% );
	

	transition-property: opacity, transform;
	transition-duration: 0.5s;
	transition-timing-function: ease-in-out;
}

.popup-capability__seperator
{
	width: 1px;
	height: 64px;
	background-color: rgba(255, 255, 255, 0.178);
	margin: 0px 16px;
	vertical-align: center;
}

.popup-capability__purchase__text
{
	width: fill-parent-flow(1);
	margin-left: 8px;
	margin-right: 8px;
	font-size: 24px;
	font-weight: lighter;
	text-overflow: shrink;
}

.popup-capability__purchase__text.popup-capability__error
{
	color: #FF9900;
	font-size: 18px;
}

.popup-capability__error .popup-capability__warning_label
{
	color: #FF9900;
}

.popup-capability__error .popup-capability__warning_image
{
	wash-color: #FF9900;
}

.popup-capability__sale-price
{
	font-size: 20px;
	font-weight: medium;
	vertical-align: center;
	text-align: right;
	text-decoration: line-through;
	color: rgb(161, 161, 161);
	margin-right: 8px;
}

.popup-capability__purchase__image
{
	height: 64px;
}

.popup-capability__purchase .PopupButton Label
{
	text-transform: none;
}

.popup-capability__button-row .PopupButton
{
	transition-property: opacity, transform, background-color;
	transition-duration: 0.3s;
	transition-timing-function: ease-in-out;
}

.popup-capability__button-row .PopupButton.hidden,
.popup-capability__purchase.hidden,
.popup-capability__button-row.hidden
{
	opacity: 0;
	transform: translateY( 80% );

	transition-property: opacity, transform;
	transition-duration: 0.3s;
	transition-timing-function: ease-in-out;
}

.popup-capability__spinner.Spinner
{
	height: 64px;
	width: 64px;
	vertical-align: center;
	horizontal-align: center;
	z-index: 5;
}

.popup-capability__spinner.hidden
{
	visibility: collapse;
}

.popup-capability-update-anim
{
	animation-name: UpdateElement;
	animation-duration: .25s;
	                             
	animation-timing-function: ease-in-out;
	animation-iteration-count: 1;
}

@keyframes 'UpdateElement'
{
	0%
	{
		transform: scale3d( 1.0, 1.0, 1.0 );
		brightness: 1;
	}

	50%
	{
		transform: scale3d( 1.2, 1.2, 1.2 );
		brightness: 2;
	}

	100%
	{
		transform: scale3d( 1.0, 1.0, 1.0 );
		brightness: 1;
	}
}
