/*
    Copyright � Damian Thater, 2009-2017
*/

/* Bootstrap */

body {
  padding-top: 50px;
  padding-bottom: 20px;
}

code {
  color: inherit;
  background-color: inherit;
}

a[name] {
  color: inherit;
  cursor: default;
  text-decoration: none;
}

.h1,
.h2,
.h3,
.h4,
h1,
h2,
h3,
h4 {
  margin: 1em 0;
}

h1:first-child,
h2:first-child,
h3:first-child {
  margin-top: 0;
}

.jumbotron {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.thumbnail {
  background-color: #eee;
}

.thumbnail .caption {
  background-color: #ffe;
  border: 1px solid #ddd;
}

.thumbnail .caption h3 {
  margin-top: 0;
}

.carousel-caption {
  font-size: 150%;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}

.img-thumbnail-plain {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* Bootstrap Theme Changes, Ref: docs.css */

.bs-callout {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
}

.bs-callout-slim {
  padding: 0.25em 1em;
  margin: 0.5em 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
  background-color: #f7f7f7;
}

.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}

.bs-callout p:last-child {
  margin-bottom: 0;
}

.bs-callout code {
  border-radius: 3px;
}

.bs-callout + .bs-callout {
  margin-top: -5px;
}

.bs-callout-success {
  border-left-color: #3c763d;
}

.bs-callout-info {
  border-left-color: #1b809e;
}

.bs-callout-warning {
  border-left-color: #ffae00;
  background-color: #fff7e7;
}

.bs-callout-danger {
  border-left-color: #ce4844;
  background-color: #ffe9e8;
}

.localization-links {
  display: inline-block;
  margin-right: 1em;
}
.localization-links a {
  display: inline-block;
  color: white;
}

/* CUSTOM */

.ae-hidden {
  display: none;
}

table.ae-table {
  border-spacing: 0 4px;
  border-collapse: separate;
}

table.ae-table th {
  text-align: left;
  width: 1%;
  white-space: nowrap;
}

table.ae-table th,
table.ae-table td {
  padding: 4px;
  border-bottom: 2px solid #f0f0f0;
  vertical-align: top;
}

table.ae-full-width {
  width: 100%;
}

table.ae-full-width td,
table.ae-full-width th {
  width: 50%;
}

table.ae-grey-cells td {
  background-color: #f0f0f0;
}

.ae-bg-horizon {
  background: url(/resources/images/header/twitter_banner_2048x405.jpg)
    no-repeat top center;
  background-size: auto 100%;
  height: 300px;
}

.ae-bg-pure-horizon {
  background: url(/resources/images/header/empty_banner_2048x405.jpg) no-repeat
    center center;
  background-size: 1200px auto;
}

.ae-bg-menu {
  background: url(/resources/img/wp-head1.jpg) no-repeat center center;
}

.ae-bg-darken {
  background-color: rgba(0, 0, 0, 0.05);
}

.ae-center-content {
  text-align: center;
}

.ae-padd-content {
  padding-top: 50px;
  padding-bottom: 50px;
}

.ae-white-outline {
  color: white;
  text-shadow: 0 0 5px black;
}

.ae-jumbo-font {
  font-size: 21px;
  font-weight: 200;
}

.ae-nowrap {
  white-space: nowrap;
}

.ae-dark-container {
  background-color: rgb(234, 234, 234);
  box-shadow: 0em 1em 2em rgba(0, 0, 0, 0.33) inset;
}

.ae-dark-container hr {
  border-color: #aaa;
}

.ae-very-dark-container {
  color: white;
  background-color: rgb(60, 60, 60);
  box-shadow: 0em 1em 2em rgba(0, 0, 0, 0.33) inset;
}

.ae-very-dark-container a.ae-bright {
  color: #58a2e2;
}

.ae-very-dark-container hr {
  border-color: #616161;
}

.ae-full-width {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.ae-artwork-thumbnail {
  margin-left: 20px;
  margin-right: 20px;
  height: 200px;
}

img.ae-left {
  display: block;
  margin: 1em 1em 1em 0;
}

.ae-mega-number {
  font-size: 77pt;
  line-height: 77pt;
  font-weight: bold;
  color: #5cb85c;
  text-shadow: 0 5px 5px #2e5a36;
  margin-bottom: 0.2em;
}

.ae-external-tools {
  float: right;
  display: inline-block;
  text-align: center;
  margin: -8px 0 0 0;
  padding: 0.5em;
  background-color: rgba(0, 0, 0, 0.2);
}

.ae-external-tools a {
  margin: 0 2px;
}

.navbar .ae-external-tools {
  margin: 6px 0 0 0;
}

.ae-external-link img {
  height: 22px;
}

.ae-text-middle {
  vertical-align: middle;
  top: 120px;
  position: relative;
}

/*
.ae-bg-radiant-gray {
    background-image: radial-gradient(ellipse 66% 100% at 50% 100%,
        rgb(165, 165, 165) 0%,
        rgb(84, 84, 84) 100%
    );
}

.ae-bg-radiant-dark {
    background-image: radial-gradient(ellipse 66% 100% at 50% 100%,
        rgba(255,255,255,0.15) 0%,
        rgba(0,0,0,0.25) 100%
    );
}

.ae-bg-bottom-shadow {
    background-image: radial-gradient(ellipse 50% 10% at 50% 80% , #000 0%, #FFF 80%);
}
*/

.ae-carousel-border {
  border: 4px solid black;
}

/* Argh! Earthlings! Blog */

.ae-blog {
}

.ae-blog-title,
h1.ae-blog-title,
h2.ae-blog-title,
h3.ae-blog-title,
h4.ae-blog-title {
  margin-top: 1em;
}

.ae-blog-nav {
  position: relative;
  padding: 1em 0;
}

.ae-blog-nav .ae-blog-prefix {
  font-size: 80%;
  color: #aaa;
}

.ae-blog-nav div {
  display: inline-block;
  position: relative;
  vertical-align: top;
}

#prevHead,
#prevFoot {
  width: 49.5%;
}

#nextHead,
#nextFoot {
  width: 49.5%;
  text-align: right;
}

