﻿#JudgeFieldListItems, #ProvinceListItems, #CompetenceListItems, #JudgeRegionListItems {
    width: 100% !important;
}

header {
    width: 100%;
    height: 228px;
    margin-bottom: 20px;
    position: relative;
    background: url('../img/header_bg2.png') repeat-x;
    background-size: contain;
}


    header img {
        width: 100%;
        height: 200px;
        background: url('../img/header.png') no-repeat;
        background-size: contain;
        background-position: center;
        margin-top: 28px;
    }
.expert-Imageview {
    display: inline;
    width: 120px;
    float: right;
}
/*
.expert-view {
    border: 1px solid #eee;
    height: 275px;
    padding: 14px;
    margin-top: 10px;
    border-radius: 6px;
    box-shadow: 1px 1px 7px -2px;
}

    .expert-view .imageDiv {
        display: inline;
    }

    .expert-view img.img-circle {
        width: 120px;
        float: right;
    }

    .expert-view .infoDiv {
        padding: 5px;
        overflow-x: hidden;
        overflow-y: auto;
        height: 249px;
    }

    .expert-view strong {
        color: #333;
    }

    .expert-view .expert-view-ul > li {
        padding: 4px;
    }

        .expert-view .expert-view-ul > li li {
            list-style: circle;
        }*/
#searchButton {
    text-align: center;
}

.form-control {
    margin-bottom: 12px;
}

#divExpertList nav li {
    float: right;
}

.paginationDiv {
    text-align: center;
}

    .paginationDiv a.page-link {
        cursor: pointer;
        background-color: #e1e5e5;
    }

    .paginationDiv li.active a {
        background-color: #337ab7 !important;
    }

@media (max-width: 768px) {
    .expert-view img.img-circle {
        width: 70px;
    }
}
@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: right;
       
    }



    .expert-row {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
        font-size: 13px;
    }

        .expert-row.header {
            background-color: #cfe7ff;
            font-weight: bold;
            border-top: 1px solid #ddd;
        }

        .expert-row:nth-child(even):not(.header) {
            background-color: #fcfcfc;
        }

        .expert-row:hover:not(.header) {
            background-color: #f1f3f5;
        }
    ul.expert-competence-list,
    ul.expert-degree-list {
        list-style-type: disc !important; /* kill کردن list-style:none قبلی */
        list-style-position: outside !important;
        margin: 0 0 4px 0;
        padding-right: 18px; /* چون RTL است، فضا برای bullet سمت راست */
        padding-left: 0;
    }

        ul.expert-competence-list li,
        ul.expert-degree-list li {
            margin-bottom: 2px;
        }


    /* ردیف‌ها */
    .expert-row {
        padding: 8px 6px;
        border-bottom: 1px solid #eee;
        font-size: 13px;
    }

        .expert-row.header {
            background: #f8f9fa;
            font-weight: bold;
        }

    /* عکس در لیست */
    .expert-list-image {
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
        object-fit: cover;
        border-radius: 50%;
        border: 1px solid #ddd;
        margin: 4px auto;
    }

    /* متن اصلی کنار عکس */
    .expert-list-main {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .expert-list-name {
        font-weight: bold;
        margin-bottom: 2px;
    }

    .expert-list-mobile,
    .expert-list-field,
    .expert-list-date {
        font-size: 12px;
        line-height: 1.4;
    }

    /* صلاحیت‌ها و مدارک */
    .expert-list-extra {
        margin-top: 6px;
        font-size: 12px;
    }

    .expert-label {
        font-weight: bold;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    /* bullet دایره‌ای */
    .expert-competence-list,
    .expert-degree-list {
        list-style-type: disc;
        list-style-position: outside;
        margin: 0 0 4px 0;
        padding-right: 18px; /* RTL */
        padding-left: 0;
    }

        .expert-competence-list li,
        .expert-degree-list li {
            margin-bottom: 1px;
        }



    .view-toggle {
        margin-bottom: 10px;
    }

        .view-toggle .btn {
            border-radius: 5px;
            font-size: 13px;
            padding: 6px 14px;
            display: inline-block; /* دسکتاپ کنار هم */
            width: auto;
        }

            .view-toggle .btn i {
                margin-left: 4px;
            }

            .view-toggle .btn.active {
                border-radius: 5px;
                background-color: #28a745;
                border-color: #ccc;
                font-weight: bold;
                color: white;
            }

    /* فقط روی موبایل زیر هم و فول‌عرض شوند */
    @media (max-width: 767px) {
        .view-toggle .btn {
            display: block;
            width: 100%;
            margin-bottom: 3px;
            text-align: center;
        }


        expert-competence-list,
        .expert-degree-list {
            list-style: none !important; /* هر چی تم گفته، له کن */
            margin: 0 0 4px 0;
            padding-right: 14px; /* فضا برای گردالی سمت راست (RTL) */
            padding-left: 0;
        }

            .expert-competence-list li,
            .expert-degree-list li {
                position: relative;
                padding-right: 10px; /* فاصله متن از گردالی */
                margin-bottom: 2px;
            }

                /* گردالی توخالی قبل از هر li */
                .expert-competence-list li::before,
                .expert-degree-list li::before {
                    content: "";
                    position: absolute;
                    top: 8px; /* اگر لازم شد با فونت تنظیمش کن */
                    right: 0; /* چون RTL */
                    width: 6px;
                    height: 6px;
                    border-radius: 50%;
                    border: 1px solid #555;
                    background: transparent;
                    background: red
                }
    }


    .expert-list-main strong,
    .expert-label strong {
        font-weight: bold;
    }
}
