.form-control {
    /* display: block; */
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.5;
    border: 0;
    background-color: #F8F8F8;
    height: 50px;
    border-radius: 10px;
    padding-left: 10px;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}
form {
    display: block;
    margin-top: 0em;
}

.form-group {
    margin-bottom: 1rem;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}

.user {
    flex-basis: calc(10% - 10px);
    margin-right: 10px;
}

.user img {
    max-width: 50px;
    width: 100%;
    height: 50%;
    border-radius: 50px;
}

.media-body {
    -ms-flex: 1;
    flex: 1;
}

.mb-1, .my-1 {
    margin-bottom: .25rem!important;
}

.mt-0, .my-0 {
    margin-top: 0!important;
}

h5, h5 {
    font-size: 1.25rem;
}

.btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
    cursor: pointer;
}

.btn-link {
    font-weight: 400;
    color: #007bff;
    text-decoration: none;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.text-danger {
    color: #dc3545!important;
}

.user-words {
    padding: 20px;
    background-color: #F8F8F8;
    border-radius: 10px;
}

.user-words p {
    font-weight: 300;
    margin: 0;
}

.name-time .name {
    font-weight: 500;
}

.name-time .name p {
    line-height: 20px;
    margin-bottom: 10px;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
}

.card-title {
    margin-bottom: .75rem;
}
.card-text p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.btn-primary {
    color: #fff !important;
    background-color: #212529;
    border-color: #212529;
    margin-bottom: 20px;
}

.name-time .time {
    font-weight: 300;
    font-size: 14px;
    color: #9D9D9D;
}

.name-time .time span {
    line-height: 20px;
    margin-bottom: 10px;
}

.fade:not(.show) {
    opacity: 0;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-open {
    overflow: hidden;
}

.modal-backdrop.show {
    opacity: .5;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999999;
    display: none;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.fade {
    transition: opacity .15s linear;
}

.modal.fade .modal-dialog {
    transform: translate(0,-50px);
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    background-color: #FFF;
}
@media (min-width: 576px){
    .modal-dialog {
        max-width: 500px;
        margin: 6.75rem auto;
    }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.h5, h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group {
    margin-bottom: 1rem;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: .3rem;
    border-bottom-left-radius: .3rem;
}

.btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
    margin: 5px;
}

.btn-outline-secondary {
    color: #212529;
    border-color: #212529;
    margin-left: 2px;
}

.btn-outline-success {
    color: #28a745;
    border-color: #28a745;
}

.btn-outline-success:hover {
    color: #fff !important;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-outline-secondary:hover {
    color: #fff !important;
    background-color: #212529;
    border-color: #212529;
}

.btn:hover {
    color: #212529;
    text-decoration: none;
}

.form-field button {
    margin-left: auto;
    display: block;
}

#more  {display:  none;}

fieldset, label { margin: 0; padding: 0; }
h1 { font-size: 1.5em; margin: 10px 0; }

/****** Style Star Rating Widget *****/
.rating {
  border: none;
}

.rating.flex-box {
    align-items: center;
    font-size: 13px;
}

.rating > input { display: none; }
.rating > label:before {
  margin: 5px;
  font-size: 1.25em;
  font-family: FontAwesome;
  display: inline-block;
  content: "\f005";
}

.rating > .half:before {
  content: "\f089";
  position: absolute;
  right: -19px;
}


.rating > label {
  color: #ddd;
 float: right;
 position: relative;

}
.half.active, .full.active{
    color: #E9CA1D; 
}
/***** CSS Magic to Highlight Stars on Hover *****/

.rating > input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #E9CA1D;  } /* hover previous stars in list */

.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label { color: #FFED85;  }


fieldset#ratingLabels {
    width: 100%;
    max-width: 150px;
    margin-left: -10px;
}
  
fieldset#ratingLabels:after {
    content: "";
    display: block;
    clear: both;
}

 
@media (min-width: 601px) {
    .name-price {
        flex-basis: 60%;
        width: 60%;
    }
}

@media (max-width: 680px) {
    .single-product-main-container .single-product-info-container .left-col .product-accordion-container .ad-info-container {
        flex-direction: column;
    }
    .ad-info-item.flex-box {
        margin-left: 0 !important;
    }
    .single-product-main-container .single-product-info-container .left-col .product-accordion-container .ad-info-container .ad-info-item p.ad-info-title {
        font-weight: 500;
    }
}


@media (max-width: 1150px) {
    .user-information p {
        justify-content: flex-start !important;
    }
    .single-product-stock-info {
        padding: 20px !important;
    }
}
@media only screen and (max-width: 500px) {
    .ad-info-item.flex-box {
        flex-direction: column;
    }
    .single-product-main-container .single-product-info-container .left-col .user-main-information-container { padding: 20px; }
}

.flex-span{
    flex-wrap: wrap;
}

.product.no-shore {
    display: none !important;
}

.posted-ads a {
    font-size: 14px;
}

/* Fix checkbox label hover accessibility issue */
.type-radio.form-field.flex-box label:hover,
.form-field.flex-box label:hover {
    background-color: transparent !important;
    color: inherit !important;
}

.type-radio.form-field.flex-box label:hover a,
.form-field.flex-box label:hover a {
    color: #F68120 !important;
    text-decoration: underline;
}

/* Ensure buttons maintain proper hover states */
.bs-btn.saveBtn:hover {
    background-color: #F68120 !important;
    color: #fff !important;
}

.bs-btn.d-blue-btn:hover {
    background-color: #0f1229 !important;
    color: #fff !important;
}

