:root {
    --title-color: #005bab;
    --calc-item-title: #3366cc;
    
    /* Blue */
    --calc-button-color: #014e92;
    --calc-label-color: #3366cc;
    
    /* Green */
    /* --calc-label-color: #14ba2f;  */
    /* --calc-button-color: #006633; */
}

h1 strong {
    color: var(--title-color);
}

body {
    /* margin: 0; */
}

.PageContent {
    font-size: 12px;
    
    font-family: 微軟正黑體, Verdana, Arial, Helvetica, "sans-serif，細明體";
    
}

.calc__wrapper {
    width: 800px;
    margin: 0 auto;
}

.PageContent h4 {
    padding: 15px 10px;
    background: #eee;
    position: relative;
    z-index: -1;
    clear: left;
}

.PageContent.edit {
    margin: 0;
    width: 100%;
}

.calc__container {
    padding-left: 15px;
    padding-right: 15px;
}

h4, h5 {
    font-size: 1.4em;
    margin-bottom: 0.5em;
    /* color: rgb(21, 152, 0); */
    /* color: var(--title-color); */
    line-height: 1.5em;
    font-family: 微軟正黑體, Tahoma, Arial, sans-serif;
    font-weight: bold;
    margin-top: 0px;
    padding: 0px;
}

.calc__item {
    display: inline-block;
    width: 45%;
    min-width: 300px;
    margin-right: 2em;

    vertical-align: top;
}

.calc__item-title {
    margin-bottom: 0;
    color: var(--calc-item-title);
    font-weight: bold;
    text-align-last: left;
    font-size: 12px;
}

.calc__item-title-input {
    width: 60px;
    min-height: 14px;


    border: 1px solid #efefef;
    background: #efefef;
    
    color: #3366cc;
    font-weight: bold;
    text-align: center;
}

.calc__button-panel {
    width: 100%;
    margin-top: 5px;
}

.calc__button {
    background: var(--calc-button-color);
    border: none;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 5px 8px;
    cursor: pointer;
}

.input__title {
    padding: 0;
    margin-bottom: 0 !important;
    
    text-align-last: left;
}

.calc__item-title-wrapper,
.input__title-wrapper,
.input__line,
.calc__select-wrapper,
.calc__select {
    width: 100%;
}

.calc__input-wrapper,
.calc__subselect-input-label {
    display: inline-block;
}

.calc__input-label-wrapper {
    display: inline-block;
    width: 155px;
}

.calc__input-label {
    color: var(--calc-label-color);
    font-weight: bold;
}

.formRow {
    display: block;
}

@media (max-width: 1032px) {
    .calc__item {
        display: block;
        margin: 0 auto !important;
    }

    .calc__wrapper {
        max-width: 100vw;
    }

    h1 strong {
        margin-left: 10px;
        font-size: 18px;
    }

    h5 {
        padding: 0 10px;
    }

    .calc__item-title-input {
        width: 30px !important;
    }

    .calc__item-title-symbol {
        display: none;
    }

    .input__title {
        margin-top: 10px;
    }

}