
#notification-container
{
    position: fixed;
    z-index: 100;
    top: var(--headerHeight);
    right: 0;
    width: 320px;
    height: calc(100vh - var(--headerHeight));
    background: linear-gradient(
        180deg,
        rgba(0,0,0, .25) 20%,
        rgba(0,0,0, 0) 80%
    );
}

#notification-container:empty
{
    display: none;
}

#notification-container .notification
{
    display: grid;
    grid-template-columns: var(--widthIcon) 1fr auto;
    grid-template-rows: 1fr;

    width: auto;
    margin: 5px 10px;
    padding: 10px;
    background: #eeeeee;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0,0,0, .8);

    font-family: 'Segoe UI', 'Arial';
    font-size: 14px;
    letter-spacing: .5px;
    line-height: normal;
    user-select: none;

    --widthIcon: 60px;
}

#notification-container .notification:first-child
{
    margin-top: 10px;
}

#notification-container .notification .notification-grid-column:nth-child(1)
{
    display: flex;
    height: var(--widthIcon);
    background: #00000050;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    font-size: 24px;
}

#notification-container .notification .notification-grid-column:nth-child(2)
{
    grid-column-start: 2;
    grid-column-end: 3;

    vertical-align: top;
    padding: 0 10px;
    box-sizing: border-box;
}

#notification-container .notification .notification-grid-column:nth-child(3)
{
    grid-column-start: 3;
    grid-column-end: 4;
}

#notification-container .notification h5
{
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

#notification-container .notification p
{
    font-size: 12px;
}

#notification-container .notification button > *
{
    pointer-events: none;
}

#notification-container .notification button[name^="notificaton-"]
{
    width: 100%;
    margin: 0;
    padding: 10px;
    background: rgba(0,0,0, .1);
    outline: 0;
    border: 0;
}

#notification-container .notification button[name^="goldshow-"]
{
    width: 100%;
    margin: 10px 0 0 0;
    padding: 10px;
    background: rgb(var(--goldColour));
    border: 0;
    outline: 0;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

#notification-container .notification button[name="goldshow-start"]
{
    margin-top: 0;
}

#notification-container .notification button[name="goldshow-edit"]
{
    background: rgba(0,0,0, .5);
}

#notification-container .notification button[name="goldshow-cancel"]
{
    background: #cc0000;
    color: #ffffff;
}

#notification-container .notification button[name="close"],
#notification-container .notification button[name="autoclose"]
{
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    color: grey;
    font-size: 14px;
    font-family: monospace;
    font-weight: 900;
    text-align: center;
}

#notification-container .notification button[name="autoclose"]
{
    display: inline-flex;
    align-items: flex-start;
}

#notification-container .notification button[name="autoclose"] div
{
    width: 100%;
    height: 30px;
    line-height: 30px;
}

#notification-container .notification button[name="autoclose"] svg
{
    position: absolute;
    margin: -1px;
    width: 32px;
    height: 32px;
}

#notification-container .notification button[name="autoclose"] svg path
{
    stroke: #ff00ff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    animation: spinner 1s linear infinite;
    transform-origin: center center;
}


/****************************************************************************************************
    TYPE SPECIFICS
****************************************************************************************************/

#notification-container .notification[notificaton-type="0"] .notification-grid-column:nth-child(1)
{
    background: rgb(180 0 0);
}

#notification-container .notification[notificaton-type="0"] .notification-grid-column:nth-child(2)
{
    display: grid;
    align-items: center;
}

#notification-container .notification[notificaton-type="0"] .notification-grid-column .material-icons
{
    color: rgb(225 225 225);
    font-size: 48px;
}

#notification-container .notification[notificaton-type="0"] p
{
    color: rgb(180 0 0);
    font-weight: 600;
}

#notification-container .notification[notificaton-type^="goldshow"]
{
    --widthIcon: 30px;
}

#notification-container .notification[notificaton-type^="goldshow"] .notification-grid-column:nth-child(1)
{
    background: rgb(var(--goldColour));
}

#notification-container .notification[notificaton-type="hush"] .notification-grid-column:nth-child(1)
{
    background: #43306d;
}
#notification-container .notification[notificaton-type="hush"] button[name="autoclose"] svg path
{
    stroke: #43306d;
}
#notification-container .notification[notificaton-type="hush"] .notification-autoclose-remaining
{
    color: #43306d;
}

#notification-container .notification[notificaton-type="lush"] .notification-grid-column:nth-child(1)
{
    background: #f03e8f;
}
#notification-container .notification[notificaton-type="lush"] button[name="autoclose"] svg path
{
    stroke: #f03e8f;
}
#notification-container .notification[notificaton-type="lush"] .notification-autoclose-remaining
{
    color: #f03e8f;
}

#notification-container .notification[notificaton-type="goldshow-strikeout"] h5
{
    color: #cc0000;
}







#notification-container .notification[notificaton-type^="goldshow"] .form-container
{
	margin: 10px 0 0 0;
    padding: 10px 20px 20px 20px;
	background: linear-gradient(
215deg, #222222 20%, #363636 60% );
	background: #363636;
}

#notification-container .notification[notificaton-type^="goldshow"] .form-container .form-input
{
	margin: 0;
}

/****************************************************************************************************
    DISPLAY SPECIFICS
****************************************************************************************************/

#notification-container .notification:not([notificaton-type="0"]) icon[name="error"],
#notification-container .notification:not([notificaton-type="goldshow"]) icon[name="goldshow"],
#notification-container .notification:not([notificaton-type="goldshow-filled"]) icon[name="goldshow-filled"],
#notification-container .notification:not([notificaton-type="goldshow-strikeout"]) icon[name="goldshow-strikeout"],
#notification-container .notification:not([notificaton-type="hush"]) icon[name="hush"],
#notification-container .notification:not([notificaton-type="lush"]) icon[name="lush"],

#notification-container .notification:not([notificaton-type="goldshow"]) .notification-type-specific[type="goldshow"],
#notification-container .notification:not([notificaton-type="goldshow-filled"]) .notification-type-specific[type="goldshow-filled"],
#notification-container .notification:not([notificaton-type="goldshow-strikeout"]) .notification-type-specific[type="goldshow-strikeout"],

#notification-container .notification:not([notificaton-autoclose="0"]) button[name="close"],
#notification-container .notification[notificaton-autoclose="0"] button[name="autoclose"],
#notification-container .notification:hover button[name="autoclose"],

#notification-container .notification[notificaton-title="0"] h5,
#notification-container .notification[notificaton-type="goldshow"] button[name="close"],
#notification-container .notification[notificaton-type="goldshow-filled"] button[name="close"],
#notification-container .notification[notificaton-type="goldshow-strikeout"] button[name="close"]
{
    display: none;
}

#notification-container .notification:not([notificaton-type="goldshow"]):not([notificaton-type="goldshow-filled"]):not([notificaton-type="goldshow-strikeout"]):hover button[name="close"]
{
    display: unset;
}
