.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;
  }
}
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background-color: #2a2a2a;
	font-family: "Lato", sans-serif;
}

section {
	border-radius: 10px;
	width: 1024px;
	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;
}

header {
	font-size: 20px;
	line-height: 22px;
	font-family: "Lato", sans-serif;
}

a {
	text-align: center;
	color: #fff;
	font-size: 16px;
	line-height: 22px;
	font-family: "Lato", sans-serif;
}
#quoteContainer p {
	line-height: 22px;
	text-align: center;
}
p {
	text-align: left;
	color: #fff;
	font-size: 16px;
	line-height: 22px;
	font-family: "Lato", sans-serif;
}

/* == FOLDED CORNERS */
.noted {
	position: relative;
	
	padding: 0.3em 1.3em;
	margin: 2em auto;
	color: #fff;
	background: #97C02F;
	overflow: hidden;
	
	
    width: calc(100% / 3 - 30px);
    margin: 0px 15px;
    margin-bottom: 30px;
   
    border-radius: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 1024px;
}

.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;
}