
/* Employee Support Plan Section3 Card Styles */
.employee-support-plan {
    /* container for the whole section, no extra styles needed for now */
}
.esp-title.sec-title {
    /* already styled elsewhere */
}
.esp-subtitle.section4-title {
    /* already styled elsewhere */
}
.esp-card-list {
    /* container for all cards */
}
.esp-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0001;
    padding: 30px;
    display: flex;
    margin-bottom: 20px;
}
.esp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.esp-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.esp-content {
    flex: 1;
    min-width: 0;
}
.esp-card-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 150%;
    text-align: justify;
    color: #3AAFA9;
    margin-bottom: 5px;
}
.esp-card-desc {
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    text-align: justify;
    color: #40474A;
    margin-top: 10px;
}
.esp-card-desc-list {
    /* container for the 5th card's sub-items */
}
.esp-card-desc-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
}
.esp-card-desc-row-title {
    width: 120px;
    min-width: 120px;
    color: #2B7A77;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    text-align: left;
}
.esp-card-desc-row-desc {
    flex: 1;
    margin-left: 10px;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    text-align: justify;
    color: #40474A;
}
.out-block{
    width: 100%;
    padding: 0 10px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.block-setting{
    width: 100%;
    max-width: 1080px;
    min-width: 320px;
    box-sizing: border-box;
}
.countTableUnitR{
    line-height: 12px;font-size: 16px; color: #c3c3c3; margin-top: 10px; margin-bottom: 12px; display: inline-block; float: right; margin-right: 25px;text-align: left;
}

.countTableUnitL{
    line-height: 12px;font-size: 16px; color: #c3c3c3; margin-left: 25px; margin-top: 10px; margin-bottom: 12px; display: inline-block; float: left; text-align: right;
}

.countTableUnitR{
    line-height: 12px;font-size: 16px; color: #c3c3c3; margin-top: 10px; margin-bottom: 12px; display: inline-block; float: right; margin-right: 25px;text-align: left;
}

.countTableUnitL{
    line-height: 12px;font-size: 16px; color: #c3c3c3; margin-left: 25px; margin-top: 10px; margin-bottom: 12px; display: inline-block; float: left; text-align: right;
}

.memoItem{
    display: inline-block;
    position: relative;
    margin: 20px 0;
    vertical-align: top;
}

.memoContent{
    display: inline-block;
    width: calc(100% - 21%);
    height: calc(100% - 20px);
    margin: 10%;
    border-radius: 10px;
    opacity: 0.8;
    color: #40474A;
}


.memoTitle{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    max-height: 100%;
    display: table-cell;
    vertical-align: middle;
}

.memoDesc{
    font-size: 18px;
    height: auto;
    margin: 0 12px;
    text-align: center;
    overflow-y: auto;
    font-weight: normal;
    padding-top: 10px;
}

.memoCircle{
    position: absolute;
    top: 3px;
    left: 3px;
    width: 75px;
    height: 75px;
    border-radius: 100%;
    display: grid;
    align-items: center;
}

.memoCircleText{
    margin: 0 12px;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    font-weight: bold;
}

td:first-child {
    position:sticky;
    left: -1px; /* 首行永遠固定於左 */
    z-index:4;
}
th:first-child {
    position:sticky;
    left: -1px; /* 首行永遠固定於左 */
    z-index:4;
}

.font-h1-size{
    font-size: 24px;
}
.font-h2-size{
    font-size: 20px;
}

.font-h3-size{
    font-size: 18px;
}

.font-p1-size{
    font-size: 16px;
}

.font-p2-size{
    font-size: 14px;
}

.font-w2-size{
    font-size: 22px;
}

.font-w3-size{
    font-size: 20px;
}

.table-sub-title{
    width: 33%;
    height: 40px;
    padding-left: 30px;
    display: inline-block;
    text-align: left;
}

.sec-title {
    font-weight: 700;
    font-size: 38px;
    line-height: 150%;
    color: #3AAFA9;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}
.sec-content{
    width: 100%;
    color: #40474A;
    font-size: 20px;
    letter-spacing: 0.04em;
    line-height: 150%;
    font-weight: 400;
    text-align: left;
}
.yearly-btn{
    width: 100px;
    height: 40px;
    font-weight: bold;
    display: inline-block;
    margin: 10px;
    text-align: center;
    border-radius: 40px;
    background: #3AAFA9;
    color: white;
    line-height: 40px;
    vertical-align: middle;
    cursor: pointer;
}

#yearSpan{
    font-size: 18px;
    font-weight: bold;
}

.yearly-btn.choose{
    background: #264E58;
}

.chart-circle-section{
    width: 47%;display: inline-block;height: 220px;
}
.yearly-select-bar{
    display: none;
    line-height: 14px;
    padding: 10px;
    text-align: left;
    background: #FFFFFF;
    border: 1px solid #3AAFA9;
    border-radius: 40px;
    cursor: pointer;
}

.yearly-click-bar{
    width: 100%;height: 40px;color: #3AAFA9;display: inline-block;margin: 20px;text-align: center;
}

.factory-title{
    width: auto;
    min-width: 150px;
    padding: 20px 0px;
    line-height: 28px;
    vertical-align: text-top;
    color: #3AAFA9;
    display: inline-block;
    text-align: left;
    font-weight: bold;
}

.factory-content{
    width: calc(100% - 170px);line-height: 28px;vertical-align: text-top;display: inline-block;text-align: left;
}

.font-count-size{
    text-align: left;
    display: inline-block;
    line-height: 120%;
    vertical-align: middle;
    width: 50%;
    font-size: 24px;

}

.font-p3-size{
    font-size: 20px;
}

.memoBack{
    background-image: url(../../../img/menu/5/5-4/chevron-left.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.memoNext{
    background-image: url(../../../img/menu/5/5-4/chevron-right.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.infoSelect {
    height: 44px;
    display: inline-block;
    text-align: left;
    color: #3AAFA9;
    vertical-align: top;
    cursor: pointer;
    position: relative;
    /*box-shadow: 1px 3px 4px 0px rgb(0 0 0 / 50%);*/
    padding: 10px 20px;
    border: 1px solid #3AAFA9;
    border-radius: 40px;
    background-color: #FFFFFF;
    margin: 10px 0px;
}

.selectHighLight {
    background-color: #3AAFA9 !important;
}

.selectIcon {
    float: right;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    background: url(../../../img/menu/5/5-2/icon-arrow-down.svg) no-repeat;
}

.arrow-up {
    background: url(../../../img/menu/5/5-2/icon-arrow-up.svg) no-repeat;
}

.select {
    /*position: absolute;*/
    position: relative;
    z-index: 3;
    width: -webkit-fill-available;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid #979797;
    background-color: #ffffff;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    line-height: 40px;
    cursor: pointer;
    height: 28px;
    padding: 3px;
    text-align: center;
    color: #4a4a4a;
    vertical-align: top;


}

.selectOption {
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    line-height: 40px;
    cursor: pointer;
    padding: 3px;
    text-align: center;
    color: #4a4a4a;
    margin-top: 10px;
    width: calc(100% - 20px);
    position: absolute;
    height: auto;
    padding-left: 5px;
    padding-right: 5px;
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.selectOptionItem {
    display: contents;
    line-height: 35px;
    border-radius: 20px;
    outline: 0;
    background-color: #FFFFFF;
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    text-align: left;
    color: #717784;
    height: 35px;
    padding-left: 20px;
}

.selectOptionItem:hover {
    background-color: #EEF8F7;
    border-radius: 6px;
}

.selectIcon-rotate {
    margin-top: -3px;
    margin-right: 5px;
    transform: rotate(180deg);
    transition: all 0.3s;
}


.legendView {
    display: inline-block;
    width: calc(100% - 20px);
    max-width: 700px;
    /*height: 30px;*/
    line-height: 30px;
    padding: 10px 10px 10px 10px;
    border-radius: 30px;
    /*box-shadow: 0 2px 4px 0 rgb(0 0 0 / 50%);*/
    border: solid 1px #ffffff;
    color: black;
    font-size: 15px;
    text-align: center;
    margin: 20px 0px 20px 0px;
    background: white;
}

.legendContent {
    display: inline-block;
    font-size: 16px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
}

.item1Box{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #63C0F5;
    border-radius: 3px;
    display: inline-block;
}

.item2Box{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #008CD8;
    border-radius: 3px;
    display: inline-block;
}

.item3Box{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #3AAFA9;
    border-radius: 3px;
    display: inline-block;
}

.item4Box{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #B8E9E6;
    border-radius: 3px;
    display: inline-block;
}

.item1EmpBox{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #3AAFA9;
    border-radius: 3px;
    display: inline-block;
}

.item2EmpBox{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #B8E9E6;
    border-radius: 3px;
    display: inline-block;
}

.item3EmpBox{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #2B7A77;
    border-radius: 3px;
    display: inline-block;
}

.item4EmpBox{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #BBB2F6;
    border-radius: 3px;
    display: inline-block;
}

.item1BabyBox{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #F4D242;
    border-radius: 3px;
    display: inline-block;
}

.item2BabyBox{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #FFC3D5;
    border-radius: 3px;
    display: inline-block;
}

.item3BabyBox{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #FF99B7;
    border-radius: 3px;
    display: inline-block;
}

.item4BabyBox{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #80E0FF;
    border-radius: 3px;
    display: inline-block;
}

.item5BabyBox{
    vertical-align: middle;
    margin:0 5px;
    width: 18px;
    height: 18px;
    background: #21BAEB;
    border-radius: 3px;
    display: inline-block;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

.mobileGraphScrollBtn {
    position: absolute;
    background-image: url(../../../img/menu/5/5-4/chevron-left-o.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 30%;
    width: 35px;
    height: 35px;
    left: 95px;
    margin-top: -14px;
    border-radius: 50%;
    border: 1px solid #ABABAB;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    display: block;
    z-index: 1;
}

.section3-title {
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.04em;
    margin: 20px 0;
    color: #264E58;
}

.section4-title {
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.04em;
    margin: 20px 0;
    color: #264E58;
}

.greenHouseFormTableScroll {
    top: 60px;
    left: 40px;
    z-index: 15;
    background-image: url(../../../img/menu/5/5-4/chevron-left-o.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 30%;
    width: 30px;
    height: 30px;
    position: sticky;
}

.salaryRadio{
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin: 0;
}

.photo_btn{
    width: 90%;
    height: 40px;
    max-width: 480px;
    /*margin: 20px 25%;*/
    padding: 0px 15px;
    background-color: #3AAFA9;
    color: white;
    text-align: center;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
}

.btnText{
    font-size: 16px;
    margin: 0;
    display: table-cell;
    vertical-align: middle;
    width: 100vh;
    height: inherit;
}

.btnArrow{
    width: 28px;
    height: 28px;
    font-size: 24px;
    margin: 0;
    position: absolute;
    top: 4px;
    right: 10px;
}

.paddingTitle{
    padding: 0 20px;
}

.paddingContent{
    padding-right:20px;
}

.font-p0-size{
    font-size: 24px;
}


input[type='radio'][class='salaryRadio']:after {
    /*background-color: #008CD8 !important;*/
    /*accent-color: #008CD8 !important;*/
}

input[type='radio'][class='salaryRadio']:checked:after {
    background-color: #008CD8 !important;
    accent-color: #008CD8 !important;
}
/*******************Mobile*************************/
@media only screen and (max-width: 800px) {
    .esp-card-title{
        font-size: 16px;
    }

    .out-block{
        padding: 0 10px;
    }

    .font-h1-size{
        font-size: 16px;
    }

    .font-h2-size{
        font-size: 16px;
    }

    .font-h3-size{
        font-size: 14px;
    }

    .font-p1-size{
        font-size: 12px;
    }

    .font-p2-size{
        font-size: 8px;
    }

    .table-sub-title{
        width: 33%;
        height: 40px;
        padding-left: 10px;
        line-height: 20px;
        display: inline-block;
        text-align: left;
        /*word-break: keep-all;*/
    }

    .sec-title {
        font-size: 24px;
    }
    .sec-content{
        font-size: 16px;
    }

    .chart-circle-section{
        width: 100%;display:block;height: 220px;
    }
    .yearly-select-bar{
        display: inline-block;
        line-height: 14px;
        padding: 10px;
        text-align: left;
        background: #FFFFFF;
        border: 1px solid #3AAFA9;
        border-radius: 40px;
        cursor: pointer;
        margin-top: 10px;
        color: #3AAFA9;
        font-weight: bold;
        width: 100%;
    }

    .yearly-click-bar{
        width: 100%;margin: 0;height: 40px;color: #3AAFA9;display: none;margin: 20px;text-align: center;
    }

    .factory-title{
        width: 100%;margin: 0;padding: 0;vertical-align: text-top;color: #3AAFA9;text-align: left;
    }

    .factory-content{
        width: 100%;margin: -12px 0 0 0px;padding: 0px;vertical-align: text-top;text-align: left;
    }

    .section3-title {
        font-size: 20px;
    }

    .section4-title {
        font-size: 20px;
    }

    .legendContent {
        font-size: 14px;
        height: 20px;
        line-height: 20px;
    }

    .item1Box{
        width: 15px;
        height: 15px;
    }
    .item2Box{
        width: 15px;
        height: 15px;
    }
    .item3Box{
        width: 15px;
        height: 15px;
    }
    .item4Box{
        width: 15px;
        height: 15px;
    }

    .item1EmpBox{
        width: 15px;
        height: 15px;
    }
    .item2EmpBox{
        width: 15px;
        height: 15px;
    }
    .item3EmpBox{
        width: 15px;
        height: 15px;
    }
    .item4EmpBox{
        width: 15px;
        height: 15px;
    }

    .item1BabyBox{
        width: 15px;
        height: 15px;
    }
    .item2BabyBox{
        width: 15px;
        height: 15px;
    }
    .item3BabyBox{
        width: 15px;
        height: 15px;
    }
    .item4BabyBox{
        width: 15px;
        height: 15px;
    }
    .item5BabyBox{
        width: 15px;
        height: 15px;
    }

    .paddingTitle{
        padding: 0 10px;
    }

    .countTableUnitR{
        line-height: 18px;
        font-size: 16px;
        color: #c3c3c3;
        top: 22px;
        right: -5px;
        text-align: left;
        position: absolute;
    }

    .countTableUnitL{
        line-height: 12px;
        font-size: 16px;
        color: #c3c3c3;
        text-align: left;
        position: absolute;
        top: 20px;
        left: 12px;
        line-height: 120%;
    }

    .btnArrow{
        width: 28px;
        height: 28px;
        font-size: 20px;
        margin: 0;
        position: absolute;
        top: 8px;
        right: 10px;
    }

    .font-p0-size{
        font-size: 16px;
    }

    .font-p3-size{
        font-size: 16px;
    }

    .paddingContent{
        padding-right: 10px;
    }

    .countTableUnitR{
        line-height: 18px;
        font-size: 16px;
        color: #c3c3c3;
        top: 22px;
        right: -5px;
        text-align: left;
        position: absolute;
    }

    .countTableUnitL{
        line-height: 12px;
        font-size: 16px;
        color: #c3c3c3;
        text-align: left;
        position: absolute;
        top: 20px;
        left: 12px;
        line-height: 120%;
    }

    .memoItem{
        margin: 20px 0 0 0;
    }
    .memoContent{
        height: auto;
    }


    .font-w2-size{
        font-size: 16px;
    }
    .font-w3-size{
        font-size: 16px;
    }
    .esp-icon img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
.esp-card-desc-row {
        flex-direction: column;
        align-items: stretch;
    }
    .esp-card-desc-row-title {
        width: 100%;
        min-width: 0;
        margin-bottom: 2px;
        text-align: left;
    }
    .esp-card-desc-row-desc {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
}

