@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);

body{
    font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
    margin: 0;
    padding: 0;
}

input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

dl, ol, ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.ml-20 {
    margin-left: 20px;
}

.mr-100 {
    margin-right: 100px;
}

.font-17 {
    font-size: 17px !important;
}

.header-bg {
    left: 0px;
    right: 0;
    top: 0px;
    z-index: 999;
    margin-bottom: 100px;
    background:linear-gradient(90deg,rgba(130,186,94,1) 0%,rgba(73,154,21,1) 100%);
    -webkit-box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.12), 0 2px 20px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.12), 0 2px 20px 0 rgba(0, 0, 0, 0.08);
}

.header-bar {
    left: 0px;
    position: fixed;
    right: 0;
    top: 0px;
    z-index: 999;
    background:linear-gradient(90deg,rgba(130,186,94,1) 0%,rgba(73,154,21,1) 100%);
    -webkit-box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.12), 0 2px 20px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.12), 0 2px 20px 0 rgba(0, 0, 0, 0.08)
}

.header-bar .header-bar-left {
    float: left;
    position: relative;
    width: 240px;
    z-index: 1;
}

.header-bar .header-bar-left a {
    line-height: 56px;
}

.header-bar .header-bar-left img{
    vertical-align: middle;
}

.footer-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: 10px 5%;
    height: 50px;
    background:rgba(57,68,50,1);
}

.header-ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    height: 180px;
}
body.fixed-left .left-menu.left {
    bottom: 50px;
    height: 100%;
    margin-bottom: -70px;
    margin-top: 0px;
    padding-bottom: 70px;
    position: fixed;
}

.left-menu {
    bottom: 0;
    top: 0;
    width: 240px;
    z-index: 2;
    background: #394432;
}

.left-menu.left {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 60px;
}
.list-inline-item:not(:first-child) {
    margin-right: 30px;
}
@media (max-width: 767px){
    .enlarged .left.left-menu {
        margin-left: -75px;
    }
    .nav li.list-inline-item {
        line-height: 60px;
    }
    .welcome-bar {
        display: none;
    }
    .list-inline-item:not(:first-child) {
        margin-right: 10px;
    }
}

#sidebar-menu > ul > li > a:hover {
    background: #353535;
    border-color: #ee7d4a;
}
#sidebar-menu > ul > li > a.active {
    background: #353535;
    border-left: 3px solid #ee7d4a;
}

#wrapper.enlarged .header-bar .header-bar-left {
    width: 70px !important;
}
#wrapper.enlarged .left.left-menu {
    width: 70px;
    z-index: 5;
}

#wrapper.enlarged .left.left-menu #sidebar-menu ul > li {
    position: relative;
    white-space: nowrap;
    max-height: 49px;
}

#wrapper.enlarged .left.left-menu #sidebar-menu ul > li > ul {
    display: none;
}

#wrapper.enlarged .left.left-menu #sidebar-menu ul > li:hover > ul {
    display: block;
    left: 70px;
    position: absolute;
    width: 190px;
}

#wrapper.enlarged .left.left-menu #sidebar-menu ul > li:hover > a {
    position: relative;
    width: 325px;
    background: #2E3629;
    color: rgba(255, 255, 255, 0.8);
    border-color: #9FB790;
}
#wrapper.enlarged .left.left-menu #sidebar-menu ul > li > a span {
    display: none;
    padding-left: 10px;
}
#wrapper.enlarged .left.left-menu #sidebar-menu ul > li:hover a span {
    display: inline;
}
#wrapper.enlarged .left.left-menu #sidebar-menu ul > li:hover > ul a {
    background: #ffffff;
    color: #435966;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-left: 15px;
    position: relative;
    width: 186px;
    z-index: 6;
}
#wrapper.enlarged .left.left-menu #sidebar-menu ul > li:hover > ul a:hover {
    color: #499A15;
}
#wrapper.enlarged .left.left-menu #sidebar-menu ul ul a:hover {
    color: #499A15 ;
}

#wrapper.enlarged .left.left-menu #sidebar-menu > ul > li > a {
    padding: 15px 20px;
}

#wrapper.enlarged .left.left-menu #left-menu > ul > li > a:hover {
    background: #2E3629 !important;
}


#wrapper.enlarged .left.left-menu #sidebar-menu > ul > li > a i {
    margin-right: 20px !important;
    font-size: 20px;
}
#wrapper.enlarged .left.left-menu #sidebar-menu ul > li > a span {
    display: none;
    padding-left: 10px;
}

