﻿
:root {
    --epg-color-background: #25142C;
    --epg-color-black: #000;
    --epg-color-white: #fff;
    --epg-color-red: #F14A66;
    --epg-color-green: #60BD0E;
    --epg-color-darkgrey: #272727;
    --epg-color-lightgrey: #dddddd;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    font-size: 16px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    align-items: center;
    min-height: 50.75rem;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    display: inline-flex
}


body {
    background: var(--epg-color-background, linear-gradient(180deg, #25142C 0%, #53284F 100%));
    overflow-x: hidden;
}

/************************************/
/* HEADER                           */
/************************************/

.epg-header {
    height: 100%;
    display: flex;
    padding-bottom: 10px;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.epg-headerLeft {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1 0 0;
}

.epg-headerArrow {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
}

.epg-headerRight {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex: 1 0 0;
}

/************************************/
/* BUTTONS                          */
/************************************/

.epg-btn {
    color: var(--epg-color-white);
    background-color: var(--epg-color-red);
    font-weight: 700;
    text-transform: uppercase;
    word-wrap: break-word;
    width: 100%;
    height: 100%;
    padding: 17px 10px;
    border-radius: 6px;
    border: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}

    .epg-btn:focus {
        color: var(--epg-color-white);
        background-color: var(--epg-color-red);
        border: none;
        box-shadow: 0 0 0 0.25rem rgba(241, 74, 102, 0.5);
    }

    .epg-btn:hover {
        color: var(--epg-color-white);
        background-color: var(--epg-color-red);
        border: none;
    }

    .epg-btn:active {
        color: var(--epg-color-white);
        background-color: var(--epg-color-red);
        border: none;
    }

    .epg-btn:visited {
        color: var(--epg-color-white);
        background-color: var(--epg-color-red);
        border: none;
    }

.epg-btn-secondary {
    color: var(--epg-color-red);
    background-color: var(--epg-color-white);
    font-weight: 700;
    text-transform: uppercase;
    word-wrap: break-word;
    width: 100%;
    height: 100%;
    padding: 17px 10px;
    border-radius: 6px;
    border: 2px solid var(--epg-color-lightgrey);
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}

    .epg-btn-secondary:focus {
        color: var(--epg-color-red);
        background-color: var(--epg-color-white);
        border: 2px solid var(--epg-color-lightgrey);
        box-shadow: 0 0 0 0.25rem rgba(241, 74, 102, 0.5);
    }

    .epg-btn-secondary:hover {
        color: var(--epg-color-red);
        background-color: var(--epg-color-white);
        border: 2px solid var(--epg-color-lightgrey);
    }

    .epg-btn-secondary:active {
        color: var(--epg-color-red);
        background-color: var(--epg-color-white);
        border: 2px solid var(--epg-color-lightgrey);
    }

    .epg-btn-secondary:visited {
        color: var(--epg-color-red);
        background-color: var(--epg-color-white);
        border: 2px solid var(--epg-color-lightgrey);
    }


/************************************/
/* FORMS                            */
/************************************/

.epg-select {
    background-color: var(--epg-color-lightgrey);
    width: 100%;
}

.epg-checkbox {
    background-color: var(--epg-color-lightgrey);
    border-radius: 6px;
    width: 24px;
    height: 24px;
    appearance: none;
    -webkit-appearance: none;
    color: var(--epg-color-black);
}

    .epg-checkbox:checked {
        background-color: var(--epg-color-red);
        border: 3px solid var(--epg-color-white);
        background: var(--epg-color-red);
    }

    .epg-checkbox:focus {
        outline: none;
        box-shadow: none;
    }

    .epg-checkbox:checked {
        background-color: var(--epg-color-red);
        border: 3px solid var(--epg-color-white);
        background: var(--epg-color-red);
    }

.epg-checkbox-small {
    background-color: var(--epg-color-lightgrey);
    border-radius: 3px;
    width: 14px;
    height: 14px;
    appearance: none;
    -webkit-appearance: none;
    color: var(--epg-color-black);
    border: 1px solid var(--epg-color-black);
}

    .epg-checkbox-small:checked {
        background-color: var(--epg-color-red);
        box-shadow: inset 0 0 0 4px white;
        background: var(--epg-color-red);
    }

    .epg-checkbox-small:focus {
        outline: none;
        box-shadow: none;
    }

    .epg-checkbox-small:checked {
        background-color: var(--epg-color-red);
        box-shadow: inset 0 0 0 2px white;
        background: var(--epg-color-red);
    }

.epg-radio {
    background-color: var(--epg-color-white);
    border-radius: 6px;
    width: 24px;
    height: 24px;
    appearance: none;
    -webkit-appearance: none;
    color: var(--epg-color-black);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

    .epg-radio:checked {
        background-color: var(--epg-color-red);
        border: 3px solid var(--epg-color-white);
        background: var(--epg-color-red);
    }

    .epg-radio:focus {
        outline: none;
        box-shadow: none;
    }

    .epg-radio:checked {
        background-color: var(--epg-color-red);
        border: 3px solid var(--epg-color-white);
        background: var(--epg-color-red);
    }

.epg-input {
    background-color: var(--epg-color-lightgrey);
    height: 50px;
}

.epg-check:checked {
    background-color: var(--epg-color-red);
    border: none;
}


/************************************/
/* TITLES                           */
/************************************/

.epg-text {
    font-weight: 400;
    word-wrap: break-word
}

.epg-text-bold {
    font-weight: 700;
    word-wrap: break-word
}

.epg-title {
    text-align: center;
    color: var(--epg-color-darkgrey);
    font-size: 0.8125rem;
    font-weight: 900;
    text-transform: uppercase;
    word-wrap: break-word;
    padding-bottom: 15px;
}

.epg-subTitle {
    width: 100%;
    color: var(--epg-color-darkgrey);
    text-align: center;
    font-size: 0.6875rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    padding-bottom: 15px;
}

.epg-description {
    color: var(--epg-color-darkgrey);
    text-align: center;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.epg-recipient {
    color: var(--epg-color-darkgrey);
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom:0.5rem;
}

.epg-note {
    color: var(--epg-color-darkgrey);
    text-align: left;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top:10px;
}

.epg-note-line {
    color: var(--epg-color-darkgrey);
    text-align: left;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.epg-bottomTitle {
    color: var(--epg-color-white);
    text-align: center;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/************************************/
/* VERTICAL SPACERS                */
/************************************/


.epg-addAir {
    padding-top: 45px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

.epg-addLittleAir {
    padding-top: 15px;
}

.epg-addAirBelow {
    padding-bottom: 45px;
}
.epg-pt-10 {
    padding-top: 10px;
}
.epg-pb-10 {
    padding-bottom: 10px;
}

/************************************/
/* PANELS                           */
/************************************/

.epg-panel {
    background-color: var(--epg-color-white);
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25);
    color: var(--epg-color-black);
    border-radius: 6px;
    padding: 0.9375rem;
    margin-bottom: 15px;
}

.epg-panel-error {
    background-color: var(--epg-color-red);
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25);
    color: var(--epg-color-white);
    border-radius: 6px;
    padding: 0.9375rem;
    margin-bottom: 15px;
}

.epg-panel-line {
    align-items: flex-start;
    align-self: stretch;
    margin-bottom: 15px;
}

/************************************/
/* BLOCKS                           */
/************************************/

.epg-details-block {
    min-width: 4rem;
}

.epg-block-amount {
    background-color: var(--epg-color-red);
    color: var(--epg-color-white);
    height: 6.25rem;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
}

.epg-block-allGood {
    background-color: var(--epg-color-green);
    color: var(--epg-color-white);
    height: 6.25rem;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
}

.epg-block-arrow {
    height: 6.25rem;
    justify-content: center;
    align-items: center;
}

.epg-block-logoClient {
    border-radius: 6px;
    border: 1px solid var(--epg-color-lightgrey);
    height: 6.25rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.epg-block-logoClient-ph {
    background-color: var(--epg-color-red);
    border-radius: 6px;
    color: var(--epg-color-white);
    height: 6.25rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.epg-block-logoBank {
    border-radius: 6px;
    border: 1px solid var(--epg-color-lightgrey);
    height: 6.25rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.epg-logoContainer {
    min-width: 80px;
}

.epg-logo {
    width: 80px;
}

.epg-icon-exclamation {
    height: 100px;
}

.epg-icon-middleSize {
    width: 40px;
}

.epg-top-block {
    padding: 55px 0px 10px 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    align-self: stretch;
}

.epg-checkbox-block {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.epg-selected-account-block {
    display: flex;
    padding: 10px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 6px;
    background-color: var(--epg-color-lightgrey);
}

.epg-checkbox-multi-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1 0 0;
}

.epg-error-summary {
    margin-bottom: 10px;
    color: var(--epg-color-red);
    font-size: 0.8125rem;
    font-weight: 900;
    text-transform: uppercase;
    word-wrap: break-word;
    padding-bottom: 15px;
}

.signalR-message {
    margin-top: 5px;
    margin-top: 5px;
    color: var(--epg-color-red);
    font-size: 0.8125rem;
    font-weight: 900;
    text-transform: uppercase;
    word-wrap: break-word;
}

.epg-required {
    color: var(--epg-color-red);
    margin-left:1px;
}

/************************************/
/* SELECT2                           */
/************************************/

/* main container */
.select2-container {
    width: 100% !important;
}

    /* default select */
    .select2-container .select2-selection {
        background-color: var(--epg-color-lightgrey);
        border: none;
        border-radius: 6px;
        font-weight: 600;
        height: 50px;
        display: flex;
        align-items: center;
    }

    /* Customize the dropdown */
    .select2-container .select2-dropdown {
        background-color: var(--epg-color-lightgrey);
        border: 0.5px solid var(--epg-color-red);
    }

    /* Customize dropdown items */
    .select2-container .select2-results__option {
        padding: 10px;
    }

    /* Customize arrow */
    .select2-container .select2-selection__arrow {
        position: absolute;
        transform: translateY(50%);
    }

/* Highlighted item text in dropdown */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--epg-color-red);
    color: var(--epg-color-white);
}

/* Customize search field */
.select2-search .select2-search__field {
    background-color: var(--epg-color-white);
    height: 2.5rem;
}

/************************************/
/* LANGUAGE                          */
/************************************/

/* main container */
#languageSelector + .select2-container {
    width: 60px !important;
}


    /* default select */
    #languageSelector + .select2-container .select2-selection {
        background-color: var(--epg-color-background) !important;
        color: var(--epg-color-white) !important;
        border: 1px solid var(--epg-color-white) !important;
    }


/* default selection text */
#languageSelector + .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--epg-color-white) !important;
}

/* arrow closed */
#languageSelector + .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--epg-color-white) transparent transparent transparent !important;

}

/* arrow open */
#languageSelector + .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--epg-color-white) transparent !important;
    border-width: 0 4px 5px 4px;
}

/* Customize the dropdown */
#select2-languageSelector-results {
    background-color: var(--epg-color-background) !important;
    border: 0.5px solid var(--epg-color-white) !important;
    color:white !important;
}
    /* Customize the option highlighted */
    #select2-languageSelector-results .select2-results__option--highlighted {
        background-color: var(--epg-color-white) !important;
        color: var(--epg-color-background) !important;
    }
    /* Customize the option selected */
    #select2-languageSelector-results .select2-results__option[aria-selected="true"] {
        background-color: var(--epg-color-background);
        color: var(--epg-color-white);
    }
