@import url("pygment_highlights.css");

/* --- General --- */

body {
  font-family: 'Lusitana', 'Times New Roman', serif;
  font-size: 17px;
  color: #404040;
  position: relative;
  background: #FFF;
}

 html {
    height: 100%;
    margin: 0
}

p {
  line-height: 1.5;
  /* margin: 0px 0; */
}

.centre-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.container p {
  font-family: 'Lusitana', 'Times New Roman', serif;
}

.post p {
  font-family: 'Lusitana', 'Times New Roman', serif;
}

.asterism {
  text-align: center;
  font-size: 18px;
  line-height: 1;
  padding-bottom: 15px;
}

.creative-commons{
  font-size:14px;
  text-align: center;
}


.cvwrapper {
  margin-left: 60px;
}
.cvcontent {
  float: right;
  width: 100%;
}
.cvsidebar {
  text-align: left;
  float: left;
  width: 60px;
  margin-left: -60px;
}
.cvcleared {
  clear: both;
}



.jobwrapper {
  margin-left: 250px;
}
.jobcontent {
  float: right;
  width: 100%;
}
.jobsidebar {
  text-align: left;
  float: left;
  width: 250px;
  margin-left: -250px;
}
.jobcleared {
  clear: both;
}

.bibliography {
  list-style:none;
  padding-left:0;
  line-height: 1.5;
  padding-left: 22px ;
  text-indent: -22px ;
}

.bibliography a {
  color: #008AFF;
  list-style: none; /* Remove list bullets */
}

.abstract {
  padding-left: 30px;
  padding-right: 30px;
  text-indent: 0px ;
}



p a {
  /* text-decoration: underline */
  color: #008AFF;
}

h1,h2,h3,h4,h5,h6 a {
  color: inherit;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-weight: 700;
}
a {
  color: inherit;
}
a:hover,
a:focus {
  color: #3A89D9;
}
blockquote {
  color: #808080;
/*  font-style: italic; */
}
blockquote p:first-child {
  margin-top: 0;
}
hr.small {
  max-width: 100px;
  margin: 15px auto;
  border-width: 4px;
  border-color: inherit;
  border-radius: 3px;
}

h4 {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 10px;
  font-weight: 400;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

figcaption h4{
  color: #404040;
  font-size: 16px;
  font-style: italic;
  margin: 2px 0 2px;
  font-weight: 400;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

figcaption {
    font-size: 16px;
    margin-bottom: 12px;
    font-style: italic;
}

.main-content {
  padding-top: 130px;
}
@media only screen and (min-width: 768px) {
  .main-content {
    padding-top: 130px;
  }
}

.main-explain-area {
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 15px inherit;
}

h2{
  font-size: 36px;
}

.hideme {
  display: none;
}

::-moz-selection {
  color: white;
  text-shadow: none;
  background: #3A89D9;
}
::selection {
  color: white;
  text-shadow: none;
  background: #3A89D9;
}
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}

img {
  max-width: 100%;
}

.disqus-comments {
  margin-top: 30px;
}

@media only screen and (min-width: 768px) {
  .disqus-comments {
    margin-top: 40px;
  }
}

/* --- Navbar --- */

.navbar-custom {
  background: #12181E;
  border-bottom: 1px solid #EAEAEA;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  max-height: 40px;
  top: 0px;
}

.navbar-custom .nav li a {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: #e8e8e8;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right:10px;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav li a {
  font-weight: 800;
  color: #e8e8e8;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right:10px;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus ,
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
  color: #3A89D9;
}

.navbar-custom .navbar-brand-logo {
  padding-top: 0;
  -webkit-transition: padding .5s ease-in-out;
  -moz-transition: padding .5s ease-in-out;
  transition: padding .5s ease-in-out;
}
.navbar-custom .navbar-brand-logo img {
  height: 50px;
  -webkit-transition: height .5s ease-in-out;
  -moz-transition: height .5s ease-in-out;
  transition: height .5s ease-in-out;
}
.navbar-custom.top-nav-short .navbar-brand-logo {
  padding-top: 20px;
}
.navbar-custom.top-nav-short .navbar-brand-logo img {
  height: 40px;
}

.navbar-right {
    float: right !important;
    margin-right: 5px;
}


@media only screen and (min-width: 768px) {
  .navbar-custom {
    padding: 20px 0;
    -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
    -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
    transition: background .5s ease-in-out,padding .5s ease-in-out;
  }

  .navbar-custom.top-nav-short {
    padding-top: 20px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }
}

.navbar-custom .avatar-container {
  opacity: 1;
  position: absolute;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
  left: 50%;
  width: 50px;
  margin-top: -25px;
}
.navbar-custom .avatar-container  .avatar-img-border {
  width: 100%;
  border-radius: 50%;
  margin-left: -50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .8);
  -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
}
.navbar-custom .avatar-container  .avatar-img {
  width: 100%;
  border-radius: 50%;
  display: block;
}

