﻿.diyDownload A:link,
.diyDownload A:visited {
    text-decoration: none;
    color: #3399FF;
    font-weight: bolder;

}

.diyDownload A:hover {
    text-decoration: underline;
}

.diyDownload A:active {
    text-decoration: underline;
}

#noteMessage {
    color: #C00;
    /*font-weight:bold;*/
    text-align: center;
    padding: 10px;
}

#info {
    margin: 0;
    position: relative;
    background-color: #DDEFFF;
    padding: 8px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 20px;
}

#infoTable {
    font: 9pt Arial;
    color: #000000;
    border-collapse: collapse;
}

#infoPrinting {
    display: none;
}

#infoPrintingTable {
    font-size: 9pt;
    color: #000000;
    border-collapse: collapse;
    background-color: #f9f9f9;
    border: 1px solid #DDEFFF;
}

#infoPrintingTableHead {
    background-color: #DDEFFF;
}

#infoRawText {
    display: none;
}

#map {
    margin: 10px 10px 10px 50px;
    border: 1px solid black;
    width: 720px;
    height: 420px;
}

/*.diyDefault { font: 9pt Arial; text-align: left; }
 .diyTextBox { font: 9pt Arial; }
 .diyTextBoxDisable { font: 9pt Arial; color:#808080;  }
 .diyHintText { font: 9pt Arial; line-height: 150%; color:#808080; text-align:right;}
 .diyOptionHintText { font: 9pt Arial; line-height: 150%; color:#808080; text-align: justify; }
 .diyFieldset { font: 9pt Arial; padding: 8; width:80%; margin-top:16px; }
 .diySelect { font: 9pt Arial; }
 .diyButton { font: 9pt Arial; width:160px; }
 .diyDoc { font: 10pt Arial; text-align: justify; line-height: 160%; }
 .diyDoc:first-letter { font-size: 120%; }
 .diyStep { color: #000000; font-size: 8pt; border-style: solid; border-width: 1px; padding: 2px; background-color: #FF3300 }*/
.diyStep {
    background: #CAE366;
    color: white;
    float: left;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
    line-height: 30px;
    text-align: center;
    width: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;

}

#diyGeneratedCode {
    margin: 0;
    /*background: #E3E8C8;*/
    border: 3px dashed #DDEFFF;
    padding-top: 20px;
    padding-bottom: 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: #fff;
}

#diyCodePadding {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
}

div.bannerWrapper {
    background: #FFCF31;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFCF31), to(#FFB630));
    background: -moz-linear-gradient(top, #FFCF31, #FFB630);
    background: linear-gradient(to bottom, #FFCF31, #FFB630);
    border-bottom: 0px solid #F8981D;
    width: 100%;
    z-index: 9;
    overflow: visible;
    margin-bottom: 35px;
}

div.variableBanner {
    color: white;
    width: 100%;
    max-width: 948px;
    margin: 0 auto;
    overflow: visible;
    padding-bottom: 35px;
    position: relative;
    min-height: 116px;
}

div.titlearea {
    position: relative;
    top: 0 !important;
    display: block;
    z-index: 15;
}

div.title {
    padding-top: 10px;
    padding-right: 10px;
    width: auto;
    position: relative;
    clear: both;
}

div.title h1 {
    color: #fff;
    margin: 0;
    font-size: 24px;
}

/* 恢復頂部功能選單佈局 */
#diyTopMenu {
    width: 100%;
    max-width: 948px;
    margin: 0 auto 15px;
    background-color: #fff;
    padding-top: 15px;
    clear: both;
}

.menuFlexContainer {
    display: flex;
    justify-content: flex-start;
}

.menuColumn {
    flex: 1;
    border-right: 1px solid #e0e0e0;
    padding: 0 15px;
    min-height: 110px;
}

.lastColumn {
    border-right: none;
}

.menuTitle {
    font-weight: bold;
    color: #4F3E44;
    margin-bottom: 12px;
    font-size: 14px;
}

.menuItemRow {
    padding: 4px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.menuItemRow img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.menuItemRow a {
    text-decoration: none;
    color: #444;
    font-size: 13px;
}

.menuItemRow a:hover {
    color: #2b78c5;
    text-decoration: underline;
}

.menuItemSelectedRow a {
    color: #3399FF;
    font-weight: bold;
}

.menuItemSelectedRow::after {
    content: '○';
    color: #3399FF;
    font-size: 10px;
    position: absolute;
    right: 5px;
}

#diyPanel {
    width: 100%;
    clear: both;
}

div {
    display: block;
}

div.selector {
    float: right;
    margin-right: 10px;
    margin-top: 8px;
}

.rightPanel .grayBox {
    width: 100%;
    max-width: 948px;
    box-sizing: border-box;
    background-color: #F9F9F9;
    /*min-height:500px;*/
    border: 1px solid #CCC;
    margin-bottom: 13px;
    overflow: hidden;
    padding: 10px;
    position: relative;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    behavior: url(../../css/ie-css3.htc);
}

div.menuSeparator {
    border-bottom: 1px solid #CCC;
}

div.menuItemSelected {
    background: #CDB99C;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;

}

div.menuItem,
div.menuItemSelected {
    margin-top: 6px;
    margin-bottom: 6px;
    padding-right: 4px;
    padding-left: 4px;
}

div.menuItem img,
div.menuItemSelected img {
    vertical-align: middle;
}

div.menuItem a.item-a:visited,
a.item-a:link {
    color: #666;
    text-decoration: none;
    font-weight: bold;
}

div.menuItemSelected a.item-a:visited,
div.menuItemSelected a.item-a:link {
    color: #fff;
}

#diyFormStyle input[type=text] {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: transparent;
}

