BODY {
  background-color: #fafafa;
  background-image: url(/assets/css/images/bg.png);
  margin: 0;
  padding: 0;
}

/* Headers */
#nav {
  position: relative;
  width: 100%;
  height: auto;
}

#top {
  margin: 0;
  padding: 0;
  text-align: right;
  width: 100%;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  color: #fff;
  background-color: #101010;
}
#top ul {
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}
#top li {
  display: inline-block;
  padding-left: 0;
}
#top > div.nav0 a {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
  outline: 0;
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
  height: 2.5em;
  line-height: 2.5em;
  padding: 0 1.25em;
}

/* Pop Up */
#top > div.nav0 > ul > li > div.info > img {
	max-width: 345px;
  max-height: 380px;
	box-shadow: 0px 2px 3px 1px #696868;
	border-radius: 5px;
}
#top > div.nav0 > ul > li {
	position: relative;
}
#top > div.nav0 > ul > li > div.info {
	text-align: left;
	background: #fff;
	padding: 10px;
	margin: 0px;
	color: #000;
	width: 365px;
	font-size: 0.6rem;;
	box-shadow: 0px 2px 5px 3px #7272727b;
	border-radius: 5px;
	position: absolute;
	top: 40px;
	right: 10px;
	display: block;
	z-index: 10005;
	display: none;
}

/* Jumbo */
.wrapper.style1 {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  height: 50vh;
}

.wrapper.style1 h1, .wrapper.style1 p > strong {
  color: #fff;
}
.wrapper.style1 strong {
  color: rgb(255, 172, 64);
}

/* Jumbo Animation */
.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position:absolute;
  bottom: 0px;
  width: 100%;
  height:30vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:250px;
  display: block;

}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:100px;
    min-height:40px;
  }
}


/* Markdown Related */
.wrapper.style5 {
  background-image: none;
  background-color: #fff;
}

.wrapper.style5 h1,
.wrapper.style5 h2,
.wrapper.style5 h3,
.wrapper.style5 h4,
.wrapper.style5 h5 {
  display: block;
  width: 100%;
  line-height: 1.9rem;
  text-align: left;
}

body > article.wrapper.style5 > div > div.row {
  flex-direction: column;
  text-align: left;
  margin: 1px;
}

#footer {
  height: 150px;
  margin: 0px;
  padding: 10px;
}

#footer li {
  color: #fff;
}

.wrapper.footer1 {
  background-image: none;
  background-color: #fbfbfb;
}

article.wrapper.footer1 > div > div.row, 
article.wrapper.footer2 > div > div.row  {
  flex-direction: column;
}

.wrapper.footer2 {
  background-image: none;
  background-color: #e9e9e9;
}

article.wrapper.footer1 img,
article.wrapper.footer2 img {
  box-shadow: 0px 0px 8px 2px #00000096;
  border-radius: 10px;
  max-width: calc(100%);
}

/* Card */
article.content > div > div > div > article > p {
  text-align: left;
}

article.content > div > div > div > article.box {
  min-height: 650px;
}

article.content > div > div > div > article.box > a > img {
  box-shadow: 0px 2px 0px 0px #00000069;
  max-width: calc(100%);
  height: 270px;
}