﻿:root {
    /*顏色變數*/
    --blackText: #383838;
    --lightColor: #e9f5d6;
    --inputBg: #f2f5e8;
    --colorText: #4b5a2f;
    --colorGHeader: linear-gradient(396deg, #dcd35d 0%, #9bb85f 35%, #61b6a9 63%, #4cbef3 100%);
    --colorGHeaderRight: #ffffff59;
    --colorTextAlpha: rgb(87 51 102 / 25%);
    --lightColorText: #829c4b;
    --mainColor: #76a534;
    --mainGColor: linear-gradient(396deg, #f0e66a 0%, #b1ce77 35%, #6ec2b5 63%, #4cbef3 100%);
    --btnText: white;
    --grayBg: #e6e6e6;
    --importantColor: #f48b45;
    --lightGrayBg: #f5f5f5;
    --lightGrayText: #b1b1b1;
    --grayText: #616161;
    --inputHoverBg: #e5efcf;
    --mainChromaColor: #7bc126;
    --mainGChromaColor: linear-gradient(396deg, #ece359 0%, #a3ca56 35%, #49afa0 63%, #2ea7df 100%);
    --lightBg: #f0edf5;
    --greenBg: #eef1df;
    --greenblueBg: #e1ece9;
    --blueBg: #e6eff9;
    --orangeBg: #f3efe3;
    --disableText: #333333;
    --disableBg: #bfbfbf;
    /* 常規色 */
    --purpleColor: #8D59BF;
    --royalBlue: #4659e2;
    --redColor: #e25b46;
    --blueColor: #59a3bf;
    --yellowColor: #f2c138;
    --greenColor: #31ad52;
    /* 按鈕 */
    --btn-cancel: #f45145;
    --btn-import: #8D59BF;
    --btn-secondary: #4153da;
    --btn-tertiary: #a14482;
    --btn-back: #3888ca;
    --btn-add: #3aa56e;
    --btn-download: #3a419b;
    --btn-other: #464646;
    --btn-save: #b74fb9;
    --btn-print: #b14669;
    --linear_2: rgba(150, 47, 178, 0.2);
    --linear_3: rgba(150, 47, 178, 0.3);
    --linear_5: rgba(150, 47, 178, 0.5);
    /*新增顏色*/
    --manColor: #479DBF;
    --womanColor: #EB7D70;
    /*寬度*/
    --formLabel: 5.5rem;
    --labelW: calc(var(--formLabel) + 0.25rem);
    --textboxW: calc(100% - var(--labelW));
    --searchInputW: calc(100% - var(--labelW) - 3rem - var(--inputGroupM-10));
    --datepickerW: calc(100% - var(--labelW) - 5px);
    --numericW: calc(100% - var(--labelW) - 39px);
    --qryInputW: calc(100% - 3.75rem - var(--inputGroupM-10));
    --labelW_6: calc(var(--formLabel) + 1.25rem);
    --textboxW_6: calc(100% - var(--labelW_6));
    --searchInputW_6: calc(100% - var(--labelW_6) - 3rem - var(--inputGroupM-10));
    --datepickerW_6: calc(100% - var(--labelW_6) - 5px);
    --numericW_6: calc(100% - var(--labelW_6) - 39px);
    --formInlineMinW: 12rem;
    /*高度*/
    --inputHeight: 40px;
    /*距離*/
    --marginY: 12px;
    --marginX: 12px;
    /*弧度*/
    --borderR: 8px;
    --borderR_sm: 4px;
    /*欄位尺寸*/
    /* --line1: 345px; */
    /* --line2: 715px; */
    --line1: calc(20% - var(--inputGroupM-10));
    --line2: calc(40% - var(--inputGroupM-10));
    /*btn*/
    /*按鈕高*/
    --btnHPadding: calc((var(--inputHeight) - 30px) / 2);
    --btnWPadding: 12px;
    --btnLineHeight: 1.5;
    /*按鈕間距*/
    --btnM-4: 4px;
    --btnP-8: 8px;
    --btnM-20: 20px;
    --btnP-20: 20px;
    --btnSpace-20: 20px;
    /*input*/
    --inputWP-16: 16px;
    /*區域padding*/
    --areaP-20: 20px;
    /*.inputGroup*/
    --inputGroupM-4: 4px;
    --inputGroupM-10: 10px;
    --inputGroupM-20: 20px;
    --inputGroupP-20: 20px;
    --inputGroupW-20: 20px;
    --inputGroupReangerW: 20px;
    /*彈框*/
    --windowM-60: 60px;
    --windowfooterMB: 8px;
    /*.form-inline*/
    --form-inlineP-15: 15px;
    --form-inlineM-15: 15px;
    --form-inlineP-15_: -15px;
    --position-2: 2px;
    --position-2_: -2px;
    --position-20: 20px;
    --position-40: 40px;
    --W-2: 2px;
    --P-2: 2px;
    --P-2_: -2px;
    --P-4: 4px;
    --P-6: 6px;
    --P-8: 8px;
    --P-10: 10px;
    --P-12: 12px;
    --P-14: 14px;
    --P-16: 16px;
    --P-20: 20px;
    --P-28: 28px;
    --M-2: 2px;
    --M-4: 4px;
    --M-6: 6px;
    --M-8: 8px;
    --M-10: 10px;
    --M-12: 12px;
    --M-14: 14px;
    --M-16: 16px;
    --M-20: 20px;
    --M-30: 30px;
    --M-40: 40px;
    --menuHeight: 64px;
    /* .k-dropdown-wrap .k-state-default修正*/
    --dropdownHeight: 37px;
    --line1Container: calc(25% - var(--inputGroupM-10));
    --line2Container: calc(50% - var(--inputGroupM-10));
}

html {
    font-size: 18px !important;
}

@media (max-width: 1680px) {
    :root {
        /*欄位尺寸*/
        /* --line1: 345px; */
        /* --line2: 715px; */
        --line1: calc(25% - var(--inputGroupM-10));
        --line2: calc(50% - var(--inputGroupM-10));
    }
}

@media (max-width: 1440px) {
    :root {
        /*欄位尺寸*/
        /* --line1: 345px; */
        /* --line2: 715px; */
        --line1: calc(33.3% - var(--inputGroupM-10));
        --line2: calc(66.6% - var(--inputGroupM-10));
    }
}

@media (max-width: 1200px) {
    :root {
        /*欄位尺寸*/
        /* --line1: 345px; */
        /* --line2: 715px; */
        --line1: calc(50% - var(--inputGroupM-10));
        --line2: calc(100% - var(--inputGroupM-10));
        --line1Container: calc(33.3% - var(--inputGroupM-10));
        --line2Container: calc(66.6% - var(--inputGroupM-10));
    }
}

@media (max-width: 1024px) {
    :root {
        --line1Container: calc(50% - var(--inputGroupM-10));
        --line2Container: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --line1Container: 100%;
    }
}

/*登入顏色*/

.login-body .leftContent {
    background: linear-gradient(-25deg, #57bfe0 0%, #74c3b0 26%, #7cc5a9 45.5%, #f1f1ea 45.6%, #f1f1ea 100%);
}

.login-main:after,
.login-body:after {
    filter: hue-rotate(285deg);
    /*可針對數值微調hue-rotate(0deg)->黃綠色hue-rotate(30deg)->草綠色hue-rotate(60deg)->藍綠色hue-rotate(90deg)->天藍色hue-rotate(120deg)->湛藍色hue-rotate(150deg)->藍紫色hue-rotate(180deg)->紫色hue-rotate(210deg)->紫紅色hue-rotate(240deg)->粉紅色hue-rotate(270deg)->紅色hue-rotate(300deg)->橘色hue-rotate(360deg)->枯黃色*/

}

.name:before,
.login-main:before {
    filter: hue-rotate(270deg);
}

.name .b {
    fill: #4b5a2f;
    fill: var(--colorText);
}


@media (max-width: 891px),
(min-width: 1024px) and (max-width: 1139px) {
    :root {
        --inputHeight: 46px;
    }
}