/*
Theme Name: eReplacementParts.com Blog
Description: Custom theme for eReplacementParts.com Blog.
Author: Matthew Zahm
Version:        0.1.0

NOTE:
This file is not actually loaded, it is the expanded version of style.min.css. There is a commented
line in header.php that will include it for dev purposes but this should be minified and saved in
style.min.css instead of used directly. (https://cssminifier.com/)
*/

a {
    color: #337ab7;
    text-decoration: none;
}

html{
    margin-top: 0px !important;
}

body{
    background-color: #fff;
    font-family: "Open Sans",sans-serif;
    overflow-x: hidden;
}

#masthead{
    text-transform: uppercase;
    margin-top: 15px;
}
.width100P{
    width:100%
}
.hidden{
    display: none;
}
.no_posts{
    margin-top: 30px;
    font-size: 18px;
}

.padding-right-0{
    padding-right: 0px !important;
}
.padding-3{
    padding: 3px;
    background-color: #fff;
}
.pad_sides_15{
    padding: 0 15px 0 15px;
}
.margin-top-20{
    margin-top: 20px;
}
.margin-vertical-15{
    margin: 15px 0 15px 0;
}

.right-align{
    text-align: right;
}
.align_center{
    text-align: center;
}
.float-right{
    float: right;
}
.clear{
    clear: both;
}
.relative{
    position: relative;
}

#fourofour-title{
    margin-top: 20px;
    font-size: 36px;
    font-weight: 600;
}
#fourofour-message{
    margin: 10px 0 20px 0;
    font-size: 20px;
}


/* ======================= Header Stuff ======================= */
.header_item{
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 0 16px;
    padding-top: 10px;
    cursor: pointer;
    color: #333;
}

.shopping_header{
    color: rgb(137, 138, 138);
}

#ereplace_logo{
    cursor: pointer;
    max-width: 350px;
}

#search_toggle_container{
    border-radius: 3px;
    padding:6px;
    position: relative;
}
#main_search_field{
    margin: 5px 5px 0 0;
    height: 41px;
    padding: 5px;
    vertical-align: middle;
    width: 200px;
    font-size: 16px;
}

#search_field_input{
    width: 100%;
}

.menu_hamburger{
    font-size: 30px;
    padding-top: 0px;
    cursor: pointer;
}

#hamburger_menu{
    padding: 10px;
    background-color: #444;
    width: 100%;
    height: 115px;
}

#hamburger_menu_container{
    padding-right: 0px;
    margin-top: 20px;
}

.hamburger_menu_item{
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    color: #e2e2e2;
}

#hamburger_search_icon{
    cursor: pointer;
    padding: 5px 0 0 0;
}

#hamburger_search_field{
    color: #333;
    padding-left: 5px;
    margin-left: 10px;
}


/* ======================= Footer Stuff ======================= */
.footer_link{
    cursor: pointer;
    display: inline-block;
    margin-left: 8px;
}

.site-info{
    padding: 25px 0 15px 0;
    margin-top: 20px;
    background-color: #222;
    color: #e2e2e2;
    font-size: 16px;
    font-style: italic;
}


/* ======================= Navigation Stuff ======================= */
#older_nav{
    float: right;
    text-align: right;
}

#newer_nav{
    float: left;
}

#navigation{
    margin-top: 20px;
}

.nav_button{
    padding: 8px;
    width: 100px;
    height: 36px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
}


/* ======================= Main Page ======================= */
.blog_post img, .post_featured_image img{
    width: 100%;
}
.blog_post{
    margin-top: 20px;
}

.first_post a, .first_post p{
    color: #e2e2e2;
    text-decoration: none;
}
.first_post_image{
    min-height: 125px;
}
.first_post_description{
    padding: 10px;
    position: relative;
    z-index: 999;
}
.first_post_desc_push{
    margin-top: 0px;
    background-color: rgba(2,88,132,0.75);
}
.first_post_title{
    color: white;
    margin-top: 5px;
    font-size: 1.6em;
    line-height: 1.125em;
    letter-spacing: .05em;
    font-weight: 300;
    text-transform: uppercase;
}

.secondary_post_title{
    padding: 10px 3px 3px 0px;
    font-size: 1.3em;
    line-height: 1.3em;
}
.secondary_post_excerpt{
    padding: 3px 0 0 0;
    overflow: hidden;
    font-size: 1em;
    line-height: 1.5em;
}
.addthis_button_facebook_share span {
    vertical-align: baseline !important;
}

