/* custom.css */

/* btn */

.btn::before {
	background-image: linear-gradient(180deg, #791818, #4d0b0b);
}

/* widget */

.widget__inner {
	min-height: 22rem;
}

@media (min-width: 540px) {
	.widgets__list {
		max-width: 60rem;
	}
}

/* other */

.wiki-icon-container {
	margin: 10px 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: 400;
	font-size: 1rem;
	color: #cfbca6;
	box-sizing: border-box;
}

.wiki-icon-image {
	vertical-align: middle;
	margin-right: 5px;
	margin-bottom: 4px;
	width: 26px;
	height: 26px;
}

#detach-button-host {
	display: none;
}

.flex-sbc,
.flex-sbs,
.flex-sbe,
.flex-cc,
.flex-cs,
.flex-ce,
.flex-sc,
.flex-ss,
.flex-se,
.flex-ec,
.flex-es,
.flex-ee {
	display: flex;
	flex-wrap: wrap;
}

.flex-sbc,
.flex-sbs,
.flex-sbe {
	justify-content: space-between;
}

.flex-cc,
.flex-cs,
.flex-ce {
	justify-content: center;
}

.flex-sc,
.flex-ss,
.flex-se {
	justify-content: flex-start;
}

.flex-ec,
.flex-es,
.flex-ee {
	justify-content: flex-end;
}

.flex-sbc,
.flex-cc,
.flex-sc,
.flex-ec {
	align-items: center;
}

.flex-sbs,
.flex-cs,
.flex-ss,
.flex-es {
	align-items: flex-start;
}

.flex-sbe,
.flex-ce,
.flex-se,
.flex-ee {
	align-items: flex-end;
}

.text-box {
	font-size: 1rem;
	line-height: 1.5;
	color: #848181;
}

.grey-text {
	color: #848181;
}

@media (max-width: 940px) {
	.text-box {
		font-size: 0.875rem;
		line-height: 1.3;
	}
}

.text-box > *:not(:first-child) {
	margin-top: 0.625rem;
}

.text-box > *:last-child {
	margin-bottom: 0px;
}

.text-box a {
	color: #c3bcb7;
	text-decoration: underline;
	transition: 0.3s ease-in-out;
}

.text-box a:hover {
	color: #ff9d00;
	text-decoration: none;
}

.text-box b {
	font-weight: 600;
	color: #c3bcb7;
}

.text-box h1,
.text-box h2,
.text-box h3,
.text-box h4,
.text-box h5,
.text-box h6 {
	color: #f0e3db;
}

.text-box h1:first-child,
.text-box h2:first-child,
.text-box h3:first-child,
.text-box h4:first-child,
.text-box h5:first-child,
.text-box h6:first-child {
	padding-top: 0px;
}

@media (max-width: 940px) {
	.text-box h1:not(:last-child),
	.text-box h2:not(:last-child),
	.text-box h3:not(:last-child),
	.text-box h4:not(:last-child),
	.text-box h5:not(:last-child),
	.text-box h6:not(:last-child) {
		margin-bottom: -5px;
	}
}

.text-box h1 {
	font-size: 1.625rem;
}

@media (max-width: 940px) {
	.text-box h1 {
		font-size: 1.375rem;
	}
}

.text-box h2 {
	font-size: 1.375rem;
}

@media (max-width: 940px) {
	.text-box h2 {
		font-size: 1.125rem;
	}
}

.text-box h3 {
	font-size: 20px;
}

@media (max-width: 940px) {
	.text-box h3 {
		font-size: 1rem;
	}
}

.text-box h4,
.text-box h5,
.text-box h6 {
	font-size: 1rem;
}

@media (max-width: 940px) {
	.text-box h4,
	.text-box h5,
	.text-box h6 {
		font-size: 0.875rem;
	}
}

.text-box ul {
	width: 100%;
	padding-left: 17px;
	box-sizing: border-box;
}

.text-box ul li {
	color: #a7a2a2;
	font-size: 1rem;
	line-height: 1.5;
}

@media (max-width: 940px) {
	.text-box ul li {
		font-size: 0.875rem;
		line-height: 1.4;
	}
}

.text-box ul li:not(:last-child) {
	margin-bottom: 5px;
}

.text-box hr {
	width: 100%;
	border: none;
	border-top: 1px solid #333;
	margin-top: 20px !important;
	margin-bottom: 20px !important;
}

.text-box img {
	border-radius: 5px;
	max-width: 100%;
}

.spoiler {
	width: 100%;
	height: auto;
	margin: 20px 0px;
}

.spoiler__header {
	width: 100%;
	background: #2d2d2d;
	border-radius: 5px;
	cursor: pointer;
	padding: 18px 20px 15px;
	transition: background 0.3s ease-in-out;
	box-sizing: border-box;
}

@media (max-width: 940px) {
	.spoiler__header {
		padding: 10px;
		box-sizing: border-box;
	}
}

.spoiler__header:hover {
	background: #313131;
}

