@charset "UTF-8";
/*==============================================
================================================

[Main Stylesheet]

Project:		MRC Europe - Tool
Version:		2.1.1
Create:			August 2023
Last change:	-
Developer: 		Yane Yamkwe

================================================
================================================


================================================
===============================================*/

body.keyboard {
    height: 115vh !important; /* Increase body height so that keyboard can't hide input fields / buttons */
}

.copyright {
    position: relative;
    bottom: -16px;
    right: 14px;
    text-align: right;
}

/* ===== START: OpenStreetMap ====*/
#map {
    width: 100%;
    height: 180px;
}

.leaflet-control-attribution.leaflet-control {
    display: none; /**Hide leaflet url with Ukraine logo*/
}

.leaflet-top, .leaflet-bottom {
    z-index: 900 !important;
}

/* ===== END OpenStreetMap ===*/

.mobile {
}

.login-body .login-content img {
    object-fit: none;
    width: 200px !important;
}

@media screen and (max-width: 640px) {
    .mobile .card {
        width: 100%;
    }

    .login-body .login-content {
        padding: 5%;
    }

    .login-body .login-content img {
        margin-bottom: 20%;
    }

    .login-body .login-content h5 {
        margin-bottom: 8%;
    }
}

@media screen and (min-width: 641px) {
    .mobile .card {
        width: 430px;
    }

    .login-body .login-content {
        padding: 3%;
    }

    .login-body .login-content img {
        margin-bottom: 10%;
    }

    .login-body .login-content h5 {
        margin-bottom: 4%;
    }
}

.mrc-hide {
    display: none;
}

.mrcModalGrid {
    display: grid;
    justify-content: center;
}

.login-body .copyright {
    position: absolute;
    bottom: 2px;
    right: 14px;
}

/* Photo camera capture button*/
table.pc-capture tr:nth-child(2) td {
    text-align: right;
}

/*Overriding*/
.layout-wrapper .layout-main .layout-content {
    padding: 10px;
}

code {
    /*font-size: .875em;*/
    font-size: 1em;
    color: #d63384;
    word-wrap: break-word;
    font-family: monospace;
    font-weight: bold;
}

.env-container {
    font-family: monospace;
    font-weight: bold;
    background-color: #FBC02D;
    text-align: right;
    padding-right: 25%;
    border-radius: 3px;
    border: 1px solid #EEEEEE;
}

.layout-wrapper .env-container {
    position: absolute;
    top: 0;
    z-index: 998;
    left: 27%;
    width: 50%;
    padding: 0;
    font-size: inherit;
    text-align: center !important;
}

.blink {
    animation: blinker 1.5s linear infinite;
    font-family: monospace;
}

