@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,900');

/* Main SunPy Styling */
body {
  color: #333;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}

h1 {
  margin-top: 20px;
  margin-bottom: 20px;
}

h4 {
  font-weight: 300;
  font-size: 21px;
}

a {
  color: #bd5b00;
}

a.fn-backref {
  font-size: 1.5em;
}

a:hover {
  color: #dd2c00;
}

p.content {
  line-height: 24px;
}

p.content.last {
  margin-bottom: 100px;
}

p.content.noheader {
  padding-top: 15px;
}

.sunpy-logo {
  width: 70%;
  margin-top: 5%;
}

.logo-container {
  margin-top: 10%;
}

.content {
  margin-bottom: 3em;
}

/* Navbar */

.navbar {
  background-color: #444;
}

.navbar-brand.color2 {
  color: f2f3f4;
}

.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:hover {
  color: #fe7900;
}

.navbar-default .navbar-brand {
  color: #fe7900;
  font-size: 20px;
  font-weight: bold;
  margin-right: 10px;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:active {
  color: #fe7900;
}

div#navbar {
  border-bottom: 3px;
  border-bottom-color: #fe7900;
  border-bottom-style: solid;
}

.dropdown-menu {
  top: 105%;
  min-width: 190px;
}

.dropdown-menu>li>a {
  font-size: 16px;
  padding: 10px 20px;
  color: #333;
}

.dropdown-menu>li>a:hover {
  background-color: #fe7900;
}

.caret {
  margin-left: 5px;
}

/* End Navbar */

.center {
  text-align: center;
}

.icon-text {
  color: #fe7900;
  font-size: 120px;
  font-weight: bold;
}

.icon-text.color2 {
  color: #444;
}

.lead {
  max-width: 550px;
  margin: 0 auto;
}

.btn {
  font-size: 16px;
  font-weight: bolder;
  margin-bottom: 40px;
}

.btn.btn-default.btn1 {
  background-color: #fe7900;
  border-color: #fe7900;
  text-transform: uppercase;
  margin-top: 20px;
  padding: 10px 21px;
}

a.btn.btn-default.btn1:hover {
  color: #fe7900;
  background-color: #f2f3f4;
}

.btn.btn-default.btn2 {
  background-color: #444;
  border-color: #444;
  text-transform: uppercase;
  margin-top: 20px;
  padding: 10px 21px;
}

a.btn.btn-default.btn2:hover {
  color: #444;
  background-color: #f2f3f4;
}

/* Whatsnew */

.border {
  border: 1px #e5e5e5 solid;
  border-left-style: none;
  border-right-style: none;
  margin-top: 50px;
  margin-bottom: 50px;
}

.whatsnew {
  padding-top: 15px;
  font-size: 30px;
  text-align: center;
}

p.whatsnew {
  margin: 0;
}

.whatsnew a {
  color: #fe7900;
  font-weight: bold;
  text-decoration: none;
}

.whatsnew a:hover {
  color: #333;
}

/* Sidebar */

.bs-sidenav {
  background-color: #444;
  text-shadow: none;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  width: 300px;
  max-height: 80%;
  border-left: 3px solid #fe7900;
  padding-top: 0px;
}

.bs-sidenav form {
  padding-left: 10px;
  padding-right: 10px;
}

.bs-sidenav h2 {
  color: #fe7900;
  padding-left: 10px;
}

.bs-sidenav h3 {
  padding-left: 20px;
}

.bs-sidenav .nav>li {
  color: #fe7900;
}

.bs-sidenav .nav>li>span {
  padding-left: 10px;
}

.bs-sidenav .nav>li>a {
  color: #f2f3f4;
  padding-left: 20px;
  padding-top: 8px;
}

.bs-sidenav .nav>li>a:hover,
.bs-sidenav .nav>li>a:focus {
  background-color: rgba(230, 124, 25, 1);
}

.bs-sidenav .nav>li>a.current {
  color: #f2f3f4;
  background-color: rgba(230, 124, 25, 1);
}

.bs-sidenav .nav .nav>li>a {
  color: #444;
  background-color: #e3e3e3;
  padding-top: 5px;
  padding-bottom: 5px;
  border-left: none;
  font-size: 100%;
}

.bs-sidenav .nav .nav>li>a.current {
  background-color: rgba(230, 124, 25, 1);
  color: #f2f3f4;
}

.bs-sidenav .nav .nav>li>a:hover {
  background-color: #bdbdbd;
}

.bs-sidenav .nav .nav .nav>li>a {
  padding-left: 45px;
}

.bs-sidenav .nav .nav .nav .nav>li>a {
  background-color: #bdbdbd;
  padding-left: 60px;
}

.bs-sidenav .nav .nav .nav .nav>li>a:hover {
  color: #444;
}

.bs-sidenav ul>li#comments {
  padding-left: 0;
}

