/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*--after reset--*/
*,
*:before,
*:after {
  box-sizing: border-box;
}
@media screen and (min-width:1600px) {
  html, body, nav {
    max-width: 1600px;
    margin: 0 auto;
  }
}

/*--containers/columns--*/
.container {
  padding: 0 20px;
}
.col1-4,
.col3-4,
.col1-3,
.col1-2 {
  display: inline-block;
  vertical-align: top;
}
.col1-4 {
  width: 25%;
}
.col3-4 {
  width: 75%;
}
.col1-3 {
  width: 33%;
}
.col1-2 {
  width: 50%;
}
/*--fonts--*/
@font-face {
  font-family: Raleway;
  src: url('../fonts/Raleway.ttf');
}
@font-face {
  font-family: Cabin;
  src: url('../fonts/Cabin.ttf');
}

h1, h2 {
  font-family: 'Raleway', serif;
}
h3, h4, p, .button {
  font-family: 'Cabin', sans-serif;
}
h1 {
  font-size: 24pt;
  letter-spacing: 1.3;
  padding: 10px 0;
}
h2 {
  font-size: 18pt;
}
h3 {
  font-size: 14pt;
}
h4 {
  font-size: 10pt;
}
p {
  padding-bottom: 11px;
  line-height: 1.4;
}
#about p {
  font-size: 14pt;
  text-align: left;
}
.button {
  font-size: 12pt;
  color: #8C44AB;
}
/*--buttons--*/
.button {
  display: block;
  margin: 0 auto;
  padding: 10px 15px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 9px #8C44AB;
  background-color: white;
  outline: none;
  cursor: pointer;
  transition: transform 0.3s;
}
.button:hover {
  transform: scale(1.05) translateY(-5px);
}
.button:active {
  transform: translateY(4px);
  box-shadow: 0 5px #8C44AB;
}
.button span {
  display: block;
}
/*--navbar--*/
nav {
  font-family: 'Raleway', sans-serif;
  background-color: #8C44AB;
  box-shadow: 0 1px 3px black;
}
.navbar-brand {
  font-size: 20pt;
}
.navbar-nav > li > a {
  font-size: 9pt;
}
@media screen and (max-width:500px) {
  a.navbar-brand {
    font-size: 15pt;
  }
}
@media screen and (max-width:370px) {
  a.navbar-brand {
    font-size: 12pt;
  }
}

/*--footer--*/
footer {
  background-color: #8C44AB;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0 3px black;
  color: white;
}
footer h3,
footer h4 {
  padding: 3px 0;
}
footer h3 {
  padding-bottom: 5px;
}
#social-links a {
  text-decoration: none;
}
.s-link {
  position: relative;
  width: 50px;
  height: 50px;
  display: inline-block;
}
.s-link img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.s-link img.f-active {
  z-index: 3;
}
#andrew-sig {
  color: lightgrey;
  opacity: 0.5;
}
#andrew-sig a {
  color: lightgrey;
  text-decoration: none;
}
#andrew-sig a:hover {
  opacity: 1;
  color: white;
  text-shadow: 0 0 1px white;
}
/*--body--*/
section {
  text-align: center;
  margin-bottom: 10px;
}
section a {
  text-decoration: none;
  color: #8C44AB;
}
section a:hover {
  text-shadow: 0 0 2px #b98ccc;
}
.group:before,
.group:after {
  content: "";
  display: table;
}
.group:after {
  clear: both;
}
hr {
  width: 50%;
}
/*--about--*/
.top {
  position: relative;
  margin-top: 50px;
}
#welcome {
  background-image: url('../imgs/about/square-repeat.jpg')
}
#welcome img {
  height: calc(100vh - 51px);
  float: right;
}
@media screen and (max-width:800px) {
  #welcome img {
    width: 100%;
    height: inherit;
  }
}

#floatquote {
  position: absolute;
  top: calc((100vh - 60px)/2);
  font-size: 1.2em;
  padding: 0 20px;
  width: 50%;
  color: white;
  text-shadow: 1px 1px 3px black;
}
#fq-text {
  padding-bottom: 10px;
}
#fq-quote {
  text-align: right;
  font-size: .9em;
}
@media screen and (max-width:730px) {
  #floatquote {
    top: 30%;
  }
}
@media screen and (max-width:535px) {
  #floatquote {
    display: none;
  }
}

