
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================================
   Font
   ========================================================================== */

@font-face {
    font-family: 'FontAwesome';
    src: url('../font/FontAwesome.woff2?1697795982') format('woff2'), url('../font/FontAwesome.woff?1697795982') format('woff');
    font-weight: normal;
    font-style: normal;
}
/* ==========================================================================
   Layout
   ========================================================================== */

body {
    min-width: 1280px;
    z-index: 130;
}

body, input, textarea {
    color: black;
    font-family: arial;
    font-size: 0.625em;
}

a:link, a:visited {
    color: #858584;
}

a:hover, a:focus, a:active {
    outline: none;
    text-decoration: none;
}

strong {
    font-weight: bold;
}

i {
    font-style: italic;
}

img {
    max-width: 100%;
    height: auto;
}

.hidden {
    display: none;
}

.clear {
    clear: both;
}

.wrapper {
    width: 1280px;
    margin: 0em auto;
    position: relative;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
    padding-top: 1em;
    height: 9.6em;
    position: fixed;
    top: 0em;
    z-index: 200;
    width: 100%;
    background: #fff;
}

    .header .logo-wrapper {
        text-align: left;
    }

        .header .logo-wrapper .logo {
            position: relative;
            padding-right: 4em; /* réserve de l'espace pour l’icône mobile-menu */
            padding-left: 1em;
        }

        .header .logo-wrapper .baseline {
            position: absolute;
            top: 1em;
            left: 2em;
            right: 2em;
            margin-left: 20em;
            text-align: center;
            color: #000;
            font-weight: bold;
        }

            .header .logo-wrapper .baseline span {
                font-size: 1.8em;
                line-height: 25px;
            }

    .header .mobile-menu {
        display: none;
        position: absolute;
        top: 0em;
        right: 1em;
        text-align: right;
    }

        .header .mobile-menu a {
            text-decoration: none;
            font-size: 2em;
            color: #2c2775;
        }

            .header .mobile-menu a:before {
                font-family: 'FontAwesome';
                content: "\f0c9";
                font-size: 1.4em;
                line-height: 10px;
            }

            .header .mobile-menu a:hover {
                color: #ee3124;
            }

    .header .menu {
        position: absolute;
        top: 6em;
        right: 0em;
        left: 0em;
        text-align: right;
    }

        .header .menu li {
            display: inline-block;
            vertical-align: top;
            position: relative;
            list-style: none;
            background: #fff;
        }

            /* Level 1 list */
            .header .menu li a {
                text-transform: uppercase;
                display: block;
                line-height: 2.5714em;
                text-align: center;
                text-decoration: none;
                font-size: 1.4em;
                padding: 0em 1em;
            }

            .header .menu li.selected a,
            .header .menu li:hover a {
                color: #000;
            }

            /* Cancel CSS for level > 1 */
            .header .menu li ul {
                height: auto;
            }

                .header .menu li ul li {
                    float: none;
                    display: block;
                    border: 0px solid #fff;
                }

                    .header .menu li.selected ul li a,
                    .header .menu li ul li:hover a {
                        color: inherit;
                    }

                    .header .menu li ul li a {
                        padding: 0em;
                        text-align: left;
                        line-height: auto;
                    }

            /* level 2 list */
            .header .menu li ul {
                display: none;
                margin: 0em;
                padding: 0em;
                width: 150%;
                position: absolute;
                top: 3.6em;
                left: 0em;
                z-index: 140;
            }

                .header .menu li:hover ul li a,
                .header .menu li ul li {
                    border-top: 1px solid #e3e3e2;
                }

                    .header .menu li ul li a {
                        color: #fff;
                        padding-left: 1em;
                        position: relative;
                    }

                    .header .menu li ul li:hover {
                        background: #2c2775;
                        color: #fff;
                    }

            /* DropDown */
            .header .menu li ul {
                display: none;
            }

            .header .menu li:hover ul {
                display: block;
            }

        /* clearfix */
        .header .menu:after {
            content: ".";
            display: block;
            clear: both;
            visibility: hidden;
            line-height: 0;
            height: 0;
        }

    .header .menu {
        display: inline-block;
    }

@media (max-width: 1024px) {
    .header .logo-wrapper .baseline span {
        font-size: 1em;
    }
}

@media (max-width: 768px) {

    .header .logo-wrapper .baseline span {
        font-size: 0.9em;
    }

    .header .mobile-menu {
        display: block;
    }

    .header .menu {
        display: none; /* si tu veux cacher le menu sur mobile */
    }
}

@media (max-width: 480px) {
    .header .logo-wrapper .baseline span {
        font-size: 0.8em;
    }
}