#wrapper.enlarged .content-page {
    margin-left: 70px;
}

.btn-usr {
    color: #fff !important;
    background-color: #038ABF !important;
    border: 1px solid #038ABF !important;
}

.btn-usr:focus,
.btn-usr:active,
.btn-usr:hover {
    background-color: #0377BF !important;
    border: 1px solid #0377BF !important;
}

.btn-custom {
    background-color: #038ABF !important;
    border: 1px solid #038ABF !important;
}

.btn-custom:focus,
.btn-custom:active,
.btn-custom:hover {
    background-color: #0677A4 !important;
    border: 1px solid #0677A4 !important;
    box-shadow: none;
}

.btn-custom-reverse {
    color: #038ABF !important;
    background-color: #fff !important;
    border: 1px solid #038ABF !important;
}

.btn-custom-reverse:focus,
.btn-custom-reverse:active,
.btn-custom-reverse:hover {
    color: #0677A4 !important;
    background-color: #fff !important;
    border: 1px solid #0677A4 !important;
    box-shadow: none;
}

.btn-transparent {
    color: #fff !important;
    background-color: transparent !important;
    border: 1px solid #fff !important;
}

.btn-home {
    margin-right: 15px !important;
}
.btn-home a{
    font-size: 16px;
    color: #f2f2f2 !important;
}

.card {
    border: 0 !important;
}

.wrapper-page .rule-card {
    margin: 30px auto !important;
    position: relative;
    max-width: 1200px;
}

.rule-card {
    border-radius: 5px;
    margin-bottom: 60px;
    border: 1px solid #e8e8e8;
    background-color: white;
    padding: 3.25rem;
}

.rule-card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgb(232,232,232);
    border-radius: .25rem;
}

.text-appendix {
    display: table;
    width: 30%;
    max-width: 710px;
    min-width: 200px;
    height: 30px;
    margin-bottom: 10px;
    color: #5B5B5C;
    font-size: 17px;
}
.text-appendix .appendix-first {
    display: table-cell;
    vertical-align: middle;
    width: 60%;
    height: 100%;
    line-height: 100%;
    text-align: left;
    padding-right: 1em;
    color: #888888;
    font-weight: 700;
}

.text-appendix .appendix-input {
    display: table-cell;
    vertical-align: middle;
    width: 30%;
    height: 100%;
    line-height: 100%;
}

.text-appendix .appendix-last {
    display: table-cell;
    vertical-align: middle;
    width: 10%;
    height: 100%;
    line-height: 100%;
}

.text-user-input {
    display: table;
    width: 97%;
    max-width: 710px;
    height: 30px;
    color: #5B5B5C;
    font-size: 17px;
}
.text-user-input .input-title {
    display: table-cell;
    vertical-align: middle;
    width: 30%;
    height: 100%;
    line-height: 100%;
    text-align: left;
    padding-right: 1em;
    color: #888888;
    font-weight: 700;
}

.text-user-input .input-subtitle {
    display: table-cell;
    vertical-align: middle;
    width: 70%;
    height: 100%;
    line-height: 100%;
}

.text-split-line{
    border-top: 1px solid rgba(128,128,128,0.2);
    margin-top: 25px;
    padding-top: 25px;
}

.text-content-upload{
    border-top: 1px solid rgba(128,128,128,0.2);
    margin-top: 25px;
    padding-top: 25px;
}

.text-content-page-rule {
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: rgb(121,121,121);
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(128,128,128,0.2);
}
.text-content-page-rule ul {
    list-style-type: none;
    padding-left: 0;
}
.text-content-page-rule li {
    text-indent : -1.3em ;
    padding-left: 1.5em;
}


.text-rule {
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: rgb(121,121,121);
    margin-bottom: 25px;
}
.text-rule ul {
    list-style-type: none;
    padding-left: 0;
}

.sweet-alert {
    margin-left: -240px !important;
}

@media (max-width: 767px){
    .sweet-alert {
        margin-left: 0 !important;
    }
}

.sweet-alert h2 {
    margin-top: 13px;
    font-weight: 500;
    font-size: 20px;
    color: #394432;
}
.sweet-alert h2+p {
    margin-top: 15px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #797979;
}
.breadcrumb-item{
    color: #394432;
}
.navigation-bar {
    width: 100%;
    height: 5em;
    border-bottom: 1px solid rgba(128,128,128,0.2);
    margin-bottom: 4em;
    margin-top: 1em;
}
.navigation-bar .inner {
    display: table;
    width: 100%;
    height: 100%;
}
.navigation-bar .inner>div {
    display: table-cell;
    box-sizing: border-box;
    height: 100%;
}
.navigation-bar .inner .buttons {
    width: 35%;
    padding: 1em 0 1em 1em;
    text-align: right;
}
.navigation-bar .inner .buttons .btn {
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
    color: #666666;
    line-height: 24px;
}
.top-edit-bar {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 10px;
    font-weight: 600;
}
.top-edit-bar .item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 5px;
}

