body {
	margin: 0;
	background-color: #2a2a2a;
	font-family: "Lato", sans-serif;
}
.topnav {
  position: relative;
  overflow: hidden;
  background-color: #333;
  border-radius: 15px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
  padding: 5px;
  z-index: 99999999;

}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 12px;
}

.topnav a:hover {
  border-radius: 15px;   
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  border-radius: 15px;  
  background-color: #F6670E;
  color: white;
}

.topnav-centered a {
  float: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.topnav-right {
  float: right;
}

/* Responsive navigation menu (for mobile devices) */
@media screen and (max-width: 600px) {
  .topnav a, .topnav-right {
    float: none;
    display: block;
  }
  
  .topnav-centered a {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
}
html {
	text-align: center;
}

.categories {
	float: left;
}

.options,
.rolelist,
.playerlist {
	display: inline-block;
	min-width: 20%;
	min-height: 40%;
	text-align: left;
}

label {
	display: block;
	margin: auto;
	color:white;
}

.test-roles label {
	display: table-cell;
	color:white;
}

.options input[type=number] {
	width: 2em;
}

.rolelist textarea,
.playerlist textarea {}

.row {
	margin-top: 0.5rem;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.col {
	flex: 1 1 8%;
	margin: 0 0 0.5rem 0;
	padding: 0.5em 10px;
	box-sizing: border-box;
}

/* nested grids */

/* full width grids */

/* center grids */

/* columns widths */

.col-span-1 {
	flex-basis: 8.3333%;
}

.col-span-2 {
	flex-basis: 16.6666%;
}

.col-span-3 {
	flex-basis: 25%;
}

.col-span-4 {
	flex-basis: 33.3333%;
}

.col-span-5 {
	flex-basis: 41.6666%;
}

/* examples */

@media all and (max-width: 568px) {

	.col-span-1,
	.col-span-2,
	.col-span-3,
	.col-span-4,
	.col-span-5 {
		flex-basis: 50%;
	}

}

/* eye candy */


.row {
	background-color: #cccccc;
}

.col {
	background-color: #999999;
	background-clip: content-box;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

/* button */
#roll-button,
input {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-self: center;

	cursor: pointer;
	height: inherit;
	min-width: 40px;
	position: relative;
	background-color: #999999;
	border: 2px solid black;
	padding: 5px 5px;
	color: white;

}

input:hover {
	box-shadow: 0px 0px 2px black;
}

input:active {
	top: 1px;
}
* {
	box-sizing: border-box;
}


section {
	border-radius: 10px;
	width: 1280px;
	padding: 10px;
	display: table;
	max-width: none;
	background-color: #20344A;
	height: inherit;
	margin: auto;
	margin-top: 10px;


	&:nth-of-type(2n) {
		background-color: #2a2a2a;
		text-align: center;
		color: white;
		text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
	}
}

.intro {
	height: inherit;
}

.content {
	display: table-cell;
	vertical-align: middle;
}

footer {
	padding: 1% 5%;
	text-align: center;
	background-color: #20344A;
	color: white;
}

.heading {
	display: flex;
	width: 100%;
	position: relative;
	min-width: 150px;
	/* the 15px (10%) end caps determine the minimum header width */
}

.heading .label {
	flex: 1;
}

.heading .label {
	z-index: 10;
}

.heading .bg svg {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

.heading .bg svg {
	width: 100%;
	height: 100%;
}

.heading .bg .teal {
	fill: #f6670e;
}

.heading .label {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5em;
	line-height: 40px;
	color: white;
	text-align: center;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
	padding: 20px 0;
}

.element-item>div {
	padding: 20px 15px;
	background-color: #2a2a2a;
	color: #dddddd;
}

a {
	text-align: center;
	color: #fff;
	font-size: 16px;
	line-height: 22px;
	font-family: "Lato", sans-serif;
}

/* == FOLDED CORNERS */
.noted {
	position: relative;
	width: 100%;
	padding: 0.3em 1.3em;
	margin: 2em auto;
	color: #fff;
	overflow: hidden;
}

.noted:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	border-width: 0 16px 16px 0;
	/* This trick side-steps a webkit bug */
	border-style: solid;
	border-color: #fff #fff #658E15 #658E15;
	/* A bit more verbose to work with .rounded too */
	background: #658E15;
	/* For when also applying a border-radius */
	display: block;
	width: 0;
	/* Only for Firefox 3.0 damage limitation */
	/* Optional: shadow */
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), -1px 1px 1px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), -1px 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), -1px 1px 1px rgba(0, 0, 0, 0.2);
}

.noted.wood {
	background: #ccF6670E;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
}

.noted.wood:before {
	border-color: #fff #fff transparent transparent;
	background: transparent;
}

/* ROUNDED CORNERS VERSION * All modern browsers can produce this effect with a single pseudo-element. * However, they all have bugs (mainly to do with border-radius) that make this a bit tricky. * As far as I can tell, this is the only cross-browser method for the moment. * Can't use this method for the simple effect because Opera 11 will only show backgrounds * through transparent borders if there is a border-radius applied. */

/* == FOLDED CORNERS */

/* ROUNDED CORNERS VERSION * All modern browsers can produce this effect with a single pseudo-element. * However, they all have bugs (mainly to do with border-radius) that make this a bit tricky. * As far as I can tell, this is the only cross-browser method for the moment. * Can't use this method for the simple effect because Opera 11 will only show backgrounds * through transparent borders if there is a border-radius applied. */

@media (max-width: 768px) {
	html {
		font-size: 14px;
	}
}

.griddy>profile {
	text-align: center;
	width: calc(100% / 3 - 30px);
	margin: 0px 15px;
	margin-bottom: 30px;
	overflow: hidden;
	border-radius: 15px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

.griddy profile img {

	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	width: 256px;
	height: 256px;
	max-width: 100%;
	border-radius: 10px;
}
.accordian {
	width: 90%;
	max-width: 1000px;
	margin: 2rem auto;
}

.accordian-item {
	background-color: white;
	color: #111;
	margin: 1rem 0;
	border-radius: 0.5rem;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
}
.accordian-item p{
	color: #111;
	text-align: left;
}
.accordian-item-header {
	padding: 0.5rem 3rem 0.5rem 1rem;
	min-height: 3.5rem;
	line-height: 1.25rem;
	display: flex;
	align-items: center;
	position: relative;
	cursor: pointer;
}

.accordian-item-header::after {
	content: "\002B";
	font-size: 2rem;
	font-weight: bold;
	position: absolute;
	right: 1rem;
	/* transition: all 0.2s ease;
     */
}

.accordian-item-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

.accordian-item-body-content {
	padding: 1rem;
	line-height: 1.5;
	border-top: 1px solid #34495e;
}