/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding-bottom: 3em;
}

    .footer .menu {
        border-top: 10px solid #2c2775;
    }

        .footer .menu ul {
            float: right;
            padding-top: 0.5em;
            margin-right: 1em;
        }

            .footer .menu ul li {
                display: inline;
                font-size: 1.4em;
            }

                .footer .menu ul li a {
                    text-decoration: none;
                }

                    .footer .menu ul li a:hover {
                        text-decoration: underline;
                    }

                .footer .menu ul li:before {
                    content: "-";
                    padding: 0em 0.5em 0em 0.2em;
                }

                .footer .menu ul li:first-child:before {
                    content: "";
                    padding: 0em;
                }

/* ==========================================================================
   Main
   ========================================================================== */

.main {
    position: relative;
    margin-top: 10.6em;
}

    .main .flexslider {
        overflow: hidden;
        border: 0em solid #fff;
        box-shadow: none;
        background: #fff;
        margin-bottom: 0em;
        height: auto;
        max-width: 100%;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        -o-border-radius: 0px;
        border-radius: 0px;
    }

        .main .flexslider .slides {
            list-style-type: none;
            padding: 0em;
        }

            .main .flexslider .slides > li {
                margin-left: 0em;
            }

main .flex-direction-nav,
main .flex-direction-nav li,
main .flex-direction-nav a,
main .flex-control-nav,
main .flex-control-nav li,
main .flex-control-nav a {
    display: none !important;
    visibility: hidden !important;
}

.main .flex-control-nav {
    bottom: 1em;
}




    .main .flex-control-nav li {
        margin: 0 0.3em;
    }

.main .flex-control-paging li a {
    width: 1.1em;
    height: 1.1em;
    display: block;
    background: #2c2775;
    box-shadow: none;
    border: 0em solid #2c2775;
    z-index: 90;
    list-style: none !important;
}

    .main .flex-control-paging li a:hover {
        background: #fff;
        list-style: none !important;
    }

    .main .flex-control-paging li a.flex-active {
        background: #fff;
        list-style: none !important;
    }

.main .inline-content {
    display: none;
}

.main .box {
    padding: 1.6em;
    font-size: 1.5em;
}

    .main .box.blue {
        background-color: rgba(44, 39, 117, 0.9);
        color: #fff;
    }

        .main .box.blue a {
            color: #fff;
        }

    .main .box.white {
        background-color: rgba(255, 255, 255, 0.9);
    }

        .main .box.white p {
            line-height: 1.3; /* ou 24px, ou ce qui te convient */
        }


.main ul.box50 {
    list-style-type: none;
    padding: 0em;
}

    .main ul.box50 > li {
        display: inline-block;
        vertical-align: top;
        width: 48%;
        margin-left: 0em;
    }

        .main ul.box50 > li:last-child {
            float: right;
        }

.main h2 {
    font-size: 1.6em;
    text-transform: uppercase;
    font-weight: bold;
}

.main h3 {
    font-size: 1.3333em;
    font-weight: bold;
}

.main h4 {
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
}

.main ul {
    list-style-type: disc;
    padding: 0em 1em;
}

    .main ul > li {
        margin-left: 1em;
    }

.main p.blue,
.main span.blue,
.main strong.blue,
.main .white h2,
.main .white h3,
.main .white h4 {
    color: #2c2775;
}

.main .member {
    display: inline-block;
    width: 32%;
    margin-bottom: 2%;
    vertical-align: top;
}

    .main .member .member-photo {
        display: inline-block;
        width: 28%;
        vertical-align: top;
    }

        .main .member .member-photo img {
            border-left: 4px solid #fff;
        }

        .main .member .member-photo.busy img {
            border-color: #d63b18;
        }

        .main .member .member-photo.available img {
            border-color: #1f9316;
        }

    .main .member .member-detail {
        display: inline-block;
        width: 70%;
        vertical-align: top;
        font-size: 0.8em;
        line-height: 1.2em;
    }

        .main .member .member-detail a.email {
            display: inline-block;
            padding-top: 0.2em;
        }

        .main .member .member-detail strong {
            color: #676766;
        }

            .main .member .member-detail strong.blue {
                color: #2c2775;
            }

    .main .member .legend {
        line-height: 23px;
        margin: 0.7em 0em;
        text-transform: uppercase;
    }

        .main .member .legend span {
            display: inline-block;
            width: 23px;
            height: 23px;
            margin-right: 0.35em;
            vertical-align: top;
        }

        .main .member .legend .busy {
            background-color: #d63b18;
        }

        .main .member .legend .available {
            background-color: #1f9316;
        }

