@media only screen and (max-width: 991px) {
  /* ------------------------------- Banner Slider ----------------------------- */
  .cms-home #banner-slider-carousel,
  .cms-index-index #banner-slider-carousel {
    padding-top: 162px;
  }
  .cms-home #banner-slider-carousel .owl-dots,
  .cms-index-index #banner-slider-carousel .owl-dots {
    display: block;
    top: 100%;
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  .cms-home .slide-mobile,
  .cms-index-index .slide-mobile {
    background-color: #F2F2F2;
  }
  .cms-home .bannerslider_right,
  .cms-index-index .bannerslider_right {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .cms-home .bannerslider_right .items,
  .cms-index-index .bannerslider_right .items {
    padding: 14px 15px;
    border-right: 8px;
    box-shadow: 0px 13.0688px 10.0172px rgba(0, 0, 0, 0.0380927), 0px 2.90982px 3.62304px rgba(0, 0, 0, 0.027443);
    display: flex;
  }
  #header-panel-wrapper {
    right: 15px;
  }
  /* ------------------------------- ./ Banner Slider -------------------------- */
  /*--------------------------------custom layout product detail page -------------------------------- */
  .course-details {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .catalog-product-view #maincontent {
    padding-top: 45px;
  }
  /*-------------------------------- wishlist -------------------------------- */
  .form-wishlist-items .product-item-info {
    border: 1px solid #efefef;
    border-radius: 4px;
    min-height: 60px;
    padding: 0;
    overflow: hidden;
  }
  .form-wishlist-items .product-item-info > div > div {
    padding: 10px 0;
  }
  .form-wishlist-items .product-item-info .box-market {
    padding-left: 15px !important;
  }
  .form-wishlist-items .product-item-info .box-market .actions-primary {
    margin-top: 0;
  }
  .form-wishlist-items .product-item-info .box-market .handle-counter {
    display: flex;
    position: absolute;
    top: 150%;
    right: 0;
    margin-right: -15px;
  }
  .form-wishlist-items .product-item-info .box-market .handle-counter .label {
    padding-right: 10px;
  }
  .form-wishlist-items .product-item-info .box-market .handle-counter .qty {
    max-width: 40px;
  }
  .form-wishlist-items .product-item-info .box-market .tocart {
    padding: 5px 0;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .form-wishlist-items .product-item-info .box-market .tocart:disabled {
    background: transparent;
    color: #CCCCCC;
  }
  .form-wishlist-items .product-item-info .box-market::before {
    content: '';
    width: 1px;
    background-color: #E6E7E8;
    position: absolute;
    top: -5px;
    left: 0;
    bottom: -5px;
  }
  .form-wishlist-items .product-items {
    width: auto !important;
  }
  .form-wishlist-items .product-items .product-item {
    width: 100%;
  }
  /*-------------------------------- home page -------------------------------- */
  .bannerslider_right .d-grid .learn-more {
    margin-top: 0;
    padding-left: 5px;
  }
  .bannerslider_right .d-grid .items img {
    width: auto;
    height: 20px;
  }
  .home-blog-section .col-lg-4 img {
    width: auto !important;
    height: 120px;
    overflow: hidden;
    border-radius: 5px 0px 0px 5px;
  }
  .home-blog-section .content div:nth-child(odd) {
    padding-left: 0;
    padding-right: 0;
  }
  .home-blog-section .content div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
  }
  .home-blog-section .content .blog-item .col-8 {
    padding-left: 15px;
  }
  /*---------------------------catalog filter for mobile on screen  991px and down----------------------*/
  .dropdown-content {
    display: none;
  }
  .toolbar-products {
    width: 100%;
  }
  .modes .modes-mode {
    margin: unset !important;
  }
  .modes .modes-mode i {
    font-size: 25px !important;
  }
  .filter-375 {
    margin-top: 0;
  }
  .container {
    max-width: 100%;
  }
  .main-catalog-mobile {
    position: absolute;
    z-index: 222;
    top: 0;
    left: 0;
    margin-top: 0;
    overflow: hidden;
    padding-bottom: 70px;
    background: #fff;
  }
  .catalog-mobile .dropdown-content {
    display: block !important;
  }
  .icon-title .filter-count .delete {
    display: block !important;
    font-size: 25px !important;
  }
  .icon-title .filter-count .aa {
    display: none;
  }
  .open-filter span.clear-filter {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 26px;
    color: #9B9B9B !important;
    margin-left: 0px !important;
    white-space: nowrap;
  }
  .open-filter span.title-filter {
    text-align: center;
    width: 100%;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    margin: 0;
  }
  .mobi-filter-count {
    display: flex !important;
    justify-content: space-between;
  }
  .card-header {
    border: none;
  }
  .mobile-clear {
    position: absolute !important;
    right: 25px !important;
    top: -15px !important;
  }
  .main-filter-product h3,
  .main-filter-product h4 {
    margin-left: 0.25rem;
    font-size: 1.25rem;
  }
  .filter-open-footer-mobile {
    display: none !important;
  }
  .clear-span {
    display: none;
  }
  .hidden-img img {
    display: none !important;
  }
  #maincontent {
    min-height: auto;
  }
  .catalogsearch-result-index .left-catalog::after,
  .page-with-filter .left-catalog::after {
    border: 0;
  }
  .before-selection-filter {
    display: block !important;
  }
}
@media only screen and (max-width: 767px) {
  .form-wishlist-items .product-item-info .box-market .tocart {
    border: none;
  }
}
@media only screen and (max-width: 639px) {
  .table-wrapper {
    border-top: 1px solid #cccccc;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) {
    border: none;
    display: block;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > thead > tr > th {
    display: none;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody {
    display: block;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr {
    display: block;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr td {
    border-bottom: none;
    border-top: none;
    display: block;
    padding: 5px 10px;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr td.price {
    text-align: left;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr td.price .price-excluding-tax {
    float: right;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr th {
    border-bottom: none;
    display: block;
    padding: 5px 10px;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr td[data-th]:before {
    padding-right: 10px;
    content: attr(data-th) ': ';
    display: inline-block;
    color: #111111;
    font-weight: 700;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr th[data-th]:before {
    padding-right: 10px;
    content: attr(data-th) ': ';
    display: inline-block;
    color: #111111;
    font-weight: 700;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr > th {
    background-color: #f6f6f6;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) tbody > tr > td:first-child {
    padding-top: 15px;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) tbody > tr > td:last-child {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 15px;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) tbody > tr > td.col.qty {
    text-align: left;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) tbody > tr > td.col.qty span {
    float: right;
  }
  .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison).additional-attributes tbody td:last-child {
    border: none;
    padding: 0 0 5px;
  }
  .table-wrapper .table:not(.totals):not(.table-comparison) tfoot {
    display: block;
  }
  .table-wrapper .table:not(.totals):not(.table-comparison) tfoot tr {
    display: flex;
    justify-content: space-between;
  }
  .table-wrapper .table:not(.totals):not(.table-comparison) tfoot tr:first-child th {
    padding-top: 20px;
  }
  .table-wrapper .table:not(.totals):not(.table-comparison) tfoot tr:first-child td {
    padding-top: 20px;
  }
  .table-wrapper .table:not(.totals):not(.table-comparison) tfoot .mark {
    box-sizing: border-box;
    float: left;
    text-align: left;
    width: 70%;
  }
  .table-wrapper .table:not(.totals):not(.table-comparison) tfoot .amount {
    box-sizing: border-box;
    float: left;
    text-align: right;
    width: 30%;
  }
  .table-wrapper .table:not(.totals):not(.table-comparison) tfoot .grand.totals {
    font-size: 1.6rem;
  }
  .table-wrapper .table:not(.totals):not(.table-comparison) tfoot .grand.totals .amount {
    padding-bottom: 10px;
  }
  .mp-reward-horizontal .mp-reward-tier-info .mp-reward-tier-name {
    position: absolute;
    top: -35px;
    left: -15px;
    width: 80px;
    text-align: center;
    font-size: small;
  }
  #mp-reward-milestone-tier.mp-reward-horizontal .mp-reward-step-end {
    width: 60px;
  }
  #my-orders-table tfoot .mp_earn,
  #my-orders-table tfoot .subtotal,
  #my-orders-table tfoot .shipping,
  #my-orders-table tfoot .grand_total {
    display: flex !important;
    justify-content: space-between;
  }
}
