
/* Rules */
.mobile-visible {
	display: block !important;
}
.mobile-visible-inline {
	display: inline !important;
}
.mobile-visible-inline-block {
	display: inline-block !important;
}
.mobile-hidden, .mobile-hidden-inline {
	display: none !important;
}
.mobile-max-width {
	width: 100% !important;
}
.mobile-max-width img {
	max-width: 100% !important;
	height: auto;
}
.mobile-max-width p {
	margin: 0 0 1em !important;
}

/* Layout */
.container,
.col-main,
table,
table.forum .forum-title a.title,
h1,h2,h3 {
	width: auto !important;
	clear: both;
	margin-right: 0 !important;
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
}

.nav_forum div.section.compact.first {
	padding: 20px !important;
	min-height: 0 !important;
}

input {
	max-width: 93% !important;
	font-size: 16px;
}

input.search {
	max-width: 60% !important;
}

#glitchlog { 
	display: none;
}

.header,
#footer,
.mote-time,
#dev-output,
.section.index,
.col-side,
.sub-menu .text.search,
.sub-contents-inner p[style^="margin"],
#server_message_div,
.dev-menu,
object,
.profile-header .level,
.profile-header img,
#nav-home,
#skills-table,
.dialog img,
.deco {
	display: none !important;
}

#skill_progress {
  margin-top: 27px;
}
#skill_progress .left {
  position: relative;
  top: -40px;
}

.group-menu {
  position: relative;
  top: -4px;
}

#mobile-friends {
	display: block !important;
}

a.login {
	padding-top: 15px;
	font-size: 13px;
	color: #c00;
	right: 10px;
}

.label-section .label-button {
	position: absolute;
	top: 0;
	left: auto;
	right: 10px;
	margin: 1em 0;
}

/* Header */
.logo {
	z-index: 1;
}
.header-player-bar {
	margin: 0;
	border-radius: 0;	
	position: static;
	padding: 0.8em 1em;
	margin-bottom: 2em;
	padding-left: 2em;
	margin-left: -1em;
}
.header-bg-wave {
	top: 57px;	
}
.header-username, .header-currants, .header-imagination {
	font-family: VAGRundschriftD-Lig, 'Arial Rounded MT Light', 'Arial Rounded MT', Arial, sans-serif; font-weight: normal;	font-size: 1.2em;
	line-height: 1em;
	height: 16px;
	display: inline-block;
	margin-right: 0.6em;
}
.header-currants, .header-imagination {
	line-height: 1.5em;
}
.player-account-links {
	top: 1em;
	right: 0.5em;
	z-index: 1;
	background: none;
}
.player-account-links a {
	color: white;
	text-shadow: 0 -1px black;
}
.site-menu {
	float: none;
}
.site-menu ul {
	position: absolute;
	top: 84px;
	left: 0.5em;
	min-width: 313px;
}
.site-menu ul li a {
	color: #005c73;
	text-shadow: none;
	font-size: 1em;
	padding: 0.5em;
}
.nav_groups #nav-groups a, .nav_forum #nav-forum a, .nav_encyclopedia #nav-encyclopedia a, .nav_snaps #nav-snaps a, .nav_help #nav-help a {
	color: white;
	text-shadow: 0 -1px black;
}
.nav_profile .site-menu ul {
	top: 48px;
}


/* Signed Out Header */
#signedout .logo {
	margin-left: 1em;
	z-index: 1;
}
#nav-signup {
	margin-right: 1em;
}
#nav-signup a {
	padding: 8px 12px;
	font-size: 20px;
}
#signedout .site-menu ul {
	float: none;
	position: absolute;
	top: 59px;
	left: 0;
	width: 100%;
}
#signedout .site-menu {
	padding: 0;
	float: none;
	margin-bottom: 2em;
}
#signedout .site-menu ul {
	line-height: 3em;
	padding: 0.5em 1em 0 1em;
	min-width: auto;
}
#signedout .site-menu ul li {
	text-shadow: 0 1px white;
	font-family: VAGRundschriftD-Lig, 'Arial Rounded MT Light', 'Arial Rounded MT', Arial, sans-serif; font-weight: normal;	font-size: 1.15em;
}
#signedout .site-menu ul li a {
	padding: 0.5em 0.5em 0.4em;	
	color: #005c73;
	line-height: 1.4em;
}
.nav_about #signedout #nav-about a, .nav_forum #signedout #nav-forum a, .nav_encyclopedia #signedout #nav-encyclopedia a, .nav_help #signedout #nav-help a {
	border-top-left-radius: 4px; -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px;
 border-top-right-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px;
 border-bottom-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px;
 border-bottom-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px;
	text-shadow: 0 1px white;
}
a.signin_small {
	right: 0.5em;
	padding: 0.35em 0.5em 0.6em;
}


