﻿


/*.myAlert-text-icon {
    align-items: stretch;
    box-shadow: 0 1px 1px rgb(10 10 10 / 10%);
    display: flex;
    max-width: 250px;
}

.myAlert-message {
    align-items: center;
    display: flex;
    flex-grow: 1;
    font-weight: 700;
    padding: 15px 25px;
}*/

/*.close {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: 0 0;
    border: none;
    color: currentColor;
    font-family: inherit;
    font-size: 1em;
    margin: 0;
    padding: 0;
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 0.75rem 1rem;
}*/

#myAlert.show {
    visibility: visible;
    display : flex;

}


#myAlert.show {
    animation: show 0.5s forwards;
}

@keyframes show {
    0% {
        transform: translate(-50px,50px) scale(0);
    }

    50% {
        transform: translate(-50px,50px) scale(1.2);
    }

    70% {
        transform: translate(-50px,50px) scale(0.9);
    }

    100% {
        transform: translate(-50px,50px) scale(1);
    }
}

#myAlertBar {
    height: 2px;
    background-color: red;
    color: red;
    position: fixed;
    
}

#myAlertProgress {
    background-color: #EF9400;
    width: 100%;
    position: fixed;
    bottom : 30px;
}


/*********************************/
@media screen and (min-width: 768px) {
    #myAlert {
        left: 40%;
    }
}

@media screen and (max-width: 767px) {

    #myAlert {
        left: 15%;
    }
}
#myAlert {
    visibility: hidden;
    display: none;
    position: fixed;
    top: 50%;
   
    /*transform: translate(-50px,50px);
        margin-top: -50px;
    margin-left: -100px;
    
    left: 30%;
     color: white;
    border-radius: 10px;
    background: #d62828;
    border-radius: 10px;
    overflow: hidden;*/
    z-index: 100;
}

.alert {
    /*visibility: hidden;*/    
    align-items: center;    
    color: #333C48;
    display: flex;
    align-items: center;
    padding: 0.55rem 0.65rem 0.55rem 0.75rem;
    border-radius: 1rem;
    min-width: 350px;
    justify-content: space-between;
    margin-bottom: 2rem;
    box-shadow: 0px 3.2px 13.8px rgba(0, 0, 0, 0.02), 0px 7.6px 33.3px rgba(0, 0, 0, 0.028), 0px 14.4px 62.6px rgba(0, 0, 0, 0.035), 0px 25.7px 111.7px rgba(0, 0, 0, 0.042), 0px 48px 208.9px rgba(0, 0, 0, 0.05), 0px 115px 500px rgba(0, 0, 0, 0.07);
    flex-direction: row-reverse;
}

.contentMessage {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.icon_message {
    padding: 0.5rem;
    margin-right: 1rem;
    border-radius: 39% 61% 42% 58% / 50% 51% 49% 50%;
    box-shadow: 0px 3.2px 13.8px rgba(0, 0, 0, 0.02), 0px 7.6px 33.3px rgba(0, 0, 0, 0.028), 0px 14.4px 62.6px rgba(0, 0, 0, 0.035), 0px 25.7px 111.7px rgba(0, 0, 0, 0.042), 0px 48px 208.9px rgba(0, 0, 0, 0.05), 0px 115px 500px rgba(0, 0, 0, 0.07)
}

.closeMessage {
    background-color: transparent;
    border: none;
    outline: none;
    transition: all 0.2s ease-in-out;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .closeMessage:hover {
        background-color: #fff;
    }

.success {
    background-color: rgba(62, 189, 97,0.8);
    border: 2px solid #3ebd61;
}

    .success .icon_message {
        background-color: #3ebd61;
    }
    .success #icon_message_danger {
        display: none;
    }
    .success #icon_message_success {
        display: block;
    }

.info {
    background-color: rgba(0, 108, 227,0.8);
    border: 2px solid #006CE3;
}

    .info .icon_message {
        background-color: #006CE3;
    }

.warning {
    background-color: rgba(239, 148, 0, 0.8);
    border: 2px solid #EF9400;
}

    .warning .icon_message {
        background-color: #EF9400;
    }

.danger {
    background-color: rgba(236, 77, 43, 0.8);
    border: 2px solid #EF9400;
}

    .danger .icon_message {
        background-color: #EC4D2B;
    }
    .danger #icon_message_success  {
        display: none;
    }
    .danger #icon_message_danger {
        display: block;
    }

#msg_Alert {
    color: black;
}