.main article {
    padding: 1em;
}

.main form {
    width: 22em;
    margin: 2em auto;
    color: #585857;
    padding-bottom: 2em;
}

    .main form h2 {
        margin-bottom: 2em;
    }

    .main form .error-msg {
        color: #c00;
        margin-bottom: 2em;
    }

    .main form .validation-msg {
        color: #0c0;
        margin-bottom: 2em;
    }

    .main form .field {
        margin-bottom: 0.5em;
    }

        .main form .field label {
            display: inline-block;
            width: 8em;
            margin-bottom: 0.25em;
        }

        .main form .field select,
        .main form .field input,
        .main form .field number,
        .main form .field textarea {
            font-size: 1em;
            border: 1px solid #585857;
            border-radius: 0.2em;
            background: inherit;
            padding: 0.2em;        
        }

        .main form .field textarea {
            width: 22.5em;
            height: 6em;
            padding: 0.2em;
            color: #000;
        }

        .main form .field.error label {
            color: #c00;
        }

        .main form .field.error input {
            border-color: #c00;
        }

        .main form .field.error textarea {
            border-color: #c00;
        }

        .main form .field input[type=text],
        .main form .field input[type=password] {
            min-width: 12em;
            padding: 0.2em;
            color: #000;
        }

            .main form .field input[type=text]:hover,
            .main form .field input[type=text]:focus,
            .main form .field input[type=text]:active,
            .main form .field input[type=password]:hover,
            .main form .field input[type=password]:focus,
            .main form .field input[type=password]:active {
                background: #fff;
            }

        .main form .field textarea:hover,
        .main form .field textarea:focus,
        .main form .field textarea:active {
            background: #fff;
        }

        .main form .field.checkbox {
            display: inline-block;
            vertical-align: top;
        }

            .main form .field.checkbox label {
                display: inline;
                width: auto;
            }

    .main form .submit {
        padding-top: 2em;
    }

        .main form .submit input {
            background-color: #2c2775;
            border: 1px solid #2c2775;
            color: #fff;
            cursor: pointer;
            font-size: 1em;
            padding: 0.2em 2em;
            border-radius: 0.2em;
        }

            .main form .submit input:hover {
                background-color: #fff;
                color: #2c2775;
            }

.main.restricted form .field {
    display: block;
}

    .main.restricted form .field a.login,
    .main.restricted form .field a.password {
        display: block;
        margin-right: 1em;
        padding-top: 0.2em;
        color: #2c2775;
    }

.main.restricted form.password {
    display: none;
}

.main.restricted_member,
.main.restricted_judge {
    color: #2c2775;
}

    .main.restricted_member a,
    .main.restricted_judge a {
        display: inline-block;
        width: 12em;
        background-color: #2c2775;
        border: 1px solid #2c2775;
        color: #fff;
        font-size: 1em;
        padding: 0.2em 2em;
        border-radius: 0.2em;
        text-decoration: none;
    }

        .main.restricted_member a:hover,
        .main.restricted_judge a:hover {
            background-color: #fff;
            color: #2c2775;
        }

    .main.restricted_member .status-wrapper {
        position: absolute;
        top: 4em;
        right: 3em;
        font-size: 1em;
        text-align: right;
    }

        .main.restricted_member .status-wrapper .status {
            font-size: 1.5em;
            line-height: 1.4em;
        }

            .main.restricted_member .status-wrapper .status a {
                width: auto;
                background: inherit;
                border: 0px solid #fff;
                color: inherit;
                padding: 0em;
                border-radius: 0em;
                text-decoration: underline;
            }

                .main.restricted_member .status-wrapper .status a:hover {
                    text-decoration: none;
                    background: inherit;
                    color: inherit;
                }

.main.contact form {
    width: 35em;
}



    .main.contact form h3 {
        margin: 2em 0em;
    }

    .main.contact form .field label {
        width: 10em;
    }

    .main.contact form .field.captcha .input-captcha {
        display: inline-block;
        vertical-align: top;
        width: 62%;
    }

    .main.contact form .field.captcha label {
        display: block;
        width: auto;
        text-align: left;
        line-height: 1.2em;
        padding: 0em;
        margin: 0em;
    }

    .main.contact form .field.captcha input[type=text] {
        width: 86%;
    }

    .main.contact form .field.captcha a img {
        vertical-align: middle;
    }

.main.contact input.button {
    background-color: #2c2775;
    border: 1px solid #2c2775;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    padding: 0.2em 2em;
    border-radius: 0.2em;
    margin-top: 2em;
}

    .main.contact input.button:hover {
        background-color: #fff;
        color: #2c2775;
    }

