html,
body {
  font-family: 'Open Sans', sans-serif;
  color: #555F61;
  font-weight: 300;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
a {
  color: #d71217;
}
a img:hover {
  opacity: 0.8;
}
a:hover,
a:focus {
  color: #FF5555;
  text-decoration: none;
}
.centered {
  margin: auto;
  text-align: center;
}
.separator {
  position: relative;
  bottom: -59px;
  text-align: center;
}
.section-content-dark-bg,
.section-content-white-bg,
.section-content-light-bg {
  padding-top: calc(3 * 30px);
  padding-bottom: calc(3 * 30px);
  font-size: 1.2em;
  text-align: center;
  width: 100%;
}
.section-content-dark-bg {
  background-color: #a256511c;
}
.section-content-white-bg {
  color: #333;
}

.section-content-light-bg {
  background-color: #e2a39f14;
}

.section-content-dark-bg h3,
.section-content-white-bg h3,
.section-content-light-bg h3 {
  color: #2D3E50;
}
.section-title-dark-bg,
.section-title-white-bg {
  font-size: 2.8em;
  margin: 50px;
  display: block;
  -webkit-font-smoothing: antialiased;
  color: #2D3E50;
}
@media (max-width: 768px) {
  .section-title-dark-bg,
  .section-title-white-bg {
    font-size: 2em;
  }
}
.vertical-center {
  height: 400px;
  margin-top: 100px;
  display: flex;
  align-items: center;
}
.top-navbar {
  background-color: white;
  color: #2c3e50;
}
.top-navbar-not-top {
  z-index: 99;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .navbar-brand {
    display: none;
  }
}

/* Intro section: */

.intro-section {
  text-align: center;
}
.headline img {
  height: 7em;
}
.headline h1 {
  margin-top: 40px;
  font-size: 2.5em;
  -webkit-font-smoothing: antialiased;
  color: #2D3E50;
}
@media (max-width: 768px) {
  .headline img {
    height: 3em;
  }
}

/* Features section: */

.features-section {
  padding: 0;
}
.features-section h3 {
  -webkit-font-smoothing: antialiased;
  padding-bottom: 20px;
}
.features-section img {
  height: 80px;
}
.features-section .flexible-section img {
  height: 65px;
}
.features-section .scalable-section img {
  height: 75px;
}
.features-section .scalable-section .htcondor {
  width: 85px;
  height: auto;
}
.features-section .scalable-section .slurm {
  height: 67px;
}
.features-section div[class*="col-"] {
  margin-top: 40px;
}
.fa-heart {
  color: #fe3336;
}

/* Examples section: */

.examples-section img {
  /* adapt this number to smallest img in examples */
  max-height: 220.78px;
}
@media (max-width: 1200px) {
  .examples-section img {
    /* adapt this number to smallest img in examples */
    max-height: 177.31px;
  }
}
@media (max-width: 992px) {
  .examples-section img {
    /* adapt this number to smallest img in examples */
    max-height: 124px;
  }
}
.examples-section pre {
  /* override prism.js margin-top */
  margin-top: 0 !important;
}
.examples-section figure {
  width: 100%;
  background-color: white;
  border: #fe333647 dotted 2px;
  padding: 10px;
}
@media (max-width: 766px) {
  .examples-section figure {
    /* Avoid carousel to place navigation arrows on top of the figures. */
    margin-top: 15px;
  }
}
@media (max-width: 992px) {
  .examples-section figure {
    height: 206px;
  }
}
.cl-example {
  background-color: transparent !important;
  height: 220.78px;
  text-align: center;
  padding-left: 55px;
}
@media (max-width: 1200px) {
  .cl-example {
    height: 177.31px;
  }
}
@media (max-width: 992px) {
  .cl-example {
    height: 124px;
  }
}
/* Arrow color modified inside SVG document fill='%23ff3336' where after %23 comes the HEX code of the color (RE)ANA red */
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff3336' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E")
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff3336' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E")
}

/* Get Started section: */

.getstarted-section div[class*="col-"] {
  padding-top: 30px;
}
.getstarted-section .figure {
  width: 100%;
}

/* Documentation section: */

.documentation-section i {
  padding-bottom: 30px;
  color: #2d3e4f;
}
.documentation-section .col {
  margin-bottom: 40px;
}

/* News section: */

.news-section .row {
  border-top: 1px solid #eaeaea;
}
.news-section .row>div:last-child {
  padding-top: 0;
}
.news-section div[class*="col-"] {
  padding: 20px;
}
@media (max-width: 766px) {
  .news-section .row {
    border-top: none;
  }
  .news-section .row>div:last-child {
    border-top: 1px solid #eaeaea;
  }
  .events-list-container {
    margin-left: 10px;
  }
}
.release-news {
  width: 80%;
  display: inline-table;
  border: 1px solid #2d3e4e;
}
.release-news h3 {
  font-weight: 500;
  padding-top: 20px;
}
.release-news h6 {
  font-size: 0.8em;
  font-weight: 300;
  font-style: italic;
  padding-bottom: 20px;
}
.release-news img {
  width: calc(100% - 40px);
  margin: 20px;
}
.release-news-body {
  padding: 0px 25px;
}
.release-news-link {
  padding-top: 20px;
}
.events-list-container {
  border-left: 3px dotted #2d3e4f;
  margin-left: 20px;
}
.events-list {
  text-align: left;
}
.events-list-header {
  left: -25px;
  position: relative;
}
.events-list-header i {
  border: 3px solid white;
  color: #2d3e4f;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.events-list td {
  padding: 20px 0;
}
.events-list tr:last-child>td {
  padding-bottom: 0;
}
.event-conference {
  background-color: #c0fbc0;
}
.event-presentation {
  background-color: #9acbf9;
}
.event-video {
  background-color: #ff9d90;
}
.event-twitter {
  background-color: white;
  border: 3px solid #2d3e4f !important;
}
.event-twitter-text {
  font-weight: 500;
}

