

.ad_section .ad_image {
    width: 120px;
    height:126px;
    border-radius: 16px;
}

.ad_section .ad_item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #DDD;
    cursor: pointer;
}

.ad_section .card .col-md-12:last-child .ad_item {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 0;
}

.ad_section .item1 {
    margin-top: 26px;
}

.ad_section .item1 , .ad_section .item2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad_section .dot_icon {
    display: block;
    width: 33px;
    height: 33px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.ad_section .active_span ,
.ad_section .un_active_span ,
.ad_section .pending_span ,
.ad_section .rejected_span {
    display: block;
    border-radius: 20px;
    width: 102px;
    text-align: center;
    margin: auto;
    margin-bottom: 13px;
}

.ad_section .active_span {
    color: #1662BE;
    border: 1px solid #1662BE;
}


.ad_section .un_active_span {
    color: #999;
    border: 1px solid #999;
}

.ad_section .pending_span {
    color: #FC9403;
    border: 1px solid #FC9403;
}

.ad_section .rejected_span {
    color: #D52341;
    border: 1px solid #D52341;
}

.ad_section .ad_link {
    display: flex;
    align-items: center;
    margin-left: 10px;
    z-index: 1;
}

.ad_section .ad_link_span {
    display: inline-block;
    margin-left: 9px;
    font-weight: 600;
    margin-bottom: 3px;
}

.ad_section .ad_price {
    font-size: 25px;
    color: #000;
}

.ad_section .ad_title {
    font-weight: normal;
    margin-bottom: 8px;
    margin-top: 9px;
}

.ad_section .card {
    padding: 40px 40px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 13px;
}

.ad_section .dot_icon_ul {
    position: absolute;
    top: 125%;
    left: 0;
    width: 140px;
    border-radius: 12px;
    background: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 8px 14px 1px;
    z-index: 9999999;
    display: none;
}


.ad_section .dot_icon_ul li {
    margin-top: 5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.ad_section .dot_icon_ul li span {
    display: inline-block;
    margin-right: 5px;
}

.ad_section .ads_filter , .category_details .ads_filter {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}


.ad_section .custom-select-wrapper , .category_details .custom-select-wrapper {
    position: relative;
}

.ad_section .custom-select , .category_details .custom-select {
    appearance: none;       /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 123px;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    font-size: 16px;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}


.fav_section .item1 {
    margin-top: 0 !important;
}

.fav_section .dot_icon {
    border: 1px solid #BD2323;
    background: #BD2323;
}

.fav_section .dot_icon i {
    color: #fff;
}

.ad_attribute_image {
    height: 100% !important;
    width: 100% !important;
    display: block !important;
    border-radius: 20px !important;
}

.ad_attribute_image_label {
    padding: 3px !important;
    border-radius: 20px !important;
    width: 145px !important;
    height: 135px !important;
}

#loading , #loading2 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it stays on top of other elements */
  }

  #loading .lds-default , #loading2 .lds-default {
    /* change color here */
    color: #1c4c5b
  }

  #loading .lds-default,
  #loading2 .lds-default,
  #loading .lds-default div ,
  #loading2 .lds-default div {
    box-sizing: border-box;
  }

  #loading .lds-default , #loading2 .lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }

  #loading .lds-default div , #loading2 .lds-default div {
    position: absolute;
    width: 6.4px;
    height: 6.4px;
    background: currentColor;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
  }

  #loading .lds-default div:nth-child(1) , #loading2 .lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 36.8px;
    left: 66.24px;
  }

  #loading .lds-default div:nth-child(2) , #loading2 .lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22.08px;
    left: 62.29579px;
  }

  #loading .lds-default div:nth-child(3) , #loading2 .lds-default div:nth-child(3)  {
    animation-delay: -0.2s;
    top: 11.30421px;
    left: 51.52px;
  }

  #loading .lds-default div:nth-child(4) , #loading2 .lds-default div:nth-child(4)  {
    animation-delay: -0.3s;
    top: 7.36px;
    left: 36.8px;
  }

  #loading .lds-default div:nth-child(5) , #loading2 .lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11.30421px;
    left: 22.08px;
  }

  #loading .lds-default div:nth-child(6) , #loading2 .lds-default div:nth-child(6)  {
    animation-delay: -0.5s;
    top: 22.08px;
    left: 11.30421px;
  }

  #loading .lds-default div:nth-child(7) , #loading2 .lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 36.8px;
    left: 7.36px;
  }

  #loading .lds-default div:nth-child(8) , #loading2 .lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 51.52px;
    left: 11.30421px;
  }

  #loading .lds-default div:nth-child(9) , #loading2 .lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62.29579px;
    left: 22.08px;
  }

  #loading .lds-default div:nth-child(10) , #loading2 .lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66.24px;
    left: 36.8px;
  }

  #loading .lds-default div:nth-child(11) , #loading2 .lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62.29579px;
    left: 51.52px;
  }

  #loading .lds-default div:nth-child(12) , #loading2 .lds-default div:nth-child(12)  {
    animation-delay: -1.1s;
    top: 51.52px;
    left: 62.29579px;
  }

  @keyframes  lds-default {
    0%, 20%, 80%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
  }

  /* Spin animation */
  @keyframes  spin {
      0% {
          transform: rotate(0deg);
      }
      100% {
          transform: rotate(360deg);
      }
  }


