body {
    font-family: 'Roboto', sans-serif;
    padding-top: 90px;
}

h1, h2, h3, h4, h5, h6, 
.h1, .h2, .h3, .h4, .h5, .h6,
.navbar {
    font-family: 'Oswald', sans-serif;
}

.navbar {
    text-transform:uppercase;
}

body {
    color:#404248;
    line-height: 1.5rem;
}

a, a:hover {
    color: #0366d6;
}

.h1, h1 {
    font-size: 2rem;
    margin-bottom:1rem;
}

h3, .h3 {
    font-size: 1.5em;
}

.h4, h4 {
    font-size: 1.25rem;
}

.bg-black {
    background-color:#343a40;
}

#wrapper-footer {
    color:white;
}
#wrapper-footer a {
    color:white;
}

.navbar-dark #navbarNavDropdown .nav-link {
    color: #fff;
}


.page-item.active .page-link {
    border: 1px solid #404248;
    background-color:#404248;
}

.page-link {
    color:#404248;
    transition: all .3s ease;
}

.page-link:hover {
    color:#404248;
    background-color:#e9ecef;
}

.pagination {
    justify-content: center;
}

nav .searchform {
    width: 260px;
    margin-left: auto;
    max-width: 100%;
}

nav .searchform input.searchInput {
    background: transparent;
    border-radius: 0;
    border-width: 0 0 1px 0;
    padding: 0;
    border-color: #aaa;
}


nav .searchform input[type=submit] {
    color:white;
}

.mainLogo {
    width:100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.wrapper {
    padding:10px 0 30px;
    overflow:hidden;
}

#desktop_logo {
    display:none;
}
#featuredReleases h2 {
    text-align: center;
    text-transform: uppercase;
}

#featuredReleases .col-lg-12.grid-margin.stretch-card::after {
    width: 40%;
    border-bottom: 1px solid black;
    content: " ";
    margin: 50px auto;
    display: block;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    z-index:1050;
}

.dropdown-item.active, .dropdown-item:active  {
    background-color:#dc3545;
}

#wrapper-footer {
    padding: 10px 0;
}



@media (max-width:991.98px) {

    #brandContainer {
        position:relative;
    }

    #brandContainer .navbar-toggler {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(0, -50%);
    }
    #brandContainer .logoContainer {
        max-width:60%;
    }

    .fixed-top-caffeina {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    nav .searchform {
        margin:0 auto;
    }

    .searchContainer {
        order:1;
    }

    #navbarNavDropdownSocial {
        order:3;
    }

    .menuContainer {
        width:100% !important;
        order:2;
    }

    #navbarNavDropdownSocial > ul {
        flex-direction:row;
        justify-content:center;
    }

    #navbarNavDropdownSocial > ul > li {
        padding:0 20px;
    }

    /*.logoContainer {
        position: fixed;
        top: 0;
        width: 100%;
        text-align: center;
        height: 56px;
        display:block;
        z-index:101;
    }

    /*
    .navbar-collapse
     {
        position: fixed;
        top: 56px;
        left: 0;
        z-index: 100;
        width: 100vw;
        height: 100%;
        background: #212121;
        visibility: hidden;
        opacity: 0;
        -webkit-transition: visibility 0.5s, opacity 0.5s ease;
        transition: visibility 0.5s, opacity 0.5s ease;
    }
    .navbar-collapse.collapsing {
        z-index: 100;
        width: 100vw;
        height: 100%;
        background: #212121;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        visibility: visible;
        opacity: 1;
    }*/
}

@media (min-width: 992px) {
    header#wrapper-navbar {
        padding-bottom: 100px;
    }

    #desktop_logo {
        display:initial;
    }

    #mobile_logo {
        display:none;
    }
    
    .logoContainer {
        position: absolute;
        top: 56px;
        z-index: 1031;
        width: 100%;
        left: 0;
    }
    body {
        padding-top: 0;
    }

    /*#featuredReleases h2 {
        display:none;
    }//*/
}

@media (min-width: 1200px){
    .mainNav {
        box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.1);
    }
}

    

/* ARCHIVES */

.entry-title a {
    color:#404248;
    height:100%;
}
.img-wrap {
    box-shadow: 0 3px 6px -5px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.1);
}

h2.entry-title {
    font-size: 1.75rem;
}

/*.home article > div,
.archive article > div,
.search-results article > div {
    padding-bottom:2.5rem;
}*/

