:root {
	--dzc-primary: #00bf8f;
	--dzc-secondary: #FDC830;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
}

html {
    position: relative;
    height: auto !important;
    min-height: 100% !important;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-size: 16px;
}

footer {
	width: 100%;
	display: block;
	background-color: #1c2933;
	padding: 22px 0 22px 0;
	color: #FAFAFA;
	overflow: visible;
	z-index: 4;
}

.page {
	flex: 1;
	position: relative;
	z-index: 3;
	margin-bottom: 5rem;
}

.background-scratches {
	background: url(https://dayzcraft.ru/img/design/background/scratches.jpg);
	height: 100%;
	width: 100%;
	position: absolute;
	z-index: 1;
	opacity: 1;
}

.background-color {
	background: #1E394E;
	height: 100%;
	width: 100%;
	position: absolute;
	z-index: 2;
	opacity: 0.95;
}

@media (max-width: 991px) {
    footer * {
        text-align: center !important;
    }

    .page {
        margin-bottom: 10rem;
    }

	.start-game {
		flex-direction: column;
	}

	.start-game .block:first-child {
		border-right: none;
	}
}

.buy-form {
    width: 40%;

}

nav {
    margin-bottom: 10px;
}

.btn {
    border-radius: 0;
}

label {
    font-weight: 300;
    letter-spacing: 1px;
}

.btn {
    outline: none !important;
	padding: 10px 16px;
}

footer a {
    color: #FAFAFA;
    text-decoration: none;
    border-bottom: 1px dotted rgba(245, 245, 245, 0.58);
    margin-right: 10px;
}

footer a:last-of-type {
    margin-right: 0;
}

footer a:hover, footer a:focus {
    color: #FAFAFA;
    text-decoration: none;
}

.server-select {
    display: none;
}

.server {
    display: none;
}

select {
    width: 100%;
}

.jq-selectbox {
    width: 100%;
    display: block;
}

.jq-selectbox__dropdown ul {
    max-height: 203px;
}

noscript .alert {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999999;
    border-radius: 0;
    height: 95%;
}

#monit .dropdown-menu form {
    padding: 10px;
    min-width: 200px;
}

#monit .serv {
    border-bottom: 1px dashed #C3C3C3;
    margin-bottom: 5px;
}

#monit .serv .online {
    float: right;
}

.buy:first-of-type {
    padding-right: 0;
}

.buy:last-of-type {
    padding-left: 0;
}

textarea {
    resize: vertical !important;
}

.form-group textarea {
    resize: vertical !important;
}

.form-group h4 {
	color: #eeeeee;
	margin-top: 5px;
	margin-bottom: 5px;
}

.server-select button .progress {
    left: 1.5rem;
    position: absolute;
    height: 6px;
    width: calc(100% - 30px);
}

/* TODO Edit by MCMP.SU */

@media (max-width: 1193px) {
	.card {
		margin: 6px !important;
	}

	.card:nth-child(6n+1),
	.card:first-child {
		margin-left: 6px !important;
	}
}

@media (max-width: 950px) {
	.last-buyers .panel-body {
		display: block !important;
		height: 242px;
		overflow: hidden;
		padding: 10px 0;
	}

	.item-goods .card {
		width: 100% !important;
		margin: 0 !important;
	}

	.item-goods .card:nth-child(6n+1),
	.item-goods .card:first-child {
		margin-left: 0 !important;
	}

	.item-icon {
		margin: 5% auto !important;
	}

	.customer {
		width: 120px !important;
	}

	.buyer-head .buyers-circle {
		right: 0 !important;
	}

	.server-select > .servers {
		padding: 5px 0 !important;
		flex-direction: column;
	}

	.server-select > .servers .card {
		width: auto !important;
	}
}

.server-select {
	color: #fff;
	background-color: rgba(0, 0, 0, 0.25);
	text-align: center;
	font-size: 15pt;
	padding: 14px;
	font-weight: 700;
	border-radius: 16px;
}

.main-header {
	position: unset
}

.main-header h1 {
	font-size: 35pt;
	margin: 0 0 10px;
	text-shadow: 0 3px 1px #00000061;
	font-weight: bold;
}

.main-header h3 {
    margin-top: 5px;
}

.main-header button {
    border-radius: 100px;
    padding: 10px 45px 10px 35px;
    border: none;
}

.customer {
    width: 140px;
    position: relative;
	display: inline-block;
    overflow: hidden;
}

.customer .img-circle {
	border-radius: 10%;
	margin-bottom: 10px;
}

