body {
	font: 65.5%/1.5  Arial, Helvetica, "Trebuchet MS", "Lucida Grande", Verdana, sans-serif;
	margin: 0 auto;
	max-width: 960px;
	min-width: 620px;
    /*width: 960px;*/

    background-color: #fff;
	background-image: url(background/bg_clear.png), url(background/flowers_centered.png);
	background-repeat: repeat, no-repeat;
	background-position: 0 0, center 90px;
}

/**********************/
/* ----- Header ----- */
/**********************/

header {
    background-color: #D7B1FD;
   	border-radius: 0 0 15px 15px;
	border-bottom: 3px solid #af92cc;
	box-shadow: 0 0 6px rgba(79, 50, 105, 0.85);
	position: relative;
    margin-bottom: 20px;
}

header #top-nav {
	background: #8965a9;
	background: linear-gradient(#734d95, #8965a9);
	border-bottom: 1px solid #e6d3fa;
	height: 30px;
}

header #main-nav {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05));
    border-radius: 0 0 10px 10px;
	height: 60px;
}

/* ----- Logo ----- */
header #logo h1 {display: none;}
header #logo {
	position: absolute;
    z-index: 100;
	top: 0;
	left: 0;
    background: url('logo_triple.png') no-repeat top;
    display: block;
    height: 90px;
    width: 180px;
}

header #logo:hover {background-position: center !important;}

/* ----- Clock ----- */
header #clock {
	position: absolute;
	color: #dacae8;
    font-size: 1.2em;
	line-height: 30px;
	right: 200px;
	width: 100px;
    height: 30px;
  	text-align: center;
    white-space: nowrap;
}
/* ----- Ticker ----- */
header #ticker {
	position: absolute;
	left: 100px;
	right: 300px;
    height: 30px;
    overflow: hidden;
    white-space: nowrap;
}

header #ticker a {
    display: inline-block;
    margin: 0 20px;
    line-height: 30px;
    color: #dacae8;
    font-size: 1.1em;
}

header #ticker #marquee {
  -webkit-animation: marquee 60s linear infinite;
  -moz-animation: marquee 60s linear infinite;
  -ms-animation: marquee 60s linear infinite;
  -o-animation: marquee 60s linear infinite;
  animation: marquee 60s linear infinite;
  position: absolute;
  width: auto;
}

header #ticker #marquee:hover {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -ms-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

@-webkit-keyframes marquee { from { -webkit-transform: translate(540px, 0); } to { -webkit-transform: translate(-100%, 0); } }
@-moz-keyframes marquee { from { -moz-transform: translate(540px, 0); } to { -moz-transform: translate(-100%, 0); } }
@-ms-keyframes marquee { from { -ms-transform: translate(540px, 0); } to { -ms-transform: translate(-100%, 0); } }
@-o-keyframes marquee { from { -o-transform: translate(540px, 0); } to { -o-transform: translate(-100%, 0); } }
@keyframes marquee { from { transform: translate(540px, 0); } to { transform: translate(-100%, 0); } }

/* ----- Account ----- */
header #account {
    position: absolute;
   	top: 0;
   	right: 0;
}

header #acc-balance {text-align: right; margin: 0 10px;}
header #acc-balance span {
    color: #dacae8;
    text-shadow: 0 1px #5b4271;
   	margin: 4px;
    line-height: 22px;
    padding-left: 22px;
}

header #acc-balance span.pg {background-image: url('background/pg_icon_18px.png');}
header #acc-balance span.bp {background-image: url('background/bp_icon_18px.png');}

/* ----- Notifications ----- */
header #account #acc-notifications {position: absolute;}
header #account #acc-notifications a {
    background-color: darkgray;
    border: 2px solid #ffffff;
    border-radius: 11px;
    color: #ffffff;
    display: block;
    font-size: 0.85em;
    line-height: 18px;
    margin-top: 19px;
    text-align: center;
    text-decoration: none;
    width: 18px;
}

header #account #acc-notifications a.unread {background-color: red;}

