div.item {position: relative; display: inline-block;}
.item .quantity {position: absolute; right: 0px; border: 1px solid #b28dd6; line-height: 11px; border-radius: 0 5px; margin: 1px; padding: 0 2px; background-color: rgba(255,255,255,0.8); font-size: 0.8em; font-weight: bold;}
.item .fortrade, .item .inauction {position: absolute; left: 0px; bottom: 0; border: 1px solid #b28dd6; line-height: 11px; border-radius: 0 5px; margin: 1px; padding: 0 2px; background-color: rgba(255,255,255,0.8); font-size: 0.8em; font-weight: bold;}
.item img {border: 2px solid #b28dd6; border-radius: 5px; width: 50px; height: 50px; padding: 5px; background: #fff;}
.item:hover img, .item:hover .quantity, .item:hover .fortrade {border-color: #8f55c8;}

.item .information .name {font-weight: bold;}
.item .information {position: absolute; border: 2px solid #8f55c8; border-radius: 5px; bottom: 66px; min-width: 150px; white-space: nowrap; background-color: #fff; padding: 4px; display: none; text-align: left; z-index: 100;}
.item:hover .information {display: block;}
#dialog .item .information {display: none;}

.property .attribute {display: inline-block; width: 70px;}
.property .increased {color: #76cc55; text-shadow: 0 1px #4e9332; display: inline;}
.property .decreased {color: #db3a3a; text-shadow: 0 1px #4a4a4a; display: inline;}

.item .information fieldset {border: none !important; border-top: 1px solid #cccccc !important; border-radius: 0 !important; background-color: #fff !important; padding: 0;}
.item .information fieldset legend {color: #aaa;}

img.pny {border: 2px solid #b28dd6; border-radius: 5px; padding: 5px; background: #fff;}
img.pny:hover {border-color: #8f55c8;}


.actions legend {display: none;}
.actions {text-align: center; margin-top: 7px; clear: both;}

/* ----- Item ----- */
#item {width: 400px; display: inline-block; float: left;}
#item.empty {display: none;}

#item .ui-section-body {padding: 0;}

#item fieldset {
	background-color: transparent !important;
	border: 0 none !important;
	border-top: 1px solid #cccccc !important;
	border-radius: 0 !important;
}

#item fieldset.item {border-top: 0 !important; float: left;}
#item fieldset.item img {padding: 10px; border: none; }
#item fieldset.properties {float: left; border-top: 0 !important; border-left: 1px dotted #cccccc !important; height: 80px; font-weight: bold;}

#item fieldset.description {clear: both;}
#item fieldset.requirements {font-weight: bold;}

#item fieldset legend {display: none; color: #aaa;}
#item fieldset.requirements legend {display: inline-block;}
#item fieldset.occupies_slots legend {display: inline-block;}
#item fieldset.wearable_by legend {display: inline-block;}
#item fieldset.price legend {display: inline-block;}

#item fieldset.occupies_slots {font-weight: bold;}
#item .wearable_by li {display: inline-block; margin: 1px;}
#item .wearable_by li img {
	background: #ffffff;
	border-radius: 5px;
	border: 2px solid #cccccc;
	padding: 2px;
}
#item fieldset.actions {text-align: center;}

/* ----- Main ----- */
#src_main #sub_welcome #welcome img {width: 680px; border-radius: 3px;}
#src_main #sub_welcome #welcome {width: 704px; display: inline-block; float: left;}
#src_main #sub_welcome #welcome .ui-section-body {padding: 3px;}

#src_main #sub_welcome #welcome .glow {width: 0; height: 0; position: relative;}
#src_main #sub_welcome #welcome .contest .exec a {border: 0px solid; width: 300px; height: 200px; top: 20px; left: 20px; position: absolute;}
#src_main #sub_welcome #welcome .breeding .exec a {border: 0px solid #f00; width: 300px; height: 240px; top: 230px; left: 20px; position: absolute;}
#src_main #sub_welcome #welcome .community .exec a {border: 0px solid #0F0; width: 300px; height: 200px; top: 20px; left: 330px; position: absolute;}
#src_main #sub_welcome #welcome .dressup .exec a {border: 0px solid #00F; width: 320px; height: 260px; top: 230px; left: 330px; position: absolute;}

#src_main #sub_welcome #tour.empty {display: none;}
#src_main #sub_welcome #tour fieldset {text-align: center; clear: both;}
#src_main #sub_welcome #tour legend {display: none;}
#src_main #sub_welcome #tour .image {float: right; margin: 10px;}
#src_main #sub_welcome #tour .text p {padding: 10px; font-size: 1.2em;}
#src_main #sub_welcome #tour .text p::first-letter {font-size: 1.4em; line-height: 1.2em;}
#src_main #sub_welcome #tour {
    display: block;
    width: auto;
	position: absolute;
    z-index: 100;
	left: 100px;
	right: 100px;
	top: 100px;
	box-shadow: 0 0 10px 1px #000;
}

#src_main #sub_welcome #news {width: 205px; display: inline-block; float: right;}
#src_main #sub_welcome #news ul {height: 215px; overflow-y: scroll;}
#src_main #sub_welcome #news li {border-bottom: 1px solid #aaa;}
#src_main #sub_welcome #news .age {font-size: 0.9em;}
#src_main #sub_welcome #news .topic {font-size: 0.9em;}

#src_main #sub_welcome img {border: none; padding: 0;}

#src_main #sub_welcome #potw {width: 205px; display: inline-block; float: right;}

#src_main #sub_welcome #newborns {width: 704px; display: inline-block;}
#src_main #sub_welcome #newborns ul {text-align: center; white-space: nowrap;}
#src_main #sub_welcome #newborns li {display: inline-block; margin: 2px;}

#src_main #sub_welcome #pony_market,
#src_main #sub_welcome #random {width: 205px; display: inline-block; float: right;}

#src_main #sub_signup #signup {width: 400px;}
#src_main #sub_signup #signup .chk {display: block;}
#src_main #sub_signup .ui-section p {font-size: 1.2em; margin: 10px 5px;}
#src_main #sub_signup #main_content
{
	background-image: url('ponies/PIBanner.jpg');
	background-repeat: no-repeat;
	background-position: right center;
}

#src_main #sub_potw #main_content
{
	padding-top: 210px;
	background-image: url('ponies/HallOfFame.jpg');
	background-repeat: no-repeat;
	background-position: center 20px;
}

#src_main #sub_potw .ui-section-body {text-align: center;}
#src_main #sub_potw .ui-section img {border: none;}
#src_main #sub_potw .ui-section .information {display: inline-block; width: 450px; vertical-align: middle; text-align: center; padding: 10px;}
#src_main #sub_potw .ui-section .information .when {font-weight: bold; font-size: 1.1em;}
#src_main #sub_potw .ui-section .information .motivation {border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;}

#src_main #sub_hogc #main_content
{
	padding-top: 210px;
	background-image: url('ponies/HallOfGrandChampions.jpg');
	background-repeat: no-repeat;
	background-position: center 20px;
}

#src_main #sub_hogc .ui-section-body {text-align: center;}
#src_main #sub_hogc .ui-section img {border: none;}
#src_main #sub_hogc .ui-section .information {display: inline-block; width: 430px; vertical-align: middle; text-align: center; padding: 10px;}
#src_main #sub_hogc .ui-section table {width: 100%;}
#src_main #sub_hogc .ui-section table td {padding: 2px 10px;}
#src_main #sub_hogc .ui-section table .c0 {text-align: right; font-weight: bold; width: 50%;}
#src_main #sub_hogc .ui-section table .c1 {text-align: left;}

#src_main #sub_newborns #newborns ul {text-align: center;}
#src_main #sub_newborns #newborns li {display: inline-block;}
#src_main #sub_newborns #newborns li img {border: none;}

#src_main #advent_calendar .ui-section-body {padding: 1px; position: relative;}
#src_main #advent_calendar img.calendar {border-radius: 3px;}

#src_main #advent_calendar ul {position: absolute; top: 0; margin: 35px; width: 900px;}
#src_main #advent_calendar ul li {display: inline-block; margin: 33px; height: 100px; width: 100px;}

#src_main #advent_calendar ul li img,
#src_main #advent_calendar ul li .exec a {display: block; text-align: center; line-height: 95px;}
#src_main #advent_calendar ul li .exec a {border: 2px dotted #666; border-radius: 5px; text-decoration: none; color: #D00; font-weight: bold; font-size: 1.5em; text-shadow: 0 0 2px #fff;}
#src_main #advent_calendar ul li .exec a:hover {border-color: #A00;}

#src_main #advent_calendar .past ul li img {display: none;}
#src_main #advent_calendar .past ul li:hover img {display: block;}
#src_main #advent_calendar .past ul li:hover .exec a {display: none;}


/* ----- User ----- */
#src_user #sub_presentation #overview h3 {display: none;}

#src_user #sub_presentation #overview fieldset.avatar img {width: 110px; height: 110px; border-radius: 5px;}
#src_user #sub_presentation #overview fieldset.avatar {float: left; margin-right: 5px; padding: 0; border: 0 !important; background: none !important;}
#src_user #sub_presentation #overview .avatar legend {display: none;}

#src_user #sub_presentation #overview .overview {background: none !important; border: none !important; }
#src_user #sub_presentation #overview .overview legend {display: none;}
#src_user #sub_presentation #overview .overview ul {text-align: center;}
#src_user #sub_presentation #overview .overview li {display: inline-block; margin: 0 20px; text-align: center; white-space: nowrap;}
#src_user #sub_presentation #overview .overview li .attr {color: #8a8a8a; font-size: 1em;}
#src_user #sub_presentation #overview .overview li .value {font-size: 1.7em; line-height: 35px; font-weight: bold;}
#src_user #sub_presentation #overview .overview .value {color: #9a9a9a; font-weight: bold; text-shadow: 0 1px #4a4a4a;}

#src_user #sub_presentation #overview .actions legend {display: none;}
#src_user #sub_presentation #overview .actions {text-align: center;}

#src_user #sub_presentation #presentation h3 {display: none;}
#src_user #sub_presentation #presentation .ui-section-body {font-size: 1.2em;}

#src_user #sub_presentation #presentation legend {display: none;}
#src_user #sub_presentation #presentation fieldset .parsed {max-height: 400px; overflow: auto;}
#src_user #sub_presentation #presentation fieldset textarea {max-height: 400px;}
#src_user #sub_presentation #presentation fieldset {border: none !important; background: none !important; margin: 0; padding: 0;}

#src_user #sub_presentation #island {clear: both;}
#src_user #sub_presentation #island h3 {display: none;}
#src_user #sub_presentation #island .ui-section-body {padding: 1px;}
#src_user #sub_presentation #island img.island {border-radius: 3px;}

#src_user #sub_presentation #associations ul {text-align: center;}
#src_user #sub_presentation #associations li {display: inline-block;}

#dialog .stack_items li {display: inline-block;}
#dialog .stack_items .tgl span {padding: 3px;}

#src_user #sub_inventory li input {display: none;}

#src_user #sub_inventory #forge {width: 400px; float: right;}
#src_user #sub_inventory #forge .items ul {width: 100%; height: 200px;}
#src_user #sub_inventory #forge .input {float: left; margin-right: 5px; height: 165px;}
#src_user #sub_inventory #forge .output {height: 165px;}
#src_user #sub_inventory #forge li {display: inline-block;}
#src_user #sub_inventory #forge li .item {margin: 2px;}

#src_user #sub_inventory #inventory {clear: both;}
#src_user #sub_inventory #inventory h3 {display: none;}

#src_user #sub_inventory #inventory .ui-tabs-nav {padding-right: 200px !important;}
#src_user #sub_inventory #inventory .filter {width: 200px; border: none !important; background: none !important; position: absolute; right: 5px; top: 4px; z-index: 10;}
#src_user #sub_inventory #inventory .filter legend {display: none;}
#src_user #sub_inventory #inventory, #src_user #sub_inventory #inventory .ui-section-body {background: none; border: 0; margin: 0; padding: 0;}

#src_user #sub_inventory #inventory ul {text-align: center;}
#src_user #sub_inventory #inventory li {display: inline-block;}
#src_user #sub_inventory #inventory li .item {margin: 2px;}

#src_user #sub_upgrades #general .ui-section-body {text-align: center;}
#src_user #sub_upgrades #general fieldset {width: 24%; display: inline-block; margin: 0 2px; text-align: center;}
#src_user #sub_upgrades #general fieldset span {background:  url('/upgrades/stable.png') center no-repeat; width: 140px; line-height: 120px; color:#fff; text-shadow: 1px 1px 1px #000; font-size: 2em; padding: 0; white-space: nowrap;}
#src_user #sub_upgrades #general .arena_size span {background-image:  url('/upgrades/arena.png');}
#src_user #sub_upgrades #general .inventory_boxes span {background-image:  url('/upgrades/inventory.png');}
#src_user #sub_upgrades #general .feeding_costs span {background-image:  url('/upgrades/feeding.png');}
#src_user #sub_upgrades #general .vetting_costs span {background-image:  url('/upgrades/vetting.png');}

#src_user #sub_upgrades #breeds {float: left; width: auto;}
#src_user #sub_upgrades #breeds fieldset {width: 90px; display: inline-block; vertical-align: top; text-align: center; margin: 0 5px;}
#src_user #sub_upgrades #breeds li {display: inline-block; width: 50px; height: 50px; border: 2px solid #b28dd6; border-radius: 5px; margin: 5px; background-color: #fff;}
#src_user #sub_upgrades #breeds li:hover {border-color: #8f55c8;}

#src_user #sub_upgrades #genes {float: right; width: auto;}
#src_user #sub_upgrades #genes fieldset {width: 90px; display: inline-block; vertical-align: top; text-align: center; margin: 0 5px;}
#src_user #sub_upgrades #genes li {display: inline-block; width: 50px; height: 50px; border: 2px solid #b28dd6; border-radius: 5px; margin: 5px; background-color: #fff;}
#src_user #sub_upgrades #genes li:hover {border-color: #8f55c8;}

#src_user #sub_island #island .select {float: right;}
#src_user #sub_island #island .select ul {height: 333px; overflow-y: scroll;}
#src_user #sub_island #island .select li {margin: 5px 0; position: relative;}
#src_user #sub_island #island .select li p {position: absolute; background-color: rgba(255,255,255,0.5); display: block; width: 100%;  font-size: 1.5em; font-weight: bold; text-align: center; vertical-align: middle; top: 50px;}
#src_user #sub_island #island .current {float: left;}

#src_user #sub_island #buildings .style {float: right; margin-left: 10px;}
#src_user #sub_island #buildings .style ul {height: 325px; overflow-y: scroll;}
#src_user #sub_island #buildings .style li {margin: 10px; position: relative;}
#src_user #sub_island #buildings .style li p {position: absolute; background-color: rgba(255,255,255,0.5); display: block; width: 100%; font-size: 1.5em; font-weight: bold; text-align: center; vertical-align: middle; top: 80px;}
#src_user #sub_island #buildings .colors .ui-input {margin:0 9px; display: inline-block; vertical-align: middle;}
#src_user #sub_island #buildings .current {float: left; margin-right: 10px;}
#src_user #sub_island #buildings .actions {clear: both;}

/* ----- Profile ----- */
#src_profile #sub_profile #information {float: left; width: 650px;}
#src_profile #sub_profile #avatar {float: right; width: 230px; text-align: center;}
#src_profile #sub_profile #avatar .avatar legend {display: none;}
#src_profile #sub_profile #preferences {clear: both;}
#src_profile #sub_profile #forum_signature {clear: both;}

#src_profile #sub_profile #theme .clr {display: inline-block; margin: 0 5px;}
#src_profile #sub_profile #theme .main, #src_profile #sub_profile #theme .section, #src_profile #sub_profile #theme fieldset.input, #src_profile #sub_profile #theme .text {float: left; margin-right: 4px;}
#src_profile #sub_profile #theme .config {clear: both;}

#src_profile #sub_payments .bonuses li {display: inline-block; border: 2px solid #b28dd6; border-radius: 5px; width: 100px; height: 100px; padding: 5px; background: #fff; margin: 5px; position: relative;}
#src_profile #sub_payments .bonuses li .count {font-size: 2em; position: absolute; text-align: center; left: 0; right: 0; top: 40px; color: #fff; text-shadow: 1px 1px 1px #000;}

#src_profile #sub_referrals #clicky .clr {display: inline-block; margin: 0 5px;}
#src_profile #sub_referrals #clicky .clicky {text-align: center;}
#src_profile #sub_referrals #clicky .forum_code,
#src_profile #sub_referrals #clicky .html {float: right; width: 400px; clear: right; margin-left: 5px;}
#src_profile #sub_referrals #clicky textarea {height: 200px;}
#src_profile #sub_referrals #clicky .border .ui-input {float: left;}
#src_profile #sub_referrals #clicky .actions {clear: both;}

#src_profile #sub_referrals #referred_users .avatar {margin: 2px 10px 2px 0;}

/* ----- Ponies ----- */
#src_ponies .ui-sortable-helper {box-shadow: 0 0 10px 1px #000;}

#src_ponies .status-icons {position: absolute; top: 0; left: 4px; right: 4px;}
#src_ponies .status-icons img {margin: 2px;}
#src_ponies .status-icons .left {float: left;}
#src_ponies .status-icons .right {float: right;}

#src_ponies #sub_stables #limbo li,
#src_ponies #sub_stables #stables .ui-tabs-panel li,
#src_ponies #sub_nursery #newborns li {
	display: inline-block;
	margin: 2px;
	position: relative;
	border: 2px solid #B28DD6;
    background: #E1C4FD url(lib/jquery-ui/images/glass.png) 50% -7px repeat-x;
	border-radius: 10px;
	padding: 20px 3px;
}

#src_ponies #sub_stables #limbo li:hover,
#src_ponies #sub_stables #stables .ui-tabs-panel li:hover,
#src_ponies #sub_nursery #newborns li:hover {border-color: #8f55c8;}

#src_ponies #sub_stables #limbo img.pny,
#src_ponies #sub_stables #stables img.pny,
#src_ponies #sub_nursery #newborns img.pny {border: 2px solid #D7B1FD}

#src_ponies #sub_stables #limbo li a.pny,
#src_ponies #sub_stables #stables .ui-tabs-panel li a.pny,
#src_ponies #sub_nursery #newborns li a.pny {position: absolute; bottom: 0; left: 0; right: 0; overflow: hidden; white-space: nowrap;}

#src_ponies #sub_stables #limbo ul,
#src_ponies #sub_stables #stables .ui-tabs-panel ul,
#src_ponies #sub_nursery #newborns ul {clear: both; text-align: center; margin: 0; padding: 0;}

#src_ponies #sub_stables #stables .ui-tabs-panel ul {min-height: 300px;}
#src_ponies #sub_stables #stables .actions {position: absolute; left: 300px; right: 300px; top: 250px; text-align: center; z-index: 100;}
#src_ponies #sub_stables #stables .actions legend {display: none;}

#src_ponies #sub_stables #stables h3 {display: none;}
#src_ponies #sub_stables #stables {background: none; border: 0;}

#src_ponies #sub_stables #stables .ui-section-body,
#src_ponies #sub_stables .ui-tabs, #src_ponies #sub_stables .ui-tabs-nav {background: none; border: 0; margin: 0; padding: 0;}
#src_ponies #sub_stables .ui-tabs-panel {margin: 0; border-top-right-radius: 0 !important;}

#src_ponies #sub_stables .ui-tabs-nav li {position: relative;}
#src_ponies #sub_stables .ui-tabs-nav li input {position: absolute; top: 5px; left: 5px; width: 30px; height: 30px; border-radius: 100%; text-align: center; font-weight: bold;}
#src_ponies #sub_stables .ui-tabs-nav li input[name='Total'] {display: none;}

#src_ponies #sub_stables .ui-tabs-nav li:nth-child(2n) {float: right; margin-right: 0;}

#src_ponies #sub_nursery #pregnancies {width: 400px; }
#src_ponies #sub_nursery #pregnancies .ui-section-body {height: 300px; overflow: auto;}
#src_ponies #sub_nursery #pregnancies table {width: 100%;}
#src_ponies #sub_nursery #pregnancies table img.pny {border: 0;}
#src_ponies #sub_nursery #pregnancies table .c1,
#src_ponies #sub_nursery #pregnancies table .c2 {padding: 0 10px;}

#src_ponies #sub_nursery #main_content
{
	background-image: url('ponies/breeding.png');
	background-repeat: no-repeat;
	background-position: 90% 20px;
}

/***********************/
/* ----- Profile ----- */
/***********************/
#src_ponies #sub_profile #pony {
	background: transparent !important;
	border: 0 none !important;
	float: right;
	margin-top: 40px;
	text-align: center;
	width: 500px;
}

#src_ponies #sub_profile #pony h3 {display: none;}
#src_ponies #sub_profile #pony .ui-section-body {border: 0 none !important;	margin: 0; padding: 0;}
#src_ponies #sub_profile #pony img.pny {border: none; padding: 0;}

#src_ponies #sub_profile #profile {float: left;	width: 400px;}
#src_ponies #sub_profile #profile .ui-section-body {padding: 0;}
#src_ponies #sub_profile #profile legend {display: none;}

#src_ponies #sub_profile #profile fieldset {
	background-color: #ffffff !important;
	border: 0 none !important;
    border-radius: 0 !important;
	border-bottom: 1px solid #cccccc !important;
}

#src_ponies #sub_profile #profile .ui-section-body {padding-top: 45px;}
#src_ponies #sub_profile #profile .ui-section-prev,
#src_ponies #sub_profile #profile .ui-section-next {margin: 13px 5px;}

#src_ponies #sub_profile #profile h3 {position: absolute; left: 0; right: 0; background: none; border-radius: 5px}

#src_ponies #sub_profile #profile h3 p {
	border-radius: 10px !important;
	border: 0 none !important;
	color: #ffffff !important;
    font-size: 1.2em;
    font-weight: bold;
	height: 40px;
	line-height: 40px;
    margin: 5px 2px 2px 2px;
	padding: 0;
	text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

#src_ponies #sub_profile #profile h3 p.male {
	background: linear-gradient(#3f89d5, #256cb5) !important;
	box-shadow: 0 2px #20568d;
	text-shadow: 0 1px #20568d;
}

#src_ponies #sub_profile #profile h3 p.female {
	background: linear-gradient(#de4787, #b52562) !important;
	box-shadow: 0 2px #8d194a;
	text-shadow: 0 1px #8d194a;
}


#src_ponies #sub_profile #profile .icons {text-align: center;}
#src_ponies #sub_profile #profile .icons li {display: inline-block;	margin: 0 2px;}
#src_ponies #sub_profile #profile .icons img {
	background: #ffffff;
	border-radius: 5px;
	border: 2px solid #cccccc;
	padding: 2px;
}


#src_ponies #sub_profile #profile .status .ui-progressbar {border-radius: 8px; height: 15px; margin: 5px;}

#src_ponies #sub_profile #profile .status .food.ui-progressbar {background: #c2a12f; border: 2px solid #c2a12f;}
#src_ponies #sub_profile #profile .status .food .ui-progressbar-value {background-color: #fad554; min-width: 15px;}
#src_ponies #sub_profile #profile .status .food .ui-progressbar-title {color: #ffffff; text-shadow: 0 1px #c2a12f;}

#src_ponies #sub_profile #profile .status .mood.ui-progressbar {background: #7939b9; border: 2px solid #7939b9;}
#src_ponies #sub_profile #profile .status .mood .ui-progressbar-value {background-color: #a954ff; min-width: 15px;}
#src_ponies #sub_profile #profile .status .mood .ui-progressbar-title {color: #ffffff; text-shadow: 0 1px #7939b9;}

#src_ponies #sub_profile #profile .status .health.ui-progressbar {background: #3575b7; border: 2px solid #3575b7;}
#src_ponies #sub_profile #profile .status .health .ui-progressbar-value {background-color: #55a2f1;	min-width: 15px;}
#src_ponies #sub_profile #profile .status .health .ui-progressbar-title {color: #ffffff; text-shadow: 0 1px #55a2f1;}

#src_ponies #sub_profile #profile .status .ui-progressbar-title {
	background-color: transparent;
	border: 0 none;
	font-size: 0.9em;
	height: 13px;
	line-height: 13px;
	padding: 0;
	top: -2px;
}

#src_ponies #sub_profile #profile .level {padding: 10px 0;}
#src_ponies #sub_profile #profile .level .level {border: 0 none !important; float: left; margin: 0;	padding: 0;	width: 88px;}
#src_ponies #sub_profile #profile .level .attr {color: #8a8a8a;	display: inline-block; font-size: 1em; text-align: center; width: 88px;}
#src_ponies #sub_profile #profile .level .value {
    color: #8a8a8a;
	display: inline-block;
	font-size: 2.3em;
	font-weight: bold;
	text-shadow: 0 1px #4a4a4a;
	text-align: center;
	width: 88px;
}

#src_ponies #sub_profile #profile .level .experience {
	display: block;
	float: left;
    height: 60px;
	width: 267px;
}

#src_ponies #sub_profile #profile .level .experience .attr {width: 100%;}
#src_ponies #sub_profile #profile .level .experience .progress {margin-top: 10px;}
#src_ponies #sub_profile #profile .level .experience .ui-progressbar {
	background: #3575b7;
	border: 2px solid #3575b7;
	border-radius: 8px;
	height: 15px;
}