/* About Page */
#about #egg {
	margin-right: -135px;
}
#about #fold {
	background: none;
	padding-top: none;
}
#about .block {
	display: block;
	width: 100%;
}
#about #left,
#about #right {
	float: none !important;
	width: 100% !important;
}

/* Content */
.label-menu h2 {
	border: none;
	margin-bottom: 2px;
}

.label-section .label-menu,
.sub-menu,
.sub-contents,
.sub-contents.sub-contents-narrow,
.header {
	position: relative;
	top: 0;
	left: 0;
	display: block;
	padding: 20px 0;
	width: 100%;
	border: none;
}

.sub-contents-inner {
	width: 100%;
	padding: 0;
}

.sub-menu ul {
	border: none;
}

.sub-menu li,
.sub-menu li a,
.sub-menu li span,
.label-section .label-menu li,
.label-section .label-menu a,
.label-section .label-menu span {
	display: inline-block !important;
	border: none;
	border-radius: 5px;
	font-size: 15px;
}

.sub-menu li a,
.sub-menu li span,
.label-section .label-menu a,
.label-section .label-menu span,
#enc-nav li a,
#enc-nav li.current ul li a {
	margin: 0 2px 6px 0;
	padding: 4px 8px;
}
.sub-menu li a,
.sub-menu li span {
	background: #fff;
	font-weight: bold;
	text-align: center;
	border: 1px solid #ddd;
}

.sub-menu li.current a {
	background: #E9F0F0;
	border-color: #E9F0F0;
	color: inherit;
}

div.label-section h3,
.sub-contents-inner h1 {
	position: relative;
	top: 0;
	left: 0;
	font-size: 16px;
	margin-bottom: 1em;
	width: 100%;
}
div.section,
div.label-section {
	padding: 20px !important;
}

textarea {
	width: 93% !important;
	font-size: 16px;
}

.side-label {
	float: none;
	text-align: left;
	font-size: 15px;
	padding-bottom: 5px;
}
table {
	margin-top: 30px !important;
}

.aside,
.tinytip,
.bigtip {
	display: none !important;
}

ul.badges,
ul.users {
	margin-top: 1em !important;
}

.critical {
  padding: 120px 30px 40px 30px;
}

.profile-header {
	height: auto !important;
}
.skill-item {
	width: 220px !important;
}
.dialog {
	width: 90%;
	left: 0;
	margin: 0;
	position: absolute;
	top: 0;
}
.dialog .area { overflow: visible; max-height: 100%; min-height: auto; height: auto; }
.dialog table {
	margin: 0 !important;
}
.dialog h2 {
	margin-left: 0 !important;
	font-size: 16px;
	margin-right: 50px !important;
}
.dialog-inner h2 span {
	display: block;
	margin-left: -1em !important
}
#skill_remaining {
	right: auto;
	left: 20px !important;
}
#skill_progress .progress {
	margin: 5px 0 !important;
	width: 250px;
}
#skill_complete span {
	font-size: 13px !important;
	display: block;
	padding-top: 10px;
	padding-bottom: 5px;
}

.mobile {
	display: block !important;
}
.mobile_sign_out {
	position: absolute; 
	top: 15px; 
	right: 20px; 
	z-index: 1000;
}

#floating_swf_link { display: none; }

.forum-staff-badge {
	position: relative;
	top: 0;
	left: 0;
	float: right;
	margin: -40px 0 10px 10px;
}

/* Status Permalink Page */
.subnav_status_permalink .section,
.subnav_status_permalink .section.index {
  display: block !important;
}
.subnav_status_permalink div.section.index,
.subnav_status_permalink div.section.index.replies {
  width: 305px;
  padding-left: 10px !important;
  padding-right: 5px !important;
  padding-bottom: 20px !important;
  padding-top: 10px !important;
  margin: 10px auto !important;
}
.subnav_status_permalink .feed {
  width: 305px;
}
.in_reply_to_label,
.liked_by_label, .replies_label {
  width: 320px;
}
.no-replies .section.replies,
.subnav_status_permalink.no-replies .replies_label {
  display: none !important;
}
.mega_status {
  left: -10px;
}
.mega_status .byline {
  margin-left: 10px;
}

