/*
Theme Name: Hive Child
Theme URI: https://demos.pixelgrade.com/hive/
Author: Pixelgrade
Author URI: https://pixelgrade.com/
Description: An effortless tool for publishers of all kind, cherished for its clean masonry-style layout, modern typography and flexibility. Whether you’re looking to share your own thoughts, write about your latest findings or just have a scrapbook of photos, videos, quotes or other stuff, HIVE is designed to fulfill these and a lot more.
Version: 1.6.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hive_child_txtd
Template: hive
Domain Path: /languages/
Tags: blog, bright, clean, custom-menu, editor-style, elegant, fashion, featured-images, fixed-menu, geometric, glamorous, industrial, infinite-scroll, journal, lifestream, light, light, magazine, microformats, minimal, modern, multiple-menus, news, one-column, post-formats, responsive-layout, right-sidebar, rtl-language-support, scrapbooking, site-logo, sophisticated, sticky-post, theme-options, threaded-comments, three-columns, translation-ready, two-columns, video, white, yellow
Requires at least: 4.7
Tested up to: 4.9.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Hive is based on Underscores http://underscores.me/, (C) 2012-2018 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

h1, h2, h3 {
    font-family: 'Nimbus Roman' !important;
}

h1, h1.site-title a, h2, h3, h4, h5, h6 {
    color: #282520 !important;
}

body, p {
    color: #282520 !important;
}

body {
    border: 0;
}

#page {
    padding-right: 0;
}

.archive__grid .entry-title {
    line-height: 1.0;
    font-weight: normal;
}

.main-navigation ul > li a {
    font-family: 'Nimbus Roman' !important;
    text-transform: uppercase;
    font-weight: normal;
}

.nav--main a {
    padding-top: 20px;
    padding-bottom: 20px;
}

.entry-title {
    line-height: 1.0;
}

.posted-by {
    text-transform: uppercase;
}

.posted-on {
    font-weight: normal;
}

.single .entry-meta > *:not(:first-child):before, .page .entry-meta > *:not(:first-child):before {
    content: "•";
    margin-left: 0.1em;
}

.entry-meta {
    text-transform: uppercase;
}

.entry-meta__primary > a {
    text-transform: uppercase;
}

.entry-meta__secondary > a {
    text-transform: uppercase;
    font-weight: normal;
}

.entry-meta__secondary:before {
    content: "•";
    margin-right: 0.2em;
}

.site-footer {
    color: white !important;
    margin-right: 0 !important;
    padding-left: 72px;
    padding-right: 72px;
    background-color: #282520;
}

.site-footer a {
    color: rgba(255,255,255, 0.8);
}

body:after {
    width: 0;
}

.single-post .entry-content > p, 
.single-post .entry-content > blockquote, 
.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6,
.single-post .entry-content div,
.single-post .author-bio {
    max-width: 576px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 899px) {
    .single-post .entry-content > p, 
    .single-post .entry-content > blockquote, 
    .single-post .entry-content ul,
    .single-post .entry-content ol,
    .single-post .entry-content h1,
    .single-post .entry-content h2,
    .single-post .entry-content h3,
    .single-post .entry-content h4,
    .single-post .entry-content h5,
    .single-post .entry-content h6,
	.single-post .entry-content div,
    .single-post .author-bio {
        max-width: 648px;
        margin-left: auto;
        margin-right: auto;
    }
}

.entry-content ul, .entry-content ol {
    padding-left: 2em;
}


.author-bio {
    max-width: 648px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    font-style: italic;
    font-size: 0.9em;
}

.page-title {
    text-transform: uppercase;
}

/*----- Fixing the grid -----*/

.custom-flexbox .entry-title {
    font-family: Playfair Display;
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0em;
    text-transform: none;
}

.custom-flexbox {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.custom-flexbox h1 {
    margin-top: 0.4444em;
}



.custom-flexbox .entry-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: baseline;
    align-items: baseline;
    margin-top: 0;
}

