/* Extra small devices (portrait phones, less than 576px) */

@media (max-width: 320px) {
  .dealviewall a {
    padding-top: 5px;
  }
  .bannerDiv p > span {
    font-size: 12px;
  }
  .section1-small {
    height: 420px !important;
  }
  .headerOne {
    line-height: 18px !important;
    font-size: 14px !important;
  }
  .viewAll a {
    font-size: 8px;
    line-height: 20px;
  }
  .pagination-container {
    display: flex;
    flex-direction: column;
    justify-content: unset;
    margin-top: 0px !important;
  }
  .pagination-div .page-link,
  .pagination-div .pagination-arrow {
    font-size: 12px !important;
  }
  .pagination-div span {
    font-size: 16px !important;
  }
  .pagination {
    justify-content: flex-end;
  }
}

@media (max-width: 580px) {
  .section1-small {
    height: 398px;
  }
  .pagination-div {
    flex-direction: row;
  }
  .parallelogram {
    width: 40px;
  }
}

@media (max-width: 640px) {
  .dealviewall a {
    font-size: 10px;
    padding-top:5px;
  }
  .mainContent h2 span {
    font-size: 1rem;
  }
  .mainContent .headerOne{
    line-height:22px;
  }
  .mainContent h2 span::after {
    width: 72px;
    height: 2px;
  }
  .popDealDiv {
    max-width: 100% !important;
  }
  .container-md {
    min-width: 100%;
    max-width: 100%;
    padding: 0 !important;
  }
  .bannerDiv h1 {
    line-height: 2.2rem;
    font-size: 1.5rem;
  }
  .bannerDiv p > span {
    color: white;
    padding: 0 0.5rem;
    position: relative;
  }
  .headerOne {
    line-height: 31px;
    font-size: 1.1rem;
  }
  .login-left {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .login-left {
    padding: 3.25rem 2.5rem;
  }
  .parallelogram {
    width: 40px;
  }
  .buyerviewmore {
    font-size: 12px;
  }
  .buyerviewmore:hover {
    font-size: 12px;
  }
  .square_banner, .right-banner-content, .square_banner img{
    height:235px!important;
  }

}

/* Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) and (max-width: 767.98px) {
  .container-md {
    min-width: 100%;
    max-width: 100%;
    padding: 0 !important;
  }
  .login-left {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .login-left {
    padding: 3.25rem 2.5rem;
  }
  .mainContent h2 span {
    font-size: 1rem;
  }
  .popDeal-percent {
    font-size: 1rem;
    color: white;
    line-height: 1rem;
    font-weight: 600;
  }
  .popDealDiv {
    padding: 10px;
  }
  .number-font {
    font-size: 22px;
    line-height: 50px;
  }
  .parallelogram {
    width: 40px;
  }
}

/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) and (max-width: 991.98px) {
  .login-left {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .login-left {
    padding: 3.25rem 2.5rem;
  }
  .popDeal-percent {
    font-size: 1.3rem;
    color: white;
    line-height: 1.7rem;
    font-weight: 600;
  }
  .headerOne {
    font-size: 1.3rem;
  }

  .number-font {
    font-size: 22px;
    line-height: 50px;
  }
  .parallelogram {
    display: none;
  }
  .popDealshadow,
  .popDealcontent,
  .popDealbox {
    width: 130px;
  }
  .sufin-panel img{
    max-height:220px;
  }
}

/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) and (max-width: 1199.98px) {
  .popDeal-percent {
    font-size: 18px;
    line-height: 22px;
  }
  .number-font {
    font-size: 22px;
    line-height: 50px;
  }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
.ad-panel-section, .prom-panel-section{
  overflow-x: auto;
  white-space: nowrap;
  display: block;
  padding-bottom: 15px;
}
.ad-panel, .prom-panel{
  display: inline-block;
  box-sizing: content-box;
  min-width: 368px;
}
.ad-panel img, .prom-panel img {
  min-width: auto!important;
  min-height: auto!important;
  max-width: 368px;
  max-height: 196px;
}
}
/* Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
}

@media (min-width: 1700px) {
  .section1-medium {
    /* height: calc(100vh - 301px); */
  }
}

/* fixes for safari browser */

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  /* Safari only override */
  ::i-block-chrome,
  .infoIcon {
    position: unset !important;
  }
}

@media (max-width: 639px) {
  .left-menu-panel .dropdown-submenu > a:after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid !important;
    border-right: 0.3em solid transparent !important;
    border-bottom: 0 !important;
    border-left: 0.3em solid transparent !important;
    margin-top: 13px !important;
  }
  .left-menu-panel .dropdown-menu li .dropdown-menu {
    position: static !important;
    width: 100%;
  }
  .entity-name{
    max-width:49%!important;
  }
  
}

/* offline payment receipt css for add another order starts */
.submit-cancel-btn-wrapper {
  float: right;
}
/* offline payment receipt css for add another order ends   */
@media (max-width: 767px) {
.entity-name{
  max-width:68%;
}
.company-logo img{
  max-width:100% !important;
  }
  .company-logo{
    margin-bottom:8px;
  }
  .sufin-panel img{
    max-height:197px;
  }
  .countBuyer .container{
    padding:0!important;
  }
  .section-title span{
    font-size:16px;
    line-height:21px;
    word-break: break-word;
  }
  .section-title{ 
    max-width:75%;
  }
  .ad-panel img, .prom-panel img{
    width:100%;
    /* max-width:344px;*/
    max-height:174px; 
    min-width:344px!important;
    min-height:174px;
    }
   
}
/* end */
@media only screen and (min-width: 1024px){
  .view-all-tiles .col-lg {
    flex: 0 0 20%;
    max-width: 20%;
}

}

@media (max-width: 991px) {
  .middle-section{
    margin-top:89px !important;
  }
  .horizontal-scrollable{
    overflow-x: auto;
    white-space: nowrap;
    display: block;
    padding-bottom: 15px;
  }
  .horizontal-scrollable .company-logo{
    display: inline-block;
  }
  }
  @media (max-width: 767.98px) {
  .category-mobile-spacer{
    padding-bottom: 0.5rem;
  }
}

/* Media query code for Featured Brands/OEM Brands with carousel in desktop and slider for mobile-tab */
@media (max-width: 767.98px) {
  .category-mobile-spacer{
    padding-bottom: 0.5rem;
  }
  .horizontal-scrollable1{
    overflow-x: auto;
    white-space: nowrap;
    display: inline-block;
    padding-bottom: 15px;
  }
  /* .featured_tiles{
    width:auto !important;
  } */
  .featuredListingWrap{
    display: inline-block;
  }
}