/********************************* Widths ***************************************/

@media (max-width: 1070px) {
	body,
	#top,
	.dash-content-left, .dash-content-right,
	.profileTopBlock, .profileMiddleBlock,
	.statsChartSmall,
	.pokehubSmallBox, .pokehubMidBox,
	#clanNoticeForm input, #clanNoticeForm textarea {
		width: 100%;
	}
	#top {
		min-width: 0;
		margin-right: 0px;
	}
	#content {
		padding: 5px 5px 0px 35px;
	}
	.corner-banner.most-recent {
		margin-left: 32px;
	}
	#viewPromo,
	#rotmInfo {
		left: 60px;
	}
	#disclaimer-container {
		display: flex;
		padding-left: 25px;
	}
	#collapse-footer, #footer-logo,
	#msgLink, #clanLink, #tradeLink,
	#pokemartCart {
		display: none;
	}
	#martStock {
		float: none;
		width: 100%;
	}
	#contentad {
		padding: 10px 10px 0px 40px;
	}
	#tab-cart-totalPrice, #tab-cart-yourCash, #items-header-cart {
		display: block;
	}
	#tab-cart {
		display: table;
	}
}

@media (max-width: 940px) {
	.fuseEvoRow {
		flex-direction: column;
	}
	.evoPlus {
		flex-direction: row;
	}
	.fuseEvoRow .evoArrowsRight {
		display: none;
	}
	.fuseEvoRow .evoArrowsDown {
		display: flex;
	}
}


@media (max-width: 775px) {
	.evoRow {
		flex-direction: column;
	}
	.evoArrowsRight {
		display: none;
	}
	.evoArrowsDown {
		display: flex;
	}
	#battleScene {
		width: 100%;
	}
	#inboxContainer {
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	#messageList {
		height: 300px;
		min-width: 100%;
		max-width: 100%;
		border-right: unset;
		border-bottom: 2px solid var(--maroon);
	}
}



@media (max-width: 755px) {
	#nav {
		margin-right: 0 !important;
	}
}



@media (max-width: 735px) {
	.itemBuyCol, .itemSellCol {
		display: none;
	}
	.itemPicCol {
		width: 50px;
	}
	.itemNameCol {
		text-align: center;
	}
	.tooltip {
		display: block;
	}
	.popup-wrapper {
		width: calc(100vw - 30px);
	}
	.popup-content {
		width: calc(100vw - 50px);
	}
	#calendar-content>.popup-wrapper>.popup-content {
		align-content: stretch;
		display: flex;
		justify-items: anchor-center;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: center;
	}
	.calendar {
		padding-left: 0;
		margin-bottom: 10px;
	}
	.loginStats {
		padding-right: 0;
		width: 100%;
		max-width: 360px;
	}
	#leave {
		margin: 0px 0px 0px 0px;
	}
}



@media (max-width: 715px) { /* Side tabs */
	#sidebarContainer {
		width: calc(100vw - 35px);
	}
	#sidebar {
		left: calc(-1 * calc(100vw - 35px));
		width: 100vw;
	}
}

@media (min-width: 436px) and (max-width: 700px) {
	#logo {
		display: none;
	}
}


@media (max-width: 695px) {
	.tradeListedCol, .tradeLvlCol {
		display: none;
	}
}



@media (max-width: 650px) {
	.longNumber, .longVariant, .dexNumber, .dexClose {
		display: none;
	}
	.shortNumber, .shortVariant {
		display: block;
	}
	#battleView, #itemView {
		width: 100%;
		float: unset;
		
	}
}

@media (max-width: 630px) {
	#changeTeamContainer {
		flex-direction: column-reverse;
	}
	#changeTeamMiddle {
		flex-direction: row;
		margin: 10px 0px 10px 0px;
		max-width: 100%;
	}
	#changeTeamOptions {
		justify-content: center;
	}
	#currentTeam, #boxPokemon {
		height: 350px;
	}
	#switch-h {
		display: none;
	}
	#switch-v {
		display: block;
	}
	.changeTeamSeparator {
		height: 2px;
		width: 100px;
	}
	#startAuctionContainer,
	#sendGiftContainer {
		flex-direction: column;
	}
	#sendGiftLeft, #sendGiftRight,
	#dailyChallengeContainer, #discordQuizContainer {
		width: 100%;
	}
	#startAuctionSelect,
	#sendGiftSelect {
		height: 340px;
	}
}
#releaseAttacks,
#releaseStats {
	width: 200px;
}
@media (max-width: 600px) {
	#footer-social, .clanPicCol, #releaseAttacks, #releaseStats {
		display: none;
	}
	.battleSearchBlock, .sqBlock,
	#viewClanInfo, #viewClanSettings {
		width: 100%;
	}
	#viewClanTop {
		flex-direction: column;
	}
}