.bs-sidenav ul>li#comments>a {
  color: #fe7900;
}

.bs-sidenav ul>li#comments>a:hover {
  color: #444;
}

.bs-sidenav form,
.bs-sidenav #sourcelink {
  text-align: center;
}

div.sidenologo {
  padding-top: 10px;
}

div.sidelogo {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

img.sidenav {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.form-control {
  height: 32px;
  color: #444;
  border-radius: 50px;
  padding: 10px 50px;
}

.form-control,
input {
  border-width: 1px;
  padding-left: 20px;
}

.navbar-form {
  margin-left: 0;
  margin-right: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0), 0 1px 0 rgba(255, 255, 255, 0);
}

.navbar-collapse {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0), 0 1px 0 rgba(255, 255, 255, 0);
}

.doc-title,
.doc-title>a {
  color: #fe7900;
  text-align: center;
  font-weight: bold;
}

/* End Sidebar */

.divider {
  border-bottom: 1px solid #eee;
}

.livechat {
  border: 0;
  width: 100%;
  height: 450px;
  padding-top: 50px;
}

/* Docs specific styling */

pre {
  padding: 12px;
  margin: 30px 0;
  background-color: #f2f3f4;
  border: 1px solid #e3e3e3;
  color: inherit;
}

/* Warning */

div.admonition {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
}

.warning {
  background-color: #fff3e0;
  border: 1px solid #fe7900;
}

.alert-warning {
  background-color: #fff3e0;
  border: 1px solid #fe7900;
  color: #333;
}

p.admonition-title {
  color: #333;
}

.alert>p+p {
  color: #333;
}

/* Code */

code.xref,
a code {
  background-color: transparent;
}

code {
  color: #0d47a1;
  padding: 2px;
  background-color: transparent;
}

code.descname {
  font-size: 16px;
}

/* Highlight */

.highlight .o {
  color: #fe7900;
}

.highlight .nb,
.highlight .kn {
  color: #0d47a1;
}

.highlight .gp {
  color: #bf360c;
}

.highlight .c1 {
  color: #616161;
}

.highlight .s1,
.highlight .s2,
.highlight .si,
.highlight .sd {
  color: #004602;
}

dt:target,
.highlighted {
  background-color: #eee;
}

/* Info */

.alert-info {
  border: 1px solid #0d47a1;
  background-color: #e3f2fd;
  color: #333;
}

/* Button */

blockquote {
  font-size: 16px;
}

.table,
.table>tbody>tr>td {
  border: 1px solid #333;
  padding: 10px;
}

.label {
  display: table-cell;
}

div.figure p.caption span.caption-text {
  text-align: center;
}


.rst-versions.rst-badge {
  bottom: 50px;
}

/* End Docs specific styling */

.footer {
  background-color: #fafafa;
  bottom: 0;
  height: 3em;
  position: fixed;
  width: 100%;
  border-top: none;
  padding-top: 13px;
  font-size: 16px;
  text-align: center;
}

.center-footer {
  float: none;
  margin: 0 auto;
  width: 30%;
}

.left-footer {
  float: left;
}

.right-footer {
  float: right;
}

.center-footer a {
  display: inline-block;
  padding: 0 10px;
}

@media only screen and (max-width: 510px) {

  .sunpy-logo {
    display: none;
  }

  footer {
    display: none;
  }
}

