﻿.pitasoft-toast-container {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 999999;
}

.pitasoft-toast-topleft
.pitasoft-toast-topright,
.pitasoft-toast-topcenter {
    top: 0;
}

.pitasoft-toast-bottomleft,
.pitasoft-toast-bottomright,
.pitasoft-toast-bottomcenter {
    bottom: 0;
}

.pitasoft-toast {
    display: flex;
    flex-direction: row;
    animation: fadein 1.5s;
    margin-bottom: 1rem;
    padding: 1rem 1.23rem;    
    width: 100vw;
    opacity: 0.8;
    -moz-box-shadow: 0 0 12px #999999;
    -webkit-box-shadow: 0 0 12px #999999;
    box-shadow: 0 0 12px #999999;
}

    .pitasoft-toast:hover {
        -moz-box-shadow: 0 0 12px #000000;
        -webkit-box-shadow: 0 0 12px #000000;
        box-shadow: 0 0 12px #000000;
        opacity: 1;
        cursor: pointer;
    }

.pitasoft-toast-info {
    background-color: #34a9ad;
    color: #fff;
}

.pitasoft-toast-success {
    background-color: #5fba7d;
    color: #fff;
}

.pitasoft-toast-warning {
    background-color: #c1c1e3;
    color: #fff;
}

.pitasoft-toast-error {
    background-color: #ba5e5e;
    color: #fff;
}

.pitasoft-toast-question {
    background-color: #faf3fb;
    color: #000;
}

.pitasoft-toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem 0 0;
    font-size: 2.5rem;
}

.pitasoft-toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pitasoft-toast-body .pitasoft-toast-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.pitasoft-toast-body .pitasoft-toast-header h5 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 32px;
}

.pitasoft-toast-body .pitasoft-toast-header .pitasoft-toast-close {
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    color: inherit;
    font-size: 1.25rem;
}

.pitasoft-toast-close {
    opacity: 0.80
}

.pitasoft-toast-close:hover {
    opacity: 1
}

.pitasoft-toast-body p {
    margin-bottom: 0;
    font-size: 1rem;
}

.pitasoft-toast-actions {
    align-content: flex-end;
}

.pitasoft-toast-actions-button {
    margin: 2px;
}

.pitasoft-toast-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

@keyframes fadein {
    from {
        opacity: 0.0;
    }
    to {
        opacity: 0.8;
    }
}

@media (min-width: 576px) {
    .pitasoft-toast-topleft {
        top: 2rem;
        left: 2rem;
    }

    .pitasoft-toast-topright {
        top: 2rem;
        right: 2rem;
    }

    .pitasoft-toast-topcenter {
        top: 2rem;
        left: 50%;
        margin-left: -15rem;
    }

    .pitasoft-toast-bottomleft {
        bottom: 2rem;
        left: 2rem;
    }

    .pitasoft-toast-bottomright {
        bottom: 2rem;
        right: 2rem;
    }

    .pitasoft-toast-bottomcenter {
        bottom: 2rem;
        left: 50%;
        margin-left: -15rem;
    }

    .pitasoft-toast {
        width: 30rem;
        border-radius: 0.25rem;
    }
}