@charset "UTF-8";
body {
  /*font-size: 20px;*/
  color: #212529;
  /*font-family: 'Lora', 'Times New Roman', serif;*/
}

p {
  line-height: 1.5;
  margin: 25px 0;
}
p a {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: #212529;
  transition: all 0.2s;
}
a:focus, a:hover {
  color: #AD2037;
}

blockquote {
  font-style: italic;
  color: #868e96;
}

.section-heading {
  font-size: 36px;
  font-weight: 700;
  margin-top: 60px;
}

.caption {
  font-size: 14px;
  font-style: italic;
  display: block;
  margin: 0;
  padding: 10px;
  text-align: center;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

::-moz-selection {
  color: #fff;
  background: #AD2037;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #AD2037;
  text-shadow: none;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  position: absolute;
  border-bottom: 1px solid #e9ecef;
  background-color: white;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#mainNav .navbar-brand {
  font-weight: 800;
  color: #343a40;
}
#mainNav .navbar-brand > img {
  display: none;
}
#mainNav .navbar-brand > img.logo_invert {
  display: inline-block;
}
#mainNav .navbar-toggler {
  font-size: 12px;
  font-weight: 800;
  padding: 13px;
  text-transform: uppercase;
  color: #343a40;
}
#mainNav .navbar {
  padding-left: 0px;
  padding-right: 0px;
}
#mainNav .navbar > .nav-item > a {
  padding-left: 5px;
  padding-right: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media only screen and (min-width: 992px) {
  #mainNav {
    border-bottom: 1px solid transparent;
    background: transparent;
  }
  #mainNav .navbar-brand {
    padding: 10px 20px;
    color: #fff;
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: rgba(255, 255, 255, 0.8);
  }
  #mainNav .navbar-brand > img {
    display: inline-block;
  }
  #mainNav .navbar-brand > img.logo_invert {
    display: none;
  }
  #mainNav .navbar > .nav-item > a {
    padding: 10px 20px;
    color: #fff;
  }
  #mainNav .navbar > .nav-item > a:focus, #mainNav .navbar > .nav-item > a:hover {
    color: rgba(255, 255, 255, 0.8);
  }
}
@media only screen and (min-width: 992px) {
  #mainNav {
    transition: background-color 0.2s;
    /* Force Hardware Acceleration in WebKit */
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
  }
  #mainNav.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -67px;
    transition: transform 0.2s;
    border-bottom: 1px solid rgb(99.95%, 99.95%, 99.95%);
    background-color: rgba(255, 255, 255, 0.9);
  }
  #mainNav.is-fixed .navbar-brand {
    color: #212529;
  }
  #mainNav.is-fixed .navbar-brand:focus, #mainNav.is-fixed .navbar-brand:hover {
    color: #AD2037;
  }
  #mainNav.is-fixed .navbar > .nav-item > a {
    color: #212529;
  }
  #mainNav.is-fixed .navbar > .nav-item > a:focus, #mainNav.is-fixed .navbar > .nav-item > a:hover {
    color: #AD2037;
  }
  #mainNav.is-visible {
    /* if the user changes the scrolling direction, we show the header */
    transform: translate3d(0, 100%, 0);
  }
}

