@media (max-width: 543px) {

  #search {
    width: 80%;
  }

  #cart .dropdown-menu {
    width: 265px;
  }

  .footer-container {
    padding: 20px 0;
  }

  .footer-container .footer-block {
    margin-bottom: 15px !important;
  }

}

@media (max-width: 767px) {
  .common-home header {
    position: unset;
    z-index: 99;
  }

  .header-top {
    margin: 10px 0;
  }

  .header-top #logo a {
    font-size: 18px;
  }

  .search-container .search-description {
    padding: 20px;
  }

  #menu {
    margin-bottom: 0;
    display: inline-block;
    float: left;
  }

  .navbar-header {
    display: block;
  }

  .navbar-header button {
    border: none;
    background-color: transparent;
    color: #161616;
    padding: 0px;
    cursor: pointer;
    margin-right: -7px !important;
    margin-top: 12px !important;
  }

  .navbar-header button .fa {
    font-size: 24px;
  }

  #menu ul {
    margin: 0;
    padding: 0;
  }

  #mobile-menu {
    display: block;
  }

  .header-middle #menu {
    display: none;
  }

  body.active .sidenav {
    overflow-y: scroll;
  }

  .sidenav .close-nav {
    background-color: #161616;
    padding: 12px 15px;
    width: 100%;
    display: inline-block;
    color: #fff;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: bold;
  }

  .closebtn, .closebtn:hover, .closebtn:focus {
    color: #fff;
  }

  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    transition: 0.5s;
    padding-top: 60px;
    overflow-x: hidden;
    clear: both;
    height: 100%;
    background-color: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #mySidenav .collapse {
    display: block;
    box-shadow: none;
    padding: 0;
    visibility: visible;
  }

  #mySidenav .nav > li > a {
    padding: 12px;
    background-color: transparent;
    color: #161616;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
  }

  #menu div.dropdown-menu {
    margin-left: 0 !important;
    padding-bottom: 10px;
    background-color: transparent;
  }

  #menu .dropdown-inner {
    display: block;
  }

  #menu div.dropdown-inner > ul.list-unstyled {
    display: block;
  }

  #menu .dropdown-inner a {
    width: 100%;
    color: #161616;
    border-bottom: none;
  }

  #menu .see-all {
    color: #161616;
  }

  .system-breadcrumb .breadcrumb {
    padding: 20px 0;
  }

  .product-card:hover .product-image .button-group, .product-card:active .product-image .button-group, .product-card:focus .product-image .button-group {
    display: none;
  }

  .product-card .caption .button-group {
    display: block;
  }

  .product-card:hover .rating {
    opacity:1;
  }

  .module-product-by-category .product-category-module-tabs .nav-tabs a {
    padding: 10px 14px;
  }

  .product-box h3, .module-title {
    font-size: 30px;
  }

  .category-page .product-box {
    margin-top: 0;
  }

  .product-box .item {
    margin-bottom: 20px;
  }

  .product-box .item:last-child {
    margin-bottom: 10px;
  }

  .product-info-page .product-tabs .nav-tabs li {
    margin: 6px 6px;
  }

  .product-info-page .product-tabs .nav-tabs a {
    padding: 10px 25px;
  }

  .product-info-page .product-tabs .nav-tabs {
    margin-bottom: 15px;
  }

  .footer-powered .powered-text {
    text-align: center;
    padding: 9px 0;
  }

  /* Blog Related changes Start */

  .btn-continue-reading {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .blog-comment .media-left {
    padding-right: 10px;
  }

  .blog-comment .author-block {
    padding: 6px 12px;
  }

  .blog-comment .media-heading p.pull-right {
    font-size: 12px;
  }

  /* Blog Related changes End */

  .footer-top-content #input-subscriber-email {
    margin-bottom: 20px;
  }

}

@media (min-width: 768px) {

  .header-middle.fixed {
    position: fixed;
    top: 0px;
    background: #ffffff;
    width: 100%;
    z-index: 999;
    -moz-box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 500ms ease 0ms;
    left: 0;
    right: 0;
    padding: 15px 0;
  }

  #mobile-menu {
    display: none;
  }

  .header-middle #mySidenav .dropdown-menu {
    margin-left: 0 !important;
  }

  #cart.open .dropdown-menu, #top .open .dropdown-menu, .curlan.open .dorpss, .header-account.open .dropdown-menu {
    visibility: visible;
    opacity: 1;
    filter: alpha(opacity=100);
    margin-top: 15px;
    background: #fff;
    border: 1px solid #ededed;
    border-top-color: rgb(237, 237, 237);
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: rgb(237, 237, 237);
    border-top-style: solid;
    border-top-width: 1px;
    border-top: 3px solid #E4853F;
    padding: 0px;
    border-radius: 4px;
  }

  #cart .dropdown-menu, #top .dropdown-menu, .curlan .dorpss, .header-account .dropdown-menu {
    visibility: hidden;
    display: block;
    filter: alpha(opacity=0);
    margin-top: 50px;
    margin: 10px 0 0;
    margin-top: 10px;
    margin-top: 10px;
    border: 1px solid #eee;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    visibility: hidden;
    display: block;
    opacity: 0;
    filter: alpha(opacity=0);
    margin-top: 50px;
    border-radius: 0px;
    box-shadow: none;
    transition: all 0.35s ease-out 0s;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
    padding: 0px;
  }

  #menu .nav > li > a {
    color: #161616;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 14px;
    font-weight: normal;
    font-weight: 500;
  }

  #menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: scale(1, 1);
  }

  #menu .dropdown-menu {
    border-top: 3px solid #E4853F;
    border-radius: 4px;
    opacity: 0;
    display: block;
    transform-origin: 0 0 0;
    transform: scale(1, 0);
    transition: all 500ms ease 0s;
  }

  .product-card .caption .button-group {
    display: none;
  }
}

@media (min-width: 992px) {
  .footer-container .collapse {
    display: inherit;
    visibility: inherit;
  }
}