#featured-in {
  max-width: 100%;
}
.featuredIn {
  min-width: calc((100% / 6) - 20px);
  max-width: calc((100% / 6) - 20px);
  padding: 10px;
  text-decoration: none;
}
#featured-in img {
  min-width: calc((100% / 6) - 20px);
  max-width: calc((100% / 6) - 20px);
  opacity: .5;
  transition: opacity 0.3s;
}
#featured-in img:hover {
  opacity: 1;
}
#about {
  padding-top: 10px;
  padding-bottom: 20px;
}
.twitter-follow-button {
  float: right;
  margin-bottom: 5px;
  margin-top: 10px;
}
#videos,
#tweets {
  padding: 0 30px;
}
@media screen and (max-width:900px) {
  #videos,
  #tweets {
    width: 80%;
    padding: 0;
  }
}

#playCode {
  margin-top: 20px;
}
iframe {
  width: 100%;
}
#videoSelector {
  list-style-type: none;
  width: 100%;
  padding-top: 20px;
}
#videoSelector button {
  display: inline-block;
}
#videoSelector button.activeVid {
  box-shadow: 0 9px rgba(0,0,0,0);
}
#videoSelector button.activeVid:hover {
  transform: scale(1);
}
.activeVid {
  font-size: 1.1em;
}
@media screen and (max-width:560px) {
  #videoSelector button {
    display: block;
    margin: 15px auto;
  }
}

.company {
  padding: 20px;
  transition: transform 0.3s;
}
.company:hover {
  transform: scale(1.05) translateY(-7px);
}
#companies img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 1px 5px #8C44AB;
}
@media screen and (max-width:800px) {
  .company {
    width: 80%;
    padding: 20px;
  }
  .company img {
    max-width: 240px;
  }
}

#advisory a {
  display: inline-block;
  margin: 10px;
  text-decoration: none;
  font-family: "Cabin", sans-serif;
  max-width: 200px;
}
#advisory img {
  max-width: 100%;
}
@media screen and (max-width:800px) {
  #advisory {
    min-width: 80%;
    margin: 20px auto;
  }
  .col1-2 {
    width: 100%;
  }
  #advisory img {
    max-width: 100px;
  }
}
@media screen and (max-width:320px) {
  .button span {
    display: none;
  }
}

.upcomingIMG {
  margin: 10px 0;
  max-height: 150px;
  max-width: 100%;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 1px 5px #8C44AB;
  transition: transform 0.3s;
}
.upcomingIMG:hover {
  transform: scale(1.05) translateY(-5px);
}
@media screen and (max-width:800px) {
  #upcoming {
    min-width: 80%;
    margin: 20px auto;
  }
  .upcomingIMG {
    max-width: 80%;
  }
}

#carousel {
  width: 816px;
  height: 612px;
  overflow: hidden;
  margin: 0 auto;
}
#carousel .slides {
  display: block;
  width: 6000px;
  height: inherit;
  margin: 0;
  padding: 0;
}
#carousel .slide {
  float: left;
  list-style-type: none;
  width: 816px;
  height: inherit;
}
.slide img {
  width: 100%;
}
@media screen and (max-width:850px) {
  #carousel {
    width: 408px;
    height: 306px;
  }
  #carousel .slide {
    width: 408px;
  }
}
@media screen and (max-width:450px) {
  #testimonials {
    display: none;
  }
}

/*--gallery--*/
#instagram-feed {
  margin-top: 60px;
  padding: 2em inherit;
}
/*--honors--*/
.title {
  height: calc((100vh - 51px)/2);
  overflow: hidden;
}

.title img{
  max-width: 1600px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width:800px) {
  .title img {
    max-width: 800px;
  }
}

.title-text {
  color: white;
  text-align: center;
  font-size: 48pt;
  letter-spacing: 3px;
  text-shadow: 0 0 20px black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width:500px) {
  .title-text {
    font-size: 30pt;
  }
}

.honor {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  display: inline-block;
  cursor: zoom-in;
}
.honorCaption {
  position: absolute;
  text-align: center;
  padding: 20px 10px 0 10px;
  text-shadow: 1px 1px 3px black;
  height: 50%;
  background-color: rgba(255,255,255,0.5);
  left: 0;
  top: 100%;
  width: 100%;
  color: white;
  font-family: 'Cabin', serif;
}
.honorIMG {
  width: 150%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.honorDesc {
  display: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 5;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.8);
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
#caption {
  text-align: center;
  color: white;
  margin-top: 10px;
  padding: 0 20px;
  font-size: 24pt;
  text-shadow: 1px 1px 3px black;
}
#modalDesc {
  font-size: 18pt;
}
#modalDesc a:hover {
  text-shadow: 0 0 5px #b98ccc;
}