.spoiler__header:after {
	content: "";
	width: 8px;
	height: 4px;
	background: url("../images/icons/nav_arrow_icon.png") center center no-repeat;
	margin-left: auto;
	position: relative;
	transition: transform 0.3s ease-in-out;
}

.spoiler__header.active:after {
	transform: scale(1, -1);
}

.spoiler__header-title {
	width: calc(100% - 8px);
	padding-right: 15px;
	font-size: 20px;
	line-height: 1.4;
	color: #f0e3db;
	box-sizing: border-box;
}

@media (max-width: 940px) {
	.spoiler__header-title {
		width: calc(100% - 26px - 8px);
		font-size: 1rem;
		line-height: 1;
		padding-right: 10px;
		box-sizing: border-box;
	}
}

.spoiler__header-title span {
	color: #d9c777;
}

.spoiler__content {
	width: 100%;
	background: #272727;
	border-radius: 5px;
	padding: 15px;
	margin-top: 5px;
	display: none;
	box-sizing: border-box;
}

@media (max-width: 940px) {
	.spoiler__content {
		padding: 10px;
		box-sizing: border-box;
	}
}

.table {
	width: 100%;
	margin-top: 15px !important;
	margin-bottom: 20px;
	border-radius: 5px;
	overflow: hidden;
}

.table:first-child {
	margin-top: 0px !important;
}

@media (max-width: 840px) {
	.table {
		border: 1px solid #2f2f2f;
	}
}

.table__tr {
	width: 100%;
	flex-direction: row;
	justify-content: space-around;
	background: #272727;
}

.table__tr:not(:last-child) {
	border-bottom: 1px dotted #3e3e3e;
}

.table__tr:first-child {
	border-bottom: 1px solid #4a4747;
	background: #383636;
}

.table__tr:nth-child(n + 3):nth-child(odd) {
	background: #2d2d2d;
}

@media (max-width: 840px) {
	.table__tr:first-child {
		display: none;
	}
}

.table__tr:first-child .table__td {
	font-weight: 600;
	color: #f0e3db;
	font-size: 1rem;
	line-height: 1;
}

@media (max-width: 940px) {
	.table__tr:first-child .table__td {
		font-size: 0.875rem;
		line-height: 14px;
	}
}

.table__td {
	height: auto !important;
	flex-grow: 1;
	-ms-grid-row-align: stretch;
	align-self: stretch;
	padding: 15px 20px;
	text-align: center;
	color: #848181;
	font-size: 0.875rem;
	line-height: 1.4;
	box-sizing: border-box;
}

@media (max-width: 940px) {
	.table__td {
		font-size: 0.875rem;
		line-height: 1;
		padding: 10px 10px;
		box-sizing: border-box;
	}
}

@media (max-width: 840px) {
	.table__td {
		width: 100% !important;
		text-align: left;
	}
	.table__td:not(:last-child) {
		border-bottom: 1px dotted #3e3e3e;
	}
	.table__td:before {
		content: attr(data-title);
		color: #f0e3db;
	}
}

.table__td:first-child {
	text-align: left;
}

.table__td:last-child {
	text-align: right;
}

@media (max-width: 840px) {
	.table__td:last-child {
		text-align: left;
	}
}

.info-group {
	width: calc(100% + 10px);
	height: auto;
	margin: -5px !important;
}

.info-group:not(:first-child) {
	margin-top: 10px !important;
}

.info-group__box {
	width: 100%;
	-ms-grid-row-align: stretch;
	align-self: stretch;
	margin: 5px;
	padding: 20px;
	background: #272727;
	border-radius: 5px;
	box-sizing: border-box;
}

.info-group__box.box-1-2 {
	width: calc((100% - 20px) / 2);
	margin: 5px;
}

@media (max-width: 740px) {
	.info-group__box.box-1-2 {
		width: 100%;
	}
}

.info-group__box.box-1-3 {
	width: calc((100% - 30px) / 3);
	margin: 5px;
}

@media (max-width: 1240px) {
	.info-group__box.box-1-3 {
		width: 100%;
	}
}

@media (max-width: 940px) {
	.info-group__box.box-1-3 {
		width: calc((100% - 30px) / 3);
	}
}

@media (max-width: 740px) {
	.info-group__box.box-1-3 {
		width: 100%;
	}
}

.info-group__box.box-1-4 {
	width: calc((100% - 40px) / 4);
	margin: 5px;
}

@media (max-width: 1400px) {
	.info-group__box.box-1-4 {
		width: calc((100% - 20px) / 2);
	}
}

@media (max-width: 740px) {
	.info-group__box.box-1-4 {
		width: 100%;
	}
}

.info-group__box-header {
	width: 100%;
	height: 150px;
	border-radius: 5px;
	overflow: hidden;
	margin-bottom: 20px;
}

