/*Theme merge file*/
/* reconciles wrench core CSS with Casper */
/* ---------------------------------------------------------- */
@font-face {
    font-family: Eveleth;
    src: url("../fonts/evelethclean.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}

/* BODY */
/* ---------------------------------------------------------- */

html,
body {
    overflow-x: unset;
}

li, p, body, body p {
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: initial;
}


/* HEADER */
/* ---------------------------------------------------------- */

.site-description {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 400;
}

.floating-header {
    /* sliding progress bar for blog posts */
    top: 70px;
    z-index: 200;
    height: 40px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.floating-header-logo {
    overflow: visible;
}

.floating-header-logo a {
    color: var(--wrench-teal);
    font-weight: normal;
}

.progress {
    margin: 0;
}

.floating-header-share-tw, .floating-header-share-fb {
    width: 60px;
    height: 40px;
}

.post-full-header {
    padding: 60px;
}

@media (max-width: 500px) {
    .post-full-header {
        padding: 60px;
    }
}

/*page backgrounds*/
.responsive-header-img {
    background: transparent;
}

body {
    background: url(../images/wrench-still-1600.jpg) center center/cover no-repeat fixed;
}

.site-wrapper {
    /*background: url(https://wrench.com/wrench-mechanic-white-layer.0995e62a8a769a4b2523.jpg) center center/cover no-repeat fixed;*/
    /*background: url(../images/wrench-still-1600.jpg) center center/cover no-repeat fixed;*/
    background: rgba(0, 0, 0, 0.2);
}

.site-main {
    background: transparent !important;
}

/* NAVIGATION */
/* ---------------------------------------------------------- */

.nav-menu-overlay {
    z-index: 200;
    left: 0;
}

.header {
    z-index: 201;
    top: 0;
    left: 0;
}

.header .navbar-nav > li {
    margin: 0;
}


/* CONTENT */
/* ---------------------------------------------------------- */

.primary-tag {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 0px 9px;
    color: #fff;
    transition: all 0.1s ease;
}

.primary-tag:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #fff
}

.site-description {
    font-size: 40px;
    line-height: 40px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 0 46px #000;
    opacity: 1;
}

.read-next .site-description {
    font-size: 20px;
    line-height: 20px;
}

.read-next-feed {
    padding: 20px 0 0 0;
    margin: 0 -10px;
}

.post-full-meta-date {
    color: #fff;
}

@media (max-width: 650px) {
    .post-feed {
        overflow-x: hidden;
        margin: 0;
    }

    .post-card {
        margin: 0 0 5vw;
    }
}


@media (min-width: 795px) {
    .post-card-large h2 {
        line-height: 2.6rem;
    }
}


.post-full-image, .post-full-content {
    box-shadow: 0 0 60px rgba(0, 0, 0, .4);
}

@media (max-width: 500px) {
    .post-full-image {
        margin: 0 0 -100px;
    }
}

.post-full-content {
    padding-bottom: 70px;
}

.no-image .post-full-content {
    padding-top: 5vw;
}

@media (max-width: 500px) {
    .site-main.outer {
        padding: 0 0 70px 0;
    }

    .post-full-content {
        padding: 10px;
    }
}

.post-full-content h1,
.post-full-content h2,
.post-full-content h3,
.post-full-content h4,
.post-full-content h5,
.post-full-content h6 {
    color: #182d45;
}

.post-full-content h1 {
    font-size: 38px;
    font-weight: 600;
    margin: 0.5em 0 0.5em 0;
}

.post-full-content h2 {
    font-size: 30px;
    font-weight: 600;
    margin: 0.5em 0 0.5em 0;
}

.post-full-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0.5em 0 0.5em 0;
}

.post-full-content h4 {
    font-size: 24px;
    font-weight: 400;
    margin: 0.5em 0 0.5em 0;
}

.post-full-content h5 {
    font-size: 21px;
    font-weight: 400;
    margin: 0.5em 0 0.5em 0;
    text-align: initial;
    padding: 0;
}

@media (min-width: 1180px) {
    .post-full-content h5 {
        width: initial;
        max-width: initial;
    }
}

.post-full-content h6 {
    font-size: 18px;
    font-weight: 400;
    margin: 0.5em 0 0.5em 0;
}

.post-full-content a {
    color: var(--wrench-teal);
    box-shadow: none;
    font-size: 16px;
}

.post-full-content a:hover {
    color: var(--wrench-teal);
    box-shadow: var(--wrench-teal) 0 -1px 0 inset;
}


/*overrides wrench.css defaulting all headers to 14px font and line height*/
.text-xlarge {
    line-height: 24px;
}

/*post headers*/
.post-full-title {

}


/* FOOTER */
/* ---------------------------------------------------------- */

.footer {
    margin-top: 140px;
    box-shadow: 0 0 260px rgba(0, 0, 0, 0.3);
}

/* GENERAL */
/* ---------------------------------------------------------- */

::selection {
    text-shadow: none;
    background: #182d45;
    color: white;
}
