.btn-outline-primary {
    border-color: #005853;
    color: #005853;
}


.teamArea .title {
    font-family: 'Times New Roman';
    margin-bottom: 2rem;

}

.teamArea .title span {
    font-size: 1.2rem;
    padding-left: 1rem;
}



.p1 {
    padding-left: 10%;
}

.p1 .contentBox {
    background-color: #fff;


}

.p1 .contentBox .Txt {
    padding: 5% 10%;
}



.p1 .contentBox .Txt .title:after {
    content: '';
    width: 50px;
    height: 2px;
    display: block;
    background-color: #fbb03b;
    margin-top: 2%;
    margin-bottom: 15%;

}

.p1 .contentBox .Txt .text h4 {
    /*font-family: 'Noto Serif TC', serif;*/
    margin-bottom: 1.5rem;

}

.p1 .contentBox .Txt .text h4 span {
    position: absolute;
    right: 0;
    font-family: 'Noto Serif TC', serif;

    bottom: 0;

}

.p1 .contentBox .Txt .text h4 span b {
    font-size: 10px;
    padding-left: 1rem;
    font-weight: normal;
}

.p1 .contentBox .Img .innerImg {
    height: 100%;
    /* padding-top: 0; */
}

.p1 .contentBox .Img .innerImg .image {
    /* background-attachment: fixed; */
}

.p1 .contentBox .Img .innerImg .image:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    /* background-color: rgba(0 0 0 /50%); */
}





/*MasterArea*/


.MasterArea {
    padding: 5% 0;
    background-color: #f2f2f2;
    padding-bottom: 20%;
}

.MasterList .item {
    margin-bottom: 15%;

}

.MasterList .Img {
    z-index: 10;
    padding: 0;
}

.MasterList .Img .innerImg {
    padding-top: 140%;
    height: 100%;

}

.MasterList .Txt {
    padding: 5%;
    padding-left: 10%;
    transform: translateX(-10%) translateY(10%);
    background-color: #b3b3b3;
}

.MasterList .Txt .titleBox {
    /*font-family: 'Noto Serif TC', serif;*/
    margin-bottom: 2rem;

}

.MasterList .Txt .titleBox span {
    display: block;
    font-size: 1rem;
    line-height: 2;
    font-family: 'Noto Sans TC', sans-serif;


}

.MasterList .Txt p {
    line-height: 2;
}

/*---nth-child(odd)---*/
.MasterList .item:nth-child(odd)>.row {
    flex-direction: row-reverse;
}

.MasterList .item:nth-child(odd) .Txt {
    transform: none;
    padding: 5%;
    padding-right: 10%;
    z-index: 10;
}

.MasterList .item:nth-child(odd) .Img {

    transform: translateX(-10%) translateY(10%);

}

.MasterList .item:nth-child(odd) .Txt,
.MasterList .item:nth-child(even) .Img .innerImg {

    box-shadow: 10px 10px 12px rgb(0 0 0 / 19%);

}

.moreInfo {
    position: absolute;
    z-index: 20;
    right: 20px;
    top: 20px;
    color: #005853;
    width: 30px;
    height: 30px;
    margin: 0;
    text-align: center;
    border: 1px solid #005853;
    border-radius: 50%;
    transition: all 0.5s;

}

.moreInfo:before {
    content: "i";
    line-height: 30px;
}

.moreInfo:after {
    content: '網站連結';
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;


}

.moreInfo:hover {
    background-color: #005853;
    color: #fff;
    transition: all 0.5s;
}



.MasterArea .bottom {
    padding-top: 30%;
    align-items: flex-end;
}




.compName {
    font-size: 1.2rem;
}

.compName span {
    font-size: 10px;
    display: block;
    line-height: 2;
    opacity: 0.6;
}

.compName .jobTitle {
    font-weight: normal;
}

.masterName {
    text-align: right;
    font-family: 'Noto Serif TC', serif;

}

.masterName .Name_EN {
    display: block;
    font-size: 10px;
}


.masterInfo .top {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.masterInfo .masterName {
    text-align: left;
    bottom: 0;
    width: 100%;
}


.masterInfo .masterName .jobTitle {
    font-size: 10px;
    letter-spacing: 2px;
    line-height: 2;
    opacity: 0.5;
}

.masterInfo .compName {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
    font-size: 1rem;
    letter-spacing: 2px;
}

.masterInfo .compName span {
    line-height: 1;
    text-transform: capitalize;
    letter-spacing: 0;
}

.caseList .item {
    display: block;
    margin-bottom: 15px;
}

.caseList .item .year {
    position: absolute;
    left: 0;
    top: 0;

}

.caseList .yearList {
    border-left: 2px solid #015953;
    padding-left: 10px;
    margin-left: 2.5rem;
}



@media(max-width: 991px) {
    .p1 .contentBox .Txt .text h4 span{
        position: relative;
        margin-top: 1rem;
        display: block;
    }

    .p1 .contentBox .Txt .text h4 span b{
            padding-left: 0;
            display: block;

    }


    .masterInfo .compName {
        position: relative;
        text-align: left;
    }

    .fancybox-content {

        padding: 40px 10px !important;
    }

    .MasterList .item:nth-child(odd) .Img,
    .MasterList .Txt {
        transform: none;
    }

    .MasterList .Img .innerImg {
        padding-top: 90%;
    }

    .MasterArea .bottom {
        padding-top: 10%;
    }

    .MasterList .item:nth-child(odd) .Txt,
    .MasterList .item:nth-child(even) .Img .innerImg {
        box-shadow: none;
    }

    .MasterList .Txt {
        padding: 5%;
    }
}