header.masthead {
  margin-bottom: 50px;
  background: no-repeat center center;
  background-color: #868e96;
  background-attachment: scroll;
  position: relative;
  background-size: cover;
}
header.masthead .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #212529;
  opacity: 0.5;
}
header.masthead .page-heading,
header.masthead .post-heading,
header.masthead .site-heading {
  padding: 200px 0 150px;
  color: white;
}
@media only screen and (min-width: 768px) {
  header.masthead .page-heading,
  header.masthead .post-heading,
  header.masthead .site-heading {
    padding: 200px 0;
  }
}
header.masthead .page-heading,
header.masthead .site-heading {
  text-align: center;
}
header.masthead .page-heading h1,
header.masthead .site-heading h1 {
  font-size: 50px;
  margin-top: 0;
}
header.masthead .page-heading .subheading,
header.masthead .site-heading .subheading {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.1;
  display: block;
  margin: 10px 0 0;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media only screen and (min-width: 768px) {
  header.masthead .page-heading h1,
  header.masthead .site-heading h1 {
    font-size: 80px;
  }
}
header.masthead .post-heading h1 {
  font-size: 35px;
}
header.masthead .post-heading .meta,
header.masthead .post-heading .subheading {
  line-height: 1.1;
  display: block;
}
header.masthead .post-heading .subheading {
  font-size: 19px;
  font-weight: 600;
  margin: 10px 0 30px;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
header.masthead .post-heading .meta {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  /*font-family: 'Lora', 'Times New Roman', serif;*/
}
header.masthead .post-heading .meta a {
  color: #fff;
}
@media only screen and (min-width: 768px) {
  header.masthead .post-heading h1 {
    font-size: 55px;
  }
  header.masthead .post-heading .subheading {
    font-size: 25px;
  }
}

.post-preview > a {
  color: #212529;
}
.post-preview > a:focus, .post-preview > a:hover {
  text-decoration: none;
  color: #AD2037;
}
.post-preview > a > .post-title {
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
}
.post-preview > a > .post-subtitle {
  font-weight: 300;
  font-size: 20px;
  margin: 0 0 10px;
}
.post-preview > .post-meta {
  font-size: 18px;
  font-style: italic;
  margin-top: 0;
  color: #868e96;
}
.post-preview > .post-meta > a {
  text-decoration: none;
  color: #212529;
}
.post-preview > .post-meta > a:focus, .post-preview > .post-meta > a:hover {
  text-decoration: underline;
  color: #AD2037;
}
@media only screen and (min-width: 768px) {
  .post-preview > a > .post-title {
    font-size: 36px;
  }
}

.post-preview-small > a > .post-title {
  font-size: 20px;
}
.post-preview-small > a > .post-subtitle {
  font-size: 16px;
}
@media only screen and (min-width: 768px) {
  .post-preview-small > a > .post-title {
    font-size: 20px;
  }
  .post-preview-small > a > .post-subtitle {
    font-size: 16px;
  }
}

.floating-label-form-group {
  font-size: 14px;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #dee2e6;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
  font-size: 1.5em;
  position: relative;
  z-index: 1;
  padding: 0;
  resize: none;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none !important;
  /*font-family: 'Lora', 'Times New Roman', serif;*/
}
.floating-label-form-group input::-webkit-input-placeholder,
.floating-label-form-group textarea::-webkit-input-placeholder {
  color: #868e96;
  /*font-family: 'Lora', 'Times New Roman', serif;*/
}
.floating-label-form-group label {
  font-size: 0.85em;
  line-height: 1.764705882em;
  position: relative;
  z-index: 0;
  top: 2em;
  display: block;
  margin: 0;
  transition: top 0.3s ease, opacity 0.3s ease;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
}
.floating-label-form-group .help-block {
  margin: 15px 0;
}

.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}

.floating-label-form-group-with-focus label {
  color: #AD2037;
}

form .form-group:first-child .floating-label-form-group {
  border-top: 1px solid #dee2e6;
}

footer {
  padding: 50px 0 65px;
}
footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-size: 14px;
  margin-bottom: 0;
  text-align: center;
}

