/*
Theme Name: BJ Theme

Author URI: https://wordpress.org/
Description: Banjoo Main Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bjtheme

*/
html,
body {
    margin: 0 !important;
    padding: 0;
    font-family: 'Literata', serif;
    font-size: 18px;
}

iframe {
	width: 80% !important;
	margin: 20px auto !important;
}

.topbar {
    padding: 5px !important;
    padding-right: 30%;
    font-size: 12px;
    background-color: rgba(241, 34, 113, 0.5);
    color: white;
    text-align: right;
}

.topbar a {
    color: white;
    text-decoration: none;
}

.logo {
    width: 100%;
    position: relative;
}

.logo img {
    width: 100%;
    display: block;
}

/* menu */

.menu-header-container {
    background-color: #F12271;
    padding: 10px 0;
}

.menu-header-container ul {
    margin-top: 0;
    padding-top: 0;
    text-align: center;
}


.sub-menu {
    display: none;
}

.menu-header-container .menu {
    margin: 0;
    padding: 0;
}

.menu-header-container .menu li{
    list-style: none;
    display: inline-block;
    margin: 0 10px;
}

.menu-header-container .menu a {
    color: white;
    font-weight: bolder;
    text-decoration: none;
    
}

/* Layout */

.widget {
	margin: 30px 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
    /* padding: 30px 0;*/
    width: 90%;
    margin: 10px auto 30px auto;
    justify-content: center;
    max-width: 1200px;

}

.border-top {
    border-top: 5px solid #F12271;
}

.border-left {
    border-left: 1px solid #F12271;
}

footer {
    width: 100%;
    background-color: #24292e;
    overflow: hidden;
    color: white;
}


.homepage-top {
    width: 100%;
    display: flex;
}

.homepage-h1 {
    margin: 0;
}

.homepage-top .cta-join {
    background-color: #F12271;
    color: white;
    padding: 10px;
    text-decoration: none;
    height: 90%;
    margin-left: 20px;
    position: relative;
}

.cta-join::after{
  position: absolute;
  right: -20px;
  top: 0;    
  content: '';    
  width: 0; 
  height: 0; 
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 20px solid #F12271;
}

@media (min-width: 600px) {

    .side-text,
    .single-post {
        flex-basis: 67%;
    }    
    
    .sidebar,
    .column-3 {
        flex-basis: 33%;
        padding: 30px; 
        box-sizing: border-box;
    }
    
    
    
.promo-odd,
.promo-even,
.promo-three {
    border: 2px solid white;
    min-height: 200px;
}

.promo-odd {
    flex-basis: calc(30% - 4px);
}

.promo-even {
    flex-basis: calc(70% - 4px);
}

.promo-three {
    flex-basis: calc(33%);
}



.post img {
    object-fit: cover;
    border-radius: 15px;
}
    
.thumbnail-listing img {
        height: 100%;
    }    
    
.post { 
    border-radius: 15px;
    background-color: aliceblue;
    }    

.title-even {
    font-size: 2em;
}
    

.title-odd,
.title-even,
.post-info-even .post-date,
.post-info-odd .post-date {
    padding: 0 20px;
    box-sizing: border-box;
}
    
.title-even,
.title-odd {
        margin-top: 0;
    }    

.thumb-odd,
.post-info-odd {
    width: 100%;
}

.thumb-odd {
    max-height: 270px;
    overflow: hidden;
}

.thumb-even,
.post-info-even {
    width: 50%;
}
    
.post-info-even .post-date,
.post-info-odd .post-date {
    padding: 0 20px;
    box-sizing: border-box;
}    
    
}

.post-info-even,
.post-info-odd {
    box-sizing: border-box;
    padding: 20px 0;
    }  



.post {
    display: flex;
    flex-wrap: wrap;
    text-decoration: none;
    color: #4F3738;
    height: 100%;
    background-color: aliceblue;
}

.post-listing {
    display: flex;
    
    text-decoration: none;
    color: #4F3738;
    border-bottom: 2px solid white;
}

.post-listing:hover {
    border: 1px solid #F12271;
}

.post-listing h2 {
    font-weight: 500;
}

.thumbnail-listing {
    flex-basis: 20%; 
    
}

.post-info {
    flex-basis: 80%;
    padding: 10px;
    box-sizing: border-box;
}

.post-info h2 {
    margin-top: 0;
    font-size: 1.3em;
    
}

.post-date {
    font-size: 14px;
    color: gray;
}

.post:hover {
    color: black;
    border: 2px solid #F12271;
    z-index: 5;
    position: relative;
    
}

.side-text {
    background-color: aliceblue;;
}

.widgettitle {
    font-weight: bolder;
}


@media (max-width: 599px){
  .post img,
  .single-post img {
    width: 100%; 
	  height: auto;
	  margin: 10pxpx auto !important;
}  
	
	.single-post p,
	.single-post h2,
	.single-post h3 {
		padding: 0 10px;
		box-sizing: border-box;
	}
    
    .post-info-even,
    .post-info-odd {
    box-sizing: border-box;
    padding: 20px;
    }  
    
    .post-date {
        padding: 0;
    }
    
    .title-even,
    .title-odd {
        margin: 10px 0;
    } 
    
    .post-lisitng {
        flex-wrap: wrap;
    }
}

/* Single Post */

.single-post-container {
    margin-top: 30px;
}

.single-post-entry {
    text-align: left;
    width: 100%;
    border-bottom: 2px solid #F12271;

}
.single-post {
    padding: 0 30px 30px 30px;
    box-sizing: border-box;
    font-size: 1.1em;
    line-height: 2em;
    background-color: #fefefe;
}

.single-post-content .wp-post-image {
    float: left; 
    margin: 10px 30px 10px 0;
    border-radius: 15px;
}

