/*
Welcome to Custom CSS!

CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.

By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
your theme's stylesheet content.
*/

.syntaxhighlighter {
    padding: 10px 5px;
}

.readmore.source {
    width: 100%;
    background-color: #1e4a66;
    color: #eee;
    padding: .7rem;
    font-size: .9em;
}

.source a:hover {
    color: #fff;
}

/*Social Links*/

.widget_links ul li {
    float: left;
    margin: 0 1px;
}

.widget_links ul img {
    height: 30px;
    max-width: 100%;
}

img[alt="Github"] {
    background-color: rgb(65, 131, 196);
}

img[alt="Twitter"] {
    background-color: rgb(0, 172, 237);
}

img[alt="Aboutme"] {
    background-color: rgb(0, 64, 93);
}

img[alt="Dribbble"] {
    background-color: rgb(234, 76, 137);
}

img[alt="Geeklist"] {
    background-color: rgb(140, 198, 62);
}

img[alt="Coderwall"] {
    background-color: rgb(62, 141, 204);
}

/*
img[alt="Gitlab"] {
    background-color: rgb(221, 153, 51);
}*/

/*** Serial Posts ***/

.serial-pre-text {
    font-size: 12px;
    display: block;
    color: #aaa;
}

/*** Bulma Book ***/

bd-book-banner {
    background-color: #00d1b2;
    position: relative
}

.bd-book-modal-column.bd-is-cover,
.bd-book-pattern {
    background-image: url(/images/hab/lightpaperfibers_@2X.png);
    background-repeat: repeat;
    background-size: 250px 150px
}

.bd-book-modal-column.bd-is-cover::before,
.bd-book-pattern::before {
    background-color: rgba(255, 237, 215, .1);
    content: "";
    display: block
}

.bd-book-header {
    position: relative
}

.bd-book-cover {
    padding-top: .75rem;
    position: relative;
    text-align: center
}

.bd-book-cover a {
    display: inline-block;
    vertical-align: top
}

.bd-book-cover img {
    display: block
}

.bd-book-content {
    box-shadow: 0 3rem 3rem -1rem rgba(10, 10, 10, .2);
    max-width: 520px;
    padding: 3rem
}

.bd-book-description {
    max-width: 340px
}

.bd-book-tags {
    margin-bottom: 1.5rem
}

.bd-book-tags .tags .tag {
    margin-right: 1px
}

.bd-book-buttons .button {
    height: auto;
    padding-bottom: calc(1em - 1px);
    padding-top: calc(.5em - 1px)
}

.bd-book-buttons .button>span {
    font-size: .875em
}

.bd-book-buttons .button>span>em {
    display: block;
    font-size: .5em;
    font-style: normal;
    line-height: 1em;
    margin-bottom: .5em;
    opacity: .5
}

.bd-book-buttons .button img {
    display: block;
    max-height: 24px
}

.bd-book-buttons .button.bd-is-bleeding {
    background-color: #abf47c;
    border-color: transparent
}

.bd-book-buttons .button.bd-is-bleeding:hover {
    background-color: #9cf264
}

.bd-book-buttons .button.bd-is-amazon {
    background-color: #ffd863;
    border-color: transparent
}

.bd-book-buttons .button.bd-is-amazon:hover {
    background-color: #ffd24a
}

.bd-book-buttons .button.bd-is-amazon img {
    margin-bottom: -11px
}

.bd-book-columns {
    background-color: #fff;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 1080px
}

.bd-book-modal-background {
    background-color: rgba(10, 10, 10, .86)
}

.bd-book-modal .bd-book-modal-background,
.bd-book-modal .modal-content {
    -webkit-animation-duration: 250ms;
    animation-duration: 250ms;
    animation-easing-function: ease-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.bd-book-modal .bd-book-modal-background {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn
}

.bd-book-modal .modal-content {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
    -webkit-transform-origin: center;
    transform-origin: center
}

.bd-book-modal-cover {
    padding: 2rem;
    position: relative
}

.bd-book-modal-columns {
    align-items: stretch;
    display: flex;
    justify-content: center
}

@media screen and (max-width:768px) {
    .bd-book-columns {
        flex-direction: column
    }
    .bd-book-buttons .button {
        width: 100%
    }
    .bd-book-buttons .button:not(:last-child) {
        margin-right: 0;
        margin-bottom: 1rem
    }
    .bd-book-modal .bd-book-content {
        padding: 2rem
    }
    .bd-book-modal-column.bd-is-cover {
        display: none
    }
}

@media screen and (min-width:769px),
print {
    .bd-book-columns {
        justify-content: space-around
    }
    .bd-book-header .tag {
        position: absolute;
        right: calc(100% + 1.25rem);
        top: .5rem
    }
    .bd-book-buttons .button {
        width: calc(50% - .5rem)
    }
    .bd-book-modal .modal-content {
        width: 960px
    }
    .bd-book-inline-cover {
        display: none
    }
    .bd-book-modal-column {
        background-color: #fff;
        position: relative
    }
    .bd-book-modal-column.bd-is-cover {
        align-items: center;
        display: flex;
        justify-content: center;
        padding: 2rem
    }
    .bd-book-modal-column.bd-is-content .bd-book-content {
        box-shadow: none
    }
}