#diyBox {
    text-align: center;
}

#diyBox input[type=text] {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: transparent;
    width: 300px;
}

#diyBox p {
    margin: 2px 0px 0px 0px;
}

#diyBox p label {
    font-size: 16px;
    font-weight: bold;
}

div#img {
    float: left;
    text-align: center;
    padding: 10px 3em;
    display: inline;
}

.ui-border-top {
    padding-top: 5px;
    border-top: 1px dotted #C0C0C0;
}

div#img .BarcodeHTML {
    border: 2px solid #DCE1E1;
}

div#form {
    width: 100%;
    max-width: 415px;
    box-sizing: border-box;
    float: left;
    text-align: left;
    padding: 5px 20px;
    display: inline;
    border-right: 1px solid #DCE1E1;
    /*background: url(../../images/bg_divider_vertical.gif) right top no-repeat;*/
}

input[type=text].inputAlert,
textarea.inputAlert,
select.inputAlert {
    border: 0px;
    border-left: 8px #E00000 solid;
    border-bottom: 1px #E00000 solid;
    /*border-left: 8px #F8981D solid;
     border-bottom: 1px #F8981D solid;*/
}

textarea,
input[type=text],
select {
    background-color: #EEE;
    border: 0px;
    font-family: Arial, helvetica, Sans-Serif;
    border-left: 8px #DDD solid;
    border-bottom: 1px #DDD solid;
    padding: 4px;
    font-size: 14px;
    margin-top: 2px;
    min-width: 100px;
    max-width: 100%;
    box-sizing: border-box;
}

textarea:focus,
input[type=text]:focus,
select:focus {
    background-color: #fffbcc;
}

select {
    min-width: 30px;
}

input[type=text].minTxt {
    min-width: 30px;
    max-width: 100px;
}

input[type=text].minTxt200 {
    min-width: 30px;
    max-width: 200px;
}

label {
    width: 90px;
    white-space: nowrap;
    text-align: right;
    padding: 2px 5px 3px 0;
    clear: both;
}

.fields-row {
    margin: 0 0 15px;
}

.required {
    font-weight: bold;
}

.btnright {
    float: right;
}

/* 移除冗餘空規則以修復 lint */
#header {
    background-color: transparent;
}

div.title h1 {
    font-size: 24px;
}

#nav {
    display: none;
    /* 已被 diynav 取代 */
}

div.variableBanner {
    color: white;
    width: 948px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div.titlearea {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 15;
    padding: 0 16px;
}

div.title {
    width: auto;
    margin-bottom: 8px;
    position: relative;
    clear: both;
}

div.title h1 {
    color: #fff;
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

#diynav {
    height: auto;
    width: 100%;
}

#diynav ul#navItem {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

#diynav ul#navItem li {
    list-style: none;
    position: relative;
}

#diynav ul#navItem li:first-child {
    background: url('../images/nav_separator.png') top left repeat-y;
}

#diynav #navItem li a {
    background: url('../images/nav_separator.png') top right repeat-y;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: bold;
    height: 20px;
    line-height: 20px;
    padding: 0 13px;
    text-decoration: none;
    text-shadow: #E39900 0 1px 0;
}

@media (max-width: 960px) {
    div.variableBanner {
        min-height: auto;
        padding-bottom: 15px;
    }

    div.titlearea {
        padding: 10px 16px;
        align-items: center;
        text-align: center;
    }

    div.title h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    img.main {
        display: none;
    }

    #diynav ul#navItem {
        justify-content: center;
        flex-wrap: wrap;
    }

    #diynav ul#navItem li {
        margin: 5px;
    }

    .menuFlexContainer {
        flex-direction: column;
    }

    .menuColumn {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        min-height: auto;
        padding: 10px 15px;
    }

    div#form,
    div#img {
        float: none;
        width: 100%;
        max-width: 100%;
        border-right: none;
        padding: 15px 10px;
        display: block;
    }

    label {
        float: none;
        width: 100%;
        text-align: left;
        display: block;
        margin-bottom: 5px;
    }

    textarea,
    input[type=text],
    select {
        width: 100%;
    }

    .btnright {
        float: none;
        width: 100%;
        margin-top: 10px;
    }

    #diyBox input[type=text] {
        width: 100%;
    }
}

img.main {
    position: absolute;
    bottom: 0px;
    margin-bottom: -14px;
    right: 0px;
    z-index: 10;
}

#diynav #action {
    bottom: -11px;
    left: 50%;
    margin-left: -8px;
    position: absolute;
}

#BarcodeCanvas table {
    border: none;
    font-size: 1px;
    table-layout: fixed;
    border-spacing: 0px
}

#BarcodeCanvas table td {
    padding: 0px;
    border: 0px;

}