.nav_home .label-menu ul {
	margin-bottom: 1em;
	padding-bottom: 1em;
}

* {
    -webkit-transition: none !important;
    transition: none !important;
}

/* Photos */
.photo-index-top {
	border-bottom: none;
}
.photo-index-thumb, .photo-orig-view {
	width: 94%;
	height: auto;
	float: none;
	-moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.6); -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.6); -o-box-shadow: 0px 1px 3px rgba(0,0,0,0.6); box-shadow: 0px 1px 3px rgba(0,0,0,0.6);	border: 10px solid white;
	border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}
.photo-orig-view {
	width: 100%;
	border: none;
}
.photo-frame, .photo-caption-editable {
	width: 100%;
}
.photo-caption, #photo-caption-edit {
	width: 100%;
	margin: 5px 0;
}
.photo-index-row-data {
	margin-left: 0;
	float: none;
}
.photo-index-row {
	margin: 0 -20px;
	padding: 20px 20px 3em;
	background: #EFEFEF;
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #CDCDCD;
}
.photo-index-row:first-child {
	border-top: 1px solid #CDCDCD; /* JR: this doesn't seem to be working, but the syntax looks fine */
}
.photo-index-row-date {
	font-size: 16px;
	padding: 1em 0 0.5em;
	float: none;
	height: auto;
	line-height: 1.5em;
}
.photo-index-row-posting {
	margin: 1em 0 0;
}
.photo-index-row-caption {
	width: 93%;
	clear: left;
	margin-top: 0;
	background: white;
}
#photo-index-caption-edit {
	margin-top: 0;
}
.photo-index-row-posted {
	margin-top: -3px;
}
/* hide delete and share buttons on Mobile */
.photo-index-row-delete,
.photo-index-row:hover .photo-index-row-delete,
.photo-index-row-delete.active,
.photo-index-row-share {
	display: none;
}
.photo-sidebar {
	float: left;
	width: 100%;
	margin: 0 0 2em 0;
}
.photo-nav-thumb {
	width: 115px;
}
.photo-nav-thumb-next, .photo-nav-thumb-prev, .photo-nav-thumb-empty {
	width: 122px;
}
.photo-nav-thumb-empty {
	height: 77px;
	line-height: 77px;
}

/* hide user avatar on comment UI on Mobile */
#photo-add-comment-container .avatar-link {
	display: none;
}
.photo-add-comment-buttons {
	margin-top: 1em;
	margin-left: 0;
}
.photo-add-comment-buttons input {
	padding: 7px 15px;
}
#photo-comment-preview, .photo-comment, #photo-comment-error {
	width: auto;
}
.photo-caption-edit-buttons {
	margin-left: 0;
}
.photo-sizes-top {
	margin-top: 0;
	text-align: center;
	font-size: 14px;
}
.photo-sizes-back {
	position: relative;
}
.photo-sizes-download {
	position: relative;
	top: auto;
}
.photo-sizes-choose {
	margin: 1em 0;
	line-height: 2em;
}
.photo-sizes-choose li {
	display: block;
}
.photo-sizes-choose li:after {
	content: none;
}
.photo-sizes-container {
	margin-bottom: 0;
	padding: 0;
	border-top: none;
}
.photo-sizes-container.thumbnail {
	margin-bottom: 2em;
}
.photo-sizes-container img {
	max-width: 100%;
}

