.meta-data {
    margin-bottom: 1em;
}

@media screen and (min-width: 58em) {
    .ptx-navbar {
        padding-top: 3px;
    }
}

blockquote {
    font-size: inherit !important;
    color: #666666;
    padding: 0 0 0 1em;
    margin: 1em 0 1em 0;
}

#pinguin img {
    width: 200px;
}

/* Blog -------------------------------------------------------------------- */
.blog-posts hr:last-child {
    display: none;
}

section.article h2 {
	margin-top: -2px;
}

#rst-content section.article img {
    margin-bottom: 2em;
}

@media screen and (max-width: 767px) {
    .blog-posts img {
        margin-bottom: 20px !important;
    }
}

/* Photoswipe -------------------------------------------------------------- */
.ps-gallery.multi-image {
  width: 100%;
  float: left;
  margin-bottom: 1em;
}

.ps-gallery.multi-image img {
  height: 150px;
}

.ps-gallery.multi-image figure {
  display: block;
  float: left;
  margin: 0 5px 5px 0;
}

.ps-gallery.multi-image figcaption {
  display: none;
}

.ps-gallery.single-image img {
    margin-top: 0.67em;
}

.ps-gallery figcaption {
    text-align: justify;
    font-size: 80%;
    font-style: italic;
}

@media screen and (min-width: 480px) {
    .ps-gallery.left {
        margin-right: 3em !important;
        margin-bottom: 2em !important;
    }

    .ps-gallery.right {
        margin-left: 3em !important;
        margin-bottom: 2em !important;
    }

    .ps-gallery.center figcaption {
        text-align: center;
        margin-bottom: 2em !important;
    }

    .ps-gallery.right figcaption {
        text-align: right;
    }

    .ps-gallery figcaption p {
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    .ps-gallery {
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 2em !important;
    }

    .ps-gallery figcaption {
        text-align: left;
        width: auto !important;
    }
}

.pswp {
    z-index: 3000 !important;
}

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

/* Alerts ------------------------------------------------------------------ */
.alert p {
    margin: 0;
    padding: 0;
}

/* Code Block -------------------------------------------------------------- */
#content .code-block {
    margin-bottom: 1em;
}

#content .code-block .license {
    text-align: right;
    font-size: 75%;
}

.highlight .go {
    color: #555555;
}

.highlight pre {
    width: 100%;
}

/* Misc -------------------------------------------------------------------- */
#content ul,
#content ol {
    list-style-position: outside;
}

#content ul p,
#content ol p {
    display: block;
}

#content .ptx-sidebar img {
    width: 100% !important;
}

#content .copyright {
    font-size: 75%;
    text-align: right;
    margin-top: 5em;
}

#content .blog-navigation {
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

#content img {
    max-width: 100%;
}

#content div.system-messages {
    display: none;
}

table.ptx-table, table.docutils { color: #777777 }

/* Search ------------------------------------------------------------------ */
#search-top {
    margin-right: 1.5em;
}

#search-top input {
    padding-left: 0.2em;
    line-height: 1em;
    border: 1px solid #0078B8;
    color: #808080;
    margin-top: 2px;
}

#search-top i {
    cursor: pointer;
    margin-left: 0.5em;
}

#search-top i.fa-times,
#search-mobile i.fa-times {
    margin-left: -1.2em;
    margin-right: 0.5em;
    display: none;
}

@media (min-width: 768px) {
    #search-mobile {
        display: none;
    }
}

#search-mobile {
    float: left;
    color: white;
}

#search-mobile input {
    padding-left: 0.2em;
    background: transparent;
    border: 1px solid white;
    line-height: 1em;
}

#search-mobile input::placeholder {
    color: white;
    opacity: 0.5;
}

#search-mobile i {
    cursor: pointer;
    margin-left: 0.5em;
}

mark {
    background-color: #FFF249;
}

/* asciinema --------------------------------------------------------------- */
asciinema-player pre.asciinema-terminal {
    width: 75em !important;
}