.btn {
  font-size: 14px;
  font-weight: 800;
  padding: 15px 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.btn-primary {
  background-color: #AD2037;
  border-color: #AD2037;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: rgb(55.1846006695%, 10.2075561932%, 17.5442372071%) !important;
  border-color: rgb(55.1846006695%, 10.2075561932%, 17.5442372071%) !important;
}

.btn-lg {
  font-size: 16px;
  padding: 25px 35px;
}

.post a {
  text-decoration: underline;
}

.md-image {
  max-width: 100%;
}

/* code */
pre {
  background-color: #e9ecef;
  margin-left: -10px;
  margin-right: -10px;
  padding: 10px !important;
}

/* Youtube responsive embed */
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* marging in bullet list  */
li > p {
  margin-top: 0;
  margin-bottom: 0;
}

li > ul {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

p + ul {
  margin-top: -25px;
}

ul {
  margin-top: 25px;
  margin-bottom: 25px;
}

/* marging before code samples  */
p + pre {
  margin-top: -25px;
}

.aboutme-pic {
  width: 100%;
  outline-style: solid;
  outline-width: 6px;
  outline-color: #e2463a;
}

.promotion {
  white-space: normal;
  margin-top: 25px;
  margin-bottom: 25px;
  text-transform: inherit;
  text-decoration: inherit !important;
}

.promotion:hover {
  text-decoration: underline !important;
}

.blockquote {
  font-size: 1rem;
}

.click-to-tweet {
  margin-top: 25px;
  margin-bottom: 25px;
}

.click-to-tweet-body {
  padding: 1rem;
}

.btn-click-to-tweet {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-transform: none;
  text-decoration: none !important;
  float: right !important;
  color: #fff !important;
  background-color: #0a66c2 !important;
  border: 1px solid #0a66c2 !important;
  border-radius: 4px;
  transition: background-color 0.2s, border-color 0.2s, filter 0.2s;
}

.btn-click-to-tweet i {
  padding: 0;
  font-size: 1rem;
  color: inherit;
}

.btn-click-to-tweet:hover {
  color: #fff !important;
  background-color: #004182 !important;
  border-color: #004182 !important;
  filter: brightness(1.05);
}

.nav-link-icon {
  padding-left: 0px !important;
  padding-right: 0px !important;
  margin-left: -2px;
  margin-right: -2px;
}

.navbar {
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

.navbar-brand {
  margin-right: 0.6rem;
}

.table-container {
  overflow: auto;
  margin-bottom: 25px;
}

.table-container table {
  width: 100%;
  font-size: 14px;
}

.table-container table tr {
  border-bottom: 1px #adb5bd solid;
}

.table-container table th, .post table td {
  padding-right: 7px;
}

.table-container table p {
  margin: 0px;
}

/* Right sidebar - Top articles */
.post-with-sidebar-row {
  align-items: flex-start; /* avoid huge gap: main col no longer stretches to sidebar height */
}

/* Mobile: reorder so Disqus → Top articles → Other articles */
.post-main-col-with-sidebar {
  display: contents;
}
@media (min-width: 992px) {
  .post-main-col-with-sidebar {
    display: flex;
    flex-direction: column;
  }
}

.post-main-col-with-sidebar .post-block-disqus {
  order: 2;
}

.post-main-col-with-sidebar .post-block-linked {
  order: 4;
}

.sidebar-col.order-3 {
  order: 3;
}

@media (min-width: 992px) {
  .post-main-col-with-sidebar .post-block-content,
  .post-main-col-with-sidebar .post-block-disqus,
  .post-main-col-with-sidebar .post-block-linked,
  .sidebar-col.order-3 {
    order: unset;
  }
}
.post-main-col-with-sidebar .post-block-disqus {
  margin-top: 2rem;
}

.post-main-col-with-sidebar .post-block-linked {
  margin-top: 1rem; /* tighter spacing so Other articles sits closer to Disqus */
}

/* Clear floats before Disqus so Share on LinkedIn / floated content doesn’t overlap */
.disqus-section {
  clear: both;
  overflow: hidden;
  position: relative;
}

#disqus_thread {
  position: relative;
}

.linked-posts-card.sidebar-card {
  flex: none;
}

.linked-posts-card.sidebar-card .card-body {
  flex: none;
}

.linked-posts-card .sidebar-posts {
  flex: none;
}

.post-main-col .linked-posts-section {
  margin-top: 0;
}

.post-main-col .disqus-section {
  margin-top: 0;
}

.sidebar-col {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 992px) {
  .sidebar-col {
    margin-top: 0;
    align-self: stretch;
  }
}

.sidebar-card {
  border-radius: 0;
  border: 1px solid #e9ecef;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sidebar-card a {
  text-decoration: none !important;
  color: #212529;
}
.sidebar-card a:focus, .sidebar-card a:hover {
  text-decoration: none !important;
  color: #AD2037;
}
.sidebar-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #212529;
  margin-bottom: 1rem;
}

.sidebar-posts {
  margin-bottom: 0;
  flex: 1;
}

.sidebar-post-item {
  border-bottom: 1px solid #e9ecef;
  padding: 0.75rem 0;
}
.sidebar-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-post-item:first-child {
  padding-top: 0;
}

.sidebar-post-item .post-preview-small .post-title {
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.sidebar-post-item .post-preview-small .post-subtitle {
  font-size: 1rem;
  font-weight: 300;
  margin: 0;
  color: #868e96;
}

/* Article author header */
.post .article-author-link {
  text-decoration: none;
  color: inherit;
}

.post .article-author-link:hover {
  text-decoration: none;
}

.post .article-author-link:hover .article-author-name,
.post .article-author-link:hover .article-author-description {
  color: #AD2037;
}

.article-author-link {
  display: block;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.article-author-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.article-author-info {
  min-width: 0;
}

.article-author-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.article-author-description {
  font-size: 0.875rem;
  color: #868e96;
  line-height: 1.4;
  transition: color 0.2s ease;
}
