#custom-toast-container {
    $customToastIconWidth: 30%;

    width: 100%;
    height: 100%;
    padding: 5px;
    position: fixed;
    z-index: 5010;
    top: 0;
    pointer-events: none;

    .custom-toast {
        @keyframes toastTranslate {
            0% {
                transform: translateY(calc(-100% - 5px));
            }

            100% {
                transform: translateY(0);
            }
        }

        pointer-events: all;
        animation: toastTranslate 0.5s ease;
        border-radius: 5px;
        width: 90%;
        max-width: 250px;
        background-color: $content-background-color;
        border: 2px solid $accent-color;
        margin-left: auto;
        margin-right: auto;
        padding: 8px;
        margin-bottom: 5px;
        -webkit-box-shadow: 8px 2px 31px -19px rgba(0,0,0,0.73);
        -moz-box-shadow: 8px 2px 31px -19px rgba(0,0,0,0.73);
        box-shadow: 8px 2px 31px -19px rgba(0,0,0,0.73);

        .custom-toast-type-icon {
            display: inline-block;
            vertical-align: top;
            min-height: 65px;
            width: $customToastIconWidth;
            background-size: contain;
            background-position: center;
            background-position-y: top;
            background-repeat: no-repeat;
        }

        .custom-toast-alert-icon {
            background-image: $modal-alert-icon;
        }

        .custom-toast-error-icon {
            background-image: $modal-error-icon;
        }

        .custom-toast-question-icon {
            background-image: $modal-question-icon;
        }

        .custom-toast-success-icon {
            background-image: $modal-success-icon;
        }

        .custom-toast-content {
            display: inline-block;
            vertical-align: top;
            width: 100% - $customToastIconWidth;
            padding-left: 3px;

            .custom-toast-title-row {
                position: relative;
                margin-bottom: 5px;

                .custom-toast-title {
                    font-weight: 600;
                }

                .custom-toast-title-close {
                    position: absolute;
                    top: 0;
                    right: 0;
                    cursor: pointer;
                }
            }

            .custom-toast-message {
                line-height: 1.2em;
                font-size: 0.9em;
            }
        }
    }
}
