/**
Theme Name: zemesveta
Author: Musilda.com
Author URI: https://musilda.com
Description: Šablona pro web Země Světa
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zemesveta
Template: astra
*/

body {
    background-color:#f6f6f6;
	font-family: 'Rubik', sans-serif;
	font-size:16px;
}

#footer {
    background-color:#e4e4e4;
}

.woocommerce .woocommerce-breadcrumb{
	font-size:11px;
}

body.ast-plain-container.ast-no-sidebar #primary{
	margin: 4em 0;
}
body.ast-plain-container.ast-no-sidebar #primary.homepage-rand{
	margin-top:0;
}
.homepage-rand h2{
	margin-bottom:20px;
}

body.woocommerce div#primary {
    width: 100%;
    padding-right: 0;
	padding-left: 0;
    border-right: none;
	border-left: none;
}
    
    
body.woocommerce div#secondary {
    display: none;
}

.woocommerce-page.columns-4 ul.products li.product,
.woocommerce.columns-4 ul.products li.product{
    background-color: #ffffff;
    border:solid 1px #ededed;
    padding-bottom: 50px;
    position:relative;
}

.astra-shop-thumbnail-wrap{
    display: flex;
}
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .woocommerce-loop-product__link,
.woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap .woocommerce-loop-product__link{
    display: flex;
    width:100%;
}
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .woocommerce-loop-product__link img,
.woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap .woocommerce-loop-product__link img{
    display: flex;
    margin-bottom:0;
}
.woocommerce ul.products li.product .star-rating, .woocommerce-page ul.products li.product .star-rating{
    display:inline-block;
}

.astra-shop-summary-wrap{
    padding: 20px 20px 0px 20px;
    text-align:center;
}
.astra-shop-summary-wrap .button{
    position: absolute!important;
    left: 0!important;
    bottom: 0!important;
    width: 100%!important;
    margin:0!important;
    text-decoration:center!important;
}
/* Header */
.site-logo-img a img{
	width:200px;
}
.ast-site-title-wrap{
	display:none;
}



.zemesveta-nav-wrap{
    width:100%;
    display:flex;
	flex-wrap: wrap;
    justify-content: space-between;
}
.zemesveta-nav{
	display:flex;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-bottom:20px;
}
.zemesveta-nav a{
    border:solid 1px #0274be;
    border-radius:5px;
    padding:8px 20px;
    margin-right:5px;
	margin-bottom:5px;
}
.zemesveta-nav a:first-child{
	background:#0274be;
	color:#ffffff;
}
.zemesveta-nav a:hover{
    background: #0274be;
    color: #ffffff;
}
.woocommerce .woocommerce-ordering select{
	background:#ffffff;
}

