/* Country introduction */
#country_intro, .long_text  {
    margin: 0.5em 0 1em 0;
    overflow: hidden;
    position: relative;
    -webkit-transition: max-height 1s ease-out 0s;
    transition: max-height 1s ease-out 0s;
}
#country_intro_ellipsis, .long_text_ellipsis {
    background: white;
    color: #000088;
    position: absolute;
    right: 0;
    top: 1.3em;
    font-size: 0.9em;
    font-weight: normal;
    padding: 0 0.5em 0.1em;
}
#country_intro_ellipsis:before, .more_example_details:before, .long_text_ellipsis:before {
    content: ' ';
    display:block;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAYAAACaq43EAAACN0lEQVRIiY2SKVSWURRFf5dKEi2iFqciWkQsIhbFJFCcikMCTILFoaiYhIRIQUmiRYbikJyCqIUhARYUC6jBgSJieZ63PHf9Z93/fR+Gnffa595CCKEAVoE1oAJsATtAFdgHDoJ6cAycAk3gPLgIroKboAv0gnvgIXgEnoHXYBRMgQ9gDnwDiwWKV1K8nuJKsHsZ8SVwjeJbIh4Q8QjFkyL+Dn5F6QoRa/Eeig+BIxSfdsXXE8VePEbxDJinuKQ4ijezOE5dQ3EsPpooNnE3uCPixznFP8BvE8cbl0txJYv3i/g4i5spvpwQ9yfEY3LjzxQvZontuaw4NbWJO3hjL34O3jjxvC9eTfEGJ84qbpWpO1zxoBPHqaf/V6xT14XiV0dxi7uxL/bicTf1T3/jtRRvDcXn8sVnpNim7mTxXSd+4cSzWcUm1uIaFjeAExS3iLhdilX8JHHjj1K8lBLH4p2gWqZukGIv7hTx/fDvuUw8wuJpir9kFW/MEGdNbeJuEVuxTm3ikqnLRLyNU0dxrZv6LIvb3NQqHnI3npCpY/FC1o2tWL/a3zgl7hPxU4rfUhyLZ2Xqkhtb8a7Ejb34ikx9m8UPZOqXFI+LOPO5Ujc+HIrPpVNH8Q25cR/FQ3LjVHEU/8mbem9I3/hcQmzFcephJ47F78EnES/pc60Dm2TqKD7A4kZwUoov5IgHc25cMrWKt8uN877ai3VqFfviheXEVlyXKPbinlD86mGKX4F3LDbxV7vxXz21IBDZdwo2AAAAAElFTkSuQmCC);
    width: 30px;
    height: 1.2em;
    position:absolute;
    top: 0.2em;
    left: -31px;
}

/* Search results */
.catalogue_search_results {
    margin: 1em 0 1em 0;
    max-width: 50em;
}
.catalogue_search_results header {
    margin-bottom: 0.3em;
}
.catalogue_search_results header h2 {
    margin: 1em 0 0 0;
    font-size: 1.3em;
}
.catalogue_search_results header p {
}
.catalogue_search_results > div {
    min-height: 135px;
    display: flex;
    padding: 0.5em 0 0.5em 0;
    border-top: 1px solid #CCCCCC;
}
.catalogue_search_results .photo_avers,.catalogue_search_results .photo_revers {
    width: 135px;
    height: 135px;
    margin: 0 1em 0 0;
    flex-shrink: 0;
}
.catalogue_search_results .description_piece {
    flex-grow: 1;
}
.catalogue_search_results .coin_status {
    float: right;
    margin-left: 0.5em;
}
@media (max-width: 600px) {
    .catalogue_search_results > div {
        flex-wrap: wrap;
    }
    .catalogue_search_results .photo_avers,.catalogue_search_results .photo_revers {
        max-width: 49%;
        margin-right: 0;
        height: auto;
    }
    .catalogue_search_results .description_piece {
        width: 100%;
        margin: 0.3em 0 0 0;
    }
}