.main.selection h3,
.main.permission h3 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

.main.permission form.result.gmap .result-listing label:before {
    display: none;
}

.main form.gmap {
    width: auto;
}

    .main form.gmap .field label {
        width: 12.5em;
    }

    .main form.gmap .field.required label:before {
        content: "* ";
        color: #c00;
    }

    .main form.gmap .field.required .checkbox label:before {
        display: none;
    }

    .main form.gmap .field.date label {
        width: 2em;
    }

    .main form.gmap .field.date {
        padding-bottom: 0.5em;
    }

        .main form.gmap .field.date input[type=text] {
            min-width: 0em;
            width: 5em;
        }

    .main form.gmap .field-wrapper {
        display: inline-block;
        vertical-align: top;
        width: 49%;
    }

    .main form.gmap .field img {
        vertical-align: middle;
    }

    .main form.gmap .field select[disabled],
    .main form.gmap .field input[disabled] {
        background: #b1b1b0;
    }

.main .result {
    padding-top: 1em;
    margin-bottom: 1em;
}

    .main .result .result-listing {
        float: left;
        width: 41.9%;
        height: 500px;
        overflow: auto;
    }

        .main .result .result-listing #marker_list li {
            border-bottom: 1px solid #d9d9d9;
            padding: 0.5em 1em;
            position: relative;
            font-size: 0.8em;
            line-height: 1.2em;
            margin-bottom: 0em;
            list-style: none;
            margin-left: 0em;
            color: inherit;
        }

            .main .result .result-listing #marker_list li h3 {
                color: #2c2775;
                text-transform: uppercase;
                margin-bottom: 0.5em;
                font-weight: normal;
                font-size: 1.1666em;
            }

            .main .result .result-listing #marker_list li input[type=checkbox] {
                position: absolute;
                bottom: 1em;
                right: 1em;
            }

            .main .result .result-listing #marker_list li label {
                display: block;
            }

    .main .result .result-map {
        margin-left: 42%;
    }

        .main .result .result-map #map_canvas {
            width: 100%;
            height: 500px;
        }

        .main .result .result-map .map_legend {
            font-size: 0.8em;
            padding-top: 0.2em;
        }

            .main .result .result-map .map_legend ul {
                display: inline-block;
            }

            .main .result .result-map .map_legend li {
                display: inline;
                margin-bottom: 0em;
                list-style: none;
                margin-left: 0em;
            }

                .main .result .result-map .map_legend li img {
                    width: 15px;
                    vertical-align: middle;
                }

        .main .result .result-map .marker-info {
            min-width: 250px;
            padding: 0.2em;
            font-size: 0.7692em;
            line-height: 1.2em;
        }

            .main .result .result-map .marker-info h3 {
                font-size: 1em;
            }

    .main .result .links {
        float: right;
        padding-top: 1em;
        text-align: left;
        width: 58%;
        line-height: 1.4em;
    }

        .main .result .links a.fullscreen {
            float: right;
        }

    .main .result .result-rename,
    .main .result .result-save {
        margin-left: 2em;
        color: #6c9f43;
    }

        .main .result .result-rename.error,
        .main .result .result-save.error {
            color: #da6161;
        }

    .main .result .result-query ul {
        list-style: square;
        margin-left: 1em;
        padding-top: 0.4em;
    }

.main .result-loading {
    text-align: center;
    padding-top: 3em;
}

.main .result-noresult {
    display: none;
}

.main .result-noresult,
.main .result-gmap {
    border-top: 1px dashed #000;
    margin-top: 1em;
}

.main .result-warning {
    font-style: italic;
    color: #f00;
}

.main .result-gmap-address {
    font-weight: bold;
}

.main .permission-toggle {
    position: absolute;
    top: -500em;
    left: -500em;
}

.main .summary table {
    width: 100%;
}

    .main .summary table th {
        text-transform: uppercase;
    }

    .main .summary table tbody th {
        text-align: left;
    }

    .main .summary table th,
    .main .summary table td {
        width: 25%;
        padding: 0.2em 0em;
    }

.main .summary input[type=text] {
    width: 95%;
    border-color: #b1b1b0;
}

.main.selection h2 {
    margin-bottom: 1em;
}

.main.selection li {
    margin-bottom: 1em;
    list-style: square;
    margin-left: 1em;
    color: #2c2775;
}

    .main.selection li h4 {
        font-size: 1em;
        margin: 0em;
    }

    .main.selection li em {
        font-style: italic;
        color: #858584;
    }

    .main.selection li .links {
        float: right;
        padding-top: 0.5em;
    }

