
@font-face {
font-family: 'franchiseregular';
src: url('https://cdn.ageofascent.net/assets/fonts/franchise-regular.eot');
src: url('https://cdn.ageofascent.net/assets/fonts/franchise-regular.eot?#iefix') format('embedded-opentype'), url('https://cdn.ageofascent.net/assets/fonts/franchise-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'PT Sans';
src: url('https://cdn.ageofascent.net/assets/fonts/pt_sans-web-regular.eot');
src: url('https://cdn.ageofascent.net/assets/fonts/pt_sans-web-regular.eot?#iefix') format('embedded-opentype'), url('https://cdn.ageofascent.net/assets/fonts/pt_sans-web-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}


* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

html {
margin: 0;
background: url('https://cdn.ageofascent.net/assets/header_aoa_4.png') repeat-x;
background-color: #001;
}

html, body {
margin: 0;
padding: 0;
color: ghostwhite;
font-family: "PT Sans", Arial, Helvetica, sans-serif;
}

body {
max-width: 940px;
margin: auto;
position: relative;
}

a {
text-decoration: none;
color: #378ad2;
cursor: pointer;
}

a:hover {
color: #74c7d6;
}

.date a {
text-decoration: none;
color: grey;
cursor: pointer;
}

.date a:hover {
color: grey;
text-decoration: underline;
}

section a {
font-weight: bold;
}

p {
clear: left;
}

p img {
max-width: 100%;
}

#leftpanel p::first-letter {
float: left;
color: #0764b5;
font-size: 48px;
line-height: 36px;
padding-right: 6px;
padding-left: 3px;
}

#logo {
height: 42px;
width: 88px;
position: absolute;
top: 4px;
left: 4px;
}

nav {
font-family: franchiseregular;
height: 51px;
}

nav ul {
list-style: none;
margin: 0;
padding: 0;
float: right;
height: 51px;
}

nav li {
float: left;
padding-top: 8px;
margin: 2px 10px 10px 10px;
border-top: 4px solid transparent;
font-size: 4vw;
}

nav li a {
	color: ghostwhite;
}

@media (min-width: 600px) {
nav li {
font-size: 24px; /*above 800px */
}
}

nav li:hover {
border-top: 4px solid #378ad2;
}

li.selected {
border-top: 4px solid #0764b5;
}

section a:hover {
text-decoration: underline;
}

section {
margin: 0;
padding: 16px;
overflow: hidden;
}

#leftpanel {
clear: both;
width: 100%;
}

#rightpanel{
	float:right;
}
#rightpanel .video {
width: calc(100vw - 48px);
height: calc(56.25vw - 48px);
margin-bottom: 8px;
}

@media (min-width: 950px) {
#leftpanel {
width: 420px;
float: left;
}

#rightpanel {
clear: right;
max-width: 512px;
}

#rightpanel .video {
	width: 480px;
	height: 270px;
}
}

#newspanel {
	clear:left;
}

#social{
	clear:right;
	float:right;
	max-width: 300px;
}

.categories{
	clear:right;
	float:right;
	width: 300px;
}

.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 16px;
}

.categories li:before {
    content: ">";
    padding-right: 8px;
    font-size: 10px;
    vertical-align: top;
    padding-top: 4px;
    display: inline-block;
color: #F5A923;
}

@media (max-width: 740px) {
#social{
	display:none;
}
.categories{
	display:none;
}
}

section.banner {
margin: auto;
max-width: 932px;
clear: both;
padding: 16px;
}

section.banner h1 {
margin: 0;
}

img.banner {
width: calc(100vw - 48px);
height: calc(23.11vw - 11px);
max-width: 900px;
max-height: 208px;
}

.testdate {
color: red;
text-align: center;
font-family: franchiseregular,'Arial Narrow', Arial, sans-serif;
font-size: 32px;
min-height: 35px;
}

.testtime {
color: white;
text-align: center;
font-family: franchiseregular,'Arial Narrow', Arial, sans-serif;
font-size: 32px;
min-height: 35px;
}

@media (min-width: 680px) {
.testdate {
height: 35px;
}

.testtime {
height: 35px;
}
}

button, input[type=submit] {
background-image: url('https://cdn.ageofascent.net/assets/button.png');
width: 250px;
height: 50px;
border: 0px;
padding: 0px;
display: block;
margin: auto;
font-weight: bold;
color: white;
cursor: pointer;
overflow:hidden;
}

button:hover, input[type=submit]:hover {
background-position: 0px -50px
}

button:active, input[type=submit]:active {
background-position: 0px -100px
}