.customer p {
	margin: 0;
	line-height: 12pt;
	font-size: 13px;
	white-space: nowrap;
}

.customer.long p {
	mask-image: linear-gradient(
			to right,
			black 70%,
			rgba(0,0,0,0.9) 80%,
			rgba(0,0,0,0.6) 90%,
			transparent 100%
	);
	-webkit-mask-image: linear-gradient(
			to right,
			black 70%,
			rgba(0,0,0,0.9) 80%,
			rgba(0,0,0,0.6) 90%,
			transparent 100%
	);
}

.buyer-head .goods-icon {
	width: 25px;
	bottom: -3px;
	position: relative;
}

.buyer-head {
	position: relative;
}

.buyer-head .buyers-circle {
	background-image: linear-gradient(300deg, #F37335 0%, #FDC830 100%);
	height: 36px;
	width: 36px;
	z-index: 9999;
	position: absolute;
	bottom: 0;
	right: 3px;
	border-radius: 100px;
}

.last-buyers {
	margin-top: 20px;
}

.last-buyers .panel {
	margin-bottom: 0;
}

.last-buyers .panel-body {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

/*.customer:hover .customer-head {
	opacity: 0;
}

.customer:hover .customer-bought {
	opacity: 1;
}*/

.customer-bought {
	width: 85px;
	position: absolute;
	left: 22px;
	opacity: 0;
}

h2.swal2-title {
	display: block !important;
}

h2.swal2-title h3 {
	margin: 4px 0 0 0;
}

.swal2-modal {
	border-radius: 16px !important;
}

.swal2-close {
	margin: 3px 5px 0 0 !important;
	font-size: 34px !important;
	height: 34px !important;
	width: 34px !important;
}

.swal2-popup {
	background-color: #2b5373 !important;
	color: white;
}

.swal2-title {
	color: white !important;
}

.swal2-popup .swal2-html-container {
	color: white !important;
}

.swal2-confirm {
	background-image: linear-gradient(300deg, #F37335 0%, #FDC830 100%) !important;
	border-radius: 16px !important;
	padding: 14px !important;
	border: none !important;
}

.items-category + .items-category {
    padding: 8px 0;
}

.items-category .items-category-title {
	margin: 0 0 8px 5px;
	font-size: 22px;
	font-weight: bold;
	color: #dcdcdc;
}

.items-category > .items-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 294px));
	grid-gap: 15px;
}

@media (max-width: 767px) {
	.items-category > .items-content {
		grid-template-columns: unset;
	}
}

.server-select > .servers {
	padding: 14px 0;
	display: flex;
	justify-content: center;
}

.server-select > .servers .card {
	width: 250px;
	margin: 0 5pt;
}

.transition {
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-moz-osx-font-smoothing: grayscale;
	-webkit-transition-duration: 0.1s;
	transition-duration: 0.1s;
	-webkit-transition-property: transform;
	transition-property: transform;
}

/* TODO Vitold стили */
.card {
	background-size: cover;
	background: radial-gradient(circle, rgb(107 130 180 / 60%) 0%, rgb(76 145 192 / 30%) 25%, transparent 75%) center center rgb(31 57 78);
	border-radius: 16px;
	cursor: pointer;
}

