﻿/* from old scss, originated from Piranha blog but needed from navbar style */
/* (todo: remove all that aren't necessary) */
a, a:hover, code {
    color: #212529
}

code, pre {
    border-radius: .2rem;
    background: #f2f2f2
}

body {
    color: #333;
    font-size: 1.1rem;
    font-weight: 300
}

blockquote, h1, h2, h3, h4, h5, h6 {
    color: #212529;
    font-family: 'Didact Gothic',sans-serif
}

code {
    padding: .1rem .2rem
}

pre {
    padding: 1rem;
    font-size: .8rem
}

blockquote {
    position: relative;
    padding: 2rem 80px 1rem;
    margin: 2rem 0;
    border-top: solid 1px #e2e2e2;
    border-bottom: solid 1px #e2e2e2;
    font-size: 1.2rem;
    font-weight: 400
}

    blockquote:before {
        content: "\201C";
        position: absolute;
        left: 0;
        top: 0;
        font-size: 8rem;
        color: #e2e2e2;
        font-family: Georgia,"Times New Roman",Times,serif;
        font-style: initial
    }

header[role=banner] .navbar a {
    color: #333
}

article header h1, article header h2 {
    margin: 1.5rem 0 1rem
}

    article header h1 a, article header h2 a {
        color: #212529
    }

        article header h1 a:hover, article header h2 a:hover {
            color: #000;
            text-decoration: none
        }

article .post-meta {
    color: #999;
    font-size: .85rem
}

    article .post-meta a {
        color: #999
    }

    article .post-meta strong {
        color: #212529;
        font-weight: 400
    }

.blog-filter-header h1 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: -.5rem
}

    .blog-filter-header h1::after {
        content: " ";
        display: block;
        width: 3rem;
        height: 0;
        border-bottom: solid 1px #e2e2e2;
        margin-top: .5rem
    }

img {
    max-width: 100%
}

.container {
    max-width: 960px
}

.sep {
    color: #212529;
    padding: 0 5px
}

header[role=banner] {
    border-bottom: solid 1px #e2e2e2;
    margin-bottom: 2rem
}

    header[role=banner] .navbar {
        padding: .5rem 0;
        margin-left: -1rem
    }

        header[role=banner] .navbar.navbar-toggleable-sm {
            margin-left: 0
        }

        header[role=banner] .navbar .nav-item.active a, header[role=banner] .navbar-nav .nav-item.active {
            color: #000;
            font-weight: 400
        }

    header[role=banner] .buttons {
        padding: .75rem 0
    }

        header[role=banner] .buttons a {
            padding-left: .5rem;
            opacity: .75;
            transition: opacity ease-in-out .1s
        }

            header[role=banner] .buttons a img {
                height: 20px
            }

            header[role=banner] .buttons a:hover {
                opacity: 1;
                transition: opacity ease-in-out .1s
            }

    header[role=banner] .title {
        background: #f2f2f2;
        border-top: solid 1px #e2e2e2
    }

        header[role=banner] .title h1 {
            font-size: 2rem;
            color: #333;
            margin: 20px 0 0
        }

            header[role=banner] .title h1 small {
                font-size: .8rem;
                text-transform: uppercase;
                padding-left: 1rem;
                color: #999
            }

        header[role=banner] .title img {
            background: #fff;
            height: 100px;
            padding: 10px;
            border: 1px solid #e2e2e2;
            float: right;
            margin: -.5rem 0 -1rem;
            border-radius: 50px
        }

footer {
    border-top: solid 1px #e2e2e2;
    text-align: right;
    margin-top: 4rem;
    font-size: .8rem
}

    footer a {
        font-weight: 400
    }

.btn-link {
    color: #333;
    border: 1px solid #212529;
    border-radius: 1.5rem;
    padding: .375rem 1.5rem;
    font-size: .85rem
}

    .btn-link:hover {
        background: #212529;
        color: #fff;
        border: 1px solid #212529;
        text-decoration: none
    }

.archive article {
    padding: 2rem 0 1rem;
    border-bottom: solid 1px #e2e2e2
}

    .archive article:first-child {
        padding-top: 0
    }

    .archive article:last-child {
        border-bottom: 0 none
    }

article img {
    margin-bottom: 1rem
}

article header img {
    border-radius: .5rem;
    margin: 0
}

article .ingress {
    padding: .5rem 0
}

.pagination {
    margin: 2rem 0 0
}

    .pagination .page-item {
        margin: 0 .4rem
    }

        .pagination .page-item .page-link {
            background: #ccc;
            border-color: #ccc;
            color: #fff;
            width: 2.5rem;
            height: 2.5rem;
            text-align: center;
            border-radius: 1.25rem;
            transition: background ease-in-out .2s
        }

            .pagination .page-item .page-link:hover {
                background: #aaa;
                transition: background ease-in-out .2s
            }

        .pagination .page-item.active .page-link {
            background: #212529;
            border-color: #212529
        }

/* *********************************************************************************/
#preloader-global {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

    #preloader-global:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #191818;
        border-top-color: #fff;
        border-bottom-color: #fff;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        -webkit-animation: animate-preloader 1s linear infinite;
        animation: animate-preloader 1s linear infinite;
    }

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.navbar-brand  img {
    height: 50px;
    float: left;
}

body {
    font-family: 'Didact Gothic', sans-serif;
}

.socialButtons {
    opacity: 0.5;
}

/* underline mouseover in navbar */
nav.stroke ul li a {
    position: relative;
}
    nav.stroke ul li a:after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 0%;
        content: '.';
        color: transparent;
        background: #aaa;
        height: 1px;
    }
    nav.stroke ul li a:hover:after {
        width: 100%;
    }

nav ul li a,
nav ul li a:after,
nav ul li a:before {
    transition: all .5s;
}

/* underline mouseover on links */
article a {
    position: relative;
    white-space: nowrap;
    color: #ff8a11;
}
    article a:after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 0%;
        content: '.';
        color: transparent;
        background: #aaa;
        height: 1px;
    }
    article a:hover:after {
        width: 100%;
    }
    article a:link,
    article a:visited,
    article a:hover,
    article a:active {
        text-decoration: none;
    }
    article a,
    article a:after,
    article a:before {
        transition: all .5s;
    }

/* hoverlink */
.hoverlink {
    position: relative;
    white-space: nowrap;
    color: cadetblue;
}

    .hoverlink:after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 0%;
        content: '.';
        color: transparent;
        background: #aaa;
        height: 1px;
    }

    .hoverlink:hover:after {
        width: 100%;
    }

    .hoverlink:link,
    .hoverlink:visited,
    .hoverlink:hover,
    .hoverlink:active {
        text-decoration: none;
    }

    .hoverlink,
    .hoverlink:after,
    .hoverlink:before {
        transition: all .5s;
    }

#comments {
    margin-top: 4em;
}

.selectedNavbarItem:before {
    content: '\00BB';
    margin-right: 2px;
}

.opacity-0 {
    opacity: 0 !important;
}
.opacity-1 {
    opacity: 0.2 !important;
}
.opacity-2 {
    opacity: 0.4 !important;
}
.opacity-3 {
    opacity: 0.6 !important;
}
.opacity-4 {
    opacity: .8 !important;
}
.opacity-5 {
    opacity: 1 !important;
}

/* nav-pills color override */
.nav-pills > li > a.active,
.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
    background-color: #454d55!important;
}