.navbar-custom.top-nav-short .avatar-container{
  opacity: 0;
}

.navbar-custom.top-nav-expanded .avatar-container  {
  display: none;
}

@media only screen and (min-width: 768px) {
  .navbar-custom .avatar-container {
    width: 100px;
    margin-top: -50px;
  }

  .navbar-custom .avatar-container  .avatar-img-border {
    width: 100%;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
  }

  .navbar-custom .avatar-container  .avatar-img {
    width: 100%;
  }
}

/* Multi-level navigation links */
.navbar-custom .nav .navlinks-container {
  position: relative;
}
.navbar-custom .nav .navlinks-parent:after {
  content: " \25BC";
}
.navbar-custom .nav .navlinks-children {
  width: 100%;
  display: none;
  word-break: break-word;
}
.navbar-custom .nav .navlinks-container .navlinks-children a {
  display: block;
  font-weight: 600;
  padding: 10px;
  padding-left: 30px;
  background: #12181E;
  text-decoration: none !important;
  border-width: 0 1px 1px 1px;
  font-weight: normal;
}

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

  .navbar-custom .nav .navlinks-container.show-children {
    background: #12181E;
  }
  .navbar-custom .nav .navlinks-container.show-children .navlinks-children {
    display: block;
  }

  .navbar-collapse{
    background: #12181E;
  }

}
@media only screen and (min-width: 768px) {
  .navbar-custom .nav .navlinks-container {
    text-align: center;
  }
  .navbar-custom .nav .navlinks-container:hover {
    background: #12181E;
  }
  .navbar-custom .nav .navlinks-container:hover .navlinks-children {
    display: block;
  }
  .navbar-custom .nav .navlinks-children {
    position: absolute;
  }
  .navbar-custom .nav .navlinks-container .navlinks-children a {
    padding-left: 10px;
    border: 1px solid #eaeaea;
    border-width: 0 1px 1px;
  }
}

/* --- bike iframe --- */



.bikeframe{
  border: none;
  width: 100%;
 height: 3539px;
}

@media only screen and (max-width: 1300px) {
  .bikeframe{
    border: none;
    width: 100%;
 height: 3539px;
  }
}

@media only screen and (max-width: 1120px) {
  .bikeframe{
    border: none;
    width: 100%;
  height: 3600px;
  }
}

@media only screen and (max-width: 800px) {
  .bikeframe{
    border: none;
    width: 100%;
 height: 3710px;
  }
}

@media only screen and (max-width: 600px) {
  .bikeframe{
    border: none;
    width: 100%;
 height: 5110px;
  }
}

/* --- Footer --- */


footer {
  width:100%;
  height:250px;
  position: absolute;
  padding: 5px 0;
  background: #12181E;
  border-top: 1px #EAEAEA solid;
  margin-top: 5px;
  font-size: 14px;
}

#main-wrapper {
    min-height: 100%;
    position: relative;
    padding-top: 40px;
    padding-left: 0px;
    padding-right: 0px;
}

  footer .footer-links {
   font-size: 34px;
   margin-bottom: 2px;
  }

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

  footer {
    width:100%;
    height:260px;
    position: absolute;
    padding: 5px 0;
    background: #12181E;
    border-top: 1px #EAEAEA solid;
    margin-top: 5px;
    font-size: 14px;
  }

  #main-wrapper {
      min-height: 100%;
      position: relative;
      padding-top: 30px;
      padding-left: 0px;
      padding-right: 0px;
  }



}

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

  footer {
    width:100%;
    height:280px;
    position: absolute;
    padding: 5px 0;
    background: #12181E;
    border-top: 1px #EAEAEA solid;
    margin-top: 5px;
    font-size: 14px;
  }
  
  footer .footer-links {
   font-size: 16px;
   margin-bottom: 2px;
  }

  #main-wrapper {
      min-height: 100%;
      position: relative;
      padding-top: 40px;
      padding-left: 0px;
      padding-right: 0px;
  }
}

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

  footer {
    width:100%;
    height:275px;
    position: absolute;
    padding: 5px 0;
    background: #12181E;
    border-top: 1px #EAEAEA solid;
    margin-top: 5px;
    font-size: 14px;
  }

  #main-wrapper {
      min-height: 100%;
      position: relative;
      padding-top: 40px;
      padding-left: 0px;
      padding-right: 0px;
  }

}

.text-center {
    text-align: center;
}

footer a {
  color: #7e7e7e;
}

footer .text-muted {
  color: #e8e8e8;
  font-size: 14px;
  text-align: center;
}

.list-inline > li {
    display: inline-block;
    padding-right: 0px;
    padding-left: 0px;
}


.text-muted p {
  line-height: 1;
}

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

