/*
    Format:
    -Grid (Column, Row, Align, Justify, Z-Index)
    -Margin/Padding
    -Colour
    -Background
    -Border
    -Width
    -Height
    -Font (Size, Weight, Height, Align)
    -Transition
    -Other
*/

/* Page Colours */
:root {
    --accent-colour: #0090FF;
    --lighter-accent-colour: #D2EDFF;
    --darkest-grey: #61656A;
    --darker-grey: #A8A8A8;
    --medium-grey: #DBDBDB;
    --subtle-grey: #F2F2F2;
    --light-grey: #F9F9F9;
    --base: white;

    --transition-speed: 0.2s;
}

/*:root {
        --accent-colour: #0090FF;
        --lighter-accent-colour: #D2EDFF;
        --darker-grey: #A8A8A8;
        --medium-grey: #333333;
        --subtle-grey: #292929;
        --light-grey: #272727;
        --base: #292929;
    }*/

/* Basic Element Formatting */
body {
    display: grid;
    grid-template-columns: 65px 1fr;
    grid-template-rows: 55px calc(92vh - 55px) 8vh;

    margin: 0;

    background: var(--base);
}

input {
    border: 0;

    margin: 0;
    padding: 0;

    background-color: transparent;

    transition: var(--transition-speed);
}

.Container {
    grid-row: 1 / span 3;
    grid-column: 2;

    padding: 60px;

    overflow-y: scroll;
    display: block;
}

.Container .title {
    margin: 30px 6px 50px;

    display: inline-block;
}

.Container .back {
    margin-top: 30px;

    color: var(--darker-grey);
    cursor: pointer;

    display: inline-block;
    float: right;
}

.Container .back:hover {
    color: var(--accent-colour);
    transition: var(--transition-speed);
}

.button {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: 1fr;
    width: min-content;
    height: 40px;
    color: var(--darker-grey);
    background: var(--base);
    border-radius: 20px;
    box-shadow: 0px 4px 20px -4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    cursor: pointer;
}

.button i {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin-left: 8px;
    color: var(--medium-grey);
    justify-self: center;
    transition: 0.2s;
}

.button:hover i {
    color: var(--accent-colour);
}

.button span {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 2px 20px 0 0;
}

/* Page Font */
body,
input {
    font-family: Muli, sans-serif;
}

/* Frequent Text Styles */
h1,
.t1 {
    margin: 0;
    color: var(--darkest-grey);
    font-family: Stolzl;
    font-size: 25px;
    font-weight: 500;
    line-height: 14px;
}

h2,
.t2 {
    margin: 0;
    color: var(--darker-grey);
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
}

h3,
.t3 {
    margin: 0;
    color: var(--darker-grey);
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
}

h4,
.t4 {
    margin: 0;
    color: var(--medium-grey);
    font-size: 10px;
    line-height: 11px;
}

h5,
.t5 {
    margin: 0;
    color: var(--subtle-grey);
    font-size: 10px;
    font-weight: 500;
    line-height: 11px;
}

/* Navbar */
.Navbar {
    grid-column: 1;
    grid-row: 1 / span 3;
    background-color: var(--light-grey);
    box-shadow: 0px 0px 20px -4px rgba(0, 0, 0, 0.03);
}

.Navbar .Item,
.Navbar .Logo {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    border-left: transparent solid 0px;
    width: 100%;
    height: 60px;
    transition: var(--transition-speed);
    line-height: 70px;
    text-align: center;
    color: var(--medium-grey);
}

.material-icons {
    font-size: 21px !important;
}

.Navbar .Item:hover {
    border-left: var(--accent-colour) solid 2px;
    width: calc(100% - 4px);
    box-shadow: 0px 1px 18px -8px rgba(0, 0, 0, 0.18);
}

.Navbar .Item.Selected {
    border-left: var(--accent-colour) solid 2px;
    width: calc(100% - 3px);
    color: var(--accent-colour);
    stroke-linecap: round;
}

