/* Mobile */
@media screen and (min-width: 320px) and (max-width: 520px){
  .ftr-4-box {
    width: 100%;
    float: none;
    margin: 0;
    padding: 15px 0;
  }
  .page-template-template-home-page .header{
    position: static;
    background-color: var(--first-theme-color);
  }
  .header p, .header a.phn{
    display: inline-block;
  }
  .header .phn-box{
    text-align: center;
  }
}

/* Mobile Portrait View */
@media screen and (max-width: 600px) {
	.admin-bar .sticky-head{
	top: 0px;
	}
}

@media screen and (max-width:767px) {
  .header{
    padding:15px;
  }
  .slider-box,.header-info,.header p,.toggle-nav{
    text-align: center;
  }
  .slider-box p,
  .catwrapslider .owl-prev, .catwrapslider .owl-next{
    display: none;
  }
  .slider-box h1{
    font-size: 20px;
  }
  .owl-dots{
    bottom: 50px;
  }
  .slider-box h3{
    font-size: 25px;
  }
  .wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 textarea{
    width:100%;
  }
  .header-info .border-right, .header-info .time{
    margin-top: 20px;
    border-right: none !important
  }
  .slider-img-color, .slidesection img{
    height: 300px !important;
  }
  .breadcrumb a{
    margin-bottom: 10px;
  }
  .slider-box{
    left: 10%;
    right: 10%;
  }
  tr.wc-block-cart-items__row {
    gap: 0.4em;
  }
  td.wc-block-cart-item__total{
    padding-left: 0px !important;
  }
  li.wc-block-grid__product{
    max-width:100% !important;
    float:none;
  }
  .slider-box h1 a{
    font-size: 23px;
  }
  .boxlayout{
    width: 270px;
  }
  .serach_inner form.search-form label{
    width: 86%;
  }
  .search-box {
    margin-top: 30px;
  }
}

@media screen and (min-width: 768px) and (max-width: 782px){
  .toggle-nav button{
    margin-top: 20px !important;
  }
} 

@media screen and (min-width: 768px) and (max-width: 900px){
  .slider-box{
    left: 15%;
    right: 15%;
  }
  .slider-box h1{
    font-size: 32px;
  }
  td, th{
    padding: 0;
  }
  h1.site-title, p.site-title{
    font-size: 20px;
  }
  .postsec-list.grid .post, .postsec-list.four-col .post{
    padding: 10px;
  }
  tr.wc-block-cart-items__row {
    gap: 1em;
  }
  li.wc-block-grid__product{
    max-width: 48% !important;
    float: left;
    clear: both;
    margin: 0 1% 2.992em;
    flex: 1 0 48% !important;
  }
  .slider-box h1 a{
    font-size: 32px;
  }
  .boxlayout{
    width: 650px;
  }
}

@media screen and (max-width: 1000px){
  .main-nav ul ul, .main-nav .sub-menu{
    opacity: 1;
  }
  .main-nav ul ul{
    background:none;
  }
  .main-nav ul ul a{
    color: #fff;
  }
  .main-nav .sub-menu{
      margin-left: 25px;
  }
  .main-nav li ul{
    border:none;
    box-shadow: none;
    border-top: none !important;
  }
  .main-nav .sub-menu li{
    border-bottom: none;
  }
  .toggle-nav button {
    background: transparent;
    border: solid 2px #fff;
    color: #fff;
    font-size: 18px;
    padding: 10px;
    margin: 8px 0;
  }
  .sidenav {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: -110%;
    overflow-x: hidden; 
    transition: 0.5s top ease-in-out;
    overflow-y: scroll;
    background: var(--first-theme-color);
    opacity: 0.9;
    visibility: hidden; 
  }
  body.show-main-menu .sidenav{
    visibility: visible;
    top: 0;
    transition: 0.5s top ease-in-out;
  }
  .sidenav .close-button {
    font-size: 36px; 
    display: block !important;
    margin: 10px;
  }
  .toggle-nav span{
    font-size:30px; 
    cursor:pointer; 
    text-align: right;
  }
  .main-nav ul ul li,.menubar .nav ul li,.toggle-nav{
    display: block;
  }
  .main-nav ul li a{
    padding: 10px;
    margin: 5px 10px;
  }
  .main-nav ul ul{
    position: static; 
    width: 100%;
  }
  .main-nav ul ul a,.main-nav ul ul ul.sub-menu a{
    padding-left: 40px;
  }
  .main-nav li{
    display: block;
    border-bottom: solid 1px #fff;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1024px){
 .header p, .header a.phn{
  text-align: center;
  display: inline-block;
 }
 tr.wc-block-cart-items__row {
  gap: 1em;
  }
  .boxlayout{
    width: 870px;
  }
}