.select2-container {
    max-width: 100% !important;
    width: 100% !important;
}

.select2-container--default .select2-selection--single ,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 48px !important;
    border-radius: 10px !important;
    border-color: #ececec !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 50px !important;
    padding-top: 9px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 25% !important;
}

.is_active_fav {
    background-color: red !important;
}

.is_active_fav i {
    color: #FFF !important;
}

.showSweetAlert h2 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

.showSweetAlert .text-muted {
    margin-bottom: 10px !important;
}

.showSweetAlert .sa-button-container {
    direction: ltr;
}

.sweet-alert .sa-confirm-button-container .btn-primary {
    border-color: #499D3E !important;
    background-color: #499D3E !important;
}

.showSweetAlert .cancel {
    border-color: #D52341 !important;
    background-color: #D52341 !important;
}


/*
.add_new_ads_section .next-step {
    opacity: 1 !important;
    pointer-events: auto !important;
}
*/

.disabled_next_btn {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

.no-search .select2-search {
    display:none !important
}


.ad_section .ads_filter select , .category_details .ads_filter select {
    width: auto;
    height: 34px;
    padding: 0px;
    text-align: center;
    border-radius: 24px;
    margin-left: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.ads_filter .select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 20px !important;
    padding-left: 35px !important;
    padding-top: 4px !important;
}

.ads_filter .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: auto;
    left: 9px;
    top: 19% !important;
}

.ads_filter .select2-container--default .select2-selection--single,
.ads_filter .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 40px !important;
    border-radius: 20px !important;
    font-weight: normal !important;
    color: #777 !important;
}

.ads_filter .select2-container .select2-selection--multiple ,
.ads_filter .select2-container--default .select2-search--inline .select2-search__field {
    height: 40px !important;
}

.ads_filter .select2-container .select2-search--inline .select2-search__field {
    margin-top: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    max-width: 100px !important;
}

.ads_filter .select2-container--default .select2-selection--multiple {
    border-color:#ececec !important;
    border-radius: 20px !important;
}

.ads_filter .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding-right: 23px !important;
    padding-left: 20px !important;
    width: auto !important;
}

.ads_filter .select2-container {
    width: auto !important
}

.select2-selection__choice img {
    width: 30px !important;
    height: 20px !important;
    margin-right: 0 !important;
}

.select2-results__option img  {
    width: 50px !important;
    height: 50px !important;
}

.slider-arrow .slider-btn.slider-next i ,
.slider-arrow .slider-btn.slider-prev i {
    margin: 0;
}


@media(max-width:768px) {
    .select2-container--open .select2-dropdown {
      left: -25% !important;
    }
}



.mobile_profile_menu {
    display: none;
    position: fixed;
    top: 0px;
    height: calc(100%);
    z-index: 1;
    left: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background-color: #fcfafa;
    border-top: 1px solid #ddd;
    z-index: 9999999;
    padding-top: 20px;
}