#src_ponies #sub_profile #profile .level .experience .ui-progressbar-value {background-color: #55a2f1; min-width: 15px;}
#src_ponies #sub_profile #profile .level .experience .ui-progressbar .ui-progressbar-title {
    background-color: transparent;
	border: 0 none;
	color: #dde9f5;
	font-size: 0.9em;
	height: 13px;
	line-height: 13px;
	padding: 0;
	text-shadow: 0 1px #3575b7;
	top: -2px;
}

#src_ponies #sub_profile #profile .level .maxed {text-align: center;}
#src_ponies #sub_profile #profile .level .maxed li {display: inline;}

#src_ponies #sub_profile #profile .skills {padding: 10px 0; text-align: center;}

#src_ponies #sub_profile #profile .skills li {display: inline-block; margin: 0; text-align: center;	width: 88px;}
#src_ponies #sub_profile #profile .skills li .attr {color: #8a8a8a; font-size: 1em;}
#src_ponies #sub_profile #profile .skills li .value {font-size: 1.7em; line-height: 30px; font-weight: bold;}
#src_ponies #sub_profile #profile .skills li .details {
	color: #6a6a6a;
	cursor: default;
	display: none;
	font-size: 1em;
	font-weight: bold;
	width: 88px;
}

#src_ponies #sub_profile #profile .skills li .details p {line-height: 30px; white-space: nowrap; display: inline-block;}
#src_ponies #sub_profile #profile .skills li:hover .details {display: inline-block;}
#src_ponies #sub_profile #profile .skills li:hover .value {display: none;}

