﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

main {
    margin-top:2rem;
    margin-bottom:3rem;
    margin-left:55px;
    margin-right:3.5rem;

/*    max-width: 42rem;*/
    max-width:440px;
}

section {
    padding: 0 1rem 2rem;
}

@media (prefers-color-scheme: dark) {
    /* defaults to dark theme */
    .border-top {
        border-top: 1px solid #4a4a4a;
    }

    .border-bottom {
        border-bottom: 1px solid #4a4a4a;
    }
}

@media screen and (min-width: 480px) {
    main {
        margin-left:auto;
        margin-right:auto;
        padding:2rem;
        max-width: 1200px;
        align-content:center;
        /*        max-width: 42rem;*/
    }
    section {
        padding: 0 2rem 2rem;
    }
}

pre {
    border:1px solid #444;
}

header {
    text-align: center;
}

.title {
    line-height: 1.15;
    font-size: 1.4rem;
    margin: 0;
}

.post-title {
    line-height: 1.15;
    font-size: 2.0rem;
    font-weight: 400;
    color: var(--link-color);
}

.title-link {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--link-color);
    text-align: center;
}
.subtitle {
    margin: 0;
    font-size: 1.125rem;
    color: #444;
}

.buttons {
    margin-top: 1rem;
}

.hero-block {
    width:100%;
    text-align:center;
}
.hero-image {
    max-height:150px;
    border-radius:0.5em;
    margin-left:auto;
    margin-right:auto;
}

.cards {
    margin-top:10px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content:center;
    justify-content:space-evenly;
}

.card {
    padding: 12px;
    margin: 8px;
    min-width: 360px;
    max-width: 360px;
    min-height: 500px;
    max-height: 500px;
    background: var(--bkg-color-accent);
    /*background: rgb(204 204 204 / 0.13);*/
    /*    box-shadow: 0px 0px 4px 0px rgb(204 204 204 / 0.13);*/
}

@media screen and (max-width: 480px) {
    .video-frame {
        width: 320px;
        height: 180px;
    }

    .card {
        background: var(--bkg-color);
    }
}

.card-seperator {
    border: 1px solid gray;
    margin-top: 30px;
    background-color: gray;
}

.preview-block {
    max-height: 140px;
    min-height: 140px;
    text-overflow:ellipsis;
    overflow: hidden;
    text-align:justify;
}

.fancy-loader {
    width: 6rem;
    height: 6rem;
    background: #fafafa;
    display: block;
}


a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html, body {
  font-size: 14px;
}
@media (min-width: 768px) {
  html, body {
    font-size: 16px;
  }
}

.content h1,h2,h3,h4,h5{
    margin-top:32px;
}


code {
    color: var(--code-color);
}

pre {
    position: relative;
}


pre code {
    padding:8px;
}

.code-language {
}

.code-div-header {
    height: 36px;
    border-bottom: 1px solid #444;
    background: #5b0967;
    color:#fff;
    padding: 4px 10px;
}

@@media screen and (max-width: 480px) {
    .spacer {
        margin-top: 30px;
    }
}


button.copy {
    color: #fff;
    box-sizing: border-box;
    transition: 0.2s ease-out;
    cursor: pointer;
    user-select: none;
    background: transparent;
    border: 1px solid #444;
    padding: 8px 10px;
    font-size: 1em;
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius: 0 0.15rem;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

    button.copy:hover {
        background: rgba(60, 60, 60, 1);
    }

    button.copy:after {
        box-shadow: 0px 2px 24px 5px #4cff00;
        content: "Copy";
        color: #adb5bd;
        box-sizing: border-box;
        background: rgba(20, 20, 20, 1);
        padding: 8px 10px;
        position: absolute;
        display: inline;
        border-radius: 0 0.15rem;
        top: 0px;
        right: 0px;
        opacity: 0;
        transition: all 0.8s
    }

    button.copy:active:after {
        margin: 0;
        opacity: 1;
        transition: 0s
    }

img[src$='#screenshot'] {
    max-width: 80%;
    height: auto;
}



blockquote {
    background-color: #002b4d;
    border-radius: 0.4em;
    padding: 10px;
    color: #fff;
    margin:0.5rem;
}

#disqus_thread iframe[src*='//tempest.services.disqus.com']:first-of-type {
    display:none;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

#disqus_thread {
    margin-top: 90px;
    background-color: #fff;
    padding: 10px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.footer .container {
    padding-left:15px;
}
