.button_container {
 	display: flex;
  	gap: 10px;
  	flex-wrap: wrap;
}

.button_container > button, a.modal-btn {
 	padding: 15px 10px;
  	flex: 1 0 18%;
  	border: none;
  	border-radius: var(--radius-2);
  	color: #fff;
  	font-weight: 700;
  	background-color: var(--box--backgroundColor);
  	text-shadow: 1px 1px black;
  	margin-bottom: 20px;
}

.button_container  button.time {
 	cursor: default !important;
}

.button_container > button:hover, a.modal-btn:hover {
 	cursor: pointer; 
}

.button_container > button span:nth-child(1), a.modal-btn span:nth-child(1) {
 	float: left; 
}

.button_container > button span:nth-child(2), a.modal-btn span:nth-child(2) {
 	float: right; 
}


.button_container > button.finished{ background-color: rgba(45, 195, 59, 0.25); }
.button_container > button.upcoming { background-color: rgba(3, 216, 255, 0.25); }

.button_container > button.finished:hover { background-color: rgba(45, 195, 59, 1); }
.button_container > button.upcoming:hover { background-color: rgba(3, 216, 255, 1); }

.button_container > button.finished.selected { background-color: rgba(45, 195, 59, 1); }
.button_container > button.upcoming.selected { background-color: rgba(3, 216, 255, 1); }
.button_container > button.tied.selected { background-color:  rgba(238, 167, 16, 1); }

.eventContainer {
 	display: flex; 
  	gap: 20px;
  	align-items: center;
  	justify-content: center;
  	flex-wrap: wrap;
}

.eventInstance {
 	flex: 1 0 23%;
  	background: #abcdef;
  	max-width: 23%;
  	padding: 15px;
  	border-radius: var(--radius-2);
  	background-color: var(--box--backgroundColor);
}

.eventInstance > div:not(.info, .stats, .teams, .icon, .bet, .moderator_buttons) {
  	background-color:  rgba( var(--theme-text_light), 0.5 );
  	margin-top: 10px;
  	border-radius: var(--radius-2);
  	padding: 5px 10px;
  	text-align: center;
}

.eventInstance > div:first-child {
 	/*background-color: #1e90ff; */
}

.gamemode {
 	 background-color:  rgb( var(--theme-item_status) );
	display: inline-block;
  	text-align: center;
  	padding: 5px 10px;
  	border-radius: var(--radius-2);
  	align-items: center;
  	margin-top: 10px;
  	font-weight: 500;
}

.teamInstance {
 	display: flex;
  	justify-content: between;
}

.bet {
 	margin-top:5px;
  	padding: 5px 10px;
  	background-color:  rgba( var(--theme-text_light), 0.5 );
  	border-radius: var(--radius-2);
  	text-align: center;
  	transition: 0.5s;
  	cursor: pointer;
  	display: block;
}

.bet:hover { background-color: rgb( var(--theme-item_status) );}

hr.divider {
 	border-color: rgba( var(--theme-text_light), 0.5 );	
}

.event {
 	background-color:  #0174df;
	display: inline-block;
  	text-align: center;
  	padding: 5px 10px;
  	border-radius: var(--radius-2);
  	align-items: center;
  	margin-top: 10px;
  	font-weight: 500;
  	width: max-content;
}

.stats > .event:first-child {
    min-width: 32px !important; 
}

.info, .stats {
 	display: flex;
  	gap: 10px;
  	max-width: max-content;
}


.teams {
 	display: flex;
  	gap: 10px;
  	width: 100%;
}

.info > div {
  	background-color:  rgba( var(--theme-text_light), 0.5 );
  	border-radius: var(--radius-2);
  	padding: 5px 10px;
  	width: 50%;
  	text-align: center;
  	margin-top: 10px;
}

.team {
 	 border-radius: var(--radius-2);
  	padding: 5px 10px;
  	width: 50%;
  	text-align: center;
  	margin-top: 10px;
}

.stats > div {
  width: max-content;
  background: rgba( var(--theme-text_light), 0.5 );
}

.val {
 	font-weight: 800;
}
.title {
 	font-weight: 500; 
}

.moderator_buttons {
 	display: flex;
  	gap: 10px;
  	justify-content: flex-end;
}

.betBox {
 	padding: 3px 10px;
  	background: linear-gradient(90deg, rgb( var(--theme-item_status) ), #ff4500);
  	border-radius: 5px;
  	margin-right: 10px;
  	font-weight: 500;
  	text-transform: uppercase;
}

.moderator_buttons > div {
  	display: flex;
  	justify-content: space-evenly;
 	flex: 1 0 40%; 
  	max-width: 13%;
  	padding: 10px 10px;
  	text-align: center;
  	font-weight: 700;
  	border-radius: var(--radius-2);
  	transition: 0.5s;
  	cursor: pointer;
}

.delete { background-color: #dd6666;}
.delete:hover { background-color: #ff0000; }
.edit {	background-color: rgba( var(--theme-text_light), 0.5 ); }
.edit:hover { background-color: #6fa8dc;}

@media only screen and (max-width: 797px) {
	.eventInstance {
    	max-width: 100%;
      	flex 1 0 100%;
      	
  	}
}