.custom-flexbox > article {
    flex: 1 0 40%;
    max-width: 450px;
    margin-top: 24px;
    margin-bottom: 24px;
    margin-left: 12px;
    margin-right: 12px;
}



.custom-flexbox > article .entry-thumbnail {
    position: relative;
}

.custom-flexbox > article .entry-thumbnail .overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-color: transparent;
    transition: 350ms;
}



.custom-flexbox > article:not(.featured-post) .entry-thumbnail .overlay:hover {
    background-color: rgba(0,0,0,0.3);
    cursor: pointer;
}



/*.custom-flexbox > article:nth-of-type(odd) {
    margin-right: 24px;
}*/

.custom-flexbox .entry-thumbnail {
    height: 0;
    padding-bottom: 66.6667%;
    
    position: relative;
    overflow: hidden;
}

.custom-flexbox .entry-thumbnail img {
    width: 100%;
}

@media only screen and (min-width: 639px) and (max-width: 899px) {
    .custom-flexbox .entry-title {
        font-size: 1.75em;
    }

    .custom-flexbox .entry-thumbnail {
        /*width: 300px;*/
        width: 100%;
    }

    .custom-flexbox > article {
        flex: 1 0 40%;
        min-width: 240px;
        max-width: 100%;
        margin: 0;
        margin-top: 18px;
        margin-bottom: 18px;
        margin-left: 9px;
        margin-right: 9px;
    }

    .custom-flexbox > article.featured-post .entry-title {
        font-size: 2.5em;
    }

    .custom-flexbox > article .entry-header.bottom {
        display: none;
    }

    .custom-flexbox > article.featured-post .entry-header.bottom {
        display: block;
    }
}

@media only screen and (max-width: 639px) {
    .custom-flexbox .entry-title {
        font-size: 1.2em;
    }

    .custom-flexbox > article {
        flex: none;
        max-width: 100%;
        margin: 0;
        margin-top: 18px;
        margin-bottom: 18px;
    }

    /*.custom-flexbox > article:nth-of-type(odd) {
        margin-right: 0px;
    }*/

}

/*@media only screen and (min-width: 1359px) {
    .custom-flexbox > article {
        flex: 1 0 28%;
    }

    .custom-flexbox > article:nth-of-type(even) {
        margin-right: 0;
    }

    .custom-flexbox > article:nth-of-type(3n) {
        margin-right: 18px;
    }

    .custom-flexbox > article:nth-of-type(3n+1) {
        margin-right: 18px;
    }

    .home .site-content .container, .blog .site-content .container, .archive .site-content .container {
        max-width: 1800px;
    }

}*/

/*----- Featured Post -----*/

.custom-flexbox > article.featured-post {
    margin-top: 0;
    flex: 1 0 80%;
    width: 100%;
    max-width: 924px;
    margin-bottom: 36px;
}

.custom-flexbox > article .entry-header.top {
    display: none;
}

.custom-flexbox > article .entry-header.bottom {
    display: block;
}

@media only screen and (min-width: 899px) {
    .custom-flexbox > article.featured-post .entry-title {
        font-size: 50px;
        margin-bottom: 0.6em;
    }

    .custom-flexbox > article.featured-post .entry-content p {
        font-size: 1.25em;
    }

    .custom-flexbox > article .entry-header.bottom {
        display: block;
    }

    .custom-flexbox > article .entry-header.top {
        display: none;
    }

    .custom-flexbox > article.featured-post .entry-header.bottom {
        display: none;
    }

    .custom-flexbox > article.featured-post .entry-header.top {
        display: block;
    }

    .featured-post {
        flex: 1 0 100%;
        max-width: 100%;
        /*display: flex;
        flex-wrap: wrap;*/
    }

    /*.featured-post .entry-thumbnail {
        width: 450px;
        padding-bottom: 300px;
        margin-right: 24px;
        flex: 1 0 40%;

    }

    .featured-post .entry-header {
        width: 100%;
        flex: none;
    }

    .featured-post .entry-content {
        flex: 1 0 40%;   
    }*/
}

