@import url("pygment_highlights.css");

/* --- General --- */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #404040;
  position: relative;
  background: #FFF;
}
p {
  line-height: 1.5;
  margin: 10px 0;
}
p a {
  text-decoration: none;
  color: #4c808b;
}
p a:hover{
  text-decoration: underline;
  color: #33555D;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}
/* This adds space above h2 anchors (e.g. download) to avoid the main menu to overlap here */
h2::before { 
  display: block;
  content: " ";
  margin-top: -75px;
  height: 75px;
  visibility: hidden;
  pointer-events: none
}
h3 {
  font-size: 22px;
  margin-top: 3.5rem;
  color: #5a5a5a;
}
h4 {
  margin-top: 2.5rem;
}
a {
  text-decoration: none;
  color: #4c808b;
}
a:hover,
a:focus {
  color: #33555D;
  text-decoration: underline;
}
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;
}

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

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

.hideme {
  display: none;
}

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

img {
  display: block;
  margin: auto;
  max-width: 100%;
}

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

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

/* --- Navbar --- */
.navbar-custom {
  background: #22363b;
  border-bottom: 1px solid #33555D;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.navbar-custom .nav li a {
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav li a {
  font-weight: 800;
  color: #bacbcc;
  text-decoration: none;
}

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

.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: 5px;
}
.navbar-custom.top-nav-short .navbar-brand-logo img {
  height: 40px;
}
.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: 50px;
  width: 40px;
  margin-top: -45px;
}
.navbar-custom .avatar-container  .avatar-img-border {
  width: 100%;
  border-radius: 50%;
  margin-left: -50%;
  display: inline-block;
}
.navbar-custom .avatar-container  .avatar-img {
  width: 100%;
  border-radius: 50%;
  display: block;
}

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

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

@media only screen and (min-width: 768px) {
  .navbar-custom .avatar-container {
    width: 40px;
    margin-top: -45px;
  }
  
  .navbar-custom .avatar-container  .avatar-img-border {
    width: 100%;
  }
  
  .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;
  padding: 10px;
  padding-left: 30px;
  background: #34535b;
  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: #1d3034;
  }
  .navbar-custom .nav .navlinks-container.show-children .navlinks-children {
    display: block;
  }
}
@media only screen and (min-width: 768px) {
  .navbar-custom .nav .navlinks-container {
    text-align: center;
    margin-bottom: -10px; /* To compensate for icon size in language menu, remove when using submenus in other places */
  }  
  .navbar-custom .nav .navlinks-container:hover {
    background: #34535b;
  }
  .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-width: 0 1px 1px;
  }
}
.navbar-toggle {
  border-color: #587278 !important;
}
.navbar-toggle .icon-bar {
  background-color: #bacbcc! important;
}
.navbar-toggle:focus,
.navbar-toggle:hover {
  background-color: #4c808b !important;
}

/* --- Footer --- */
footer {
  padding: 30px 0;
  background: #1d3034;
  border-top: 1px #9f9f9f solid;
  margin-top: 50px;
  font-size: 14px;
}

footer a {
  color: #33555D;
}
footer a:hover {
  color: #4c808b;
}
footer .footer-links > li > a > img {
  height: 100px;
  display: block;
}

footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
  margin-bottom: 0;
  color: #ececec;
}
footer .theme-by {
  text-align: center;
  margin: 10px 0 0;
}

@media only screen and (min-width: 768px) {
  footer {
    padding: 50px 0;
  }
  footer .footer-links {
    font-size: 18px;
  }
  footer .footer-links > li > a > img {
    height: 100px;
    display: block;
  }
  footer .footer-links > li > a {
    text-decoration: none;
  }
  footer .copyright {
    font-size: 16px;
  }
}
 
/* --- Post preview --- */
.post-preview {
  padding: 35px 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: #33555D;
}

.post-preview .post-title {
  font-size: 28px;
  margin-top: 0;
}
.post-preview .post-subtitle {
  font-size: 20px;
  margin: 0;
  font-weight: 300;
  margin-bottom: 10px;
}
.post-preview .post-meta,
.post-heading .post-meta {
  color: #808080;
  margin: 0 0 10px;
}
.post-preview .post-meta a,
.post-heading .post-meta a {
  color: #8A8A8A;
  text-decoration: none;
}
.post-preview .post-entry {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: justify;
  padding-top: 10px;
}
@media only screen and (min-width: 768px) {
  .post-preview .post-entry {
    padding-top: 5px;
  }
}
.post-entry-container {
  display: inline-block;
  width: 100%;
}
.post-entry {
  width: 100%;
}
.post-image {
  float: right;
  height: 192px;
  width: 192px;
  margin-top: -35px;
  filter: grayscale(90%);
}
.post-image:hover {
  filter: grayscale(0%);
}
.post-image img {
  border-radius: 100px;
  height: 192px;
  width: 192px;
}
.post-preview .post-read-more {
  font-weight: 800;
  float: right;
}

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

.blog-post {
    text-align: justify;
}

/* --- Tags --- */
.blog-tags {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #999;
  font-size: 1.5rem;
  margin-bottom: 30px;
  margin-top: 1.7em;
}

.blog-tags a {
  border-radius: 0.25em;
  color: #ffffff !important;
  font-style: normal;
  background-color: #ccc;
  text-decoration: none;
  text-shadow: none;
  padding: 0.2em 0.4em;
}

