/* large screens */
@media (min-width: 1930px) {
	.img-circle-wrapper {
		--img-width: 115px;
	}
	
	.img-circle-wrapper-small {
		--img-width: 80px;
	}

	html::before,
	body,
	.borderframe > div:not(.borderframecornerborder-topright):not(.borderframecornerborder-topleft):not(.borderframecornerborder-bottomright):not(.borderframecornerborder-bottomleft) {
		background-image: var(--bg-large);
	}
	
	.hero-border {
		background-image: var(--bg-alt-large);
	}
	
	.wrapper {
		max-width: 1850px;
	}
	
	.content-wrapper {
		max-width: 1550px;
	}
	
	.modal-dialog {
		max-width: 700px;
	}
	
	.modal-dialog.modal-lg {
		max-width: 900px;
	}
	
	.content strong,
	.mycode_b {
		padding: calc(var(--s0) / 2) var(--s0);
	}
	
	.content u,
	.mycode_u {
		text-decoration: none !important;
		border-bottom: calc(var(--ssmall) / 2) solid;
	}
	
	/* index */
	input[type="checkbox"]::before, input[type="radio"]::before {
		font-size: var(--font-xl);
	}
	
	.hero {
		max-width: 750px;
	}
	
	.hero-border {
		max-width: 890px;
		max-height: 890px;
	}
	
	.hero-title {
		font-size: 250px;
	}
	
	.hero-phrase1, .hero-phrase2 {
		font-size: 9px;
	}
	
	.forum-maplink {
		width: 70px;
		height: 70px;
		font-size: 36px;
		right: -200px;
	}
	
	.forum-minimap {
		max-width: 1200px;
	}
	
	.forum.fid-34 .partner > img {
		height: 40px;
	}
	
	.forum-wanted {
		height: 250px;
	}
	
	/* lists */
	.list-characters img {
		width: 60px;
	}
	
	/* postbit + profile */
	
	.profile-wrapper,
	.member-profile-wrapper {
		max-width: 1850px;
	}
	
	.content-left {
		width: 350px;
	}
	
	.profile-wrapper .content {
	  	width: calc(100% - 350px);
	}
	
	.profile-img > img {
		width: 350px !important;
	}
	
	.profile-wrapper .img-circle-wrapper {
		left: calc(350px + var(--s4));
	}
	
	.profile-wanteds img {
		width: 80px;
	}
	
	.smilie {
		width: 35px;
	}
	
	/* forumdisplay wanted */
	
	.wanted-content,
	.wanted-thread > img {
		height: 300px;
	}
	
	.wanted-content:nth-child(3) {
		width: calc(50% - 300px);
	}
}

/* xxl */
@media (max-width: 1399px) {
	
	/* index */
	
	.forum-current {
  		width: calc((100% / 3) * 2);
		order: -1;
		margin-right: calc(100% / 3);
	}
	
	.forum-minimap-desc.fid-6 {
		width: calc(100% / 3);
		order: -1;
	}
	
	.forum-minimap-desc.fid-6 > div {
		width: 100%;
		height: 100%;
		margin: 0;
	}

	.forum-rp {
		width: calc(100% / 3);
	}
	
	.forum.information-current {
		width: 100% !important;
		min-height: unset;
	}
	
	.forum.information-current > div > div:first-child {
		font-size: 100px;
	}
	
	.forum.information-encyclopedia,
	.forum.information-guide {
		width: 50% !important;
		min-height: 100px;
	}
}

