div{
/*  border: solid 1px;*/
}

a {
  color: #545454;
  font-weight: bold;
  text-decoration:none;

}

h1{
    font-weight: bold;
    font-size: 3rem;
    color: #6EC8D0;
    padding-bottom: 1rem;
    text-align: center;
}
@media(max-width: 1280px){
    h1{
        font-weight: bold;
        font-size: 1rem;
        color: #6EC8D0;
        padding-bottom: 1rem;
        text-align: center;
    }
}

h2{
    font-weight: bold;
    font-size: 2rem;
    color: #6C6C6C;
    padding-bottom: 1rem;
    padding-left: 5rem;
    line-height: 5rem;
}
@media(max-width: 1280px){
    h2{
        font-size: 1rem;
        padding-bottom: 0rem;
        padding-left: 0rem;
        line-height: 2rem;
        text-align: center;
        }
    }

h3{
    font-weight: bold;
    font-size: 1rem;
    color: #6C6C6C;
    padding-bottom: 1rem;
    line-height: 1.5rem;
}
@media(max-width: 1280px){
    h3{
        padding-bottom: 0;
    }
}

p{
    line-height: 1.5rem;
    font-size: 1rem;
}

@media(max-width: 1280px){
    p{
        font-size: 1rem;
    }
}
.imgBox{
    background-size: cover;
    background-position: center;
    opacity:1.0;
    filter:alpha(opacity=100); 
}
.imgBox:hover
{
    opacity:0.5;
    filter:alpha(opacity=50); 
}

.wrapper{
    width: 100%;
    height: 100%;
}
.container{
    width: 100%;
}

/* 頁首 */
.container-top div{display: inline-block;}
.container-top {
    height: 90px;
    width: 100%;
    position: fixed;
    top: 5px;
}

.logo{
    width: 97px;
    height: 77px;
    margin-left: 2rem;
}
@media(max-width: 1280px){
    .logo{
        width: 3rem;
        height: 2rem;
        margin-left: 1rem;
        margin-right: 3rem;
    }
}
/*右側按鈕欄*/
.container-right{
    float: right;
    height: 90px;
    margin-right: 20px;
}
@media(max-width:1280px){
    .container-right{
        height: 45px;
        margin-right: 0;
        float: none;
    }
}
.memberBox, .social_media{
    position: relative;
    line-height: 90px;
    margin-right: 20px;
}
@media(max-width: 1280px){
    .memberBox, .social_media{
        position: relative;
        line-height: 45px;
        margin-right: 5px;
    }
}

.memberBox{
    margin-right: 50px;
}
@media(max-width: 1280px){
    .memberBox{
        margin-right: 1.5rem;
    }
}
.cart ,.memberCenter{
    width: 1.8vw;
    height: 1.8vw;
    margin-right: 1.5rem;
}
@media(max-width: 1280px){
    .cart , .memberCenter{
        width: 1rem;
        height: 1rem;
        margin-right: 0;
    }
}
@media(max-width: 1280px){
    .sign{
        font-size: 1rem;
    }
}
.facebook, .instagram , .line{
    width: 2vw;
    height: 2vw;
    margin-right: 1.5rem;
}
@media(max-width: 1280px){
    .facebook, .instagram , .line{
        width: 1rem;
        height: 1rem;
        margin-right: 0;
    }
}

/* 導覽列 */
.navBar{
    position: fixed;
    top: 90px;
    width: 100%;
}
@media(max-width: 1280px){
    .navBar{
        top: 46px;
    }
}