#src_ponies #sub_profile #profile .value {
	color: #9a9a9a;
	font-weight: bold;
	text-shadow: 0 1px #4a4a4a;
}

#src_ponies #sub_profile #profile .increased {color: #76cc55; display: inline-block; text-shadow: 0 1px #4e9332; }
#src_ponies #sub_profile #profile .decreased {color: #db3a3a;}


#src_ponies #sub_profile #profile .colors {padding: 0;}
#src_ponies #sub_profile #profile .colors tr {border: none;}
#src_ponies #sub_profile #profile .colors td {padding: 10px 0; border: none;}
#src_ponies #sub_profile #profile .colors td.c0 {
	color: #8a8a8a;
	padding-right: 20px;
	text-align: right;
	width: 68px;
}

#src_ponies #sub_profile #profile .colors td.c1 {width: 90px;}
#src_ponies #sub_profile #profile .colors var {
	color: #6a6a6a;
	line-height: 20px;
	display: inline-block;
	width: 110px;
}

#src_ponies #sub_profile #profile .colors var b
{
	border-radius: 5px;
    display: inline-block;
    height:16px;
	line-height: 16px;
    margin-right: 5px;
	width: 16px;
    border: 2px solid #cccccc;
}

#src_ponies #sub_profile #profile .actions {
    border-bottom: 0 none !important;
    border-radius: 0 0 5px 5px !important;
    text-align: center;
}


