
.IMGnoSelect{
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bg_1{
    background-image: url('../images/m3s4/bg.jpg');
    background-repeat:no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
    margin-bottom: -4%;
}

a{
    color: white;
}

a:hover{
    color: white;
    font-weight: bold;
}


/*RWD 左右兩邊 START*/

#right{
    margin-left: 2%;
}

@media only screen and (min-width: 614px) and (max-width: 991px) {

    #left{
        margin: 2% 0;
    }

    #right{
        margin: 2% 0;
    }

}

@media only screen and (min-width: 390px) and (max-width: 613px) {

    #left{
        margin: 20% auto;
    }

    #right{
        margin: 20% auto;
    }

    h3{
        font-size: 1.8rem !important;
        line-height: 2rem!important;
    }

}

@media only screen and (min-width: 320px) and (max-width: 389px) {

    #left{
        margin: 40% auto 55% auto;
    }

    #right{
        margin: 55% auto 30% auto;
    }

    h3{
        font-size: 1.8rem !important;
        line-height: 2rem!important;
    }

}

@media only screen and (max-width: 319px) {
    #left{
        margin: 70% auto 80% auto;
    }
    #right{
        margin: 80% auto 40% auto;
    }
    h3{
        font-size: 1.8rem !important;
        line-height: 2rem!important;
    }
}
/*RWD 左右兩邊 END*/

/*RWD 兩個綠框部分 START*/
@media only screen and (min-width: 1401px) {
    .text-blue-left{
        position: absolute; bottom: 5%; left: 0%; width: 90%; padding: 2rem 3rem;
        /*background-color: rgba(0,155,209,0.8); */
        /*background: linear-gradient(-45deg, transparent 25px, rgba(0,155,209,0.8) 0);*/

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);

    }
    .text-blue-left p{
        line-height: 180%!important; font-weight: bold;
    }
    .text-blue-right{
        position: absolute; bottom: 5%; left: 0%; width: 90%; padding: 2rem 3rem;
        /*background-color: rgba(0,155,209,0.8); */
        /*background: linear-gradient(-45deg, transparent 25px, rgba(0,155,209,0.8) 0);*/

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);
    }
    .text-blue-right p{
        line-height: 180%!important; font-weight: bold;
    }

}


@media only screen and (min-width: 1401px)and (max-width: 1800px) {
    .text-blue-left{
        position: absolute; bottom: 5%; left: 0%; width: 100%; padding: 2rem 3rem;
        /*background-color: rgba(0,155,209,0.8); */
        /*background: linear-gradient(-45deg, transparent 25px, rgba(0,155,209,0.8) 0);*/

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);

    }
    .text-blue-left p{
        line-height: 3rem!important; font-weight: bold;
    }
    .text-blue-right{
        position: absolute; bottom: 5%; left: 0%; width: 100%; padding: 2rem 3rem;
        /*background-color: rgba(0,155,209,0.8); */
        /*background: linear-gradient(-45deg, transparent 25px, rgba(0,155,209,0.8) 0);*/

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);
    }
    .text-blue-right p{
        line-height: 2.5rem!important; font-weight: bold;
    }
}

@media only screen and (min-width: 1215px)and (max-width: 1400px) {
    .text-blue-left{
        position: absolute; bottom: 5%; left: 0%; width: 100%; padding: 2rem 3rem;
        /*background-color: rgba(0,155,209,0.8); */
        /*background: linear-gradient(-45deg, transparent 25px, rgba(0,155,209,0.8) 0);*/

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);

    }
    .text-blue-left p{
        line-height: 2.2rem!important; font-weight: bold;
    }
    .text-blue-right{
        position: absolute; bottom: 2%; left: 0%; width: 100%; padding: 2rem 3rem;
        /*background-color: rgba(0,155,209,0.8); */
        /*background: linear-gradient(-45deg, transparent 25px, rgba(0,155,209,0.8) 0);*/

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);
    }
    .text-blue-right p{
        line-height: 2rem!important; font-weight: bold;
    }
}

@media only screen and (min-width: 992px)and (max-width: 1214px) {
    .text-blue-left{
        position: absolute; bottom: 0%; left: 0%; width: 100%; padding: 1rem 2rem;
        /*background-color: rgba(0,155,209,0.8); */
        /*background: linear-gradient(-45deg, transparent 25px, rgba(0,155,209,0.8) 0);*/
        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);

    }
    .text-blue-left p{
        line-height: 2rem!important; font-weight: bold;
    }
    .text-blue-right{
        position: absolute; bottom: 0%; left: 0%; width: 100%; padding: 1rem 2rem;
        /*background-color: rgba(0,155,209,0.8); */
        /*background: linear-gradient(-45deg, transparent 25px, rgba(0,155,209,0.8) 0);*/
        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);
    }
    .text-blue-right p{
        line-height: 2rem!important; font-weight: bold;
    }
}

@media only screen and (min-width: 769px) and (max-width: 991px) {
    .text-blue-left{
        position: absolute; bottom: 5%; left: 0%; width: 100%; padding: 2rem 3rem;

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);

    }

    .text-blue-left p{
        line-height: 2.2rem!important; font-weight: bold;
    }

    .text-blue-right{
        position: absolute; bottom: 5%; left: 0%; width: 100%; padding: 2rem 3rem;

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);
    }

    .text-blue-right p{
        line-height: 2.2rem!important; font-weight: bold;
    }

}

@media only screen and (min-width: 614px) and (max-width: 768px) {
    .text-blue-left{
        position: absolute; bottom: 5%; left: 20%; width: 60%; padding: 2rem 3rem;

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);

    }

    .text-blue-left p{
        line-height: 2.2rem!important; font-weight: bold;
    }

    .text-blue-right{
        position: absolute; bottom: 5%; left: 20%; width: 60%; padding: 2rem 3rem;

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);
    }

    .text-blue-right p{
        line-height: 2.2rem!important; font-weight: bold;
    }

}

@media only screen and (max-width: 613px) {
    .text-blue-left{
        position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem 3rem;

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);

    }

    .text-blue-left p{
        line-height: 1.8rem!important; font-weight: bold;
    }

    .text-blue-right{
        position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem 3rem;

        background-color: rgba(30,170,57,0.8);
        background: linear-gradient(-45deg, transparent 25px, rgba(30,170,57,0.8) 0);
    }

    .text-blue-right p{
        line-height: 1.8rem!important; font-weight: bold;
    }

}

/*RWD 兩個綠框部分 END*/

/*RWD 上方banner部分 START*/

header{
    padding: 2% 0;
}

@media only screen and (min-width: 992px) and (max-width: 1213px) {

    header{
        padding: 8% 0 3% 0;
        height: auto;
    }


}
@media only screen and (min-width: 899px) and (max-width: 991px) {
    header{
        padding: 12% 0 5% 0;
        height: auto;
    }
}

@media only screen and (min-width: 784px) and (max-width: 898px) {
    header{
        padding: 22% 0 5% 0;
        height: auto;
    }
}

@media only screen and (min-width: 768px) and (max-width: 783px) {
    header{
        padding: 27% 0 5% 0;
        height: auto;
    }
}


/*RWD 上方banner部分 END*/