/* Search form */
.catalogue_search {
    padding: 1em;
    margin: 0 -1em 1.5em -1em;
    border-radius: 0.5em;
    background: #e7f2fc url(search-background.jpg) center top;
}
@media (max-width: 1235px) {
    .catalogue_search {
        border-radius: 0 0.5em 0.5em 0;
    }
}
@media (max-width: 950px) {
    .catalogue_search {
        border-radius: 0;
    }
}
.catalogue_search .search_box {
    margin-bottom: 0.5em;
}
.search_box select {
    width: 15em;
    border: 1px solid #000088;
    border-radius: 0.5rem;
}
.search_box .catalogue_search_input_wrapper {
    flex-grow: 1;
    max-width: 30em;
    margin: 0 0.5em 0 0.5em;
    position: relative;
}
.search_box .catalogue_search_input_wrapper input[type="text"] {
    width: 100%;
    height: 100%;
    border: 1px solid #000088;
    border-radius: 0.5em;
    padding-right: 3.8em;
}
.search_box #special_keyboard_button {
    display: block;
    position: absolute;
    top: 0.3em;
    right: 2.2em;
    background: none;
    border: none;
    padding: 0;
}
.search_box #special_keyboard_button img {
    width: 1.2em;
    height: 1.2em;
    vertical-align: bottom;
}
#special_keyboard {
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    max-height: 0;
    overflow: hidden;
    background: #FFFFFF88;
    padding: 0 1em 0 1em;
    border-radius: 0.5em;
}
#special_keyboard[aria-hidden="false"] {
    max-height: 40em;
    padding: 1em;
}
#alphabets_r {
    background: #FFFFFF;
    max-width: 34em;
}
.search_box .catalogue_search_input_wrapper > img {
    display: block; 
    position: absolute; 
    top: 0.4em; 
    right: 0.5em;
}
.search_box .select2-container--default .select2-selection--single {
    border: 1px solid #000088;
    border-radius: 0.5rem;
    height: 100%;
}
.search_box .select2-container--default .select2-selection--single {
    border: 1px solid #000088;
    border-radius: 0.5rem;
}
.search_box .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000000;
}
.catalogue_search #search_types ul {
    list-style-type: none;
}
.catalogue_search #search_types li {
    margin: 0;
}
.catalogue_search #search_types_select button {
    margin: -0.1em -0.3em -0.1em 0;
    padding: 0.1em 0.3em 0.1em 0.3em;
    background: none;
    border: none;
}
.catalogue_search #search_types_select [aria-hidden="true"] {
    display: none;
}
.catalogue_search #search_types input[type="checkbox"], .catalogue_search #search_types input[type="radio"] {
    vertical-align: middle;
    margin-bottom: 0.3em;
}
#search_types_select ul {
    margin-left: 1em;
}
#search_types_select {
    user-select: none;
}
@media (max-width: 600px) {
    .catalogue_search select {
        width: 100%;
    }
    .search_box .catalogue_search_input_wrapper {
        margin: 0;
        max-width: none;
    }
    .catalogue_search .search_box input[type="text"] {
        margin: 0.5em 0 0.5em 0;
        padding: 0.2em 3.8em 0.2em 0.5em;
    }
    .search_box #special_keyboard_button {
        top: 0.7em;
    }
    .search_box .catalogue_search_input_wrapper > img {
        top: 0.9em;
    }
    .catalogue_search .search_box input[type="submit"] {
        width: 100%;
        margin-top: 0.5em;
    }
    #search_types_select_button {
        background: #FFFFFF;
        color: #000000;
        font-weight: normal;
        padding: 0.2em 0.5em 0.2em 0.5em;
        width: 100%;
        text-align: left;
        position: relative;
    }
    #search_types_select_button:after {
        content: '';
        border-color: #888 transparent transparent transparent;
        border-style: solid;
        border-width: 5px 4px 0;
        height: 0;
        right: 0.4em;
        margin-left: -4px;
        margin-top: -2px;
        position: absolute;
        top: 50%;
        width: 0;
    }
    #search_types_select_button[aria-pressed="true"] {
        border-radius: 0.5em 0.5em 0 0;
    }
    #search_types_select {
        position: absolute;
        z-index: 10;
        width: 100%;
        box-sizing: border-box;
        background: #FFFFFF;
        overflow: auto;
        border: 1px solid #000088;
        border-top: none;
        border-radius: 0 0 0.5em 0.5em;
        padding: 0.2em 0.5em;
    }
    #search_types_select[aria-hidden="true"] {
        display: none;
    }
    #search_types_select li {
        padding: 0.1em 0 0.1em 0;
    }
    #search_types_select > li#cookie_setter {
        position: unset !important;
        background: unset !important;
        padding: unset !important;
        border: unset !important;
        display: none;
        float: right;
    }
    #search_types_select > li#cookie_setter.link_style {
        display: unset;
        color: #006da8;
        cursor: pointer;
    }
    #search_types_select > li#cookie_setter.link_style:hover {
        text-decoration: underline;
    }
    #search_types_select > li#cookie_setter.saved_style {
        display: unset;
        color: unset;
        text-decoration: unset;
        cursor: unset;
    }
    #search_types_select_all {
        padding-bottom: 0.3em !important;
        border-bottom: 1px solid #AAAAAA;
        margin-bottom: 0.3em !important;
    }
}
@media (min-width: 601px) {
    .catalogue_search .search_box {
        display: grid;
        grid-template-columns: 15em minmax(auto, 30em) fit-content(10em);
        grid-gap: 0.5em;
    }
    .catalogue_search #search_types {
        grid-row: 2;
        grid-column: 1 / span 3;
    }
    #search_types_select_button {
        display: none;
    }
    #search_types_select {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5em;
    }
    #search_types_select > li {
        display: inline-block;
        position: relative;
        background: #FFFFFF;
        padding: 0.2em 0.5em 0.1em 0.5em;
        border-radius: 0.5em;
        border: 1px solid #000088;
    }
    #search_types_select > li > ul {
        position: absolute;
        left: -1px;
        top: -1px;
        background: #FFFFFF;
        box-shadow: 1px 2px 0.5em 0 rgba(0, 0, 0, 0.5);
        padding: 1.8em 0.5em 0.2em 0.5em;
        margin: 0;
        border-radius: 0.5em;
        border: 1px solid #000088;
        z-index: 1;
        width: max-content;
    }
    #search_types_select > li:has(> button[aria-pressed="true"]) > label,
    #search_types_select > li:has(> button[aria-pressed="true"]) > button {
        position: relative;
        z-index: 2;
    }
    #search_types_select > li#search_types_select_all {
        display: none;
    }
    #search_types_select > li#cookie_setter {
        position: unset !important;
        background: unset !important;
        padding: unset !important;
        border: unset !important;
        display: none;
        align-self: center;
    }
    #search_types_select > li#cookie_setter.link_style {
        display: unset;
        color: #006da8;
        cursor: pointer;
    }
    #search_types_select > li#cookie_setter.link_style:hover {
        text-decoration: underline;
    }
    #search_types_select > li#cookie_setter.saved_style {
        display: unset;
        color: unset;
        text-decoration: unset;
        cursor: unset;
    }
}
.search_criteria[aria-hidden="true"] {
    display: none;
}
.search_criteria > div {
    display: inline-block;
    vertical-align: middle;
    margin: 0.5em 1em 1px 0;
    border: 1px solid #AAAAAA;
    border-radius: 1em;
    padding: 0.2em 0.2em 0.2em 0.5em;
    background: white;
}
.search_criteria > div button {
    border: none;
    font-weight: bold;
    padding: 0 0.5em 0 0.3em;
    background: #ffffff;
    color: #000088;
}
.search_criteria > button {
    display: inline-block;
    vertical-align: middle;
    border-radius: 1em;
    margin: 0.5em 0 0 0;
    padding: 0.2em 0.5em 0.2em 0.5em;
}
.search_criteria .criteria_im1 *, .search_criteria .criteria_im2 * {
    vertical-align: middle;
}
.search_criteria .image_filter {
    height: 3.5em;
    width: auto;
}