@media (max-width: 570px) {
	#news-button,
	.lottoNumsCol,
	.highBidCol {
		display: none;
	}
	#news-link {
		display: block;
	}
	.tabTeamSlot {
		width: 100%;
	}
	.tabTeamData {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		width: 90%;
	}
	#viewAuctionTop {
		flex-direction: column;
	}
	#viewAuctionLeft, #viewAuctionRight {
		width: 100%;
		height: auto;
	}
}

@media (max-width: 560px) {
	.pkmnListAttacks, .mr-ball, .mr-id, .mr-lvl, .pkmnBig {
		display: none;
	}
	.pkmnSmall {
		display: block;
	}
	.pkmnPicCol {
		width: 45px;
	}
	.pendingGift {
		width: 100%;
	}
}

@media (max-width: 525px) {
	#logout, .seasonStats {
		display: none;
	}
	#sub-logout {
		display: block;
	}
	#releaseSubOptions, #releaseOptions {
		justify-content: center;
	}
	#dexEntryInfoContainer {
		flex-direction: column;
	}
	.dexEntryStats, .dexEntryInfo {
		width: 100%;
	}
}

@media (max-width: 500px) {
	.battle-poke-select, .battle-poke-selected {
		width: 160px;
	}
	.bidsCol, .durationCol,
	.clanStatusCol {
		display: none;
	}
}

@media (max-width: 470px) {
	.leaderboardClanTag, .experienceCol, .winLossCol, .countryCol, #footer-service, #footer-wiki {
		display: none;
	}
	.expCol, .wlCol {
		display: table-cell;
	}
	.article-thumbnail {
		width: 135px;
	}
	.dash-news-details {
		padding: 50px 0px 0px 0px;
	}
}

@media (max-width: 460px) {
	.dexName, .dexTypes,
	.clanMembersCol, .cbBig {
		display: none;
	}
	.cbShort {
		display: block;
	}
	#viewAllPkmnOptions {
		justify-content: flex-end;
	}
	.pkmnListInfo {
		max-width: 130px;
	}
	#profileStats, #profileSocial,
	#listPkmn, #listItem, #listAvatar, #listPromo, #listStats, #listOptions {
		width: 100%;
	}
	.achievementEarned {
		font-size: 15px;
		top: 5px;
		right: 5px
	}
	.achievement {
		padding: 5px 10px 5px 10px;
	}
}

@media (max-width: 435px) {
	.menu {
		display: none;
	}
	.menu, .submenu {
		flex-direction: column;
		width: 100%;
		text-align: center;
	}
	.submenu {
		border-left: unset;
		border-right: unset;
		border-bottom: unset;
		position: relative;
	}
	.menu li {
		position: unset;
	}
	.menu li.main {
		background-color: unset;
		margin-left: unset;
		margin-right: unset;
		border-top-right-radius: unset;
		border-top-left-radius: unset;
		width: 100%;
	}
	.menu li:hover > .submenu {
		display: none;
	}
	.menu li.main:not(:last-child) {
		border-bottom: 1px solid #00000096;
	}
	#menu-toggle:checked ~ .menu {
		display: flex;
	}
	#menu-toggle:not(:checked) ~ .submenu {
		display: none;
	}
	.burger {
		display: block;
	}
	.menu li.expanded > .submenu {
		display: contents;
	}
	.sideDexPoke {
		width: 95%;
	}
	.pkmnGridItem,
	.recentListing {
		width: 98%;
	}
	#disclaimer-container {
		height: 200px;
	}
}

@media (max-width: 425px) {
	.calendar, .seasonTrophy, .trainingAccAvCol,
	.ticketNumCol,
	.sellerCol {
		display: none;
	}
	.seasonPlace {
		font-size: 25px;
	}
}

@media (max-width: 400px) {
	.battle-poke-select, .battle-poke-selected {
		width: 95%;
	}
}

/*************************** Heights **************************/

/*@media (max-height: 500px) {
	ul#sidebarTabs {
		padding-top: 0px;
	}
}*/
