body, 
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Noto Serif TC", "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3 {
  color: #00315f;
}

h3 {
    font-size: 1.5rem;
}

p {
  font-color: #2d3c49;
  font-weight: 300;
  text-align: justify;
}


/* GLobal */
.container{
  width: 80%;
  margin: auto;
  overflow: hidden;
}

.headwrap_container {
  width: 100%;
  margin: auto;
  overflow: hidden;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  align-content: center;
  justify-content: space-between;
}

.wrap_container {
  width: 80%;
  margin: auto;
  overflow: hidden;
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  align-content:flex-start;
}

.cover {
  min-height: 140px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  text-align: center;
  text-shadow: 2px 2px #393d3f;
}

.current {
  font-weight: 700;
  text-decoration: underline;
}

/* Header */
.header_container {
  width: 95%;
  margin: auto;
  overflow: hidden;
  flex-flow: row wrap;
  align-items: baseline;
  justify-content: space-between;
}

header {
  width: 100%;
  padding-top: .75em;
  min-height: 72px;
  transition: min-height 0.3s;
  border-bottom: .1em solid rgba(0,0,0,.2);
}

header a {
  color: #00315f;
  text-decoration: none;
  text-transform: uppercase;
  transition-duration: .2s;
}

header a:hover {
  font-weight:700;
  color: #c7d4e0;
  transition-duration: .2s;
}

header nav {
  min-height: 56px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  float:left;
}

header ul {
  margin: 0;
  padding: 0;
}

header li {
  float: left;
  display: inline;
  padding: 0 1em 0 1em;
}

header #header_title {
  margin: 0;
  font-family: "Times New Roman", serif;
  font-weight:700;
  font-size: 45px;
}

header #cpa_logo {
  max-height: 4em;
  max-width: 100%;
  padding: 0.1em 0.4em;
  float: right;
  vertical-align: center;
}

header #lang {
  float: right; 
  padding: 0 1em 0 1em;
  font-weight:300;
}

/* Content */

#landing {
  min-height: 500px;
  max-width: 100%;
  background: url('../images/homepage.jpg');
  background-size: cover;
  background-position: center center;
  text-align: center;
  text-shadow: 2px 2px #393d3f;
}

#landing h1 {
  color: #ffffff;
  margin-top: 3em;
  font-size:45px;
  margin-bottom:10px;
}

#landing p {
  color:#ffffff;
  font-size:18px;
  text-align: center;
}

/* About */
#about {
  background: url('../images/landing.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#map {
  max-width:100%;
  min-height: 100px;
  margin: auto;
  padding: 0.5em;
}

#address {
  margin: auto;
  padding: 0.75em;
}

/* Services */
#services {
  background: url('../images/landing.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.service_list {
  padding: 0em 1em;
}

/* Team */
#team {
  background: url('../images/landing.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.dropdown {
  display: none;
}

#sidebar {
  min-width: 80px;
  width: 25%;

}

.bio_list {
  list-style-type: none;
}

.choose_bio:hover {
  font-weight:400;
  font-style:italic;
  text-decoration: underline;
  color: #c7d4e0;
  cursor: pointer;
}

.bioDisplay {
  width:75%;
}

/* Links */
#links {
  background: url('../images/landing.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.link_style a{
  color: #00315f;
  text-decoration: none;
}

.link_style a:hover {
  font-weight:400;
  font-style:italic;
  text-decoration: underline;
  color: #c7d4e0;
  transition-duration: .2s;
}

/* Contact */
#contact {
  background: url('../images/landing.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#contact_form {
  padding: 10px;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #393d3f;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #c7d4e0;
}

/* Footer */

footer {
  width: 100%;
  padding-top: .75em;
  min-height: 72px;
  transition: min-height 0.3s;
  border-top: .mem solid rgba(0,0,0,.2);
  display: flex;
  align-items: flex-end;
}

footer a {
  font-size: 14px;
  color: #00315f;
  text-decoration: none;
  text-transform: uppercase;
  transition-duration: .2s;
}

footer a:hover {
  color: #c7d4e0;
  transition-duration: .2s;
}

footer #footer_left {
  float: left;
  margin: 0;
}

footer p{
  font-size: 12px;
}

@media all and (max-width:880px){
  body {
    font-size:14px;
  }

  header #cpa_logo {
    max-height: 3em;
    padding: 0em 0.2em;
  }

  header #header_title {
    font-size: 35px;
  }

  #landing h1 {
    margin-top: 4em;
    font-size:32px;
    margin-bottom:10px;
  }

  #landing p {
    font-size:20px;
    margin-bottom:1em;
  }
  
  .cover {
    min-height: 100px;
  }

  .bioDisplay {
    width:100%;
  }

  #sidebar {
    justify-content: center;
    width: 100%;
  }

}

@media all and (max-width:690px) {
  header #header_title {
    font-size: 25px;
  }

  header li {
    font-size: 12px;
    padding: 0 .2em 0 .2em;
  }
}

@media all and (max-width:525px) {
  body {
    font-size:12px;
  }

  header li {
    font-size: 9px;
  }

  header #cpa_logo {
    max-height:2em;
  }

  header #lang {
    font-size:9px;
  }

  #landing h1 {
    margin-top: 4em;
    font-size:25px;
    margin-bottom:5px;
  }

  #landing p {
    font-size:15px;
    margin-bottom: 1em;
  }

  #landing {
    min-height: 350px;
  }

  .cover {
    min-height: 40px;
  }

  footer p {
    font-size:6px;
  }

  footer a{
    font-size:8px;
  }

}