

/* CUSTOM CSS - TOAST */

div.customtoast {
    position: fixed;
    top: 12px;
    bottom: unset;
    right: -100%;
    background-color: var(--toastBackgroundColor) !important;
    padding: 12px 18px;
    border-radius: var(--defaultBorderRadius);
    min-width: 400px;
    max-width: 400px;
    border: 1px solid var(--toastBorderColor);
    box-shadow: 0px 1px 3px -1px var(--toastBoxShadow);
    cursor: pointer;
    z-index: 999998;
    transition: 0.4s;
}


div.customtoast.entry {
    transition: 0.4s;
    right: 12px;
}


div.customtoast.exit {
    transition: 0.4s;
    top: -100%;
    bottom: unset;
    opacity: 0;
}


div.customtoast > i.icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    background-color: var(--toastColor);
    padding: 8px;
    border-radius: var(--defaultBorderRadius);
    float: left;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}


div.customtoast > span.text {
    display: block;
    width: 100%;
    padding: 0px 0px 0px 68px;
}


div.customtoast > span.text > span.title {
    display: block;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: var(--toastColor);
}


div.customtoast > span.text > span.message {
    display: block;
    width: 100%;
    font-size: 16px;
    color: var(--toastMessageColor) !important;
}




/* 1 - SUCESSO */
div.customtoast.green > i.icon {
    background-color: #66bb6a !important;
}


div.customtoast.green > span.text > span.title {
    color: #66bb6a !important;
}




/* 2 - ERRO */
div.customtoast.red > i.icon {
    background-color: #ef5350 !important;
}


div.customtoast.red > span.text > span.title {
    color: #ef5350 !important;
}



/* 3 - ATENÇÃO */
div.customtoast.amber > i.icon {
    background-color: #ffc107 !important;
}


div.customtoast.amber > span.text > span.title {
    color: #ffc107 !important;
}




/* RESPONSIVIDADE */
/* TELA PEQUENA */
@media only screen and (max-width: 600px) {
    div.customtoast {
        position: fixed;
        top: unset;
        bottom: 12px;
        min-width: calc(100% - 24px);
        max-width: calc(100% - 24px);
    }


    div.customtoast.entry {
        transition: 0.4s;
        right: 12px;
    }


    div.customtoast.exit {
        transition: 0.4s;
        top: unset;
        bottom: -100%;
        opacity: 0;
    }
}