/* ----- Account picker ----- */
header #account #acc-picker {
    background-color: #ffffff;
    box-shadow: 0 2px #af92cc;
    border-radius: 5px;
    color: #3a3a3a;
    cursor: pointer;
    float: left;
    font-size: 1.3em;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    margin: 10px;
    padding: 5px 5px 5px 20px;
    width: 165px;
}

header #account #acc-picker:hover {
	background-color: #f5eaff;
}

header #account #acc-picker.active {
	background-color: #8965a9;
	border-radius: 5px 5px 0 0;
	color: #ffffff;
	text-shadow: 0 1px #5b4271;
}

header #account #acc-picker .user.avatar {float: right;}

/* ----- Account overview ----- */
header #account #acc-overview {
    background-color: #8965a9;
	border-radius: 0px 5px 5px 5px;
	display: none;
	position: absolute;
	left: 10px;
	top: 80px;
	width: 230px;
	z-index: 9999;
}

header #account #acc-overview h1 {
	color: #dacae8;
	float: left;
	line-height: 1em;
	padding: 10px;
	width: 180px;
}

header #account #acc-overview .btn {margin: 0;}
header #account #acc-overview button#acc-reload {
    background: transparent url('background/acc_reload.png') no-repeat center center;
    border: 0;
	float: left;
	height: 30px;
	margin: 0;
	outline: 0;
	width: 30px;
}

header #account #acc-overview button#acc-reload:hover {background-image: url('background/acc_reload_hover.png');}
header #account #acc-overview button#acc-reload span {visibility: hidden;}

header #account #acc-overview .btn button {
	background-color: #8f55c8;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	margin: 0;
    outline: 0;
	text-shadow: 0 1px #573677;
	width: 114px;
}

header #account #acc-overview .btn button span {
	color: #ffffff;
	float: none;
	font-size: 1.4em;
	line-height: 3em;
	margin: 0;
	padding: 0;
}

header #account #acc-overview .profile .btn {float: left;}
header #account #acc-overview .profile .btn button {border-bottom-left-radius: 5px;}
header #account #acc-overview .logout .btn {float: right;}
header #account #acc-overview .logout .btn button {border-bottom-right-radius: 5px;}

header #account #acc-overview button:active span {margin-bottom: -1px; margin-top: 1px;}

header #account #acc-overview .acc-back {background-color: #e3e3e3;	border-bottom: 1px solid #cccccc; clear: both;}
header #account #acc-overview .acc-back:hover {background: #e3e3e3 url('background/acc_back.png') no-repeat 10px center; padding-left: 15px;}
header #account #acc-overview .acc-back a {color: #4a4a4a; display: block; padding: 5px 10px; text-decoration: none;}

header #account #acc-overview #no-accounts {
	background-color: #e0e0e0;
	color: #808080;
	cursor: default;
	line-height: 4.2em;
	text-align: center;
	text-shadow: 1px 1px #ffffff;
}

header #account #acc-overview ul {
	clear: both;
	display: block;
	list-style-type: none;
    position: relative;
}

header #account #acc-overview ul li {background-color: #efefef; height: 40px; position: relative;}
header #account #acc-overview ul li:first-child {border: 0 none;}
header #account #acc-overview ul li:hover {background-color: #ffffff;}
header #account #acc-overview ul li:nth-child(2n) {background-color: #e3e3e3;}
header #account #acc-overview ul li:nth-child(2n):hover {background-color: #ffffff;}

header #account #acc-overview ul li a {
	color: #4a4a4a;
	display: block;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 40px;
	padding: 0 10px;
	text-decoration: none;
}

header #account #acc-overview ul li a img.avatar {
	border-radius: 5px;
	height: 30px;
	margin-right: 10px;
	margin-top: -3px;
}

header #account #acc-overview .icons {position: absolute; top: 0; right: 10px;}
header #account #acc-overview .icons img {margin: 2px;}

/* ----- Main menu ----- */
#main-nav nav#main {
	position: absolute;
	left: 100px;
	right: 100px;
	text-align: center;
}

#main-nav nav#main ul li {
    display: inline-block;
    margin: 10px 5px;
}