@media only screen and (max-width: 1000px) {

  .bs-sidenav {
    position: relative;
    display: block;
    margin: 45px auto;
  }

  .button {
    border: none;
    border-radius: 5px;
    outline: 0;
    display: block;
    margin: 0 auto;
    padding: 5px 20px;
    color: #f2f3f4;
    background-color: #fe7900;
    text-align: center;
    cursor: pointer;
    font-size: 25px;
  }
}

@media only screen and (min-width: 768px) {

  .navbar-right {
    float: none !important;
    margin-right: 0;
    padding-left: 0;
  }

  .navbar-brand {
    display: none;
  }

  .lead {
    font-size: 33.5px;
  }
}

@media only screen and (min-width: 992px) {

  .bs-sidenav.affix-bottom,
  .bs-sidenav.affix {
    position: fixed;
    width: 300px;
  }

  .navbar-brand {
    display: initial;
  }

  .col-md-9 {
    margin-left: 330px;
    overflow: hidden;
  }
}

@media only screen and (min-width: 1200px) {

  .bs-sidenav.affix-bottom,
  .bs-sidenav.affix {
    width: 300px;
  }
}

/* Card Decks */

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  background-color: whitesmoke;
  margin: 0 auto;
}

.card p {
  text-align: center;
  padding-top: 10px;
}

.card img {
  display: block;
  margin: 0 auto;
  max-width: 60%;
  padding-top: 10px;
}

.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 5px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  color: #f2f3f4;
  background-color: #fe7900;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
}

.button:hover {
  background-color: #444;
}

.column {
  display: inline-block;
  width: 24%;
  margin-bottom: 16px;
  padding: 0 10px;
}

.column>h4 {
  text-align: center;
  font-size: 1.2em;
  line-height: 1.2em;
  height: 3.6em;
}

.section#sunpy-board {
  margin-left: -15px;
  margin-right: -15px;
  margin-top: 30px;
}

@media only screen and (max-width: 355px) {

  .column {
    width: 80%;
  }
}

@media only screen and (min-width: 356px) and (max-width: 680px) {

  .column {
    width: 45%;
  }

  .navbar-nav {
    margin: -1px -15px;
  }
}

@media only screen and (max-width: 1000px) {

  .card p {
    text-align: center;
    padding-top: 10px;
  }
}

/* End Cards */

.social-links {
  line-height: 70px;
  float: right;
}

@media only screen and (max-width: 992px) {

  .social-links {
    display: none;
  }

  .center-footer {
    float: right;
    width: 50%;
  }

  .right-footer {
    display: none;
  }
}

#front {
  margin-top: 10px;
  margin-bottom: 10px;
}

@media only screen and (min-width: 190ex) {
  div.sphx-glr-footer-example {
    max-width: 100%;
  }
}

div.sphx-glr-footer-example {
  position: initial;
  background: rgba(200, 200, 200, 0);
  border: none;
  max-width: 100ex;
}

div.sphx-glr-footer.docutils.container {
  width: 70%;
  display: inline-flex;
}

div.sphx-glr-download a {
  background-color: #f2f3f4;
  background-image: none !important;
  border: 1px solid #fe7900;
}

div.sphx-glr-download a:hover {
  background-color: #fe7900;
}

.sphx-glr-thumbcontainer[tooltip]:hover::after {
  bottom: -45%;
  left: 0;
}

.sphx-glr-thumbcontainer[tooltip]:hover::before {
  display: none;
}

.sphx-glr-script-out {
  color: #333;
  margin: 0;
}

/* Jupyter Blog Post formatting */
div.prompt {
  display: none;
}

.frametransformgraph {
  overflow-x: auto;
  width: 100%;
  border: 1px solid black;
}


.versionmodified {
  font-style: italic;
  font-weight: bold;
}

div.deprecated {
  border: 1px solid #000000;
  background-color: #b7c3cc;
  color: #333;
  border-radius: 4px;
}

card.img {
  border-radius: 50%;
}

table tr div.deprecated {
  border: none;
  background-color: #f2f3f4;
}

/*
For superwide titles on the sidebar, this will add a scroll bar.
*/
.reference.internal.nav-header {
  overflow-x: auto;
}

/*
For any ``code`` on the sidebar.
*/
*[class^='docutils literal notranslate'] {
  color: #fe7900;
}