/* xl */
@media (max-width: 1199px) {
	
	/* index */
	
	.forum-wanted {
	  	width: 50%;
		order: 2;
		transition: none;
	}
	
	.forum-wanted .forum-wanted-info,
	.forum-wanted .forum-wanted-text {
		transition: none;
	}
	
	.forum-wanted.active {
		width: 100%;
		order: 1;
	}
	
	.forum-ideas-recent,
	.forum-current,
	.forum-cat#community > div {
  		width: 100%;
	}
	
	.forum-minimap-desc.fid-6 {
		display: none;
	}
	
	.forum.fid-22 > .forum-last {
		padding-left: var(--s2);
	}
	
	.forum-species-stats,
	.forum-lists,
	.forum-rp {
		width: 50%;
	}
	
	.information-facts,
	.information-forums {
	  width: 100%;
	}
	
	.information-facts {
		margin-bottom: var(--s3);
	}
	
	/* lists */
	
	.list-job {
		width: 100%;
	}
	
	.list-species {
		width: 100%;
	}
	
	.list-species .list-desc,
	.list-species .list-characters {
		height: 150px;
	}
	
	/* profile */
	
	.content-left {
		width: 100%;
		z-index: 5;
	}
	
	.profile-img {
		position: relative;
		top: 0;
	}
	
	.profile-img > .profile-short {
		left: 250px;
	}
	
	.profile-img > .groupoverlay {
		display: none;
	}
	
	.profile-wrapper .content {
		width: 100%;
	}
	
	.profile-wrapper .img-circle-wrapper {
		top: -40px;
		left: 75px;
	}
	
	.member-profile-wrapper .content-left,
	.member-profile-wrapper .content-alt {
		width: 100%;
	}
	
	.member-profile-wrapper .character {
		width: calc(100% / 3);
	}
	
	/* character overview */
	
	.character {
		width: calc(100% / 3);
	}
	
	/* ad forumdisplay */
	
	.ad-thread {
		width: calc(100% / 3);
	}

	.threadlist > .ad-thread:nth-child(5) {
		margin-top: var(--s2);
	}
	
	/* wanted forumdisplay */
	
	.wanted-content:nth-child(3) {
		width: calc(100% - 200px);
	}
	
	.wanted-content:nth-child(4) {
	  width: 60%;
	}
	
	.threadlist.fid-14 .wanted-content:nth-child(4) {
	  width: 100%;
	}
	
	.wanted-content:nth-child(5) {
	  width: 40%;
	}
	
}

/* lg */
@media (max-width: 991px) {
	
	/* global */
	
	body {
		padding: 0;
	}
	
	.wrapper {
		overflow-x: hidden;
	}

	/* header-footer */

	header,
	footer {
		left: 0;
		right: 0;
		height: auto;
	}
	
	header {
		width: 100vw;
		height: var(--s3);
		top: 0;
		bottom: unset;
		left: var(--s3);
		padding: 0;
		display: flex;
	}
	
	footer {
		position: unset;
		width: 100%;
		top: unset;
		bottom: 0;
		padding: var(--s1) var(--s3);
		margin-bottom: var(--s3);
	}
	
	footer::before {
		z-index: 100;
		left: var(--s2);
		background-position-y: calc((100vh - var(--s3)) * -1);
	}
	
	footer > .copyright {
		display: inline-block;
		transform: none;
		position: unset;
		width: unset;
	}
	
	footer > .footer-buttons {
		position: fixed;
		right: 0;
		bottom: var(--s2);
		width: var(--navbar);
		z-index: 100;
	}
	
	.navbar-expand-lg {
		max-height: 0;
		flex-direction: column;
		gap: var(--s1);
	}
	
	.navbar-expand-lg::before {
		content: "\2261";
		position: absolute;
		margin-top: calc(calc(var(--s3) + var(--s1)) * -1);
		margin-left: calc(var(--s2) * -1);
		cursor: pointer;
		font-size: var(--font-xl);
		padding: var(--s2);
	}
	
	.navbar-expand-lg::before:hover {
		opacity: 0.5;
	}
	
	.navbar-expand-lg:hover {
		max-height: 200vh;
	}
	
	.navbar-expand-lg > ul {
		width: 100% !important;
		overflow: hidden;
	}
	
	.navbar-expand-lg ul h4 {
		padding: var(--s0);
	}
	
	.collapse-menu::after {
		content: unset;
	}
	
	ul#headerMenu {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		padding: 0;
	}
	
	ul#headerMenu > a {
		display: flex;
		justify-content: center;
		align-items: center;
		width: unset;
		margin: 0 var(--s0);
		padding: var(--s0);
		background: var(--dark);
	}
	
	footer > .footer-buttons a,
	footer > .footer-buttons button {
		font-size: var(--font-sm);
	}
	
	.navigation {
		top: var(--s2);
	}
	
	/* index */
	
	.forum-current {
  		width: calc((100% / 3) * 2);
	}
	
	.forum-minimap-desc.fid-6 {
		display: block;
		width: calc(100% / 3);
	}

  	.forum-rp {
		width: calc(100% / 3);
	}
	
	.forum-cat {
		display: flex !important;
		padding: var(--s4);
		min-height: unset;
	}
	
	.hero-wrapper {
		height: 60vh;
	}
	
	.hero {
		width: 30vh;
	}
	
	.hero-title {
		font-size: 70px;
	}
	
	.hero-phrase1, .hero-phrase2 {
		font-size: 5px;
	}
	
	.forum-lists {
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
    	gap: var(--s0);
	}
	
	.forum.information-guide > div:last-child {
		padding: var(--s1);
	}
	
	/* lists */
	
	.list-job,
	.character {
		width: 50%;
	}
	
	/* profile */
	
	.member-profile-wrapper .content-alt > .img-circle-wrapper,
	.profile-wrapper .img-circle-wrapper {
		display: none;
	}
	
	/* ad forumdisplay */
	
	.ad-thread {
		width: 50%;
	}

	.threadlist > .ad-thread:nth-child(4) {
		margin-top: var(--s2);
	}
}

