.grid-container {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.grid-content {
	flex: 0 0 calc(50% - 10px);
	padding: 5px;
}

.grid-content.wide {
  flex: 1 1 100px;
  padding: 5px;
}

.data-table {
	width: 100%;
	border-collapse: collapse;
}

.data-table th,
.data-table td {
	padding: 8px;
}

.format-img {
	border-radius: 12px;
	max-width: 100%;
	height: auto;
	border-collapse: separate;
}

.center {
	align-content: center;
	justify-content: center;
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.table-div {
	max-width: 100%;
	width: 50%;
}

.left { flex: 0 0 65%; padding:5px; }
.right { flex: 0 0 30%; padding:5px; }

.inter-content {
border-radius:8px;
max-width:100%;
}

.YT-embed {
	border-radius: 8px;
	aspect-ratio: 16 / 9;
  width: 100%;
}

.roundbutton {
  display: inline-block;
  padding: 8px;
  margin: 0;
  max-width: 100%;
  text-align: center
}

.button-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

@media (min-width: 600px) {
  .grid-content { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 599px) {
  .data-table {
  	table-layout: fixed;
  }

  .data-table thead th:not(:nth-child(1)):not(:nth-child(3)),
  .data-table tbody td:not(:nth-child(1)):not(:nth-child(3)) {
  	display: none;
  }

  .data-table thead th:nth-child(1),
  .data-table tbody td:nth-child(1),
  .data-table thead th:nth-child(3),
  .data-table tbody td:nth-child(3) {
  	width: 50%;
	}
	
  .left,
  .right {
    flex: 0 0 100%;
    width: 100%;
  }
  .grid-container {
  	justify-content: center;
    flex-direction: column;
  }
  .grid-content {
    flex: 0 0 auto;
    width: 100%;
  }
  .grid-content.wide {
    flex: 0 0 auto;
    width: 100%;
  }
	.button-row{
		flex-direction:column;
		align-items:center;
		justify-content:center;
		gap:10px;
	}
	.format-img {
		display: flex;
		justify-content: center;
		align-content: center;
		border-radius: 12px;
		max-width: 100%;
		height: auto;
		border-collapse: separate;
	}
	.inter-content {
		justify-content: center;
		border-radius: 8px;
		max-width: 100%;
		height:auto;
	}
	#bridiv1 {
		order: 2;
	}
	#bridiv2 {
		order: 1;
	}
	#mapdiv1 {
		order: 2;
	}
	#mapdiv2 {
		order: 1;
	}
}