.ct-alert {
    border-radius: 5px;
    padding: 8px 35px 8px 15px;
    margin-bottom: 15px;
    background: #f7f7f7;
    border-width: 1px;
    border-style: solid;
    border-color: $border-color;
    position: relative;
    &.is-custom-color {
        color: #fff;
    }
    &.is-title {
                    padding: 8px 15px;
                    .ct-alert-wrap {
                        .ct-alert-content {
                            .ct-alert_title {
                                padding-right: 20px;
                            }
                        }
                    }
    }
    .ct-alert-wrap {
        .ct-alert-content {
            // display: inline-block;
            // vertical-align: top;
            width: 100%;
            .ct-alert_title {
                box-sizing: border-box;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                .ct-alert-icon {
                    display: inline-block;
                    margin-right: 5px;
                    font-weight: 600;
                }
                .ct-alert-title__inner {
                    display: inline-block;
                    font-size: 14px;
                    font-weight: bold;
                    line-height: 1.2;
                    word-break: break-all;
                }
            }
            .ct-alert__inner {
                // color: #7b7b7b;
                font-size: 12px;
                line-height: 1.3;
            }
            .ct-alert-close {
                position: absolute;
                top: 8.5px;
                right: 15px;
            }
            // .icon-close {
            //     float: right;
            // }
        }
    }
    &.is-plain {border-color: transparent;}
    &.ct-alert__success,&.ct-alert__primary,&.ct-alert__warning,&.ct-alert__erro,&.ct-alert__info {
        color: #fff;
        &.is-plain {
            color: #515a6e;
        }
    }
    &.ct-alert__success {
        background: $success-bg;
        border-color:$success-bg;
        &.is-plain {
            background: rgba($success-bg,.2);
            border-color: transparent;
            color: $success-bg;
        }
    }
    &.ct-alert__primary { 
        background: $primary-bg;
        border-color: $primary-bg;
        &.is-plain {
            background: rgba($primary-bg,.2);
            border-color: transparent;
            color: $primary-bg;
        }
    }
    &.ct-alert__warning {
        background: $warning-bg;
        border-color: $warning-bg;
        &.is-plain {
            background: rgba($warning-bg,.2);
            border-color: transparent;
            color: $warning-bg;
        }
    }
    &.ct-alert__erro {
        background: $error-bg;
        border-color: $error-bg;
        &.is-plain {
            background: rgba($error-bg,.2);
            border-color: transparent;
            color: $error-bg;
        }
    }
    &.ct-alert__info {
        background: $info-bg;
        border-color: $info-bg;
        &.is-plain {
            background: rgba($info-bg,.2);
            border-color: transparent;
            color: $info-bg;
        }
    }
}