.custom-notifications:empty {
    display: none !important;
}

.custom-notifications {
    position: fixed;
    z-index: 9999;
    bottom: 200px;
    right: 10px;
}

.custom-notifications.jumbo-center {
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

.custom-notifications.jumbo-center .notification-item.active {
    margin-left: Calc(50% - 100px);
    transition-duration: 0ms;
    max-height: Calc(100% + 15px);
    overflow: auto;
}

.notification-item {
    margin-bottom: 8px;
    padding: 20px;
    padding-top: 40px;
    background-color: #dd9933;
    color: #222;
    border: 1px solid #ccc;
    border-radius: 10px;
    filter: drop-shadow(9px 7px 6px #333);
    transition-property: right;
    right: -600px;
    position: absolute;
    width: 400px;
}

.notification-item.active {
    right: 10px;
    transition-duration: 1000ms;
}

.notification-item .bold {
    font-weight: bold;
    font-size: 18px;
}

.notification-item .center {
    display: block;
    text-align: center;
    padding: 0;
    margin: 0;
    padding-top: 0;
    margin-top: 0;
}

.notification-item .form-container {
    display: block;
}

.notification-item .hidden {
    display: none;
}

.notification-item .action {
    display: inline-block;
    padding: 15px 30px;
    margin: 0;
    background-color: #4663c6;
    color: #ededed;
    font-weight: bold;
    font-size: 16px;
    border-radius: 15px;
    margin-top: 10px;
}

.notification-item .action.hidden {
    display: none;
}

.notification-item .action:hover {
    cursor: pointer;
    color: #fff;
    background-color: #4678c4;
}

.notification-item .icon {
    width: 100px;
    display: inline-block;
    vertical-align: top;
}

.notification-item .icon img,
.notification-item .icon svg {
    max-width: 80px;
    height: auto;
}

.notification-item.success {
    background-color: #33aa33;
    color: #fefefe;
}

/* Example of custom class usage */
.notification-important {
    background: #ffdddd;
    border-color: #cc0000;
}

/* Dismiss button for notifications */
.notification-item .cn-dismiss {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
    padding: 4px 8px;
    border-radius: 7px;
}

.notification-item .cn-dismiss:hover {
    color: #000;
}

.notification-item.active form p {
    margin-bottom: 0;
}

.notification-item.active form input {
    margin-bottom: 10px;
}

.notification-item.active form label.for+br {
    display: none;
}

.modal-cover {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    opacity: .3;
    z-index: 900;
}

@media screen and (max-width: 960px) {
    .notification-item.active {
        right: 45px;
    }

    .custom-notifications.jumbo-center .notification-item.active {
        top:-40px;
    }
}

@media screen and (max-width: 450px) {
    .notification-item.active {
        right: -10px;
        width: 100vw;
    }
}
