/**
 * notification.css created on Tue Apr 18 2023
 *
 * @author    Fynn Harnack <fynn.harnack@draeger.com>
 * @copyright Copyright (c) 2023 Drägerwerk AG & Co. KGaA
 *
 */

*{
    box-sizing: border-box;
}
.nfc-wrapper {
    position: absolute;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    width: 350px;
    z-index: 10000;
}

.left-top {
    top: 16px;
    left: 16px;
}

.left-bottom {
    bottom: 16px;
    left: 16px;
}

.right-top {
    top: 16px;
    right: 30px;
}

.right-bottom {
    bottom: 16px;
    right: 16px;
}

.top{
    width: 100vw;
    top: 16px;
    padding: 0px 16px;
}

.bottom{
    width: 100vw;
    bottom: 16px;
    padding: 0px 16px;
}

.nfc {
    /* transition: 3s ease; */
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* border-radius: 5px; */
    margin-bottom: 12px;
    padding: 12px;
    padding-left: 35px;
    width: 100%;
    background-color: #212d38;
    color: white;
    /* box-shadow: 0 0 12px #999; */
    transition: .2s ease-in-out;
}

/* .nfc:hover {
    box-shadow: 0 0 12px #000;
} */

.nfc-title {
    font-size: 19px;
    margin: 0;
    margin-bottom: 6px;
}

.nfc-msg {
    font-size: 15px;
    margin: 0;
}

.nfc-warning {
    background-color: #D2386C;
}

.nfc-success {
    background-color: #00A170;
}

.nfc-icon {
    position: absolute;
    margin: 0px;
    left: 10px;
    font-size: 20px;
}



@keyframes nfc-slide-left-top {
    0%{
        transform: translateX(-100%);
        opacity: 0;
    }
    100%{
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes nfc-slide-right-top {
    0%{
        transform: translateX(100%);
        opacity: 0;
    }
    100%{
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes nfc-slide-left-bottom {
    0%{
        transform: translateX(-100%);
        opacity: 0;
    }
    100%{
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes nfc-slide-right-bottom {
    0%{
        transform: translateX(100%);
        opacity: 0;
    }
    100%{
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes nfc-slide-top {
    0%{
        transform: translateY(-100%);
        opacity: 0;
    }
    100%{
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes nfc-slide-bottom {
    0%{
        transform: translateY(100%);
        opacity: 0;
    }
    100%{
        transform: translateY(0%);
        opacity: 1;
    }
}

/* @media only screen and (max-width: 500px) {
    .nfc-wrapper{
        left: 0;
        width: 100%;
        padding: 12px;
    }
    .nfc{
        width: 100%;
    }
} */