.card .entry-meta {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

h2.card-title.entry-title {
    font-size: 1.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card .excerpt {
    --lh: 1.4rem;
    line-height: var(--lh);
  }

.card .excerpt {
    --max-lines: 2;
    position: relative;
    height: calc(var(--lh) * var(--max-lines));
    overflow: hidden;
    padding-right: 1rem; /* space for ellipsis */
}


.card {
    font-size:0.9rem;
}

.card .tags-links {
    font-size:0.7rem;
}

.home article, .archive article, .search-results article {
    margin-bottom:2.5rem;
    /*border-bottom:1px solid #f0f0f0;*/
}

.home .site-main article:last-of-type,
.archive .site-main article:last-of-type,
.search-results .site-main article:last-of-type {
    margin-bottom: 0;
    border-bottom: 0;
}

p.excerpt {
    margin-bottom:0;
}



/* SINGLE POST */

.entry-meta {
    font-size:0.85rem;
    margin-bottom:1.5rem;
}

.album_meta {
    clear:both;
}

.album_meta a,
.artist_meta a {
    margin-right:20px;
    color:black;
    text-decoration:underline;
}

.album_meta a::before,
.artist_meta a::before{
    vertical-align:middle;
    margin-right:10px;
}

.album_meta a.metalarchives::before,
.artist_meta a.metalarchives::before {
    content:url(https://music.apocalypseculture.com/assets/theme/img/icons/metal-archives.png);
}
.album_meta a.youtube::before,
.artist_meta a.youtube::before {
    content:url(https://music.apocalypseculture.com/assets/theme/img/icons/youtube.png);
}

.album_meta a.bandcamp::before,
.artist_meta a.bandcamp::before {
    content:url(https://music.apocalypseculture.com/assets/theme/img/icons/bandcamp.png);
}

.album_meta a.spotify::before,
.artist_meta a.spotify::before {
    content:url(https://music.apocalypseculture.com/assets/theme/img/icons/spotify.png);
}

.album_meta a.facebook::before,
.artist_meta a.facebook::before {
    content:url(https://music.apocalypseculture.com/assets/theme/img/icons/facebook.png);
}

.album_meta a.website::before,
.artist_meta a.website::before {
    content:url(https://music.apocalypseculture.com/assets/theme/img/icons/website.png);
}

.byline .avatar.photo {
    border-radius: 50%;
}

.entry-meta a {
    color:#404248;
}

.featuredImage {
    float:left;
    margin:0 20px 14px 0;
    width: 41.66667%;
}

.featuredImage > img{
    width:100%;
}

.tags-links a,
.form-submit > #submit {
    display: inline-block;
    padding: 2px 10px;
    transition: all .3s ease;
    border-radius: 3px;
    margin-bottom: 10px;
    margin-right: 10px;
    border: 1px solid #404248;
    background-color:#404248;
    color: white;
}

.tags-links a:hover,
.form-submit > #submit:hover {
    background-color:white;
    color:#404248;
}

.form-submit  {
    text-align:right;
    text-transform:uppercase;
}
.form-submit > #submit{
    margin-right: 0;
    text-transform:uppercase;
    padding:10px 20px;
    font-size:0.85rem;
    font-weight: 600;
}


.single .entry-content{
    margin-bottom:3rem;
}

.entry-footer {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4rem;
}

.entry-footer .tags-links,
.entry-footer .post-artists{
    padding-bottom: 1.5rem;
}

.comment-form{
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.track-embed {
    margin-bottom:2rem;
}

.track-embed.track-youtube_embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.track-embed.track-youtube_embed > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width:991.98px) {
    .featuredImage{
        width:100%;
        margin-bottom:2rem;
    }
}


@media (max-width: 769px) {
    #comments .comment-form {
        grid-template-columns: repeat(3,1fr);
    }
    #comments .comment-form>:not(.comment-form-author):not(.comment-form-url):not(.comment-form-email) {
        grid-column: span 3;
    }
    .comment-form>p:not(.comment-form-notes), .comment-form>div:not(.comment-form-notes) {
        margin-bottom: 0;
    }
}


@media (min-width: 769px) {
    #comments .comment-form {
        grid-template-columns: repeat(3,1fr);
    }
    #comments .comment-form>:not(.comment-form-author):not(.comment-form-url):not(.comment-form-email) {
        grid-column: span 3;
    }
    .comment-form>p:not(.comment-form-notes), .comment-form>div:not(.comment-form-notes) {
        margin-bottom: 0;
    }
}

.comments-area {
    margin-bottom:2rem;
}

span.nav-direction {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.nav-links .nav-next {
    margin-left: auto;
    text-align: right;
}

.post-navigation {
    margin-bottom:1rem;
}

/* SIDEBAR */

.widget {
    margin-bottom:3rem;
}

.widget-title {
    font-size: 1.25rem;
}

.widget > ul {
    list-style:none;
    padding:0;
    
}

.widget > ul > li {
    margin-bottom:1rem;
}
.searchform{
    position:relative;
}
.searchform input[type=submit]{
    position:absolute;
    right:0;
    font-family: FontAwesome, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@media (min-width:769px) {
    
    #right-sidebar {
        border-left: 1px solid #f0f0f0;
        padding-left: 50px;
    }

    #primary {
        padding-right: 50px;
    }
}