@import url('https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i');

.toast__container{
    font-family: 'Raleway', sans-serif;
    /* background-color:#efefef; */
    display: table;
}

.toast__container {
    display: table-cell;
    vertical-align: middle;
    position: fixed;
    right: 0;
    bottom: 300px;
    overflow: hidden;
    padding: 30px;
}

.toast__cell{
    display:inline-block;
}

.add-margin{
    margin-top:20px;
}

.toast__svg{
    fill:#fff;
}

.toast {
    text-align:left;
    padding: 21px 0;
    background-color:#fff;
    border-radius:4px;
    max-width: 500px;
    top: 0px;
    position:relative;
    box-shadow: -5px 6px 14px -5px rgba(0,0,0,0.2);
    /* transition: tra; */
    transition: transform 500ms ease-in-out;
    transform: translateX(500px);
}
.toast.show{transform: translateX(0px);}


.toast:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}


.toast__icon{
    position:absolute;
    top:50%;
    right: 22px;
    transform:translateY(-50%);
    width:14px;
    height:14px;
    padding: 7px;
    border-radius:50%;
    display:inline-block;
}

.toast__type {
    color: #3e3e3e;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: right;
}

.toast__message {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
    color: #878787;
    text-align: right;
}

.toast__content{
    padding-left:70px;
    padding-right:60px;
}

.toast__close {
    position: absolute;
    left: 22px;
    top: 50%;
    width: 14px;
    cursor:pointer;
    height: 14px;
    fill:#878787;
    transform: translateY(-50%);
}

.toast--green .toast__icon{
    background-color:#2BDE3F;
}

.toast--green:before{
    background-color:#2BDE3F;
}

.toast--blue .toast__icon{
    background-color:#1D72F3;
}

.toast--blue:before{
    background-color:#1D72F3;
}

.toast--yellow .toast__icon{
    background-color:#FFC007;
}

.toast--yellow:before{
    background-color:#FFC007;
}