.main .links li {
    display: inline-block;
    vertical-align: top;
    color: #858584;
    list-style: none;
    margin: 0em 0em 0em 0.5em;
}

    .main .links li a.public {
        width: 18px;
        height: 18px;
        display: inline-block;
        vertical-align: top;
        background: url('https://www.compagnie-experts-immobiliers.fr/img/selection-icon-public.png') no-repeat left top;
        text-indent: -999em;
        background-size: cover;
    }

    .main .links li a.rename {
        width: 18px;
        height: 18px;
        display: inline-block;
        vertical-align: top;
        background: url('https://www.compagnie-experts-immobiliers.fr/img/selection-icon-rename.png') no-repeat left top;
        text-indent: -999em;
        background-size: cover;
    }

    .main .links li a.delete {
        width: 18px;
        height: 18px;
        display: inline-block;
        vertical-align: top;
        background: url('https://www.compagnie-experts-immobiliers.fr/img/selection-icon-delete.png') no-repeat left top;
        text-indent: -999em;
        background-size: cover;
    }

.main.judgment form {
    width: 100%;
    text-align: left;
    margin-bottom: 0em;
}

    .main.judgment form .field.required label:before {
        content: "* ";
        color: #c00;
    }

    .main.judgment form .field.required .checkbox label:before {
        display: none;
    }

    .main.judgment form.result.gmap .result-listing label:before {
        display: none;
    }

.main.judgment table {
    width: 100%;
}

    .main.judgment table tr:hover {
        background: #b1b1b0;
    }

        .main.judgment table tr:hover td {
            color: #fff;
        }

    .main.judgment table th,
    .main.judgment table td {
        border: 1px solid #000;
        padding: 0.4em;
        vertical-align: middle;
    }

        .main.judgment table td:last-child {
            text-align: center;
        }

    .main.judgment table th {
        font-weight: bold;
        text-transform: uppercase;
        background: #b1b1b0;
        color: #fff;
    }

    .main.judgment table td a.pdf {
        width: 32px;
        height: 32px;
        display: inline-block;
        vertical-align: top;
        background: url('https://www.compagnie-experts-immobiliers.fr/img/pdf.png') no-repeat left top;
    }

.main.judgment h3 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

.main.judgment form .field-wrapper {
    display: inline-block;
    vertical-align: top;
    width: 49%;
}

    .main.judgment form .field-wrapper.fields-map {
        width: 45%;
        padding-left: 4%;
    }

        .main.judgment form .field-wrapper.fields-map label {
            width: 12.5em;
        }

.main.judgment form .field label {
    width: 15em;
    line-height: 2em;
}

.main.judgment form .field .date {
    display: inline-block;
    vertical-align: top;
}

    .main.judgment form .field .date label {
        width: 2.9em;
    }

    .main.judgment form .field .date input[type=text] {
        min-width: 0em;
        width: 5em;
    }

    .main.judgment form .field .date input[type=number] {
        min-width: 0em;
        width: 5em;
    }

.main.judgment form .field input[type=text],
.main.judgment form .field input[type=number],
.main.judgment form .field input[type=password] {
    min-width: 13.9em;
}

.main.judgment form .field select[disabled],
.main.judgment form .field input[disabled] {
    background: #b1b1b0;
}

.main.judgment form .ms-parent {
    min-width: 14.5em;
}

    .main.judgment form .ms-parent li label {
        line-height: 1em;
        width: auto;
    }

.main.news ul > li {
    border-bottom: 1px dashed #858584;
    padding-bottom: 1em;
    margin-bottom: 1em;
    line-height: 1.2em;
}

    .main.news ul > li em {
        font-style: italic;
    }

    .main.news ul > li:last-child {
        border-bottom: 0px dashed #858584;
    }

.main.error h2 {
    margin-bottom: 1em;
}

/* ==========================================================================
   FullScreen
   ========================================================================== */

.main.fullscreen {
    margin-top: 0em;
}

    .main.fullscreen .box {
        padding: 0em;
    }

    .main.fullscreen article {
        padding: 0em 1em;
    }

    .main.fullscreen .wrapper {
        width: auto;
    }

        .main.fullscreen .wrapper h2,
        .main.fullscreen .result .result-query {
            display: none;
        }

    .main.fullscreen .result {
        padding-top: 0em;
        margin-bottom: 0em;
    }

        .main.fullscreen .result .result-listing {
            width: 31em;
        }

        .main.fullscreen .result .result-map {
            margin-left: 32em;
        }

        .main.fullscreen .result .links a.fullscreen {
            display: none;
        }

/* ==========================================================================
   Inline
   ========================================================================== */

