/* based on angular-toastr css https://github.com/Foxandxss/angular-toastr/blob/cb508fe6801d6b288d3afc525bb40fee1b101650/dist/angular-toastr.css */

/* position */
.toast-top-right {
    top: 60px;
    right: 15px;
}

/* toast styles */
.toast-title {
    font-weight: bold;
}
.toast-message {
    color: #49546a;
    font-family: 'metropolis-medium';
    display: inline-block;
    margin: 10px 20px;
    vertical-align: top;
    line-height: 32px;
    font-size: 14px;
    max-width: 300px;
    overflow-wrap: break-word;
}
.toast-message a,
.toast-message label {
    color: #49546a;
}
.toast-message a:hover {
    text-decoration: none;
}
.toast-close-button {
    position: relative;
    right: -0.3em;
    top: -0.3em;
    float: right;
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 1px 0 #ffffff;
    /* opacity: 0.8; */
}
.toast-close-button:hover,
.toast-close-button:focus {
    color: #49546a;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.4;
}
/*Additional properties for button version
 iOS requires the button element instead of an anchor tag.
 If you want the anchor version, it requires `href="#"`.*/
button.toast-close-button {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}
.toast-container {
    pointer-events: none;
    position: fixed;
    z-index: 999999;
}
.toast-container * {
    box-sizing: border-box;
}
.toast-container .ngx-toastr {
    position: relative;
    overflow: hidden;
    /*margin: 0 0 6px;*/
    /*padding: 15px 15px 15px 50px;*/
    display: flex;
    align-items: center;
    align-content: center;
    border-radius: 10px;
    /*background-position: 15px center;*/
    /*background-repeat: no-repeat;*/
    /*background-size: 24px;*/
    /*box-shadow: 0 0 12px #999999;*/
    color: #49546a;
}
.toast-container .ngx-toastr:hover {
    cursor: pointer;
}

.ngx-toastr {
    pointer-events: auto;
}

.toast-info {
    color: #49546a;
    background-color: #fff;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .toast-container .ngx-toastr {
        box-shadow: 0 2.8px 2.2px rgba(35, 36, 41, 0.034), 0 6.7px 5.3px rgba(35, 36, 41, 0.048), 0 12.5px 10px rgba(35, 36, 41, 0.06), 0 22.3px 17.9px rgba(35, 36, 41, 0.072), 0 41.8px 33.4px rgba(35, 36, 41, 0.086), 0 100px 80px rgba(35, 36, 41, 0.12);
        color: #fff;
    }
    .toast-message {
        color: #fff;
    }
    .toast-info {
        color: #fff;
        background-color: #3f414a;
    }

    .toast-message a,
    .toast-message label {
        color: #fff;
    }
    .toast-message a:hover {
        color: #CCCCCC;
        text-decoration: none;
    }
}



/* Responsive Design */
/*@media all and (max-width: 240px) {*/
/*    .toast-container .ngx-toastr.div {*/
/*        padding: 8px 8px 8px 50px;*/
/*        width: 11em;*/
/*    }*/
/*    .toast-container .toast-close-button {*/
/*        right: -0.2em;*/
/*        top: -0.2em;*/
/*    }*/
/*}*/
/*@media all and (min-width: 241px) and (max-width: 480px) {*/
/*    .toast-bottom-right {*/
/*        top: 30px;*/
/*        right: 12px;*/
/*    }*/
/*    .toast-container .ngx-toastr.div {*/
/*        padding: 8px 8px 8px 50px;*/
/*        width: 18em;*/
/*    }*/
/*    .toast-container .toast-close-button {*/
/*        right: -0.2em;*/
/*        top: -0.2em;*/
/*    }*/
/*}*/
/*@media all and (min-width: 481px) and (max-width: 768px) {*/
/*    .toast-container .ngx-toastr.div {*/
/*        padding: 15px 15px 15px 50px;*/
/*        width: 25em;*/
/*    }*/

/*    .toast-top-right {*/
/*        top: 30px;*/
/*        right: 12px;*/
/*    }*/
/*}*/