.ae-blog-content em {
  font-style: normal;
  font-weight: bold;
}

.ae-blog .ae-blog-date {
  text-align: center;
  color: black;
  xclear: both;
}

.ae-blog .ae-blog-title .ae-blog-date {
  color: #aaa;
}

.ae-blog-content pre {
  padding: 3px;
  border: 0;
  margin: 1em;
}

.ae-blog-content pre code {
  display: block;
  padding: 0.25em 0.5em;
  background-color: #ffe;
  border: 1px solid #ccc;
  border-radius: 3px 3px 3px 3px;
  color: #339;
}

.ae-blog-content img {
  margin: 2em auto;
  max-width: 99%;
  display: block;
  border: 5px solid #f5f5f5;
}

.ae-foreign-trademark-mention {
  font-size: 8pt;
  font-weight: 400;
  margin-top: 2em;
}

.ae-help-screenshot {
  margin: 1em 0;
  max-width: 50%;
}

/* REVIEWS */

.review {
  margin-bottom: 1em;
  text-align: center;
}

.review .review_stars {
  display: inline-block;
  line-height: 14px;
  background: url(/resources/img/star_14x14_96dpi.png) repeat-x 0 0;
  width: 0;
  height: 14px;
  margin: 4px;
}

.review .review_stars_1 {
  width: 14px;
}

.review .review_stars_2 {
  width: 28px;
}

.review .review_stars_3 {
  width: 42px;
}

.review .review_stars_4 {
  width: 56px;
}

.review .review_stars_5 {
  width: 70px;
}

.review .review_user {
  color: gray;
  font-size: 75%;
  padding-top: 0.5em;
}

.review .review_user .source {
  display: block;
}

.review a {
  text-decoration: underline;
  font-weight: bold;
}

/* Publications */

.publications {
}
.publications div {
  margin-bottom: 0.25em;
}
.publications span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.publications .publication-date {
  display: inline-block;
  width: 10%;
  color: gray;
}
.publications .publication-language {
  display: inline-block;
  width: 5%;
  color: gray;
}
.publications .publication-source {
  display: inline-block;
  width: 15%;
  font-weight: bold;
  margin-right: 1em;
}
.publications .publication-link {
  display: inline-block;
  width: 60%;
}

/* MEDIA */

/* Huge devices (displays, 1550px and up) */
@media (min-width: 1500px) {
  .ae-bg-horizon {
    height: 370px;
  }
  .ae-text-middle {
    top: 160px;
  }
}

/* Small devices (tablets, 768px and less) */
@media (max-width: 767px) {
  .row {
    margin-right: 0;
    margin-left: 0;
  }
  .ae-bg-horizon {
    height: 200px;
  }
  .ae-text-middle {
    top: 66px;
  }
  .navbar .ae-external-tools {
    float: left;
    margin: -4px 0 4px 0;
  }
  .publications div {
    margin-bottom: 1em;
  }
  .publications .publication-date {
    display: inline-block;
    width: 6em;
  }
  .publications .publication-language {
    display: inline-block;
    width: 3em;
  }
  .publications .publication-source {
    display: block;
    width: 100%;
  }
  .publications .publication-link {
    display: block;
    width: 100%;
  }
  .think-cloud {
    width: 100%;
  }
}

/* Small devices (phones, 480px and less) */
@media (max-width: 479px) {
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    padding-right: 0;
    width: 77%;
  }
  .navbar > .container .navbar-brand img,
  .navbar > .container-fluid .navbar-brand img {
    margin-top: 2px;
    width: 100%;
  }
  .ae-jumbo-font,
  h3,
  .h3 {
    font-size: 110%;
    font-weight: normal;
  }
  .ae-bg-horizon {
    height: 130px;
  }
  .ae-text-middle {
    top: 30px;
  }
  .ae-blog-content pre code {
    font-size: 66%;
  }
  .ae-help-screenshot {
    max-width: 100%;
  }
  .ae-padd-content {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .ae-mega-number {
    font-size: 57pt;
    line-height: 57pt;
  }
  img.img-md-6 {
    margin: 10px;
    width: 100%;
  }
  iframe {
    width: 308px;
    height: 168px;
  }
  .ae-dark-container,
  .ae-very-dark-container {
    box-shadow: 0em 0.3em 0.6em rgba(0, 0, 0, 0.33) inset;
  }
}