.fancybox-skin {
    background: transparent;
}

    .fancybox-skin a.fancybox-item.fancybox-close {
        background-image: url('https://www.compagnie-experts-immobiliers.fr/img/fancybox-close.png');
        width: 27px;
        height: 27px;
        top: -10px;
        right: -13px;
    }

.inline-content {
    background: #fff;
}

    .inline-content .cms {
        width: 50.5em;
        max-height: 42.8571em;
        overflow: auto;
        padding: 1.6428em;
        font-size: 1.4em;
        color: #585857;
        text-align: justify;
    }

        .inline-content .cms h2 {
            font-size: 1.6em;
            text-transform: uppercase;
            font-weight: bold;
            color: #2c2775;
        }

        .inline-content .cms h3 {
            font-size: 1.3333em;
            font-weight: bold;
            color: #2c2775;
        }

        .inline-content .cms h4 {
            font-size: 1.2em;
            text-transform: uppercase;
            font-weight: bold;
            color: #2c2775;
        }

    .inline-content .member-cv {
        width: 50.5em;
        max-height: 42.8571em;
        overflow: auto;
        padding: 1.6428em;
        font-size: 1.4em;
        color: #585857;
        text-align: justify;
    }

    .inline-content .member-cv {
        width: 50.5em;
        max-height: 50em;
        overflow: auto;
        padding: 2em;
        font-size: 1.4em;
        color: #585857;
        text-align: justify;
    }

        .inline-content .member-cv .member {
            margin-bottom: 1em;
        }

            .inline-content .member-cv .member .member-photo {
                display: inline-block;
                vertical-align: top;
            }

                .inline-content .member-cv .member .member-photo img {
                    box-shadow: -3px -3px 3px #aaa;
                }

            .inline-content .member-cv .member .member-detail {
                display: inline-block;
                vertical-align: top;
                margin-left: 1em;
                padding-top: 1em;
                font-size: 1.4em;
                line-height: 1.2em;
            }

        .inline-content .member-cv h1 {
            font-size: 1.6em;
            text-transform: uppercase;
            font-weight: bold;
            color: #2c2775;
            margin-bottom: 0.5em;
        }

        .inline-content .member-cv h2 {
            font-size: 1.3333em;
            font-weight: bold;
            color: #2c2775;
            margin-bottom: 1em;
        }

        .inline-content .member-cv h3 {
            font-size: 1.2em;
            text-transform: uppercase;
            font-weight: bold;
            color: #2c2775;
            margin-bottom: 1em;
            border-bottom: 1px solid #2c2775;
            padding-bottom: 2.5em;
        }

        .inline-content .member-cv em {
            font-style: italic;
        }

        .inline-content .member-cv .item {
            display: inline-block;
            vertical-align: top;
            width: 45.5%;
            padding-right: 2%;
            margin-right: 2%;
            line-height: 1.4em;
        }

        .inline-content .member-cv .thumb {
            float: left;
            margin-right: 1em;
        }

/* ==========================================================================
   Media Queries ( X < 1280px )
   ========================================================================== */

@media screen and (max-width: 1280px) {
    body {
        min-width: 320px;
    }

    .wrapper {
        width: 100%;
    }

    .header .logo img {
        width: 16.7em;
    }

    .header .logo-wrapper .baseline {
        padding-top: 0.5em;
    }

    .header {
        height: 10.6em;
    }

        .header .menu {
            top: 7em;
        }

    .main {
        margin-top: 11.6em;
    }

        .main.home .box {
            margin-top: 10vh;
        }

        .main .member {
            width: 49%;
        }
}

/* ==========================================================================
   Media Queries ( X < 720px )
   ========================================================================== */

