@media (min-width: 992px) {
	.custom-width-lg-65 {
		width: 65% !important;
	}
}

#logo {
	position: relative;
	width: 100%;
	max-width: 1320px;
	height: auto;
	aspect-ratio: 1320 / 200;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	margin: 0 auto;
}

.user-class {
	color: white !important;
	padding: 4px;
	border-radius: 4px;
	font-weight: bolder;
	margin: 2px;
	text-decoration: none;
}
.user-class {
	color: white !important;
	padding: 4px;
	border-radius: 4px;
	font-weight: bolder;
	margin: 2px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.class_0 { 
	background: linear-gradient(135deg, #000000 0%, #2a2a2a 50%, #000000 100%) !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.class_0:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
	transform: translateY(-1px);
}

.class_1 { 
	background: linear-gradient(135deg, #0000ff 0%, #4040ff 50%, #0000ff 100%) !important;
	box-shadow: 0 2px 4px rgba(0, 0, 255, 0.3);
}
.class_1:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 255, 0.5);
	transform: translateY(-1px);
}

.class_3 { 
	background: linear-gradient(135deg, #d2691e 0%, #e08840 50%, #d2691e 100%) !important;
	box-shadow: 0 2px 4px rgba(210, 105, 30, 0.3);
}
.class_3:hover {
	box-shadow: 0 4px 8px rgba(210, 105, 30, 0.5);
	transform: translateY(-1px);
}

.class_6 { 
	background: linear-gradient(135deg, #9932cc 0%, #b560dd 50%, #9932cc 100%) !important;
	box-shadow: 0 2px 4px rgba(153, 50, 204, 0.3);
}
.class_6:hover {
	box-shadow: 0 4px 8px rgba(153, 50, 204, 0.5);
	transform: translateY(-1px);
}

.class_7 { 
	background: linear-gradient(135deg, #8a8a8a 0%, #a5a5a5 50%, #8a8a8a 100%) !important;
	box-shadow: 0 2px 4px rgba(138, 138, 138, 0.3);
}
.class_7:hover {
	box-shadow: 0 4px 8px rgba(138, 138, 138, 0.5);
	transform: translateY(-1px);
}

.class_8 { 
	background: linear-gradient(135deg, #0078ca 0%, #3394db 50%, #0078ca 100%) !important;
	box-shadow: 0 2px 4px rgba(0, 120, 202, 0.3);
}
.class_8:hover {
	box-shadow: 0 4px 8px rgba(0, 120, 202, 0.5);
	transform: translateY(-1px);
}

.class_9 { 
	background: linear-gradient(135deg, #4682b4 0%, #6a9dc7 50%, #4682b4 100%) !important;
	box-shadow: 0 2px 4px rgba(70, 130, 180, 0.3);
}
.class_9:hover {
	box-shadow: 0 4px 8px rgba(70, 130, 180, 0.5);
	transform: translateY(-1px);
}

.class_12 { 
	background: linear-gradient(135deg, #f934d6 0%, #fa66e0 50%, #f934d6 100%) !important;
	box-shadow: 0 2px 4px rgba(249, 52, 214, 0.3);
}
.class_12:hover {
	box-shadow: 0 4px 8px rgba(249, 52, 214, 0.5);
	transform: translateY(-1px);
}

.class_15 { 
	background: linear-gradient(135deg, #999900 0%, #b3b333 50%, #999900 100%) !important;
	box-shadow: 0 2px 4px rgba(153, 153, 0, 0.3);
}
.class_15:hover {
	box-shadow: 0 4px 8px rgba(153, 153, 0, 0.5);
	transform: translateY(-1px);
}

.class_18 { 
	background: linear-gradient(135deg, #ff9a35 0%, #ffb060 50%, #ff9a35 100%) !important;
	color: #1a1919 !important;
	box-shadow: 0 2px 4px rgba(255, 154, 53, 0.3);
}
.class_18:hover {
	box-shadow: 0 4px 8px rgba(255, 154, 53, 0.5);
	transform: translateY(-1px);
}

.class_19 { 
	background: linear-gradient(135deg, #ffbf00 0%, #ffcc33 50%, #ffbf00 100%) !important;
	color: #1a1919 !important;
	box-shadow: 0 2px 4px rgba(255, 191, 0, 0.3);
}
.class_19:hover {
	box-shadow: 0 4px 8px rgba(255, 191, 0, 0.5);
	transform: translateY(-1px);
}

.class_21 { 
	background: linear-gradient(135deg, #008000 0%, #339933 50%, #008000 100%) !important;
	box-shadow: 0 2px 4px rgba(0, 128, 0, 0.3);
}
.class_21:hover {
	box-shadow: 0 4px 8px rgba(0, 128, 0, 0.5);
	transform: translateY(-1px);
}

.class_24 { 
	background: linear-gradient(135deg, #ff0000 0%, #ff4040 50%, #ff0000 100%) !important;
	box-shadow: 0 2px 4px rgba(255, 0, 0, 0.3);
}
.class_24:hover {
	box-shadow: 0 4px 8px rgba(255, 0, 0, 0.5);
	transform: translateY(-1px);
}

.class_27 { 
	background: linear-gradient(135deg, #dc143c 0%, #e64560 50%, #dc143c 100%) !important;
	box-shadow: 0 2px 4px rgba(220, 20, 60, 0.3);
}
.class_27:hover {
	box-shadow: 0 4px 8px rgba(220, 20, 60, 0.5);
	transform: translateY(-1px);
}

.class_30 { 
	background: linear-gradient(135deg, #800080 0%, #a033a0 50%, #800080 100%) !important;
	box-shadow: 0 2px 4px rgba(128, 0, 128, 0.3);
}
.class_30:hover {
	box-shadow: 0 4px 8px rgba(128, 0, 128, 0.5);
	transform: translateY(-1px);
}

.class_33 { 
	background: linear-gradient(135deg, #8b0000 0%, #aa3333 50%, #8b0000 100%) !important;
	box-shadow: 0 2px 4px rgba(139, 0, 0, 0.3);
}
.class_33:hover {
	box-shadow: 0 4px 8px rgba(139, 0, 0, 0.5);
	transform: translateY(-1px);
}

.class_36 {
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 40%, #3b82f6 60%, #2a5298 100%) !important;
	box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
	position: relative;
	overflow: hidden;
}
.class_36:hover {
	box-shadow: 0 4px 8px rgba(59, 130, 246, 0.5);
	transform: translateY(-1px);
}

input[type=submit],
input[type=button] {
	cursor: pointer;
}

.custom-modal-content {
	background-color: transparent !important;
	border: none;
	padding: 0;
}

.alert-area {
	max-height: 100%;
	max-width: 350px;
	position: fixed;
	bottom: 5px;
	left: 20px;
	right: 20px;
	right: auto;
	left: 0;
	z-index: 400;
}

.alert-box {
	line-height: 1.3em;
	padding: 10px 15px;
	margin: 5px 10px;
	position: relative;
	border-radius: 5px;
	transition: opacity 0.5s ease-in;
}

.alert-box.hide {
	opacity: 0;
}

.alert-close {
	background: transparent;
	width: 12px;
	height: 12px;
	position: absolute;
	top: 15px;
	right: 15px;
}

.alert-close:before,
.alert-close:after {
	content: '';
	width: 15px;
	border-top: solid 2px white;
	position: absolute;
	top: 5px;
	right: -1px;
	display: block;
}

.alert-close:before {
	transform: rotate(45deg);
}

.alert-close:after {
	transform: rotate(135deg);
}

.alert-close:hover:before,
.alert-close:hover:after {
	border-top: solid 2px #d8d8d8;
}

.alert-message-container {
	text-align: center;
	line-height: 2.5em;
	margin-top: 50px;
}

.alert-message-box {
	max-width: 300px;
	border: solid 1px #444;
	padding: 10px 15px;
	outline: none;
	transition: box-shadow 0.1s;
}

.alert-message-box:focus {
	box-shadow: 0 0 15px 2px #888;
}


.alert-message-button {
	color: white;
	background: #14b9ff;
	width: 250px;
	border: solid 1px #14b9ff;
	padding: 10px 20px;
	margin-top: 5px;
	cursor: pointer;
	outline: none;
	transition: background 0.1s;
}

.alert-message-button:hover,
.alert-message-button:focus,
.alert-message-button:active {
	background: #7dd8ff;
}

@font-face {
	font-family: 'YoungSerif-Regular';
	src: url('fonts/YoungSerif-Regular.ttf');
}

.navbar-brand {
	font-family: YoungSerif-Regular;
}

.navbar-brand>img {
	width: 48px;
	height: 48px;
}

#private-messages,
#notifications {
	position: relative;
	transition: outline 0.5s ease;
	outline: 1px solid transparent;
}

#unreadMessages:not(:empty),
#unreadnotifications:not(:empty) {
	position: absolute;
	bottom: -12px;
	left: 0px;
	background: radial-gradient(circle at 30% 15%, #FF5252 3%, #E61919 60%, #D32F2F 100%);
	width: 100%;
	z-index: 1;
}

#unseenFriends:not(:empty) {
	position: absolute;
	bottom: -4px;
	right: -4px;
	outline: 1px solid #E61919;
	background: -4px;
}

.badge-red {
	background-color: #E61919;
	color: white;
}

.badge-gray {
	background-color: #6c757d;
	color: white;
}


/* közös részek */

body {
	font-family: 'Roboto', sans-serif;
}

.table> :not(caption)>*>* {
	padding: .5rem .5rem;
}

.logo-text {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 10px;
	font-weight: bolder;
	opacity: 0.8;
}

@media (min-width: 992px) {
	.navbar {
		border-bottom-left-radius: calc(.25rem - 1px);
		border-bottom-right-radius: calc(.25rem - 1px);
	}

	.navbar-brand,
	#private-message-text,
	#logout-text {
		display: none !IMPORTANT;
	}
}

@media (max-width: 992px) {

	.index-link,
	#logo {
		display: none;
	}
}

.form-control,
.form-select {
	border-radius: 6px;
	padding: 10px;
	transition: all 0.3s ease;
	appearance: none;
	padding-right: 30px;
}

.form-control:focus,
.form-select:focus,
.form-control:hover,
.form-select:hover,
.form-control:active,
.form-select:active,
.form-control::placeholder,
.form-select::placeholder,
.form-control:disabled,
.form-control[readonly] {
	transition: all 0.3s ease;
}

.navbar {
	border-radius: 12px;
}

.nav-link {
	margin: 2px;
	transition: color 0.3s ease, background-color 0.3s ease, padding 0.3s ease;
	display: inline-block;
	padding: 10px 15px;
	border-radius: 4px;
	display: block;
}

.nav-link:hover {
	transition: background-position 0.5s, color 0.5s;
}

.card-header,
.toast-header {
	position: relative;
	padding: 15px;
	font-weight: bold;
	letter-spacing: 0.5px;
	border-radius: 8px;
	text-align: center !important;
}

.btn:focus {
	transition: none !IMPORTANT;
}

.btn,
.btn-primary:hover,
.btn-danger,
.btn-danger:hover,
.btn-info,
.btn-info:hover {
	transition: none;
}

.bg-primary,
.bg-secondary,
.bg-success,
.bg-danger,
.bg-warning,
.bg-info {
	transition: none;
}

.bg-green,
.bg-green:hover {
	transition: none;
	transition-duration: 300ms;
	transition-property: all;
}

.bg-curuser{
	background-color:#B6D2D380 !important;
}

.form-check-input:checked[type=checkbox],
.form-check-input:checked[type=radio] {
	--bs-form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e);
}

.btn.disabled {
	cursor: not-allowed !IMPORTANT;
}

@media (min-width: 992px) {
	.wide-dropdown {
		width: max-content;
		white-space: nowrap;
	}

	.wide-dropdown .dropdown-item-text,
	.wide-dropdown .dropdown-divider,
	.wide-dropdown .dropdown-item {
		width: 100%;
	}
}

.read-info {
	float: right;
	text-align: right;
	font-style: italic;
	padding: 5px 10px;
	border-radius: 5px;
}

.read-count {
	padding: 5px 10px;
	border-radius: 5px;
}

.list-group-item {
	border-top: 1px solid #2a2a28;
}

.user-details {
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 10px;
	transition: background-color 0.3s ease;
}

.user-header {
	padding: 6px 12px;
	margin: -20px -20px 15px -20px;
	border-radius: 10px 10px 0 0;
}

h3 {
	transition: color 0.3s ease;
}

.medals img {
	width: 50px;
	margin: 5px;
}

.hnr-style{
	font-weight: bolder;
	color:darkorange;
}