:root {
    --info-color: #0181EE;
    --success-color: #03A61C;
    --warning-color: #F29F05;
    --danger-color: #E53120;
}
/* 
html,
body {
    position: relative;
    min-height: 100vh !important;
    height: 100%;
    width: 100%;
    font-size: 14px;
    background-color: #fff;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
}

.sc-bnr {
    min-height: 200px;
    background-image: url(/images/sc_bnr_bg.jpeg);
    background-position: center;
    background-size: cover;
    padding-top: 50px;
    text-align: center;
    position: relative;
}

main.container {
    flex-grow: 1;
}

.vertical-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



input[type="file"] {
    display: block;
    position: relative;
    width: auto;
    height: auto;
    margin: 5px 0 10px;
}

::-webkit-file-upload-button {
    background: #fff;
    color: #2250ac;
    border: 1px solid #2250ac;
    border-radius: 3px;
    padding: 6px 12px;
    margin-right: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

::-webkit-file-upload-button:hover {
    background: #ecf3ff;
}

.primary-btn {
    font-size: 14px;
    min-width: 160px;
    padding: 8px !important;
}

.help-block.error-msg {
    display: none;
    visibility:hidden;
}

.has-error .form-control {
    border-color: #f34747;
}

.has-error .form-control:focus {
    border-color: #f34747;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 6px #F59C9F;
}

.has-error .help-block {
    display: block;
    color: #f34747;
    visibility: visible;
}

.has-error .help-block.file-error-msg {
    display: block;
    color: #737373;
}

.has-error .help-block.file-error-msg .f-error {
    display: block;
    color: #f34747 !important;
}

#top-nav,
.sc-bnr,
main.container,
.footer {
    flex-shrink: 0;
}

.file-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 16px;
    margin: 6px 0;
    flex-wrap: wrap;
}

.file-item-name {
    width: 70%;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.file-item-size {
    color: #737373;
    flex: 0 0 auto;
    margin-left: auto;
}

.file-item-del {
    border: none;
    background: none;
    color: #737373;
    margin-left: 10px;
    transition: all 0.2s ease-in-out;
}

.file-item-del:hover {
    color: #2250ac;
    border: none;
    background-color: transparent;
}

.file-item.has-error {
    border: 1px solid #f34747;
}

.file-item.has-error .file-item-size {
    color: #f34747;
}

.footer {
    依現行版本的css為主，以下設定只是範例參考
    width: 100%;
    height: 200px;
    background-color: grey;
    margin-top: 40px;
    padding: 20px;
    margin-top: 40px;
}

.d-align-center {
    display: flex;
    padding-top: 50px;
}

@media (max-width: 767px) {
    .vertical-middle {
        width: 100%;
    }
    .d-align-center {
        display: inline-block;
    }
    .d-align-center div:first-child {
        text-align: center;
    }
}

.cus-link-style {
    color: #2250ac;
}

label {
    text-align: left;
}

.cus-link-style:hover,
.cus-link-style:focus {
    color: #2250ac;
    text-decoration: underline;
}

.loader {
    display: flex;
    align-items: center;
    margin: auto;
    justify-content: center;
}

.loader::before {
    margin-right: 5px;
    background-image: url('/images/spin-loading-white.gif');
    background-size: 18px 18px;
    display: inline-block;
    width: 18px;
    height: 18px;
    content: "";
} */


/* alert */
.alert-info {
    padding: 12px 20px;
    background-color: #ecf3ff;
    color: #2250ac;
    border-radius: 5px;
    margin: 24px 0;
}

.alert-new {
    /* display: flex; */
    /* flex-direction: row; */
    /* align-items: unset; */
    padding: 10px 16px;
    position: fixed;
    top: 66px;
    z-index: 10000;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 540px;
    width: calc(100% - 30px);
    background: #fff !important;
    border-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .15);
}

.alert-new .close {
    line-height: 0.8;
    font-size: 18px;
}

.alert-new .alert-content {
    color: #333 !important;
    font-size: 16px;
    margin: 0px 0 0;
    line-height: 20px;
}

.alert-new.alert-info-new {
    color: var(--info-color);
    border-left: 4px solid var(--info-color);
}

.alert-new.alert-success-new {
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-new.alert-warning-new {
    color: var(--warning-color);
    border-left: 4px solid var(--warning-color);
}

.alert-new.alert-danger-new {
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert-btn {
    margin-top: 8px;
}

.alert-btn a {
    display: inline-block;
    color: var(--main-color);
    font-weight: bold;
    padding: 4px 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    white-space: nowrap;
    transition: .3s;
}

.alert-btn a:hover {
    background-color: #ecf3ff;
    text-decoration: none;
}

.opendatepicker {
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    line-height: normal !important;
}

.opendatepicker::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

/**/
/* .path,
h2 {
	color: #333 !important;
}

h2 {
	font-size: 30px !important;
}

label, input, button, select, textarea.form-control {
    font-size: 14px;
    font-weight:700 !important;
}

img.IconMenuRenameFill {
  width: 30px;
  height: 30px;
  margin: 30px 30px 30px 29px;
  object-fit: contain;
} */