#src_ponies #sub_profile .overview {background: none !important; border: none !important; }
#src_ponies #sub_profile .overview legend {display: none;}
#src_ponies #sub_profile .overview ul {text-align: center;}
#src_ponies #sub_profile .overview li {display: inline-block; margin: 0 20px; text-align: center; white-space: nowrap;}
#src_ponies #sub_profile .overview li .attr {color: #8a8a8a; font-size: 1em;}
#src_ponies #sub_profile .overview li .value {font-size: 1.7em; line-height: 30px; font-weight: bold;}
#src_ponies #sub_profile .overview .value {color: #9a9a9a; font-weight: bold; text-shadow: 0 1px #4a4a4a;}

#src_ponies #sub_profile .ui-tabs {clear: both;}
#src_ponies #sub_profile #overview li {display: inline-block;}
#src_ponies #sub_profile #overview .presentation legend {display: none;}
#src_ponies #sub_profile #overview .presentation {margin-top: 5px; clear: both;}
#src_ponies #sub_profile #overview .level_up {text-align: center; clear: both;}
#src_ponies #sub_profile #overview .max_out {text-align: center; clear: both;}
#src_ponies #sub_profile #overview .max_out li {margin: 2px;}
#src_ponies #sub_profile #overview .quest {float: left; width: 49%; text-align: center;}
#src_ponies #sub_profile #overview .pregnant {float: right; width: 49%; text-align: center;}
#src_ponies #sub_profile #overview .former_owners {clear: both;}
#src_ponies #sub_profile #overview .former_owners li {margin: 1px 1px 0 0;}
#src_ponies #sub_profile #overview .favorite {clear: both;}
#src_ponies #sub_profile #overview .favorite li {margin: 1px 1px 0 0;}
#src_ponies #sub_profile #overview .favorite .tgl {float: right; margin: 10px;}

#src_ponies #sub_profile #breeding .actions {width: 100%;}
#src_ponies #sub_profile #breeding .actions legend {display: none;}
#src_ponies #sub_profile #breeding li {display: inline-block;  margin: 2px;}
#src_ponies #sub_profile #breeding fieldset {width: 49.5%; text-align: center; box-sizing: border-box; display: inline-block; vertical-align: top; margin:0 1px;}

#src_ponies #sub_profile #test_breeding .possible_outcome {margin-left: 5px; float: right; height: 438px; width: 370px; }
#src_ponies #sub_profile #test_breeding .rdo span,
#src_ponies #sub_profile #test_breeding .tgl span {padding: 3px; line-height: 30px;}

#src_ponies #sub_profile #pedigree img.pny {border: none; margin: 1px;}
#src_ponies #sub_profile #pedigree li {display: inline-block;}
#src_ponies #sub_profile #pedigree ul {text-align: center;}
#src_ponies #sub_profile #pedigree fieldset {text-align: center;}
#src_ponies #sub_profile #pedigree .daughters, #src_ponies #sub_profile #pedigree .sons {display: inline-block; width: 49.5%;}
#src_ponies #sub_profile #pedigree .daughters ul, #src_ponies #sub_profile #pedigree .sons ul {max-height: 300px; overflow: auto;}
#src_ponies #sub_profile #pedigree .sons {float: right;}
#src_ponies #sub_profile #pedigree .ancestors {clear: both;}
#src_ponies #sub_profile #pedigree .ancestors table {width: 100%; text-align: center;}
#src_ponies #sub_profile #pedigree .ancestors table td {width: 12.5%;}

#src_ponies #sub_profile #tattoo .config {display: none;}
#src_ponies #sub_profile #tattoo .tattoo_spot {border: 1px solid #aaa; position: relative; overflow: hidden; margin: auto;}
#src_ponies #sub_profile #tattoo .tattoo_spot > img {position: absolute; margin: 0px; top: 0px; left: 0px;}
#src_ponies #sub_profile #tattoo .tattoo {border: 1px solid #aaa; position: absolute; top: 0px; left: 0px; float: left;}

#src_ponies #sub_profile #inventory .wearing {position: absolute; top: -150px; left: 400px; width: 500px; height: 80px; text-align: center;}
/*#src_ponies #sub_profile #inventory .wearing {position: absolute; top: -150px; left: 435px; width: 400px; height: 80px; text-align: center;}*/
#src_ponies #sub_profile #inventory .wearing > legend {display: none;}
#src_ponies #sub_profile #inventory ul {text-align: center;}
#src_ponies #sub_profile #inventory li {display: inline-block;}
#src_ponies #sub_profile #inventory li .item {margin: 2px;}

#src_ponies #sub_profile #contests table {width: 100%; table-layout: fixed;}
#src_ponies #sub_profile #contests table button span {padding: 2px 5px; font-size: 0.8em;}
#src_ponies #sub_profile #contests table td {white-space: nowrap; overflow: hidden;}
#src_ponies #sub_profile #contests table .c0 {width: 100px;}
#src_ponies #sub_profile #contests table .c2 {width: 90px;}
#src_ponies #sub_profile #contests table .c3 {width: 70px;}
#src_ponies #sub_profile #contests .upcoming {display: inline-block; width: 49%; min-height: 250px; overflow: auto;}
#src_ponies #sub_profile #contests .past {display: inline-block; width: 49%; float: right; min-height: 250px;}
#src_ponies #sub_profile #contests .prizes {clear: both;}
#src_ponies #sub_profile #contests .prizes ul {text-align: center;}
#src_ponies #sub_profile #contests .prizes li {display: inline-block; margin: 1px;}

#src_ponies #sub_quests .ui-section-foot {display: block;}
#src_ponies #sub_quests .filter legend {display: none;}
#src_ponies #sub_quests .filter {text-align: center; margin-bottom: 4px;}
#src_ponies #sub_quests td {padding: 5px 10px;}
#src_ponies #sub_quests td.c0 {width: 60px;}
#src_ponies #sub_quests td.c2 { width: 15%; text-align: center; }
#src_ponies #sub_quests td.c3 { width: 15%; text-align: center; }
#src_ponies #sub_quests td.c4 { width: 15%; text-align: center; }

#src_ponies #sub_generator #bonuses ul {text-align: center;}
#src_ponies #sub_generator #bonuses li {display: inline-block;}
#src_ponies #sub_generator #bonuses a {display: inline-block; border: 2px solid #b28dd6; border-radius: 5px; width: 100px; height: 100px; padding: 5px; background: #fff; margin: 5px; position: relative;}
#src_ponies #sub_generator #bonuses a.active, #src_ponies #sub_generator #bonuses a:hover {border-color: #8f55c8; background: #ffa;}
#src_ponies #sub_generator #bonuses a .count {font-size: 2em; position: absolute; text-align: center; left: 0; right: 0; top: 40px; color: #fff; text-shadow: 1px 1px 1px #000;}

