﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
.form-control:disabled, .form-control:read-only {
    cursor: not-allowed;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /* margin-bottom: 60px; */
    font-family: Arial, sans-serif, 'EUDCFont';
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* line-height: 60px; */
}

/* Custom Css */
.coloredit {
    font-size: small !important;
    padding: 0.125rem 0.5rem;
}

.colordel {
    color: white !important;
    background-color: red !important;
    font-size: small !important;
    padding: 0.125rem 0.5rem;
}

.longtext {
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}
/*--------------------- kendo  custom style------------------------*/
/*---kendo grid toolbar 設為block 才能向右對齊 */
.k-toolbar {
    display: block;
}
/*--------*/
.k-grid td, .k-grid th {
    padding: .6rem .6rem;
}

.k-grid .k-state-selected {
    background-color: lightblue !important;
    color: #000000;
    font-weight: bolder !important;
    font-size: 0.95rem;
}

.k-grid .k-alt.k-state-selected {
    background-color: lightblue !important;
    color: #000000;
}
/*
.UseStatus0, .UseStatusfalse {
    color: gray !important;
}
*/
.UseStatus1, .UseStatustrue {
    color: blue !important;
}

/*
    kendo-textbox 套用 form-control 跑板問題
    https://stackoverflow.com/questions/56248359/kendo-ui-styling-breaks-form-control-layout
*/
.form-control.k-widget {
    padding: 0;
    width: 100%;
    height: auto;
}

/*
    k-switch-label 未顯示(覆蓋 display none 處理)
*/
.k-switch-label-on, .k-switch-label-off {
    display: inline !important
}

/*
    abp.message 必須顯示在最上層 (處理被 kendo-window 覆蓋問題)
*/
.swal-overlay {
    z-index: 11000 !important
}

@media (min-width: 576px) {
    .mywidth {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .mywidth {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .mywidth {
        width: 90%;
    }
}

@media (min-width: 1200px) {
    .mywidth {
        width: 75%;
    }
}
/*造字
    @font-face {
    font-family: 'EUDCFont';
    src: url('../_content/Nkust.Web.Core/fonts/EUDC.woff2') format('woff2'), url('../_content/Nkust.Web.Core/fonts/EUDC.woff') format('woff'), url('../_content/Nkust.Web.Core/fonts/EUDC.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.k-grid,
.k-textbox,
.k-input,
.k-input-inner {
    font-family: 'system-ui', -apple-system, 'Segoe UI', 'EUDCFont', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !important;
} */