#search_filters {
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    overflow: hidden;
    max-height: 100em;
    display: grid;
    grid-template-columns: max-content auto max-content auto;
    background: #FFFFFF88;
    padding: 1em 1em 0.5em 1em;
    margin-top: 1em;
    border-radius: 0.5em;
    position: relative;
}
#search_filters[aria-hidden="true"] {
    display: none;
}
#search_filters input[type="text"], #search_filters select, #search_filters .multi_select {
    width: 12em;
    max-width: 100%;
    box-sizing: border-box;
}
#search_filters > .label {
    padding: 0 1em 0.5em 0;
}
#search_filters > .label:nth-child(4n+3) {
    padding: 0 1em 0.5em 1.5em;
}
#search_filters > div {
    padding: 0 0 0.5em 0;
}
#search_filters > div > label {
    white-space: nowrap;
}
#search_filters .search_ref select {
    width: 5.5em;
    margin-right: 0.2em;
}
#search_filters .search_ref .select2 {
    vertical-align: top;
    margin-right: 0.2em;
}
#search_filters .search_ref input[type="text"] {
    width: 6.3em;
}
@media (max-width: 800px) {
    #search_filters {
        grid-template-columns: max-content auto;
    }
    #search_filters > .label {
        padding: 0 1em 0.5em 0;
    }
    #search_filters > .label:nth-child(4n+3) {
        padding: 0 1em 0.5em 0;
    }
}
@media (max-width: 450px) {
    #search_filters {
        grid-template-columns: auto;
    }
    #search_filters > .label {
        padding: 0 0 0.1em 0;
    }
    #search_filters > .label:nth-child(4n+3) {
        padding: 0 0 0.1em 0;
    }
}
#search_filters > button {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    background: none;
    border: none;
    padding: 0.2em;
}
#search_filters > button img {
    height: 1em;
    width: 1em;
}
#search_criteria .image_button {
    margin-left: 0.5em;
}
.image_button img {
    vertical-align: middle;
}
.image_button[disabled] img {
    filter: none;
}
.image_button[disabled] img[src$="picture.svg"] {
    filter: invert(0.5);
}
.image_button img[src$="chargement.gif"] {
    margin: 0 1px 0 1px;
}
#pinned_picture_label span {
    height: 100%;
    display: flex;
    align-items: center;
}
#pinned_picture_label {
    grid-column: 1;
}
#pinned_picture_display {
    grid-column: 2 / -1;
}

#catalogue_index_link {
    margin: -0.5em 0 1em 0;
}
#catalogue_index_link span {
    display: inline-block;
}
#catalogue_index_link span {
    margin-right: 2em; 
}
#catalogue_index_link span:last-child {
    margin-right: 0; 
}
.shape_with_icon {
    display: flex;
    align-items: center;
}
.shape_with_icon img {
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.3em;
}
.script_option .example {
    color: #71719f;
    padding-left: 0.5em;
}

/* Catalogue home page */
#catalogue_home_links {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-right: -1em;
    justify-content: center;
}
#catalogue_home_links a {
    background: #EEEEEE;
    border-radius: 0.5em;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(25% - 1em);
    box-sizing: border-box;
    margin-right: 1em;
    margin-bottom: 1em;
    height: 5em;
    background-size: cover;
    font-weight: bold;
    font-size: 1.2em;
    text-shadow: #fff 2px 0  8px, #fff -2px 0 8px, #fff 0 2px 8px, #fff 0 -2px 8px;
    text-align: center;
}
@media (min-width: 950px) {
    #catalogue_home_links {
        margin-right: -2em;
    }
}
@media (min-width: 1235px) {
    #catalogue_home_links {
        margin-left: -1em;
    }
    #catalogue_home_links a {
        height: 6em;
    }
}
@media (max-width: 600px) {
    #catalogue_home_links a {
        width: calc(33% - 1em);
    }
}
@media (max-width: 480px) {
    #catalogue_home_links a {
        width: calc(50% - 1em);
    }
}
#catalogue_home_links .catalogue_home_issuers {
    background-image: url('catalogue_home_issuers.jpg');
}
#catalogue_home_links .catalogue_home_mints {
    background-image: url('catalogue_home_mints.jpg');
}
#catalogue_home_links .catalogue_home_printers {
    background-image: url('catalogue_home_printers.jpg');
}
#catalogue_home_links .catalogue_home_artists {
    background-image: url('catalogue_home_artists.jpg');
}
#catalogue_home_links .catalogue_home_rulers {
    background-image: url('catalogue_home_rulers.jpg');
}
#catalogue_home_links .catalogue_home_issuing_entities {
    background-image: url('catalogue_home_issuing_entities.jpg');
}
#catalogue_home_links .catalogue_home_catalogues {
    background-image: url('catalogue_home_catalogues.jpg');
}
#catalogue_home_links .catalogue_home_techniques {
    background-image: url('catalogue_home_techniques.jpg');
}
#catalogue_home_links .catalogue_home_edges {
    background-image: url('catalogue_home_edges.jpg');
}
#catalogue_home_links .catalogue_home_shapes {
    background-image: url('catalogue_home_shapes.jpg');
}
#catalogue_home_links .catalogue_home_tags {
    background-image: url('catalogue_home_tags.jpg');
}
#catalogue_home_links .catalogue_home_materials {
    background-image: url('catalogue_home_materials.jpg');
}
#catalogue_home_links .catalogue_home_types {
    background-image: url('catalogue_home_types.jpg');
}

/* List of chapters for country pages */
.catalogue_chapter_list {
    float: left;
    max-width:25em;
    max-height:8em;
    overflow:auto;
    border-radius: 0.5em;
    padding: 0.5em 0.5em 0.3em 0.5em;
    margin: 0 1em 1em 0;
    border: 1px solid #AAAAAA;
}
.catalogue_chapter_list li {
    margin-bottom: 0.2em;
}

/* Links for country pages */
.country_links {
    margin: 1em 0 1em 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.country_links a {
    padding: 0 0.5em 0 0.5em;
}
.country_links a:before {
    content: ' ';
    display: inline-block;
    width: 20px;
    height: 17px;
    background: url('icons-sprite36.png') no-repeat;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    margin: 0 0.5em -2px 0;
}
.country_links a.country_coin:before {
    background-position: -40px -21px;
}
.country_links a.country_banknote:before {
    width: 17px;
    background-position: -175px -151px;
}
.country_links a.country_exonumia:before {
    width: 21px;
    background-position: -141px -22px;
}
.country_links a.country_swap:before {
    background-position: -60px -22px;
}
.country_links a.country_buy:before {
    background-position: -117px -78px;
}
@media (max-width: 400px) {
    .country_links {
        flex-direction: column;
        align-items: flex-start;
    }
    .country_links a {
        padding: 0 0 0.3em 0;
    }
}

.catalogue_navigation {
    clear: both;
    margin:1em 0 1em 0;
    max-width: 50em;
}
#results_options_switch{
    float: right;
}
#results_options {
    padding-left: 1em;
    -webkit-transition: max-height 0.5s ease-out 0s;
    transition: max-height 0.5s ease-out 0s;
    overflow: hidden;
}