.date {
color: grey;
}
h1 {
min-height:40px;
}
h2 {
color: #F5A923;
border-bottom: 1px solid;
min-height:31px;
}
h2.blog {
border-bottom: 0px none;
}

h3 {
margin: 0;
}

h4 {
border-top: 1px solid #F5A923;
border-bottom: 1px solid #F5A923;
margin-left: 30%;
margin-right: 30%;
padding: 4px;
text-align: center;
}

footer {
font-family: "PT Sans", Arial, Helvetica, sans-serif;
padding: 4px;
margin-bottom: 16px;
clear:both;
border-top: 1px solid #5A4328;
}

.quote {
  position:relative;
  padding:15px;
  margin: 0 0 18px;
  color:#000;
  background:#f3961c; /* default background for browsers without gradient support */
  /* css3 */
  background:-webkit-gradient(linear, 0 0, 0 100%, from(#f9d835), to(#f3961c));
  background:-moz-linear-gradient(#f9d835, #f3961c);
  background:-o-linear-gradient(#f9d835, #f3961c);
  background:linear-gradient(#f9d835, #f3961c);
  -webkit-border-radius:10px;
  -moz-border-radius:10px;
  border-radius:10px;
}
/* creates triangle */
.quote:after {
  content:"";
  position:absolute;
  bottom:-15px; /* value = - border-top-width - border-bottom-width */
  left:50px; /* controls horizontal position */
  border-width:15px 15px 0; /* vary these values to change the angle of the vertex */
  border-style:solid;
  border-color:#f3961c transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}
.from{
	margin-left: 16px;
    margin-bottom: 16px;
}

.social{
	width:300px; 
	height:32px;
}

.hidden{
	display:none;
}

.btn-group {
    text-align: center;
}
.btn-group button {
    display: inline-block;
    width: 171px;
    background-size: cover;
    height: 34px;
    font-size: 11px;
    font-weight: normal;
}
.btn-group button:hover {
    background-position: 0 -34px;
}
.btn-group button:active {
    background-position: 0 -68px;
}
section > blockquote {
    border-left: 5px solid #0764b5;
    padding-left: 8px;
    margin-left: 24px;
}
section>blockquote>blockquote {
    border-left: 5px solid #138cf6;
    padding-left: 8px;
    margin-left: 24px;
}
section {
	max-width: 640px; 
	float: left; 
	padding-top: 0px;
}
code.highlighter-rouge {
    background: rgba(255,255,255,0.25);
    padding: 4px;
    border-radius: 2px;
    margin: 0px;
}
.twitter-tweet {
    background-color: white;
    border-radius: 6px;
    padding: 6px;
    color: black;
    border: 1px grey solid;
    text-align: right;
}

.twitter-tweet p {
    margin: 4px;
    padding: 4px;
    padding-bottom: 9px;
    text-align: left;
}

.post-date-day {
    width: 19px;
    display: inline-block;
    text-align: right;
}
.post-date-month {
    width: 26px;
    display: inline-block;
}
.count {
    color: grey;
    font-weight: bold;
}
.page article {
    margin-bottom: 16px;
}

/* code */
.highlight table td { padding: 5px; }
.highlight table pre { margin: 0; }
.highlight, .highlight .w {
    color: #bfbfbf;
    background-color: #222;
    overflow-x: hidden;
}
.highlight .err {
}
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
    color: #16c154;
}
.highlight .cp {
    color: #f4bf75;
}
.highlight .nt {
    color: #f4bf75;
}
.highlight .o, .highlight .ow {
    color: #d0d0d0;
}
.highlight .p, .highlight .pi {
    color: #d0d0d0;
}
.highlight .gi {
    color: #90a959;
}
.highlight .gd {
    color: #ac4142;
}
.highlight .gh {
    color: #6a9fb5;
    background-color: #151515;
    font-weight: bold;
}
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
    color: #f93990;
}
.highlight .kc {
    color: #d28445;
}
.highlight .kt {
    color: #398eea;
}
.highlight .kd {
    color: #d28445;
}
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
    color: #90a959;
}
.highlight .sr {
    color: #75b5aa;
}
.highlight .si {
    color: #8f5536;
}
.highlight .se {
    color: #8f5536;
}
.highlight .nn {
    color: #f4bf75;
}
.highlight .nc {
    color: #f4bf75;
}
.highlight .no {
    color: #f4bf75;
}
.highlight .na {
    color: #6a9fb5;
}
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
    color: #90a959;
}
.highlight .ss {
    color: #90a959;
}
.highlight .nf {
    color: #16b5d4;
}