.mobile_profile_menu .logout_link {
    background: transparent;
    margin-top: -15px;
}

.mobile_profile_menu .profile_icon_sub2 {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

.mobile_profile_menu .profile_icon_sub2 .span1 {
    display: none
}

.mobile_profile_menu .profile_icon_sub2 img {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.fixed_footer_mobile_menu li {
    cursor: pointer;
    border-bottom: 1px solid #DDD;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.fixed_footer_mobile_menu li .menu_left_item span {
    font-weight: bold;
    color: #000;
}

.fixed_footer_mobile_menu li:last-child {
    border-bottom: 0;
}








.chat-search-box {
    -webkit-border-radius: 0 3px 0 0;
    -moz-border-radius: 0 3px 0 0;
    border-radius: 0 3px 0 0;
    padding: .75rem 1rem;
  }

  .chat-search-box .input-group .form-control {
    -webkit-border-radius: 0 2px 2px 0;
    -moz-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
    border-left: 0;
  }

  .chat-search-box .input-group .form-control:focus {
    border-left: 0;
  }

  .chat-search-box .input-group .input-group-btn .btn {
    -webkit-border-radius: 2px 0 0 2px;
    -moz-border-radius: 2px 0 0 2px;
    border-radius: 2px 0 0 2px;
    margin: 0;
  }

  .chat-search-box .input-group .input-group-btn .btn i {
    font-size: 1.2rem;
    line-height: 100%;
    vertical-align: middle;
  }

  @media (max-width: 767px) {
    .chat-search-box {
        display: none;
    }
  }


  /************************************************
  ************************************************
                  Users Container
  ************************************************
  ************************************************/

  .users_list-container {
    position: relative;
    padding: 1rem 0;
    border-left: 1px solid #e6ecf3;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
  }


  /************************************************
  ************************************************
                      Users
  ************************************************
  ************************************************/

  .users_list {
    padding: 0;
  }

  .users_list .person {
    position: relative;
    width: 100%;
    padding: 10px 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f4f8;
  }

  .users_list .person:hover {
    background-color: #e6ecf3;
  }

  .users_list .person.active-user {
    background-color: #e6ecf3;
  }

  .users_list .person:last-child {
    border-bottom: 0;
  }

  .users_list .person .user {
    display: inline-block;
    position: relative;
    margin-left: 10px;
  }

  .users_list .person .user img {
    width: 48px;
    height: 48px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
  }

  .users_list .person .user .status {
    width: 10px;
    height: 10px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    background: #e6ecf3;
    position: absolute;
    top: 0;
    left: 0;
  }

  .users_list .person .user .status.online {
    background: #9ec94a;
  }

  .users_list .person .user .status.offline {
    background: #c4d2e2;
  }

  .users_list .person .user .status.away {
    background: #f9be52;
  }

  .users_list .person .user .status.busy {
    background: #fd7274;
  }

  .users_list .person p.name-time {
    font-weight: 600;
    font-size: .85rem;
    display: inline-block;
  }

  .users_list .person p.name-time .time {
    font-weight: 400;
    font-size: .7rem;
    text-align: left;
    color: #8796af;
  }

  @media (max-width: 767px) {
    .users_list .person .user img {
        width: 30px;
        height: 30px;
    }
    .users_list .person p.name-time {
        display: none;
    }
    .users_list .person p.name-time .time {
        display: none;
    }
  }


  /************************************************
  ************************************************
                  Chat right side
  ************************************************
  ************************************************/

  .selected-user {
    width: 100%;
    padding: 0 15px;
    min-height: 64px;
    line-height: 64px;
    border-bottom: 1px solid #e6ecf3;
    -webkit-border-radius: 3px 0 0 0;
    -moz-border-radius: 3px 0 0 0;
    border-radius: 3px 0 0 0;
  }

  .selected-user span {
    line-height: 100%;
  }

  .selected-user span.name {
    font-weight: 700;
  }

  .chat-container {
    position: relative;
    padding: 1rem;
  }

  .chat-container .chat-left,
  .chat-container .chat-right {
    display: flex;
    flex: 1;
    flex-direction: row;
    margin-bottom: 10px;
  }

  .chat-container li .chat-avatar img {
    width: 48px;
    height: 48px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
  }

  .chat-container li .chat-avatar {
    margin-left: 20px;
  }

  .chat-container .chat-right {
    justify-content: flex-end;
  }

  .chat-container .chat-right > .chat-avatar {
    margin-right: 20px;
    margin-left: 0;
  }

  .chat-container li .chat-name {
    font-size: .75rem;
    color: #999999;
    text-align: center;
  }

  .chat-container li .chat-text {
    padding: .4rem 1rem;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #ffffff;
    font-weight: 300;
    line-height: 150%;
    position: relative;
  }

  .chat-container li .chat-text:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 10px;
    right: -20px;
    border: 10px solid;
    border-color: transparent transparent transparent #ffffff;
  }

  .chat-container .chat-right > .chat-text {
    text-align: left;
  }

  .chat-container .chat-right > .chat-text:before {
    left: -20px;
    border-color: transparent #ffffff transparent transparent;
    right: inherit;
  }

  .chat-container li .chat-hour {
    padding: 0;
    margin-bottom: 10px;
    font-size: .75rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    margin: 0 15px 0 0;
    margin-bottom: 30px;
  }

  .chat-container li.left_li .chat-hour {
    justify-content: start !important;
    margin: 0;
    margin-bottom: 30px;
  }

  .chat-container li.right_li .chat-hour {
    justify-content: end !important;
  }

  .chat-container li .chat-hour > span {
    font-size: 16px;
    color: #9ec94a;
  }

  .chat-container .chat-right > .chat-hour {
    margin: 0 0 0 15px;
  }

  textarea.form-control {
    background: #FFF;
    height: auto !important;
    border: 0;
  }

  .btn_search {
    padding: 10px 15px;
    margin-top: 3px !important;
  }

    .chat-box .chat-text img {
        max-width: 200px !important;
    }

  @media (max-width: 767px) {
    .chat-container .chat-left,
    .chat-container .chat-right {
        flex-direction: column;
        margin-bottom: 30px;
    }
    .chat-container li  .chat-avatar img {
        width: 32px;
        height: 32px;
    }
    .chat-container .chat-left .chat-avatar {
        margin: 0 0 5px 0;
        display: flex;
        align-items: center;
    }
    .chat-container .chat-left .chat-hour {
        justify-content: flex-end;
    }
    .chat-container .chat-left .chat-name {
        margin-right: 5px;
    }
    .chat-container .chat-right .chat-avatar {
        order: -1;
        margin: 0 0 5px 0;
        align-items: center;
        display: flex;
        justify-content: left;
        flex-direction: row-reverse;
    }
    .chat-container .chat-right .chat-hour {
        justify-content: flex-start;
        order: 2;
    }
    .chat-container .chat-right .chat-name {
        margin-left: 5px;
    }
    .chat-container li .chat-text {
        font-size: .8rem;
    }
  }

  .chat-form {
    padding: 15px;
    width: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #ffffff;
    border-top: 1px solid white;
  }

  ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  .card {
    border: 0;
    background: #f4f5fb;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    margin-bottom: 2rem;
    box-shadow: none;
  }

  .chatContainerScroll {
    min-height: 250px;
    max-height: 300px;
    overflow-y: auto;
    padding-left: 20px;
  }

  .chat-container li .chat-hour > span {
    padding-left: 5px;
  }

  .left_chat_side_bar {
    background: #FFF;
    border: 1px solid #DDD;
  }

.chat-text:has(audio) {
    width: 100% !important;
}


.btn-info:hover ,
.btn-check:active+.btn-info,
.btn-check:checked+.btn-info,
.btn-info.active, .btn-info:active,
.show>.btn-info.dropdown-toggle ,
.btn-check:focus+.btn-info,
.btn-info:focus {
    color: #fff !important;
    background-color: #AF8D83 !important;
    border-color: #AF8D83 !important;
}