/* Messe Tiles ------------------------------------------------------------- */
@keyframes tile_expand {
    0% {
        height: 30%;
        margin-top: -30%;
    }

    100% {
        height: calc(100% - 30px);
        margin-top: calc((-100%) + 31px);
    }

}

@media screen and (min-width: 768px) {
    div.tile,
    div.blue-tile {
        height: 20em;
        margin-bottom: 30px;
    }

    div.blue-header {
        height: 7.5em;
    }

    div.tile img {
        max-height: 20em;
    }

    div.tile div.summary {
        position: absolute;
        bottom: 30px;

        height: 30%;
        margin-top: -30;

        margin-right: 16px;
        padding: 0 5px;
        background-color: rgba(100, 100, 100, 0.75);
        color: white;
        overflow-y: hidden;
    }

    div.tile:hover div.summary {
        animation-name: tile_expand;
        animation-duration: 0.5s;

        height: calc(100% - 30px);
        margin-top: calc((-100%) + 31px);
    }

    div.blue-tile {
        background-color: rgb(0, 120, 184);
        box-shadow: inset 0 0 15px rgba(100, 100, 100, 50%);
        padding: 15px;
        color: white;
    }

    .vertical-center {
        margin: 0;
        padding: 0;
        position: absolute;
        left: 50%;
        top: 40%;
        transform: translateX(-50%) translateY(-40%);
    }

    .vertical-center h1 {
        padding: 0;
        margin: 0;
    }
}

@media screen and (max-width: 767px) {
    div.tile,
    div.blue-tile {
        margin-bottom: 15px;
    }

    div.tile img {
        width: 100%;
    }

    div.tile div.summary {
        padding: 0 5px;

    }

    div.blue-tile {
        padding-bottom: 3em !important;
    }
}

div.tile {
   border: 1px solid #ccc;
   cursor: pointer;
}

div.tile a,
div.blue-tile a {
    color: white;
    text-decoration: none;
}

div.tile div.summary {
    background-color: rgba(100, 100, 100, 0.75);
    color: white;
    overflow-y: hidden;
}

div.blue-tile {
    background-color: rgb(0, 120, 184);
    box-shadow: inset 0 0 15px rgba(100, 100, 100, 50%);
    padding: 15px;
    color: white;
    text-align: center;
}

div.blue-tile h1,
div.blue-tile h2,
div.blue-tile h3,
div.blue-tile h4 {
    color: white !important;
}

#banner a{
    text-decoration: none !important;
}

#banner a:hover {
    color:#4ca0cd;
}

div.messe-banner {
    /*border: 1px solid #78B800; background-color: #E9F6E3;*/
    border: 1px solid #0078B8; background-color: #E3E9F6;
}
div.messe-banner:hover {
    border: 1px solid #4ca0cd; background-color: #E3E9F6;
}

div.messe-banner:hover h1 {
    color:#4ca0cd;
}

div.messe-banner:hover p {
    color:#4ca0cd;
}

div.messe-banner h1 {
    margin-top:0px;
    font-family:RobotoSlab;
    color:#0078B8;
}

/* Videos ------------------------------------------------------------------ */
div.embed-responsive {
    margin: 2em 0;
}

/* Admonitions ------------------------------------------------------------------ */

div.admonition {
  padding: 10px;
  margin: 10px 0px;
}

div.admonition p.admonition-title {
  color: white;
  font-weight: bold;
  margin: -10px -10px 10px -10px;
  padding-left: 10px;
}

div.admonition p.last {
  margin-bottom: 0px;
}

div.tip {
  background-color: #d6e9b2;
}

div.tip p.admonition-title {
  background-color: #a0cd4c;
}

div.note {
  background-color: #b2d6e9;
}

div.note p.admonition-title {
  background-color: #4ca0cd;
}

div.important{
  background-color: #e9b2ba;
}

div.important p.admonition-title {
  background-color: #cd4c60;
}

div.warning{
  background-color: #e9c5b2;
}

div.warning p.admonition-title {
  background-color: #cd794c;
}
