#main-menu {
  background-color: #fff !important;
  padding: 0;
}
#main-menu .nav-item {
  padding: 16px;
  border-bottom: 2px solid transparent;
}
#main-menu .nav-item:hover {
  background-color: #eee;
}
#main-menu .nav-item.donate:hover {
  background-color: #fff;
  border-bottom: 0;
}
#main-menu .nav-item.active {
  border-bottom-color: #ca3c32;
}
.navbar-light .navbar-nav .nav-link {
  color: inherit;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .nav-item:hover .nav-link {
  color: #ca3c32;
}
.navbar-brand {
  min-width: 80px;
  margin-left: 0.25rem;
  margin-right: 0;
  padding-bottom: 1rem;
}
.navbar-brand img {
  height: 50px;
}
.navbar-right {
  margin-right: 0.25rem;
}

#menu li {
    list-style-type: none;
    padding: 4px 4px;
    text-decoration: none;
    background-color: none;
    display: block;
    text-align: left;
}

#menu a{
  color:white;
  display: block;
}

#menu ul{
    width: 100%;
    background: #cacaca;
    margin: 0;
    padding: 0;
}

.main-heading {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-size: 46px;
}
.secondary-heading {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 50px;
}

.extra-link {
  font-size: 12px;
  text-decoration: none !important;
}

.language-features {
  text-align: center;
  color: #4D64AE;
}
.language-features hr {
  background-color: #4D64AE;
}

.section-heading .lead {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-weight: 700;
  font-size: 28px;
}
.section-heading h2 {
  margin-bottom: 10px;
}
.section-heading h5 {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.feature {
  /* text-align: center; */
}
.feature h4 {
  text-align: left;
  /* border-bottom: 1px solid #4D64AE; */
  padding-bottom: 5px;
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #4D64AE;
  font-size: 18px;
}
.feature p {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  text-align: left;
  text-justify: inter-character;
}

.ecosystem {
  text-align: center;
  color: #CA3C32;
}

.alt-color {
  background-color: #F2F2F2;
}
#ecosystem-tab {
  border: 0;
  width: 100%;
}
#ecosystem-tab .nav-item a {
  padding: 18px 0;
  border: 0;
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}
#ecosystem-tab .nav-item a.active {
  border-top: 4px solid #CA3C32;
  color: #CA3C32;
}
#ecosystem-tab .nav-item a {
  color: #686f77;
}
#ecosystem-tab-content div.tab-pane {
  background-color: #fff;
  /* border-left: 1px solid #ddd; */
  margin-left: -15px;
  margin-right: -15px;
  min-height: 300px;
  margin-bottom: 20px;
  /* padding: 20px; */
}
.ecosystem hr {
  background-color: #CA3C32;
}

.ide, .blog {
  background-color: #F2F2F2;
  border-left: 20px solid #fff;
  border-right: 20px solid #fff;
  padding: 20px;
  text-align: center;
  border-bottom: 20px solid #fff;
}

.feature {
  padding-bottom: 20px;
}
.feature .outer-link {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  text-align: center;
}
.ide-feature {
  text-align: center;
}

.editor-icon {
  text-align: center;
}
.editor-icon img {
  padding: 10px 0;
  height: 80px;
}

.packages {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
}
.packages.pluto {
  background-color: #faefec;
  border-radius: 0.8em;
  box-shadow: 0 0 28px #00000008;
}
.packages.pluto img {
  border-radius: 0.3em;
  border: 3px solid hsl(221.21deg 17.28% 78.6%);
}

.packages.pluto p,
.packages.pluto h2 {
  background-color: #faefec;
  outline: 10px solid #faefec;
}

.rss-icon {
  color: #e2802f;
  float: right;
}

.blog {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  text-align: left;
}
.blog h3 {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  margin-bottom: 0;
}
.blog h3 a {
  color: #4D64AE;
  display: block;
  min-height: 42px;
}
.blog .article-date {
  font-size: 12px;
  color: #6f6f6f;
}
.blog p {
  border-top: 1px solid #ccc;
  margin-top: 10px;
  padding-top: 10px;
  margin-bottom: 0px;
  font-size: 14px;
}