a[class^="PIN"] {
    /* display: inline-block !important; */
    top: -6px;
}



/* ======================= Category Page ======================= */


#categories_list{
    position: absolute;
    padding: 10px;
    border-radius: 5px;
    /*border-top: 1px solid rgb(75, 75, 75);*/
    border-left: 3px solid rgb(75, 75, 75);
    border-right: 3px solid rgb(75, 75, 75);
    border-bottom: 3px solid rgb(75, 75, 75);
    background-color: #fff;
    float: right;
    margin-top: 5px;
    z-index: 1001;
    left: -20px;
    top: 40px;
    font-size: 16px;
    font-weight: normal;
    cursor: auto;
    max-height: 315px;
    overflow-y: scroll !important;
    min-width: 165px;
    text-transform: capitalize;
    display: none;
}

.category-title, .author-title{
    font-family: "Open Sans",sans-serif;
    font-size: 36px;
    line-height: 1.1em;
    font-weight: 300;
    color: #898a8a;
    margin-top: 20px;
    text-transform: capitalize;
}

.category_item{
    cursor: pointer;
    margin-bottom: 5px;
}


/* ======================= Author Page ======================= */
#authorsure-author-profile{
    display: none;
}

.author_avatar{
    float: left;
    margin: 0 20px 10px 0;
    max-width: 250px;
}

/* ======================= Search Page ======================= */
.btn-search, #comment_submit{
    background-color: #898a8a;
    text-transform: uppercase;
    border-radius: 0px !important;
    color: #f2f2f2;
    font-weight: bold !important;
    width: 160px;
    padding: 7px !important;
    font-size: 18px !important;
    margin-top: 5px;
}

.search-title-large{
    font-size: 46px;
    line-height: 53px;
    font-weight: normal;
    color: #444545;
}

.search-title{
    font-size: 36px;
    line-height: 39.6px;
    font-weight: normal;
    color: #444545;
}

#search_summary{
    color: rgb(137, 138, 138);
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
}
.entry-summary{
    color: rgb(137, 138, 138);
    font-size: 18px;
    font-style: italic;
    font-weight: normal;
    line-height: 22px;
}

#main_search div{
    margin-top: 15px;
}

#main_search{
    margin-top: 25px;
    margin-bottom: 30px;
}

.entry-summary p{
    display: block;
}

#search_field {
    margin-top: 5px;
}

#search_summary{
    max-width: 450px
}

#primary-search{
    font-family: "Open Sans", sans-serif;
    margin-bottom: 30px;
}


/* ======================= Post Page ======================= */
#post-author{
    font-family: "Open Sans",sans-serif;
    font-size: 1.125em;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: underline;
    color: #898a8a;
    cursor: pointer;
}

#author_description{
    font-family: "Open Sans",sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 26px;
    color: #19191a;
    max-width:95%
}

.post-content{
    font-size: 1.2em;
    line-height: 1.6em;
    margin-top: 25px;
    overflow: hidden;
}

#post-content img{
    margin: 25px 0 25px 0;
}

#post-content ul, #post-content ol{
    margin-bottom: 5px;
}

.post-title{
    margin: 5px 0 15px 0;
    font-size: 32px;
    line-height: 1.125em;
    letter-spacing: .05em;
    font-weight: 300;
    text-transform: uppercase;
}

.post-info{
    margin: 15px 0 5px 0;
}

.published_on{
    font-family: "Open Sans",sans-serif;
    font-size: 1.125em;
    font-style: italic;
    text-transform: uppercase;
    color: #898a8a;
    margin-left: 0;
}

.post_category{
    display: inline-block;
    text-transform: capitalize;
    margin-right: 5px;
}

.post_category a{
    color: #333;
    text-decoration: underline;
}

#written_by{
    margin-bottom: 5px;
}

.post-info-title, .other-posts-title{
    font-family: "Open Sans",sans-serif;
    font-size: 1.125em;
    font-style: italic;
    text-transform: uppercase;
    color: #898a8a;
}

.post_author_avatar{
    float: left;
    margin: 0 20px 10px 0;
    max-width: 150px;
}

.post_author_bio{
    font-family: "Open Sans",sans-serif;
    font-size: .9em;
    font-weight: 400;
    font-style: italic;
    /*line-height: 1.5em;*/
    color: #898a8a;
}

.other-posts-title{
    font-size: 20px;
}

