.rules_menu {
    display: block;
    color: var(--top-text-color);
    padding: 10px 10px;
    border-radius: 7px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .3s;
}

.rules_menu:hover {
	color:var(--span-color);
	background: var(--bottom-line-table);
}

.rules_block {
	color:var(--default-text-color);
	font-weight: bold;
	font-size: 13px;
	padding: 0 35px 0 35px;
	/* margin: 10px 0; */
	display: none;
	width: 100%;
}

.rules_block>a {
    display: flex;
    color: var(--default-text-color);
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    justify-content: center;
}

.rules_text {
	color:var(--top-text-color);
	font-weight: bold;
	font-size: 14px;
}

.rules_text_punishment {
	color:#ff6044;
	font-weight: bold;
	font-size: 14px;
}

.rules_warning {
	color:var(--span-color);
	font-weight: bold;
	font-size: 14px;
}

.rules_active {
	background: var(--bottom-line-table);
	color: var(--span-color);
}

.rules_card_header {
	float: left;
	margin: 5px 0px 0px 10px;
}

.rules_header {
    margin: 30px 0;
    border-left: 3px solid var(--span-color);
    border-right: 3px solid var(--span-color);
    background: linear-gradient(90deg, var(--navbar-first-color), rgba(255, 255, 255, 0) 50%), linear-gradient(270deg, var(--navbar-first-color), rgba(255, 255, 255, 0) 50%);
    padding: 15px 20px 12px 20px;
}

.rules_header h5 {
    font-weight: 800;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
}

.rules_header h6 {
    margin-top: -10px;
    font-weight: 700;
    font-size: 15.5px;
    text-transform: uppercase;
    color: var(--span-color);
    text-align: center;
}

.rules_card {
    background: var(--navbar-first-color);
    border-radius: 10px;
    padding: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.rules_card_block {padding: 10px 0 0 0;}

.rules_sticky {
    position: sticky;
    height: fit-content;
    top: 25px;
}

.rules_chapter {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--default-text-color);
    margin: 5px 10px 12px;
}

.rules_number {
	background: var(--span-color-hover);
	border-radius: 4px;
	padding: 3px 7px;
	margin-right: 10px;
}

.rules_title {
    font-weight: 900;
    text-transform: uppercase;
}

.time_short_text {
    font-weight: 500;
    font-size: 14px;
    position: absolute;
    right: 40px;
    top: 31px;
    color: var(--top-text-color);
}

.time_long_text {
    font-weight: 500;
    font-size: 14px;
    position: absolute;
    right: 40px;
    top: 31px;
    color: var(--top-text-color);
}

.rules_chapter svg {
    height: 15.5px;
    fill: var(--default-text-color);
    margin-right: 10px;
}

.rules_menu svg {
    height: 15.5px;
    fill: var(--top-text-color);
    margin-right: 10px;
}

.rules_card_left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time_short_text svg {
    height: 15px;
    fill: var(--top-text-color);
}

.time_long_text svg{
	height: 15px;
    fill: var(--top-text-color);
}	

@media (max-width: 575.98px) {
	.time_short_text {
		display: none;
	}

	.time_long_text {
		display: none;
	}	
}

@media (max-width: 768px) {
	.rules_card {
		display: block
	}
	.rules_choose {
		display: none;
	}
	.rules_card_left {
		padding: 0;
		border: none;
		min-width: auto;
	}

	.rules_header {
		margin: 30px 0;
		border-left: 3px solid var(--span-color);
		border-right: 3px solid var(--span-color);
		background: linear-gradient(90deg, var(--navbar-first-color), rgba(255, 255, 255, 0) 50%), linear-gradient(270deg, var(--navbar-first-color), rgba(255, 255, 255, 0) 50%);
		padding: 15px 20px 8px 20px;
	}

	.rules_header h5 {
		font-weight: 800;
		font-size: 18px;
		text-transform: uppercase;
	}
	
	.rules_header h6 {
		margin-top: -10px;
		font-weight: 700;
		font-size: 12px;
		text-transform: uppercase;
		color: var(--span-color);
	}

	.rules_sticky {
		position: static;
		height: auto;
		top: 25px;
	}
}