@import url(http://fonts.googleapis.com/css?family=Ubuntu:500&subset=latin,latin-ext);

body{
	color: #2c3e50;
}

.sidebar {
	position: fixed;
	top: 0px;
	padding-top: 10%;
	background-color: #2c3e50;
	color: #fff;
}

.sidebar-header {
	text-align: center;
	margin-bottom: 10px;
}
.sidebar-header .title{
	letter-spacing: 3px;
	text-transform: uppercase;
}

.sidebar-header .title a{
	text-decoration: none;
	color: #fff;
}

a.nav-link {
	padding-bottom: 5px;
	padding-top: 7px;
	color: #aaa;
}
a.nav-link i{
	font-size: 16px;
}
a.nav-link:hover { color: #777; }

#bio {
	font-family: "Courier New", Courier, monospace;
	font-size: 11px;
	margin: 0 auto;
	margin-bottom: 10px;
}

#contact-list li .fa,
article .share .btn {
	-o-transition:color .2s ease-out, background 1s ease-in;
  -ms-transition:color .2s ease-out, background 1s ease-in;
  -moz-transition:color .2s ease-out, background 1s ease-in;
  -webkit-transition:color .2s ease-out, background 1s ease-in;
  transition:color .2s ease-out, background 1s ease-in;
}
#contact-list li:hover .fa-twitter,
article .share .twitter:hover {
	color: #00ACEE;
	border-color: #00ACEE;
}
#contact-list li:hover .fa-linkedin {
	color: #1D87BD;
}
#contact-list li:hover .fa-envelope {
	color: #E93E30;
}
#contact-list li:hover .fa-pinterest {
	color: #CC2127;
}
#contact-list li:hover .fa-rss {
	color: #e74c3c;
}
article .share .facebook:hover {
	color: #43609C;
	border-color: #43609C;
}
article .share .gplus:hover {
	color: #C13929;
	border-color: #C13929;
}

#contact-list-secondary {
	padding-bottom: 10px;
}

.page-header {
	color: #e74c3c;
	text-shadow: 1px 1px 1px rgba(150, 150, 150, 1);
}

@media only screen and (min-width: 768px) {
    .page-header{
        margin-right: 70px;
    }
}

article{
	margin-bottom: 40px;
}

.article_body{
	margin-top: 20px;
	margin-bottom: 20px;
}

.post-date {
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 3px;
}

article {
	padding: 0 5% 0;
}