#src_ponies #sub_generator #breeds { text-align: center; }
#src_ponies #sub_generator #breeds .name {font-weight: bold;}
#src_ponies #sub_generator #breeds td {padding: 0;}
#src_ponies #sub_generator #breeds td.c1 {padding: 0 20px;}

#src_ponies #sub_generator #generator li {display: inline-block;}
#src_ponies #sub_generator #generator fieldset.breed {float: left;  border: none !important; background: none !important; padding: 20px;}
#src_ponies #sub_generator #generator .breed legend {display: none;}
#src_ponies #sub_generator #generator .colors fieldset {display: inline-block; margin-right: 10px; padding-right: 20px !important; vertical-align: top;}
#src_ponies #sub_generator #generator .colors .clr {display: inline-block; margin: 0 2px;}
#src_ponies #sub_generator #generator .first_gene {display: inline-block; width: 49%; float: left;}
#src_ponies #sub_generator #generator .second_gene {display: inline-block; width: 49%; float: right;}
#src_ponies #sub_generator #generator .first_gene .rdo span {padding: 2px;}
#src_ponies #sub_generator #generator .second_gene .rdo span {padding: 2px;}
#src_ponies #sub_generator #generator .actions {clear: both;}

#src_ponies #sub_generator #generator .colors fieldset,
#src_ponies #sub_generator #generator .first_gene fieldset,
#src_ponies #sub_generator #generator .second_gene fieldset {border-width: 0 !important; border-top-width: 2px !important; border-radius: 0 !important; padding: 3px;}

/* ----- Community ----- */
#dialog .topic_type .rdo span {padding: 3px;}

#sub_forums .pages.top {border-top-width: 2px;}
#sub_forums .pages.bottom {border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;}

#sub_forums .ui-section .c0 {width: 50px; padding: 0;}
#sub_forums .ui-section .c2 {width: 120px;}
#sub_forums .ui-section .c3 {width: 50px; vertical-align: middle;}

#sub_forums #location h3 {display: none;}
#sub_forums #location p {font-size: 1.5em; float: left; width: 700px;}
#sub_forums #location .action legend {display: none;}
#sub_forums #location .action {float: right; border: none !important; background: none !important; margin: 0; padding: 0;}
#sub_forums #location .action .btn {margin: 0; font-size: 0.9em;}

#sub_forums #new_topic,
#sub_forums #new_poll,
#sub_forums #new_reply {position: absolute; z-index: 100; left: 20px; right: 20px; top: 90px; box-shadow: 0 0 10px 1px #000; width: auto;}

#sub_forums #topics h3 {display: none;}
#sub_forums #topics, #sub_forums #topics .ui-section-body {border: none; background: none; margin: 0; padding: 0; width: auto; display: block;}
#sub_forums #topics legend {display: none;}
#sub_forums #topics .topics {padding: 0; margin: 0; border: 0 !important; background: none !important;}

#sub_forums #topics .ui-input.txt {float: right; width: 150px;}
#sub_forums #topics .ui-input.txt input {padding: 2px 5px;}

#sub_forums #topics {margin: 0 -10px 0;}

#sub_forums #topics td {padding: 0 5px; height: 40px;}
#sub_forums #topics .c0 {width: 40px; text-align: center;}
#sub_forums #topics .c1 > a {margin-right: 10px;}
#sub_forums #topics .c2 {width: 60px;  text-align: center;}
#sub_forums #topics .c3 {width: 15%; text-align: center;}
#sub_forums #topics .c4 {width: 15%; text-align: center;}
#sub_forums #topics .qpages {display: inline-block;}

#sub_forums #replies .actions {text-align: center; margin: 0 2px;}

#sub_forums #replies h3 {display: none;}
#sub_forums #replies, #sub_forums #replies .ui-section-body {border: none; background: none; margin: 0; padding: 0; width: auto; display: block;}
#sub_forums #replies legend {display: none;}
#sub_forums #replies .replies {padding: 0; margin: 0; border: 0 !important; background: none !important; clear: both;}

#sub_forums #replies {margin: 0 -10px 0;}

#sub_forums #replies table {border-collapse: separate; border-spacing: 0 3px; table-layout: fixed;}
#sub_forums #replies table td {border-bottom: 1px solid #aaaaaa;  border-top: 1px solid #aaaaaa; padding: 0; overflow: hidden;}

#sub_forums #replies td {vertical-align: top;}
#sub_forums #replies .c0 {padding: 5px; width: 70px;}
#sub_forums #replies div.poster {float: left; background: #eee; padding: 1px 5px;}
#sub_forums #replies div.age {text-align: right; background: #eee; padding: 1px 5px;}
#sub_forums #replies div.reply {clear: both; min-height: 80px; border-top: 1px solid #aaa; padding: 5px;}
#sub_forums #replies div.reply li {border-bottom: 1px solid #aaa;}
#sub_forums #replies div.reply li .age{float: right;}
#sub_forums #replies div.signature {border-top: 1px solid #aaa; height: 50px; padding: 5px 0; overflow: hidden; background: #eee;}
#sub_forums #replies .c0 button {font-size: 0.7em; width: 70px;}

#sub_forums #poll .c0 {width: 50%; text-align: right;}
#sub_forums #poll td {padding: 2px; vertical-align: middle;}

/* ------ Associations ------ */
#sub_associations table td {vertical-align: top;}
#sub_associations table .c0 {width: 110px; vertical-align: middle;}
#sub_associations table .name {float: left;}
#sub_associations table .members {float: right;}
#sub_associations table .description {height: 100px; overflow: auto; clear: both;}

#src_association #sub_create #main_content
{
	background-image: url('/tour/community.png');
	background-repeat: no-repeat;
	background-position: 95% center;
}

#src_association #sub_create #information {width: 450px;}
#src_association #sub_create #information p {font-size: 1.1em; padding: 5px;}
#src_association #sub_create #create_association {width: 450px;}

#src_association #sub_presentation #overview h3 {display: none;}

#src_association #sub_presentation #overview fieldset.avatar img {width: 110px; height: 110px; border-radius: 5px;}
#src_association #sub_presentation #overview fieldset.avatar {float: left; margin-right: 5px; padding: 0; border: 0 !important; background: none !important;}
#src_association #sub_presentation #overview .avatar legend {display: none;}

#src_association #sub_presentation #overview .overview {background: none !important; border: none !important; }
#src_association #sub_presentation #overview .overview legend {display: none;}
#src_association #sub_presentation #overview .overview ul {text-align: center;}
#src_association #sub_presentation #overview .overview li {display: inline-block; margin: 0 20px; text-align: center; white-space: nowrap;}
#src_association #sub_presentation #overview .overview li .attr {color: #8a8a8a; font-size: 1em;}
#src_association #sub_presentation #overview .overview li .value {font-size: 1.7em; line-height: 35px; font-weight: bold;}
#src_association #sub_presentation #overview .overview .value {color: #9a9a9a; font-weight: bold; text-shadow: 0 1px #4a4a4a;}

#src_association #sub_presentation #overview .actions legend {display: none;}
#src_association #sub_presentation #overview .actions {text-align: center;}

#src_association #sub_presentation #description fieldset {background: none !important; border: none !important;}
#src_association #sub_presentation #description legend {display: none;}
#src_association #sub_presentation #description .parsed {max-height: 100px; overflow: auto;}
#src_association #sub_presentation #description textarea {height: 100px;}

#src_association #sub_presentation #information {clear: both;}
#src_association #sub_presentation #information fieldset {background: none !important; border: none !important;}
#src_association #sub_presentation #information legend {display: none;}

#src_association #sub_members #members li {display: inline-block; margin: 2px;}

#src_association #sub_manage #general fieldset.avatar { float: left; margin-top: 6px; margin-right: 4px; border: none !important; background: none !important;}
#src_association #sub_manage #general .avatar legend {display: none;}

#src_association #sub_manage #members li .user.avatar {float: left; margin-right: 5px;}
#src_association #sub_manage #members li {display: inline-block; width: 280px; height: 50px; padding: 2px; border: 2px solid #b28dd6; background: #fff; border-radius: 5px; margin: 2px; white-space: nowrap; overflow: hidden; vertical-align: middle;}
#src_association #sub_manage #members li:hover {border-color: #8f55c8;}
#src_association #sub_manage #members li .actions {font-size: 0.8em; text-align: center; margin-top: 6px; clear:none;}

#src_association #sub_manage #members .filter {text-align: center; }
#src_association #sub_manage #members .filter legend {display: none;}

/* ----- Contact  ----- */
#sub_messages #messages .exec {display: inline;}
#sub_messages #messages .current_folder {width: 40%; float: left; padding-top: 8px; margin-right: 4px;}

