@font-face {
    font-family: 'ABC-Monument-Mono';
    src: url('../fonts/ABCMonumentGroteskMono-Regular.woff2') format('woff2'),
        url('../fonts/ABCMonumentGroteskMono-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Swiss-721';
    src: url('../fonts/Swiss721Light.eot');
    src: url('../fonts/Swiss721Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Swiss721Light.woff2') format('woff2'),
        url('../fonts/Swiss721Light.woff') format('woff'),
        url('../fonts/Swiss721Light.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiss-721';
    src: url('../fonts/Swiss721Roman.eot');
    src: url('../fonts/Swiss721Roman.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Swiss721Roman.woff2') format('woff2'),
        url('../fonts/Swiss721Roman.woff') format('woff'),
        url('../fonts/Swiss721Roman.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiss-721';
    src: url('../fonts/Swiss721Medium.eot');
    src: url('../fonts/Swiss721Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Swiss721Medium.woff2') format('woff2'),
        url('../fonts/Swiss721Medium.woff') format('woff'),
        url('../fonts/Swiss721Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@CHARSET "UTF-8";


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;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body{
    font-family: 'Swiss-721';
    cursor: default;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ol, ul, li {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
textarea, input, button { outline: none; }
input.hidden{ display: none; }

:focus {
  outline-color: transparent;
  outline-style: none;
}

/*****************************************************/
/*                    Typesetting                    */
/*****************************************************/
.underline{
    border-bottom: solid 1.5px black;
    padding-bottom: 2px;
}
h1{
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 23px;
}

h2{
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
}

h3{
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
}



/*****************************************************/
/*                      Styling                      */
/*****************************************************/

#wrapper{
    position: absolute;
    height: auto;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

    .inner-parent{
        padding: 4em;
        grid-gap: 4em;
        box-sizing: border-box;
        width: 100%;
        height: auto;

    }


        .module{
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -o-user-select: none;
            user-select: none;

            width: 100%;
            height: 100%;

        }

            .inner-title{
                margin-bottom: 10px;
                color: black;
                width: 100%;
                height: 400px;
            }

            .inner-module{
            }

                #transactions .inner-module{
                    display: flex;
                    justify-content: flex-start;
                    align-items: flex-start;
                    grid-gap: 2em;
                    width: 100%;
                    height: auto;
                }


/*****************************************************/
/*                Module: Transactions               */
/*****************************************************/

.account-selector{
    position: sticky;
    top: 4em;
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    
    flex: 0 0 250px;
    height: auto;
}

    .account-selector .card.active{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        
        width: 250px;
        height: 160px;
        flex-shrink: 0;
        border-radius: 6px;
        padding: 14px 16px;
        
        margin-bottom: 20px;
        box-sizing: border-box;
        background: #0085FF;
    }
        .card.active .card-details{
            color: #FFF;
            font-family: 'Swiss-721';
            font-size: 13px;
            font-style: normal;
            font-weight: 400;
            line-height: 15px; /* 116.667% */
        }
        .card.active .card-number{
            color: #FFF;
            text-align: right;
            font-family: 'ABC-Monument-Mono';
            font-style: normal;
            font-weight: 400;
            font-size: 12px;
            line-height: 14px;
            align-self: flex-end;
        }


    .account-selector .card.inactive{
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        grid-gap: .5em;
        padding: 6px 16px 6px 10px;
        box-sizing: border-box;

        width: 100%;
        height: auto;
        opacity: .25;
        transition: opacity .2s cubic-bezier(.7, 0, .3, 1);
    }
        .account-selector .card.inactive:hover{ opacity: 1; }

        .account-selector .card-thumbnail{
            width: 31px;
            height: 22px;
            flex-shrink: 0;
            border-radius: 2px;
        }

        .card.inactive .card-details{
            color: #000;
            font-family: 'Swiss-721';
            font-size: 12px;
            font-style: normal;
            font-weight: 300;
            line-height: 14px;
            letter-spacing: 0.015em;
            white-space: nowrap;
        }
        .card.inactive .card-number{
            color: #000;
            text-align: right;
            font-family: 'ABC-Monument-Mono';
            font-style: normal;
            font-weight: 400;
            font-size: 12px;
            line-height: 14px; /* 122.222% */
            width: 100%;
            white-space: nowrap;
        }


        [bank='monzo'] .card-thumbnail{ background: #FF008A; }
        [bank='lloyds'] .card-thumbnail{ background: #0E6100; }
        [bank='fortis'] .card-thumbnail{ background: #005FCE; }




.account-insights{
    position: sticky;
    top: 4em;
    
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    
    flex: 0 0 250px;
    height: auto;
}

    .account-insights .block{
        width: 100%;
        padding: .75em 0em 1.25em 0em;
        box-sizing: border-box;
        border-bottom: solid 1px #D7D7D7;
    }

    .account-insights .block:first-child{
        border-top: solid 1px #D7D7D7;
    }
    .account-insights .block:last-child{
        border-bottom: none;
    }


        .block .label{
            color: #595959;
            font-family: 'Swiss-721';
            font-size: 12px;
            font-style: normal;
            font-weight: 600;
            line-height: 16px; /* 120% */
        }

        .block .value{
            color: #000;
            font-family: 'Swiss-721';
            font-size: 22px;
            line-height: 26px; /* 111.111% */
            font-style: normal;
            font-weight: 600;
        }



.account-table{
    height: auto;
    flex: 0 0 60%;
    transition: padding .5s cubic-bezier(.7, 0, .3, 1);
    background-color: white;
}
    .header{
/*
        position: sticky;
        top: 0;
*/
        display: flex;
        flex-direction: row;
        font-weight: 500;
        font-size: 11px;
        letter-spacing: 0.015px;
        line-height: 14px;
        padding: 12px 0px 22px 0px;
        box-sizing: border-box;
/*        transition: border .15s ease;*/
        border-bottom: solid 1px rgba(0, 0, 0, 0.15);
        border-top: solid 1px rgba(0, 0, 0, 0.15);
    }
        .header div{
            white-space: nowrap;
            overflow: hidden;
/*            transition: flex .3s cubic-bezier(.7, 0, .3, 1);*/
        }

            .header-date{ flex: 0 0 14%; }
            .header-title{ flex: 0 0 53.5%; }
            .header-value{ flex: 0 0 14%; }
            .header-category{ flex: 0 0 15%; }


    .list{
        font-weight: 300;
        font-size: 14px;
        line-height: 18px;
    }
        .list-item{
            display: flex;
            flex-direction: row;
            padding: 12px 0px 10px 0px;
            box-sizing: border-box;
/*            transition: padding .5s cubic-bezier(.7, 0, .3, 1), border .5s cubic-bezier(.7, 0, .3, 1);*/
/*            transition: border .15s ease;*/
            border-bottom: solid 1px rgba(0, 0, 0, 0.15);
        }
            .list-item div{
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
/*                transition: flex .3s cubic-bezier(.7, 0, .3, 1);*/
            }

            .ellipsis{
                font-size: 10px;
                line-height: 18px;
                letter-spacing: -1px;
            }

            .item-date{ flex: 0 0 14%; }
            .item-title{ flex: 0 0 50%; }
            .item-transaction-type{
                flex: 0 0 auto;
                margin-right: 5px;
                display: flex;
                align-items: center;
            }
                .item-transaction-type svg{
                    margin-top: -1px;
                }
            .item-value{ flex: 0 0 13%; }
            .item-category{ flex: 0 0 20%; }

        letter-spacing: .15px;


/*****************************************************/
/*                   Media Queries                   */
/*****************************************************/

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 1200px) {
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) and (max-width: 1650px) {
}

