/* CSS for gnupg.com.
 * This file is in the Public Domain.
 */

/* Setup a new default for box-sizing.  */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Recommended pure modification.  */
.pure-img-responsive {
    max-width: 100%;
    height: auto;
}


/*
 * Basic stuff.
 */
body {
    background: #f0f0fc;
    line-height: 1.5em;
    font-size: 12px;
}


/*
 * The outer content wrapper covering the content and the footer.
 *
 * The top, min-height and z-index work closely together with the
 * banner-container if that is used.  If the banner is in use the
 * with-banner class needs to be used in addition.
 */
.content-container {
    top: 49%;
    width: 100%;
    min-height: 20%;
    z-index: 2;
    background: white;
}
.with-banner {
   position: absolute;
}

.float-left-img {
  float: left;
  margin: 0 0 15px 20px;
  padding: 15px;
  text-align: center;
}

/* Add some padding to the content.  */
.content {
    padding: 2em 2em 2em;
    max-width: 1000px;
    margin: auto;
}


/*
 * The banner used for the start page.
 * See share/gnupgdotcom.el for details.
 */
.banner-container {
    background: #b0dbf1;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 60%;
    top: -10%;
    left: 0;
    position: fixed !important;
}


/* This is a the subheading in the banner.  */
.banner-subhead {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.banner-logo{
    width: 150%;
    transform: translate(-20%, 0%);
}

.banner-button {
    background: #0093dd;
    color: #ffffff;
    border-radius: 4px;
    margin: 5px;
}

.banner-image {
  background-image: url("background.svg");
  background-color: #b1dbf1;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}


/* This is the heading in the banner.  h1 is only used in the banner.  */
h1 {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    border: 3px solid white;
    padding: 1em 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
    text-transform: uppercase;
}


/* The main content headlines (<h2>). */
h2 {
    color: #000000;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0em 1em;
}

/* This is the class used for the content sub-headers (<h3>) */
h3 {
    color: #5c6064;
}

/* Other headlines.  */
h4,
h5,
h6,
label {
    color: #000000;
}


/* The kicker line we use sometimes.  */
.kicker {
    padding-top: 1em;
    font-size: 150%;
    border-bottom: 3px #ffb580 solid;
    margin-bottom: 1em;
    margin-left: 25%;
    margin-right: 25%;
    text-align: center;
}


/* Experiment to make the TOC a bit smaller:
#table-of-contents {
    font-size: 80%;
    line-height: 1.2em;
}

#table-of-contents h2 {
    text-transform: none !important;
}
*/

/*
 * Menu style.
 * Background is darkpurple.
 */
.menu {
    background: #0093dd;
    color: #ffffff;
    padding: 0.5em;
    text-align: left;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}

.pure-menu-children {
    background: #0093dd
}

.menu ul {
    float: right;
}

.menu .pure-menu-selected a {
    color: #ffffff !important;
    text-decoration: underline;
    font-weight: normal !important;
}

.menu a {
    color: #ffffff;
}

.menu li a:hover,
.menu li a:focus {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: bold;
}

/* Change to a one-line menu.  */
.pure-menu-horizontal {
    white-space: normal;
}


/* The blog navigation sub menu.  */
.blognav {
    margin-top: 2em;
    display: inline-table;
    list-style: none;
    color: #757575;
    position: relative;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.15);
    border-radius: 6px;
    background-color: #efefef;
}


.permalink {
    margin-top: 4em;
}


.logo-minimal {
  float: left;
  width: 15px;
}


/* The language swicther in the top menu.  */
.langswitch {
    font-size: 85%;
}


/* Author and date line of blog entries.  */
.postdate {
    font-weight: normal;
    font-style: italic;
}


/* This is the class used for the footer.  */
.footer {
    border-top: 1px solid #5c6064;
    margin-top: 5em;
    margin-left: 5%;
    margin-right: 5%;
    font-size: 0.8em;
}

/* Note that the .footerbox takes care of the padding. */
#cpyright {
    padding-top: 0em;
}