#sub_messages #messages .search .ui-input {display: inline-block; margin: 1px 2px;}
#sub_messages #messages .search .ui-input.txt {width: 200px;}
#sub_messages #messages .search select {width: 120px;}

#sub_messages #messages fieldset { height: 60px; margin-bottom: 4px;}
#sub_messages #messages .mark_selected_as {display: inline-block ; float: left; margin-right: 4px; width: 170px;}
#sub_messages #messages .move_selected_to {display: block;}
#sub_messages #messages .move_selected_to .ui-input {display: inline-block;}
#sub_messages #messages .move_selected_to select {width: 170px;}

#sub_messages #messages .chk label {display: none;}

#sub_messages #messages td {padding: 2px 2px; border: none;}
#sub_messages #messages .c0 input {margin-left: 10px;}
#sub_messages #messages .c0 {width: 30px;}
#sub_messages #messages .c1 .avatar {margin-right: 10px; border-radius: 5px;}
#sub_messages #messages .c1 a {font-weight: normal;}
#sub_messages #messages .c1 a.unread {font-weight: bold;}
#sub_messages #messages .c1 a.replied {font-style: italic;}
#sub_messages #messages .c2 {width: 150px;}

#sub_messages #message h3 {text-align: left; padding-left: 45px; padding-right: 45px;}
#sub_messages #message .age {float: right;}

#sub_messages #message .sender {float: left; border: none !important; background: none !important;}
#sub_messages #message .sender legend {display: none;}
#sub_messages #message .sender .avatar {margin-right: 10px;}

#sub_messages #message .mark_as {display: inline-block ; float: right; margin-left: 5px; width: 100px;}
#sub_messages #message .move_to {display: block; float: right;}
#sub_messages #message .move_to .ui-input {display: inline-block;}
#sub_messages #message .move_to select {width: 200px;}

#sub_messages #message .older_messages legend {display: none;}
#sub_messages #message .older_messages {clear: both;  border: none !important; background: none !important; }
#sub_messages #message .older_messages table .c0 {width: 40px;}
#sub_messages #message .older_messages .message {height: 20px; overflow: hidden; font-size: 0.8em;}
#sub_messages #message .older_messages tr.show .message {height: auto; font-size: 1em;}

#sub_messages #message .message {clear: both; border: none !important; background: none !important; }
#sub_messages #message .message .parsed_txt {border-top: 1px solid #aaa; padding: 10px;}
#sub_messages #message .message legend {display: none; }

#sub_contacts #contacts h3 {display: none;}
#sub_contacts #contacts, #sub_contacts #contacts .ui-section-body {background: none; border: none; margin: 0; padding: 0;}
#sub_contacts #contacts .ui-tabs-panel ul {text-align: center;}
#sub_contacts #contacts .ui-tabs-panel li .img {float: left;}
#sub_contacts #contacts .ui-tabs-panel li button {font-size: 0.8em;}
#sub_contacts #contacts .ui-tabs-panel li {display: inline-block; width: 280px; height: 50px; padding: 2px; border: 2px solid #b28dd6; background: #fff; border-radius: 5px; margin: 2px; white-space: nowrap; overflow: hidden; vertical-align: middle;}
#sub_contacts #contacts .ui-tabs-panel li:hover {border-color: #8f55c8;}
#sub_contacts #contacts .actions legend {display: none;}
#sub_contacts #contacts .actions {text-align: center; clear: none;}

/* Notifications */
#sub_notifications #alerts table td.c0 {color: #db3a3a; font-weight: bold;}
#sub_notifications #alerts table td.c1 {width: 15%; text-align: right; white-space: nowrap;}

#sub_notifications #notifications .ui-section-foot {display: block;}
#sub_notifications #notifications tbody tr {height: 50px;}
#sub_notifications #notifications table td.c0 {width: 15%; }
#sub_notifications #notifications table td.c1 img {margin-right: 10px;}
#sub_notifications #notifications table td.c1 p {display: inline-block;}
#sub_notifications #notifications table td.c1 p.reference {display: block; font-style: italic; color: #aaa;}
#sub_notifications #notifications table td.c2 {width: 10%; }
#sub_notifications #notifications img {border: none; padding: 0; border-radius: 5px; margin: 2px;}

/***********************/
/* ----- Trading ----- */
/***********************/

/* Transaction history */
#src_trading #transaction_history tbody tr {height: 50px;}
#src_trading #transaction_history td.c0 {width: 15%; text-align: center; }
#src_trading #transaction_history td.c1 div {display: inline-block;}
#src_trading #transaction_history td.c2 {width: 15%; text-align: right;}
#src_trading #transaction_history td.c3 {width: 15%; text-align: right;}
#src_trading #transaction_history td.c4 {width: 15%; text-align: right;}
#src_trading #transaction_history .pg {display: block; float: right; clear: both;}
#src_trading #transaction_history .bp {display: block; float: right; clear: both;}
#src_trading #transaction_history img {border: none; padding: 0; border-radius: 5px; margin: 2px;}

#src_trading #trading ul {text-align: center;}
#src_trading #trading li {display: inline-block;}
#src_trading #trading li > a {text-align: left; display: inline-block; width: 280px; border: 2px solid #b28dd6; border-radius: 10px; padding: 2px; margin: 2px;}
#src_trading #trading a.open {background-color: #fffecf;}
#src_trading #trading a.accepted {background-color: #edffe7;}
#src_trading #trading table {width: 100%; border-top: 1px solid #aaa;}
#src_trading #trading table .c1 {text-align: right;}

#src_trading #trading .user {float: left;}
#src_trading #trading .bp {float: right;}
#src_trading #trading .receive {float: left; width: 135px; clear: both;}
#src_trading #trading .send {float: right; width: 135px;}
#src_trading #trading img {border-radius: 5px; margin: 2px;}

#src_trading #sub_request #request .receive {position: relative; margin-left: 115px;}
#src_trading #sub_request #request .send {position: relative; margin-left: 115px;}

#src_trading #sub_request #request fieldset.user {padding: 2px; display: inline-block; position: absolute; left: -115px; top: 4px;}
#src_trading #sub_request #request fieldset.user legend {display: none;}

#src_trading #sub_request #request .ponygold {text-align: right; position: absolute; left: -115px; top: 115px; width: 109px}
#src_trading #sub_request #request .ponygold .nbr > span {margin: -3px 0;}
#src_trading #sub_request #request .ponygold legend {display: none;}

#src_trading #sub_request #request .bonuspoints {text-align: right; position: absolute; left: -115px; top: 152px; width: 109px}
#src_trading #sub_request #request .bonuspoints .nbr > span {margin: -3px 0;}
#src_trading #sub_request #request .bonuspoints legend {display: none;}

#src_trading #request ul {min-height: 160px; text-align: center;}
#src_trading #request li {display: inline-block; margin: 2px;}

#src_trading #ponies li,
#src_trading #breeding li,
#src_trading #items li {display: inline-block; margin: 2px;}

#src_trading #ponies ul,
#src_trading #breeding ul,
#src_trading #items ul {text-align: center; margin-top: 7px;}

#src_trading #sub_request .open {background: #fffecf !important;}
#src_trading #sub_request .accepted {background: #edffe7 !important;}
#src_trading #sub_request .aborted {background: #fee !important;}

#src_trading #sub_request .ui-sortable-helper {box-shadow: 0 0 10px 1px #000;}
#src_trading #sub_request .ui-section-body li {position: relative; border: 2px solid #b28dd6; border-radius: 5px; background: #fff; margin: 1px;}
#src_trading #sub_request .ui-section-body li:hover {border-color: #8f55c8;}
#src_trading #sub_request .ui-section-body li img {border-radius: 5px; border: none;}
#src_trading #sub_request .ui-section-body li input {display: none;}