.card:hover {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

.btn-buy {
	position: absolute;
	top: 0;
	color: #fff;
	padding: 10px 0;
	background-color: rgba(0, 0, 0, 0.45);
	border: none;
	z-index: -1;
	-webkit-transition: 0.25s;
	transition: 0.25s;
	opacity: 0;
}

.card:hover .btn-buy {
    top: 44px;
	color: #fff;
	opacity: 1;
}

.card .btn-buy:hover {
	background-color: rgba(0, 0, 0, 0.60);
}

.card .header {
	color: #FFF;
	background-color: #2c5677d6;
	font-weight: 400;
	font-size: 16px;
	padding: 10px 20px;
	border-radius: 16px 16px 0 0 !important;
	-webkit-border-radius: 3px 3px 0 0;
}

.item-icon {
	position: relative;
	z-index: -2;
	min-width: 90px;
	min-height: 90px;
	max-width: 90px;
	margin: 12% auto;
	display: block;
}

.card .price, .card .discount {
	position: absolute;
	bottom: 15px;
	color: #fff;
}

.card .price {
	left: 20px;
	border-radius: 100px;
	font-size: 14px;
	background: linear-gradient(90deg, #288d2e 0%, #00bf8f 100%);
}

.card .discount {
	right: 20px;
	color: #ff3c3c;
	font-size: 11.5pt;
    font-weight: 700;
    line-height: 1;
    font-family: monospace;
}

.card .discount .fa-tag {
	margin-left: 5px;
}

div.col-md-8.col-md-offset-2 {
	margin-bottom: 20px !important;
	margin-left: 0 !important;
	width: 100% !important;
}

.slider-wrapper {
	padding: 20px 0 2px !important;
}

.slider-ranges {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 18px;
	font-size: 14px;
	color: white;
}

#count-range {
	color: #00e5ac;
}

.range-quantity {
	background-color: #00bf8f !important;
}

.count-slider > h4 {
    display: inline;
}

.popup-price {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin: 16px 0 12px 0;
	font-size: 1.55em;
}

.popup-price .__discount-percent {
	margin-left: 5px;
}

.popup-price .__price {
	font-size: 1.2em;
}

.popup-price .__discount {
	display: flex;
	align-items: center;
}

.popup-price .__discount-price {
	font-size: 1.2em;
	font-weight: 400;
}

.popup-price .__old-price {
	color: #ff3636;
	text-decoration: line-through;
}

input.is-valid {
	border-color: #5cb85c !important;
	color: #5cb85c;
}

.sale-notification {
	background: linear-gradient(90deg, #00bf8f 0%, #288d2e 100%);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	color: #fff;
	text-align: left;
	position: relative;
	padding: 8px 10px 8px 70px;
	border-radius: 16px;
	box-shadow: 0 4px 20px 0 #00000029;
	transition: all .15s linear;
	margin-bottom: 22px;
	display: block;
	text-decoration: none;
	cursor: default;
}

.sale-notification i.fal.fa-badge-percent {
	position: absolute;
	left: 13px;
	top: calc(50% - 20px);
	font-size: 40px;
}
.sale-description {
	font-size: 15px;
	opacity: 0.7;
}

.sale-notification h4 {
	margin-top: 0 !important;
	margin-bottom: 2px !important;
	line-height: 1.2 !important;
	font-size: 16px;
}

.text-dashed {
	border-bottom: 1px #ffffff9c dashed;
}

.start-game {
	display: flex;
	justify-content: center;
	margin: 15px 0px 15px 0px;
}

.start-game .block {
	width: 100%;
	float: left;
	margin: 0;
	text-align: center;
	padding: 10px;
	position: relative;
}

.start-game .block h5 {
	color: #797878;
}

.horizontal-line {
	width: 40px;
	background: linear-gradient(90deg, #2F73B6, #39B6E8);
	border: none !important;
	border-radius: 5px;
	height: 8px;
	margin: 0 auto;
}

.block:first-child {
	border-right: 1px solid #f1f1f1;
}

.start-game .block .form-control {
	margin-top: 1.2em;
	text-align: center;
}

.ip-address {
	font-size: 22px;
	text-decoration-color: #de6663;
	cursor: pointer;
	background: linear-gradient(145deg, #ee0979, #ff6a00);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	position: relative;
	width: fit-content;
	margin: 20px auto;
}

.ip-address::after {
	content: "";
	height: 1px;
	width: 100%;
	background-repeat: no-repeat;
	background-image: linear-gradient(145deg, #ee0979,#ff6a00);
	display: block;
	position: absolute;
	bottom: 0;
}

.btn-gray {
	background-color: #b6b6b7 !important;
	font-size:12pt !important;
	border-left-color:rgb(48,133,214) !important;
	border-right-color:rgb(48,133,214) !important;
}

.btn-gray.swal2-styled:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgb(228 228 228);
}

.swal2-close:focus {
	box-shadow: none !important;
}

header > .navbar {
	border-radius: 0 !important;
	border: none !important;
	margin-bottom: 0 !important;
}

.btn-start-game {
	display: flex;
	text-align: left;
	align-items: center;
	border-radius: 8px !important;
	margin: 30px auto 0;
}

.btn-start-game > i {
	margin-right: 15px;
	font-size: 2.4em;
}

.btn-start-game > ._text {
	line-height: 1.2;
	font-size: 1.2em;
	text-transform: uppercase;
}

.btn-start-game ._online {
	color: #e8e8e8;
	font-size: 0.8em;
}

.btn-start-game > ._text > div:first-child {
	font-weight: 600;
}

.logo-subtitle {
	font-size: 1.2em;
}

.start-game ._download {
	margin-top: 25px;
}

.start-game ._download > a {
    font-size: 12pt;
    border-left-color: rgb(48, 133, 214);
    border-right-color: rgb(48, 133, 214);
    text-decoration: none
}

.cabinet-link {
	margin-top: 10px;
	font-size: 1.2em;
	text-transform: uppercase;
	cursor: pointer;
	opacity: 0.7;
}

.cabinet-link > a {
	color: white;
	text-decoration: none;
}

.cabinet-link:hover {
	opacity: 1;
}

@media (min-width: 1200px) {
	.container {
		width: 1400px !important;
	}
}

option:disabled {
	color: #838383;
}

.panel {
	background-color: #1c2933;
	border-radius: 16px;
	color: white;
	border: none;
}

.panel-body legend {
	color: white;
	border-bottom: 1px solid #274a65;
}

.panel-heading {
	background-color: rgba(44, 86, 119, 0.84) !important;
	color: white !important;
	border-radius: 16px 16px 0 0;
	border-bottom: none;
	font-size: 16px;
	font-weight: bold;
}

.btn-primary {
	background: linear-gradient(90deg, #00bf8f 0%, #288d2e 100%);
	border-radius: 16px;
	padding: 14px;
	border: none;
}

.btn-primary:active, .btn-primary:focus {
	background: linear-gradient(90deg, #00bf8f 0%, #288d2e 100%);
	border: none !important;
}

.btn-primary:hover {
	background-position: 100% 0;
	moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.servers .card .item-icon {
	margin: 10% auto;
	min-height: 110px;
	min-width: 110px;
}

.form-control {
	height: 34px;
	font-size: 16px;
	background-color: #162938;
	border: none;
	color: white;
}

.form-control:focus {
	box-shadow: none;
	border: none;
}

.form-control::placeholder {
	color: #e0e0e0;
}

/* Список с описанием */
.description-dropdown {
	background: #162938;
	border-radius: 6px;
	color: #fff;
	width: 100%;
	font-size: 16px;
	margin-bottom: 5px;
}

/* Заголовок */
.description-dropdown__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 12px;
	height: 38px;
	cursor: pointer;
	user-select: none;
}

/* Иконка */
.description-dropdown__icon {
	transition: transform 0.3s ease;
}

/* Поворот иконки */
.description-dropdown--open .description-dropdown__icon {
	transform: rotate(180deg);
}

.description-dropdown__title {
	color: #eeeeee;
}

/* Контент */
.description-dropdown__content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 12px;
	text-align: left;

	ul {
		padding-left: 16px;
	}
}

.subpage-container {
	display: flex;
	flex-direction: column
}

.link--primary {
	color: var(--dzc-primary);
}

.link--secondary {
	color: var(--dzc-secondary);
}

.link--primary:hover {
	color: var(--dzc-primary);
}

.link--secondary:hover {
	color: var(--dzc-secondary);
}

.link--primary:focus {
	color: var(--dzc-primary);
}

.link--secondary:focus {
	color: var(--dzc-secondary);
}

.link:hover {
	text-decoration: underline;
	opacity: 0.8;
}

.link:focus {
	outline: none;
}

/* Чекбокс */
.consent-checkbox {
	margin: 15px 0;
}

.consent-checkbox--error .consent-checkbox__label {
	color: #ff6464;
}

.consent-checkbox--error .consent-checkbox__box {
	border-color: #ff6464;
}

.consent-checkbox--error .consent-checkbox__label:hover .consent-checkbox__box {
	border-color: #ff6464;
}

.consent-checkbox__label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	user-select: none;
	font-size: 12px;
	line-height: 1.3;
	color: #fff;
	text-align: left;
}

.consent-checkbox__input {
	display: none;
}

.consent-checkbox__box {
	width: 24px;
	height: 24px;
	min-width: 24px;
	border: 2px solid #b1b0b0;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	transition: all 0.2s ease;
	margin-top: 2px;
}

.consent-checkbox__icon {
	font-size: 14px;
	color: #fff;
	opacity: 0;
	transform: scale(0.7);
	transition: all 0.2s ease;
}

.consent-checkbox__input:checked + .consent-checkbox__box {
	background-color: var(--dzc-primary);
	border-color: var(--dzc-primary);
}

.consent-checkbox__input:checked + .consent-checkbox__box .consent-checkbox__icon {
	opacity: 1;
	transform: scale(1);
}

.consent-checkbox__label:hover .consent-checkbox__box {
	border-color: var(--dzc-primary);
}

.consent-checkbox__text {
	flex: 1;
}