@media screen and (max-width: 720px) {
    .header {
        height: auto;
        position: static;
    }

        .header .logo-wrapper {
            margin-bottom: 2em;
        }

            .header .logo-wrapper .logo {
                display: block;
            }

            .header .logo-wrapper .baseline {
                display: block;
                text-align: center;
                top: 0em;
                font-size: 0.8em;
                margin-left: 22em;
                margin-right: 4em;
                line-height: 1.6em;
            }

        .header .mobile-menu {
            display: inline-block;
        }

        .header .menu {
            position: static;
            top: 0em;
        }

        .header .menu {
            display: none;
            padding-top: 1em;
        }

            .header .menu > ul {
                display: block;
                padding: 0em;
                background: #2c2775;
                color: #fff;
            }

                .header .menu > ul > li {
                    display: block;
                    flex: none;
                    height: auto;
                    background: inherit;
                }

                    .header .menu > ul > li:after {
                        content: "";
                        display: inline-block;
                        vertical-align: top;
                        border-bottom: 1px solid #fff;
                        width: 60%;
                        height: 0.5em;
                        position: absolute;
                        top: auto;
                        bottom: 0em;
                        left: 0em;
                        right: 0em;
                        margin: 0em auto;
                    }

                    .header .menu > ul > li:last-child::after {
                        border-bottom: 0px solid #fff;
                    }

                    .header .menu > ul > li a {
                        color: inherit;
                    }

                    .header .menu > ul > li.selected a,
                    .header .menu > ul > li:hover a {
                        color: #fff;
                        font-weight: bold;
                    }

                    .header .menu > ul > li > ul,
                    .header .menu > ul > li:hover > ul,
                    .header .menu > ul > li.dropdown > a:after {
                        display: none;
                    }

                    .header .menu > ul > li > ul {
                        position: static;
                        top: 0em;
                        border: 0px solid #ee3124;
                    }

                    .header .menu > ul > li.dropdown > ul.opened {
                        display: block;
                        opacity: 1;
                    }

                    .header .menu > ul > li.dropdown:hover > ul.opened {
                        display: block;
                    }

    .main {
        margin-top: 0em;
    }

        .main .member {
            display: block;
            width: auto;
        }

        .main.restricted_member .status-wrapper {
            position: static;
            top: 0em;
            right: 0em;
            left: 0em;
            font-size: 1em;
            text-align: center;
        }

        .main.judgment form .field-wrapper {
            display: block;
            width: auto;
            margin-bottom: 2em;
        }

            .main.judgment form .field-wrapper.fields-map {
                width: auto;
                padding-left: 0%;
            }

        .main.home .box {
            margin-top: 0vh;
        }

        .main ul.box50 > li {
            display: block;
            width: auto;
            margin-bottom: 2em;
        }

            .main ul.box50 > li:last-child {
                float: none;
            }

        .main .result .result-listing {
            float: none;
            width: auto;
            height: auto;
        }

        .main .result .result-map {
            margin-left: 0%;
        }

        .main .result .links {
            float: none;
            padding-top: 1em;
            width: auto;
            margin-bottom: 1em;
        }

            .main .result .links a.fullscreen {
                float: none;
            }

        .main.contact form {
            width: auto;
        }

        .main form.gmap .field-wrapper {
            display: block;
            width: auto;
            margin-bottom: 2em;
        }

        .main .permission-toggle.result-summary {
            display: none;
        }

    .inline-content .cms {
        width: auto;
        max-height: auto;
    }

    .inline-content .member-cv {
        width: auto;
        max-height: auto;
    }
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    body {
        min-width: 0em;
    }

    .wrapper {
        width: auto;
    }

    .header,
    .footer {
        display: none;
    }

    .main .inline-content {
        display: block;
        border: 1px dashed #556fc6;
        padding: 1em;
    }

    .inline-content .cms {
        max-height: 9999em;
        height: auto;
        overflow: hidden;
    }
}
/* Override form input styling for validation errors */
/*.main form .field input.input-validation-error {
    border: 1px solid red !important;
}*/

/* Validation summary styling */
.validation-summary-errors {
    color: #c00 !important;
    margin-bottom: 1em;
    font-weight: normal;
}

    .validation-summary-errors ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .validation-summary-errors li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

/* Ensure text-danger class works */
.text-danger {
    color: #c00 !important;
}

/* Make sure the form control class doesn't override validation styling */
.form-control.input-validation-error {
    border: 1px solid #c00 !important;
}

/* Additional CSS rules to match both naming conventions */