/* md */
@media (max-width: 767px) {
	
	/* global */
	
	h1 {
		font-size: var(--font-xl);
		margin-top: calc(var(--s1) * -1);
	}
	
	.content-wrapper {
		padding: var(--s4) var(--s3);
	}
	
	.content {
		padding: var(--s2);
		line-height: 1.5;
	}
	
	/* index */
	
	.forum-current {
  		width: 100%;
		margin-right: 0;
	}
	
	.forum-minimap-desc.fid-6 {
		display: none;
	}
	
	.forum-rp {
		width: 50%;
	}
	
	.forum-cat {
		padding: var(--s4) var(--s3) 0 var(--s3);
	}
	
	.forum-cat#community-tab > div {
		width: 100%;
	}
	
	/* lists */
	
	.list-job {
		width: 100%;
	}
	
	/* postbit */
	
	.post .post_head {
		padding-left: var(--s4);
	}
	
	.post.self .post_head {
		padding-right: var(--s4);
	}
	
	.post .post_author div.author_avatar {
		top: calc(var(--s0) * -1);
		left: var(--s0);
	}
	
	.post.self .post_author div.author_avatar {
		right: var(--s0);
	}
	
	/* profile */
	
	.member-profile-wrapper .character {
		width: 50%;
	}
	
	/* wanted */
	
	.post_intro .wanted-image {
		width: calc(100% - var(--s4));
		margin-bottom: var(--s3) !important;
	}
	
	.post_intro > .row:nth-child(odd) .wanted-image {
		margin-left: var(--s4);
	}
	
	.post_intro > .row:nth-child(even) .wanted-image {
		margin-right: var(--s4);
		margin-left: 0;
	}
	
	.post_intro > .row > div:not(.wanted-image) {
		height: unset;
	}
	
	.post_intro .scrollable {
		padding: 0;
	}
	
	.post_intro > .row {
		margin-bottom: var(--s3);
	}
}

/* sm */
@media (max-width: 575px) {
	
	/* index */

  	.forum-rp {
		width: 100%;
	}
	
	.forum-wanted.active {
		height: auto;
	}
	
	.forum-wanted.active .forum-wanted-info {
		width: 100%;
	}
	
	.forum-wanted.active .forum-wanted-text {
		position: relative;
		width: 100%;
	}
	
	.forum.information-encyclopedia,
	.forum.information-guide {
		width: 100% !important;
	}
	
	/* lists */
	
	.list-job .list-characters,
	.list-job .list-desc {
		width: 100%;
		height: auto !important;
	}
	
	.list-species.active {
		order: 2;
	}
	
	.list-species .list-characters,
	.list-species.active .list-characters {
		width: 100%;
		height: auto;
	}
	
	.list-species.active .list-desc,
	.list-species .list-desc {
		position: relative;
		width: 100%;
		height: auto;
		left: 0;
	}
	
	.character {
		width: 100%;
	}
	
	/* profile */
	
	.profile-img > .profile-short {
		left: 0;
	}
	
	/* profile */
	
	.member-profile-wrapper .character {
		width: 100%;
	}
	
	/* ad forumdisplay */
	
	.ad-thread {
		width: 100%;
	}

	.threadlist > .ad-thread:nth-child(3) {
		margin-top: var(--s2);
	}
	
	/* wanted forumdisplay */
	
	.wanted-thread > img {
		width: 100%;
		height: 80px;
		object-fit: cover;
	}

	.wanted-content:nth-child(3),
	.wanted-content:nth-child(4),
	.wanted-content:nth-child(5) {
		width: 100%;
		height: auto;
	}
}