@media screen and (max-width: 1200px) {
  .atbs_sld_yt_wrapper {
    height: 56vh!important;
  }
}

@media screen and (max-width: 991px) {

  select.custom-select.xcat {
    padding: 0.25rem 1.6rem 0.25rem 0.5rem;
    font-size: .875rem;
    height: calc(1.5em + 0.875rem + 3px);
  }

  .atbs_sld_yt_wrapper {
    height: 46vh!important;
  }

  .nav-actions {
    margin-left: 0; 
  }

  #searchBox {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
  }

  .cart-modal ul.cart_items {
      max-height: none;
      /*overflow: hidden;*/
  }

  .cart-modal > .modal-dialog {
      min-width: calc(100vw - 1.25rem);
      max-width: calc(100vw - 1.25rem);
  }

  .cart-modal > .modal-dialog > .modal-content {
      margin-bottom: auto;
  }

  .cart-modal > .modal-dialog > .modal-content > .modal-body {
      min-height: calc(100vh - 2rem - 71px);
      max-height: calc(100vh - 2rem - 71px);
  }

  .cart-modal.has-footer > .modal-dialog > .modal-content > .modal-body {
      min-height: calc(100vh - 4rem - 72px);
      max-height: calc(100vh - 4rem - 72px);
  }

  .pdfModal .ui-modal__container {
      width: 100vw;
  }

  .navbar-search {
    width: auto;
    margin-left: auto;
    margin-right: 0;
  }

  .cart-modal.cartc .fixed-cart-totals-lg {
    padding-bottom: 6rem!important;
  }

  .order-modal.dual .modal-dialog {
    max-width: 500px!important;
  }

  .article-modal > .modal-dialog {
      height: 98vh;
      width: 98vw;
      top: 1vh;
  }

  .article-modal > .modal-dialog > .modal-content > .modal-body {
      min-height: calc(98vh - 2.5rem - 1px);
      max-height: calc(98vh - 2.5rem - 1px);
  }

}

@media screen and (max-width: 767px) {

  .xcat_wrapper:before {
    border-top: 19px solid rgb(255 255 255);
    border-bottom: 19px solid rgb(255 255 255);
  }

  .atbs_sld_yt_wrapper {
    height: 36vh!important;
  }

  .cart-modal > .modal-dialog {
      min-width: 100%;
      max-width: 100%;
      top: 1vh;
  }

  .dropdown-item { 
    padding: .45rem 1rem;
  }

  .cgr_wrapper {
    height: auto;
  }

  #boundList {
    height: auto;
    margin-top:0;
    padding-bottom: 13rem;
  }

  .categs_thumb {
    width: 60px; 
    height: 60px; 
    display: inline-block;
  }

  .eta_container {
    border: 0;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    padding: .25rem .5rem;
    margin: .125rem 0;
  }

  .repair_modal .repsidebar {
    height: calc(45vh - 4.5rem);
    max-height: calc(45vh - 4.5rem);
  }

  .repair_modal .repitems {
    height: calc(45vh - 1rem);
    max-height: calc(45vh - 1rem);
  }

  .container {
    padding-right: 10px;
    padding-left: 10px;
  }
  .wrapper {
    /*padding-bottom: 34px;*/
  }

  ::-webkit-scrollbar {
    width: 4px;
  }

  .price_wrap .custom_pop.p_offer {
    top: auto;
    bottom: 100%;
    right: 0;
    width: 100%;
  }
  
  .ui-toolbar__left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }

  .ui-toolbar__right {
    margin-left: 0;
  }

  .ui-toolbar__body {
    -webkit-box-flex: 0;
        -ms-flex-positive: 0;
            flex-grow: 0;
    margin-left: auto;
  }

  .ui-tabs__body {
    padding: .5rem;
  }

  ul.src_items.headl {
    max-height: 340px;
    overflow-y: auto;
  }

  hr {
      margin-top: .5rem;
      margin-bottom: .5rem;
  }

  ul.src_items li a span.ui-icon {
    font-size: .85rem;
  }

  .ui-icon-button.ui-icon-button--size-large, .ui-icon-button.ui-icon-button--size-large .ui-icon-button__focus-ring {
    height: 3rem;
    width: 3rem;
  }

  .drop-element {
    max-width: 320px;
  }

  .history_container {
    width:100%;
    border-top-left-radius: 0;
    /*max-height: 60%;*/
    background: rgb(243, 243, 243);
  }

  .history_container .car_hist .ui-collapsible__header {
    padding: .25rem 1rem;
  }

  .history_container .car_hist .ui-collapsible__body {
    padding: 0rem;
  }

  /*articole*/
  .card-image-rama {
  }

  .card-descr {
    min-height: auto;
    margin-bottom: .4rem;
  }

  .filters-list {
    min-height: auto;
    max-height: 100%;
  }

  .sidebar-wrap {
    max-width: 320px;
    margin-right: auto!important;
    margin-left: auto!important;
  }

  .article-card {
    max-width: 480px;
    margin-right: auto!important;
    margin-left: auto!important;
  }

  .sh_delv{
    position: relative;
    font-style: italic; 
    font-size: 65%;
  }

  .info_icon_stock {
    color: rgb(255, 255, 255);
    right: auto;
    left:0;
  }

  /*cart*/
  .cart_modal .ui-modal__container {
    width: 100vw;
    max-width: 390px;
    height: 100vh;
  }

  .cart_art_descr {
    height: auto;
  }

  .cart_modal .cnt {
    padding: 0.5rem;
  }

  .minicart_qty {
    /*width: 80%;*/
  }

  .cart-dispo-container {
    /*position: relative;*/
    /*text-align: center;*/
  }

  .price_wrap.cart {
    margin-right: auto;
  }

  .cart_qty_wrapper{
    /*position: absolute;*/
    margin-bottom: .5rem;
    left: 0;
    right: 0;
    top:100%;
  }

  .pdf-object {
    height: auto;
    width: auto;
    max-width: 100%;
  }

  .breadcrumb-item+.breadcrumb-item::before {
      padding-right: .1rem;
      padding-left: .1rem;
  }

  .breadcrumb-item {
    font-size: 12px;
  }

  .footer .list_img {
      max-width: 110px;
      max-height: 30px;
      height: 30px;
  }

  .item-wrapper {
    font-size: 1.25rem;
  }

  ul.src_items li a {
    white-space: pre-wrap;
  }

}