.post-info-details{
    font-family: "Open Sans",sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    line-height: 22px;
    color: #333;
    margin-left: 10px;
}

.inline-block{
    display: inline-block;
}

.clear{
    clear:both
}

#comment{
    width: 100%;
    height: 100px;
}
.comment{
    margin-top: 10px;
}

#comment_submit{
    margin: 5px 0 0 0;
    border-style: none;
    font-size: 16px !important;
    width: 120px;
}

#respond h2, #respond h3{
    font-size: 24px;
}


/* ======================= Hover Stuff ======================= */
.blog_post{
    transition: opacity 200ms;
}
.category_item, .header_item_hover, .nav_button,
#search_toggle_container, .menu_toggle,
.result_link h2, #post-author, .footer_link a,
#hamburger_shop_link, #hamburger_search_icon,
.post_category a{
    transition: color 200ms;
}
.btn-search, #comment_submit{
    transition: background-color 200ms;
}

.blog_post:hover{
    opacity: 0.8;
}

.post_category a:focus, .post_category a:visited{
    text-decoration: underline;
    color: #333;
}

.first_post a:hover, .first_post a:visited, .first_post a:focus,
.footer_link a, .footer_link a:visited, .footer_link a:focus,
#hamburger_shop_link:visited, #hamburger_shop_link:focus,
#hamburger_search_icon:visited, #hamburger_search_icon:focus{
    color: #e2e2e2;
    text-decoration: none;
}

.navigation a, #search_results a, .secondary_post a,
.secondary_post a:hover, .secondary_post a:visited, .secondary_post a:focus,
.category_item:visited, .category_item:active, .category_item:focus {
    color: #333;
    text-decoration: none;
}

.category_item:hover, .header_item a:hover, .header_item_hover:hover, .nav_button:hover,
#search_toggle_container:hover, .menu_toggle:hover,
.result_link:hover h2, #post-author:hover, .footer_link a:hover,
#hamburger_shop_link:hover, #hamburger_search_icon:hover{
    color: rgb(239, 142, 57);
    text-decoration: none;
}

.btn-search:hover, #comment_submit:hover{
    color: #f2f2f2 !important;
    background-color: #b5b5b6;
}

.post_category a:hover{
    text-decoration: underline;
    color: rgb(239, 142, 57);
}

/* ======================= Embed Code Stuff ======================= */

.embed-control {
    position: relative;
    overflow: hidden;
}

.embed-control img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.embed-link {
    display: block;
    text-align: right;
}
.url-panel {
    position: absolute;
    width: 92%;
    bottom: 10em;
    margin: 4%;
    padding: 4%;
    background-color: #19191A;
    opacity: .9;
    display: none;
}
.url-panel textarea {
    padding: .125em 2%;
    width: 100%;
    height: 4.5em;
    resize: none;
}
.url-panel a {
    color: white;
}



/* ======================= Responsive Stuff ======================= */
.vanish_992, .vanish_768, .vanish_600{
    display: none;
}
.show_600{
    display: block;
}
.col-xxs-8{
    width: auto;
}
.footer_column_left, .footer_column_center, .footer_column_right{
    text-align: center;
    margin: 3px 0 3px 0;
}

@media (min-width:600px){
    .vanish_600{
        display: inline-block;
    }
    .show_600{
        display: none;
    }
}

@media(max-width:600px){
    .col-xxs-8{
        width: 80% !important;
    }
}
@media (min-width:768px){
    .post-title, .category-title, .author-title{
        font-size: 46px;
    }
    .secondary_articles div:nth-child(4n+1){
        clear: none;
    }
    .secondary_articles div:nth-child(3n+1){
        clear: none;
    }
    .secondary_articles div:nth-child(2n+1){
        clear: both;
    }

    .vanish_768{
        display: inline-block;
    }
    .show_768{
        display: none;
    }
}
@media (min-width:992px){
    .secondary_articles div:nth-child(4n+1){
        clear: none;
    }
    .secondary_articles div:nth-child(2n+1){
        clear: none;
    }
    .secondary_articles div:nth-child(3n+1){
        clear: both;
    }

    .footer_column_left{
        text-align: left;
    }
    .footer_column_center{
        text-align: center;
    }
    .footer_column_right{
        text-align: right;
    }

    .first_post_desc_push{
        margin-top: -100px;
        background-color: rgba(2,88,132,0.5);
        min-height: 100px;
        max-height: 100px;
    }

    .vanish_992{
        display: inline-block;
    }
}