.restaurant{
    background-color: #f5f5f5;
}
.firms-l {
    width: 80.687%;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    box-shadow:  rgba(0, 0, 0, 0.23) 0px 6px 6px;
  }
  .entity-header-wrapper {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding: 30px 30px 0;
  }
  .company_logo {
    display: flex;
    width: 87px;
    height: 87px;
    line-height: 83px;
    margin-right: 20px;
    float: left;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 1px solid #dce2ee;
  }
  .company_logo img{
    max-height: 85px;
    max-width: 85px;
  }
  .entity-info-wrapper {
    max-width: calc(100% - 102px);
  }
  .listing-name-tag {
    text-overflow: ellipsis;
    white-space: wrap;
    overflow: none;
  }
  .service-entity h3{
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.4;
    text-overflow: ellipsis;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
  }
  h3 .c_name_head {
    font-weight: 600;
    color: #522B79;
  }
  .profile-tagline {
    line-height: normal;
    font-size: 16px;
    position: relative;
  }
  .profile-flex {
    min-height: 125px;
  }
  .profile-flex {
    display: flex;
    flex-direction: column;
    padding: 15px 30px;
  }
  .profile-short-info {
    margin: 0;
    line-height: 1.7;
    text-align: justify;
  }
  .linkbtn {
    height: 45px;
    text-transform: capitalize;
    border-radius: 25px;
    font-weight: 600;
    color: #fff;
    border: 1px solid #522B79;
    padding: 0 15px;
    text-align: center;
    background: #522B79;
    fill: #333;
    line-height: 2.75;
    display: block;
    margin-left: auto;
    margin-bottom: 20px;
    transition: color .1s cubic-bezier(.16,.08,.355,1),background .1s cubic-bezier(.16,.08,.355,1);
  }
  .linkbtn:hover {
    color: #522B79;
    background-color: #fff;
  }
  
  .linkbtn, .question-list li a {
    font-size: 16px;
    text-decoration: none;
  }


  .firms-r {
    width: 19.314%;
    border-left: 1px solid #dce2ee;
    padding: 30px;
    background-color: #fff;
    box-shadow:  rgba(0, 0, 0, 0.23) 0px 6px 6px;
  }
  .clearfix::before {
    display: table;
    content: " ";
  }
  .firms-services div {
    clear: both;
    position: relative;
    min-height: 34px;
    margin-bottom: 20px;
    line-height: 22px;
  }
  .firm{
    display: flex;
    align-items: center;
  }
  .firms-services div span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    float: left;
    background-color: #f5f5f5;
    color: #522B79;
    font-size: 14px;
    margin-right: 10px;
  }



  @media (max-width: 1024px){
  .firms-l, .firms-r {
    width: 100%;
  }
    .firms-l .linkbtn {
        display: block;
        max-height: 46px;
        margin-left: auto;
        margin-bottom: 0;
        align-self: center;
        padding: 0 30px;
    }
    .entity-header-wrapper h3{
      float: none;
      margin-top: 0;
      font-size: 20px;
    }
}

@media screen and (max-width: 767px){
    .entity-header-wrapper {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 100%;
    }
    .firms-l .linkbtn {
        width: 100%;
        margin-top: 20px;
    }
    .firms-l .linkbtn .old-btn{ 
        width: 100% !important;
        margin-top: 30px;
    }
    
    .profile-tagline {
        display: flex;
        flex-wrap: wrap;
        font-size: 15px;
      }

}
@media screen and (max-width: 480px) and (min-width: 360px){
    .entity-header-wrapper {
        max-width: calc(100%) !important;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
    }
 .entity-header-wrapper h3{
  font-size: 18px !important;
}
.profile-tagline {
    overflow-wrap: break-word;
    font-size: 11px;
  }
}










/* CART PAGE */









.cart{
    background-color: #f5f5f5;
}
.table.cart-list {
    margin: 0;
    overflow-x: scroll;
}
.table > thead {
    vertical-align: bottom;
}
.table.cart-list th{
    background-color: transparent;
    text-transform: uppercase;
    font-weight: normal;
    color: #522B79;
    border: 0;
    padding-top: 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #522B79;
}

