@import "../../@theme/styles/themes";

@include nb-install-component() {
    .title {
        //color: nb-theme(text-basic-color);
        color: nb-theme(text-hint-color);
    }
    .content {
        //color: nb-theme(text-hint-color);
        color: nb-theme(text-basic-color);
    }
}

.alertCard {
    min-width: 280px;
    //max-width: 600px;
    padding: 0 1.25em;
    position: relative;
    /* Add animation */
    -webkit-animation-name: fadeFromTop; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 0.5s; /* Chrome, Safari, Opera */
    animation-name: fadeFromTop;
    animation-duration: 0.5s;
}
.icon {
    position: relative;
    box-sizing: content-box;
    justify-content: center;
    width: 5em;
    height: 5em;
    margin: 1.25em auto 1.875em;
    border: 0.25em solid transparent;
    border-radius: 50%;
    font-family: inherit;
    line-height: 5em;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    &-content {
        text-align: center;
        align-items: center;
        font-size: 3.75em;
        nb-icon {
            font-size: 4.6rem;
        }
    }
}
.question {
    border-color: #c9dae1;
    color: #87adbd;
}
.warning {
    border-color: #facea8;
    color: #f8bb86;
}
.info {
    border-color: #9de0f6;
    color: #3fc3ee;
}
.error {
    border-color: #f27474;
    color: #f27474;
}
.title {
    position: relative;
    max-width: 100%;
    margin: 0 0 0.6em;
    padding: 0;
    //color: #595959;
    font-size: 1.875em;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    word-wrap: break-word;
    line-height: initial;
}
.content {
    z-index: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
    //color: #545454;
    font-size: 1.125em;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    word-wrap: break-word;
}

/* Add animation (Chrome, Safari, Opera) */
@-webkit-keyframes fadeFromTop {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 0px;
        opacity: 1;
    }
}

/* Add animation (Standard syntax) */
@keyframes fadeFromTop {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 0px;
        opacity: 1;
    }
}

.btnOk {
    order: 1;
    margin-right: 15px;
    &.rtl {
        order: 2;
        margin-left: 15px;
        margin-right: 0;
    }
}
.btnClose {
    order: 3;
    margin-left: 15px;
}
.btnCancel {
    order: 2;
    &.rtl {
        order: 1;
    }
}
nb-card-footer {
    display: flex;
    justify-content: center;
}