/* Issuer list */
.liste_pays, .liste_subtypes {
    list-style-type: none;
    column-count: 3;
    -webkit-column-count: 3;
    -moz-column-count: 3;
}
.liste_pays ul, .liste_subtypes ul {
    list-style-type: none;
    padding-left: 0.5em;
    margin-left: 0.5em;
    border-left: 1px solid #AAAAAA;
}
.liste_pays li, .liste_subtypes li {
    margin:0;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column; 
}
.liste_pays .historical_period {
    font-style: italic;
}
.country_nomatch {
    display: none; 
}
.shortcut_icon {
    width: 0.8em;
    height: 0.8em;
    vertical-align: bottom;
    margin: 0 0 0.2em 0.2em;
}
.liste_pays .alt_names {
    display: none;
}
.liste_pays summary {
    color: #666666;
    margin-left: 1em;
}
.liste_pays summary:before {
    font-size: 0.9em;
}
.liste_subtypes h3 {
    margin: 0 0 0.1em 0;
    font-size: 1.1em;
}
.liste_subtypes > li {
    padding-bottom: 1em;
}
#country_filters > div {
    display: flex;
    gap: 1em;
    margin-bottom: 1.5em;
}
#country_filters > div > label {
    width: 50%;
    display: flex;
    gap: 0.5em;
    align-items: center;
}
#country_filters > div > label > select, #country_filters > div > label > input, #country_filters > div > label > span {
    height: 32px;
    min-height: 32px;
    box-sizing: border-box;
    flex: 1;
}
@media (max-width: 900px) {
    .liste_pays, .liste_subtypes {
        column-count: 2;
        -webkit-column-count: 2;
        -moz-column-count: 2;
    }
    #country_filters > div {
        flex-direction: column;
        gap: 0.2em;
    }
    #country_filters > div > label {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: flex-start;
    }
    #country_filters > div > label > select, #country_filters > div > label > input, #country_filters > div > label > span {
        width: 100% !important;
    }
}
@media (max-width: 600px) {
    .liste_pays, .liste_subtypes {
        column-count: 1;
        -webkit-column-count: 1;
        -moz-column-count: 1;
    }
    .liste_pays li, .liste_subtypes li {
        padding: 0.8em 0 0 0;
    }
    #country_filters > div {
        grid-template-columns: auto;
    }
    #country_filters > div label {
        grid-row-start: auto;
    }
    #country_filters > div label:nth-child(3) {
        margin-top: 0.5em;
    }
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE 10+ */
    #country_filters > div label:nth-child(3) {
        margin: 0.5em 0 0 0;
    }
}

.liste_pays.geographical_issuers, .liste_pays.alphabetical_issuers.filtered {
    column-count: 1;
}
.liste_pays.geographical_issuers summary {
    color: inherit;
    margin: 0 0 0.3em 0;
}
.liste_pays.geographical_issuers summary:before {
    display: none;
}
.liste_pays.geographical_issuers summary:after {
    content: '▶';
    font-size: 0.8em;
    color: #666666;
    margin-left: 0.5em;
}
.liste_pays.geographical_issuers details:open summary:after {
    content: '▼';
}

/* Fiche */
#fiche_photo {
    float:left;
    padding: 0 1em 1em 0;
    width: 50%;
    box-sizing: border-box;
}
#fiche_photo .coin_pic {
    display: inline-block;
    max-width: 180px;
    vertical-align: middle;
}
@media (max-width: 1080px) {
    #fiche_photo .coin_pic {
        max-width: calc(50% - 0.5em);
    }
}
#fiche_photo .coin_pic img {
    max-height: 180px;
}
#fiche_photo .coin_pic:first-child {
    margin-right: 1em;
}
.paper_photo img {
    box-shadow: 0 0 0.3em 0 rgb(0 0 0 / 50%);
}
.mentions {
    font-size: 0.9em;
    max-width: 25em;
}
.mentions a {
    color: black;
}
.caracteristiques_wrapper {
    float: right;
    max-width: calc(50% - 0.5em);
    margin-left: 0.5em;
}
#fiche_caracteristiques {
    background: #dfeefb;
    padding: 1em;
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    margin-bottom: 1em;
    box-sizing: border-box;
}
#fiche_caracteristiques h3 {
    text-align: center;
    margin: 0 3.5em 0.5em 0.5em;
}
#fiche_caracteristiques th {
    text-align: left;
    vertical-align: top;
    line-height: 1em;
    padding: 0.2em 0.5em 0.2em 0;
}
#fiche_caracteristiques td {
    line-height: 1em;
    padding: 0.2em 0 0.2em 0;
}

#call_to_action_buttons {
    display: flex;
    gap: 1em;
    margin: 0 0 1em 0;
    align-items: stretch;
}
#call_to_action_buttons a {
    flex: 1;
    border: 1px solid #ACD2F5;
    border-radius: 0.5em;
    padding: 0.5em;
    display: flex;
    gap: 0.5em;
    text-align: center;
    justify-content: center;
}
#call_to_action_buttons a > * {
    align-self: center;
}

.fiche_catalogue {
    color: #000000 !important;
    border-bottom: 1px dotted #888888;
    white-space: nowrap;
}
.catalogue_tooltip img {
    float: right;
    max-width: 80px;
    max-height: 120px;
    width: auto;
    height: auto;
    margin:0 0 0.2em 0.3em;
}
#fiche_descriptions {
    clear: left;
    word-wrap: break-word;
}
#fiche_descriptions p {
    margin-bottom: 0.5em;
}
.lettering {
    font-variant-emoji: text;
}
.engraver_link {
    color: black;
    border-bottom: 1px dashed #666666;
    cursor: help;
}
#fiche_mint {
    border-collapse: collapse;
}
#fiche_mint td {
    padding: 0 0.5em 0 0;
    vertical-align: top;
}
#fiche_mint td:empty {
    padding-right: 0;
}
#fiche_mint img {
    margin: 0.2em 0 0.5em 0;
}
.mintmark_pic {
    max-width: 50px;
    max-height: 50px;
    width: auto;
}
#fiche_signatures {
    border-collapse: collapse;
}
#fiche_signatures td {
    padding-right: 1em;
    vertical-align: middle;
}

.signature_picture {
    max-height: 2em;
}
#fiche_marks td {
    padding-right: 0.5em;
    vertical-align: top;
}

#fiche_comments {
    word-break: break-word;
    transition: height 1s;
    overflow: hidden;
    position: relative;
}
#fiche_comments.collapsed:before {
    content: " ";
    display: block;
    position: absolute;
    bottom: 0;
    height: 30px;
    width: 100%;
    background: url(ellipsis-vertical-large.png) repeat-x;
}