/* Original selectors from the working website */
.main.judgment .judgment-toggle.result-gmap {
    margin-top: 1em;
    /*position: relative;*/
    /* overflow: hidden;
    align-items: flex-start;*/
    /*display: table;*/
    width: 100%;
    table-layout: fixed;
}


    .main.judgment .judgment-toggle.result-gmap .result-listing {
        /* display: table-cell;*/
        width: 41.9%;
        height: 500px;
        overflow: auto;
        /*border: 1px solid #ddd;*/
        background: #fff;
        padding: 0;
        margin: 0;
        vertical-align: top;
        position: relative;
        float: left;
    }

    /* Ensure the result-map uses the remaining space */
    .main.judgment .judgment-toggle.result-gmap .result-map {
        /*   display: table-cell;*/
        width: 50%; /* Remaining width */
        height: 500px;
        margin: 0;
        padding: 0;
        vertical-align: top; /* This is key for table-cell */
        position: relative;
        float: right
    }

        .main.judgment .judgment-toggle.result-gmap .result-map #map {
            width: 100%;
            height: 500px;
            border: 1px solid #ccc;
            margin: 0;
            padding: 0;
            display: block;
        }


    /* Fix the marker list styling */
    .main.judgment .judgment-toggle.result-gmap .result-listing #marker_list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .main.judgment .judgment-toggle.result-gmap .result-listing #marker_list li {
            border-bottom: 1px solid #d9d9d9;
            padding: 0.5em 1em;
            position: relative;
            font-size: 0.8em;
            line-height: 1.2em;
            margin-bottom: 0;
            margin-left: 0;
            list-style: none;
            color: inherit;
        }

            .main.judgment .judgment-toggle.result-gmap .result-listing #marker_list li.selected {
                background-color: #f0f0f0;
            }

            .main.judgment .judgment-toggle.result-gmap .result-listing #marker_list li h3 {
                color: #2c2775;
                text-transform: uppercase;
                margin-bottom: 0.5em;
                font-weight: normal;
                font-size: 1.1666em;
            }

            .main.judgment .judgment-toggle.result-gmap .result-listing #marker_list li h4 {
                color: #2c2775;
                font-size: 1.2em;
                margin-bottom: 0.3em;
                font-weight: bold;
            }

            .main.judgment .judgment-toggle.result-gmap .result-listing #marker_list li input[type=checkbox] {
                position: absolute;
                bottom: 1em;
                right: 1em;
            }

            .main.judgment .judgment-toggle.result-gmap .result-listing #marker_list li label {
                display: block;
                width: 20em;
                line-height: 2em;
                color: #2c2775
            }

    /* Links section */
    .main.judgment .judgment-toggle.result-gmap .links {
        clear: both;
        float: none;
        padding-top: 1em;
        text-align: left;
        width: 100%;
    }

        .main.judgment .judgment-toggle.result-gmap .links a {
            color: #2c2775;
            text-decoration: none;
            margin: 0 0.5em;
        }

            .main.judgment .judgment-toggle.result-gmap .links a:hover {
                text-decoration: underline;
            }

        .main.judgment .judgment-toggle.result-gmap .links .error-msg {
            color: #c00;
            font-weight: bold;
            margin-top: 0.5em;
        }

    /* Submit section */
    .main.judgment .judgment-toggle.result-gmap .submit {
        clear: both;
        text-align: left;
        padding-top: 1em;
    }

        .main.judgment .judgment-toggle.result-gmap .submit input[type="submit"] {
            background-color: #2c2775;
            border: 1px solid #2c2775;
            color: #fff;
            cursor: pointer;
            font-size: 1em;
            padding: 0.5em 2em;
            border-radius: 0.2em;
        }

            .main.judgment .judgment-toggle.result-gmap .submit input[type="submit"]:hover {
                background-color: #fff;
                color: #2c2775;
            }

/* Responsive fixes */
@media screen and (max-width: 720px) {
    .main.judgment .judgment-toggle.result-gmap {
        flex-direction: column;
        align-items: stretch;
    }

        .main.judgment .judgment-toggle.result-gmap .result-listing {
            flex: none;
            width: 100%;
            height: auto;
            margin-bottom: 1em;
        }

        .main.judgment .judgment-toggle.result-gmap .result-map {
            flex: none;
            width: 100%;
            height: 300px;
        }

        .main.judgment .judgment-toggle.result-gmap .links {
            margin-top: 1em;
            position: static;
        }

        .main.judgment .judgment-toggle.result-gmap .result-map #map {
            height: 300px;
        }
}

.custom-x-icon {
    font-size: 32px;
    color: black; /* or #7B7B7B for dark gray */
    font-weight: bold;
    text-align: center;
    line-height: 32px;
}

.popup-scrollable {
    max-height: 250px; /* Limit height */
    overflow-y: auto; /* Enable vertical scroll */
    overflow-x: hidden;
}

.leaflet-popup-content-wrapper {
    /*overflow-y: auto;*/ /* Enable vertical scroll */
    /*overflow-x: hidden;*/ /* ensures wrapper doesn't overflow */
    overflow: hidden;
    max-width: 500px;
}

.result-query {
    line-height: 20px;
    margin-bottom: 10px;
}
#global-loader {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
    cursor: wait;
}

    #global-loader .gl-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,.65);
        backdrop-filter: blur(1px);
    }

    #global-loader .gl-box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px 24px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.15);
    }

.gl-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #eaeaea;
    border-top-color: #2c2775;
    border-radius: 50%;
    animation: glspin .9s linear infinite;
}

.gl-text {
    font-size: 14px;
    color: #333;
}

@keyframes glspin {
    to {
        transform: rotate(360deg);
    }
}
