.footer{
  height: 50px;
}

.container_banner{
  width: 100%;
}

.navbar{
  /* width: 1920px; */
  height: auto;
}



/* media */


.btn-group, .btn-group-vertical {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  flex-direction: column;
}

.card1{
  position: relative;
    /* width: 420px; */
    height: 500px;
    margin-top: 5px;
}

.card1 img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  /* outline: 1px solid #000; */
}

.card{
  position: relative;
    /* width: 420px; */
    height: 350px;
    margin-top: 18px;
}

.card img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;

  /* outline: 1px solid #000; */
}

.card img:hover{
  transform: scale(1.5);
  /* display: block; */
  position: absolute;
  z-index:1;
}

a.btn.btn-primary {
  color: #000;
  background-color: #fff;
  border-color: #627b8c;
  /* font-weight: bolder; */
  letter-spacing:5px;
  font-family: sans-serif;
}


  a.btn.btn-primary:hover {
    color: #fff;
    background-color: #3c637d;
    border-color: #3c637d;
}


img.card-img-top {
  width: 100%;
}

.media_container{
    width: 100%;
    height: 400px;
}

.card-body{
    margin-bottom: 20px;
}

div.col-lg-4.d-none.d-lg-block{
  margin-bottom: 3%;
}

h5.card-title{
  font-family: sans-serif;
  font-weight: bolder;
  font-size: large;

}


/* index */
.index_container{
    margin-top: 30px;
    margin-bottom: 30px;
}

.index_container.col-1 {
    background-color: rgb(255, 255, 255);
    height: auto;
    width: 100%;
    float: left;
    padding-right: 10%;
    padding-left: 10%;
    text-align: left;
    font-family: sans-serif;
    font-size: 23px;
}

.index_container.col-1 img{
    margin-right: 15px;
    float: left;
}


.index_container.col-2{
    background-color: brown;
    height: 55px;
    width: 150px;

    
}



.btn-secondary {
    color: #fff;
    background-color: #0b3c5d;
    border-color: #0b3c5d;
    opacity: 0.9;
    font-weight: bolder;
    font-size: 20px;
}

button.btn.btn-secondary.dropdown-toggle {
  background-color: #0b3c5d;
  font-size: 20px;
}
 
.btn-check:focus+.btn-secondary, .btn-secondary:focus {
    color: #fff;
    background-color: #0b3c5d;
    border-color: #565e64;
    box-shadow: 0 0 0 0.25rem rgb(11 60 93 / 30%);
}
 
.btn-secondary:hover {
    color: #fff;
    background-color: #3c637d;
    border-color: #3c637d;
}
 
.navbar-brand span{
  color: #444460;
  font-family: Noto Sans TC;
  font-size: 30px;
  font-weight:bolder;
  margin-left: 70px;
}
 
button.nav-link.active[aria-selected="true"]{
  background-color: #0b3c5d;
  color: white;
}
 
.nav-link{
  color: #0b3c5d;
  font-weight:bold;
}
.nav-link:hover{
  background-color: #0b3c5d;
  color: white;
  font-weight:bold;
}
 
#image_1{
  background-image: url(messageImage_1629777010237.jpeg);
    margin-top: 5px;
    background-repeat: no-repeat;
    height: 346px;
    width: 100%;
    background-size: cover;
    background-position: center center;
 
    
}
 
 
 
#tab_1{
  margin-top: 10px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
#tab_2{
  
  margin: 0px auto;
}
#tab_3{
  height: 55px; 
  width: 1312px;
  margin: 0px auto;
  font-size: 20px;
}
 
#title_1{
  text-align:center;
  line-height:50px;
}
 
#box1{
  height: 100%;
  width: 1380px;
}
 
@media screen and (max-width: 1380px){
    #tab_3{
      height: 120px; 
      width: 1028px;
      margin: 0px auto;
  }
 
  #banner_1{
    width:100%;
  }


  .navbar{
    /* width: 1380px; */
    height: auto;
  }

  .card img:hover{
    transform: scale(1.35);
    /* display: block; */
    position: absolute;
    z-index:1;
  }


}
 
 
 
 
@media screen and (max-width: 845px){
    #tab_3{
      height: 185px; 
      width: 465px;
      margin: 0px auto;
  }
 
  #banner_1{
    width:100%;
    height: 200px;
  }

  
  #image_1{
    height: 170px !important;
  }

  ul.navbar-nav {
      font-size: 25px;
  }
  .nav-item a{
    padding-left: 16px!important;
  }
  .navbar-nav .dropdown-menu {
    border-width:0px;
    font-size: 22px;
  }
  .container_pro{
    width: 100%;
    height: auto;
    background-color: rgb(255, 255, 255);
  }

  .navbar{
    /* width: 845px; */
    height: auto;
  }

  .card img:hover{
    transform: none;
    position: absolute;
    z-index:1;
  }
 
}  


/* @media screen and (max-width:400px){
  img.d-inline-block.align-content-center {
    position: absolute;
    clip: rect(0px,82px,82px,0px);
  }
} */