/**********************************************************admin button end**********************************************************/
.btn-common() {
    padding: 0 10px;
    height: 34px;
    /*font-family: 'Arial';*/
    font-weight: 400;
    border-radius: 5px;
    font-style: normal;
    outline: none;
    border: none;
    min-width: 100px;
}

.btn-tesla-primary {
    .btn-common;
    height: 28px;
    background-color: #B4122A;
    color: #FFF;
}

.btn-tesla-defaut {
    .btn-default;
    background-color: #F3F3F3;
    border-color: #D9D9D9;
    color: #666666;
    height: 28px;
    font-size: 13px;
}

.btn-tesla-confirm {
    .btn-common;
    background-color: #B4122A;
    color: #FFF;
}

.btn-tesla-cancel {
    .btn-default;
    background-color: #797979;
    color: white;
}

.btn-export {
    .btn-common;
    background-color: #EB8C00;
    color: #FFF;
    height: 34px;
    min-width: 100px;

    &:hover, &:active, &:focus {
        background-color: #dc6900;
        color: #FFF;
    }
}


.btn-primary {
    .btn-common;
    background-color: #D04A02;
    color: #FFF;

    &:hover, &:active, &:focus {
        background-color: #dc6900;
        color: #FFF;
    }
}


.btn-secondary {
    .btn-common;
    background-color: #EB8C00;
    color: #FFF;

    &:hover, &:active, &:focus {
        background-color: #dc6900;
        color: #FFF;
    }
}

.btn-third {
    .btn-common;
    background-color: #797979;
    color: #FFF;

    &:hover, &:active, &:focus {
        background-color: #dc6900;
        color: #FFF;
    }
}

.btn-not-important {
    .btn-common;
    background-color: #FFF;
    color: #333;
    border: 1px solid #949494;
    line-height: 36px;

    &:hover, &:active, &:focus {
        background-color: #797979;
        color: #FFF;
        line-height: 36px;
    }

    i {
        font-size: 18px;
        vertical-align: middle;
    }
}

.btn-default {
    padding: 0 10px;
    height: 36px;
    font-family: 'Arial';
    font-weight: 400;
    border-radius: 5px;
    font-style: normal;
    min-width: 100px;
}

.btn-in-grid {
    font-family: 'Microsoft YaHei';
    font-style: normal;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 5px;
    height: 36px;
    padding: 0 10px;
    text-align: center;
    line-height: 36px;
    background-color: #FFF;
    min-width: 100px;

    i {
        font-size: 18px;
        vertical-align: text-bottom;
    }

    &:hover, &:active, &:focus {
        border: 1px solid #949494;
    }
}

.btn-in-panel-big {
    height: 36px;
    width: 100%;
    padding: 0 10px;
    background-color: #797979;
    border-radius: 5px;
    color: #FFF;
    outline: none;

    &:hover, &:active, &:focus {
        background-color: #dc6900;
        color: #FFF;
    }
}

.btn-in-panel-middle {
    height: 36px;
    min-width: 100px;
    padding: 0 10px;
    background-color: #D7D7D7;
    border: 1px solid #949494;
    border-radius: 5px;
    color: #333;
    outline: none;

    i {
        font-size: 18px;
        vertical-align: middle;
    }

    &:hover, &:active, &:focus {
        background-color: #D7D7D7;
        color: #FFF;
    }
}
/**********************************************************admin button end**********************************************************/

/***********************************************************vat button start**********************************************************/

.btn-vat-common() {
    padding: 0 10px;
    height: 30px;
    font-weight: 400;
    border-radius: 5px;
    font-style: normal;
    outline: none;
    border: none;
    min-width: 100px;
}

.btn-vat-primary {
    .btn-vat-common;
    background-color: #E0301E;
    color: #FFF;

    &:hover, &:active, &:focus {
        background-color: #F91000;
        color: #FFF;
    }
}

.btn-vat-secondary {
    .btn-vat-common;
    background-color: #EB8C00;
    color: #FFF;

    &:hover, &:active, &:focus {
        background-color: #F91000;
        color: #FFF;
    }
}

.btn-vat-third {
    .btn-vat-common;
    background-color: #797979;
    color: #FFF;

    &:hover, &:active, &:focus {
        background-color: #F91000;
        color: #FFF;
    }
}

.btn-vat-fourth {
    .btn-vat-common;
    /*background-color: #FFF;*/
    background-color: #D7D7D7;
    color: #FFF;

    &:hover, &:active, &:focus {
        background-color: #F91000;
        color: #FFF;
    }
}

.btn-vat-not-important {
    .btn-vat-common;
    background-color: #FFF;
    color: #333;
    border: 1px solid #949494;

    &:hover, &:active, &:focus {
        background-color: #797979;
        color: #FFF;
    }

    i {
        font-size: 18px;
        vertical-align: middle;
    }
}

.btn-vat-important {
    .btn-vat-common;
    background-color: #A32020;
    color: #FFF;

    &:hover, &:active, &:focus {
        background-color: #CB2020;
        color: #FFF;
    }
}

.tesla-confirm {
    .btn-primary {
        background-color: #B4122A !important;
    }

    .btn-default {
        background-color: #797979;
        color: white;
    }
}

/***********************************************************vat button end**********************************************************/