.social-network {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  background-position: top left;
  background-repeat: no-repeat;
  padding-left: 60px;
  background-size: 50px;
  border-bottom: 1px solid #ccc;
}
.social-network h4 {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}
.social-network.discourse {
  background-image: url("../img/discourse.png");
  margin-top: 14px;
}
.social-network.gitter {
  background-image: url("../img/gitter.png");
  margin-top: 14px;
}
.social-network.youtube {
  background-image: url("../img/youtube.png");
  margin-top: 14px;
  border-bottom: 0;
}
.social-network.twitter {
  background-image: url("../img/twitter.png");
  margin-top: 14px;
  border-bottom: 0;
}
.social-network.github {
  background-image: url("../img/github.png");
  margin-top: 14px;
}
.social-network.facebook {
  background-image: url("../img/facebook.png");
  margin-top: 14px;
  border-bottom: 0;
}

.video {
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.btn {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
}

.btn-outline-primary {
	color: #0072ee;
}

.btn-outline-danger {
	color: #d91b35;
}

.footer-copy {
  background-color: #2c2f3e;
  color: #fff;
  padding-top: 2em;
  margin-left: auto;
  margin-right: auto;
}
.footer-copy p {
  padding: 0;
  margin: 0;
}
.footer-copy ul {
  display: inline-block;
  list-style: none;
}
.footer-copy ul a {
  font-size: 95%;
  color: #fff;
}

.footer-copy li:first-child a {
  font-size: 110%;
  font-weight: bold;
  color: #7a95dd;
}
.footer-copy #footer-bottom {
  font-size: 90%;
}
.footer-copy #footer-bottom a {
  color: #7a95dd;
}

.footrow ul {
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 800px) {
  .footrow ul {
    width: 20%;
  }
}

h4.card-title {
	margin: 0;
	font-family: "Roboto";
	font-size: 1rem;
}

.card-header {
	padding: 0;
}

.tab-title {
  background-color: #CA3C32;
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  padding: 18px 20px;
  border: 0;
  font-weight: 400;
  /* border-top: 4px solid #CA3C32; */
  color: #fff;
}

.nav-tabs {
    display:none;
}

@media(min-width: 768px) {
  .nav-tabs {
      display: flex;
  }

  .card {
      border: none;
  }

  .card .card-header {
      display:none;
  }

  .card .collapse{
      display:block;
  }

  .tab-title {
    display: none;
  }
}

@media(max-width: 767px) {
  .tab-pane {
      display: block !important;
      opacity: 1;
  }
  .social-network {
    border: 0;
  }
  .donate {
    display: none;
  }
}

@media(max-width: 576px) {
  .docs {
    margin-top: 20px;
  }
}

.page-heading .btn-success,
.page-heading .btn-primary {
  border-color: transparent;
  box-shadow: 0px 0px 0px 2px #0a0a0a;
  text-shadow: 1px 1px 2px #0a0a0a;
}

a.header-anchor {
  text-decoration: none;
}

.link {
  color: #4D64AE;
}

#ecosystem-tab-content div.tab-pane {
  padding: 10px;
  padding-top: 20px;
}

#ecosystem-tab-content div.tab-pane h4 {
  color: #CA3C32;
}
#ecosystem-tab-content div.tab-pane h6 {
  color: #CA3C32;
  font-weight: 600;
}

#ecosystem-tab-content div.tab-pane div.code-sample p {
  font-size: 14px;
}

img.ecosystem-image {
  float: left;
  margin-right: 20px;
}

.page-heading {
  color: #fff;
  padding: 2rem;
  background-image: url('../assets/infra/backsplash-min-0.5.svg');
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.page-heading .main-heading {
  font-weight: 100;
}

.page-heading .secondary-heading {
  font-size: 28px;
  margin-bottom: 2rem;
}

.page-heading .main-heading,
.page-heading .secondary-heading {
  text-shadow: 3px 3px 3px #0a0a0a;
}

.page-heading p {
  line-height: 3.5;
  margin-bottom: 0;
}

.page-heading span.btn {
  padding-top: 18px;
  padding-left: 0;
  padding-right: 0;
  vertical-align: middle;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

img {
  max-width: 100%;
}

h1 {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 36px;
}
h2 {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 32px;
}
h3 {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 24px;
}
h4 {
  /* font-family: "Futura LT Medium"; */
  font-family: "Roboto", sans-serif;
  font-size: 20px;
}

a {
	color: #005bc0;
}


table th {
  background-color: #eee;
}

blockquote {
  background: #f8f8f8;
  border-left: 7px solid #ccc;
  margin: 1.5em 7px;
  padding: 0.2em 7px;
  quotes: "\201C""\201D";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 3.5em;
  line-height: 0.1em;
  vertical-align: -0.4em;
}
blockquote p {
  font-style: italic;
}

#top-alert {
  padding-left: 0;
  padding-right: 0;
}
#top-alert .alert {
  border-radius: 0;
  margin-bottom: 0.2rem;
}
#top-alert p {
  margin-bottom: 0;
}

