body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

/* Nav (top bar)*/


nav {
    z-index: inherit;
    z-index: 1;
    background: firebrick;
    color: white;
    display: flex;
    flex-direction: row;
    padding: 5vw;
    font-size: 10vw;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
}

nav div {
    margin: auto;
}

/*====================================*/

section {
    /*background: gray;*/
    margin: 5vw;
    display: flex;
    flex-direction: column-reverse;
}

#AddEntry div {
    text-align: center;
    font-size: 10vw;
}

/* Card Displays */

.Card {
    background: whitesmoke;
    border-radius: 2vw;
    margin-bottom: 5vw;
    border: 0.2vw solid black;
    
    box-shadow: 0vw 0vw 10vw 3vw rgba(100, 100, 100, 0.3);
    /*
    border-right: 10px solid red;
    border-style: inset;
    */
    padding: 7.5vw; /*Need to set negative margin on card main to same as this */
    padding-top: 15vw;
    padding-bottom: 2vw;
}

.Card .CardMain {
    background: none;
    color: white;
    display: flex;
    position: relative;
    /*width: 100%;*/
    height: 15vw;
    top: -7.5vw; /*Equal to negative of padding on card */
    left: 0;
    border-radius: 2vw 2vw 0vw 0vw; /*First two same as Card border-radius*/
    font-weight: bold;
    margin: -7.5vw; /*Need to set +padding on card to same as this */
    
}

.Card .CardMain * {
    margin: 0.5vw 2vw 0.5vw 2vw;
    margin: auto;
    font-size: 5vw;
    
}

.Card.Entry .CardMain {
    background: dodgerblue;
}

.Card.Monzo .CardMain {
    background: firebrick;
}

.Card .CardBody {
    padding-top: 2vw;
    display: flex;
    flex-direction: column;
    justify-tracks: center;
}

/* Card Body Unique Parts */

.Card .CardBody :not(.uiButton) {
    
    /*background: whitesmoke;*/
    color: black;
    height: 1em;
    padding: 2vw;
    font-size: 5vw;
    height: min-content;
}

.Card .HorizontalField {
    background: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 !important;
    /*font-weight: italic;*/
}

.Card .HorizontalField div {
    font-size: 0.8em !important;
    font-size: auto !important;
    margin: auto;
    width: max-content;
    font-style: italic;
    opacity: 40%;
    padding: 0 !important;
}

.Card .CardBody .verifiedTrue {
    color: lawngreen;
}

.Card .CardBody .verifiedFalse {
    color: red;
}

.CardMeta {
    display: none;
}

    /* Editor Card Specific */

#Editor .Card {
    z-index: inherit;
    z-index: 30;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 75vw;
    /*height: 120vw;*/
    opacity: 100%;
    
}


#Editor .EditorInput {
    background: none;
    display: flex;
    flex-direction: row;
    justify-content: auto;
    align-items: center;
    /*font-weight: bold;*/
    border-bottom: 2px inset maroon;
    border-bottom-style: inset;
    margin-bottom: -2px;
}

input {
    margin: 0.5vw 2vw 0.5vw 2vw !important;
    outline: none;
    background: whitesmoke;
    border: none;
    
    overflow: hidden;
    padding: 2vw;
    padding: 0 !important;
    height: 1em! important;
    /*width: 91.5%;*/
}

#Editor .Checkboxes {
    background: none;
    display: flex;
    /*width: max-content;*/
    flex-direction: row;
    justify-content: auto;
    align-items: center;
    height: min-content;
    /*font-weight: bold;*/
    margin: 2px;
    /*border-bottom: 2px solid maroon;*/
}

#Editor .sub {
    display: grid;
    grid-template: 1fr 1fr 1fr 1fr / 1fr 1fr 1fr 1fr;
    /*
    grid-template: 25% 25% 25% 25% / 25% 25% 25% 25% ;*/
    
}


#Editor .sub div {
    margin: auto;
    padding: 0vw;
    
}

input[type=checkbox] {
    height: 20vw;
    width: 20vw;
    
    /*margin: 1vw 0vw 1vw 0vw !important;*/

    padding: 0vw;
}

/*
#Editor .Card .CardMain {
    
    background: firebrick;
    color: white;
    display: flex;
    position: relative;
    width: 100%;
    height: 15vw;
    top: 0;
    left: 0;
    border-radius: 5vw 5vw 0vw 0vw;
    font-weight: bold;

    
}
*/

/*  ======================================  */

 /* Editor Background */



 #Editor #Grayout {
    z-index: 20;
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 75%;

}

/*  ======================================  */

 /* UI Button style */

.uiButton {
    border: 0.5vw solid rgba(0, 0, 0, 0.5);
    border-radius: 1vw;
    /*background: firebrick;*/
    
    align-self: center;
    text-align: center;
    font-size: 8vw;
    line-height: 9vw; /*Same as height*/
    color: white;
    margin: auto;
    width: 15vw;
    height: 9vw;

}



/*  ======================================  */

.hide {
    display: none !important;
}