@media only screen and (min-width: 768px) {
  footer .footer-links {
   font-size: 34px;
   margin-bottom: 2px;
  }
  footer .copyright {
    font-size: 14px;
  }
}

/* --- Post preview --- */

.post-preview {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

@media only screen and (min-width: 768px) {
  .post-preview {
    padding: 35px 0;
  }
}

.post-preview:last-child {
  border-bottom: 0;
}

.post-preview a {
  text-decoration: none;
  color: #404040;
}

.post-preview a:focus,
.post-preview a:hover {
  text-decoration: none;
  color: #3A89D9;
}

.post-preview .post-title {
  font-size: 30px;
  margin-top: 0;
}
.post-preview .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 10px;
}
.post-preview .post-meta,
.post-heading .post-meta {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 10px;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.post-preview .post-meta,
.blog-heading .post-meta {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 10px;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


.post-preview .post-entry {
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.post-entry-container {
  display: inline-block;
  width: 100%;
}
.post-entry {
  width: 100%;
}
.post-image {
  float: right;
  max-height: 192px;
  max-width: 192px;
  margin-top: 0px;
  filter: grayscale(90%);
}
.post-image:hover {
  filter: grayscale(0%);
}
.post-image img {
  max-height: 192px;
  max-width: 192px;
}
.post-preview .post-read-more {
  font-weight: 800;
}

@media only screen and (min-width: 768px) {
  .post-preview .post-title {
    font-size: 36px;
  }
}

/* --- Tags --- */

.blog-tags {
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #999;
  font-size: 15px;
  margin-bottom: 30px;
}

.blog-tags a {
  color: #008AFF;
  text-decoration: none;
  padding: 0px 5px;
}

.blog-tags a:hover {
  border-radius: 2px;
  color: #008AFF;
  background-color: #CCC;
}

.post-preview .blog-tags {
  margin-top: 5px;
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .post-preview .blog-tags {
    margin-top: 10px;
  }
}



@media only screen and (max-width: 500px) {
  .post-image, .post-image img {
    height: 100px;
    width: 100px;
  }

.post-meta {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 10px;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


  .post-image {
    width: 100%;
    text-align: center;
    margin-top: 0;
    float: left;
  }
}
/* --- Post and page headers --- */



/* --- home page post preview  --- */
.front-post-preview {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

@media only screen and (min-width: 768px) {
  .front-post-preview {
    padding: 10px 0;
  }
}

.front-post-preview:last-child {
  border-bottom: 0;
}

.front-post-preview a {
  text-decoration: none;
  color: #404040;
}

.front-post-preview a:focus,
.front-post-preview a:hover {
  text-decoration: none;
  color: #3A89D9;
}

.front-post-preview .post-title {
  font-size: 30px;
  margin-top: 0;
}
.front-post-preview .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 10px;
}
.front-post-preview .post-meta,
.post-heading .post-meta {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 10px;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.front-post-preview .post-entry {
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.front-post-preview .post-read-more {
  font-weight: 800;
}

@media only screen and (min-width: 768px) {
  .front-post-preview .post-title {
    font-size: 36px;
  }
}

.front-post-preview .blog-tags {
  margin-top: 5px;
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .front-post-preview .blog-tags {
    margin-top: 10px;
  }
}



.intro-header {
  margin: 80px 0 20px;
  position: relative;
}
.intro-header.big-img {
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  margin-top: 0px; /* The small navbar is 50px tall + 1px border */
  margin-bottom: 35px;
}
.intro-header.big-img  .big-img-transition {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  -webkit-transition: opacity 1s linear;
  -moz-transition: opacity 1s linear;
  transition: opacity 1s linear;
}
.intro-header .page-heading {
  text-align: center;
}
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
  padding: 00px 0;
  color: #FFF;
  text-shadow: 1px 1px 3px #000;
}
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 50px;
}
.intro-header .post-heading h1 {
  margin-top: 0;
  font-size: 35px;
}
.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
  font-size: 27px;
  line-height: 1.1;
  display: block;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 10px 0 0;
}
.intro-header .post-heading .post-subheading {
  margin-bottom: 20px;
}
.intro-header.big-img .page-heading .page-subheading,
.intro-header.big-img .post-heading .post-subheading {
  font-weight: 400;
}
.intro-header.big-img .page-heading hr {
  box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  -moz-box-shadow: 1px 1px 3px #000;
}
.intro-header.big-img .post-heading .post-meta {
  color: #EEE;
}
.intro-header .shiny-block {
  max-width: 1000px;
}
.intro-header.big-img .img-desc {
  background: rgba(30, 30, 30, 0.6);
  position: absolute;
  padding: 5px 10px;
  font-size: 11px;
  color: #EEE;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  right: 0;
  bottom: 0;
  display: none;
}
@media only screen and (min-width: 768px) {
  .intro-header {
    margin-top: 130px;
  }
  .intro-header.big-img {
    margin-top: 50px;  /* Full navbar is small navbar + 20px padding on each side when expanded */
  }
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading  {
    padding: 150px 0;
  }
  .intro-header .page-heading h1 {
    font-size: 80px;
  }
  .intro-header .post-heading h1 {
    font-size: 50px;
  }
  .intro-header.big-img .img-desc {
    font-size: 14px;
  }
}

.header-section.has-img .no-img {
  margin-top: 0;
  background: #FCFCFC;
  margin: 0 0 40px;
  padding: 20px 0;
  box-shadow: 0 0 5px #AAA;
}
/* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
.header-section.has-img .intro-header.no-img {
  display: none;
}
@media only screen and (max-width: 365px) {
  .header-section.has-img .intro-header.no-img {
    display: block;
  }
  .intro-header.big-img {
    width: 100%;
    height: 220px;
  }
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading {
    display: none;
  }
  .header-section.has-img .big-img {
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 325px) {
  .intro-header.big-img {
    height: 200px;
  }
}

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

/* --- Pager --- */

.pager li a {
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 5px;
  background: #FFF;
  border-radius: 0;
  color: #404040;
}
@media only screen and (min-width: 768px) {
  .pager li a {
    padding: 15px 25px;
  }
}
.pager li a:hover,
.pager li a:focus {
  color: #FFF;
  background: #3A89D9;
  border: 1px solid #3A89D9;
}

.pager {
  margin: 10px 0 0;
}

.pager.blog-pager {
  margin-top: 0;
}

@media only screen and (min-width: 768px) {
  .pager.blog-pager  {
    margin-top: 10px;
  }
}

/* --- Tables --- */

table {
  padding: 0;
}
table tr {
  border-top: 1px solid #cccccc;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}
table tr:nth-child(2n) {
  background-color: #ffffff;
}
table tr th {
  font-weight: bold;
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}
table tr td {
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}
table tr th :first-child,
table tr td :first-child {
  margin-top: 0;
}
table tr th :last-child,
table tr td :last-child {
  margin-bottom: 0;
}

/* --- Code blocks --- */

pre {
  font-size: 14px;
  line-height: 1.5em;
}
pre code {
  white-space: pre;
}
pre.highlight, .highlight > pre, td.code pre {
  background: #FAFAFA;
  background-image: linear-gradient(#F9F9F9 50%, #FDFDFD 50%);
  background-repeat: repeat;
  background-size: 3em 3em;
  background-position: 0px 10px;
  border-left: 7px solid #444;
}
code table, code table td, code table th, code table tbody, code table tr,
td.gutter pre {
  padding: 0;
  border: none;
  background-color: #fff;
}
.highlight > pre {
  padding: 0;
}
td.code pre {
  border-width: 0 0 0 2px;
  border-style: solid;
  border-color: #444;
  border-radius: 0;
}
td.gutter {
  padding-top: 3px;
}

.message-404 {
    margin-top: -100px;
}

.chart {
  display: block;
  margin: auto;
  max-width: 780px;
  width: 90%;

}


/* --- Social media sharing section --- */

#social-share-section {
  margin-bottom: 30px;
}


#H2_1 {
    box-sizing: border-box;
    color: rgb(64, 64, 64);
    height: 39px;
    text-size-adjust: 100%;
    width: 720px;
    column-rule-color: rgb(64, 64, 64);
    perspective-origin: 360px 19.5px;
    transform-origin: 360px 19.5px;
    border: 0px none rgb(64, 64, 64);
    font: normal normal bold normal 36px / 39.6px Roboto, Helvetica, Arial, sans-serif;
    margin: 0px 0px 10px;
    outline: rgb(64, 64, 64) none 0px;
}/*#H2_1*/

#P_1 {
    box-sizing: border-box;
    color: rgb(128, 128, 128);
    height: 27px;
    text-size-adjust: 100%;
    width: 720px;
    column-rule-color: rgb(128, 128, 128);
    perspective-origin: 360px 13.5px;
    transform-origin: 360px 13.5px;
    border: 0px none rgb(128, 128, 128);
    font: italic normal normal normal 18px / 27px Lusitana, "Times New Roman", serif;
    margin: 0px 0px 10px;
    outline: rgb(128, 128, 128) none 0px;
}/*#P_1*/

#A_1 {
    box-sizing: border-box;
    color: rgb(0, 138, 255);
    text-decoration: none;
    text-size-adjust: 100%;
    column-rule-color: rgb(0, 138, 255);
    border: 0px none rgb(0, 138, 255);
    font: normal normal bold normal 24px / 26.4px Roboto, Helvetica, Arial, sans-serif;
    outline: rgb(0, 138, 255) none 0px;
}/*#A_1*/