.tag_list {
    list-style-type: none;
    margin-bottom: 0.5em;
}
.tag_list:before, .tag_hash:before {
    content: '#';
    font-family: arial, sans-serif;
    color: #000088;
    font-size: 120%;
}
.tag_list li, #tags strong {
    display: inline-block;
    margin:0 0.3em 0 0.3em;
    padding: 0.1em 0.8em;
    background: #dfeefb;
    border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    transform: skew(-20deg, 0);
}
.tag_list a, #tags strong a {
    display: inline-block;
    transform: skew(20deg, 0);
    color: #000088;
}
.swapper_list:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 17px;
    margin: 0 0 -2px 0;
    background: url(icons-sprite36.png) -60px -22px no-repeat;
    -webkit-print-color-adjust: exact;
}
#sale_offers, #sale_offers_greysheet {
    position: relative;
}
#sale_offers .buy_coin_links, #sale_offers_greysheet .buy_coin_links {
    display: flex;
    padding-top: 1em;
    margin: 0.5em 0 0.5em -0.5em;
    overflow-x: auto;
}
#sale_offers .buy_coin_links > div, #sale_offers_greysheet .buy_coin_links > div {
    width: 160px;
    min-width: 160px;
    margin: 0 0.5em;
    padding-bottom: 2em;
}
#sale_offers .buy_coin_links > div p, #sale_offers_greysheet .buy_coin_links > div p {
    text-align: left;
    left: 0.1em;
}
#sale_offers .item_price, #sale_offers_greysheet .item_price {
    position: absolute;
    width: calc(100% - 0.6em);
    bottom: 0.3em;
}
#sale_offers .buy_spacer, #sale_offers_greysheet .buy_spacer {
    min-width: 30px;
    margin-left: -0.5em;
}
#sale_offers:after, #sale_offers_greysheet:after {
    content: ' ';
    background: url('ellipsis.png') repeat-y;
    width: 30px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}
#sale_offers .promo_details, #sale_offers_greysheet .promo_details {
    color: #000088;
    font-size: 0.9em;
}
#sale_offers .disclaimer, #sale_offers_greysheet .disclaimer {
    color: #777777;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 0.5em;
}
#sale_offers:has(+ #sale_offers_greysheet:not(:empty)) .disclaimer {
    display: none;
}
#sale_offers:has(+ #sale_offers_greysheet:not(:empty)) {
    margin-bottom: 1em;
}

.own_stat {
    text-align: center;
}
.own_stat span:before {
    content: '';
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 7px;
    margin: 0 0.2em 1px 0;
}
.own_stat span.cluster1:before {
    background: #fee5d9;
}
.own_stat span.cluster2:before {
    background: #fcae91;
}
.own_stat span.cluster3:before {
    background: #fb6a4a;
}
.own_stat span.cluster4:before {
    background: #de2d26;
}
.own_stat span.cluster5:before {
    background: #a50f15;
}
@media (max-width: 700px) {
    #fiche_photo {
        float: none;
        margin-right: 0;
        padding-right: 0;
        width: auto;
    }
    #fiche_caracteristiques {
        background: none;
        padding: 0;
    }
    .caracteristiques_wrapper {
        float: none;
        max-width: none;
        margin: 0;
    }
    #fiche_caracteristiques h3 {
        text-align: left;
        margin: 1em 0 0.5em 0;
    }
}
@media (max-width: 350px) {
    #fiche_photo .coin_pic {
        max-width: 50%;
    }
    #fiche_photo .coin_pic:first-child {
        margin: 0;
    }
}

/* Examples */

#examples_list {
    display: grid;
    grid-template-columns: repeat(3, 17em);
    gap: 10px;
}

#examples_list > div {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 2px 10px 2px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.example_image {
    max-width: 16em;
    width: 100%;
    height: 7em;
    overflow: hidden;
    white-space: nowrap;
}

.example_image img {
    height: 7em;
    width: auto;
    max-width: none;
    vertical-align: bottom;
}

.example_description {
    height: 4em;
    overflow: hidden;
    position: relative;
}

.example_comment {
    margin-top: 0.5em;
    position: relative;
}

.example_comment_card {
    font-size: smaller;
    position: relative;
}

.more_example_details {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: white;
    text-decoration: none;
    font-size: smaller;
    border: 1px dot-dash lightgrey;
    padding-left: 1em;
    padding-bottom: 0.2em;
    cursor: pointer;
}

.example_fake {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 0.5em 0 0.5em 0;
    background-color: #000088;
    padding: 0.2em;
    color: white;
}

.example_fake_horizontal {
    border-radius: 0.5em;
}

#examples_horizontal_list {
    display: grid;
    gap: 10px;
    word-break: break-word;
}

#examples_horizontal_list .example:target {
    outline: 1px solid #000088;
}

#examples_horizontal_list > div {
    border-top: 1px solid #ccc;
    padding: 0.1em 0.5em 0.1em 0.5em;
    display: flex;
    position: relative;
}

#examples_horizontal_list > div > div:first-child {
    width: 16em;
    min-width: 16em;
}

.example_full_description {
    flex: 1;
    margin-left: 1.5em;
}

@media only screen and (max-width: 700px) {
    #examples_horizontal_list > div {
        flex-wrap: wrap;
    }

    #examples_horizontal_list > div > div:first-child {
        flex: 100%;
    }

    .example_full_description {
        margin-left: 0;
        margin-top: 0.5em;
    }
}

.example_list_image {
    width: 16em;
    max-height: 7em;
    overflow: hidden;
    white-space: nowrap;
}

.example_list_image img {
    height: 7em;
    width: auto;
    max-width: none;
    vertical-align: bottom;
}

@media screen and (max-width: 790px) {
    #examples_list {
        grid-template-columns: repeat(2, 17em);
    }
}

@media screen and (max-width: 520px) {
    #examples_list {
        grid-template-columns: 17em;
    }
}

.guideline_button {
    padding: 0;
    background: none;
    border: none;
    line-height: 16px;
}

.guideline_button img {
    vertical-align: bottom;
    width: 16px;
    height: 16px;
}