/* Profiles */
.nav_profile .profile-sidebar {
	background: none;
	margin: 2em 0 0;
	min-height: 0;
	padding: 0;
	float: none;
}
.nav_profile .profile-avatar,
.nav_profile .profile-stats,
.nav_profile .profile-stats-block,
.nav_profile .profile-sidebar hr {
	display: none;
}
.nav_profile .profile-actions {
	position: absolute;
	width: 100px;
	right: 12px;
	top: 270px;
}
.nav_profile .profile-mobile-avatar {
	display: block;
	position: absolute;
	right: 0;
	top: 115px;
}
.nav_profile .profile-mobile-avatar img {
	width: 100px;
}
.nav_profile .profile-char-name,
.nav_profile .profile-real-name,
.nav_profile .profile-bio {
	max-width: 65%;
}
.nav_profile .profile-char-name {
	font-size: 24px;
}
.nav_profile .profile-real-name {
	font-size: 18px;
}
.nav_profile .godbar {
	clear: both;
	width: 155px;
	word-wrap: break-word;
}
.nav_profile ul.links {
	margin-left: 0;
}
.nav_profile .profile-content {
	margin-top: 0;
	padding: 2em 0 1em 1em;
	width: 90%;
}
.nav_profile .profile-content-left {
	min-height: 180px;
}
.nav_profile .profile-content-left .twitter {
	clear: left;
	display: block;
	width: 165px;	
}
.nav_profile .profile-content-left,
.nav_profile .profile-content-right {
	width: 100%;
	padding-right: 0;
	margin-bottom: 1em;
}
.nav_profile .profile-visit-home {
	margin: 0 0 1em 0;
	border: none;
	position: relative;
}
.nav_profile .profile-news .feed {
	width: 100%;
	margin-left: 1em;
}
.nav_profile .profile-snaps .photo-thumb {
	margin-bottom: 6px;
}
.nav_profile .profile-friends .users,
.nav_profile .profile-section {
	width: 100%;
}
.nav_profile .profile-friends .users li {
	padding: 0 15px 52px;
}
.nav_profile .profile-edit {
	float: none;
	display: inline-block;
}
.profile-visit-home {
	display: none;
}
p.temporary-notification {
	width: 75%;
}

/* Friends */
.breadcrumb,
.view-mode,
.friends-list .friend-buttons,
.friend-table-location,
.friend-table-visit,
#player_search_avatar,
#player_search input[type="submit"] {
	display: none;
}
.column.left,
.column.right {
	width: 100% !important;
	float: left;
}
#friend-filter {
	max-width: 86% !important;
}
.friends-list .friend-wrapper,
.friends-list.list .friend-wrapper {
	width: 100%;
}
.friends-online-list {
	margin-left: 1em;
}
.friends-list .friend-name,
.friends-list.list .friend-name {
	margin-top: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 190px;
	overflow: hidden;
	line-height: 24px;
}
.friend-table-name {
	width: 200px;
}
.friends-table.two-column {
	width: 100%;
	float: none;
	margin: 0 !important;
}
.friends-table.two-column.right-aligned {
	float: none;
	margin: 0 !important;
}
.friends-table td {
	padding-right: 0;
}
.friends-table td:last-child {
	padding-right: 1em;
}
.friends-table .friend-name {
	font-size: 16px;
}
#player_search input[type="text"] {
	max-width: 86% !important;
	margin: 0;
}
.friends-table {
	margin-top: 0 !important;
}

/* Encyclopedia */
#enc-nav li ul li {
	margin-left: 0;
}
#enc-nav li.current ul li a {
	border-radius: 4px;
}
#enc-search {
	width: 66%;
	margin: 0.5em 1em 0 2em;
}

/* Downloads */
.wallpaper, .wallpaper-large {
	margin: 0 0 1em;
	padding: 6px;
	max-width: 264px;
}
.wallpaper-thumb {
	width: 264px;
}
.label-section h3 {
	font-size: 20px;
}
.audio {
	margin: 0 0 1em;
}
.audio-share {
	margin: -0.5em 0 0 0;
	float: right;
}
.wpaudio-container,
.ringtone .wpaudio-container {
	width: 260px !important;
}
.wpaudio-container div.wpaudio-bar,
.ringtone .wpaudio-container div.wpaudio-bar {
	width: 220px !important;
}
.wpaudio-meta,
.ringtone .wpaudio-meta {
	width: 214px;
}

/* Closing Pages */
.mobile-max-width ol {
	margin: 0 0 1em !important;
	padding-left: 20px;
}
.mobile-max-width h1 {
	font-size: 24px;
	line-height: 32px;
}
.mobile-max-width h2 {
	font-size: 24px;
	margin-left: 0;
}
.mobile-max-width h4 {
	margin-left: 0;
}
.mobile-max-width p.label {
	margin: 1em 0 1.5em !important; 
	width: 100%;
}
.mobile-max-width label {
	line-height: 18px;
}

/* Hiring Page */
.section.first.mobile-hiring,
.section.last.mobile-hiring {
	display: none;
}
.mobile-hiring .employee img {
	position: relative;
	top: auto;
	left: auto;
	margin-bottom: 1em;
}
.mobile-hiring .employee {
	padding-left: 1em;
}
.mobile-hiring .employee div {
	width: 100% !important;
}
.mobile-hiring .employee p strong {
	width: auto;
}
.mobile-hiring .employee p span {
	display: inline;
	max-width: none;
}