/*----- Drop Caps -----*/

.single-post .entry-content > p:first-of-type:first-letter {
  
    font-family: 'Nimbus Roman', serif;
    font-weight: 700;
    font-size: 5.75em;
    /*margin: 0em 0.1em 0.05em 0;*/
    padding: 0;
    float: left;
    line-height: 0.75;
}

/*----- Single Post -----*/

.single-post .entry-content h4 {
    font-family: 'Nimbus Roman', serif;
    font-size: 1.25em;
    margin-top: 1.5em;
    margin-bottom: 0.25em;
    line-height: 1;
}

/*@media only screen and (min-width: 639px) and (max-width: 899px) {
    .single-post .entry-content h4 {
        font-family: 'Nimbus Roman', serif;
        font-size: 1.5em;
        margin-top: 1.5em;
        margin-bottom: 0.25em;
        line-height: 1;
    }
}*/

@media only screen and (max-width: 639px) {
    .single-post .entry-content h4 {
        font-family: 'Nimbus Roman', serif;
        font-size: 1.25em;
        margin-top: 1.25em;
        margin-bottom: 0.25em;
        line-height: 1;
    }

}

/*---- Social Nav -----*/

/*ul.nav--main li a[href*='twitter'],
ul.nav--main li a[href*='feed'] {
  
    display: block;
    font-size: 1px;
    letter-spacing: -1px;
    max-width: 100%;
    height: 100%;
}

ul.nav--main li a[href*='twitter']:after {
    content: "\f099";
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 1rem;
    color: black;
    background-color: blue;
}

ul.nav--main li a[href*='feed']:after {
    content: "\f09e";
    font-family: FontAwesome;
    position: absolute;
    font-size: 1rem;
}

ul.nav--main li:nth-last-of-type(2) {

    height: 65px; 
}

ul.nav--main li:last-of-type {
    height: 65px;
}*/

@media only screen and (min-width: 899px) {
    ul.nav--main li:nth-last-of-type(2) {
        position: absolute;
        top: 0;
        right: 0;  
        height: 65px; 
    }

    ul.nav--main li:last-of-type {
        position: absolute;
        top: 0;
        right: 72px;
        height: 65px;
    }
}


ul.nav--main {
    /*display: flex;
    justify-content: center;*/
}

/*nav.main-navigation {
    
}

ul.social-menu {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    list-style: none;
    z-index: 21;
}

ul.social-menu li {
    padding: 20px;
}

ul.social-menu li a {
    padding: 0;
}

@media only screen and (max-width: 899px) {
    ul.social-menu {
        display: none;
    }
    
}*/


/*----- Mail Chimp -----*/

.mc4wp-form {
    margin-top: 30px;
    margin-bottom: 60px;
}

.mc4wp-form-fields {
    display: flex;
    justify-content: center;
}

.mc4wp-form-fields input[type="text"], .mc4wp-form-fields input[type="email"] {
    border-radius: 4px;
    border: none;
    margin-right: 1em;
    max-width: 12em;
    color: #282520;
}

.mc4wp-form-fields input[type="submit"] {
    border-radius: 4px;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    transition: border-color 350ms, color 350ms;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Nimbus Roman', serif;
    display: block;
    max-width: 12em;
    width: 100%;
}

.mc4wp-form-fields input[type="submit"]:hover {
    border-color: rgba(255,255,255,0.8);
    color: rgba(255,255,255,0.8);
}

@media only screen and (max-width: 899px) {
    .mc4wp-form-fields {
        display: block;
    }

    .mc4wp-form-fields input[type="text"], .mc4wp-form-fields input[type="email"] {
        max-width: 284px;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 0.5em;
    }

    .mc4wp-form-fields input[type="submit"] {
        max-width: 284px;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;
    }

    .site-footer {
        padding: 18px;
    }
}