@media screen and (max-width:800px) {
  .honor {
    width: 200px;
    height: 200px;
  }
}
@media screen and (max-width:500px) {
  .honor {
    width: 100px;
    height: 100px;
  }
  #caption {
    font-size: 12pt;
  }
  #modalDesc {
    font-size: 12pt;
  }
}
.close {
  position: fixed;
  top: 65px;
  right: 35px;
  color: lightgrey;
  font-size: 35pt;
  transition: 0.3s;
  opacity: .7;
}
.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
  opacity: .9;
}
/*--press--*/
#mostRecent {
  margin: 71px 0 40px 0;
  min-height: 350px;
}
#mostRecent img {
  max-width: 100%;
}
#mostRecent h2 {
  padding-top: 10px;
}
@media screen and (max-width:800px) {
  #mostRecent h2 {
    font-size: 14pt;
  }
}

.photo-grid {
  padding-top: 10px;
  text-decoration: none;
}
.photo-obj {
  position: relative;
  text-align: center;
  width: 150px;
  height: 150px;
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
}
.photo-img {
  width: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.photo-caption {
  position: absolute;
  text-align: center;
  padding: 20px 10px 0 10px;
  text-shadow: 1px 1px 3px black;
  height: 50%;
  background-color: rgba(255,255,255,0.5);
  left: 0;
  top: 100%;
  width: 100%;
  color: white;
  font-family: 'Cabin', serif;
}
/*--speaker--*/
.timeline-container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}
.timeline-container::after {
  content: '';
  display: table;
  clear: both;
}
#timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #d7e4ed;
}
@media only screen and (min-width:1170px) {
  #timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}
.timeline-block {
  position: relative;
  margin: 2em 0;
}
/*
.timeline-block a:hover {
  transform: scale(1.1);
  cursor: pointer;
}
.timeline-content:active {
  transform: scale(.99);
}
*/
.timeline-block::after {
  content: '';
  display: table;
  clear: both;
}
.timeline-block:first-child {
  margin-top: 0;
}
.timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .timeline-block {
    margin: 4em 0;
  }
  .timeline-block:first-child {
    margin-top: 0;
  }
  .timeline-block:last-child {
    margin-bottom: 0;
  }
}

.timeline-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0,0,0,0.08), 0 3px 0 4px rgba(0,0,0,0.08);
  background-color: #8C44AB;
}
.timage {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 20%;
  margin-left: -12px;
  margin-right: -12px;
}
@media only screen and (min-width:1170px) {
  .timeline-img {
    width: 60px;
    height: 60px;
    left: 50%;
    margin-left: -30px;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  .timage {
    top: 30%;
  }
}
.timeline-content {
  position: relative;
  margin-left: 60px;
  background: #8C44AB;
  border-radius: 0.25em;
  padding: 1em;
  padding-bottom: 45px;
  box-shadow: 0 3px 0 #d7e4ed;
  color: white;
}
.timeline-content::after {
  content '';
  display: table;
  clear: both;
}
.timeline-content a,
.timeline-content span {
  color: white;
  font-family: 'Cabin', sans-serif;
}
.timeline-content h2 {
  line-height: 1.2;
}
.timeline-content h2,
.timeline-content p {
  text-shadow: 1px 1px 3px black;
}
.timeline-content .date {
  display: inline-block;
  text-shadow: none;
}
.timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
}
.timeline-content .date {
  color: white;
  float: left;
  text-align: left;
  padding: .8em 0;
  opacity: .7;
}
.timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid #8C44AB;
}
a.timeline-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
  display: none;
  opacity: 0;
  border-radius: 0.25em;
}
.timeline-hover-text {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.timeline-content iframe {
  margin-top: 10px;
}
@media only screen and (min-width: 1170px) {
  .timeline-content {
    margin-left: 0;
    padding: 1.6em;
    width: 45%;
  }
  .timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #8C44AB;
  }
  .timeline-content .date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    color: #8C44AB;
  }
  .timeline-block:nth-child(even) .timeline-content {
    float: right;
  }
  .timeline-block:nth-child(even) .timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #8C44AB;
  }
  .timeline-block:nth-child(even) .timeline-content .date {
    left: auto;
    right: 122%;
    text-align: right;
  }
}

/*--contact--*/
#contact-top-img {
  top: 50%;
}
#contactTop {
  max-height: 853px;
}
form {
  padding: 20px;
}
input,
textarea {
  font-family: 'Cabin', sans-serif;
  padding: 10px;
  width: 100%;
  margin-bottom: 5px;
}
.g-recaptcha {
  float: left
}
#sendEmailButton {
  width: 100px;
  float: right;
}
#success,
#error {
  text-align: center;
}
#success {
  color: green;
}
#error {
  color: red;
}
#cslinks {
  padding: 20px;
  text-align: center;
}
.cslink {
  text-decoration: none;
}
.cslink img {
  margin: 20px 10px 0 10px;
  max-width: 100px;
  border-radius: 25px;
}