* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}

/* General things */
h1 {
  font-family:"BPreplay", sans-serif;
  font-weight: 400;
  letter-spacing: -2px;
}
h2, h3, h4 {
  font-family:"League Gothic",LeagueGothic,sans-serif;
  font-weight:normal;
}
a:link { color: #003399; transition: 0.1s ease all; }
a:hover { color: #77f; }
hr {
  border: none;
  height: 1px;
  background: #d0d0d0;
  margin: 30px -10px;
}
.l {text-align:left;}
.c {text-align:center;}
.r {text-align:right;}
.j {text-align:justify;}
.gray { color: rgba(0,0,0,0.5); }
.clearfix:after { /* Clearfix */
  content: "";
  display: table;
  clear: both;
}

/* Negate normalize.js */
.description { display: none; }
dl, menu, ol, ul { margin: 0; }
em { font-style: normal !important; font-weight: bold; }

/* Page layout */
body > header,
#nav {
  width: 100%;
}

body > section, .inner-section, #nav-main {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

.box50 { float: left; width: 50%; }
.box50:first-child { padding-right: 10px; }
.box50:last-child { padding-left: 10px; }
.box40 { float: left; width: 40%; }
.box60 { float: left; width: 60%; }

@media (max-width: 700px) {
  .box50, .box60, .box40 {
    width: 100%;
    float: none;
    margin: 10px 0;
  }
  .box50:first-child { padding-right: 0; }
  .box50:last-child { padding-left: 0; }
}

/* Header */
body > header { background: #f0f0f0; }
#pagetitle { display: table; padding: 10px; padding-bottom: 5px; }
#pagetitle .logo { display: table-cell; vertical-align: middle; }
#pagetitle .logo img { max-height: 99px; width: auto; }
#pagetitle .titletext { display: table-cell; vertical-align: middle; }
#pagetitle .titletext * { margin: 10px; }
#pagetitle .titletext h1 { text-transform: uppercase; font-size: 3em; }
#pagetitle .titletext h2 { text-transform: uppercase; /* letter-spacing: .5px; */ }
#pagetitle .titletext a { color: black; text-decoration: none; margin: 0; }
#social {
  position: absolute;
  top: 30px;
  right: 30px;
}
#social li { list-style: none; float: left; }
@media (max-width: 480px) {
  #social {
  	position: static;
  	display: block;
  	top: auto;
  	right: auto;
  	height: 40px;
  }
}

/* Navigation */
#nav-main { padding: 15px 10px 0 10px; }
#nav-main li {
  display: block;
  float: left;
  width: 33.33%;
  list-style: none;
  border-left: 5px solid white;
  border-right: 5px solid white;
}
#nav-main li > a {
  display: block;
  background: #e8e8f8;
  padding: 5px 5px 0 5px;
  transition: 0.1s all ease;
  text-decoration: none;
}
#nav-main li > a:hover { background: #f0f0ff; }
#nav-main li img { width: 96px; vertical-align: middle; }
#nav-main li span.desc { font-family:"BPreplay", sans-serif; vertical-align: middle; margin-left: 15px; }

@media (max-width: 700px) {
  #nav-main li {
    width: 60%;
    float: none;
    margin: 0 auto 10px auto;
  }
  #nav-main li img {
    width: 48px;
  }
}
@media (max-width: 600px) {

}

/* News */
.lateststuff {
  border: 1px solid #e8e8f8;
  border-top: none;
  background: #f6f6ff;
  padding: 10px;
  font-size: 12px;
  color: #333;
}
.lateststuff p {
  margin: 0;
}

/* Section content */
.content { padding: 20px; }
.content p { margin-top: 0; }
.content ul { padding: 20px 30px; }
.content ul li {
  list-style-type: square;
  padding: 5px;
}
@media (max-width: 700px) {
  .content {
    width: 100%;
  }
}

.highlight {
  margin: 10px 0;
}
.highlight h2 {
  background-color: #e8e8f8;
  padding: 10px;
  margin: 0;
}
.highlight p {
  background-color: #f6f6ff;
  border: 1px solid #e8e8f8;
  padding: 10px;
  margin: 0;
}

/* Lightbox/demo reel */
.slider, .unslider { padding: 0; margin: 0; }
.slider { border: 1px solid #eee; }
.slider1 ul { height: 360px; }
.slider2 ul { height: 450px; }
.slider li {
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center middle;
  background-repeat: no-repeat;
}
.slider li .slidetext {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 6px 10px;
  background: rgba(255,255,255,0.9);
  font-size: 14px;
  transition: 0.3s background ease;
}
.slider li .slidetext .author {
  position: absolute;
  top: 8px;
  right: 15px;
}
.slider li .slidetext .author:before {
  content: 'By: ';
}
.slider li .slidetext h3 {
  margin: 0;
  font-size: 20px;
}
.slider li .slidetext p { margin: 0; }
.slider a { text-decoration: none; color: black; transition: 0.3s color ease; }
.slider a:hover { color: #555; }

.unslider-nav { margin-top: 10px; }
.unslider-nav ol li {
  box-shadow: 0 0 1px 2px #93d2ff;
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.unslider-nav ol li.unslider-active {
  background: #93d2ff;
}

@media (max-width: 1000px) {
  .slider1 ul { height: 35vw; }
  .slider2 ul { height: 45vw; }
  .slider li .slidetext { padding: 5px 15px; font-size: 13px; }
  .slider li .slidetext h3 { font-size: 22px; }
  .slider li .slidetext .author { top: 2vw; right: 2vw; }
}
@media (max-width: 700px) {
  .slider1 ul { height: 55vw; }
  .slider2 ul { height: 70vw; }
}

/* What is Sphere? */
section.group { margin-bottom: 100px; }

/* Downloads */
#download .clearfix {
  margin-top: 30px;
  width: 100%;
}

#downloadslist {
  vertical-align: top;
  float: left;
}
a.button {
  display: block;
  padding: 15px;
  margin-top: 20px;
  max-width: 400px;
  background: #ebebf8;
  transition: 0.3s all ease;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #bbc;
}
a.button:hover {
  background: #fafaff;
}
a.button span.highlight {
  font-size: 21px;
  color: #003399;
}
a.button span.features {
  display: block;
  font-weight: normal;
  font-size: 12px;
}
a.button.gray {
  background: #f0f0f0;
}
a.button.gray:hover {
  background: #fafafb;
}

#downloadsdrive {
  float: right;
  padding: 20px;
  outline: 2px solid #fff;
}
#downloadsdrive:target {
  animation: highlight 0.5s ease;
  animation-iteration-count: 5;
}
#downloadsdrive .link img { width: 96px; }
@keyframes highlight {
  30% { background: #e0e0e0; outline: 2px solid #abe; }
}

@media (max-width: 750px) {
  #downloadslist { float: none; width: 100%; }
  #downloadslist .button { width: 100%; }
  #downloadsdrive { float: none; margin: 20px auto; }
}
@media (max-width: 480px) {
  a.button {
    width: 100%;
  }
}


/* Footer */
footer {
  background: #222;
  color: #bbb;
  text-align: center;
  padding: 20px 0 35px 0;
  font-size: 14px;
}
footer li {
  list-style-type: none;
}
footer a:link, footer a:visited, footer a:active {
  color: #aad;
  text-decoration: none;
}
footer a:hover {
  color: #bbe;
}