.bd-action, .bd-buttons a {
	padding: 3px 14px;
	font-size: 1.2em;
	background-color: #D10000;
	border: solid 1px #9F0000;
	display: inline-block;
	color: white;
}
.bd-action img {
	-moz-border-radius:0.5em;
	-webkit-border-radius:0.5em;
	border-radius: 0.5em;
}
.bd-action:hover, .bd-action:focus, .bd-buttons a:hover, .bd-buttons a:focus {
	text-decoration: none;
	color: #EEE;
}


.bd-loading {
	margin-top: 10px;
	font-size: 2em;
	text-align: center;
	padding-bottom: 25px;
	background: url(/media/images/components/loading.gif) no-repeat center bottom;
}

.bd-left { text-align: left; }
.bd-middle { text-align: center; }
.bd-right { text-align: right; }
.bd-action { cursor:pointer; }

.bd-stamp { letter-spacing: 1px; font-size: 10px; }
.bd-clear { clear: both; }

.bd-control {
	padding: 0px; 
	margin: 0px; 
	display: inline;
	z-index: 1;
}
.bd-container > .bd-body { overflow: auto; }

.bd-window .bd-title { position: relative; min-height: 13px; }
.bd-window .bd-text { display: inline-block; float:left; }
.bd-window .bd-states { display: inline-block; float:right; }
.bd-window .bd-states .bd-action {
	background-repeat: no-repeat;
	background-position: 4px center;
	padding: 5px 9px 11px;
	margin: 0px 3px;
	border-width: 0px;
	background-color: transparent;
	display: inline-block;
	float: right;
}
.bd-window .bd-title .command.help {
	vertical-align: top;
}
.bd-window .bd-states .bd-current.bd-view { display: block; text-align: right; float: right; }
.bd-window .bd-states .bd-visible, .bd-window .bd-states .bd-deactivate-visible { background-image: url(/media/images/close.png); }
.bd-window .bd-states a:hover.bd-action.bd-visible.bd-deactivate, .bd-window .bd-states .bd-deactivate-visible:hover { background-position: -15px center; }

.bd-window .bd-states .bd-advanced { background-image: url(/media/images/application_view_detail.png); padding: 9px 11px; }
.bd-window .bd-states .bd-simple { background-image: url(/media/images/application_view_tile.png); padding: 9px 11px; }
.bd-window .bd-states .bd-advanced:hover { background-image: url(/media/images/application_view_tile.png); }
.bd-window .bd-states .bd-simple:hover { background-image: url(/media/images/application_view_detail.png); }
.bd-window .bd-states .bd-action > span { display: none; }

.bd-window .bd-grid th {
	white-space: nowrap;
}

.bd-window .bd-foot .bd-stamp { padding:0px 5px; color: transparent; background-color: transparent; }

