@import url('person.css');


/* Widzew Łódź custom 4.24.07: widok profilu sędziego */
#referee #projectheading,
#referee .jsm-profile-personal-heading {
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

#referee #projectheading table,
#referee #projectheading .table {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

#referee #projectheading .contentheading,
#referee #projectheading td,
#referee #projectheading th,
#referee .jsm-profile-personal-heading {
    text-align: left !important;
}

.jsm-profile-toprow-referee {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: clamp(32px, 4vw, 70px) !important;
    width: 100% !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
}

.jsm-profile-toprow-referee::before,
.jsm-profile-toprow-referee::after {
    display: none !important;
    content: none !important;
}

.jsm-profile-toprow-referee .jsm-profile-photo-col,
.jsm-profile-toprow-referee .jsm-profile-data-col {
    float: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
}

.jsm-profile-toprow-referee .jsm-profile-photo-col {
    flex: 0 0 clamp(260px, 32vw, 360px) !important;
    width: clamp(260px, 32vw, 360px) !important;
    max-width: clamp(260px, 32vw, 360px) !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.jsm-profile-toprow-referee .jsm-profile-photo-col img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    height: auto !important;
}

.jsm-profile-toprow-referee .jsm-profile-data-col {
    flex: 0 1 clamp(300px, 36vw, 430px) !important;
    width: clamp(300px, 36vw, 430px) !important;
    max-width: clamp(300px, 36vw, 430px) !important;
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
}

.jsm-profile-toprow-referee .jsm-profile-data-col h1,
.jsm-profile-toprow-referee .jsm-profile-data-col h2,
.jsm-profile-toprow-referee .jsm-profile-data-col h3,
.jsm-profile-toprow-referee .jsm-profile-data-col h4,
.jsm-profile-toprow-referee .jsm-profile-data-col address,
.jsm-profile-toprow-referee .jsm-profile-data-col p,
.jsm-profile-toprow-referee .jsm-profile-data-col div,
.jsm-profile-toprow-referee .jsm-profile-data-col span,
.jsm-profile-toprow-referee .jsm-profile-data-col strong,
.jsm-profile-toprow-referee .jsm-profile-data-col i {
    text-align: left !important;
}

.jsm-profile-photo-caption {
    display: block !important;
    width: 100% !important;
    margin: 0.55rem auto 0 !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

@media (max-width: 767px) {
    .jsm-profile-toprow-referee {
        display: block !important;
        max-width: 100% !important;
        gap: 0 !important;
    }

    .jsm-profile-toprow-referee .jsm-profile-photo-col,
    .jsm-profile-toprow-referee .jsm-profile-data-col {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .jsm-profile-toprow-referee .jsm-profile-data-col {
        margin-top: 1.2rem !important;
    }
}