code, table.benchmarks tbody {
  font: 9pt Monaco, 'Consolas', monospace;
}

code.has-jax {
  font: inherit;
  font-size: 100%;
  background: inherit;
  border: inherit;
  color: #515151;
}

pre {
  border: 1px solid #ddd;
  background: rgb(250, 250, 250);
  margin: 1em -1.5em;
  padding: 1em 1.5em;
  overflow: auto;
  direction: ltr;
  border-radius: 5px;
}

@media (min-width: 992px) and (max-width: 1199px) {
	.navbar-expand-lg .navbar-nav .nav-link {
		padding-right: .1rem;
		padding-left: .1rem;
	}
}


@media (max-width: 575px) {
	.main-heading {
		font-size: 36px;
	}
}



caption {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #777;
    text-align: left;
}
th {
    text-align: left;
}
table {
    max-width: 100%;
    margin-bottom: 20px;
    border: 1px solid #dedede;
}

table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
    text-transform: none;
    background-color: #777;
    color: white;
    text-align: left;
}
table > caption + thead > tr:first-child > th,
table > colgroup + thead > tr:first-child > th,
table > thead:first-child > tr:first-child > th,
table > caption + thead > tr:first-child > td,
table > colgroup + thead > tr:first-child > td,
table > thead:first-child > tr:first-child > td {
    border-top: 0;
}

table > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

table col[class*="col-"] {
    position: static;
    display: table-column;
    float: none;
}
table td[class*="col-"],
table th[class*="col-"] {
    position: static;
    display: table-cell;
    float: none;
}

table tr td {
    hyphens: auto;
}

@media only screen and (min-width: 970px){
  .edit-float {
    background-image: url("../assets/infra/edit_icon.svg");
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
  	position:fixed;
  	width:45px;
  	height:45px;
  	bottom:40px;
  	right:30px;
  	background-color: #e6eeff;
  	border-radius:40px;
  	text-align:center;
  	box-shadow: 2px 2px 3px #999;

  }
}

pre {
	position: relative;
	/* padding: 30px; */
}

.copy-button {
	cursor: pointer;
	border: 0;
	font-size: 10px;
	text-transform: uppercase;
	font-weight: 500;
	padding: 6px 10px 10px;
	color: #795548;
	background-color: transparent;
	position: absolute;
	top: 0;
	right: 0;
}

.copy-button:hover,
.copy-button:focus,
.copy-button:active {
	outline: 0;
	background-color: #eee9e6;
}

.main-download-instructions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.main-download-instructions-inner {
  width: 100%;
  background-color: #F2F2F2;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 20px;
  padding-bottom: 10px;
  border-radius: 30px;
  filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.2));
}

.install-platform-note {
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.inline-h2-julia-logo {
  height: 45px;
  vertical-align: bottom;
  margin-left: -4px;
}

pre .cmdprompt-block::before {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  content: ">";
  margin-right: 10px;
  margin-left: 5px;
  color: rgb(127, 127, 127);
}
pre .bash-block::before {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  content: "$";
  margin-right: 10px;
  margin-left: 5px;
  color: rgb(127, 127, 127);
}
.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem !important;
  color: #444 !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #CB3C33 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #CB3C33;
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Code Carousel */
.code-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.code-carousel-container::before,
.code-carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 3;
  pointer-events: none;
}

.code-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.code-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

/* Hide fade on narrow screens where side slides aren't visible */
@media (max-width: 900px) {
  .code-carousel-container::before,
  .code-carousel-container::after {
    display: none;
  }
}

.code-carousel {
  position: relative;
  width: 750px;
  max-width: 95vw;
  height: 320px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.85);
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
  z-index: 2;
}

.carousel-slide.prev,
.carousel-slide.next {
  opacity: 0.5;
  pointer-events: auto;
  cursor: pointer;
  z-index: 1;
}

