/* 
    Created on : Jul 14, 2021
    Author     : hS
*/

/** Header */

header.page-header {
    padding: 60px 0 30px 0;
}

header.header {
    padding: 60px 0 0px 0;
}

.rtl header.post-header {
    text-align: right;
}

/*.rtl header.page-header {
    padding: 60px 0 30px 0;
    text-align: right;
}*/

header.page-header h1.entry-title,
header.header h1 {
    /*text-transform: uppercase;*/
    /*font-size: 1.2rem;*/
    font-weight: bolder;
}

/** Categories nav */

.navbar-toggler-text {
    font-size: 1rem;
}

.categories-nav {
    display: flex;
    flex-direction: row;
    
    margin: 30px 0 0;
    
    background-color: #FAFAFA;
    border-radius: 8px;
}

.categories-nav .nav-item a.nav-link {
    display: inline-block;
    padding: 10px 15px; 
    color: var(--jfl-color-main);
}

.categories-nav .nav-item a.nav-link:hover {
    background-color: #F0F0F0;
    text-decoration: none;
}

.categories-nav a.selected {
    font-weight: bold;
}

@media ( max-width: 756px ){
    
    .categories-nav {
        display: flex;
        flex-direction: column;

        margin: 30px 0 0;

        background-color: transparent;
        border-radius: 0;
    }
    
    .categories-nav a {
        display: inline-block;
        padding: 5px 15px; 
    }
    
    .categories-nav a:hover {
        background-color: transparent;
        text-decoration: underline;
    }
}

/** Search */

.blog-search-text {
    font-size: 1rem;
    
    border-color: var(--jfl-color-neutral);
    background-color: white;
    border-radius: 36px;
    
    padding: 15px 10px;
    padding-left: 55px;
    padding-right: 100px; 
}

.rtl .blog-search-text {
    padding-left: 100px;
    padding-right: 55px;
}

.blog-search-button {
    position: absolute; 
    right: 0px;
    
    border-radius: 0 36px 36px 0;
    
    background-color: var(--jfl-color-neutral);
    color: white;
    font-weight: bold;
}

.blog-search-button:hover {
    background-color: var(--jfl-color-main-hover);
    color: white;
}

.blog-search-component:focus-within .blog-search-button {
	background-color: var(--jfl-color-main);
    color: white;
    /*transition: none;*/
}

.blog-search-component:focus-within .blog-search-button:hover {
    /*transition: .2s all ease-in-out;*/
}

.rtl .blog-search-button {
    position: absolute; 
    left: 0px;
    right: auto;
    border-radius: 36px 0 0 36px;
}

/** Article */

body.single article {
    padding-bottom: 100px;
}

body.blog article,
body.archive article,
body.search-results article {
    /*padding: 15px;*/
    margin-top: 30px;
    border: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    /*border-radius: 6px 6px 6px 6px;*/
    background-color: white;
    box-shadow: 0 2px 4px -3px rgba(0,0,0,0.2);
}

article header.page-header {
    padding: 0;
}

article header.page-header h2,
article header.page-header h2.entry-title {
    
}

.article-header-hoverable {
}

.article-header-hoverable:hover {
    box-shadow: 0 1px 4px 0 rgba(51,51,51,.3);
}

/** Entry */

article h2.entry-title {
    padding: 15px;
    padding-bottom: 0;
}

.entry-excerpt-as-subtitle {
    font-size: 1.3rem;
    color: #757575;
}

.rtl .entry-excerpt-as-subtitle {
    text-align: right;
}

.entry-featuredImage {
    width: 100%;
    padding: 0 0 15px 0;
}

.entry-backgroundFeaturedImage {
    width: 100%;
    height: 200px /*240px*/;
    max-height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    /*border-radius: 6px 6px 0 0;*/
}

@media ( max-width: 756px ){
    .entry-backgroundFeaturedImage {
        width: 100%;
        height: 200px;
    }
}

body.single .entry-featuredImage {
    padding: 0 0 30px 0;
}

.entry-featuredImage img {
    /*border-radius: 6px 6px 0 0;*/
}

body.single .entry-featuredImage img {
    /*border-radius: 6px;*/
}

.entry-avatar-container img {
    border: 1px solid white;
    border-radius: 50%;
}

.entry-category {
    color:#999; 
    font-size: .9rem; 
    font-weight: 500;
    text-transform: uppercase; 
    text-decoration: none;
}

.entry-category:hover {
    color:var(--jfl-color-main); 
    text-decoration: none;
}

.entry-meta {
    padding: 15px 15px 15px;
}

body.single .entry-meta {
    padding: 15px 15px 30px;
}

.entry-date {
    color: #a0a0a0;
}

.entry-excerpt {
    min-height: 150px;
    padding: 15px 20px;
}

body.search-results .entry-excerpt {
    min-height: 50px;
    padding: 15px;
}

.entry-content {
    font-size: 1.2rem;
}

.entry-footer {
    padding: 15px 15px 15px;
}


/** Nav */

.nav-links-container {
    padding: 30px 0;
}

.nav-links .nav-previous {
    float: left;
}

.nav-links .nav-next {
    float: right;
}

.nav-links {
    clear: both;
}

@media ( max-width: 756px ){
    .nav-links .nav-previous {
        float: none;
        display: block;
        margin: 30px 0;
        text-align: center;
    }

    .nav-links .nav-next {
        float: none;
        display: block;
        margin: 30px 0;
        text-align: center;
    }
}

.nav-links .nav-previous a,
.nav-links .nav-next a {
    border: 1px solid var(--jfl-color-main);
    border-radius: 8px;
    padding: 12px 16px;
}

/** Numbered Nav */

.page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    font-weight: 600;
    background-color: white;
    color: var(--jfl-color-main);
    border: 0 none;
    box-shadow: none;
    text-decoration: none;
    transition: .2s all ease-in-out;
    
    /*display: inline-block;
    margin: 0 2px;
    padding: 5px 12px;
    border: 1px solid #ccc;*/
}

.page-numbers:hover {
    background-color: var(--jfl-color-main);
    color: white;
    text-decoration: none;
}

.page-numbers.current {
    color: black;
}

.page-numbers.current:hover {
    background-color: white;
}

.next.page-numbers {
    
}

.prev.page-numbers {
    
}