@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;
}

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

#wrapper{
    position: fixed;
    height: 100%;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: scroll;
    background-color: white;
}

#wrapper.zoomed .inner-parent{
    flex: 0 0 calc(250vh - (15pt * 4));
    overflow: hidden;
}
#wrapper.zoomed{
    overflow: hidden !important;
}
/*canvas{ display: none !important; }*/
/*.zoomed canvas{ display: block !important; }*/

    .inner-parent{
        padding: 15px;
        grid-gap: 15px;
        box-sizing: border-box;
        flex: 0 0 100%;
        height: auto;

        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        scroll-snap-type: both mandatory;
        scroll-padding: 1rem;
        transition: flex .4s cubic-bezier(0.7, 0, 0.3, 1), grid-gap .4s cubic-bezier(0.7, 0, 0.3, 1);
    }

.write-mode .inner-parent{ grid-gap: 1px; }
.write-mode .module{ background-color: white !important; border-radius: 0px !important; }

.green .module{ background-color: rgb(45, 240, 90); }
.write-mode.green .inner-parent{ background-color: rgb(45, 240, 90) !important; }
    .green .header{ background-color: rgb(45, 240, 90); }

.yellow .module{ background-color: #ffeb00; }
.yellow .module.placeholder{ background-color: rgb(255, 255, 255); outline: solid 1px #dddddd; }
.write-mode.yellow .inner-parent{ background-color: rgb(255, 206, 0) !important; }
/*    .yellow .header{ background-color: rgb(255, 206, 0); }*/

.pink .module{ background-color: rgb(255, 104, 209); }
.write-mode.pink .inner-parent{ background-color: rgb(255, 104, 209) !important; }
    .pink .header{ background-color: rgb(255, 104, 209); }

.blue .module{ background-color: rgb(0, 150, 255); }
.write-mode.blue .inner-parent{ background-color: rgb(0, 150, 255) !important; }
    .blue .header{ background-color: rgb(0, 150, 255); }


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

            scroll-snap-align: center;
            width: calc((100% / 3) - 8pt);
            height: auto;
        /*
            width: 540px;
            height: 580px;
        */
            aspect-ratio: 1/1.12;
            border-radius: 26px;
            color: black;
        /*
            background-color: black;
            color: white;
        */
/*            transition: width .5s cubic-bezier(.7, 0, .3, 1), height .5s cubic-bezier(.7, 0, .3, 1);*/
        /*    transition: background-color .15s ease, color .15s ease;*/
            overflow: scroll;
        }
        .module.placeholder{
            border-radius: 24px;
            opacity: 1;
            transition: opacity .4s cubic-bezier(.7, 0, .3, 1);
/*            background-color: rgb(0, 0, 0);*/
        }
        .module.placeholder.large{
            flex: 0 0 100%;
            height: calc((100vh / 3) - 8pt);
            aspect-ratio: auto;
        }
            .module {
                -ms-overflow-style: none;  /* Internet Explorer 10+ */
                scrollbar-width: none;  /* Firefox */
            }
            .module::-webkit-scrollbar {
                display: none;  /* Safari and Chrome */
            }

        .module.drag{
            background-color: rgb(0, 0, 0);
            color: white;
        }

        .module.drag h1{ background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 35%, rgba(0, 0, 0, 0.00) 100%); }
        .module.drag .header{ border-color: white; }
        .module.drag .list-item{ border-color: rgba(255, 255, 255, 0.25); }

    /*
        .module:hover{
            width: 580px;
            height: 640px;
        }
    */

    /*
    */

        .zoomed .module{
            color: black !important;
            overflow: scroll !important;
        }
        .zoomed .module.placeholder{
            opacity: 0;
        }

        .zoomed{ overflow: hidden; }

        .zoomed h1{ padding: 40px 40px 0px 40px; }
        .zoomed .header{ border-color: black; }
        .zoomed .table{ padding: 0px 40px 0px 40px; }
/*        .zoomed .list-item{ border-color: transparent; padding: 4px 0px 2px 0px; }*/

/*
    .inner-module{ pointer-events: none; }
    .inner-parent.zoomed .inner-module{ pointer-events: all; }
*/

/*
        .inner-module{
            width: 100%;
            height: 100%;
            transform: scale(1);
            transition: transform .4s cubic-bezier(0.7, 0, 0.3, 1);
        }

        .inner-parent.zoomed .inner-module{
            transform: scale(.75);
        }
*/

    h1{
/*        position: sticky;*/
        top: 0;
        height: 140px;
        padding: 30px 30px 0px 30px;
        box-sizing: border-box;
        font-weight: 300;
        font-size: 22px;
        line-height: 24px;
        transition: padding .3s cubic-bezier(.7, 0, .3, 1);
/*        background: linear-gradient(180deg, rgba(255, 206, 0, 0.95) 35%, rgba(255, 206, 0, 0.00) 100%);*/
/*        background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 35%, rgba(0, 0, 0, 0.00) 100%);*/
        z-index: 9999;
    }