/* ------ Auctions ------ */
.bidpg input[type="number"] { padding-left: 20px; background: #ffffff url('background/pg_icon_12px.png') no-repeat 5px center; }
.bidbp input[type="number"] { padding-left: 20px; background: #ffffff url('background/bp_icon_12px.png') no-repeat 5px center; }

#src_auctions #auctions .inauction {display: none;}

#src_auctions #auctions .ui-section-foot {display: block;}
#src_auctions #auctions table tbody tr {height: 175px;}
#src_auctions #auctions table td {vertical-align: middle; padding: 0;}

#src_auctions #auctions table .c0 { width: 175px; }
#src_auctions #auctions table td.c0 ul { width: 210px; height: 210px; margin: 3px; }
#src_auctions #auctions table td.c0 ul li { float: left; margin: 3px; }
#src_auctions #auctions table td.c0 ul li img { background-color: #ffffff; padding: 5px; }
#src_auctions #auctions table td.c1 {padding: 5px;}
#src_auctions #auctions table td.c1 .parsed_txt {overflow: auto; max-height: 200px;}

#src_auctions #auctions td.c2 { width: 180px; text-align: center; }
#src_auctions #auctions td.c3 { width: 180px; text-align: center; }
#src_auctions #auctions td.c3 .ui-buttonset { display: block; margin-top: 10px; margin-right: 0; }

#src_auctions #auctions .search { border: none !important; background: none !important; position: absolute; top: 4px; right: 50px; padding: 0;}
#src_auctions #auctions .search legend {display: none;}
#src_auctions #auctions .search .txt { width: 200px;}
#src_auctions #auctions .search .btn {display: none;}

#src_auctions #auctions .filter {text-align: center;}
#src_auctions #auctions .filter legend {display: none;}
#src_auctions #auctions .filter .ui-input.sel {display: inline-block; }

#src_auctions #auctions fieldset.sort_by {float: right; width: 230px; border: 0 none !important; background: transparent !important; padding: 0px 0 0 0 !important; }
#src_auctions #auctions .sort_by .btn { margin: 0; }
#src_auctions #auctions .sort_by legend { margin: 0; margin-right: 10px; float: left; position: relative; line-height: 20px; font-size: 11px; color: #8a8a8a; }
#src_auctions #auctions .sort_by ul li { display: block; float: left; }
#src_auctions #auctions .sort_by ul li:first-child { border-left: 0 none; }
#src_auctions #auctions .sort_by .btn button { border: 0 none; border-radius: 0; padding: 0 8px; background: transparent; }
#src_auctions #auctions .sort_by .btn button span { margin: 0; padding: 0; font-weight: normal; font-size: 11px; }
#src_auctions #auctions .sort_by div.active .btn button { padding-right: 10px; margin-right: 6px; }
#src_auctions #auctions .sort_by div.active.asc .btn button { background: transparent url('background/sort_arrow_asc.png') no-repeat right center; }
#src_auctions #auctions .sort_by div.active.desc .btn button { background: transparent url('background/sort_arrow_desc.png') no-repeat right center; }
#src_auctions #auctions .sort_by div.active .btn button span { font-weight: bold; }

#src_auctions #create .lot {background: #fffecf !important; margin-top: 5px;}
#src_auctions #create .lot legend {display: none;}
#src_auctions #create ul {min-height: 100px; text-align: center;}
#src_auctions #create li {display: inline-block; margin: 2px;}
#src_auctions #create .auction_type legend {display: none;}
#src_auctions #create .auction_type {text-align: center; clear: both;}
#src_auctions #create .description textarea {height: 110px;}
#src_auctions #create .starting_price {float: left; margin-right: 5px;}
#src_auctions #create .buyout_price {float: left; margin-right: 5px;}
#src_auctions #create .nbr {width: 200px;}
#src_auctions #create.bp .nbr input {background-image: url('background/bp_icon_12px.png');}

#src_auctions #ponies li,
#src_auctions #items li {display: inline-block; margin: 2px;}

#src_auctions #ponies ul,
#src_auctions #items ul {text-align: center; margin-top: 7px;}

#src_auctions #sub_create .ui-sortable-helper {box-shadow: 0 0 10px 1px #000;}
#src_auctions #sub_create .ui-section-body li {position: relative; border: 2px solid #b28dd6; border-radius: 5px; background: #fff; margin: 1px;}
#src_auctions #sub_create .ui-section-body li:hover {border-color: #8f55c8;}
#src_auctions #sub_create .ui-section-body li img {border-radius: 5px; border: none;}
#src_auctions #sub_create .ui-section-body li input {display: none;}


/**************************/
/* ------ Contests ------ */
/**************************/

#dialog .contest_type .rdo span {padding: 3px;}

/* ----- Arena ----- */
#src_contests #arena {
	float: right;
	text-align: center;
	width: 450px;
}

#src_contests #arena h3 {display: none;}
#src_contests #arena, #src_contests #arena .ui-section-body {
	background: none;
	border: none;
	margin: 0;
	padding: 0;
}

#src_contests #arena .btn {display: block;}

#src_contests #sub_arena #scheduled,
#src_contests #sub_arena #unscheduled {width: 450px;}

#src_contests #sub_arena #scheduled .ui-section-body,
#src_contests #sub_arena #unscheduled .ui-section-body {height: 300px; overflow-y: scroll;}

#src_contests #sub_arena table tbody tr {height: 40px;}
#src_contests #sub_arena table .c1 {text-align: center; width: 120px;}

#src_contests #sub_contest #contest {width: 400px;}
#src_contests #sub_contest #contest .prizes .prize {margin: 9px;}

#src_contests #sub_contest #edit {width: 400px;}
#src_contests #sub_contest #edit .prize {width: 80px; display: inline-block; margin: 0 3px; text-align: center;}

#src_contests #sub_contest #description fieldset {border: none !important; background: none !important; margin: 0; padding: 0;}
#src_contests #sub_contest #description fieldset legend {display: none;}

#src_contests #sub_contest #classes .ui-accordion-header {padding: 2px 10px 2px 30px; line-height: 30px;}
#src_contests #sub_contest #classes .ui-accordion-header p {display: inline; float: right;}
#src_contests #sub_contest #classes .ui-accordion-header .icon {margin-right: 10px;}

#src_contests #sub_contest #classes ul
{
    -webkit-column-width: 170px;
    -moz-column-width: 170px;
    column-width: 170px;

   /* -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;*/

    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;

    -webkit-column-rule:4px outset #aaa;
    -moz-column-rule:4px outset #aaa;
    column-rule:4px outset #aaa;
}

#src_contests #sub_contest #classes li {border-bottom: 1px solid #aaa; background: #fff; white-space: nowrap;}
#src_contests #sub_contest #classes li p {display: inline-block; width: 20px; text-align: right; padding-right: 5px; font-size: 1.2em;}
#src_contests #sub_contest #classes li div {display: inline-block; width: 80px; padding: 0 5px;}
#src_contests #sub_contest #classes li .user {display: block;}
#src_contests #sub_contest #classes li .btn {padding: 0; float: left;}
#src_contests #sub_contest #classes li .btn button span {font-size: 0.8em; padding: 1px 5px;}
#src_contests #sub_contest #classes li img.pny {border: none; padding: 0;}

#src_contests #sub_contest #signup.empty {display: none;}
#src_contests #sub_contest #signup .class
{
    display: inline-block;
    width: 214px;
    margin-right: 1px;
}

#src_contests #sub_contest #signup .class p {font-size: 0.9em;}
#src_contests #sub_contest #signup select {height: 200px;}

#src_contests #sub_contests .ui-section-foot {display: block;}
#src_contests #sub_contests td img {margin: 1px;}
#src_contests #sub_contests .c0 {width: 80px; vertical-align: middle;}
#src_contests #sub_contests .c1 {width: 130px; vertical-align: middle;}
#src_contests #sub_contests .c2 {vertical-align: top;}
#src_contests #sub_contests td li {display: inline;}
#src_contests #sub_contests .title {float: left;}
#src_contests #sub_contests .profit {float: right;}
#src_contests #sub_contests .fee {float: right; margin-right: 10px;}
#src_contests #sub_contests .description {clear: both; border-top: 1px solid #000; height: 100px; overflow: hidden;}

/* ----- Store ----- */
#src_store #sub_items #main_content
{
	background-image: url('/tour/dressup.png');
	background-repeat: no-repeat;
	background-position: 95% 30px;
}

#src_store #sub_items #preview {display: inline-block; float: right; width: auto;}
#src_store #sub_items #preview.empty {height: 320px;}

#src_store #sub_items #preview h3 {display: none;}
#src_store #sub_items #preview, #src_store #sub_items #preview .ui-section-body {border: none; background: none;}
#src_store #sub_items #preview fieldset {background: none !important; border: none !important; }
#src_store #sub_items #preview fieldset.preview legend {display: none;}
#src_store #sub_items #preview img {border: none; padding: 0 30px; background: #fff;}
#src_store #sub_items #preview fieldset.try_item_on legend {color: #aaa;}
#src_store #sub_items #preview fieldset.try_item_on {border-top: 1px solid #ccc !important; border-radius: 0 !important; }

#src_store #sub_items #filter {clear: both;}
#src_store #sub_items #filter .search {float: right; width: 250px; height:57px; margin-left: 5px;}

#src_store #sub_items #items h3 {display: none;}
#src_store #sub_items #items, #src_store #sub_items #items .ui-section-body {background: none; border: 0; margin: 0; padding: 0;}

#src_store #sub_items #items .ui-tabs-nav {width: 150px; float: left;}
#src_store #sub_items #items .ui-tabs-nav li a {width: 123px; text-align: left;}
#src_store #sub_items #items .ui-tabs-panel {margin-left: 155px; margin-top: 5px;}
#src_store #sub_items #items .ui-tabs {float: left;}

