/* Mobile */
@media screen and (min-width: 320px) and (max-width: 520px) {
  .ftr-4-box {
    width: 100%;
    float: none;
    margin: 0;
    padding: 15px 0;
  }
}

/* Mobile Portrait View */
@media screen and (max-width:767px) {

  .social-icons,
  .header-top,
  .logo,
  #services_section h3 {
    text-align: center;
  }

  .slider-img-color, .slidesection img{
    height: 300px !important;
  }

  .breadcrumb a{
    margin-bottom: 10px;
  }

  .page-template-template-home-page .header {
    position: static;
    transform: none;
  }

  .pagemore {
    margin: 10px 0;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="email"],
  .wpcf7 textarea {
    width: 100%;
  }

  .slider-box p,
  .slider-box span {
    display: none;
  }

  .slider-box {
    right: 20%;
    text-align: center;
    left: 20%;
  }

  .slider-box h1 {
    font-size: 20px;
  }
  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: 22px;
  }
  .boxlayout{
    width: 270px;
  }
  .copywrap .copywrap-info{
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .copywrap .copywrap-info p,
  .copywrap .footer-social {
    flex: 1 1 100%; 
    justify-content: center;
    align-items: center;
  }
  .copywrap .footer-social{
    margin-top: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 900px) {
  .page-template-template-home-page .header {
    position: static;
  }

  .slider-box {
    right: 30%;
  }

  .slider-img-color,
  .slidesection img {
    height: 400px;
  }
  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: 30px;
  }

  .boxlayout{
    width: 650px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .main-nav a {
    padding: 9px;
  }

  .slider-box {
    top: 65%;
    right: 30%;
  }
  tr.wc-block-cart-items__row {
    gap: 1em;
  }
  .boxlayout{
    width: 870px;
  }
}

@media screen and (max-width: 1000px) {

  .main-nav ul ul,
  .main-nav .sub-menu {
    opacity: 1;
  }

  .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 {
    font-weight: 500;
    background: #000000;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 19px;
  }

  .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: 35px;
    display: block !important;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .sidenav #site-navigation {
    width: 100%;
  }

  .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: 8px;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    display: block;
    float: none;
    margin: 5px 0;
    border-right: none;
  }

  .main-nav ul li ul li a:before {
    content: "\00BB \00a0";
  }

  .main-nav ul.sub-menu a:hover {
    padding-left: 20px !important;
  }

  .main-nav ul ul {
    position: static;
    width: 100%;
    background: transparent !important;
    border-top-width: 0px;
    border-bottom-width: 0px;
    box-shadow: none;
  }

  .main-nav ul ul a {
    border-bottom: none;
    padding-left: 40px;
  }

  .main-nav ul ul ul.sub-menu a {
    padding-left: 40px;
  }

  .main-nav li {
    padding: 0 15px;
    display: block;
    border-bottom: solid 1px #fff;
  }

  .main-header-box {
    padding-bottom: 15px;
  }

  #mySidenav {
    text-align: left;
    display: inline;
  }

  .main-menu {
    padding: 0em;
  }

  .main-nav ul.sub-menu>li>a:before {
    content: unset;
  }

  .main-nav ul.sub-menu>li>a:hover:before {
    opacity: 0;
    left: 0px;
    width: 0px;
  }
}
@media screen and (max-width: 600px){
  .page-template-template-home-page .header.sticky-head, .admin-bar .sticky-head{
    top: 0;
  }
}
@media screen and (min-width: 601px) and (max-width: 782px) {
  .page-template-template-home-page .header.sticky-head,.admin-bar .sticky-head{
    top: 44px;
  }
}
@media screen and (max-width: 320px){
  .woocommerce ul.products li{
    width: 100% !important;
  }
}
@media screen and (min-width:1700px) and (max-width:1900px){
  .container{
    max-width: 1520px;
  }
}
@media screen and (min-width:1920px) {
  .container{
    max-width: 1620px;
  }
}