#main-nav nav#main ul li a {
	display: block;
	height: 40px;
	width: 40px;
}

#main-nav nav#main ul li {position: relative;}
#main-nav nav#main ul li a span {display: none;}
#main-nav nav#main ul li .counter {display: none;}
#main-nav nav#main ul li .unread .counter {
    display: block;
   	position: absolute;
   	right: -4px;
   	border: 1px solid #ec82a9;
   	border-radius: 100%;
   	background: #fff;
   	color: #000;
   	font-size: 0.9em;
   	text-align: center;
   	font-weight: bold;
   	width: 14px;
   	line-height: 14px;
}

nav#main .user a {background-image: url(menu/island.png);}
nav#main .ponies a {background-image: url(menu/ponies.png);}
nav#main .trading a {background-image: url(menu/trading.png);}
nav#main .auctions a {background-image: url(menu/auctions.png);}
nav#main .contact a {background-image: url(menu/contact.png);}
nav#main .contact.unread a {background-image: url(menu/contact_unread.png);}
nav#main .community a {background-image: url(menu/community.png);}
nav#main .contests a {background-image: url(menu/contests.png);}
nav#main .store a {background-image: url(menu/store.png);}
nav#main .search a {background-image: url(menu/search.png);}
nav#main .admin a {background-image: url(menu/admin.png);}

nav#main li a:hover {background-position: center;}
nav#main li a:active {background-position: bottom;}

/* ----- Login ----- */
header #login {
    position: absolute;
	left: 100px;
	right: 100px;
	text-align: center;
    white-space: nowrap;
}

header #login fieldset {display: inline-block; border: none !important; background: none !important; padding: 0; margin: 5px; text-align: left;}
header #login fieldset .ui-input input {padding: 3px;}
header #login button {margin-top: -2px; }

header #signup_now {
	position: absolute;
	right: 0;
	width: 200px;
	text-align: center;
}

header #signup_now button {margin-top: 17px;}

/* ----- Quick search ----- */

#quick_search {
	position: absolute;
	top: 0;
	right: 0;
	margin: 4px 0;
	width: 190px;
}

#quick_search input {
	background: #ffffff url('background/quick_search_active.png') no-repeat 168px center;
	border-radius: 12px;
	padding-left: 8px;
	font-size: 1.05em;
}

#quick_search input.placeholder {background-image: url('background/quick_search_inactive.png');}

/*******************/
/* ----- SRC ----- */
/*******************/
#wrapper, #src, #sub {position: relative;}

#src
{
	/*border: 10px solid #0F0;
	border-color: rgba(202,151,251,0.45);
	background-clip: padding-box;*/

	background: #d7b1fd;
	background: linear-gradient(rgba(229, 204, 255, 0.7), rgba(215, 177, 253, 0.7));
	border-radius: 15px;
	border-bottom: 3px solid #af92cc;
	box-shadow: 0 0 6px rgba(79, 50, 105, 0.85);
	padding: 10px;
	position: relative;
}

#src #main_content {
	background-color: #ffffff;
	border-radius: 0 10px 10px 10px;
    padding: 10px 10px 0;
	position: relative;
}


/* ----- Tabs ----- */
#src nav#tabs {height: 42px;}

#src nav#tabs #current_group {
	height: 40px;
	width: 50px;
	z-index: 100;
	position: relative;
	display: none;
}

#src nav#tabs li {
	background: linear-gradient(#eeeeee, #d9d9d9);
	border-radius: 10px 10px 0 0;
	height: 40px;
	margin-top: 2px;
	margin-right: 2px;
	float: left;
}

#src nav#tabs li.current {
	background: #ffffff;
	border-color: #ffffff;
	height: 42px;
	margin-top: 0;
}

#src nav#tabs li a {
	color: #6a6a6a;
	display: block;
	font-size: 1.3em;
	font-weight: bold;
	line-height: 40px;
	padding: 0 15px;
	text-decoration: none;
}

#src nav#tabs li.current a {
	color: #4a4a4a;
	line-height: 42px;
}

