.red {
    padding: 15px;
    color: #ff0000;
    background: #FFF;
}

.green {
    padding: 15px;
    color: #18710f;
    background: #FFF;
}

.bold {
    font-weight:800;
}


.is-invalid {
    border: 1px #e70623 solid !important;
}
.is-valid {
    border: 1px #00d053 solid !important;
}

.is-invalid ~ .invalid-feedback{
    display: block;
}

.invalid-feedback {
    display: none;
    width: 100%;
    color: #dc3545 !important;
    background: #FFF !important;
}


.text-block
{
  line-height: 1.6;
  max-width: 100%;
}

.text-block img
{
  max-width: 100%;
}

.profile-list-label1
{
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
}

.profile-list-input1
{
  margin-top: 4px;
}


.table-bordered {
  border: 1px solid #dee2e6;
  border-collapse: collapse;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #dee2e6;
}

.table-bordered .text-center {
    text-align: center !important;
}

.table-bordered .text-right {
    text-align: right !important;
}

.img_wite
{
  filter: brightness(0) saturate(100%) invert(97%) sepia(3%) saturate(781%) hue-rotate(82deg) brightness(107%) contrast(97%);
}
  
/* patch */
input.input_p {
    height: 52px;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid var(--color-gray-200);
} 

input.noarows::-webkit-outer-spin-button,
input.noarows::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

/* Firefox */
input[type=number].noarows {
  -moz-appearance: textfield;
}



.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-container table {
  width: 100%;
  min-width: 480px;
}


a.pers_mess_top
{
  position: relative;
}

a.pers_mess_top:hover img 
{
    /*box-shadow: 2px 7px 20px #00000057; */
    background: #ffbebe;
}
    
.pers_mess_top span.pers_mess_top_counter
{
    position: absolute;
    top: -1px;
    right: 12px;
    /* height: 24px; */
    background: #e70623;
    color: #fff;
    padding: 1px 3px;
    /* padding-top: 1px !important; */
    border-radius: 4px;
    /* margin-left: 2px; */
    /* margin-top: 2px; */
    /* position: relative; */
    line-height: 1;
}

.pers_mess_top_wrap, .pers_mess_top_wrap_mob
{
    color: #000;
    font-weight: normal;
    font-size: 14px;
    position: absolute;
    right: 0;
    /*text-align: center */;
    width: 320px;
    /* border: 1px solid #0000004d; */
    border-radius: 7px;
    padding: 12px 6px 6px;
    top: 43px;
    box-shadow: 2px 7px 20px #00000057; 
    background: #f5f5f5;
    z-index:500;
    margin: 0 !important;
}

.pers_mess_top_wrap_mob
{
  width: 320px;
  right: -66px;  
}

.pers_mess_top_wrap .pers_mess_top_read, .pers_mess_top_wrap .pers_mess_top_unread
{ 
  border-bottom: 1px solid #0000004d;
  padding-bottom:5px;
}

.pers_mess_top_wrap .pers_mess_top_date
{
 margin-top: 6px; 
 margin-left: 24px;
 line-height: 1;
 font-size: 14px;

}


.pers_mess_top_wrap_mob_wrap
{
  position: absolute;
  right: 122px;
  top: 18px;
}

@media (min-width:1280px) {
  .pers_mess_top_wrap_mob_wrap
  {
    display:none;
  }
}
  
.pers_mess_top_wrap_mob .pers_mess_top_date
{
 margin-top: 12px; 
 margin-left: 24px;
 line-height: 1.5;
 font-size: 14px;
}

.pers_mess_top_wrap p
{
    color: #000 !important;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.pers_mess_top_wrap_mob p
{
    color: #000 !important;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.pers_mess_top_wrap a.btn_1, .pers_mess_top_wrap_mob a.btn_1
{
    padding: 6px;
    width: max-content;
    color: #FFF;
    background: var(--color-amber-600);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    transition: all 0.4s;
    text-decoration: none;    
}   



.pers_mess_top_wrap .pers_mess_top_read p, .pers_mess_top_wrap .pers_mess_top_read .pers_mess_top_date
{
     font-size: 12px;
}
