/*version 1.0.3*/

#page-notifications-container {
    width: 100%;
    max-width: 400px;
    position: fixed;

    padding: 10px;
    box-sizing: border-box;

    font-family: Arial, Helvetica, sans-serif;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
}

.container-top-left {
    top: 0px;
    left: 0px;
    padding-top:0px !important;
}
.container-top-middle {
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
    padding-top:0px !important;
}
.container-top-right {
    top: 0px;
    right: 0px;
    padding-top:0px !important;
}
.container-bottom-left {
    bottom: 0px;
    left: 0px;
}
.container-bottom-middle {
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
}
.container-bottom-right {
    bottom: 0px;
    right: 0px;
}


.page-notifications-body {
    pointer-events: auto;
    width: 400px;

    height: auto;
    max-height: 200px;

    background-color: white;
    border-radius: 2px;

    overflow: hidden;
    transform: translateY(0);

    box-shadow: -2px 2px 8px rgba(0,0,0,0.4);
    margin-top: 10px;

    animation-duration: 0.3s;
    cursor: pointer;
}

.page-notifications-left {
    width: 30px;

    left: 0px;
    top: 0px;
    bottom: 0px;

    position: absolute;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.page-notifications-right {
    overflow: hidden;
    width: 400px;
    margin-left: 30px;
    padding: 7px;
}

/*  Title  */
.page-notifications-right h1 {
    margin: 0px;
    padding: 0px;
    font-size: 16px;
    margin-right: 10px;
    text-align: left;
}
/*  Content  */
.page-notifications-right h2 {
    padding: 0px;
    margin: 0px;
    margin-top: 3px;
    font-size: 12px;
}
/*  Time  */
.page-notifications-right h3 {
    width: 400px;
    text-align: right;
    color: #888888;
    font-size: 11px;
    margin: 0px;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 0px;
}
.page-notifications-timer {
    position: absolute;

    left: 3px;
    bottom: 0px;
    height: 3px;

    width: 0px;

    animation-duration: 1s;
    background: rgba(140,140,140,0.3)
}

/*  light  */
.page-notifications-light .page-notifications-timer {
    background: #333333;
}
.page-notifications-light .page-notifications-right {
    background: white;
    color: #333333;
}
.page-notifications-light .page-notifications-right h1 {
    color: #444444;
}
.page-notifications-light .page-notifications-right h2 {
    color: #444444;
}

/*  dark  */
.page-notifications-dark .page-notifications-timer {
    background: #dfdfff;
}
.page-notifications-dark .page-notifications-right {
    background: #222226;
    color: #dfdfff;
}
.page-notifications-dark .page-notifications-right h1 {
    color: #dfdfff;
}
.page-notifications-dark .page-notifications-right h2 {
    color: #aaaaaa;
}

.page-notifications-close {
    position: absolute;
    right: 3px;
    top: 0px;
    font-size: 18px;
    padding: 3px;
    font-weight: bold;
    cursor: pointer;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.page-notifications-close:hover {
    opacity: 0.8;
}

/*  Types  */

.page-notifications-info .page-notifications-left{
    background: #03A9F4;
    font-size: 1.4em;
}
.page-notifications-success .page-notifications-left{
    background: #4cd137;
    font-size: 1.0em;
}
.page-notifications-warning .page-notifications-left{
    background: #e67e22;
    font-size: 1.1em;
    font-weight: 500;
}
.page-notifications-error .page-notifications-left{
    background: #e84118;
    font-size: 1.4em;
    font-weight: 500;
}