.predplatne-wrap{
	width:100%;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
@media only screen and (min-width: 1129px) {
	.predplatne-item{
		width: calc(33% - 15px);	
		margin-bottom:40px;
	}
}
@media only screen and (min-width: 750px) and (max-width: 1128px) {
	.predplatne-item{
		width: calc(50% - 15px);	
		margin-bottom:40px;
	}
}
@media only screen and (max-width: 749px) {
	.predplatne-item{
		width: 100%;	
		margin-bottom:40px;
	}
}

.predplatne-item h3{
	margin-bottom:0px;
}

.predplatne-inner{
	width:100%;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-around;
	border:solid 1px #eaeaea;
	background:#ffffff;
}
.predplatne-addtocart-box{
	width:100%;
	display:flex;
	flex-wrap: wrap;
	background:#ffffff;
	padding:20px;
}
.product-item{
	width:100%;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background:#ffffff;
	margin:5px 0;
}
.product-item-text{
	display:inline-flex;
	color:#157fc1;
	font-size:18px;
}
.product-item-pocet-cisel{
	display:inline-flex;
}
.product-item-price{	
	display:inline-flex;
	font-size:18px;
}
.product-item-button{
	border: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    color: #ffffff;
    border-color: #157fc1;
    background-color: #157fc1;
	border-radius: 5px;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
}

@media only screen and (max-width: 380px) {
	.product-item-button{
		margin-right:40%;
	}
}

.hero-wrap{
	width:100%;
	display:flex;
	margin-bottom:50px;
	background:#ffffff;
}
.hero-image{
	width:66%;
	border-left:solid 1px #f6f6f6;
	border-top:solid 1px #f6f6f6;
	border-bottom:solid 1px #f6f6f6;
}
.hero-image img{
	height:100%;
}
.hero-product{
	width:34%;
	border-right:solid 1px #ededed;
	border-top:solid 1px #ededed;
	border-bottom:solid 1px #ededed;
	background:#ffffff;
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-bottom:20px;
}
@media only screen and (max-width: 480px) {
	.hero-wrap{
		flex-wrap:wrap;
	}
	.hero-image{
		width:100%;
	}
	.hero-product{
		width:100%;
		padding-bottom:20px;
	}
}
.hero-product-thumb{
	width:100%;
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
}
.hero-item-button{
	border: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    color: #ffffff;
    border-color: #157fc1;
    background-color: #157fc1;
    border-radius: 5px;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
    line-height: 20px;
    height: 32px;
}

.homepage-posts{
	width:100%;
	display:flex;
	flex-wrap:wrap;
}
.homepage-posts h2{
	width:100%;
}
.homepage-items{
	width:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
}
.homepage-item{
	position:relative;
	width: calc(33% - 15px);	
	padding-bottom:50px;
}
@media only screen and (max-width: 600px) {
	.homepage-item{
		width: 100%;		
		margin-bottom:30px;
	}
}
.homepage-item>a{
	width:100%;
	display:flex;
	flex-wrap:wrap;
	margin-bottom:20px;
}
.homepage-item>a img{
	width:100%;
	margin-bottom:20px;
}
.homepage-item h3{
	width:100%;
	font-size:22px;
	font-weight:bold;
}
a .homepage-except{
	width:100%;
	color:#3a3a3a;
}
.homepage-item-more{
	position:absolute;
	left:0;
	bottom:0;
	border: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    color: #ffffff;
    border-color: #157fc1;
    background-color: #157fc1;
	border-radius: 5px;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
}

.products-posts{
	width:100%;
	display:flex;
	flex-wrap:wrap;
}
.products-posts-items{
	width:100%;
	display:flex;
	flex-wrap:wrap;
}
.products-posts-item{
	position:relative;
	width: calc(33% - 15px);	
	padding-bottom:50px;
	margin-left:7.5px;
	margin-right:7.5px;
}
@media only screen and (min-width: 381px) and (max-width: 800px) {
	.products-posts-item{
		width: calc(50% - 15px);	
	}
}
@media only screen and (max-width: 380px) {
	.products-posts-item{
		width: calc(100% - 15px);	
	}
}
.products-posts-item a.products-posts-item-thumb{
	width:100%;
	display:flex;
	margin-bottom:10px;
}
.products-posts-item h3{
	width:100%;
	font-size:22px;
	font-weight:bold;
}


.tipy-posts{
	width:100%;
	display:flex;
	flex-wrap:wrap;
}
.tipy-posts h2{
	width:100%;
}
.tipy-items{
	width:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
}
.tipy-item{
	position:relative;
	width: calc(50% - 15px);	
	padding-bottom:50px;
	margin-bottom:30px;
}
.tipy-item a.tipy-item-thumb{
	width:100%;
	display:flex;
	margin-bottom:20px;
}
.tipy-item h3{
	width:100%;
	font-size:22px;
	font-weight:bold;
}
.tipy-except{
	width:100%;
}
.tipy-item-more{
	position:absolute;
	left:0;
	bottom:0;
	border: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    color: #ffffff;
    border-color: #157fc1;
    background-color: #157fc1;
	border-radius: 5px;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
}

.wp-pagenavi{
	display:flex;
}
.wp-pagenavi span.current{
	font-weight:normal;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current{
	background: #0170B9;
    color: #ffffff;
}
.wp-pagenavi a, .wp-pagenavi span{
	border-color: #0170B9;
	text-decoration: none;
	text-align:center;
    padding: 0;
    line-height: 1;
    font-size: 1em;
    font-weight: 400;
    padding: .75em;
    display: block;
    min-width: 2.5em;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single:not(.ast-related-post){
	background-color:transparent;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single{
	padding-top:0;
}
.homepage-pozvanky{
	width:100%;
	background-color:#ffffff;
}
.pozvanky-wrap{
	width:100%;
	display:flex;
	flex-wrap:wrap;
}
.pozvanky-wrap h2{
	width:100%;
	margin-bottom:20px;
}
.pozvanky-items{
	width:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
}
.pozvanky-item{
	position:relative;
	width: calc(33% - 15px);	
	padding-bottom:50px;
}
@media only screen and (max-width: 700px) {
	.pozvanky-item{
		width: 100%;		
		margin-bottom:30px;
		padding:0;
	}
}
.pozvanky-item a.pozvanky-item-thumb{
	width:100%;
	display:flex;
	margin-bottom:20px;
}
.pozvanky-item h3{
	width:100%;
	font-size:22px;
	font-weight:bold;
}
.homepage-external{
	position:relative;
	padding:5px 10px;
	width:100%;
	background-color:#ececec;
	display:flex;
	align-items: center;
	margin-bottom:10px;
}
.homepage-external span.external-logo{
	width:100px;
	display:flex;
	justify-content: space-around;
}
.homepage-external span.external-logo img{
	height:40px;
}
.homepage-external-link{
	position:absolute;
	right:10px;
	border: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    color: #ffffff;
    border-color: #157fc1;
    background-color: #157fc1;
	border-radius: 5px;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
}
.ast-footer-overlay{
	background:#ececec;
}

.footer-social-icon{
	color:#157fc1;
	margin-right:10px;
}
.footer-social-icon img{
	width:30px;
}
.entry-title, .entry-title a{
	font-weight:bold;
	color:#3a3a3a;
}
.widget-title{
	font-weight:bold;
}

/* ------------------------ */
.main-header-menu .menu-link, .main-header-menu>a{
	font-family: Rubik;
	font-weight: 400;
	font-style: normal;
	letter-spacing: normal;
	line-height: normal;
}
.main-header-menu .menu-item:hover > .menu-link, .main-header-menu .menu-item:hover > .ast-menu-toggle, .main-header-menu .ast-masthead-custom-menu-items a:hover, .main-header-menu .menu-item.focus > .menu-link, .main-header-menu .menu-item.focus > .ast-menu-toggle, .main-header-menu .current-menu-item > .menu-link, .main-header-menu .current-menu-ancestor > .menu-link, .main-header-menu .current-menu-item > .ast-menu-toggle, .main-header-menu .current-menu-ancestor > .ast-menu-toggle{
	color:#157fc1;
}

@media only screen and (max-width: 920px) {
	.ast-header-break-point .main-navigation ul .menu-item .menu-link{
		padding:10px 20px;
	}
}
@media only screen and (max-width: 380px) {
	.woocommerce.mobile-columns-6 ul.products li.product:nth-child(6n+1), .woocommerce-page.mobile-columns-6 ul.products li.product:nth-child(6n+1), .woocommerce.mobile-columns-5 ul.products li.product:nth-child(5n+1), .woocommerce-page.mobile-columns-5 ul.products li.product:nth-child(5n+1), .woocommerce.mobile-columns-4 ul.products li.product:nth-child(4n+1), .woocommerce-page.mobile-columns-4 ul.products li.product:nth-child(4n+1), .woocommerce.mobile-columns-3 ul.products li.product:nth-child(3n+1), .woocommerce-page.mobile-columns-3 ul.products li.product:nth-child(3n+1), .woocommerce.mobile-columns-2 ul.products li.product:nth-child(2n+1), .woocommerce-page.mobile-columns-2 ul.products li.product:nth-child(2n+1), .woocommerce div.product .related.products ul.products li.product:nth-child(2n+1),
	.woocommerce.mobile-columns-6 ul.products li.product:nth-child(6n), .woocommerce-page.mobile-columns-6 ul.products li.product:nth-child(6n), .woocommerce.mobile-columns-5 ul.products li.product:nth-child(5n), .woocommerce-page.mobile-columns-5 ul.products li.product:nth-child(5n), .woocommerce.mobile-columns-4 ul.products li.product:nth-child(4n), .woocommerce-page.mobile-columns-4 ul.products li.product:nth-child(4n), .woocommerce.mobile-columns-3 ul.products li.product:nth-child(3n), .woocommerce-page.mobile-columns-3 ul.products li.product:nth-child(3n), .woocommerce.mobile-columns-2 ul.products li.product:nth-child(2n), .woocommerce-page.mobile-columns-2 ul.products li.product:nth-child(2n), .woocommerce div.product .related.products ul.products li.product:nth-child(2n){
		width:100%;
		margin-right:0;
	}
}