article.home div a, article.home pre a { color: #2c3e50; }
article.home div a:hover, article.home pre a:hover { color: #2c3e50; text-decoration: none; }
article img { max-width: 100%; }

h1,h2,h3,h4,h5,h6 { font-family: 'Ubuntu', sans-serif; }
article.home h1,
article.home h2,
article.home h3,
article.home h4,
article.home h5,
article.home h6 {
	font-family: 'Ubuntu', sans-serif;
	color: #f2756a;
}

article.home h1 a,
article.home h2 a,
article.home h3 a,
article.home h4 a {
	color: #f2756a;
}
article.home h1 a:hover,
article.home h2 a:hover,
article.home h3 a:hover,
article.home h4 a:hover {
	color: #e74c3c;
}

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

footer {
	padding-top: 15px;
	font-family: 'Ubuntu';
}

/* nav-vertical-tabs component */
.nav-tabs-vertical {
    border-right: 1px solid #ddd;
}

.nav-tabs-vertical li {
    margin-right: -1px;
}

.nav-tabs-vertical>li.active>a, .nav-tabs-vertical>li.active>a:hover, .nav-tabs-vertical>li.active>a:focus {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-right-color: transparent;
}

.nav-tabs-vertical>li>a {
    line-height: 1.428571429;
    border: 1px solid transparent;
    border-radius: 4px 0 0 4px;
}

.badge { background: #F2756A; }

#nav-menu{
    position: fixed;
    top: 45px;
    right: 45px;
    z-index: 2000;
}
#nav-menu .dropdown-menu {
    left: inherit;
    right: 0px;
}

ul.dropdown-menu>li>a>i.fa {
    width: 1.3em;
}

/* Horizontal navigation layout */
ul.nav-horizontal {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
    list-style: none !important;
    padding-left: 0 !important;
}

ul.nav-horizontal li {
    flex: 0 0 auto;
    display: inline-block !important;
}

ul.nav-horizontal li a {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

ul.nav-horizontal li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    text-decoration: none;
}

ul.nav-horizontal li a i {
    margin-right: 4px;
}

/* Social media horizontal layout */
ul.social-horizontal {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    list-style: none !important;
    padding-left: 0 !important;
}

ul.social-horizontal li {
    flex: 0 0 auto;
    display: inline-block !important;
}

ul.social-horizontal li .btn {
    padding: 6px 8px;
    min-width: 32px;
    min-height: 32px;
}

/* Enhanced code styling for dark theme - Override Bootstrap with maximum specificity */
article pre, 
article div.language-python.highlighter-rouge,
article div.language-bash.highlighter-rouge,
article div.language-go.highlighter-rouge,
article div.language-javascript.highlighter-rouge {
    background: #2d3748 !important;
    color: #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 1.25rem !important;
    margin: 1rem 0 !important;
    overflow-x: auto !important;
    font-family: 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    border: none !important;
}

article code,
article .language-plaintext.highlighter-rouge {
    background: #4a5568 !important;
    color: #e2e8f0 !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 4px !important;
    font-family: 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 0.85rem !important;
    border: none !important;
}

/* Ensure code blocks inside pre tags also get the styling */
article pre code,
article div.language-python.highlighter-rouge div.highlight pre code,
article div.language-bash.highlighter-rouge div.highlight pre code {
    background: transparent !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
    color: #e2e8f0 !important;
}

/* Make sure highlighted code blocks blend well - Maximum specificity */
article .highlight, 
article .highlighter-rouge,
article div.language-python.highlighter-rouge,
article div.language-bash.highlighter-rouge,
article div.language-go.highlighter-rouge {
    border: none !important;
    background: #2d3748 !important;
    color: #e2e8f0 !important;
}

/* Specific targeting for Jekyll/Rouge generated code blocks */
article div.highlight,
article div.language-python.highlighter-rouge div.highlight,
article div.language-bash.highlighter-rouge div.highlight {
    background: #2d3748 !important;
    border-radius: 8px !important;
    margin: 1rem 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    border: none !important;
    padding: 0 !important;
}

article div.highlight pre,
article div.language-python.highlighter-rouge div.highlight pre,
article div.language-bash.highlighter-rouge div.highlight pre {
    background: transparent !important;
    margin: 0 !important;
    padding: 1.25rem !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    font-family: 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    border: none !important;
}

/* Language-specific code blocks in articles with maximum specificity */
article .language-bash, article .language-go, article .language-javascript, 
article .language-python, article .language-html, article .language-css, 
article .language-json, article .language-yaml, article .language-plaintext,
article div.language-bash.highlighter-rouge,
article div.language-go.highlighter-rouge,
article div.language-python.highlighter-rouge {
    background: #2d3748 !important;
    color: #e2e8f0 !important;
    border: none !important;
}

/* Code block language labels */
.highlight::before {
    content: attr(data-lang);
    display: block;
    text-align: right;
    color: #a0aec0;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    font-family: 'Ubuntu', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ULTRA HIGH SPECIFICITY - NUCLEAR OPTION FOR BOOTSTRAP OVERRIDE */
body article .col-lg-9 div.language-python.highlighter-rouge,
body article .col-lg-9 div.language-bash.highlighter-rouge,
body article .col-lg-9 div.language-go.highlighter-rouge,
body article .col-lg-9 div.language-javascript.highlighter-rouge,
body article .col-lg-9 div.language-json.highlighter-rouge,
body .col-lg-9 .language-python.highlighter-rouge,
body .col-lg-9 .language-bash.highlighter-rouge,
body .col-lg-9 .language-go.highlighter-rouge {
    background: #2d3748 !important;
    color: #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 1.25rem !important;
    margin: 1rem 0 !important;
    overflow-x: auto !important;
    font-family: 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    border: none !important;
}

body article .col-lg-9 div.language-python.highlighter-rouge div.highlight,
body article .col-lg-9 div.language-bash.highlighter-rouge div.highlight,
body article .col-lg-9 div.language-go.highlighter-rouge div.highlight,
body .col-lg-9 div.highlight {
    background: #2d3748 !important;
    border-radius: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

body article .col-lg-9 div.language-python.highlighter-rouge div.highlight pre,
body article .col-lg-9 div.language-bash.highlighter-rouge div.highlight pre,
body article .col-lg-9 div.language-go.highlighter-rouge div.highlight pre,
body .col-lg-9 div.highlight pre,
body .col-lg-9 pre.highlight {
    background: transparent !important;
    margin: 0 !important;
    padding: 1.25rem !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    font-family: 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    border: none !important;
}

/* Inline code with ultra-high specificity */
body .col-lg-9 code.language-plaintext.highlighter-rouge,
body article .col-lg-9 code.language-plaintext.highlighter-rouge {
    background: #4a5568 !important;
    color: #e2e8f0 !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 4px !important;
    font-family: 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 0.85rem !important;
    border: none !important;
}

