/* =========================================
   Smart Pekua - Moving Notice
========================================= */

.moving-notice {
    width: calc(100% - 40px);
    margin: 15px auto 20px;

    height: 48px;

    display: flex;
    align-items: center;

    background: #ffffff;

    border-radius: 25px;

    overflow: hidden;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    border-left: 4px solid #1e88e5;
}


/* Notice Icon */

.moving-notice-icon {
    min-width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #1e88e5;

    color: #ffffff;

    font-size: 21px;

    z-index: 2;
}


/* Moving Area */

.moving-notice-content {
    flex: 1;

    overflow: hidden;

    white-space: nowrap;
}


/* Moving Text */

.moving-notice-text {

    display: inline-block;

    padding-left: 100%;

    font-size: 16px;

    color: #333333;

    font-weight: 500;

    animation: smartPekuaNotice 18s linear infinite;
}


/* Animation */

@keyframes smartPekuaNotice {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }

}


/* Mobile */

@media (max-width: 600px) {

    .moving-notice {

        width: calc(100% - 30px);

        height: 45px;

        margin: 12px auto 18px;

    }


    .moving-notice-icon {

        min-width: 45px;

        height: 45px;

        font-size: 19px;

    }


    .moving-notice-text {

        font-size: 15px;

    }

}