.cart-list th:nth-child(1) {
    width: 60% !important;
}
.cart-list th:nth-child(2) {
    width: 15% !important;
}
.cart-list th:nth-child(3) {
    width: 12% !important;
}
.cart-list th:nth-child(4) {
    width: 15% !important;
    padding-left: 10px !important;
}
.cart-list td:nth-child(4) {
    width: 15% !important;
    padding-left: 10px !important;
}
.cart-list.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: rgba(0,0,0,0.045);
}
.table-striped > tbody > tr:nth-of-type(2n+1) {
    --bs-table-accent-bg: none;
}
.table.cart-list td {
    vertical-align: middle;
    border: 0;
    color: #111;
    width: auto !important;
}
.thumb_cart {
    width: 60px;
    height: 60px;
    overflow: hidden;
    margin-right: 10px;
    float: left;
    position: relative;
    background-color: #fff;
    padding: 5px;
    box-sizing: content-box;
    margin-left: 10px;
}
.thumb_cart img {
    width: 60px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) scale(1.1);
    -moz-transform: translate(-50%, -50%) scale(1.1);
    -ms-transform: translate(-50%, -50%) scale(1.1);
    -o-transform: translate(-50%, -50%) scale(1.1);
    transform: translate(-50%, -50%) scale(1.1);
}
.item_cart {
    float: left;
    width: 65%;
    /* margin-top: 25px;
    margin-left: 10px; */
    line-height: 1.3;
    font-weight: 500;
}
.table.cart-list td strong {
    font-weight: 500;
}
.table.cart-list td .numbers-row {
    background-color: #fff;
}
.numbers-row {
    position: relative;
    width: 100%;
    height: 40px;
    overflow: visible;
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    background-color: #fff;
    text-align: left !important;
}
input.qty2 {
    position: relative;
    width: 40px;
    height: 40px;
    text-align: center;
    left: 50%;
    background: none;
    padding: 5px;
    border: none;
    margin-left: -20px;
}
.inc {
    right: 0;
    top: 0;
}
.dec {
    left: 0;
    top: 0;
}
.button_inc {
    cursor: pointer;
    position: absolute;
    width: 33px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    z-index: 2;
    font-size: 26px;
    font-size: 1.625rem;
    font-weight: 300 !important;
    color: #999;
}
.table.cart-list td.options a {
    display: inline-block;
    margin-right: 10px;
}
.table.cart-list td.options a i {
    font-size: 18px;
    font-size: 1.125rem;
    color: rgb(219, 11, 11);
}

.btn_1.outline {
    border: 2px solid #522B79;
    color: #522B79;
    padding: 6px 20px;
    background: none;
    transition: all 0.3s ease 0s;
}
.btn_1.outline:hover {
    color: #fff;
    background: #522B79;
}
.text-end {
    text-align: right !important;
}
.btn_1.gray {
    border: 2px solid #522B79;
    color: #fff;
    background: #522B79 !important;
    padding: 6px 30px;
    background: none;
    transition: all 0.3s ease 0s;
}
.btn_1.gray:hover {
    color: #522B79;
    background: #fff !important;
}




.box_cart ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    font-weight: 500;
    font-size: 16px;
    font-size: 1rem;
}
.box_cart ul li span {
    float: left;
}
.box_cart ul li:last-child {
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: #522B79;
    font-size: 21px;
    font-size: 1.3125rem;
}
.checkout_btn{
    display: inline-block;
    text-align: center;
    padding: 10px 30px;
    background-color: #522B79 ;
    color: #fff;
    border: 1px solid #522B79;
    width: 100%;
    margin-left: 0px;
    transition: all 0.3s ease;
}
.checkout_btn:hover{
    background-color: #fff; 
    color: #522B79;
    border: 1px solid #522B79;
}







@media (max-width: 991px){
    .container {
        max-width: 100%;
      }
    .thumb_cart {
    display: none;
    }
    

}
@media (max-width: 575px){
    .cart_actions .btn_1 {
        width: 100%;
        margin-bottom: 15px;
    }
    .cart_actions .apply-coupon .form-control {
        margin: 0 0 5px 0;
    }
    .cart_actions .btn_1 {
        width: 100%;
        margin-top: 5px;
        margin-bottom: 15px;
    }
}
