
body{
    height: 100vh;
}
body .form-control {
    border-radius: 5px;
    height: auto;
    border: 1px solid #0b579f;
    border-radius: 0;
    width: 172px;
    padding: 6px 12px;
}

#main {
    padding: 0px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* #main_mb {
    padding: 60px 0px;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#main_mb2 {
    padding: 60px 0px;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
} */


#top {
    position: absolute;
    top: 0px;
    width: 100%;
    background: url(../img/NMMST_Zone_top.png);
    height: 38px;
    z-index: 50;
}

#bottom {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background: url(../img/NMMST_Zone_bottom.png);
    height: 35px;
    z-index: 50;

}

#search {
    position: absolute;
    top: 5px;
    left: 20px;
    /* width: 260px; */
    padding: 35px 35px;
    /* background-color: #ffffffdb;
    box-shadow: 5px 5px 5px #00000096; */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
}
#search h1{
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 22px;
}
#search h2{
    margin-top: 2.5rem;
    font-size: 21.5px;
    color: #0b579f;
}
#search img {
    width: 100%;
    max-width: 100px;
}

@media(max-width:768px) {
    #search {
        position: relative;
        margin: 40px auto;
        top:0px;
        left: 0px;
    }

    #main {
        height: auto;
        margin: 40px 0px;
    }

}


#main div,
#main_mb div,
#main_mb2 div {
    background: url(../img/zone_pc.png);
    display: flex !important;
    align-items: center !important;
    background-size: contain !important;
    background-position: bottom !important;
    background-repeat: no-repeat !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
}

#main img,
#main_mb img,
#main_mb2 img {
    opacity: 1e-10;
    padding: 0px;
    border: 0px;
    position: initial !important;
    width: 100% !important;
    height: auto;
    max-width: 100%;
}


ul {
    /* 取消ul預設的內縮及樣式 */
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  ul.drop-down-menu {
    /* border: #ccc 1px solid; */
    /* display: inline-block; */
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 0 8px 2px rgba(41,48,123,.15);
  }
  
  ul.drop-down-menu li {
    position: relative;
    white-space: nowrap;
    border-right: #ccc 1px solid;
    border-bottom: #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: rgba(250, 250, 250, 0.9);
    /* text-shadow: rgba(0, 0, 0, 0.8) 1px 0 1px; */
    color: #494949;
    display: block;
    padding: 0 30px;
    text-decoration: none;
    line-height: 45px;
    font-size: 17px;
  }
  
  ul.drop-down-menu a:hover {
    /* 滑鼠滑入按鈕變色*/
background: #54CB11;
color: rgb(255, 255, 255);
text-shadow: rgba(0, 0, 0, 0.6) 1px 0 1px;
  }
  
  ul.drop-down-menu li:hover>a {
    /* 滑鼠移入次選單上層按鈕保持變色*/
background: #54CB11;
    color: rgb(255, 255, 255);
    text-shadow: rgba(0, 0, 0, 0.6) 1px 0 1px;
  }
  
  ul.drop-down-menu ul {
    border: #ccc 1px solid;
    position: absolute;
    z-index: 99;
    left: -1px;
    top: 100%;
    min-width: 160px;
  }
  
  ul.drop-down-menu ul li {
    border-bottom: #ccc 1px solid;
  }
  
  ul.drop-down-menu ul li:last-child {
    border-bottom: none;
  }
  
  ul.drop-down-menu ul ul {
    /*第三層以後的選單出現位置與第二層不同*/
    z-index: 999;
    top: 0;
    left: 100%;
  }
  
  ul.drop-down-menu ul {
    /*隱藏次選單*/
    display: none;
  }
  
  ul.drop-down-menu li:hover>ul {
    /* 滑鼠滑入展開次選單*/
    display: block;
  }