@media screen and (max-width: 575px) {

  .atbs_sld_yt_wrapper {
    height: 26vh!important;
  }

  .card {
    border-radius: 0;
    border: 0;
    -webkit-box-shadow: -1px 0px 2px 0px rgba(0,0,0,.13);
            box-shadow: -1px 0px 2px 0px rgba(0,0,0,.13);
  }
  .card.offers {
    margin-right: 0;
    border-radius: 0px;
    -webkit-box-shadow: -1px 0px 2px 0px rgba(0,0,0,.13);
            box-shadow: -1px 0px 2px 0px rgba(0,0,0,.13);
  }

  .article_modal.ui-modal:not(.has-footer) .ui-modal__body {
      padding: .25rem;
  }

  .logo-eo {
    max-height: 45px;
    max-width: 80px;
  }
  .footer {
    margin-bottom: 61px;
  }

  .categs_thumb {
    width: 50px; 
    height: 50px; 
    display: inline-block;
    margin: 0;
    margin-right: .5rem; 
  }

  .custom_pop.stock {
    left: -13px;
    font-size: 12px;
  }

  .cart-modal > .modal-dialog > .modal-content > .modal-body {
    padding: 0;
    min-height: calc(100vh - 3.5rem - 1px);
    max-height: calc(100vh - 3.5rem - 1px);
  }

  .mx-datepicker-popup {
    max-width: 100%;
    background-color: transparent!important;
    -webkit-box-shadow: none!important;
            box-shadow: none!important;
    border: 0!important;
  }

  .mx-range-wrapper {
    max-width: 100%;
  }

  .mx-calendar {
    background: #ffffff;
    border: 1px solid #c7c7c7;
    -webkit-box-shadow: none!important;
            box-shadow: none!important;
    float: right!important;
  }

  .mx-calendar:last-child {
    margin-top: -1px;
  }

  .article-modal > .modal-dialog > .modal-content > .modal-body {
      min-height: calc(98vh - 7rem - 1px);
      max-height: calc(98vh - 7rem - 1px);
  }
}

@media screen and (min-width: 1201px) {
  .left_sidebar {
      max-width: 320px;
  }
  .art_wrapper {
      max-width: 1320px;
  }
}

@media screen and (min-width: 992px) {
  .cart_modal .ui-modal__container {
      width: 100vw;
  }
}

@media screen and (min-width: 992px) and (min-height: 850px) {
  .fixed-cart-totals-lg {
    position: fixed;
    right: 0;
    margin-right: .25rem;
  }
  .cart-modal.cartc .fixed-cart-totals-lg {
    position: absolute;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .qty-arrows {
    width: 1.5rem;
    -webkit-transform: scale(1.25);
        -ms-transform: scale(1.25);
            transform: scale(1.25);
  }

  .qty-arrows:hover { 
    -webkit-transform: scale(1.5); 
        -ms-transform: scale(1.5); 
            transform: scale(1.5);
  }
}