/* Sales */
#sales_list {
    border-collapse: collapse;
    border-bottom: 1px solid #CCCCCC;
}
#sales_list th {
    white-space:nowrap;
    padding: 0 1em 0.2em 0;
    text-align: left;
}
#sales_list th.sale_price {
    text-align: center;
}
#sales_list td {
    padding-right: 1em;
    border-top: 1px solid #CCCCCC;
}
#sales_list td:last-child {
    padding-right: 0;
}
#sales_list .sale_pictures div {
    max-width: 10.5em;
    height: 5em;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 0.1em;
}
#sales_list .sale_pictures div img {
    height: 5em;
    width: auto;
    max-width: none;
    vertical-align: bottom;
}
#sales_list .sale_price .unbreakable, #sales_list .sale_date {
    white-space:nowrap;
}
#sales_list .sales_details {
    font-size: 0.9em;
    color: #595959;
}
#sales_list .sale_grade {
    text-align: center;
}
#sales_list .sale_price, #sales_list .sale_original_price {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
#sales_list .sale_price {
    padding-right: 0.5em;
}
#sales_list .sale_copyright, #sales_list .sale_comment_row td {
    font-size: 0.9em;
    padding-top: 0;
    border-top: none;
}
#sales_list .sale_copyright a {
    color: black;
}
#sales_list tbody:has(+ .sales_list_group) tr:last-child td, #sales_list thead:has(+ .sales_list_group) th {
    padding-bottom: 1em;
}
#sales_list .sales_list_group tr:first-child td {
    padding-top: 0.8em;
}
.sales_list_group {
    border: 2px solid #CCCCCC;
    position: relative;
}
#sales_list .sales_list_group td:first-child {
    padding-left: 0.5em;
    padding-right: 0.5em;
}
#sales_list .sales_list_group td:last-child {
    padding-right: 0.5em;
}
.sales_list_group_title {
    position: absolute;
    top: -0.8em;
    left: 1em;
    background: white;
    padding: 0 0.5em;
    font-style: italic;
    color: #666666;
}
@media (max-width: 750px) {
    #sales_list {
        display: block;
        border: none;
    }
    #sales_list thead {
        display: none;
    }
    #sales_list tbody {
        display: block;
    }
    #sales_list tr {
        display: block;
        clear: left;
        border-top: 1px solid #CCCCCC;
        padding: 0.5em 0 0.5em 11em;
    }
    #sales_list tr:last-child {
        border-bottom: 1px solid #CCCCCC;
    }
    #sales_list td {
        display: block;
        border: none;
        text-align: left !important;
    }
    #sales_list .sale_pictures {
        float: left;
        margin-left: -11em;
    }
    #sales_list .sale_grade br {
        display: none;
    }
    #sales_list .sale_auction br {
      display: -moz-inline-stack;
      display: inline-block;
      vertical-align: top;
      zoom: 1;
      *display: inline;
      content: '';
      width: 0.5em;
      height: 1.2em;
    }
    #sales_list .sale_auction br:before {
        content: ', ';
    }
    #sales_list .sale_price br {
        display: none;
    }
    #sales_list .sale_original_price {
        display: inline-block;
        margin-left: 0;
    }
    #sales_list .sale_copyright_row, .sale_comment_row {
        border: none;
        padding: 0 0 0.5em 0;
        margin-top: -0.5em;
    }
    #sales_list .sale_copyright {
        margin-left: 0;
    }
}
@media (max-width: 600px) {
    #sales_list .sale_pictures div {
        width: 5em;
        max-width: 5em;
    }
    #sales_list tr {
        padding-left: 6em;
    }
    #sales_list .sale_pictures {
        margin-left: -6em;
    }
}

/* Collectible version page */
.price_table {
    border-collapse: collapse;
    border-bottom: 2px solid aliceblue;
}
.price_table tr:nth-child(2n) {
    background-color: aliceblue;
}
.price_table tr:nth-child(2n+1) {
    background-color: #FFFFFF;
}
.price_table th {
    text-align: left;
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
}
.price_table td, .price_table th {
    padding: 0.1em 0.5em 0.1em 0.5em;
}


/* Catalogue edit form (coin modification) */
.form .lettering_textarea {
    width:80%;
    padding:0.5em;
}
.form .script_select, .form .engraver_select {
    width:80%;
}
.special_keyboard_box {
    border:1px dotted black;
    background:#F0F0F0;
    margin:0.5em 0 1em 0;
    padding:0.5em;
    width:80%;
    box-sizing: border-box;
}
.reference_input {
    padding-bottom: 0.3em;
}
.reference_input select {
    width: 9em;
}
.reference_input .select2 {
    vertical-align: top;
}
.reference_input input[type="text"] {
    width: 5rem;
}
.catalogue_details {
    display: block;
    max-height: 3.2em;
    padding-bottom: 5px;
    overflow: hidden;
    position: relative;
    color: #666666;
}
.catalogue_details:before {
    content: ' ';
    display: block;
    background: url(ellipsis-vertical.png);
    width: 100%;
    height: 8px;
    position: absolute;
    bottom: 0;
}
.form .two_dimensions input {
    width: 6.5rem;
}
#dimension_separator {
    display: inline-block;
    width: 2rem;
    text-align: center;
}
#printer_list select {
    width: 100%;
}

#date_table th {
    vertical-align: middle;
    text-align: center;
}
#date_table td {
    vertical-align: top;
}
#date_table input[type="text"] {
    vertical-align: top;
    height: 32px;
}
#date_table .date_check {
    padding-top: 10px;
}
#date_table .date_year input {
    width: 3em;
}
#date_table .date_month input, #date_table .date_day input {
    width: 2em;
}
#date_table .date_sign select {
    width: 15em;
}
#date_table .date_mark select {
    width: 7em;
    height: 2em;
}
.select2-container .mark_container {
    display: inline-block;
    padding: 0.1em;
}
.select2-container .mark {
    max-width: 1.2em;
    max-height: 1.2em;
}
.select2-results .mark_container {
    display: inline-block;
    min-width: 1.4em;
}
#date_table .date_mint input {
    width: 3em;
}
#date_table .date_mintage input {
    width: 6em;
    text-align: right;
}
#date_table .reference {
    padding-right: 0.2em;
    padding-left: 0.4em;
    width: 12em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#date_table .date_trans {
    font-size: 90%;
    color: #666666;
    text-align: left;
}

.simplified_button {
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    color: black;
    cursor: pointer;
}

.first_version_reference {
    width: 4em !important;
    margin-top: 0.1em;
    height: 1.8em !important;
}

.second_version_reference {
    width: 4em !important;
    margin-bottom: 0.5em;
    margin-top: 0.4em;
    height: 1.8em !important;
}

@media (max-width: 550px) {
    .sticky_submit {
        position: sticky;
        bottom: 0;
        background: #FFFFFF;
        margin: 0 -1em 0 -1em;
        padding: 1em 0 1em 0;
        border-top: 1px solid #CCCCCC;
    }
}

@media (min-width: 600px) {
    .add_sale_checkbox {
        text-align: center;
        margin: 0 0 0.5em 0;
    }
}