.overview{
    height: auto;
    width: 100%;
    padding: 0px 15px 0px 15px;
    box-sizing: border-box;
    margin-bottom: 20px;
    overflow: scroll;
}
    .overview .block{
        font-size: 14px;
        line-height: 16px;
        font-weight: 300;
        white-space: nowrap;
        padding: 0px 15px 0px 15px;
        box-sizing: border-box;
        margin-bottom: 15px;
        flex: 0 0 calc(100% / 4.5);
    }

.table{
    height: auto;
    width: 100%;
    padding: 0px 30px 0px 30px;
    box-sizing: border-box;
    transition: padding .5s cubic-bezier(.7, 0, .3, 1);
}
    .header{
/*
        position: sticky;
        top: 0;
*/
        display: flex;
        flex-direction: row;
        font-weight: 500;
        font-size: 11px;
        letter-spacing: 0.015px;
        line-height: 14px;
        padding: 20px 0px 10px 0px;
        box-sizing: border-box;
/*        transition: border .15s ease;*/
        border-bottom: 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 12%; }
            .header-title{ flex: 0 0 53.5%; }
            .header-value{ flex: 0 0 14%; }
            .header-bank{ flex: 0 0 12%; }
            .header-type{ flex: 0 0 0%; }
            .header-card{ flex: 0 0 15%; }
            .header-category{ flex: 0 0 0%; }

/*
            .zoomed .header-date{ flex: 0 0 7%; }
            .zoomed .header-title{ flex: 0 0 20%; }
            .zoomed .header-placeholder-1{ flex: 0 0 14%; }
            .zoomed .header-value{ flex: 0 0 6%; }
            .zoomed .header-bank{ flex: 0 0 6%; }
            .zoomed .header-type{ flex: 0 0 7%; }
            .zoomed .header-card{ flex: 0 0 10%; }
            .zoomed .header-category{ flex: 0 0 14%; }
            .zoomed .header-placeholder-2{ flex: 0 0 16%; }
*/



    .list{
        font-weight: 300;
        font-size: 14px;
        line-height: 18px;
    }
        .list-item{
            display: flex;
            flex-direction: row;
            padding: 10px 0px 6px 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 12%; }
            .item-date-full{ display: none;}
            .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-bank{ flex: 0 0 10%; }
            .item-type{ flex: 0 0 0%; }
            .item-card{ flex: 0 0 15%; }
            .item-category{ flex: 0 0 0%; }

            .zoomed .item-date{ display: none;}
            .zoomed .item-date-full{ flex: 0 0 10%; display: block}
            .zoomed .item-title{ flex: 0 0 40%; }
            .zoomed .item-transaction-type{ flex: 0 0 auto; }
            .zoomed .item-value{ flex: 0 0 6%; }
/*            .zoomed .item-bank{ flex: 0 0 6%; }*/
            .zoomed .item-type{ flex: 0 0 7%; }
            .zoomed .item-card{ flex: 0 0 10%; }
            .zoomed .item-category{ flex: 0 0 14%; }
            .zoomed .item-subcategory{ flex: 0 0 14%; }

    .zoomed .item-id{
        background-color: rgba(0, 0, 0, .07);
        border-radius: 6px;
        padding: 1.5px 3px;
        font-size: 13.5px;
        flex: 0 0 40px;
        text-align: center;
        letter-spacing: .15px;
    }

    .zoomed .item-bank{
        background-color: rgba(0, 0, 0, .07);
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
        padding: 1.5px 6px 1.5px 6px;
        font-size: 13.5px;
        flex: 0 0 auto;
        letter-spacing: .15px;
    }
    .zoomed .item-type{
        background-color: rgba(0, 0, 0, .07);
        padding: 1.5px 6px;
        font-size: 13.5px;
        flex: 0 0 auto;
        letter-spacing: .15px;
    }

    .zoomed .item-card{
        background-color: rgba(0, 0, 0, .07);
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
        padding: 1.5px 6px 1.5px 3px;
        font-size: 13.5px;
        flex: 0 0 auto;
        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) {
    .module{ width: calc((100% / 2) - 6pt); }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) and (max-width: 1650px) {
    .module{ width: calc((100% / 3) - 8pt); }
}