.carousel-slide.prev:hover,
.carousel-slide.next:hover {
  opacity: 0.7;
}

.carousel-slide.prev {
  transform: translateX(-145%) scale(0.85);
}

.carousel-slide.next {
  transform: translateX(45%) scale(0.85);
}

/* Carousel arrows - hidden by default, shown on narrow screens */
.carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #888;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 1);
  color: #555;
  border-color: #aaa;
}

.carousel-arrow-left {
  left: 10px;
}

.carousel-arrow-right {
  right: 10px;
}

/* Show arrows and hide side slides on narrow screens */
@media (max-width: 900px) {
  .carousel-arrow {
    display: block;
  }

  .carousel-slide.prev,
  .carousel-slide.next {
    opacity: 0;
    pointer-events: none;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.carousel-dot.active {
  background: #4D64AE;
}

/* Code Showcase */
.code-showcase {
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

.code-showcase.julia-red {
  border-color: rgba(203, 60, 51, 0.3);
  box-shadow: 0 4px 20px rgba(203, 60, 51, 0.1);
}
.code-showcase.julia-red .code-header {
  background: linear-gradient(to right, rgba(203, 60, 51, 0.08), #e8e8e8);
}

.code-showcase.julia-blue {
  border-color: rgba(64, 99, 216, 0.3);
  box-shadow: 0 4px 20px rgba(64, 99, 216, 0.1);
}
.code-showcase.julia-blue .code-header {
  background: linear-gradient(to right, rgba(64, 99, 216, 0.08), #e8e8e8);
}

.code-showcase.julia-green {
  border-color: rgba(56, 152, 38, 0.3);
  box-shadow: 0 4px 20px rgba(56, 152, 38, 0.1);
}
.code-showcase.julia-green .code-header {
  background: linear-gradient(to right, rgba(56, 152, 38, 0.08), #e8e8e8);
}

.code-showcase.julia-purple {
  border-color: rgba(149, 88, 178, 0.3);
  box-shadow: 0 4px 20px rgba(149, 88, 178, 0.1);
}
.code-showcase.julia-purple .code-header {
  background: linear-gradient(to right, rgba(149, 88, 178, 0.08), #e8e8e8);
}

.code-header {
  background: #e8e8e8;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #ddd;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-title {
  color: #666;
  font-family: Monaco, 'Consolas', monospace;
  font-size: 12px;
  margin-left: 10px;
}

.code-content {
  margin: 0;
  padding: 20px;
  background: #f8f8f8;
  border: none;
  border-radius: 0;
  height: 220px;
  overflow-y: auto;
}

.code-content code {
  font-family: 'JuliaMono', Monaco, 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.6;
  font-variant-ligatures: none;
}

.code-content .repl-prompt {
  color: rgb(25, 179, 51);
  font-weight: bold;
  user-select: none;
}

.code-content .repl-pkg {
  color: rgb(51, 131, 231);
  font-weight: bold;
}

.code-content .repl-shell {
  color: rgb(203, 60, 51);
  font-weight: bold;
}

.code-content .repl-help {
  color: rgb(230, 181, 32);
  font-weight: bold;
}

@media (max-width: 767px) {
  .code-carousel {
    height: 340px;
  }
  .code-content {
    padding: 15px;
    height: 260px;
  }
  .code-content code {
    font-size: 11px;
  }
  .carousel-slide {
    padding: 0 8px;
  }
  .carousel-slide.prev {
    transform: translateX(-135%) scale(0.85);
  }
  .carousel-slide.next {
    transform: translateX(35%) scale(0.85);
  }
}

.btn-star, .btn-sponsor {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 500;
}

.btn-star:hover, .btn-sponsor:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-sponsor {
  background-color: #CB3C33;
  border-color: #CB3C33;
}

.btn-sponsor:hover {
  background-color: #b93530;
  border-color: #b93530;
}

/* Improve mobile menu styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
      background: white;
      padding: 1rem;
      border-radius: 8px;
      margin-top: 1rem;
  }

  .navbar-action-buttons {
      margin-top: 1rem;
      justify-content: center;
  }

  .nav-link {
      padding: 0.75rem 1rem !important;
  }

  .navbar-toggler {
      border: none;
      padding: 0.5rem;
  }

  .navbar-toggler:focus {
      box-shadow: none;
      outline: none;
  }
}