
/* Accordion styles */
.tabs {
	border-radius: 8px;
	overflow: hidden;
  }
  
  .tab {
	width: 100%;
	overflow: hidden;
  }
  .tab-label {
	display: flex;
	justify-content: space-between;
	padding: 0.1em;
	background: black;
	font-weight: bold;
	cursor: pointer;
	font-size: 2em;
	color: white;
	text-align: center;
	/* Icon */
  }
  .tab-label:hover {
	color: #ff9900;
  }


  .tab-label::after {
	content: "❯";
	width: 1em;
	height: 1em;
	text-align: center;
	transition: all 0.35s;
  }
  .tab-content {
	max-height: 0;
	padding: 0 1em;
	transition: all 0.35s;
  }
  .tab-close {
	display: flex;
	justify-content: flex-end;
	padding: 1em;
	font-size: 0.75em;
	cursor: pointer;
  }
  .tab-close:hover {
	background: black;
  }
  
  input:checked + .tab-label {
	background: black;
  }
  input:checked + .tab-label::after {
	transform: rotate(90deg);
  }
  input:checked ~ .tab-content {
	max-height: 1000vh;
	padding: 1em;
  }

  
/* table */

table { 
	width: 750px; 
	border-collapse: collapse; 
	margin:50px auto;
	}

th { 
	background: #b43608ef; 
	color: white; 
	font-weight: bold; 
	}

td, th { 
	padding: 10px; 
	text-align: left; 
	font-size: 18px;
	}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	table { 
	  	width: 100%; 
	}

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	
	td { 
		/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 50%; 
	}

	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 25%; 
		padding-right: 10px; 
		white-space: nowrap;
		/* Label the data */
		content: attr(data-column);

		color: rgb(248, 242, 242);
	}

}