/* List of modification requests */
#request_list_filter {
    margin: 1em 0 0 0;
}
#request_list_filter > div {
    margin: 0 0 0.5em 0;
}
#request_list {
    margin-top: 1em;
}
#request_list td {
    vertical-align: top;
    word-break: break-word;
}
#request_list .request_date {
    white-space: nowrap;
}
#request_list div {
    padding: 0.1em;
    border-radius: 0.4em;
    -moz-border-radius: 0.4em;
    -webkit-border-radius: 0.4em;
    text-align: center;
    white-space: nowrap;
}
#request_list div.attente, .request_history_container div.attente {
    background: #f5efab;
}
#request_list div.valide, .request_history_container div.valide {
    background: #abf5ab;
}
#request_list div.refuse, .request_history_container div.refuse {
    background: #f5c1ac;
}
#request_list div.revision, .request_history_container div.revision {
    background: #dfeefb;
}
#request_list div.questioned, .request_history_container div.questioned {
    background: #719fc7;
}
#request_list div.supprime, .request_history_container div.supprime {
    background: #f5c1ac;
}
#request_list div.partiel, .request_history_container div.partiel {
    background: #abf5dc;
}
#request_list div.annule, .request_history_container div.annule {
    background: #dddddd;
}
#request_list div.appeal, .request_history_container div.appeal {
    background: #cbbbf7;
}
@media (max-width: 550px) {
    #request_list tr, #request_list tbody, #request_list tr, #request_list td {
        display: block;
        padding: 0 !important;
    }
    #request_list {
        margin-top: 0;
    }
    #request_list .request_date {
        margin-top: 1em;
    }
}

/* Special characters keyboard */
.alphabets {
    border: 1px solid #CCCCCC;
    margin: 0.5em 0 0.5em 0;
    padding: 0.3em;
    border-radius: 0.3em;
}
.alphabets a {
    display: inline-block;
    border: 1px solid #CCCCCC;
    margin: 0 1px 1px 0;
    width: 1.2em;
    height: 1.2em;
    font-size: 130%;
    padding: 0.1em;
    text-align: center;
    background: #F0F0F0;
    color: #000;
    text-decoration: none;
    border-radius: 2px;
    vertical-align: bottom;
}
.alphabets .character_separator {
    display: inline-block;
    width: 0.5em;
    height: 1.2em;
}
.tamoul a {
    width: auto;
}

/* All coins */
.all_coins summary {
    margin: 0.5em 0 0 0;
}
.all_coins a {
    margin-left: 2em;
}

/* Contribution suggestions */
.contribution_opportunities {
    list-style-type: none;
}
.contribution_opportunities li {
    margin: 0 0 0.2em 0;
}
#ignore_notification {
    background: #000088;
    color: #FFFFFF;
    margin: 1em auto 0 auto;
    padding: 0.5em 1em 0.5em 1em;
    border-radius: 0.5em;
    max-width: max-content;
    position: fixed;
    bottom: 1em;
    box-shadow: 1px 2px 0.5em 0 rgb(0 0 0 / 50%);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
#ignore_notification button {
    margin-left: 0.5em;
}

/* Ruler list */
.ruler_list {
    margin-bottom: 0.2em;
}
@media (max-width: 520px) {
    .ruler_list {
        margin-bottom: 0.5em;
    }
}
.ruler_list summary {
    display: inline; /* Reduce clickable area */
}
.ruler_list div {
    padding: 0 0 0.2em 3em;
}
.ruler_list h2 {
    display: inline;
    font-size: 1rem;
    margin: 0;
    font-weight: normal;
    color: #000000;
}
.ruler_list ul {
    list-style-type: disc
}

/* Rulers */
.ruler_examples {
    margin:1em 0 2em 0;
    clear: left;
}
.ruler_examples h2 {
    font-size: 1rem;
    margin: 0;
}
.ruler_examples ul {
    display: flex;
    flex-wrap: wrap;
}
.ruler_examples li {
    width: 8.5em;
    max-height: 12.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0.5em 1em 0.5em 0;
    text-align:center;
}
.ruler_examples li a {
    display: block;
    width: 8em;
}
@media (max-width: 520px) {
    .ruler_examples li:nth-child(5) {
        display: none;
    }
}
.ruler_portrait {
    float: left;
    margin: 0 1em 1em 0;
    max-width: 50%;
}

/* Tags */
#tags {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1em;
}
#tags li {
    display: grid;
    grid-template-columns: 5em auto;
    grid-template-rows: min-content 1fr;
    grid-gap: 0.2em 0.5em;
    box-shadow: 1px 2px 0.5em 0 rgba(0, 0, 0, 0.5);
    border-radius: 0.5em;
    margin: 0;
    padding: 0.5em;
}
#tags li .head {
    grid-row: 1 / span 2;
    width: 5em;
    height: 5em;
}
#tags > span {
    padding-top: 0.5em;
}
@media (max-width: 1100px) {
    #tags {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    #tags {
        display: block;
    }
    #tags li {
        box-shadow: none;
        padding: 0.5em 0 0.5em 0;
        border-radius: 0;
        border-bottom: 1px solid #CCCCCC;
    }
}

/*****************/
/* ISSUER CHANGES */
/*****************/
#issuer_changes {
    display: grid;
    grid-template-columns: min-content 1fr;
    margin: 2em 0 0 0;
}
#issuer_changes .change_date {
    grid-column-start: 1;
    position: relative;
    padding-right: 1em;
    font-weight: bold;
    white-space: nowrap;
}
#issuer_changes .change_message {
    grid-column-start: 2;
    padding: 0 0 1em 1em;
    border-left: 1px solid black;
}
#issuer_changes .change_date:after {
    content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="7" height="7"><circle cx="3.5" cy="3.5" r="3.5" fill="black"/></svg>');
    position: absolute;
    right: -4px;
    top: 0;
}
#issuer_changes .change_date.major:after {
    content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="13" height="13"><circle cx="6.5" cy="6.5" r="6.5" fill="black"/></svg>');
    right: -7px;
}

@media (max-width: 600px) {
    #issuer_changes {
        display: block;
        border-left: 1px solid black;
    }
    #issuer_changes .change_date {
        padding: 0 0 0 1em;
        margin: 1em 0 0 0;
        font-weight: normal;
        font-style: italic;
    }
    #issuer_changes .change_message {
        padding: 0 0 0 1em;
        margin: 0;
        border: none;
    }
    #issuer_changes .change_date:before {
        content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="7" height="7"><circle cx="3.5" cy="3.5" r="3.5" fill="black"/></svg>');
        position: absolute;
        left: -4px;
        top: 0;
    }
    #issuer_changes .change_date.major:before {
        content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="13" height="13"><circle cx="6.5" cy="6.5" r="6.5" fill="black"/></svg>');
        right: -7px;
    }
    #issuer_changes .change_date:after, #issuer_changes .change_date.major:after {
        content: none;
    }
}

