﻿@charset "UTF-8"; /*指定編碼方式*/
/*>上傳檔案控制項(input file)>_____________________________________________________________________________________*/
input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.custom-file-upload { /*用在替代的按鈕上*/
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}
/*<上傳檔案(input file)< >input的range(拉霸條) type style設定>_____________________________________________________________________________________*/
input[type="range"] {
    -webkit-appearance: none;
    border-radius: 2px;
    width: 200px;
    height: 3px;
    /*background-image: -webkit-linear-gradient(left,#f22 0%,#f22 50%,#fff 50%, #fff 100%);  紅色range*/
    /*background-image: -webkit-linear-gradient(left,#F78C00 0%,#F78C00 50%,#fff 50%, #fff 100%);  橘色range*/
    background-image: -webkit-linear-gradient(left,#F78C00 0%,#F78C00 50%,#fff 50%, #fff 100%);
    box-shadow: inset #ebb 0 0 5px;
    outline: none;
    transition: .1s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: #F78C00;
    border-radius: 50%;
    transition: .1s;
}

input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-webkit-slider-thumb:active {
    width: 16px;
    height: 16px;
}

/*要搭配以下jquery 

    //紅色range
    function Change_Range() {
        let RangeInput = $("#Input");
        let TheRange_Value = RangeInput.val();
        let TheRange_min = document.getElementById("Input").min;
        let TheRange_max = document.getElementById("Input").max;
        let MaxMinValue = Math.round((TheRange_Value - TheRange_min) / (TheRange_max - TheRange_min) * 100);

        document.getElementById("lblrange_Value").innerHTML = TheRange_Value;

        RangeInput.css({
            'background-image': '-webkit-linear-gradient(left ,#f22 0%,#f22 ' + MaxMinValue + '%,#fff ' + MaxMinValue + '%, #fff 100%)'
        });
    }



    //橘色range
    function Change_Range() {
        let Square_Range = $("#Square_Range");
        let TheRange_Value = Square_Range.val();
        let TheRange_min = document.getElementById("Square_Range").min;
        let TheRange_max = document.getElementById("Square_Range").max;
        let MaxMinValue = Math.round((TheRange_Value - TheRange_min) / (TheRange_max - TheRange_min) * 100);

        document.getElementById("lblrange_Value").innerHTML = TheRange_Value;

        Square_Range.css({
            'background-image': '-webkit-linear-gradient(left ,#F78C00 0%,#F78C00 ' + MaxMinValue + '%,#fff ' + MaxMinValue + '%, #fff 100%)'
        });
    }

*/


/*<input的range type style設定< >glyphicon>*/

.icon-flipped { /*反轉glyphicon*/
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}





/*<glyphicon< >Top按鈕>*/
/* 40px */
.toTop-arrow {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 33%;
    opacity: 0.6;
    background: #000;
    cursor: pointer;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
}

    .toTop-arrow::before, .toTop-arrow::after {
        width: 18px;
        height: 5px;
        border-radius: 3px;
        background: #f90;
        position: absolute;
        content: "";
    }

    .toTop-arrow::before {
        transform: rotate(-45deg) translate(0, -50%);
        left: 0.5rem;
    }

    .toTop-arrow::after {
        transform: rotate(45deg) translate(0, -50%);
        right: 0.5rem;
    }

    .toTop-arrow:focus {
        outline: none;
    }


/* 48px */
.toTop-arrow {
    width: 3rem;
    height: 3rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 33%;
    opacity: 0.6;
    background: #000;
    cursor: pointer;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
}

    .toTop-arrow::before, .toTop-arrow::after {
        width: 25px;
        height: 6px;
        border-radius: 3px;
        background: #f90;
        position: absolute;
        content: "";
    }

    .toTop-arrow::before {
        transform: rotate(-45deg) translate(0, -50%);
        left: 0.42rem;
    }

    .toTop-arrow::after {
        transform: rotate(45deg) translate(0, -50%);
        right: 0.42rem;
    }

    .toTop-arrow:focus {
        outline: none;
    }

/* 56px */
.toTop-arrow {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 33%;
    opacity: 0.6;
    background: #000;
    cursor: pointer;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
}

    .toTop-arrow::before, .toTop-arrow::after {
        width: 31px;
        height: 7px;
        border-radius: 3px;
        background: #f90;
        position: absolute;
        content: "";
    }

    .toTop-arrow::before {
        transform: rotate(-45deg) translate(0, -50%);
        left: 0.4rem;
    }

    .toTop-arrow::after {
        transform: rotate(45deg) translate(0, -50%);
        right: 0.4rem;
    }

    .toTop-arrow:focus {
        outline: none;
    }
    
    
/*<Top按鈕< >漸層背景>*/
.pinkBgm1 {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+37,ba0000+100 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 37%, #ba0000 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 37%,#ba0000 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 37%,#ba0000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ba0000',GradientType=0 ); /* IE6-9 */
}
    
    
    
    
/*<漸層背景< >特定文字格式>_____________________________________________________________________________________*/
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    /*-khtml-user-select: none;*/
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.navbar_collapse_String /*Layout navbar文字設定(要改顏色不能在這裡改)*/ {
    font-size: 18px;
    font-family: 微軟正黑體;
    font-weight:bold;
}

.TitleString /*標題字的設定*/ {
    color: red;
    font-weight: bold;
    font-size: 36px;
    font-family: 微軟正黑體;
    text-align: center;
}


.SubheadingString /*副標題的設定*/ {
    color: blue;
    font-size: 30px;
    font-family: 微軟正黑體;
    text-align: center;
}

.ColumnTitleString /*欄位標題字的設定*/ {
    color: black;
    font-size: 18px;
    font-weight: bold;
    font-family: 微軟正黑體;
    text-align: center;
    vertical-align: middle;
}

.ColumnValueString /*欄位資料字的設定*/ {
    font-weight: bold;
    font-family: 微軟正黑體;
    font-size: 16px;
    word-break: break-all;
    word-wrap: break-word;
}

.AlertifyButtonString { /*專門用在Alertify套件上的按鈕的樣式*/
    font-weight: bold;
    font-family: 微軟正黑體;
    font-size: 16px;
}



/*<特定文字格式< >圖片的設定>_____________________________________________________________________________________*/
.Image-TheAutoSize_400X300 {
    max-width: 400px;
    width: expression(this.width > 400 ? "400px" : this.width);
    height: 300px;
    overflow: hidden;
}

/*<圖片的設定< >控制項外觀設定>_____________________________________________________________________________________*/
.TextBox_SingleLine {
    border: none;
    border-bottom: 2px solid green;
}

.table_Border {
    border: 1px solid black;
}

.NoBorder {
    border: none;
}
.hr_Basic {
    background-color: black;
    border: 1px solid black;
}
/*<控制項外觀設定< >控制項位置設定>_____________________________________________________________________________________*/
.InTable_PositionInterval {
    margin: 10px 10px 10px 10px;
}
/*<控制項位置設定< >網頁尺寸改變時－文字大小>_____________________________________________________________________________________*/
@media screen and (min-width: 0px) and (max-width: 576px) {
    .PageTitle_ChangeSize {
        font-size: 20px;
        font-family: 微軟正黑體
    }

    .PageSubTitle_ChangeSize {
        font-size: 18px;
        font-family: 微軟正黑體
    }

    .ColumnsTitle_ChangeSize {
        font-size: 14px;
        font-family: 微軟正黑體
    }

    .ColumnsContent_ChangeSize {
        font-size: 12px;
        font-family: 微軟正黑體
    }
    /*>大量資料欄位的內容>_____________________________________________________________________________________*/
    /*頁面瀏覽(View)資料的Table標題欄位設定*/
    .Table_View_ColumnsTitle_ChangeSize {
        border: solid;
        border-width: 1px;
        max-width: 100%;
        min-width: 30px;
    }
    /*頁面瀏覽(View)資料的Table標題欄位設定*/
    .Table_View_ColumnsContent_ChangeSize {
        border: solid;
        border-width: 1px;
    }

    /*頁面修改資料的Table左邊的標題欄位設定*/
    .Table_Edit_ColumnsTitle_ChangeSize {
        background-color: #428bca;
        border: solid;
        border-width: 1px;
        max-width: 100px;
        min-width: 60px;
    }
    /*頁面修改資料的Table右邊的資料欄位設定*/
    .Table_Edit_ColumnsContent_ChangeSize {
        background-color: white;
        border: solid;
        border-width: 1px;
        max-width: 200px;
        min-width: 130px;
    }
    /*頁面修改資料的Table右邊的資料欄位內容設定*/
    .Table_Edit_ColumnsContent_Value_ChangeSize {
        max-width: 80%;
        min-width: 80%;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 10px
    }
    /*<大量資料欄位的內容<_____________________________________________________________________________________*/
    /*用於查詢資料的text物件*/
    .SearchText_ChangeSize {
        color: black;
        font-size: 12px;
        font-family: 微軟正黑體;
        max-width: 120px;
        min-width: 120px
    }
    /*用於日曆上的星期一到日*/
    .DateLabel_ChangeSize {
        color: black;
        font-size: 12px;
        font-family: 微軟正黑體;
        max-width: 10px;
        min-width: 10px
    }

    .Button_ChangeSize {
        color: black;
        font-size: 14px;
        font-family: 微軟正黑體;
        max-width: 68px;
        min-width: 68px
    }
}
/*如果使用者視窗寬度 <= 480px*/
@media screen and (min-width: 576px) and (max-width: 768px) {
    .PageTitle_ChangeSize {
        font-size: 30px;
        font-family: 微軟正黑體
    }

    .PageSubTitle_ChangeSize {
        font-size: 24px;
        font-family: 微軟正黑體
    }

    .ColumnsTitle_ChangeSize {
        font-size: 16px;
        font-family: 微軟正黑體
    }

    .ColumnsContent_ChangeSize {
        font-size: 14px;
        font-family: 微軟正黑體
    }
    /*>大量資料欄位的內容>_____________________________________________________________________________________*/
    /*頁面瀏覽(View)資料的Table標題欄位設定*/
    .Table_View_ColumnsTitle_ChangeSize {
        border: solid;
        border-width: 1px;
        max-width: 100%;
        min-width: 30px;
    }
    /*頁面瀏覽(View)資料的Table標題欄位設定*/
    .Table_View_ColumnsContent_ChangeSize {
        border: solid;
        border-width: 1px;
    }

    /*頁面修改資料的Table左邊的標題欄位設定*/
    .Table_Edit_ColumnsTitle_ChangeSize {
        background-color: #428bca;
        border: solid;
        border-width: 1px;
        max-width: 120px;
        min-width: 60px;
    }
    /*頁面修改資料的Table右邊的資料欄位設定*/
    .Table_Edit_ColumnsContent_ChangeSize {
        background-color: white;
        border: solid;
        border-width: 1px;
        max-width: 768px;
        min-width: 60px;
    }
    /*頁面修改資料的Table右邊的資料欄位內容設定*/
    .Table_Edit_ColumnsContent_Value_ChangeSize {
        max-width: 80%;
        min-width: 80%;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 10px
    }
    /*<大量資料欄位的內容<_____________________________________________________________________________________*/
    /*用於日曆上的星期一到日*/
    .DateLabel_ChangeSize {
        color: black;
        font-size: 14px;
        font-family: 微軟正黑體;
        max-width: 10px;
        min-width: 10px
    }

    .Button_ChangeSize {
        color: black;
        font-size: 16px;
        font-family: 微軟正黑體;
        max-width: 80px;
        min-width: 80px
    }
}
/*如果使用者視窗寬度 <= 768px*/





@media screen and (min-width: 768px) and (max-width: 992px) {
    .PageTitle_ChangeSize {
        font-size: 36px;
        font-family: 微軟正黑體
    }

    .PageSubTitle_ChangeSize {
        font-size: 30px;
        font-family: 微軟正黑體
    }

    .ColumnsTitle_ChangeSize {
        font-size: 18px;
        font-family: 微軟正黑體
    }

    .ColumnsContent_ChangeSize {
        font-size: 16px;
        font-family: 微軟正黑體
    }
    /*>大量資料欄位的內容>_____________________________________________________________________________________*/
    /*頁面瀏覽(View)資料的Table標題欄位設定*/
    .Table_View_ColumnsTitle_ChangeSize {
        border: solid;
        border-width: 1px;
        max-width: 100%;
        min-width: 30px;
    }
    /*頁面瀏覽(View)資料的Table標題欄位設定*/
    .Table_View_ColumnsContent_ChangeSize {
        border: solid;
        border-width: 1px;
    }

    /*頁面修改資料的Table左邊的標題欄位設定*/
    .Table_Edit_ColumnsTitle_ChangeSize {
        background-color: #428bca;
        border: solid;
        border-width: 1px;
        max-width: 160px;
        min-width: 60px;
    }
    /*頁面修改資料的Table右邊的資料欄位設定*/
    .Table_Edit_ColumnsContent_ChangeSize {
        background-color: white;
        border: solid;
        border-width: 1px;
        max-width: 992px;
        min-width: 60px;
    }
    /*頁面修改資料的Table右邊的資料欄位內容設定*/
    .Table_Edit_ColumnsContent_Value_ChangeSize {
        max-width: 80%;
        min-width: 80%;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 10px
    }
    /*<大量資料欄位的內容<_____________________________________________________________________________________*/
    /*用於日曆上的星期一到日*/
    .DateLabel_ChangeSize {
        color: black;
        font-size: 16px;
        font-family: 微軟正黑體;
        max-width: 12px;
        min-width: 12px
    }

    .Button_ChangeSize {
        color: black;
        font-size: 18px;
        font-family: 微軟正黑體;
        max-width: 100px;
        min-width: 100px
    }
}
/*如果使用者視窗寬度介於 768px ~ 992px*/
@media screen and (min-width: 992px) and (max-width: 50000px) {
    .PageTitle_ChangeSize {
        font-size: 38px;
        font-family: 微軟正黑體
    }

    .PageSubTitle_ChangeSize {
        font-size: 30px;
        font-family: 微軟正黑體
    }

    .ColumnsTitle_ChangeSize {
        font-size: 18px;
        font-family: 微軟正黑體
    }

    .ColumnsContent_ChangeSize {
        font-size: 16px;
        font-family: 微軟正黑體
    }
    /*>大量資料欄位的內容>_____________________________________________________________________________________*/
    /*頁面瀏覽(View)資料的Table標題欄位設定*/
    .Table_View_ColumnsTitle_ChangeSize {
        border: solid;
        border-width: 1px;
        max-width: 100%;
        min-width: 30px;
    }
    /*頁面瀏覽(View)資料的Table標題欄位設定*/
    .Table_View_ColumnsContent_ChangeSize {
        border: solid;
        border-width: 1px;
    }

    /*頁面修改資料的Table左邊的標題欄位設定*/
    .Table_Edit_ColumnsTitle_ChangeSize {
        background-color: #428bca;
        border: solid;
        border-width: 1px;
        max-width: 200px;
        width: 200px;
        min-width: 60px;
    }
    /*頁面修改資料的Table右邊的資料欄位設定*/
    .Table_Edit_ColumnsContent_ChangeSize {
        background-color: white;
        border: solid;
        border-width: 1px;
        min-width: 60px;
    }
    /*頁面修改資料的Table右邊的資料欄位內容設定*/
    .Table_Edit_ColumnsContent_Value_ChangeSize {
        max-width: 80%;
        min-width: 80%;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 10px
    }
    /*<大量資料欄位的內容<_____________________________________________________________________________________*/
    /*用於日曆上的星期一到日*/
    .DateLabel_ChangeSize {
        color: black;
        font-size: 16px;
        font-family: 微軟正黑體;
        max-width: 16px;
        min-width: 16px
    }

    .Button_ChangeSize {
        color: black;
        font-size: 18px;
        font-family: 微軟正黑體;
        max-width: 100px;
        min-width: 100px
    }
}
/*如果使用者視窗寬度 >= 993px，將字體大小變為 38px*/

/*<網頁尺寸改變時－文字大小< >預設顏色樣式>_____________________________________________________________________________________*/
.Bgc_body {
    background-color: white;
}

.Bgc_Table { /*表單(View、新增、修改的)背景顏色*/
    background-color: #c1ffc6;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 3px solid black;
}

.Bgc_none {
    background-color: black;
    color: yellow;
}

/*<預設顏色樣式< >其他設定>_____________________________________________________________________________________*/

/*上選單的位置設定*/
.navtopword {
    margin-top: 30px;
}
/*logo圖片的位置設定*/
.navtoplogo {
    margin-top: 20px;
    margin-bottom: 10px;
}
/*<其他設定< >載入時的等待畫面>_____________________________________________________________________________________*/

.loading {
    border: 3px solid #3a3;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    -webkit-animation: loading 1s infinite linear;
    -moz-animation: loading 1s infinite linear;
    -o-animation: loading 1s infinite linear;
    animation: loading 1s infinite linear;
}

@-webkit-keyframes loading {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes loading {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes loading {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(360deg);
    }
}

@keyframes loading {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/*<載入時的等待畫面< >按鈕CSS功能>_____________________________________________________________________________________*/
btnLink_black:link {
    color: black;
    text-decoration: none;
}
btnLink_white:link {
    color: white;
    text-decoration: none;
}
btnLink_green:link {
    color: green;
    text-decoration: none;
}
btnLink_yellow:link {
    color: yellow;
    text-decoration: none;
}
btnLink_red:link {
    color: red;
    text-decoration: none;
}
btnLink_blue:link {
    color: blue;
    text-decoration: none;
}
btnLink_orange:link {
    color: orange;
    text-decoration: none;
}

/* visited link */
btnVisited_black:visited {
    color: black;
    text-decoration:none;
}
btnVisited_white:visited {
    color: white;
    text-decoration: none;
}
btnVisited_green:visited {
    color: green;
    text-decoration: none;
}
btnVisited_yellow:visited {
    color: yellow;
    text-decoration: none;
}
btnVisited_red:visited {
    color: red;
    text-decoration: none;
}
btnVisited_blue:visited {
    color: blue;
    text-decoration: none;
}
btnVisited_orange:visited {
    color: orange;
    text-decoration: none;
}

/* mouse over link */
btnHover_black:hover {
    color: black;
    text-decoration: none;
}
btnHover_white:hover {
    color: white;
    text-decoration: none;
}
btnHover_green:hover {
    color: green;
    text-decoration: none;
}
btnHover_yellow:hover {
    color: yellow;
    text-decoration: none;
}
btnHover_red:hover {
    color: red;
    text-decoration: none;
}
btnHover_blue:hover {
    color: blue;
    text-decoration: none;
}
btnHover_orange:hover {
    color: orange;
    text-decoration: none;
}

/* selected link */
btnSelected_black:active {
    color: black;
    text-decoration: none;
}
btnSelected_white:active {
    color: white;
    text-decoration: none;
}
btnSelected_green:active {
    color: green;
    text-decoration: none;
}
btnSelected_yellow:active {
    color: yellow;
    text-decoration: none;
}
btnSelected_red:active {
    color: red;
    text-decoration: none;
}
btnSelected_blue:active {
    color: blue;
    text-decoration: none;
}
btnSelected_orange:active {
    color: orange;
    text-decoration: none;
} 




/*<按鈕CSS功能< >>_____________________________________________________________________________________*/