.tinan-product-name {
    color: black;
    font-weight: bold;
    font-size: 16px;
    padding: 2px;
}

.tinan-product-sku {
    color: black;
    font-size: 12px;
    padding: 2px;
}

.tinan-data-field-caption {
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
}

.tinan-data-field {
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
}

.tinan-data-field>label {
    margin-right: 5px;
    font-size: 13px;
    color: #666666;
    font-weight: normal;
}

.tinan-data-field-normal {
    color: black;
}

.tinan-data-field-green {
    color: green;
}

.tinan-data-field-warning {
    color: #FFA533;
}

.tinan-data-field-error {
    color: #FF5733;
}

.tinan-subnail-100 {
    width: 100px;
    max-height: 100px;
    margin: 5px;
}

.tinan-subnail-80 {
    width: 80px;
    max-height: 80px;
    margin: 5px;
}

img.tinan-preview {
    height: 300px;
    border: #666666 1px solid;
}

.tinan-image-preview-container {
    position: relative;
    width: 100px;
    height: 100px;
    text-align: center;
    vertical-align: middle;
}

.tinan-image-preview-container span {
    position: absolute;
    display: none;
}

.tinan-image-preview-container:hover span {
    display: inline;
    top: 50px;
    left: 50px;
    z-index: 1;
}

/**Text**/
.tinan-notice-text {
    font-weight: bold;
    font-size: large;
}

/**UI**/
.tinan-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.tinan-container-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.tinan-container-two-side {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tinan-container-vertical {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.tinan-row {
    padding: 5px;
}

.tinan-section-title {
    color: #ba2121;
    text-decoration: underline;
}

.tinan-badage-warning {
    padding: 5px;
    background-color: #F1C40F;
    border-radius: 5px;
}

.tinan-tool-bar {
    padding: 8px 10px;
    margin-bottom: 15px;
    border-top: 1px solid var(--hairline-color);
    border-bottom: 1px solid var(--hairline-color);
    background: var(--darkened-bg);
    color: var(--body-quiet-color);
}





.tinan-align-center {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tinan-align-vertical-center {
    text-align: center;
    display: flex;
    align-items: center;
}

.tinan-fix-center {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -56px;
    margin-top: -56px;
    z-index: 999;
}


/**form**/
.tinan-input-text-long {
    width: 70%;
}


.tinan-app-icon {
    margin-right: 5px;
}


/***********  component **********/
/***loading***/
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tinan-loadding {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
}

/***spinner-border***/
@-webkit-keyframes spinner-border {
    to {
        transform: rotate(360deg)
    }
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg)
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -.125em;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .2em
}


/***modal***/
.modal-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: table;
    transition: opacity 0.3s ease;
}

.modal-wrapper {
    display: table-cell;
    vertical-align: middle;
}

.modal-container {
    width: 500px;
    margin: 0px auto;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
    transition: all 0.3s ease;
    font-family: Helvetica, Arial, sans-serif;
}

.modal-header {
    clear: both;
}

.modal-body {
    clear: both;
    margin: 20px 0;
    max-height: 500px;
    overflow-y: scroll;
}

.modal-footer {
    clear: both;
}

.modal-default-button {
    float: right;
}

.modal-enter-from,
.modal-leave-to {
    opacity: 0;
}

.modal-enter-active .modal-container,
.modal-leave-active .modal-container {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


/***********  overwrite django **********/
.inline_label {
    color: #ba2121;
    text-decoration: underline;
}