.info-group__box-header img {
	width: auto;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

.message {
	width: 100%;
	padding: 10px;
	border-radius: 5px;
	box-sizing: border-box;
}

.message.red {
	background: #582e2e;
}

.message.green {
	background: #1e4e3a;
}

.message.yellow {
	background: #524832;
}

.message__icon {
	width: 50px;
	height: 50px;
	position: relative;
	padding-left: 2px;
	box-sizing: border-box;
}

.message__icon:after {
	content: "";
	width: 100%;
	height: 100%;
	background: url("../images/other/border_icon.png") center center no-repeat;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
	opacity: 0.2;
	transition: opacity 0.3s ease-in-out;
}

.message__icon i {
	font-size: 1.125rem;
	line-height: 18px;
}

.message.red .message__icon i {
	color: #ff7c7c;
}

.message.green .message__icon i {
	color: #53d39d;
}

.message.yellow .message__icon i {
	color: #fbd581;
}

.message__info {
	width: calc(100% - 50px);
	padding-left: 10px;
	box-sizing: border-box;
}

.message__info a {
	color: inherit;
}

.message__info a:hover {
	color: #fff;
}

.message.red .message__info {
	color: #ffa5a5;
}

.message.green .message__info {
	color: #77d7ae;
}

.message.yellow .message__info {
	color: #d9c08a;
}

.wiki {
	width: 100%;
	padding: 0px 20px;
	box-sizing: border-box;
}

.full-width {
	width: 100% !important;
}

.wiki__content {
	width: 100%;
	-ms-grid-row-align: stretch;
	align-self: stretch;
	border-radius: 15px;
	background: #1f1f1f;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	pointer-events: none;
}

.wiki__content.active {
	position: relative;
	opacity: 1;
	pointer-events: all;
}

.wiki__content-title {
	width: 100%;
	padding: 15px 20px;
	background: #232323;
	border-bottom: 1px solid #2b2a2a;
	border-radius: 15px 15px 0px 0px;
	box-sizing: border-box;
}

.wiki__content-title-icon {
	width: 50px;
	height: 50px;
	position: relative;
	text-align: center;
	padding-left: 2px;
	box-sizing: border-box;
}

.wiki__content-title-icon:after {
	content: "";
	width: 100%;
	height: 100%;
	background: url("../images/other/border_icon.png") center center no-repeat;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
	transition: opacity 0.3s ease-in-out;
}

.wiki__content-title-icon img {
	width: 32px;
	height: 32px;
	border-radius: 32px;
}

.wiki__content-title-icon i {
	font-size: 1.125rem;
	line-height: 18px;
	color: #ffda84;
}

.wiki__content-title-info {
	width: calc(100% - 50px);
	padding-left: 15px;
	box-sizing: border-box;
}

.wiki__content-title-name {
	width: 100%;
	font-weight: 600;
	color: #f0e3db;
	font-size: 1rem;
	line-height: 1;
	text-transform: uppercase;
	margin-top: 3px;
}

.wiki__content-title-desc {
	width: 100%;
	font-size: 0.875rem;
	color: #656060;
	margin-top: 2px;
}

.wiki__content-main {
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
}

.start {
	width: 100%;
	padding: 20px 20px 0px;
	box-sizing: border-box;
}

.start__box {
	width: calc((100% - 40px) / 3);
	-ms-grid-row-align: stretch;
	align-self: stretch;
	border-radius: 15px;
	background: #1f1f1f;
	position: relative;
	padding: 30px;
	box-sizing: border-box;
}

@media (max-width: 940px) {
	.start__box {
		width: 100%;
	}
	.start__box:not(:last-child) {
		margin-bottom: 30px;
	}
}

.start__box:nth-child(1) {
	background: url("../images/bg/start_1.png") #1f1f1f top center no-repeat;
}

.start__box:nth-child(2) {
	background: url("../images/bg/start_2.png") #1f1f1f top center no-repeat;
}

.start__box:nth-child(3) {
	background: url("../images/bg/start_3.png") #1f1f1f top center no-repeat;
}

.start__box:before {
	content: attr(data-step);
	width: 100px;
	height: 32px;
	background: #ff9c00;
	display: block;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	color: #000;
	font-size: 1rem;
	line-height: 1.5;
	text-transform: uppercase;
	border-radius: 32px;
	position: absolute;
	top: -16px;
	left: calc((100% - 100px) / 2);
}

.start__box-title {
	width: 100%;
	font-weight: 600;
	color: #d6c9c1;
	font-size: 20px;
	line-height: 1.5;
	text-align: center;
	padding-top: 5px;
	box-sizing: border-box;
}

.start__box-sep {
	width: 100%;
	overflow: hidden;
	margin: 15px 0px;
}

.start__box-content {
	width: 100%;
	text-align: center;
}

.start__box-content .button {
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

.start__box-content .button:not(:last-child) {
	margin-bottom: 20px;
}

.start__box-content .reg-button,
.start__box-content .login-button {
	max-width: 250px;
}

.start__box-content-btns {
	margin: 0px;
}

@media (min-width: 940px) {
	.enchant-rate-item {
		width: 50% !important;
	}
	.enchant-rates-table {
		padding-right: 15px;
	}
}