.blog-tags a:hover {
  text-decoration: underline;
}
.tag-release a {
  background-color: #65ac04;
}
.tag-development a {
  background-color: #7150a6;
}

.post-preview .blog-tags {
  margin-top: 0.7em;
  margin-bottom: 0;
}

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

@media only screen and (max-width: 500px) {
  .post-image, .post-image img {
    height: 100px;
    width: 100px;
  }
  
  .post-image {
    width: 100%;
    text-align: center;
    margin-top: 0;
    float: left;
  }
}

/* --- Post and page headers --- */
.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: 51px; /* 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: 100px 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: '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.big-img .img-desc {
  background: rgba(30, 30, 30, 0.6);
  position: absolute;
  padding: 5px 10px;
  font-size: 11px;
  color: #EEE;
  font-family: '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 .page-heading,
  .intro-header.big-img .post-heading  {
    padding: 150px 0;
  }  
  .intro-header .page-heading h1 {
    font-size: 60px;
  }
  .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: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
figcaption p {
  color: #797979;
  font-style: italic;
  margin-bottom: 0.4em !important;
}
.box {
  margin: auto;
  text-align: center;
}

/* --- Pager --- */
.pager li a {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 10px;
  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: #33555D;
  border: 1px solid #4c808b;
}

.pager {
  margin: 10px 0 0;
}

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

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

/* --- 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: #f8f8f8;
}
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 #ccc;
}
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;
}

/* --- Social media sharing section --- */
#social-share-section {
  margin-bottom: 30px;
}

/* --- Google Custom Search Engine Popup --- */
#modalSearch table tr, #modalSearch table tr td, #modalSearch table tr th {
  border:none;
}
.reset-box-sizing, .reset-box-sizing *, .reset-box-sizing *:before, .reset-box-sizing *:after,  .gsc-inline-block {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus, .gsc-search-button {
  box-sizing: content-box;
  line-height: normal;
}

/* --- Download buttons --- */
.btn {
    margin-top: 5px;
}
.btn-success {
  background-color: #64bc0f;
  border-color: #4cae4c;
  font-weight: bold;
  text-decoration: none;
}
.btn-primary {
  font-weight: bold;
  text-decoration: none;
}
.btn-light {
  background-color: #fff;
  border-color: #337AB7;
  color: #505050;
  font-weight: bold;
  text-decoration: none;
}
.btn-success-light {
  background-color: #fff;
  border-color: #4cae4c;
  color: #505050;
  font-weight: bold;
  text-decoration: none;
}
.btn-light:hover {
  background-color: #e4e4e4;
}
.dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.4em;
  vertical-align: 0.2em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
.dropdown-item {
  display: block;
  padding: 5px 15px;
  text-decoration: none;
}
.dropdown-item:hover {
  display: block;
  text-decoration: none;
  background-color: #f5f5f5;
}
.recommended-download {
  font-weight: bold;
}

/* --- Version tag --- */
.release-info {
  margin: auto;
}

/* --- Navbar --- */
/* --- Main Gajlm button in top menu --- */
.navbar>.container-fluid .navbar-brand {
  font-size: 22px;
}
@media (min-width: 768px) {
 .navbar-nav {
    float: none;
    display: inline-block;
    vertical-align: top;
  }
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
  border-color: #4c808b;
  text-align: center;
}
.container-fluid {
  padding-right: 0px;
  padding-left: 0px;
  margin-right: 5%;
  margin-left: 5%;
  width: 90%;
}

/* --- Content container --- */
@media (min-width: 1200px) {
  .col-lg-offset-2 {
    margin-left: 10%;
  }
}
@media (min-width: 1200px) {
  .col-lg-8 {
    width: 80%;
  }
}
.well {
  padding: 30px;
  text-align: justify;
}

/* --- Language picker --- */
.navlinks-parent i {
  font-size: 1.6em;
  left: 0;
  display: inline;
}
.navbar-custom .nav .navlinks-parent:after {
  position: absolute;
  margin-left: 5px;
}

/* --- Startpage jumbotron --- */
.jumbotron p {
  font-weight: normal;
}

/* --- Startpage download button and logo --- */
.startpage-download {
  width: 100%;
  margin-bottom: 2rem;
}
.startpage-download tr {
  border-top: none;
  background-color: inherit;
}
.startpage-download tr td {
  border: none;
}
.startpage-download tr td img {
  float: right;
}
.download-other {
  margin-top: 0.4rem;
  font-size: 14px !important;
}
.d-flex {
  display: -webkit-box!important;
  display: flex!important;
}
.list-item {
  margin-bottom: 3rem;
}
.feature p {
  font-size: 1em;
  line-height: 1.4em;
  color: #707070;
}
.align-items-start {
  -webkit-box-align: start!important;
  -ms-flex-align: start!important;
  align-items: flex-start!important;
}
.feature-icon i {
  margin-right: 3rem;
  margin-top: 4rem;
  color: #33555D;
}
.jumbotron {
  display: inline-block;
  background-image: #e4e4e4;
}
.os {
  margin-top: 5rem;
}
.os i {
  font-weight: 400;
  margin-right: 1rem;
}
.xeps {
  display: block;
  border: none;
  width: 100%;
}
.ms-store-logo {
  margin-left: 0;
  width: 20rem;
  padding: 1rem 0;
}
.donations-container {
  background-color: #cfebcf;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 6px;
}
.donations-container i {
  font-size: 3em;
  color: #336e33;
}