.bd-hover-window > .bd-head, .bd-hover-window > .bd-head > .bd-title, .bd-hover-window > .bd-foot {
	-moz-border-radius-topleft:0.6em;
	-moz-border-radius-topright: 0.6em;
	-webkit-border-top-left-radius:0.6em;
	-webkit-border-top-right-radius: 0.6em;
	border-top-left-radius:0.6em;
	border-top-right-radius:0.6em;
}
.bd-hover-window > .bd-body { position: relative; display: block; min-height: 250px; background-color: #fff; }
.bd-hover-window .bd-body > iframe { position: absolute; height: 100%; }
.bd-hover-window .bd-body > table { margin: 0px; padding: 0px; border-spacing:0px; }
.bd-hover-window .bd-body > table td { vertical-align: top; }
.bd-hover-window { display: block; min-width: 50px; min-height: 50px; z-index: 10001; width: 80%; }
.bd-hover-window > .bd-head > .bd-title {
	background-color: #f0f0f0;
	padding-bottom: 3px;
	border-bottom-width: 0px;
}
.bd-hover-window > .bd-body, .bd-hover-window > .bd-foot > .bd-content, .bd-hover-window > .bd-head {
	border: solid 1px silver;
}
.bd-hover-window .bd-head {
	background-color: #f0f0f0;
	padding-bottom: 1px;
	border-bottom-width: 0px;
}
.bd-hover-window > .bd-body { border-top: solid 1px silver; border-bottom: solid 1px silver; }

.bd-hover-window .bd-foot .bd-content { 
	-moz-border-radius-bottomleft:0.6em;
	-moz-border-radius-bottomright: 0.6em;
	-webkit-border-bottom-left-radius:0.6em;
	-webkit-border-bottom-right-radius: 0.6em;
	border-bottom-right-radius:0.6em;
	border-bottom-left-radius:0.6em;
}

.bd-hover-window .bd-foot { background-color: transparent; }
.bd-hover-window .bd-foot .bd-message { display: block; margin: 0px auto; }

.bd-hover-window.bd-full { min-width: 15px; width: inherit; }
.bd-hover-window.bd-full .bd-body { width: auto; padding: 5px; text-align: center; }
.bd-hover-window .bd-foot .bd-content {
	padding: 6px 0px;
	text-align: center;
	border-top-width: 0px;
	background-color: #f0f0f0;
}

.bd-window.bd-message { background-color: transparent; border-width: 0px; font-size: 1.2em; color: #333; font-family: 'Verdana'; width:30%; left:35%; }
.bd-window.bd-message > .bd-foot .bd-buttons { font-size: 0.8em; }
.bd-window.bd-message .bd-body {
	padding: 5px;
	min-height: 75px;
	text-align: center;
	border-bottom-width: 0px;
	border-top-width: 0px;
}
.bd-window.bd-message .bd-body,
.bd-window.bd-message .bd-head,
.bd-window.bd-message .bd-head .bd-title,
.bd-window.bd-message .bd-foot .bd-content {
	background-color: #f5f5f5;
}
.bd-window.bd-message .bd-foot .bd-content { padding: 4px; }

.bd-window.bd-message .bd-foot .bd-buttons a {
	font-size: 1em;
	padding: 2px 4px;
	margin: 0px 3px;
	display: inline-block;
	min-width: 40px;
}

.bd-window.bd-message .bd-error { display: block; color: red; font-size: 0.8em; }
.bd-hover-window.bd-message .bd-body > iframe { height: auto; }
.bd-window.bd-messenger .bd-head { display: none; }
.bd-window.bd-messenger .bd-body {
	padding: 10px;
	-moz-border-radius-topleft:0.6em;
	-moz-border-radius-topright: 0.6em;
	-webkit-border-top-left-radius:0.6em;
	-webkit-border-top-right-radius: 0.6em;
	border-top-left-radius:0.6em;
	border-top-right-radius:0.6em;
}

.bd-modal { z-index: 10001; }

.bd-currency { text-align:center; }
.bd-currency > .bd-name { font-size: 10px; padding: 0px 0px 0px 5px; display:block; }

.bd-store .bd-foot .bd-currency > .bd-name { display:none; }
.bd-store .bd-head .bd-content { padding: 10px 10px 2px 10px; }
.bd-store .bd-foot .bd-currency.bd-action { font-size: 0.9em; margin: 2px 5px; }

.bd-user { width: 100%; font-size: 1.4em; }
.bd-user td.bd-balances { text-align: right; }
.bd-user > .bd-name { padding: 5px; font-size: 1.2em; text-align: left; display: inline-block; clear: both; margin-bottom: 4px; position: absolute; }
.bd-user > span { text-align: right; display: block; clear: both; padding: 5px; }
.bd-user .bd-balance { float:right; font-family: 'Verdana'; margin-left: 10px; display:inline-block; padding: 1px 8px; border: solid 2px #D4D4D4; background-color: #E3E3E3;
	-moz-border-radius:0.5em;
	-webkit-border-radius:0.5em;
	border-radius: 0.5em;
}
.bd-user .bd-balance .bd-value { font-family: 'monospace'; font-size: 1.3em; }

/*** Mixing Previews styles ***/
.bd-previews .bd-action > .bd-name,
.bd-previews .bd-action > .bd-description,
.bd-store-selector .bd-body .bd-item > div > .bd-name,
.bd-store-selector .bd-body .bd-item > div > .bd-description {
	font-family: 'Verdana'; letter-spacing: 1px;
	color: #666; padding: 2px;
	display: block; font-size: 11px;
	margin: 0px -5px;
	max-height: 22px;
	overflow:hidden;
}

.bd-store-base .bd-body { padding: 0px; }
.bd-store-base .bd-body > table { height: 100%; width: 100%; table-layout: fixed; }
.bd-store-base .bd-body > table td { text-align: center; vertical-align: top; padding: 5px 8px; border-left: solid #f2f2f2 2px; }
.bd-store-base .bd-body > table td:first-child { border-left-width: 0px; }
.bd-store-base .bd-body > table td.bd-message { text-align: left; }
.bd-store-base .bd-body > table td table { width: 99%; }
.bd-store-base .bd-body > table td table td { border-width: 0px; padding: 0px; margin: 0px; vertical-align: middle; }
.bd-store-base .bd-body > table td input, .bd-store-base .bd-body > table td textarea { padding: 5px; margin: 3px 0px; border-color: #f0f0f0; }
.bd-store-base .bd-body > table td label { display:inline-block; margin:0px; padding: 2px 0px; text-align:left; width:auto; }
.bd-store-base .bd-body > table td input { width: 100%;  }
.bd-store-base .bd-body > table td textarea { overflow:auto; height: 250px; width: 90%; margin: 0px auto; }
.bd-store-base .bd-body .bd-image { border: solid 2px #e9e9e9; padding: 2px; }
.bd-store-base .bd-body .bd-name, .bd-store-base .bd-body .bd-description { 
	display: block; font-family: 'verdana';
	padding: 3px 0px; line-height: 1em; letter-spacing: 1px;
}
.bd-store-base > .bd-body .bd-section h3 { margin-bottom: 4px; }
.bd-store-base .bd-body > table td h3.bd-title { text-align: left; border-bottom: solid 2px #f0f0f0; }
.bd-store-base .bd-foot .bd-content { text-align: right; }
.bd-store-base .bd-foot .bd-message { font-size: 1.5em; color: #787878; }
.bd-store-base .bd-foot .bd-buttons .bd-send { font-size: 1.5em; margin-right: 6px; }
.bd-store-base .bd-body .bd-currency .bd-value, .bd-store-base .bd-body .bd-currency .bd-name {
	font-size: 11px; letter-spacing: 0px; font-family: 'verdana'; display: inline; padding: 0px 2px;
}
.bd-store-base .bd-body .bd-currency .bd-value { font-size: 12px; }
.bd-store-base .bd-body .bd-action { background-color: transparent; }
.bd-store-base .bd-body .bd-action:hover { border-color: #74A9C6; }

.bd-store-selector .bd-body { text-align: center; max-height: 400px; height: 400px; }
.bd-store-selector .bd-head .bd-search { float: right; }
.bd-store-selector .bd-head .bd-search input { overflow: hidden; width: 200px; border: solid 1px silver; background-color: #F5F1E1; font-family: 'verdana'; }
.bd-store-selector .bd-head .bd-search input:focus { background-color: #fff; color: #000; }
.bd-store-selector .bd-head .bd-search a { display: inline-block; float:none; width: 16px; height:16px; margin: 0px 4px; }
.bd-store-selector .bd-head .bd-search a span { display: none; }
.bd-store-selector .bd-head .bd-search a.bd-clear { background: url(/media/images/components/arrow_rotate_clockwise_gray.png) no-repeat; }
.bd-store-selector .bd-head .bd-search a.bd-search { background: url(/media/images/components/zoom_gray.png) no-repeat; }
.bd-store-selector .bd-body .bd-list { list-style-type: none; margin:0px auto; text-align: left; }
.bd-store-selector .bd-body .bd-list .bd-item div { display: block; width: 140px; height: 185px; overflow: auto; }
.bd-store-selector .bd-body .bd-store .bd-list .bd-item, .bd-friends .bd-body .bd-list .bd-item {
	float: left;
	line-height: 1em;
	display: block; margin: 10px;
	vertical-align: top; text-align: center;
}

.bd-friends .bd-body .bd-list .bd-item { width: 97px; height: 120px; font-size: 1.2em; }
.bd-store-selector .bd-body .bd-item img, .bd-friends .bd-body .bd-list .bd-item img {
	max-width: 80px; max-height: 80px; display: block; margin: 0px auto;
	border: solid 2px #D9D9D9; padding: 2px; margin: 2px auto; background-color: #fff;
}

.bd-store-selector .bd-body .bd-item > div > .bd-name, .bd-previews .bd-action > .bd-name { color: #333; font-size: 11px; }
.bd-store-selector .bd-body .bd-item > div > .bd-description, .bd-previews .bd-action > .bd-description {
	font-size: 10px; letter-spacing: 0px; line-height: 1.1em; margin: 0px 0px;
}
.bd-store-selector .bd-body .bd-item .bd-currency { display: block; padding-top: 4px; font-size: 0.9em; }
.bd-store-selector .bd-body .bd-item .bd-currency .bd-name { padding: 5px; font-size: 0.8em; }
.bd-store-selector .bd-body .bd-item:hover img { border: solid 2px #A3CCE3; }
.bd-store-selector .bd-body .bd-item.bd-selected { background-color: #DED9C8; border-color: silver; color: #000; }
.bd-store-selector .bd-body .bd-empty, .bd-store-selector .bd-body .bd-loading { display: block; padding-top: 15px; font-size: 2em; color: #666; }
.bd-store-selector .bd-body .bd-price { display: block; padding: 4px 0px; font-size: 1.2em; }


.bd-gifts .bd-attributes, .bd-gifts .bd-store { overflow: auto; height: 100%; position: absolute; }
.bd-gifts .bd-attributes { border-right: solid 2px #e0e0e0; left: 0px; width: 20%; text-align: left; background-color: #f0f0f0; }
.bd-gifts .bd-attributes a { text-decoration:none; border: solid 1px #f0f0f0; margin:0px; display:block; padding: 4px 6px; font-family: 'Verdana'; font-size: 1em; }
.bd-gifts .bd-attributes ul { list-style-type: none; padding: 0px; margin: 0px; }
.bd-gifts .bd-attributes .bd-list .bd-item { margin: 4px 0px; display: auto; width: 100%; text-align: left; }
.bd-gifts .bd-attributes .bd-selected { cursor: default; }
.bd-gifts .bd-attributes .bd-selected, .bd-gifts .bd-attributes a:hover, .bd-gifts .bd-attributes a {
	border: solid 1px #f0f0f0;
	border-left-width: 0px;
	border-right-width: 0px;
}
.bd-gifts .bd-attributes a.bd-selected, .bd-gifts .bd-attributes a:hover {
	background-color: #fff;
	border-color: #E0E0E0;
	text-decoration: none;
}
.bd-gifts .bd-attributes h4 { margin: 0px; padding: 0px; border-width: 0px; }
.bd-gifts .bd-attributes a.bd-root { border-top:0px; text-align: left; border-bottom: solid 2px #e0e0e0; padding: 2px 6px; }
.bd-gifts .bd-attributes a:hover.bd-root { border-top: 0px; }
.bd-gifts .bd-store { position: absolute; left: 20%; width: 80%; }
.bd-gifts .bd-store > .bd-title { border-bottom: solid 2px #E0E0E0; padding: 2px 6px; font-size: 1.6em; text-align:left;}

.bd-payments .bd-body { padding: 2%; }
.bd-payments .bd-body table { table-layout: fixed; }
.bd-payments .bd-body table td { vertical-align: middle; cursor: pointer; border-left: solid 1px #e0e0e0; margin: 0px 3px; padding: 5px; text-align: center; }
.bd-payments .bd-body table td:first-child { border-left-width: 0px; }
.bd-payments .bd-body table td:hover { background-color: #f0f0f0; }
.bd-payments .bd-body table td a { display:none;  }
.bd-payments .bd-body table td .bd-description { font-size: 1.2em; }

.bd-previews table td { vertical-align: top; text-align:center; width: 150px; }
.bd-previews table td > div { margin: 0px 3px; display: block; background-color: transparent; padding: 0px; }
.bd-previews .bd-action .bd-good { display: block; height: 120px; max-width: 148px; padding: 8px 5px 8px 5px; }
.bd-previews .bd-good img { width: 90%; height: auto; max-height: 120px; display:inline; margin: 0px auto; vertical-align: middle; }
.bd-previews .bd-action > .bd-name, .bd-previews .bd-action > .bd-description { margin: auto; }
.bd-previews .bd-action > .bd-name, .bd-previews .bd-action > .bd-description, .bd-previews .bd-item .bd-currency { background-color: #EDEDED; display:block; }
.bd-previews .bd-action > .bd-name { border-top: solid 2px silver; }
.bd-previews .bd-item .bd-currency {
	-moz-border-radius-bottomleft:0.4em;
	-moz-border-radius-bottomright: 0.4em;
	-webkit-border-bottom-left-radius:0.4em;
	-webkit-border-bottom-right-radius: 0.4em;
	border-bottom-right-radius:0.4em;
	border-bottom-left-radius:0.4em;
	padding: 1px 5px 5px;
	border-top: 0px;
}
.bd-previews .bd-item .bd-action:hover { background-color: #fff; }
.bd-previews .bd-item .bd-action:hover .bd-name, .bd-previews .bd-action:hover > .bd-description { border-top-color: #74A9C6; background-color: #DCECF2; max-height: auto; }
.bd-previews .bd-item .bd-action:hover .bd-currency { background-color: #DCECF2; }

.bd-preview > .bd-body {
	margin-bottom: 5px;
	border: 2px solid transparent;
	background: transparent;
}
.bd-preview .bd-item {
	width: 150px;
	display: inline-block;
	margin: 6px;
	text-align: center;
	min-height: 210px;
	vertical-align: top;
}
.bd-preview .bd-item .bd-title {
	display: block;
}

.bd-preview .bd-item .bd-cost {
	display: block;
}

.bd-preview .bd-item .bd-currency {
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	background-color: transparent;
	display: inline;
}

.bd-preview > .bd-body img { margin: 10px 0px; max-width: 135px; }

.bd-store.bd-confirm { min-width: 40%; max-width: 50%; }
.bd-store.bd-confirm > .bd-head { display: block; }
.bd-store.bd-confirm .bd-head .bd-content { padding: 0px 5px; }

.bd-store.bd-confirm > .bd-body {
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	border-top-width: 0px;
	border-bottom-width: 0px;
	padding-top: 40px;
}

.bd-store.bd-confirm > .bd-foot .bd-buttons { padding: 10px 0px; }
.bd-store.bd-confirm > .bd-foot .bd-buttons > input.bd-action {
	margin: 4px 15px;
	font-size: 22px;
}

.bd-store.bd-confirm .bd-currency.bd-balance {
	display: inline-block;
	text-align: right;
	padding: 3px 14px;
	font-size: 16px;
	background-color: #fff;
	border: 1px solid silver;
}
.bd-store.bd-confirm .bd-currency.bd-balance .bd-name { display: inline; font-size: 16px; }
.bd-store.bd-confirm .bd-currency {
	font-size: 12px;
	margin: 0px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.bd-store.bd-confirm .bd-currency.bd-action > .bd-name { display: none; }

.bd-leaders { display: block; margin-top: 5px; }
.bd-leaders .bd-body { border: solid 1px silver; }
.bd-leaders table { width: 100%; border-spacing: 0px; }
.bd-leaders table thead th { border-bottom: solid 1px #BFC4C9; font-size: 1.2em; font-family: 'Verdana'; font-weight: normal; background-color: #F5F7FA; color: #347BA2; }
.bd-leaders table tr td, .bd-leaders table tr th { text-align: center; }
.bd-leaders table tr th { padding: 8px 8px 4px 8px; }
.bd-leaders table tr td { padding: 6px 8px; font-size: 1.1em; border-top: solid 1px #dedede; }
.bd-leaders table tr td:first-child, .bd-leaders table tr th:first-child { text-align: left; }
.bd-leaders table tr.bd-alt td { background-color: #F5F7FA; }

.bd-offerpal .bd-body, { height: 400px; }
.bd-offerpal.bd-cbanner {
	min-width: 680px;
}
.bd-offerpal.bd-cbanner > .bd-body { min-height: 200px; height: auto; }
.bd-offerpal.bd-cbanner > .bd-body { border-top: 0px; border-bottom: 0px; }
.bd-offerpal.bd-cbanner > .bd-head .bd-title,
.bd-offerpal.bd-cbanner > .bd-body,
.bd-offerpal.bd-cbanner > .bd-foot .bd-content { background-color: #fff; }
.bd-hover-window.bd-message .bd-body > iframe.bd-cbanner { height: 105px; }
.bd-offerpal > .bd-body,
.bd-hover-window > .bd-foot > .bd-content,
.bd-hover-window > .bd-head { border: 0px; }
.bd-offerpal.bd-window.bd-message .bd-body { padding: 0px; }

.bd-offerpal.bd-cbanner > .bd-body .bd-content { padding: 10px 0px 15px; }