.issuer_change_data {
    font-size:0.9em;
}

#issuer_change_range_picker {
    margin: 0.5em 0 2em 0;
    background: #dfeefb;
    border-radius: 0.5em;
    padding: 1em;
}

/* Request history */

.request_history_container {
    display: grid;
    grid-template-columns: max-content max-content max-content auto;
    max-width: max-content;
}
.request_history_header {
    padding: 0 1em 0.3em 0;
    border-bottom: 1px solid #CCCCCC;
    font-weight: bold;
}
.request_history_header.request_status {
    text-align: center;
}
.request_history_cell {
    border-bottom: 1px solid #CCCCCC;
    padding: 0.3em 1em 0.3em 0;
}
.request_history_cell div {
    padding: 0.1em 0.2em;
    border-radius: 0.4em;
    text-align: center;
    white-space: nowrap;
}
.request_stretch {
    padding-right: 0;
    overflow-wrap: break-word;
    overflow: hidden;
}

@media screen and (max-width: 700px) {
    .request_history_container {
        grid-template-columns: repeat(3, 1fr);
    }
    .request_history_header:nth-child(4) {
        display: none;
    }
    .request_history_cell.request_status, .request_history_header.request_status {
        padding-right: 0;
    }
    .request_history_cell div {
        white-space: initial;
    }
    .request_history_cell:not(.request_stretch) {
        border-bottom: none;
        padding-bottom: 0;
    }
    .request_stretch {
        grid-column: span 3;
    }
}

/* Admin page */

.admin_table {
    border: 1px solid #f0f8ff;
    border-radius: 0.5em;
    overflow: hidden;
    width: max-content;
}

.admin_table table {
    border-collapse: collapse;
}

.admin_table td, .admin_table th {
    padding: 0.3em 0.5em 0.3em 0.5em;
}

.admin_table tr:nth-child(2n+1) {
    background: #f0f8ff;
}

.admin_table.admin_unregistrations tr:nth-child(4n), .admin_table.admin_unregistrations tr:nth-child(4n+1) {
    background: #f0f8ff;
}

.admin_table.admin_unregistrations tr:nth-child(4n+2), .admin_table.admin_unregistrations tr:nth-child(4n+3) {
    background: #ffffff;
}

.admin_table th {
    text-align: left;
}

.admin_table th em {
    font-weight: normal;
    font-style: normal;
}

.admin_table .c {
    text-align: center;
}

.admin_table .fixed {
    max-width: 20%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.warning_number {
    font-style: normal;
    color: #db6600;
}

.admin_report_table {
    max-width: 100%;
}

/* Modal for image search input source */
.input_source_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.input_source_modal_content {
    background: #fff;
    padding: 1.5em;
    border-radius: 0.5em;
    text-align: center;
    margin: 1.5em;
    position: relative;
}
.input_source_modal_content p {
    margin-bottom: 1em;
}
.close-modal-button {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    font-size: 1.5em;
    color: #888888;
    padding: 0 0.5rem 0 0.5rem;
}
.input_source_modal_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1em;
    justify-content: center;
}

/* Modification requests */
td.new_value, td.current_value {
    position: relative;
}
td.new_value::before, td.current_value::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 1em solid #008800;
    border-right: 1em solid transparent;
}
td.current_value::before {
    border-top-color: #884400;
}

/* Collectible sets */
.set_content {
    list-style-type: none;
}
.set_content > li {
    display: grid;
    grid-template-columns: 3.75em 3.75em auto;
    margin: 0 0 0.5em 0;
    gap: 0.5em;
}
.set_content .set_content_picture {
    max-width: 3.75em;
    max-height: 3.75em;
}

.coin-gallery {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
}

.coin-gallery-main {
    position: relative;
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.coin-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.coin-gallery-copyright {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    max-width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coin-gallery-thumbnails {
    display: flex;
    flex-direction: column;
    width: 80px;
    gap: 10px;
}

.coin-gallery-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border 0.3s, opacity 0.3s;
}

.coin-gallery-thumbnails img.coin-gallery-thumb-active {
    opacity: 1;
    border-color: #007bff;
}

.set_caracteristiques {
    max-width: calc(35% - 0.5em);
}

#fiche_photo.set_photo {
    width: 65%;
}

@media (max-width: 700px) {
    .set_caracteristiques {
        max-width: unset;
    }

    #fiche_photo.set_photo {
        width: unset;
    }
}

/* Current sales */
#current_listings {
    border-top: 1px solid #ccc;
    margin-bottom: 1em;
}
#current_listings > div {
    display: grid;
    grid-template-columns: 8em auto;
    align-items: flex-start;
    border-bottom: 1px solid #ccc;
    padding: 0.5em 0 0.5em 0;
    gap: 1em;
}
#current_listings .listing_picture_link img {
    width: 8em;
    height: 6em;
    object-fit: cover;
    display: block;
}
#current_listings .item_vendor {
    margin-bottom: 0.2em;
}
#current_listings .item_title {
    margin-bottom: 0.5em;
}
#current_listings .item_price a[title^=E]:after, #current_listings .item_price a[title^=C]:after {
    content: ' ';
    display: inline-block;
    height: 19px;
    width: 19px;
    margin: 0 0 -0.2em 0.2em;
    background: url(icons-sprite36.png) no-repeat -137px -74px;
    -webkit-print-color-adjust: exact;
}
#current_listings .promo_details {
    margin: 0.5em 0 0 0;
    color: #444;
    font-size: 0.9em;
}
#current_sales_disclaimer {
    color: #777777;
    font-size: 0.9em;
    font-style: italic;
}

/* Grid of thematic pages of the catalog, e.g. Techniques and Materials */
#technique_list {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 1em;
}
@media (max-width: 1100px) {
    #technique_list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
@media (max-width: 700px) {
    #technique_list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media (max-width: 500px) {
    #technique_list {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 300px) {
    #technique_list {
        grid-template-columns: 1fr;
    }
}
#technique_list li {
    box-shadow: 1px 2px 0.5em 0 rgba(0, 0, 0, 0.5);
    margin: 0;
    text-align: center;
    padding: 0.5em;
    border-radius: 0.5em;
    overflow: hidden;
}
#technique_list img {
    width: calc(100% - 1em);
    height: auto;
    max-height: 100%;
    margin-bottom: 0.5em;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