.Navbar .Logo {
    margin: 10px 0 50px 0;
    background-image: url(http://resource.jud3.io/logo/IconBLACKVector.svg);
    background-size: 30px;
    opacity: 0.1;
}


/* List of Items*/
.ListB {
    margin-top: 20px;
}

.ListC {
    padding-top: 8px;
}

/* ListItemA */
.listItemA {
    grid-template-columns: 1fr;
    grid-template-rows: 70px 1fr;
    border: var(--subtle-grey) 1px solid;
    border-radius: 5px;
    height: 120px;
    width: 200px;
    display: inline-grid;
    margin: 8px;
    transition: var(--transition-speed);
}

.listItemA:hover {
    box-shadow: 0px 1px 18px -8px rgba(0, 0, 0, 0.28);
}

.listItemA .image {
    grid-column: 1;
    grid-row: 1;
    height: 70px;
    background-color: var(--light-grey);
    border-radius: 5 5px 0 0;
}

.listItemA .name,
.listItemA .item,
.listItemA .cost {
    grid-column: 1;
    grid-row: 2;
    margin: 12px;
    overflow: hidden;
    white-space: nowrap;
}

.listItemA .name {
    align-self: start;
}

.listItemA .item {
    align-self: end;
}

.listItemA .cost {
    justify-self: right;
}

/* ListItemB */
.listItemB {
    padding: 12px 10px;
    border-bottom: var(--subtle-grey) 1px solid;
    transition: var(--transition-speed);
}

.listItemB:hover {
    box-shadow: 0px 1px 18px -8px rgba(0, 0, 0, 0.28);
}

.listItemB .name,
.listItemB .item,
.listItemB .cost {
    display: inline;
    overflow: hidden;
    white-space: nowrap;
}

.listItemB .item {
    margin-left: 12px;
}

.listItemB .cost {
    margin-top: 5px;
    float: right;
}

/* ListItemC */
.listItemC {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 1fr;
    margin: 0 0 15px 8px;
}

.listItemC .listItemA {
    margin: 0;
}

.listItemC:hover .listItemA {
    box-shadow: 0px 1px 18px -8px rgba(0, 0, 0, 0.28);
}

.listItemC .name.t1 {
    display: inline-block;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    color: var(--darker-grey);
    margin: 0 0 65px 18px;
}

.listItemC .name.t1 {
    transition: var(--transition-speed);
}

.listItemC:hover .name.t1 {
    color: var(--darkest-grey);
    transition: var(--transition-speed);
}

.listItemC .item.t2 {
    display: inline-block;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin: 55px 0 0 20px;
}

/* Item List Titles and Headings */
.Container h1,
.Container h2 {
    margin: 10px 0;
}

.Container h1 {
    margin: 30px 0;
}

/* Dashboard */
.Container .Dashboard {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 150px 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
    height: 100%;
    transition: var(--transition-speed);
}

.Container .Dashboard h1 {
    margin: 30px 0 0 0;
}

.Container .Dashboard .Tile {
    background: #FFFFFF;
    border-radius: 2px;
}

/* Dashboard Tiles and Details */
.Dashboard .Tile h1,
.Dashboard #Payment h1 {
    margin: 30px 0 0 0;
    font-weight: bold;
}

.Dashboard .Title,
.Dashboard .Description {
    grid-column: 1 / span 5;
    grid-row: 1;
    margin: 54px 0 0 0;
}

.Dashboard #Payment {
    grid-column: 5;
    grid-row: 1;
}

.Dashboard #Payment .Tick {
    display: inline;
}

.Dashboard #Payment h3 {
    display: inline;
}

.Dashboard .t1 {
    grid-column: 1 / span 2;
    grid-row: 2;
}

.Dashboard .t2 {
    grid-column: 1 / span 3;
    grid-row: 3;
}

.Dashboard .t3 {
    grid-column: 4;
    grid-row: 3;
}

.Dashboard .t4 {
    grid-column: 5;
    grid-row: 3;
}

.Dashboard .t5 {
    grid-column: 5;
    grid-row: 3;
}

.Dashboard .t6 {
    grid-column: 1 / span 5;
    grid-row: 4 / span 2;
}

/* Taskboard */
.Taskboard .ListItem-Style1 {
    width: 50%;
}

/* Loader */
.Loader,
.Loader:before,
.Loader:after {
    background: var(--medium-grey);
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 0.5em;
    height: 2em;
    border-radius: 5px;
}

.Loader {
    justify-self: center;
    align-self: center;
    color: var(--medium-grey);
    text-indent: -9999em;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.Loader:before,
.Loader:after {
    position: absolute;
    top: 0;
    content: '';
}

.Loader:before {
    left: -1.2em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.Loader:after {
    left: 1.2em;
}

@-webkit-keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 2em;
        opacity: 0.9;
    }

    40% {
        box-shadow: 0 -2em;
        height: 3em;
    }
}

@keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 2em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 3em;
        opacity: 0.9;
    }
}

@media only screen and (max-width: 600px) {}