@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Vazir';
    direction: rtl;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.flex-right {
    flex-direction: row-reverse !important;
    direction: rtl;
}


.validation-message{
    float: right;
    margin-top: 4px;
    font-size: 12px;
}




.tag-small-product {
    background-color: #eeeeee;
    border-radius: 50px;
    text-align: center;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
    color: #373737;
    padding: 3px 20px;
}

.title-small-product {
    width: 115px;
    overflow: hidden;
    white-space: pre-wrap;
    line-height: 1.5em;
    height: 3em;
    text-overflow: ellipsis;
    text-align: center;
}

.discount-small-product {
    position: absolute;
    top: 0px;
    width: 70px;
    background-color: #f83e3e;
    padding: 4px;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
    height: 20px;
    /* transform: rotate( 
44deg
 ); */
    /* margin-right: -35px; */
    font-size: 10px;
    border-radius: 25px;
}