#src nav#tabs li a img {
	border-radius: 5px;
    margin-left: -7px;
	margin-right: 10px;
}


/**********************/
/* ----- Footer ----- */
/**********************/

footer {font-size: 1.1em; padding: 2px 10px; position: relative;}
footer #copyright {color: #8a8a8a; float: left; font-weight: bold;}
footer #links {float: right;}
footer #links li {border-right: 1px solid #cccccc; float: left;	padding: 0 10px;}
footer #links li:last-child {border-right: 0 none;	padding-right: 0;}
footer #links li a {font-size: 0.95em; text-decoration: none;}

/* Section */
section.ui-section {
   position: relative;
   margin-bottom: 10px;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   -ms-box-sizing: border-box;
   box-sizing: border-box;
   display: inline-block;
   width: 100%;
}

section .ui-section-head {padding: 5px 10px; margin-bottom: -5px; position: relative;}
section .ui-section-foot {padding: 5px 10px; margin-top: -5px; position: relative;  border-radius: 10px; display: none;}
section .ui-section-body {background: #fff; border: 2px solid #D7B1FD; border-radius: 5px; padding: 5px; margin: 5px;}
section .ui-section-head a {color: #fff;}

/* Next and Prev */
section .ui-section-prev,
section .ui-section-next {
	background: transparent !important;
	border: 0 none !important;
	color: #ffffff;
	padding: 0;
	position: absolute;
	top: 7px;
}

section .ui-section-prev {left: 15px;}
section .ui-section-next {right: 15px;}

section .ui-section-prev span,
section .ui-section-next span {
	background: #ffffff;
	border-radius: 10px;
	border: 0 none;
	box-shadow: 0 1px rgba(0, 0, 0, 0.3);
	color: #4a4a4a !important;
	height: 20px;
	line-height: 20px;
	margin: 0;
	width: 20px;
}

section .ui-section-prev span:active,
section .ui-section-next span:active {
	box-shadow: 0 0;
	margin-top: 1px;
	margin-bottom: -1px;
}

section .ui-section-prev span {
	background: #ffffff url('background/profile_prev.png') no-repeat center center !important;
}

section .ui-section-next span {
	background: #ffffff url('background/profile_next.png') no-repeat center center !important;
}

/* Tabs */
.ui-tabs {margin-bottom: 10px;}
.ui-tabs section {margin: 0; padding: 0; border: 0; background: none;}
.ui-tabs section .ui-section-head {display: none;}
.ui-tabs section .ui-section-foot {display: none;}
.ui-tabs section .ui-section-body {border: 0; padding: 0; margin: 0;}


.ui-dialog {padding: 5px;}
.ui-dialog > .ui-widget-content {background: #fff; border-radius: 5px;}

fieldset
{
	border: 2px solid #E1C4FD !important;
	border-radius:5px !important;
	background: #f7efff !important;
	padding: 5px;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
fieldset legend
{
	color: #B28DD6;
	font-size: 0.9em;
	padding: 0 2px;
}


li, img {vertical-align: middle;}

/* ----- Form Elements ----- */
.ui-input {margin: 1px 0;}
.ui-input.exec {margin: 0;}
.ui-input input, .ui-input select, .ui-input textarea
{
    width: 100%;
    margin: 0;
    padding: 2px;
    border: 2px solid #B28DD6;
    border-radius: 10px;
    background: #ffffff;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

.ui-input input:focus, .ui-input select:focus, .ui-input textarea:focus {border-color: #8f55c8;}
.ui-input input.placeholder {color: #aaa;}

.ui-input.nbr > span {border: none; padding: 0; width: 100%;}
.ui-input.nbr .ui-spinner-up {right: 2px; top: 2px; height: 10px;}
.ui-input.nbr .ui-spinner-down {right: 2px; bottom: 2px; height: 10px;}
.ui-input.nbr input {padding: 2px 8px 2px 2px;}

.ui-input.btn, .ui-input.upd, .ui-input.upl, .ui-input.chk, .ui-input.rdo, .ui-input.tgl {display: inline-block;}

.ui-input.are textarea {height: 70px;}
.ui-input.sld input {border: none}
.ui-input.rdo input {width: auto;}
.ui-input.chk input {width: auto; vertical-align: middle;}
.ui-input.tgl input {width: auto;}

.ui-input.clr input {
	cursor: pointer;
	color: transparent !important;
	border: 4px solid #B28DD6; border-radius: 5px; padding: 2px;
	width: 40px; height: 40px;
}
.ui-input.clr input:focus {border-color: #8f55c8;}

/*.ui-input.txt .ui-autocomplete-loading {background: #fff url('ui-anim_basic_16x16.gif') 99% center no-repeat;}*/

.ui-progressbar {position: relative; text-align: center; overflow: visible !important;}
.ui-progressbar-value {margin: 0 !important; position: absolute; background-color: #d00;}
.ui-progressbar-value.ui-corner-left {border-radius: 8px 0 0 8px;}
.ui-progressbar-value.ui-corner-right {border-radius: 8px;}
.ui-progressbar-value.ui-corner-bottom {border-radius: 0 0 8px 8px;}
.ui-progressbar-value.ui-corner-top {border-radius: 8px;}
.ui-progressbar-vertical .ui-progressbar-value { width: 100%; bottom: 0; background: #f00 url(lib/jquery-ui/images/glass_vertical.png) center repeat-y;}
.ui-progressbar-vertical {width: 2em; height: 100%;}
.ui-progressbar-title {position: relative; border: 1px solid rgba(0,0,0,0.5); border-radius: 5px; padding: 1px 2px; top: 3px; background-color: rgba(255,255,255,0.5);}

.ui-progressbar-vertical .ui-progressbar-title
{
    position: absolute;
    top: 50%;
    padding: 0px 5px;

    transform: translate(-50%,-50%) rotate(-90deg);
    transform-origin: 50% 50%;
    -ms-transform: translate(-32%,-50%) rotate(-90deg);
    -ms-transform-origin: 50% 50%;
    -webkit-transform: translate(-50%,-50%) rotate(-90deg);
    -webkit-transform-origin: 50% 50%;
    -moz-transform: translate(-50%,-50%) rotate(-90deg);
    -moz-transform-origin: 50% 50%;
    -o-transform: translate(-50%,-50%) rotate(-90deg);
    -o-transform-origin: 50% 50%;
    white-space: nowrap;
}

.ui-state-focus, .ui-state-focus a {outline: 0;}

div.loading {left: 0px !important; right: 0px !important; top: 0px !important; bottom: 0px !important; margin: 0 !important; width: auto !important;}

/* ----- Pagination ----- */
.pages {padding: 2px 10px; border-color: #E1C4FD; border-style: solid; background: #f7efff; height: 17px;}
.pages .ui-input.exec {display: inline;}
.pages .current {font-weight: bold; text-decoration: underline;}
.pages.top {margin-bottom: 2px; border-bottom-width: 2px;}
.pages.bottom {margin-top: 2px; border-top-width: 2px;}

/* ----- Various ----- */
.ui-dialog {box-shadow: 0 0 6px rgba(79, 50, 105, 0.85);}

.ui-widget-content a {color: #52386b; text-decoration: none; font-weight: bold;}
.ui-widget-content a:hover {text-decoration: underline;}

.pg {color: #000; font-weight: bold;}
.bp {color: #000; font-weight: bold;}

span.bp, span.pg {
	background: transparent url('background/bp_icon_12px.png') no-repeat left center;
	display: inline-block;
	padding-left: 14px;
    font-weight: bold;
}

span.bp {background-image: url('background/bp_icon_12px.png');}
span.pg {background-image: url('background/pg_icon_12px.png');}

.ui-input.nbr input[name*="Price"],
.ui-input.nbr input[name*="PonyGold"] { padding-left: 20px; background: #ffffff url('background/pg_icon_12px.png') no-repeat 5px center; }
.ui-input.nbr input[name*="BonusPoints"] { padding-left: 20px; background: #ffffff url('background/bp_icon_12px.png') no-repeat 5px center; }


.edit_text {cursor: pointer;}
.edit_text:hover {cursor: pointer;}
.edit_text textarea {display: none;}
.edit_text .format_toolbar {display: none;}
.edit_text.active textarea {display: block;}
.edit_text.active .format_toolbar {display: block;}
/*.edit_text.active p {display: none;}*/
.edit_text div.empty {font-size: 1.2em; text-align: center; color: #aaa;}
.edit_text.active .parsed {display: none;}


.clearer {
    clear: both;
	display: block;
	font-size: 0;
	line-height: 0;
}

/* ----- Table ----- */
table {width: 100%;}
table tbody tr:first-child {border-top: 1px solid #aaaaaa;}
table tbody tr {border-bottom: 1px solid #aaaaaa; background-color: #ffffff;}
table tbody tr:nth-child(2n) {background-color: #f4f4f4;}
table td {vertical-align: middle; padding: 0 10px; border-left: 1px dotted #cccccc;}
table td:first-child {border-left: none;}

/* ----- Loading ----- */
.loading {text-align: center;}
.loading p span {display: none;}
.loading p {height: 100%; background: url('background/loading.gif') no-repeat center ;}

/* ----- Tooltips - Tipsy ----- */
.ui-tooltip {opacity: 0.8; font-size: 10px; position: absolute; padding: 5px; z-index: 100000; border: none; background: none; box-shadow: none;}
.ui-tooltip-content {background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center;}
.ui-tooltip-content {border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;}

.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; }
.tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; }

/* Rounded corners */
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }

.tipsy-arrow { position: absolute; width: 0; height: 0; border: 5px solid transparent; }

/* Rules to colour arrows */
.tipsy-arrow-n { border-bottom-color: #000; }
.tipsy-arrow-s { border-top-color: #000; }
.tipsy-arrow-e { border-left-color: #000; }
.tipsy-arrow-w { border-right-color: #000; }

.tipsy-n .tipsy-arrow, .tipsy-nw .tipsy-arrow, .tipsy-ne .tipsy-arrow { top: 0; border-top: none; }
.tipsy-s .tipsy-arrow, .tipsy-sw .tipsy-arrow, .tipsy-se .tipsy-arrow { bottom: 0; border-bottom: none; }
.tipsy-n .tipsy-arrow, .tipsy-s .tipsy-arrow { left: 50%; margin-left: -5px; }
.tipsy-nw .tipsy-arrow, .tipsy-sw .tipsy-arrow { left: 10px; }
.tipsy-ne .tipsy-arrow, .tipsy-se .tipsy-arrow { right: 10px; }
.tipsy-e .tipsy-arrow, .tipsy-w .tipsy-arrow { top: 50%; margin-top: -5px; }
.tipsy-e .tipsy-arrow { right: 0; border-right: none; }
.tipsy-w .tipsy-arrow { left: 0; border-left: none;}

/* ----- Parse ----- */
.parsed_txt {overflow: hidden; min-height: 20px;}
.parsed_txt img.external {max-width: 100%;}

span.action {font-style: italic;}
/*abbr.smiley {display: inline-block; padding: 0 12px;}*/
abbr.smiley {display: inline-block; width: 15px; height: 15px; margin: -1px 0; padding: 0;}
abbr.smiley span {display: none;}
abbr.smile {background: url(../icons/emoticon_smile.png) no-repeat center;}
abbr.laugh {background: url(../icons/emoticon_grin.png) no-repeat center;}
abbr.sad {background: url(../icons/emoticon_unhappy.png) no-repeat center;}
abbr.cheeky {background: url(../icons/emoticon_tongue.png) no-repeat center;}
abbr.surprised {background: url(../icons/emoticon_surprised.png) no-repeat center;}
abbr.wink {background: url(../icons/emoticon_wink.png) no-repeat center;}
abbr.xd {background: url(../icons/emoticon_XD.png) no-repeat center;}
abbr.heart {background: url(../icons/heart.png) no-repeat center; background-size: 12px;}

.parsed_txt .quote .legend {
	position: relative;
	top: 10px;
	font: normal 0.9em sans-serif;
}

.parsed_txt .quote blockquote {
	background: #F6F6F6 url('background/quote.gif') no-repeat;
	border-bottom: 1px solid #EAEAEA;
	border-top: 1px solid #EAEAEA;
	color: #555;
	display: block;
	font: normal 0.9em sans-serif;
	margin: 1em 0;
	padding: 0.6em 1em 0 46px;
    min-height: 25px;
}

.parsed_txt .theme_preview {
	border: 1px solid #aaa;
	font-size: 0.8em;
	background: #ccc;
}

.parsed_txt .theme_preview:hover {background: #ffa;}

.parsed_txt .spoiler {
	cursor: help;
	border: 2px solid #aaa;
	background: #ccc;
	padding-top: 30px;
	margin: 10px 20px;
	height: 0px;
	overflow: hidden;
}

.parsed_txt .spoiler:hover {border: 2px solid #a00;}
.parsed_txt .spoiler.active {height: auto; padding: 10px;}
.parsed_txt .background {width: 0; height: 0;}

.parsed_txt hr {border: 1px solid #aaa;}

.parsed_txt table.parse {border-collapse: collapse !important; border: 1px solid #aaa;}
.parsed_txt table.parse td {padding: 5px !important;}

#format_preview {margin: 20px; position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px;}
.format_toolbar div:last-child {float: right;}

/* ----- Avatars ----- */
a.user.avatar {position: relative; display: inline-block; vertical-align: middle;}
a.user.avatar img, img.user.avatar {border-radius: 5px;}
a.user.avatar .status.online {position: absolute; right: 0px; bottom: 0px; display: block; border-top: 1px solid #fff; border-left: 1px solid #fff; width: 5px; height: 5px; background: #88CC5F;}

a.association.avatar {position: relative; display: inline-block; vertical-align: middle;}
a.association.avatar img, img.association.avatar {border-radius: 5px;}

/* ---- Favorite Buttons ----- */
.tgl input[name=Favorite] + label span {text-indent: 100px; overflow: hidden; display: block; width: 5px; background: url(/icons/star_black.png) no-repeat center;}
.tgl input[name=Favorite] + label.ui-state-active span {background: url(/icons/star_white.png) no-repeat center;}


/* ----- Responsive ----- */
@media (max-width:1040px){

header #account #acc-overview {left: auto; right: 10px; border-radius: 5px 0px 5px 5px;}

}

@media (max-width:965px){

#main_content {text-align: center;}

section {text-align: left; max-width: 100%; float: none !important;}
section .ui-section-body {overflow: auto;}

#src_main #sub_welcome #news,
#src_main #sub_welcome #potw,
#src_main #sub_welcome #pony_market {display: none !important;}

#src_main #sub_welcome #tour {left: 50px !important; right: 50px !important;}

#src_main #sub_potw .ui-section img[src*=baby] {display: none;}
#src_main #sub_hogc .ui-section img[src*=baby] {display: none;}

#src_community #sub_forums #topics,
#src_community #sub_forums #replies {max-width: inherit;}

#src_contests #sub_contest #arena {display: none;}

#src_ponies #sub_profile #pony {width: 100% !important;}
#src_ponies #sub_profile #inventory .wearing {left: 50px !important; right: 50px !important; width: auto !important;}

/*#src_ponies #sub_nursery #main_content {background-image: none !important;}*/
}

@media (max-width:780px){

header {border-radius: 0;}
#src {padding: 10px 0; border-radius: 0;}
#main_content {border-radius: 0 !important;}

#login fieldset {width: 100px;}

header.logged_in a#logo {display: none;}
header.logged_in nav#main {left: 10px !important; text-align: left !important;}
header.logged_in #ticker {left: 0px !important;}


#src_ponies #sub_stables .ui-tabs-nav li a {width: 180px;}
#src_ponies #sub_stables .ui-tabs-nav img {width: 180px; height: auto;}
#src_ponies #sub_stables .actions {top: 180px !important; left: 240px !important; right: 240px !important;}

}