/* A box used for small graphics at the page bottom.
   The images are right aligned, a single P is used
   to clear the alignment.  */
.footerbox {
  margin-top: 12px;
  margin-bottom: 5px;
}

.footerbox img {
    float: right;
}

.footerbox p {
    margin-top: 0px;
    margin-bottom: 0px;
    clear: both;
}


/* Used by the list of people.  */
.people {
    float: left;
    margin-right: 1em;
    min-width: 80px;
    min-height: 107px;
}

.people p {
    margin-top: 5px;
    margin-bottom: 0px;
}

/* Used for button images.  */
.icon_64 {
    float: left;
    margin-right: 1em;
    min-width: 64px;
    min-height: 64px;
}

.icon_64 p {
    margin-top: 5px;
    margin-bottom: 0px;
}

/*
 * Other helpful classes.
 */
.underline,
.underlined {
    text-decoration: underline;
}

.centered {
    text-align: center;
}

.example {
    overflow: auto;
}

pre {
    border: thin black solid;
    background-color: #efefef;
    padding: 0.5em;
    overflow: auto;
}


li.important,
span.important {
  color: red;
}


.l-box {
    padding: 1em;
}

strong.gpg_product {
    font-weight: bolder; /* bold; */
    color: #0071a3;  /* much darker than the regular blue #0093dd; */
}

/* image related */

img {
    border-width: 0;
}

img.lfloat {
    float: left;
    margin-right: 1em;
}

img.rfloat {
    float: right;
    margin-left: 1em;
}


/* The figure class is used by the blog entries.  .figure-number is
   used to suppress the figure number inserted by org-mode. */
.figure {
    border: 1px solid #808080;
    margin: 0 1em 0.5em 0.5em;
    padding: 0.5em;
    text-align: center;
}

/* Use an outer div with this class to move an org figure to the left.
   Note that org uses a fixed class for a figure and we use this hack
   to override it. */
div.figure-left {
    float: left;
}

div.figure {
    float: right;
    margin-right:0 !important;
}

.figure p {
    margin: 0;
    padding: 0.5em 0 0.2em 0;
}

.figure-number {
  display: none !important;
}


/*
 * Table related rules as used by org-mode.
 */

table {
  margin-left: 0%;
}

.left {
    margin-left: 0px;
    margin-right: 0px;
    padding-right: 1em;
    text-align: left;
}

.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.right {
    margin-left: auto;
    padding-right: 1em;
    text-align: right;
}

th.left {
    margin-left: auto;
    padding-right: 1em;
    text-align:center;
}

th.center {
    margin-left: auto;
    text-align:center;
}

th.right {
    margin-left: auto;
    text-align:center;
    padding-right: 1em;
}

th.wideright {
    margin-left: auto;
    text-align:center;
    padding-left: 25px;
}

td.left   {
    text-align:left;
    margin-left: auto;
    padding-right: 1em;
}

td.center {
    text-align:center;
}

td.right  {
    text-align:right;
    padding-right: 1em;
}

td.wideright  {
    text-align: right;
    padding-left: 25px;
    padding-right: 1em;
}


/* Footnotes for org-mode.  */

h2.footnotes {
    font-size: 125%;
    border-top: 1px solid #5c6064;
    padding-top: 5px;
    margin-bottom: 10px;
    margin-right: 66%;
}

#footnotes {
    font-size: 100%;
}

.footnum {
    font-size: 1em;
}

.footpar {
    display: inline-block;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}


/*
 * Customization for mobile etc.
 */
@media (min-width: 48em) {

    /* Increase the body font size */
    body {
        font-size: 16px;
    }

    .banner-logo {
        width: 100%;
        transform: translate(0%, 0%);
    }

    .content-container {
        top: 59%;
    }

    .banner-container {
        height: 70%;
    }
}

@media (min-width: 30em) {
    .logo-minimal {
        width: 150px;
    }
}

/*
 * Customization for desktops which have more space than mobiles and tablets.
 */
@media (min-width: 78em) {

    /* Increase the banner font size even more. */
    .banner-head {
        font-size: 300%;
    }
}
