﻿.clevi-toast-container {
    display: flex;
    overflow-x:hidden;
    flex-direction: column;
    position: fixed;
    z-index: 1;
    padding-right:10px;
    padding-bottom:10px;
}

.position-topleft,
.position-topright,
.position-topcenter {
    top: 0;
}

.position-bottomleft,
.position-bottomright,
.position-bottomcenter {
    bottom: 0;
}

.clevi-toast {
    display: flex;
    position: relative;
    flex-direction: column;
    -webkit-flex-direction: column;
    margin-bottom: 1rem;
    padding: 1rem;
    color: #fff;
    background-color: #fafafa;
    width: 300px;
    min-height:fit-content;
    box-shadow: 3px 3px 3px 3px #ededed;
    -moz-box-shadow: 3px 3px 3px 3px #ededed;
    -webkit-border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
}
.clevi-toast h4{
    font-size:17px;
    text-align:justify;
    margin:5px 0;
    color:black;
}
    .clevi-toast p {
        text-align: center;
        font-size: 17px;
        margin: 5px 0 15px;
    }
.clevi-toast .clc-button{
    width:48%;
    padding:5px 10px;
}
.clevi-toast .clc-button span{
    font-size:17px !important;
}

.clevi-button-group{
    display:flex-wrap;
    justify-content:space-between;
    -webkit-justify-content:space-between;
}
.clevi-button-group button {
    margin : 2px;
}

.clevi-toast-component {
    display: initial;
    padding: 0 0 0 0;
}

.clevi-toast-info {
    background-color: #34a9ad;
}

.clevi-toast-success {
    background-color: #5fba7d;
}

.clevi-toast-warning {
    background-color: #c1c13e;
}

.clevi-toast-error {
    background-color: #ba5e5e;
}

.clevi-toast-icon {
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    justify-content: center;
    -webkit-justify-content: center;
    padding: 0 1rem 0 0;
    font-size: 2.5rem;
}

.clevi-toast-body {
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    flex: 1;
}

    .clevi-toast-body .clevi-toast-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

        .clevi-toast-body .clevi-toast-header h5 {
            font-weight: bold;
            text-transform: uppercase;
            font-size: 1.5rem;
            margin-bottom: 0;
            line-height: 32px;
        }

        .clevi-toast-close {
            position:absolute;
            right:10px;
            top: 5px;
            color:black !important;
            background-color: transparent;
            border: 0;
            height: 30px;
            -webkit-appearance: none;
            color: inherit;
            font-size: 1.25rem;
        }

    .clevi-toast-body p {
        margin-bottom: 0;
        font-size: 1rem;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
    }

.clevi-toast-progressbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

    .clevi-toast-progressbar > span {
        position: absolute;
        filter: brightness(75%);
        height: 8px;
        border-bottom-left-radius: .25rem;
        background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0 0);
        transition: all .5s linear;
    }

.clevi-toast-action {
    cursor: pointer;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (min-width: 576px) {

    .position-topleft {
        top: 1rem;
        left: 1rem;
    }

    .position-topright {
        top: 1rem;
        right: 1rem;
    }

    .position-topcenter {
        top: 1rem;
        left: 50%;
        margin-left: -15rem;
    }

    .position-bottomleft {
        bottom: 1rem;
        left: 1rem;
    }

    .position-bottomright {
        bottom: 1rem;
        right: 1rem;
    }

    .position-bottomcenter {
        bottom: 1rem;
        left: 50%;
        margin-left: -15rem;
    }

}