.drop-down-menu {
    padding-left: 3.5rem;
}
@media(max-width: 1280px){
    .drop-down-menu {
        padding-left: 5px;
        }
}
 ul { /* 取消ul預設的內縮及樣式 */
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.drop-down-menu {
    display: inline-block;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.2rem;
}
@media(max-width: 1280px){
    ul.drop-down-menu{
        font-size: 3.1vw;
    }
}

ul.drop-down-menu li {
    position: relative;
    white-space: nowrap;
    border-right: #ccc 1px solid;
}

ul.drop-down-menu > li:last-child {
    border-right: none;
}

ul.drop-down-menu > li {
    float: left; /* 只有第一層是靠左對齊*/
}

 ul.drop-down-menu a {
    background-color: #fff;
    color: #333;
    display: block;
    padding: 0 30px;
    text-decoration: none;
    line-height: 40px;
}
@media(max-width: 1280px){
    ul.drop-down-menu a{
        padding: 0 2.5px;
        line-height: 10px;
    }
}
ul.drop-down-menu a:hover { /* 滑鼠滑入按鈕變色*/
    background-color: #ADADAD;
    color: #fff;
}
ul.drop-down-menu li:hover > a { /* 滑鼠移入次選單上層按鈕保持變色*/
    background-color: #ADADAD;
    color: #fff;
}
ul.drop-down-menu ul {
    border: #ccc 1px solid;
    position: absolute;
    z-index: 99;
    left: -1px;
    top: 100%;
    min-width: 180px;
}
@media(max-width: 1280px){
    ul.drop-down-menu ul{
        min-width: 50px;
    }   
}

ul.drop-down-menu ul li {
    border-bottom: #ccc 1px solid;
}
@media(max-width: 1280px){
    ul.drop-down-menu ul li {
        border-bottom: #fff 1px solid;
        padding: 5px 0;
        background-color: white;
    }  
}


ul.drop-down-menu ul li:last-child {
    border-bottom: none;
}

ul.drop-down-menu ul ul { /*第三層以後的選單出現位置與第二層不同*/
    z-index: 999;
    top: 10px;
    left: 90%;
}

ul.drop-down-menu ul { /*隱藏次選單*/
    display: none;
}

ul.drop-down-menu li:hover > ul { /* 滑鼠滑入展開次選單*/
    display: block;
}
ul.drop-down-menu ul { /*隱藏次選單*/
    left: 99999px;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

ul.drop-down-menu li:hover > ul { /* 滑鼠滑入展開次選單*/
    opacity: 1;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    left: -1px;
    border-right: 5px;
}

ul.drop-down-menu li:hover > ul ul { /* 滑鼠滑入之後、次選單之後的選單依舊隱藏*/
    left: 99999px;
}

ul.drop-down-menu ul li:hover > ul { /* 第二層之後的選單展開位置*/
    left: 90%;
}

/*頁首背景色*/
.nabBarBgc{
    width: 100%;
    height: 130px;
    background-color: white;
    position: fixed;
    top: 0;
}
@media(max-width: 1280px){
    .nabBarBgc{
        height: 50px;
    }
}

/* 頁中段落 */
.banner{
    margin-top: 130px;
    margin-bottom: 30px;
    width: 100%;
    height: 30vw;
}
@media(max-width: 1280px){
    .banner{
        margin-top: 5rem;
        margin-bottom: 10vw;
    }
}
.marginBox{
    margin-top: 20rem;
}
@media(max-width: 1280px){
    .marginBox{
        margin-top: 25vw;
    }
}
/*介紹文*/
.className{
    font-weight: bold;
    font-size: 2.5rem;
    color: #6EC8D0;
    padding-bottom: 2rem;
    text-align: center;
}
@media(max-width:1280px){
    .className{
        font-size: 1.5rem;
        padding-bottom: 1.5rem;
    }
}
.textBox{
    margin: 0 auto;
    margin-bottom: 30px;
    padding-left: 7rem;
    padding-right: 5rem;
    word-wrap:break-word;
}
@media(max-width: 1280px){
    .textBox{
        margin: 0 auto;
        margin-bottom: 30px;
        padding-left: 0;
        padding-right: 0;
        width: 90%;
    }
}
.textCenter_outside{
  width: 100wv;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*團隊介紹*/
.teamName{
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 2rem;
}
@media(max-width: 1280px){
    .teamName{
        font-size: 1rem;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }
}
.teamBox{
    width: 70%;
    margin: 0 auto;
    margin-bottom: 5rem;
}
@media(max-width: 1280px){
    .teamBox{
        width: 90%;
        margin-bottom: 3rem;
    }
}
.teamImgBox{
    width: 50vw;
    margin: 0 auto;
}
@media(max-width: 1280px){
    .teamImgBox{
        width: 100%;
    }
}
.teamImg{
    height: 25rem;
    width: 20rem;
    border-radius: 5px;
    display: inline-block;
    margin-right: 10px;
    margin-left: 10px;
}
@media(max-width: 1280px){
    .teamImg{
        margin-right: 0;
        margin-left: 0;
    }
}
.teamTextBox{
    height: 25rem;
    width: 35rem;
    display: inline-block;
    padding-left: 1rem;
}
.teamTextBox h2{
    padding-left: 0;
}

/*聯絡我們*/
.link{
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}
@media(max-width: 1280px){
    .link{
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-size: 1rem;
    }
}

/*課程分類*/
.courseBox{
    text-align: center;
    display: block;
    margin-bottom: 30px;
}
.courseBox li{
    margin: 0 auto;
    display: inline-block;
}
.courseImg{
    height: 11rem;
    width: 15rem;
    border-radius: 20px;
    margin-right: 1rem;
}
@media(max-width: 1280px){
    .courseImg{
        height: 9rem;
        width: 15rem;
        border-radius: 20px;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
.arrowBtn{
    float: right;
}
.arrowBtnImg{
    margin-top: 80px;
    width: 3rem;
    height: 3rem;
    background-color: black;
    border-radius: 25px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
}
/*自由潛水課程*/
.courseBox-freediving{
    margin-top: 6rem;
}
.courseBox-mermaid, .courseBox-dancePhotography, .courseBox-event{
    margin-top: 6rem;
    }


/*Q&A*/
.textBox{
    margin-top: 6rem;
}
@media(max-width: 1280px){
    .textBox{
        margin-top: 0rem;
    }
}
/*報名按鈕*/
.applyBtn{
    background-color: #6AD1DB;
    border: 0;
    border-radius: 5px;
    margin: 0 auto;
    margin-top: 5rem;
    width: 14rem;
    height: 3rem;
    line-height: 3rem;
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
}
/*頁尾*/
.buttom{
    width: 100%;
    height: 20rem;
    margin-top: 10rem;
}