#src_store #sub_items #items .ui-tabs-nav {padding-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0;}
#src_store #sub_items #items .ui-tabs-nav li {border-radius: 6px 0 0 6px !important; margin: 0 0 1px 0; border-width: 2px; border-right: 0;}
#src_store #sub_items #items .ui-tabs-nav li.ui-tabs-active {margin: 1px 1px 0px 2px; margin: 0 0 1px 2px;}

#src_store #sub_items #items .ui-tabs-panel li {display: inline;}
#src_store #sub_items #items .ui-tabs-panel ul {min-height: 500px; text-align:center;}
#src_store #sub_items #items .ui-tabs-panel .store_item {display: inline-block; vertical-align: middle; text-align: left;}
#src_store #sub_items #items .ui-tabs-panel .store_item a {display: block; border: 2px solid #b28dd6; background: #fff; border-radius: 5px; margin: 2px; white-space: nowrap; overflow: hidden; width: 235px;}
#src_store #sub_items #items .ui-tabs-panel .store_item a:hover {border-color: #8f55c8; text-decoration: none;}
#src_store #sub_items #items .ui-tabs-panel .store_item .img {float: left; margin: 3px;}

#sub_pony_market .actions {text-align: center;}
#sub_pony_market .actions legend {display: none;}
#sub_pony_market ul {text-align: center;}
#sub_pony_market li {display: inline-block; margin: 2px;}
#sub_pony_market li img {border: none;}

/* ----- Search ----- */
#src_search #search .ui-input {display: inline-block;}
#src_search #search .search .ui-input.txt {width: 160px;}
#src_search #search .search .ui-input.sel {width: 120px;}
#src_search #search .search {width: 330px; float: left; margin-right: 4px;}
#src_search #search .order_by {float: left; margin-right: 4px;}
#src_search #search .sel {margin: 0 2px;}
#src_search #search .sld {width: 140px;}

#src_search #sub_ponies #search .filter {clear: both;}
#src_search #sub_ponies #search .filter .ui-input.txt input {width: 100px; margin-left: -5px; padding-left: 10px;}
#src_search #sub_ponies #search .breeds {clear: both;}
#src_search #sub_ponies #search .breeds li {display: inline-block;}
#src_search #sub_ponies #search .genes li {display: inline-block;}
#src_search #sub_ponies #search .breeds .tgl span,
#src_search #sub_ponies #search .genes .tgl span {padding: 3px;}

#src_search #sub_items #search .filter {float: left; margin-right: 5px; padding: 3px 5px; width: 250px;}
#src_search #sub_items #search .actions {clear: both;}

#src_search #results ul {text-align: center;}
#src_search #results li {display: inline-block; margin: 2px;}

#src_search #sub_ponies #results table {table-layout: fixed;}
#src_search #sub_ponies #results table td {white-space: nowrap; overflow: hidden;}
#src_search #sub_ponies #results table .pny {border: none;}
#src_search #sub_ponies #results table .c0 {width: 110px; padding: 0;}
#src_search #sub_ponies #results table .c1 {width: 200px;}
#src_search #sub_ponies #results table .c2 .parsed_txt {height: 100px; overflow: auto;}

#src_search #results .ui-section-foot {display: block;}
#src_search #results .actions legend {display: none;}
#src_search #results .actions {text-align: center;}

/* ----- Help -----*/
#sub_faq #faq .select {border-width: 0  0 2px 0 !important; border-radius: 0; border-style: dotted !important; margin: 0 -5px -5px; padding: 15px 10px; font-size: 1.2em;}
#sub_faq #faq .select legend {display: none;}

#sub_faq #faq ul {margin: 0; padding: 0;}
#sub_faq #faq li {border-bottom: 1px dashed #aaa; margin: 0 0; padding: 20px 10px; list-style: none;}
#sub_faq #faq .question {font-weight: bold; font-size: 1.1em; margin-bottom: 10px;}

#sub_support #tickets .filter {text-align: center; margin-bottom: 4px;}
#sub_support #tickets .filter legend {display: none;}

#sub_support #tickets td {padding: 2px 5px;}
#sub_support #tickets td.c0 {width: 5%;}
#sub_support #tickets td.c2 {width: 10%;}
#sub_support #tickets td.c3 {width: 15%; white-space: nowrap;}

#sub_support #ticket td {padding: 2px 5px;}
#sub_support #ticket .reference table .c0 {width: 10%;}
#sub_support #ticket .replies .c0 {width: 10%;}
#sub_support #ticket .replies .c2 {width: 10%; white-space: nowrap;}

/* ----- Legal  ----- */
#src_legal .ui-section-body p {padding: 5px 2px;}
#src_legal .ui-section-body ul {padding-left: 20px;}
#src_legal .ui-section-body li {list-style-type: circle;}

#src_legal #iohaze {float: left; width: 130px; text-align: center; margin-right: 20px;}
#src_legal #iohaze h3 {display: none;}
#src_legal #contact_us {width: 80%;}
#src_legal #company_address {width: 40%;}

/* ----- Admin  ----- */
#src_admin .details table td:nth-child(2n) {border: 0;}

#src_admin #breeds .available {float: left;}
#src_admin #breeds .unlock_cost {float: left;}
#src_admin #breeds .available_after {float: left;}
#src_admin #breeds .crossbreed .ui-input {width: 50%; display: inline-block;}
#src_admin #breeds .tattoo_spots fieldset {width: 50%; display: inline-block;}
#src_admin #breeds img {display: block;}
#src_admin #breeds .icon {float: left; margin-right: 5px; text-align: center; padding: 1px 5px;}
#src_admin #breeds .female_adult, #src_admin #breeds .male_adult, #src_admin #breeds .female_baby, #src_admin #breeds .male_baby {display: inline-block; text-align: center; margin: 0 1px;}

#src_admin #genes .available {float: left;}
#src_admin #genes .free {float: left;}
#src_admin #genes .unlock_cost {float: left;}
#src_admin #genes .available_after {float: left;}
#src_admin #genes img {display: block;}
#src_admin #genes .icon {float: left; margin-right: 5px; text-align: center; padding: 1px 5px;}
#src_admin #genes .female_adult, #src_admin #genes .male_adult, #src_admin #genes .female_baby, #src_admin #genes .male_baby {display: inline-block; text-align: center; margin: 0 1px;}

#src_admin #items .name {width: 300px; float: left; margin-right: 5px;}
#src_admin #items .type {width: 100px; float: left; margin-right: 5px;}
#src_admin #items img {display: block;}
#src_admin #items .icon {float: left; margin-right: 5px; padding: 1px 20px;}
#src_admin #items .icon img {padding: 1px 20px;}
#src_admin #items .store .ui-input {display: inline-block;}

#src_admin #items fieldset.breed {display: inline-block; text-align: center; margin: 0 2px; width: 420px; height: 290px; padding: 2px; vertical-align: top;}
#src_admin #items fieldset.breed fieldset {padding: 0px; display: inline-block; margin: 0 1px;}
#src_admin #items fieldset.breed fieldset legend {display: none;}

#src_admin #recipes .input {width: 49%; float: left;}
#src_admin #recipes .output {width: 49%; float: right;}

#src_admin #buildings .small, #src_admin #buildings .medium, #src_admin #buildings .large {width: 280px; display: inline-block; text-align: center; margin: 0 1px;}

#src_admin #quest_types li {display: inline-block;}

#src_admin #distribute .users {text-align: center;}
#src_admin #distribute .users p {font-size: 2em;}
#src_admin #distribute li {display: inline-block; margin: 2px;}

#src_admin #support .filter {text-align: center;}
#src_admin #support .filter legend {display: none;}
#src_admin #support .ui-input.txt {display: inline-block; position: absolute; right: 0px; top: 42px; width: 150px;}

#src_admin #support td {padding: 2px 5px;}
#src_admin #support td.c0 {width: 5%;}
#src_admin #support td.c1 {width: 15%;}
#src_admin #support td.c3 {width: 10%; white-space: nowrap;}

#src_admin #ticket .ticket .ui-input {display: inline-block;}
#src_admin #ticket td {padding: 2px 5px;}
#src_admin #ticket .reference table .c0 {width: 10%;}
#src_admin #ticket .replies .c0 {width: 10%;}
#src_admin #ticket .replies .c2 {width: 10%; white-space: nowrap;}

#src_admin #penalties .filter {text-align: center;}
#src_admin #penalties .filter legend {display: none;}
#src_admin #penalties .ui-input.txt {display: inline-block; position: absolute; right: 0px; top: 42px; width: 150px;}

#src_admin #penalties td {padding: 2px 5px;}
#src_admin #penalties td.c0 {width: 5%;}
#src_admin #penalties td.c1 {width: 15%;}
#src_admin #penalties td.c3 {width: 10%;}
#src_admin #penalties td.c4 {width: 9%;}
#src_admin #penalties td.c5 {width: 10%; white-space: nowrap;}

#src_admin #penalty .penalty .ui-input {display: inline-block;}

#src_admin #users .user .ui-input {display: inline-block;}