/* Roadmap section */

.roadmap-section .card {
  margin-bottom: 1em;
  border-top: 5px solid #f5ecec;
}

.roadmap-section .card-body .card-text {
  margin-bottom: 0;
}

/* Contact section: */

.contact-section {
  text-align: center;
}
.contact-section .row {
  align-items: center;
}
.contact-title {
  padding-bottom: 30px;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.contact-list {
  text-align: left;
}
.contact-list-header {
  white-space: nowrap;
  color: #2d3e4f;
}
.contact-list-header i {
  width: 24px;
}
.contact-list td {
  padding: 5px 30px 5px 0px;
}
.contact-reana-logo {
  height: 5em;
}
@media (max-width: 1200px) {
  .contact-reana-logo {
    height: 3em;
  }
}
@media (max-width: 766px) {
  .contact-reana-logo {
    display: none;
  }
}
@media (max-width: 766px) {
  .contact-section .container {
    margin-top: 0px;
  }
}

/* Footer: */

footer {
  margin-top: auto;
}
.footer-bottom {
  background-color: rgb(44, 62, 79);
  padding-top: 15px;
  padding-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-size: 14px;
}
.footer-bottom a {
  color: white;
  text-decoration: none;
}
.footer-bottom a:hover,
.footer-bottom a:focus {
  color: rgba(255, 255, 255, 0.58);
}

/* Collaborations section */

.collaborations-block {
  margin-top: 50px;
}

.collaborations-block .logo-collaborator-container {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

.collaborations-block img {
  height: 95px;
  padding: 20px;
}

@media (max-width: 766px) {
  .collaborations-block {
    margin-bottom: 50px;
  }
}

/* Error page: */

.error-page {
  height: 100%;
  width: 100%;
  text-align: center;
}
.error-page .row {
  display: flex;
  align-items: center;
}
.error-page-title {
  font-size: 2em;
  padding: 90px;
  -webkit-font-smoothing: antialiased;
}
.error-page-title a {
  text-decoration: underline;
}

/* Blog: */

.post-header {
  border-bottom: 1px solid #ececec;
  padding-bottom: 10px;
}
.blog-post-list .blog-post:not(:last-child) {
  margin-bottom: 40px;
}
.post-header>p {
  color: #333;
}
.post-header {
  margin-bottom: 30px;
}
.post-header>h2>a,
.post-header>h2 {
  color: #2D3E50;
  font-weight: 500;
  font-size: 1.4em;
}
.post-meta {
  color: #777;
  font-size: 0.9em;
}
.post-meta i {
  color: #2D3E50;
  padding-right: 5px;
}
.post-meta span {
  margin-right: 20px;
}
.post-content {
  margin-bottom: 30px;
}
.blog-post-frame {
  border-radius: 4px;
  -moz-box-shadow: 0px 1px 4px 0px rgba(25, 73, 97, 0.2);
  box-shadow: 0px 1px 4px 0px rgba(25, 73, 97, 0.2);
  padding: 40px;
  background-color: white;
}
article {
  display: block;
  font-size: 1em;
}

article img {
  max-width: 100%;
  cursor: pointer;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  font-weight: 400;
  font-size: 1.2em;
  line-height: 25px;
  color: rgb(135, 184, 208);
  margin-top: 25px;
}

.pagination {
  text-align: center;
  padding-top: 40px;
  display: inherit;
}

/* command-line */

.command-line {
  font-family: 'Inconsolata', monospace;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #f5f5f5;
  text-align: left;
  word-spacing: normal;
  word-wrap: normal;
  word-break: break-word;
  border-radius: 5px;
  font-size: 0.8em;
}

.command-line:not(.cl-example) {
  border: 1px solid #a256512b;
}

@media (max-width: 1200px) {
  .command-line {
    font-size: 0.5em;
  }
}
.prompt {
  color: #c57b4b !important;
  padding-right: 5px;
}
.output {
  padding-left: 15px;
  color: grey;
}
.comment {
  color: #7fa0a0;
  font-style: italic;
}
.tab {
  padding-left: 20px;
}
.tab-2x {
  padding-left: 40px;
}

/* Numbering: */

.numbering {
  font-weight: 200;
  font-size: 4em;
  color: white;
  background-color: #e211118f;
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.flex-center-vertically {
  display: flex;
  text-align: center;
  height: auto;
  margin: 0 0 40px 0;
}
@media only screen and (min-device-width: 993px),
only screen and (min-width: 993px) {
  .flex-center-vertically {
    flex-direction: column;
  }
}
@media only screen and (max-device-width: 992px),
only screen and (max-width: 993px) {
  .flex-center-vertically {
    flex-direction: row;
  }
}

/* taken and adapted from docs.reana.io */
.screenshot-browser-mockup {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2), 0 0 2px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  background:
      url('../img/window-buttons-for-mockup.png') no-repeat left top,
      #333; /* Dark background for browser bar */
  padding-top: 20px; /* This assumes the window bar height is 20px. Adjust if needed */
  background-size: auto 20px, 100%;
  margin: 10px;
  max-width: calc(100% - 20px);
}