﻿.search-container {
    /* background-color: #f7f8f9 !important;
    z-index: 999;
    position: fixed;
    padding-top: 100px;
    width: 100%;*/

    margin-top: 1em !important;
}

.ui.dropdown > .dropdown.icon:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    /* SVG data-uri (đã encode dấu # thành %23) */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'><path fill='%23999999' d='M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414'/></svg>") !important;
}
.ui.selection.dropdown > .dropdown.icon {
    top: 0.7em !important;
    right: 0.4em !important;
}
.ui.grid > .row > .column {
    padding-right:0!important;
}
.ui.grid + .grid {
    margin-top: 0!important;
}
.header-search{
    display:flex!important;
    align-items:center!important;
    font-size:18px;
    font-weight:500;
}
.search-container input {
    padding: 0.5em 1em !important;
}
.ui.selection.dropdown.dropdown-list {
    padding: 0.5em 2.1em 0.5em 1em !important;
    display: flex !important;
    align-items: center !important;
    min-height: 20px!important;
    height:32px;
}
    .ui.selection.dropdown.dropdown-list > .dropdown.icon {
        padding: 0.5em !important;
    }



.item-broker {
    padding: 1rem !important;
    border-radius: 8px !important;
    border: 1px solid rgba(34, 36, 38, 0.15) !important;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px !important;
    background: #fff !important;
}
.item-broker .image{
    width:120px !important;
    height:120px !important;
   

}
    .item-broker .image img{
        border-radius: 50% !important;
    }
.content-broker{
    display:flex!important;
}
.content-left, .content-right {
    flex : 1 !important;
}
.content-right {
    font-size: 12px;
    color: #505050;
}
    .content-right ul{
        margin:0 auto !important;

    }
    .content-right li::marker {
        color: var(--sub-btn-color);
    }
.content-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
    .content-left .header {
        font-size: 16px;
        line-height: 20px;
        color:black;
    }
    .content-left .description {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        color: #505050;
    }
        .content-left .description .phone {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
        }
        .content-left .description .address {
            display: flex;
            gap: 6px;
            font-size: 13px;
        }
.button-sendmail {
    width: fit-content;
    background-color: #fff!important;
    border: solid 1px #ccc!important;
    border-radius:6px!important;
    font-weight:500!important;
}
ul li::marker {
    color: var(--sub-btn-color);
}
ul li a {
    cursor: pointer;
    color: #2c2c2c!important;
    font-size:13px;
}
h3{
    font-size:16px;
    font-weight:500;
    cursor:pointer;
}
    h3 a {
        color: black;
    }
.btn-secondary {
    height: 32px !important;
    align-items: center!important;
    display: flex!important;
    width: fit-content;
    font-weight:500 !important;
}
.total-item {
    font-weight: 500;
    color: #E03C31;
}
.placeholder-broker {
    gap: 16px;
    align-items: flex-start;
    display:none ;
}
.ph-image {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
}
    .ph-image .ui.placeholder {
        border-radius: 50% !important;
        width: 100%;
        height: 100%;
    }
.ph-line {
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
    .ph-line .line.header {
        margin-bottom: 1em;
    }
.search-results {
    padding: 0.5rem 0;
}
#pagination-container {
    margin-top: 1rem;
}
.ui.selection.dropdown.dropdown-list .text {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal !important;
}
.ui.grid > [class*="five column"].row > .column.column-search {
    width: 60% !important;
}
@media screen and (max-width: 768px) {
    /*.search-container .ui.stackable.grid:first-child { 
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }*/
    .ui.container.search-container {
        margin-left: 0em !important;
        margin-right: 0em !important;
        border:none!important;
        background:#fff!important;
    }
    .search-container .ui.grid .ui.stackable.grid {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
    .header-search{
        display:none!important;
    }
    .search-container .ui.grid {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
    .grid-dropdown-broker {
       /* overflow: auto hidden;
        scrollbar-width: none;
        grid-template-columns: 1fr !important;
        display: grid !important;*/
    }
    .ui.grid > .row.row-dropdown {
        flex-wrap: wrap !important;
        width: max-content !important;
       padding-bottom:0!important;
    }
    .ui.grid > [class*="five column"].row > .column {
        width: 33% !important;
        padding-left: 7px;
        padding-bottom: 14px;
    }
    .row-dropdown .column:first-child, .row-dropdown .column:nth-child(4) {
        padding-left: 0 !important;
    }
        .ui.grid > [class*="five column"].row > .column.column-search {
            width: 100% !important;
        }
    .item-broker {
        flex-direction: row !important;
        gap:1rem;
    }
        .item-broker .image {
            width: 90px !important;
            height: 90px !important;
        }
        .item-broker .image img {
            width: 90px !important;
            height: 90px !important;
        }
    .content-right{
        display:none!important
    }
    .ui.grid .ui.stackable.grid.grid-results {
        margin-left: 0rem !important;
        margin-right: 0rem !important;
        margin-bottom: 1rem!important;
    }
    .ui.items:not(.unstackable) > .item.item-broker {
        margin: 1em 0em;
        padding: 0.5rem !important;
    }
    .ui.items:not(.unstackable) > .item > .image + .content.content-broker {
        padding: 0em;
    }

}
 