header {
    margin: 15px 0px;
}

body {
    font-family: "微軟正黑體", sans-serif;
    background-image: url('../image/baba.png');
    background-color: #EEE;
}

section {
    margin-bottom: 15px;
}

footer {
    width: 100%;
    background-color: #333;
    color: #FFF;
    min-height: 250px;
    padding: 15px 0px;
}

.accordion>.card .card-header {
    padding: 0;
}

.justify {
    text-align: justify;
}

.line {
    display: inline-block;
}

.date {
    color: red;
    font-weight: bold;
}

/* body container override*/

@media (min-width: 1200px) {
    .container {
        max-width: 1210px;
    }
}

/*---------------------------top------------------------------------------*/
#top-banner {
    text-align: right;
}

#top-banner img {
    max-width: 100%;
}

#carousel-banner img {
    width: 100%;
}

/*---------------------------MENU------------------------------------------*/
.navbar {
    border-radius: 2px 2px 0px 0px;
}

.navbar-nav li {
    margin: 0px 10px;
    font-size: 0.9em;
    padding: 10px 0px 10px 0px;
}

@media screen and (max-width: 900px) {
    .navbar-nav li {
        font-size: 1em;
    }
}

.navbar-nav li:hover {
    background: rgba(144, 144, 144, 0.3);
}

.dropdown-item {
    line-height: 50px;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #333;
    color: #FFF;
    transition: ease-in 0.3s;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-item:active > .dropdown-menu {
    display: none;
}
/*---------------------------footer------------------------------------------*/

#footer-list ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#footer-list ul li {
    list-style: none;
    line-height: 30px;
    font-size: 14px;
}

#footer-list ul li i {
    width: 20px;
}

#imgcenter {
    text-align: center;
}

#infofont {
    line-height: 2em;
    font-size: 20px;
}



/* CSS button template*/
/* individual application button*/
.button-indiappl {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, #5adaff 0, #5468ff 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono",monospace;
  height: 75px;
  width: auto;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 25px;
}

.button-indiappl:focus {
  box-shadow: #3c4fe0 0 0 0 1.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
}

.button-indiappl:hover {
  box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-indiappl:active {
  box-shadow: #3c4fe0 0 3px 7px inset;
  transform: translateY(2px);
}

/* school application button*/
.button-schappl {
    align-items: center;
    appearance: none;
    background-image: radial-gradient(100% 100% at 100% 0, #3e9b00 0, #135e00 100%);
    border: 0;
    border-radius: 6px;
    box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: "JetBrains Mono",monospace;
    height: 75px;
    width: auto;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow,transform;
    font-size: 25px;
  }
  
  .button-schappl:focus {
    box-shadow: #146b00 0 0 0 1.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #146b00 0 -3px 0 inset;
  }
  
  .button-schappl:hover {
    box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #146b00 0 -3px 0 inset;
    transform: translateY(-2px);
  }
  
  .button-schappl:active {
    box-shadow: #146b00 0 3px 7px inset;
    transform: translateY(2px);
  }

/* back application button*/
.button-backappl {
    align-items: center;
    appearance: none;
    background-image: radial-gradient(100% 100% at 100% 0, #ff758c 0, #a50146 100%);
    border: 0;
    border-radius: 6px;
    box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: "JetBrains Mono",monospace;
    height: 75px;
    width: auto;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow,transform;
    font-size: 25px;
  }
  
  .button-backappl:focus {
    box-shadow: #680030 0 0 0 1.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #680030 0 -3px 0 inset;
  }
  
  .button-backappl:hover {
    box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #146b00 0 -3px 0 inset;
    transform: translateY(-2px);
  }
  
  .button-backappl:active {
    box-shadow: #680030 0 3px 7px inset;
    transform: translateY(2px);
  }

  .img-container {
    padding: 0px;
  }

  .img-wrapper {
    background-size: cover;
    padding-bottom: 100%;
  }

  .fullScreenPhoto {
    width: auto;
    height: auto;
    max-width: 100%;
  }

  .modal-dialog {
    max-width: 100%;
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
}