/**
* Theme Name: Ekommart Child
* Description: This is a child theme of Ekommart, generated by Merlin WP.
* Author: <a href="https://www.wpopal.com/">Duc Pham (Opal Team)</a>
* Template: ekommart
* Version: 1.7.0
*/

.product-text-header p{
    font-weight: bold;
    font-size: 25px;
    margin: 20px 0px;
}
.lang-item a{
    padding: 0 !important;
}
.elementor-1287 .elementor-element.elementor-element-8690c2d{
    border-style: none !important;
}
.post-author{
    display: none;
}
.has-post-thumbnail .category-298 img{
    display: none;
}
.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
    padding: 1.1em 0.3em;
}
.woocommerce-result-count{
    display:none;
}

img.attachment-post-thumbnail {
    display: none;
}
.mobile-navigation ul li.lang-item{
    display: inline-block;
}
/*.post-thumbnail img{
    width: 410px !important;
    height: 412px !important;
    object-fit: cover !important;
}*/
.post-style-1 .entry-meta{
    display: none;
}

#custom_html-2{
    position: fixed;
    z-index: 999;
    top: 60%;
    right: 0;
    background: #fff;
    text-align: center;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-box-shadow: -4px 3px 7px -4px rgba(128,126,128,1);
    -moz-box-shadow: -4px 3px 7px -4px rgba(128,126,128,1);
    box-shadow: -4px 3px 7px -4px rgba(128,126,128,1);
}
#custom_html-2 a{
    padding: 10px;
    display: block;
    border-bottom: 1px solid #ddd;
}
#custom_html-2 a:last-child{
    border: 0;
}
#custom_html-2 img{
    display: block;
    margin: 0 auto;
}

/*.page-id-164 .login-facebook{
    display: inline-block;
    position: relative;
    top: 50px;
    left:-60px;
}
.page-id-8218 .login-facebook{
    display: inline-block;
    position: relative;
    top: 50px;
}
.login-facebook a{
    display: block;
    padding: 10px 20px;
    background: #0b368c;
    border-radius: 5px;
    color: #fff !important;
}*/
.login-facebook img{
    display: inline-block;
    vertical-align: middle;
}
.login-facebook span{
    padding: 10px;
}
.woocommerce-form-login-wrap label{
    margin-bottom: 10px;
}
#login .login-hook{
    display: none !important;
}
.woocommerce-form-login #logo-link{
    display: inline-block;
    top: 38px;
    position: relative;
    left: -66px;
}
.ekommart-product-pagination-wrap{
    display: none;
}

.elementor-heading-title{
    color: #000 !important;
}
.site-footer {
    background-color: #f1eded !important;
    padding: 1.618em 0 0;
}
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2){
	.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
    padding: 1.1em 0.3em ;
}
    .page-id-164 .login-facebook{
        display: inline-block;
        position: relative;
        top:0px;
        left:0px;
    }
    .page-id-8218 .login-facebook{
        display: inline-block;
        position: relative;
        top: 0px;
    }
    .woocommerce-form-login #logo-link{
        display: inline-block;
        top: 38px;
        position: relative;
        left: 0px;
    }
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
   /* .post-thumbnail img{
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
    }*/
    .post-style-1 .entry-meta{
        margin-left: 10px;
        margin-right: 10px;
    }
    .post-style-1 .post-thumbnail + .post-header-content {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .post-style-1 .post-header-content {
        text-align: center ;
        padding: 10px 10px;
        background-color: #ffffff;
    }
  /*  .tax-product_cat .products li,
    .post-type-archive-product .products li{
        display: block !important;
        float: left !important;
        width: 50% !important;
    }*/
  
}
@media screen and (max-width: 480px) {
    ul.products li.product {
       margin: 5px;
     width: calc(50% - 10px);
   }
   .ekommart-sorting{
       display: none;
   }
   .page-id-164 .login-facebook{
        display: inline-block;
        position: relative;
        top:15px;
        left:0px;
    }
    .page-id-8218 .login-facebook{
        display: inline-block;
        position: relative;
        top: 15px;
    }
    .woocommerce-form-login #logo-link{
        display: inline-block;
        top: 0px;
        position: relative;
        left: 0px;
    }
    .product-block{
        position: relative;
    }
    .product-block a.add_to_cart_button{
        position: absolute;
        bottom: 6px;
        display: block;
        width: 80%;
        left: 10%;
        font-size: 0.75em;
    }
}

#custom_html-7{
	position: fixed;
    display: inline-block;
    right: 0;
    bottom:40px;
    right: 10px;
    z-index: 999;
}
@media only screen and (max-width: 600px) {
  .footer-widget-5 img{
    width:65px;
  }
}