@media all and (max-width: 601px) {
	body {
		min-width: auto;
	}

	#main-header-wrapper {
		min-width: auto;
		position: fixed;
		box-shadow: 0 0 10px rgba(0,0,0,0.8);
	}

	#main-header-content {
		width: auto;
	}

	#main-menu {
		display: none; /* ???  */
	}

	#main-user-menu .menu-item.icon {
		scale: 0.8;
	}

	#main-user-menu .menu-item.icon > a {
		width: 36px;
	}

	#main-user-menu .mobile-menu-btn {
		display: block;
	}










	#main-user-menu .user-menu {
		display: none;
	}

	body.mobile-menu-active #main-user-menu .mobile-menu-btn {
		background: #3c5673db;
	}

	#main-user-menu .mobile-menu-btn a:after {
		content: ' \2630';
		display: inline-block;
		vertical-align: middle;
		font-size: 16px;
	}

	body.mobile-menu-active #main-mobile-menu {
		display: block;
	}
	body.mobile-menu-active {
		overflow: hidden;
	}

	#main-mobile-menu {
		display: none;
		position: fixed;
		top: 110px;
		background: #172740;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1000;
	}

	#main-mobile-menu > ul li.menu-item {
		display: block;
		float: none;
		position: static;
		height: auto;
		padding: 0;
	}
	#main-mobile-menu > ul li.menu-item > a {
		font-size: 14px;
		padding: 5px 10px;
		line-height: normal;
		display: block;
		color: white;
		text-decoration: none;
		padding: 10px;
		font-weight: bold;
		border-bottom: 1px solid #3e4464;
	}
	
	#main-mobile-menu .sub-menu,
	#main-mobile-menu .sub-menu-item.has-sub-menu .sub-menu {
		display: none;
		float: none;
		width: auto;
		position: static;
		box-shadow: none;
		background: rgba(0,0,0,0.1);
		padding: 0;
		box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
	}

	#main-mobile-menu .menu-item.active .sub-menu,
	#main-mobile-menu .menu-item.active .sub-menu-item.has-sub-menu .sub-menu {
		display: block;
	}

	#main-mobile-menu .sub-menu-item.has-sub-menu .sub-menu {
		padding-left: 15px;
	}
	#main-mobile-menu .sub-menu-item.has-sub-menu > a::after {
		display: none;
	}
	#main-mobile-menu .sub-menu-item.has-sub-menu > a {
		background: rgba(0,0,0,0.1);
		font-weight: bold;
		cursor: default;
		border-bottom: 1px solid #333c4d;
		background: #151c28c4;
	}
	
	#main-mobile-menu ul {
		list-style: none;
		margin: 0;
		padding: 0;
		overflow-y: auto;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
	#main-mobile-menu .sub-menu li.sub-menu-item > a {
		color: white;
		text-decoration: none;
		padding: 10px;
		display: block;
	}
		
	#main-mobile-menu .sub-menu .sub-menu-item:nth-child(2n) {
		background: rgba(255, 255, 255, 0.02);
	}














	#user-stats-bar {
		width: auto;
		height: 25px;
		padding-bottom: 5px;
	}

	#user-stats-bar ul {
		display: flex;
		/* padding: 0 6px; */
		padding: 5px 6px 0 6px;
	}
	#user-stats-bar ul > li {
		float: none;
		flex-grow: 1;
	}

	#user-stats-bar .stats-item {
		margin: 0px 10px 0px 0;
	}
	
	#user-stats-bar .stats-item.turns {
		margin-right: 0;
	}

	#user-stats-bar .stats-item.time,
	#user-stats-bar .stats-item.points,
	#user-stats-bar .stats-item.events,
	#user-stats-bar .search-box /*,
	#user-stats-bar .stats-item.level*/ {
		display: none;
	}
	#user-stats-bar .stats-item.experience .exp,
	#user-stats-bar .stats-item.experience .percent:before,
	#user-stats-bar .stats-item.experience .percent:after { display: none; }


	/* When menu is open, expand stats bar to two rows, show more stats. */
	body.mobile-menu-active #user-stats-bar {
		height: 55px;
		/* padding-bottom: 5px; */
	}
	body.mobile-menu-active #user-stats-bar ul {
		/* padding: 5px 6px 0 6px; */
		flex-wrap: wrap;
	}
	body.mobile-menu-active #user-stats-bar .stats-item.time,
	body.mobile-menu-active #user-stats-bar .stats-item.points {
		display: block;
	}


	#main-wrapper {
		margin-bottom: -77px;
	}

	#main-footer {
		display: none;
	}

	#page-wrapper {
		padding-top: 62px;
		padding-bottom: 64px;
	}

	#page-content {
		width: auto;
	}

	#tagline-bar {
		width: auto;
	}


	/* style_ui.css
	----------*/
	.ui-widget-wrapper.three-column,
	.ui-widget-wrapper.two-column {
		display: block;
	}
	.ui-widget-wrapper.three-column .column,
	.ui-widget-wrapper.two-column .column {
		display: block;
		width: auto;
	}
	.ui-widget-wrapper.three-column .column.middle,
	.ui-widget-wrapper.two-column .column.right {
		padding: 0;
	}

	.ui-widget-box:last-child {
		margin-bottom: 10px;
	}

	.ui-advert-box {
		display: none;
	}

	.ui-page-nav-bar:after,
	.ui-page-nav-bar .breadcrumbs:after,
	.ui-page-nav-bar .options-menu:after {
		content: '';
		display: block;
		clear: both;
	}
	.ui-page-nav-bar {
		height: auto;
	}
	.ui-page-nav-bar .breadcrumbs {
		float: none;
	}
	.ui-page-nav-bar .options-menu {
		float: none;
		margin-top: 0;
		border-top: 1px solid #d2d2d2;
	}
	.ui-page-nav-bar .options-menu li.dropdown > ul {
		left: 0;
		right: auto;
	}
	.ui-page-nav-bar .status-text {
		white-space: initial;
		float: none;
		line-height: normal;
		text-align: center;
		box-sizing: border-box;
		padding: 10px 8px;
		border-top: 1px solid #d2d2d2;
	}

	.ui-modal.basic {
		max-width: 100%;
		min-width: 200px;
	}

	#frp-tooltip {
		max-width: 300px;
	}

	.ui-page-nav-bar .breadcrumbs > li:nth-child(3) {
		line-height: normal;
		padding-top: 12px;
		padding-bottom: 11px;
		min-height: 15px;
	}
	.ui-page-nav-bar .breadcrumbs > li:nth-child(3):after {
		display: none;
	}

	.ui-widget-wrapper.two-column.half-page-ad-right .column.right,
	.ui-widget-wrapper.two-column.sidebar-right .column.right {
		width: auto;
	}

	/* pages/armoury.css
	----------*/
	#armoury-wrapper .search-results-table th.type,
	#armoury-wrapper .search-results-table td.type {
		display: none;
	}

	/* pages/board.css
	----------*/
	#board-wrapper .board-category .latest-reply,
	#board-wrapper .board-category .total-threads,
	#board-wrapper .board-category .total-posts {
		display: none;
	}

	/* pages/board_forum.css
	----------*/
	#board-wrapper .board-forum .total-views,
	#board-wrapper .board-forum .latest-reply,
	#board-wrapper .board-forum .total-posts {
		display: none;
	}
	#board-wrapper .board-forum .thread-details h2 {
		font-size: 14px;
	}
	#board-wrapper .board-forum .ui-toolbar.bottom select[name="action"] {
		width: 40%;
	}

	/* pages/board_thread.css
	----------*/
	#board-thread-wrapper .post-box .player-card {
		float: none;
		width: 100%;
		box-sizing: border-box;
	}
	#board-thread-wrapper .post-box .message {
		float: none;
		width: 100%;
		box-sizing: border-box;
	}
	#board-thread-wrapper .post-box .player-card .avatar {
		width: 50px;
		height: 50px;
	}
	#board-thread-wrapper .post-box .player-card .level {
		display: none;
	}

	/* pages/board_post.css
	----------*/
	#board-post-wrapper .smilies {
		display: none;
	}
	#board-post-wrapper .compose {
		float: none;
		width: auto;
	}
	#board-post-wrapper #chkSrcbody,
	#board-post-wrapper label[for="chkSrcbody"],
	#board-post-wrapper .rteBack {
		display: none;
	}
	#board-post-wrapper #body {
		width: 100%;
	}

	/* pages/player.css
	----------*/
	#player-profile-wrapper .main-wrapper {
		height: auto;
	}

	#player-profile-wrapper .avatar-wrapper {
		padding: 16px 0 10px 0;
	}

	#player-profile-wrapper .main-wrapper > .avatar-section {
		padding-bottom: 10px;
	}

	#player-profile-wrapper .main-wrapper > .avatar-section,
	#player-profile-wrapper.preferred .main-wrapper > .avatar-section {
		float: none;
		width: auto;
		margin-bottom: 10px;
		height: auto;
	}

	#player-profile-wrapper .main-wrapper > .overview-section {
		float: none;
		width: auto;
		height: auto;
	}
	#player-profile-wrapper .ally-enemy-box,
	#player-profile-wrapper .equipped-items {
		width: auto;
	}

	#player-profile-wrapper .main-wrapper > .overview-section .additional-stats {
		position: static;
	}
	#player-profile-wrapper .main-wrapper > .overview-section .additional-stats > ul {
		position: static;
		width: auto;
		display: block;
	}

	#player-profile-wrapper .main-wrapper > .overview-section .badge-skill {
		height: auto;
	}
	#player-profile-wrapper .main-wrapper > .overview-section .badge-skill .badges {
		float: left;
	}

	#player-profile-wrapper .all-stats .stats {
		column-count: 2;
	}

	#player-profile-wrapper .attributes-box {
		position: static;
		width: 100%;
	}

	#player-profile-wrapper .mastery-wrapper {
		position: static;
	}
	#player-profile-wrapper .mastery-wrapper .mastery:after,
	#player-profile-wrapper .level-progress-wrapper:after {
		content: '';
		clear: both;
		display: block;
	}

	#player-profile-wrapper .main-wrapper > .overview-section .credits {
		position: static;
	}

	#player-profile-wrapper .medals-box .medals ul {
		width: auto;
	}

	/* pages/ranking_main.css
	----------*/
	#ranking-main-wrapper .main-section {
		padding: 0;
		background: none;
	}
	#ranking-main-wrapper .leaderboard-box {
		float: none;
		width: auto;
		margin: 0 0 9px 0;
		min-height: auto;
	}
	#ranking-main-wrapper .leaderboard-box:last-child {
		margin-bottom: 0;
	}

	/* pages/world_npc.css
	----------*/
	#world-npc-wrapper .npc-widget-wrapper-top .column.left {
		width: auto;
	}
	#world-npc-wrapper .interaction-section table.about {
		width: 100%;
	}

	/* pages/attack.css
	----------*/
	#attack-wrapper .ui-widget-wrapper .column.left,
	#attack-wrapper .launch-attack-box > form {
		width: auto;
	}

	/* pages/raid_create.css
	----------*/
	#raid-create-wrapper .ui-widget-wrapper .column.left,
	#raid-create-wrapper .create-raid-box > form {
		width: auto;
	}

	/* pages/captcha.css
	----------*/
	#captcha-wrapper .captcha-box {
		width: auto;
	}

	/* pages/inventory.css
	----------*/
	#backpack-wrapper .column.left {
		width: auto;
	}
	#backpack-wrapper .get-more { 
		display: none;
	}

	/* pages/bounty_list.css
	----------*/
	#bounty-list-wrapper .column.left {
		width: auto;
	}

	/* pages/link.css
	----------*/
	#link-wrapper .screenshot-section .screenshot {
		float: none;
		width: auto;
		margin: 0 0 10px 0;
	}
	#link-wrapper .screenshot-section .screenshot:last-child {
		margin-bottom: 0;
	}
	#link-wrapper .main-content-row .column.left {
		width: auto;
	}
	#link-wrapper .main-content-row .message-box {
		height: auto;
	}

	/* pages/player_home.css
	----------*/
	#player-home-wrapper .ui-widget-wrapper.two-column .column.left {
		width: auto;
	}
	#player-home-wrapper .attributes-section .avatar-box {
		float: none;
		width: auto;
	}
	#player-home-wrapper .attributes-section .attributes-box {
		float: none;
		width: 100%;
		margin: 33px 30px 10px 0;
		background: transparent;
	}
	#player-home-wrapper .ui-widget-wrapper.two-column .column.right {
		width: auto;
	}

	#player-home-wrapper .login-streak-section > .content {
		display: block;
	}
	#player-home-wrapper .login-streak-section .value-box {
		padding: 0 10px;
		display: inline-block;
	}
	#player-home-wrapper .login-streak-section .message {
		padding: 0 10px;
		font-size: initial;
	}

	/* pages/guild.css
	----------*/
	#guild-profile-wrapper .main-wrapper {
		height: auto;
	}

	#guild-profile-wrapper .ui-widget-wrapper.two-column.member-desc .column.left {
		width: auto;
	}

	#guild-profile-wrapper .avatar-wrapper {
		padding: 16px 0 10px 0;
	}

	#guild-profile-wrapper .main-wrapper > .avatar-section {
		padding-bottom: 10px;
	}

	#guild-profile-wrapper .main-wrapper > .avatar-section,
	#guild-profile-wrapper.preferred .main-wrapper > .avatar-section {
		float: none;
		width: auto;
		margin-bottom: 10px;
		height: auto;
	}

	#guild-profile-wrapper .main-wrapper > .overview-section {
		float: none;
		width: auto;
		height: auto;
	}
	/* #guild-profile-wrapper .ally-enemy-box,
	#guild-profile-wrapper .equipped-items {
		width: auto;
	} */

	#guild-profile-wrapper .main-wrapper > .overview-section .additional-stats {
		position: static;
	}
	#guild-profile-wrapper .main-wrapper > .overview-section .additional-stats > ul {
		position: static;
		width: auto;
		display: block;
	}

	/* #guild-profile-wrapper .main-wrapper > .overview-section .badge-skill {
		height: auto;
	}
	#guild-profile-wrapper .main-wrapper > .overview-section .badge-skill .badges {
		float: left;
	} */

	#guild-profile-wrapper .all-stats .stats {
		column-count: 2;
	}

	#guild-profile-wrapper .attributes-box {
		position: static;
		width: 100%;
	}

	/* #guild-profile-wrapper .mastery-wrapper {
		position: static;
	}
	#guild-profile-wrapper .mastery-wrapper .mastery:after,
	#guild-profile-wrapper .level-progress-wrapper:after {
		content: '';
		clear: both;
		display: block;
	} */

	#guild-profile-wrapper .main-wrapper > .overview-section .credits {
		position: static;
	}

	/* #guild-profile-wrapper .medals-box .medals ul {
		width: auto;
	} */



	
	#guild-profile-wrapper .main-wrapper > .overview-section .upgrades {
		position: static;
		width: auto;
		margin: 10px 0;
	}

	#guild-profile-wrapper .ui-widget-wrapper.two-column.member-desc .column.left {
		width: auto;
	}
	#guild-profile-wrapper .description-box .container {
		max-width: auto;
		min-height: 50px;
	}

	/* pages/guild_manage.css
	----------*/
	#guild-dash-wrapper > .ui-widget-wrapper > .column,
	#guild-dash-wrapper .main-content-box {
		width: auto;
	}

	/* pages/place_list.css
	----------*/
	#place-list-wrapper .quick-launch-section .quick-launch {
		float: none;
		width: auto;
		margin-right: 0;
		margin-bottom: 10px;
	}
	#place-list-wrapper .ui-widget-wrapper .column.right {
		width: auto;
	}

	/* pages/world.css
	----------*/
	#world-wrapper .main-section {
		height: auto;
	}
	#world-wrapper .main-section .column.navigation {
		float: none;
		width: auto;
		padding: 10px 0;
	}
	#world-map-viewport {
		margin-top: 0;
	}
	#world-wrapper .main-section .column.tile-contents {
		float: none;
		width: auto;
		height: 338px;
		margin-top: 10px;
	}
	#world-wrapper .bottom-widgets .column.left {
		width:auto;
	}
	#world-wrapper .bottom-widgets .active-quests-widget .repeatable {
		padding: 0;
		font-size: 0;
		width: 0;
	}

	/* pages/casino_lottery.css
	----------*/
	#casino-lottery-wrapper .jackpot-section {
		font-size: 46px;
	}
	#casino-lottery-wrapper .jackpot-section > .value {
		width: 100%;
		top: 63%;
		right: 0;
	}
	#casino-lottery-wrapper .jackpot-section > .label {
		top: 29%;
	}

	/* pages/casino_credmul.css
	----------*/
	#casino-credmul-wrapper .jackpot-section {
		font-size: 38px;
	}
	#casino-credmul-wrapper .jackpot-section > .value {
		width: 100%;
		top: 63%;
		right: 0;
		font-size: 48px;
	}
	#casino-credmul-wrapper .jackpot-section > .label {
		top: 29%;
	}

	/* pages/casino_raffle.css
	----------*/
	#casino-raffle-wrapper .jackpot-section {
		font-size: 46px;
	}
	#casino-raffle-wrapper .jackpot-section > .value {
		width: 100%;
		top: 63%;
		right: 0;
	}
	#casino-raffle-wrapper .jackpot-section > .label {
		top: 29%;
	}

	/* pages/mail.css
	----------*/
	#mail-wrapper .mail-table .icon, 
	#mail-wrapper .mail-table .date {
		display: none;
	}
	#mail-wrapper .mail-table col.name {
		width: 78px;
	}
	#mail-wrapper .mail-table .name {
		word-wrap: break-word;
	}
	#mail-wrapper .mail-box {
		min-height: auto;
	}

	/* pages/mail_compose.css
	----------*/
	#mail-compose-wrapper .compose {
		float: none;
		width: auto;
	}
	#mail-compose-wrapper #body {
		width: 100%;
	}
	/* #mail-compose-wrapper .sceditor-container:not(sceditor-maximize) {
		width: auto !important;
	} */

	/* pages/attack_log.css
	----------*/
	#attack-log-wrapper .result-table colgroup col.bounty {
		width: 13%;
	}
	#attack-log-wrapper .result-table colgroup col.result {
		width: 16%;
	}
	#attack-log-wrapper .result-table colgroup col.date,
	#attack-log-wrapper .result-table .date {
		width: 0;
		overflow: hidden;
		font-size: 0;
		padding: 0;
	}

	/* pages/hall_of_fame.css
	----------*/
	#hall-of-fame-wrapper .main-section {
		background: none;
		min-height: auto;
		padding: 0;
	}

	/* pages/gallery_album.css
	----------*/
	#gallery-album-wrapper .ui-widget-wrapper .left,
	#gallery-album-wrapper .ui-widget-wrapper .right {
		width: auto;
	}
	#gallery-album-wrapper .images-box .image-grid {
		column-count: 2;
	}
	#gallery-album-wrapper .options-menu .ui-select[name="action"] {
		width: 150px;
	}

	/* pages/player_browse.css
	----------*/
	#player-browse-wrapper .player-browser-table .guild,
	#player-browse-wrapper .player-browser-table .options {
		display: none;
	}

	/* pages/guild_browse.css
	----------*/
	#guild-browse-wrapper .guild-browser-table .cash {
		display: none;
	}

	/* pages/attack_result.css
	----------*/
	#attack-result-wrapper .attack-results-box .opponent-box {
		width: 45%;
	}
	#attack-result-wrapper .attack-results-box .versus-box {
		width: auto;
	}
	#attack-result-wrapper .attack-results-box .opponent-box .avatar > img {
		max-width: calc(100% - 10px);
		max-height: calc(150px);
	}
	#attack-result-wrapper .attack-results-box .opponent-box .avatar {
		height: 182px;
		line-height: 182px;
	}
	#attack-result-wrapper .attack-results-box .opponent-box > .name {
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
	}
	#attack-result-wrapper .attack-results-box .strike-status-box {
		width: 100%;
	}
	#attack-result-wrapper .attack-results-box .result-box {
		width: 100%;
	}
	#attack-result-wrapper .attack-results-box {
		min-height: 560px;
		padding: 19px 7px 10px 7px;
	}

	/* pages/admin_dash.css
	----------*/
	#admin-dash-wrapper .main-content-box,
	#admin-dash-wrapper > .ui-widget-wrapper > .column {
		width: auto;
	}

	/* pages/wb_map_edit.css
	----------*/
	#wb-map-edit-wrapper .column.left {
		width: auto;
	}

	/* components/in_page_chat.css
	----------*/
	/* #in-page-chat-wrapper {
		display: none;
	} */
}