.single-post-entry h1 {
    margin: 0px;
    padding-bottom: 20px;
}

.single-post-content > h2::after {
    content: '';
    width: 20%;
    display: block;
    height: 2px;
    margin-top: 10px;
    background-color: #F12271;
}

.single-post-meta {
    color: gray;
    font-size: 0.8em;
}

.cat-link {
    background-color: #F12271;
    color: white;
    padding: 2px 5px;
    margin-left: 5px;
    text-decoration: none;
}

@media (max-width: 599px){
    .single-post {
        flex-basis: 100%;
    }
    
}

/* Sidebar Posts */

.sidebar-listing {
    display: flex;
    margin: 5px 0;
    text-decoration: none;
    color: black;
    
}

.sidebar-listing span {
    font-size: 16px;
    line-height: 1.3em;
    display: block;
}

.sidebar-listing .post-date {
    font-size: 12px;
}


/* Under Post Listing */

.under-post-listing {
    padding-top: 50px;
    justify-content: flex-start;
    width: 100%;
}

.under-post-listing a {
    width: 33%;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none;
    color: black;
}

.under-post-listing .thumbnail-listing{
    width: 100%;
    height: 215px;
    overflow: hidden;
}

.under-post-listing img {
    width: 100%;
}

/* Products */

.single-product-entry {
    display: flex;
}

.single-product-left {
    width: 45%;
}

.single-product-right {
    width: 45%;
}

.single-product-container .product-img img
{
    width: 90%;
    margin: 0 auto;
    height: auto;
    display: block;
}

.product-info {
    text-align: center;
}

.single-product-container .product-price {
    text-align: center;
}

.single-product-container .product-price span {
    color: #F12271;
    font-size: 1.5em;
    font-weight: bolder;
}

.single-product-container .btn-prod,
.product-list .btn-prod {
    background-color: #F12271;
    color: white;
    padding: 10px 20px;
    width: auto;
    max-width: 30%;
    font-weight: bolder;
    text-align: center;
    text-decoration: none;

}

.single-product-container .btn-prod,
.single-product-container .product-price,
.product-list .btn-prod {
    display: inline-block;
    margin: 0 10px;
}

.single-product-container .product-list {
    width: 100%;
}

.product-list h2 {
    width: 100%;
    text-align: center;
}


@media (max-width: 599px){
    
    .single-product-entry {
        flex-wrap: wrap;
        
    }
    
    .single-product-left,
    .single-product-right {
        width: 100%;
    }
    
    .product-item {
        width: 80% !important;
        margin: 30px auto !important;
    }
    
}

.prod-sklad {
    display: block;
    padding: 20px 40px;   
    font-size: 0.8em;
}

.prod-sklad span {
    font-weight: bolder;
}

.breadcrumbs {
    text-align: center;
    margin: 10px 0;
}

.breadcrumbs {
    font-size: 0.8em;
}

.breadcrumbs a {
    color: #24292e;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Products */

.product-list {
    display: flex;
    flex-wrap: wrap;
    width: 60%;
    justify-content: center;
}

.articles-list-home {
    width: 30%;
}

.single-article-link {
    margin: 10px 0;
    min-height: 70px;
}

.single-article-link a {
    text-decoration: none;
    color: black;
}

.single-article-link span {
    padding: 20px 0;
    display: block;
}

.single-article-link img {
    width: 50px;
    float: left;
    margin: 20px;
}

.product-item {
    width: 30%; 
    margin: 10px;
    padding: 20px;
    box-sizing: border-box;
    border-right: 1px solid rgba(0,0,0,0.1);
    position: relative;
    
}

.product-item,
.product-item:first-child {
    border-left: 1px solid rgba(0,0,0,0.1);
}


.product-item::after {
    content: '';
    width: 90% !important;
    height: 1px;
    background: rgba(0,0,0,0.1);
    width: 100%;
    display: block;
    position: absolute;
    bottom: -10px;
}

.product-item a {
    text-decoration: none;
    color: #24292e;
    font-size: 14px;
}

.product-item img {
    width: 100%;
    height: auto;
}

.product-title {
    display: block;
    min-height: 110px;
}

.product-price span {
    color: #f12271;
    font-size: 1em;
    font-weight: bolder;
}

.product-price {
    display: inline-block;
    padding-top: 10px;
}

.product-list .btn-prod {
    font-size: 0.7em;
    margin-left: 10px;
    margin-top: 10px;
    float: right;
    padding: 5px 10px;
}

/* topics home */

.topics-home {
    display: block;
    width: 90%;
    text-align: center;
}

.topics-home li {
    list-style: none;
    display: inline-block;
    width: 20%;
    position: relative;
}

.topics-home li img {
    width: 100%;
}

.topics-home-txt {
    width: 90%;
    display: block;
    text-align: center;
    position: relative;
}

.topics-home-txt li {
    display: inline-block;
    list-style: none;
    margin: 0 5px;
}

.topics-home-txt a {
    color: gray;
    text-decoration: none;
    font-weight: bolder;
}

.topics-home-txt .active a {
    color: black;
}

.view-all-link {
    width: 100%;
    text-align: right;
    padding: 20px;
}

.view-all-link a {
    text-decoration: none;
    color: black;
    font-size: 0.8em;
}

.container .home-h2 {
    display: block;
    width: 100%;
    text-align: center;
}

.ranking-cont {
    width: 100%;
}

.ranking-item {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.ranking-item-img {
    width: 30%;
    position: relative;
    border-right: 1px solid #F12271;
}

.ranking-item-img img {
    width: 100%;
}

.ranking-item-desc {
    width: 60%;
    padding: 20px;
}

.footer-link {
	display: block;
	font-size: 14px;
	text-align: center;
}