.user-input{
    display: table;
    width: 97%;
    max-width: 775px;
    height: 50px;
    margin-bottom: 10px;
    color: #5B5B5C;
    font-size: 17px;
}

.user-input .input-label{
    display: table-cell;
    vertical-align: middle;
    width: 30%;
    min-width: 135px;
    height: 100%;
    line-height: 100%;
    text-align: left;
    padding-right: 1em;
    color: #888888;
    font-weight: 700;
}

.user-input .input-form{
    display: table-cell;
    vertical-align: middle;
    width: 70%;
    height: 100%;
    line-height: 100%;
}
.text-appendix .text-input,
.user-input .text-input{
    display: block;
    width: 100%;
    max-width: 710px;
    height: 48px;
    margin: 0;
    padding: 0.5em;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    font-size: 17px;
    color: #595959;
}

.user-input select.text-input{
    padding-top: 0;
    padding-bottom: 0;
}

.color-edit {
    color: #797979;
}
.btn-usr:focus,
.color-edit:focus{
    box-shadow: none;
}

.color-edit:focus,
.color-edit:active,
.color-edit:hover{
    color: #394432;
}
.checkbox-usr input[type="checkbox"]:checked + label::before,
.checkbox-custom input[type="radio"]:checked + label::before {
    background-color: #0677A4 !important;
    border-color: #0677A4 !important;
}
.checkbox-custom.sub input[type="radio"]:checked + label::before {
    background-color: #57c5a5 !important;
    border-color: #57c5a5 !important;
}

.checkbox input[type="radio"]:focus + label::before {
    outline-offset: -2px;
    outline: none;
}
.checkbox input[type="radio"] {
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    outline: none !important;
}
.checkbox input[type=radio] {
    position: absolute;
    margin-left: -20px;
}
.checkbox-usr input[type="checkbox"]:checked + label::after,
.checkbox-custom input[type="radio"]:checked + label::after {
    color: #ffffff;
}
.checkbox input[type="radio"]:checked + label::after {
    content: "\f00c";
    font-family: 'FontAwesome';
}
.checkbox {
    padding-left: 20px !important;
}

.btn-send {
    height: 50px;
    margin-left: 10px;
    border-radius: 5px;
}

.btn-minus,
.btn-add {
    height: 50px;
    margin-left: 20px;
    border-radius: 5px;
}
.btn-minus{
    display: none;
}

.btn-save,
.btn-back,
.btn-delete,
.btn-download,
.btn-case-withdraw{
    /* width: 115px; */
    border-radius: 5px;
}
input::-webkit-input-placeholder {
    color: #e8e8e8;
}
.err-input::-webkit-input-placeholder {
    color: red;
}
.err-input {
    color: red !important;
}

.text-red {
    color: red;
}
.tip-label label::before {
    content: "\f104";
    font-family: 'FontAwesome';
    margin-right: 10px;
    margin-left: 20px;
}
.tip-label {
    display: none;
}

.text-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0px;
    margin-top: 0px;
    line-height: 42px;
    color: #82BA5E;
}

.btn_mergePDF,
.btn-submitCase,
.btn-upload {
    padding: 10px 30px;
    border-radius: 5px;
    margin-right: 20px;
}

.upload-filename {
    cursor: default;
}
.uploaded-filename {
    text-decoration: underline;
}
.sdgs-block,
.qa-block {
    list-style-type: none;
}
.qa-block li {
    margin-left: 2.7em;
    margin-bottom: 80px;
}
.sdgs-block li {
    margin-left: 2.7em;
    margin-bottom: 20px;
}

textarea[readonly],
select[disabled],
input[readonly] {
    background-color: #F0F0F1 !important;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}
.disabled-color{
    color: rgba(255,255,255,0.1);
}
.text-black{
    color: black;
}

.po_table tr>td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.pagination > li:not(:first-child):not(:last-child) > a {
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 50%;
}
.footer-body {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-body li,
.footer-body li a{
    font-size: 16px;
    color: #82BA5E;
}
