/**
    Notification top
 */

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.notify-top {
    min-height: 35px;
    padding: 10px 0px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    background: #fff;
    color: #333;
    align-items: center;
    display: flex;
    -webkit-animation: slideInDown 1s;
    -moz-animation: slideInDown 1s;
    -ms-animation: slideInDown 1s;
    -o-animation: slideInDown 1s;
    animation: slideInDown 1s;
}

.notify-top .notify-wrapper {
    position: relative;
    padding-right: 42px;
    width: 100%;
}

.notify-top .notify-wrapper .notify-icon {
    border-right: 1px solid #333;
    padding: 2px 10px;
    float: left;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
}

.notify-top .notify-wrapper .notify-content {
    display: inline-block;
    padding: 5px 5px 5px 10px;
    font-weight: bold;
    font-size: 1.09em;
}

.notify-top .notify-wrapper .notify-content * {
    margin: 0;
}

.notify-top .notify-wrapper .notify-close {
    position: absolute;
    top: calc(50% - 12px);
    right: 12px;
    color: #333;
    cursor: pointer;
    border: none;
    background: url("../img/icon_close.svg") no-repeat;
    background-size: 100% 100%;
    height: 24px;
    width: 24px;
    outline: 0;
    -webkit-transition: transform 0.8s;
    -moz-transition: transform 0.8s;
    -ms-transition: transform 0.8s;
    -o-transition: transform 0.8s;
    transition: transform 0.8s;
}

.notify-top .notify-wrapper .notify-close:hover {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.notify-top.info {
    background-color: #0679b7;
}

.notify-top.success {
    background-color: #1ea471;
}

.notify-top.warning {
    background-color: #d97817;
}

.notify-top.error {
    background-color: #cd3c63;
}
