/** @fileoverview CSS for Big Picture homepage. */

/** General formatting **/

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Abadi MT Condensed Light', 'Open Sans Condensed', sans-serif;
  margin-bottom: 100px;
}

a {
  text-decoration: none;
}

a.hover {
  text-decoration: underline;
}

/** Whole-page container **/

.section {
  margin: 0px auto;
  width: 810px;
  padding: 0px;
}

.footer {
  padding-top: 80px;
  font-size: 1.1em;
  color: #999;
}

/** Header formatting. **/

.header {
  background: #28516a;
  box-sizing: border-box;
  color: #a7b3c2;
  display: flex;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.3em;
  font-weight: 300;
  height: 84px;
  margin: 0;
  min-width: 810px;
  padding: 28px 0;
  position: relative;
  white-space: nowrap;
  width: 100%;
}

.header a {
  color: inherit;
  text-decoration: none;
}

.header .team-name {
  color: white;
}

.header-bar {
  display: flex;
  flex: 1;
}
.header-bar .spacer {
  flex: 1;
}
.header-bar span {
  display: inline-block;
}

.header-bar.left {
  flex-direction: row-reverse;
  font-size: 22px;
}
.header-bar.left span {
  margin-left: 0.5em;
}
.header-bar.left .spacer {
  max-width: 210px;
}

.header-bar.right {
  padding-top: 8px;
  font-size: 18px;
}
.header-bar.right span {
  margin-right: 1em;
}
.header-bar.right .spacer {
  max-width: 405px;
}

.google-brain img {
  position: relative;
  top: 3px;
}

/** Publications. */

.pub-section {
  display: flex;
  margin: 56px auto 0;
  width: 810px;
}

.pub-section-title {
  color: #518aad;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 30px;
  margin-right: 20px;
  text-align: right;
  width: 200px;
}

.pub-year-header {
  font-size: 18px;
  line-height: 34px;
}

.pub-section-content {
  color: #717171;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.35em;
  width: 610px;
}

.pub-item {
  margin-bottom: 1em;
}
.pub-item:last-child {
  margin-bottom: 0;
}
.pub-item a {
  text-decoration: underline;
}

.pub-title {
  color: black;
  font-weight: 400;
}
.pub-title a {
  color: inherit;
}

.keynote {
  color: #ee5f06;
}


/** Overview (left column) formatting */

.section-overview {
  width: 200px;
  display: inline-block;
  margin: 20px 20px 0px 0px;
  text-align: end;
}

.content-page .section-overview {
  vertical-align: top;
}

.overview-title {
  font-size: 2em;
  color: #666;
}

.overview-subtitle {
  color: #666;
}

.bp-logo {
  background-color: #999;
  color: #fff;
  padding: 10px;
  display: inline-block;
}

.overview-text {
  color: #999;
}

.realtime {
  color: #c00;
  text-transform: uppercase;
}

/** Content (right column) formatting */

.section-content {
  width: 580px;
  display: inline-block;
  margin:  30px 0px 0px 0px;
}

.content-image {
  border: 1px solid #d1d1d1;
  box-sizing: border-box;
  height: 215px;
  width: 580px;
}
.content-image.borderless {
  border: none;
}

.content-text {
  color: #518aad;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.5em;
  font-weight: 300;
  text-align: center;
}

/** Content pieces for further-details pages. */

.content-full, .content-half {
  font-family: 'Open Sans', sans-serif;
  font-size: .825em;
  margin: 1em 0;
}

.content-header {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: .5em;
  color: #666;
}

.content-half {
  width: 50%;
  float: left;
}

.content-page img {
  border: 1px solid #ccc;
}

/** override for imported content */
.content-page img.no-border {
  border: 0px;
}
