@media screen and (max-width:800px){ .woocommerce .mw_product_item{ width: 50% !important; } }
@media only screen and (max-width:1280px){
  .site-container,.topbar-main,.footer-center{
    width:96%;
    padding-left:2%;
    padding-right:2%;
  }
  .date{display:none;}
  .main-menu,.sidebar{
    width:23%;
  }
  .rightsidebar{
    width:30%;
  }
  .headerbox,.post-box{
    width:75%;
  }
}
@media only screen and (min-width:1100px){
  .scrolled-topbar .menu-icon[mega-menu]{
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    color: white;
    font-size: 1.5em;
    top: 50%;
    transform: translateY(-50%);
  }
}
@media only screen and (max-width:1100px){

  .menu-icon[top-menu]{
    display:block;
    text-align: center;
    font-size:2em;
    top: 50%;
    transform: translateY(-50%);
  }
  .top-menu{
    position:absolute;
    right:-100%;
    top:0;
    background:#fff;
    width:85%;
  }
}
@media screen and (max-width: 1023px)
{
	.header-mode-1 .mini-cart-header
	{
		width: 100% !important;
	}
}
@media only screen and (max-width:1000px){

	.header-mode-2 .menu-icon[top-menu]
	{
		display: block !important;
	}
	.header-mode-2.scrolled-topbar .logo
	{
		margin-right: 20px;
	}
  .top-menu{
    display:none;
  }
  .mini-cart-header{width:100%;}
  .logo{
    width:100%;
  }
  .topmenu{
    margin-right:0;
    width:100%;
  }
  .site-container .woocommerce .mw_product_item{
    width:50% !important
  }
  .top-menu li a{
    text-align: right;
    padding-right:10%;
    margin:0;
    border-bottom:1px solid #ededed;
  }
  .top-menu li{
    margin:0;
    width:100%;
  }
  .headerbox,.header-ads img,.postbox2,.postbox6,.footer-legend .footer-legend-inner,.footer-legend-inner h5,.main-menu, .sidebar,.post-box,.rightsidebar,.sidebar{
    width:97%;
    margin-right:auto;
    margin-left:auto;
    float:none;
  }
  .mihanmarket-post-single .post-entry,.mihanmarket-post-single .related-posts{
    margin-right:auto;
    margin-left:auto;
    float:none !important;
  }
  .related-posts article{
    width:49% !important;
  }
  .main-menu ul{
    padding:0;
  }
  .main-menu ul li ul{
    position:initial;
    overflow: hidden;
    width:98% !important;
    opacity:1;
    display:none;
  }
  .main-menu li:focus > ul{
    height: auto;
    width:97%;
  }
  .footer-legend-inner a{
    float:none;
    display:block;
  }
  .footer-legend .footer-legend-inner{
    text-align: center;
  }
  .headerbox article a span{
    margin-top:9%;
  }
  .cat-name{
    width:70%;
  }
  .cat-more-link{
    width:25%;
  }
  .mihanmarket-3c-column .post-box .mihanmarket_woocommerce_content_wrapper
  {
    width: 100%;
  }
}
@media only screen and (max-width: 1023px)
{
  .header-mode-3.scrolled-topbar .topbar-main .logo
  {
    margin: 0 20px 0 0;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1000px)
{
  .header-mode-2 .topbar-main > .row
  {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
  }
  .header-mode-2 .topbar-main > .row > .col-md-3
  {
    max-width: 100%;
  }
}
@media only screen and (min-width: 768px)
{
	.header-mode-2 .topbar-main a.logo,
	.header-mode-3 .topbar-main a.logo
	{
		width: 100%;
	}
}
@media only screen and (min-width:601px) and (max-width:767px)
{
  .header-mode-1.scrolled-topbar .search-form
  {
    display: none;
  }
  .header-mode-1.scrolled-topbar .topbar-main .row
  {
    display: grid;
    grid-template-columns: 2fr 0fr 2fr;
  }
  .header-mode-2 .topbar-main .row
	{
    grid-template-columns: 2fr 1fr 2fr;
	}
}
@media only screen and (min-width:600px){
  .logo
  {
    margin-right: 20px;;
  }
}
@media only screen and (max-width:600px){
  .header-mode-2.scrolled-topbar .action-box
  {
    display: none;
  }
  .header-mode-2:not(.scrolled-topbar) .action-box
  {
    margin-bottom: 20px;
  }
  .header-mode-2 .topbar-main .row
  {
    display: flex;
  }
  .header-mode-2 .topbar-main .row
	{
    grid-template-columns: 2fr 0fr 5fr;
	}
  .logo,.headerbox article,.mini-cart-header,.prcatboxtitle,.productcategorybox .owl-carousel,.woocommerce div.product form.cart .button,.site-container .woocommerce .mw_product_item{
    width:100% !important;
  }
  .siteside{
    width:80% !important;
  }
  .prcatboxtitle{
    height:auto;
  }
  .postbox1posts article{
    width:98%;
  }
  .postbox2post1 a.fimage,.postbox6post1{
    width:100%;
  }
  .postbox2post2 article,.postbox4 article,.postbox6post2,.website-footer .footer-widget{
    width:98%;
    float:none;
  }
  .top-menu{
    width:85%;
  }
  .search{
    float:right;
    margin-right:10px;
  }
  .cat-name{
    width:50% !important;
  }
  .cat-more-link{
    width:47% !important;
  }
  .search input[type="text"]{
    width:70% !important;
  }
  .scrolled-topbar .search-form,
  .header-mode-1.scrolled-topbar .mini-cart-header,
  .header-mode-3.scrolled-topbar .cta_button
  {
    display:none;
  }
  .related-posts article{
    width:100% !important;
  }
  .comment-form-url, .comment-form-email, .comment-form-author{
    width:100%;
  }
  .single-post-thumbnail-left img,.single-post-thumbnail-right img{
    max-width:100%;
  }
  .single-post-thumbnail-left,.single-post-thumbnail-right{
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .commentlist .comment .vcard
  {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .commentlist .comment .vcard img
  {
    width: 20%;
  }
  .commentlist li.comment .comment-body::after
  {
    content: '';
    display: block;
    clear: both;
  }
}
.siteside li ul,.siteside li ul li ul{
  width:100%;
  position:relative;
  opacity:1;
  visibility:visible;
  top:0;
  right:0;
  background-color:#222;
  overflow:hidden;
}
.siteside .sub-menu{
  display:none
}
.siteside{
  right: -100%;
  position:fixed;
  transition-duration:0.3s;
  top:0;
  width:50%;
  background:#333;
  max-height:100%;
  min-height:100%;
  z-index:999999;
  overflow-y:auto;
  overflow-x:hidden;
}
.siteside li,.siteside li ul li{
  width:100%;
  margin:0;
  padding:0;
  border-bottom:none;
}
.siteside li a{
  color:#fff;
  text-align:right;
  margin:0;
  border-bottom:1px solid #222 !important;
}
.sitesideopen{
  right:0;
}
.siteside li.current_page_item a{
  background-color:#111;
}