.width-100percent {
    width: 100%;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.mrc-dt-row-toggler th:first-child {
    width: 3rem;
}

.mrc-dt-th-id th:first-child,
.mrc-dt-2th-id th:nth-child(2) {
    width: 50px;
}

.mrc-dt-2th-numero-dossier th:nth-child(2) {
    width: 72px;
}

.mrc-dt-1th-numero-dossier th:nth-child(1) {
    width: 100px;
}

.mrc-dt-1th-numero-dossier-mini th:nth-child(1),
.mrc-dt-2th-numero-dossier-mini th:nth-child(2) {
    width: 40px;
}

.mrc-dt-th-last2-65px th:nth-last-child(2) {
    width: 65px;
}

.mrc-dt-th-checkbox th:nth-last-child(4) {
    width: 46px;
}

.wizard-button.mrc-wizard-button button.mrc-button-secondary {
    background-color: #607D8B !important;
}

.mrc-dt-4th-img th:nth-child(4) {
    width: 100px;
}

.mrc-dt-th-status th:nth-last-child(2) { /* Last-child -1*/
    width: 100px;
}

.mrc-dt-th-account-status th:nth-last-child(2) { /* Last-child -1*/
    width: 72px;
}

.mrc-dt-th-statusWide th:nth-last-child(2) { /* Last-child -1*/
    width: 130px;
}

.mrc-dt-th-date th:nth-last-child(3),
.mrc-dt-4th-date th:nth-last-child(4),
.mrc-dt-5th-date th:nth-last-child(5) { /* Last-child -1*/
    width: 80px;
}

.mrc-dt-th-2buttons th:last-child {
    width: 100px;
}

.mrc-dt-th-1button th:last-child {
    width: 40px;
}

.mrc-dt-th-1button-wide th:last-child {
    width: 108px;
}

.mrc-dt-th-Mobile th:last-child {
    width: 128px;
}

.mrc-dt-th-3buttons th:last-child {
    width: 114px;
}

.mrc-dt-column-button {
    text-align: center;
}

.mrc-dt-column-button button {
    margin: 2px !important;
}

.mrc-padding-v-5percent {
    padding: 5% 0;
}

.screen-more-than-991px-hide, .screen-less-than-991px-hide {
    /*Explicitly let empty, but later we can add styling from here*/
}

@media screen and (min-width: 991px) {
    .layout-wrapper .layout-topbar .topbar-menu > li.screen-more-than-991px-hide {
        display: none !important;
    }
}

@media screen and (max-width: 991px) {
    .layout-wrapper .layout-topbar .topbar-menu .user-profile > ul.screen-less-than-991px-hide {
        display: none !important;
    }
}

.layout-footer {
    padding: 0 20px !important;
}

.mrc-card-hover:hover {
    cursor: pointer;
    border: solid 1px #2196F3;
    transition: background-color 0.3s;
}

.mrc-width-200px {
    width: 200px !important;
}

.mrc-car-bg-color {
    background-color: #f2f2f2 !important;
}

.mrc-width-136-dot-4px {
    width: 9.742em !important;
}

.mrc-tr-bg-color {
    background-color: #e0e0e0;
}

/** START Event qr-code scanned Modal Dialog*/
.panel-event-qr-code-scanned,
.panel-ajax-exception-handling {
    min-width: 300px;
}

.panel-event-qr-code-scanned .label,
.panel-ajax-exception-handling .label {
    width: 20%;
    padding: 4px;
    font-weight: bold;
    text-align: right;
    vertical-align: baseline;
}

.panel-event-qr-code-scanned .value,
.panel-ajax-exception-handling .value {
    width: 80%;
    padding: 4px;
}

.panel-ajax-exception-handling .value {
    border-radius: 3px;
    font-family: monospace;
    background: rgba(245, 111, 100, 0.1);
}

.panel-event-qr-code-scanned .grid,
.panel-ajax-exception-handling .grid {
    width: 100%;
}

.panel-event-qr-code-scanned span.qr_code_valid_later,
.panel-event-qr-code-scanned span.qr_code_member_card_registration_failed {
    background: #FEEDAF;
    color: #8A5340;
    padding: 2px 6px;
    font-family: monospace;
}

.panel-event-qr-code-scanned span.check_in_success,
.panel-event-qr-code-scanned span.qr_code_success {
    background: #C8E6C9;
    color: #256029;
    padding: 2px 6px;
    font-family: monospace;
}

.panel-event-qr-code-scanned span.already_checked_in,
.panel-event-qr-code-scanned span.qr_code_unknown,
.panel-event-qr-code-scanned span.qr_code_invitation_not_found,
.panel-event-qr-code-scanned span.qr_code_broken,
.panel-event-qr-code-scanned span.qr_code_invalid,
.panel-event-qr-code-scanned span.qr_code_valid_later,
.panel-event-qr-code-scanned span.qr_code_blocked,
.panel-event-qr-code-scanned span.qr_code_member_card_unknown,
.panel-event-qr-code-scanned span.qr_code_member_card_already_registered_to_that_event {
    background: #FFCDD2;
    color: #C63737;
    padding: 2px 6px;
    font-family: monospace;
}

/** END Event qr-code scanned Modal Dialog*/

.mrc-badge-info {
    border-radius: 2px;
    padding: 0.25em;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.3px;
    color: #0d3c61 !important;
}

.mrc-badge {
    padding: 0 2px;
    text-transform: uppercase;
}


.mrc-badge-info.mrc-account-status-created,
.mrc-badge-info.mrc-account-status-activated,
.mrc-badge-info.mrc-adhesion-process-status-card_emailed,
.mrc-badge.mrc-tmp-account-status-created,
.mrc-badge.mrc-account-status-created,
.mrc-badge.mrc-account-status-activated,
.mrc-badge.mrc-adhesion-process-status-card_emailed {
    background: #B3E5FC;
    color: #23547B;
}

.mrc-badge.mrc-account-status-online,
.mrc-badge-info.mrc-account-status-online,
.mrc-badge.mrc-adhesion-process-status-card_created,
.mrc-badge-info.mrc-adhesion-process-status-card_created {
    background: #C8E6C9;
    color: #256029;
}

.mrc-badge-info.mrc-account-status-offline,
.mrc-badge-info.mrc-adhesion-process-status-submitted,
.mrc-badge.mrc-tmp-account-status-email_sent,
.mrc-badge.mrc-account-status-offline,
.mrc-badge.mrc-adhesion-process-status-submitted {
    background: #FEEDAF;
    color: #8A5340;
}

.mrc-badge.mrc-tmp-account-status-expired,
.mrc-badge.mrc-account-status-blocked,
.mrc-badge.mrc-adhesion-process-status-rejected,
.mrc-badge-info.mrc-account-status-blocked,
.mrc-badge-info.mrc-adhesion-process-status-rejected {
    background: #FFCDD2;
    color: #C63737;
}

.mrc-badge.mrc-tmp-account-status-email_sent_failed,
.mrc-badge.mrc-adhesion-process-status-change_error,
.mrc-badge.mrc-adhesion-process-status-card_error,
.mrc-badge.mrc-adhesion-process-status-email_failed,
.mrc-badge-info.mrc-adhesion-process-status-card_error,
.mrc-badge-info.mrc-adhesion-process-status-change_error,
.mrc-badge-info.mrc-adhesion-process-status-email_failed {
    background: #FFD8B2;
    color: #805B36;
}

.mrc-badge-info.mrc-account-status-frozen,
.mrc-badge-info.mrc-account-status-expired,
.mrc-badge-info.mrc-adhesion-process-status-controlling,
.mrc-badge.mrc-tmp-account-status-password_changed,
.mrc-badge.mrc-account-status-frozen,
.mrc-badge.mrc-account-status-expired,
.mrc-badge.mrc-adhesion-process-status-controlling {
    background: #ECCFFF;
    color: #694382;
}

.mrc-badge-info.mrc-account-status-deleted,
.mrc-badge-info.mrc-adhesion-process-status-card_printed,
.mrc-badge.mrc-account-status-deleted,
.mrc-badge.mrc-adhesion-process-status-card_printed {
    background-color: #e0e0e0;
    color: #212121;
}

.mrc-signature-block {
    width: 250px;
    height: 200px;
}

.mrc-box-border {
    border: 1px solid #ced4da;
}

.wizard-button.mrc-wizard-button button {
    background-color: #2196F3 !important;
    padding: 6px 0 !important;
}

/*.mrc-wizard-forms-padding-right {
    padding: 0 10px 0 0;
}

.mrc-wizard-forms-padding-left {
    padding: 0 0 0 0;
}*/

/*.mrc-signature-block canvas {
    width: 100%;
    height: 100%;
    margin-left: -15px;
}*/

/** Primefaces and Babylon override */

/*General, on error message, remove icons*/
body .ui-messages .ui-messages-error .ui-messages-error-icon::before {
    content: none;
}

body .ui-splitbutton.ui-button-secondary > .ui-button {
    border: none !important;
}

body .ui-splitbutton.ui-button-secondary > .ui-button.ui-state-focus {
    box-shadow: none !important;
}

body .ui-messages-error-icon {
    height: 0;
    width: 0;
}

body .ui-inputfield {
    color: #495057 !important;
}

.crud-demo .orders-subtable {
    padding: 0.2rem;
}

/*End on general*/

/** Checkbox menu */
body .ui-selectcheckboxmenu .ui-selectcheckboxmenu-multiple-container .ui-selectcheckboxmenu-token {
    background: #e3f2fd !important;
}

/** END Checkbox menu */
/** WIZARD */
.wizard-body {
    background: none !important;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
}

.wizard-body .wizard-content {
    height: auto !important;
}

@media (min-width: 1200px) {
    .wizard-body .wizard-content .wizard-card {
        width: 80% !important;
    }
}

.wizard-body .wizard-content .wizard-card {
    width: 95% !important;
}

.wizard-body .wizard-content .wizard-card {
    background-color: #ffffff;
}

.wizard-body .wizard-content .wizard-card .wizard-card-content.register .warning > p {
    color: #212121;
}

.wizard-body .wizard-content .wizard-card .wizard-card-content.register .wizard-forms-wrapper .wizard-forms input {
    background-color: transparent;
    border: 1px solid #ced4da !important;
}

.wizard-body .wizard-content .wizard-card .wizard-card-header .wizard-card-tabs .wizard-card-tab {
    padding: 15px 6% !important;
}

.wizard-body .wizard-content .wizard-card .wizard-card-content.payment .wizard-forms-wrapper {
    padding: 24px 24px;
}

@media (max-width: 992px) {
    .wizard-body .wizard-content .wizard-card .wizard-card-header .wizard-card-tabs .wizard-card-tab {
        padding: 15px 0 !important;
    }
}

@media (max-width: 992px) {
    .wizard-body .wizard-content .wizard-card .wizard-card-content {
        max-height: none;
    }
}

@media (max-width: 992px) {
    .wizard-body .wizard-content .wizard-card .wizard-card-header .wizard-card-header-banner {
        display: none;
    }
}

.wizard-body .wizard-content .wizard-card .wizard-card-content,
.wizard-body .wizard-content .wizard-card .wizard-card-content.register .wizard-button,
.wizard-body .wizard-content .wizard-card .wizard-card-content.tier .wizard-button {
    margin-top: auto !important;
}

.wizard-body .wizard-content .wizard-card .wizard-card-content .wizard-button {
    padding: 0 !important;
}

/** END Wizard */
/*End of Primefaces Babylon*/

/** DIALOG */
body .ui-dialog.ui-confirm-dialog .ui-dialog-content > span {
    line-height: 1.5;
    margin: 1rem 0 1rem 0.5rem;
}

body .ui-dialog.ui-confirm-dialog .ui-dialog-content > span strong {
    color: #C63737;
}

body .ui-dialog .ui-dialog-footer {
    display: flex;
    justify-content: flex-end;
}

/*Workaround for all browser: @see here: https://stackoverflow.com/questions/32984008/how-can-i-set-a-minimum-amount-of-space-between-flexbox-items*/
.small-screen-flex-space-between {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.mrc-dialog, .mrc-qrcode-dialog {
    font-size: 14px;
}

@media screen and (min-width: 450px) {
    .mrc-qrcode-dialog {
        min-width: 400px;
    }
}

body .mrc-dialog.ui-dialog .ui-dialog-footer {
    justify-content: left;
}

body .mrc-qrcode-dialog.ui-dialog .ui-dialog-footer {
    justify-content: right;
}

body .mrc-bg-gray {
    background: #f8f9fa !important;
}

/*End dialog */

