﻿* {
  margin: 0;
  padding: 0;
}
*::after, * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: 'Lato', sans-serif;
  /*background: #eee;*/
}
article {
  /*height: 1000px;
	margin: 100px auto;*/
  margin: 15px auto 5px auto;
  /*text-align: center;*/
  line-height: 1.7;
  z-index: 200;
}
article p {
  font-size: 13px;
  margin-bottom: 1em;
}
a {
  color: #0b8793;
  text-decoration: none;
}
img {
  width: 100%;
}
footer {
  height: 100%;
  padding: 10px 10px 0 10px;
  color: #fff;
  font-size: 13px;
  text-align: center;
  /*border-top: solid 1px #bbb;*/
  background-color: #2a2a2a;
}
footer a {
  /*color: #666;*/
  text-decoration: none;
}
footer p {
  margin: 5px auto 0 auto;
}
/* inner */
.inner {
  width: 980px;
  margin: 0 auto;
}
.inner:after {
  content: "";
  clear: both;
  display: block;
}
/* header */
#top-head {
  font-size: 12px;
  top: -100px;
  position: absolute;
  width: 100%;
  margin: 100px auto 0;
  padding: 30px 0 0;
  line-height: 1;
  z-index: 999;
}
#top-head a, #top-head {
  font-size: 75%;
  text-decoration: none;
  background-color: #093983;
  color: #fff;
  line-height: 17px;
  font-family: meiyo;
}
#top-head .inner {
  position: relative;
}
#top-head .logo {
  float: left;
  font-size: 36px;
  background-color: #fff;
}
#top-head .logo a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
#top-head .logo img {
  width: 100%;
}
#global-nav ul {
  list-style: none;
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 14px;
}
#global-nav ul li {
  float: left;
  position: relative;
}
#global-nav ul li a {
  padding: 0 30px;
}
/* Btn Hover */
#global-nav ul li:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  bottom: -20px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}
#global-nav ul li:hover:after {
  background: #fff;
  bottom: -30px;
}
/* Fixed */
#top-head.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  padding-top: 10px;
  height: 55px;
  background: #fff;
  background: rgba(255, 255, 255, .7);
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
  font-size: 24px;
  color: #333;
}
#top-head.fixed #global-nav ul li a {
  color: #333;
  padding: 0 20px;
}
/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
  bottom: -10px;
}
#top-head.fixed #global-nav ul li:hover:after {
  background: #0062B8;
  bottom: -20px;
}
/* Transition */
/*
#top-head,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
*/
/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 14px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}
#nav-toggle div {
  position: relative;
}
#nav-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #a40000;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
  top: 0;
}
#nav-toggle span:nth-child(2) {
  top: 11px;
}
#nav-toggle span:nth-child(3) {
  top: 22px;
}
@media screen and (max-width: 980px) {
  article {
    padding: 0 5px;
    font-weight: 500;
  }
  .inner {
    width: 100%;
    padding: 0 20px;
  }
  #global-nav ul li a {
    padding: 0 20px;
  }
  #top-head.fixed #global-nav ul li a {
    padding: 0 15px;
  }
}
/*@media screen and (max-width: 640px) {*/
@media screen and (max-width: 1024px) {
  #top-head, .inner {
    width: 100%;
    padding: 0 0 0 15px;
  }
  /*#top-head {
	top: 0;
	position: fixed;
	margin-top: 0;
}*/
  /* Fixed reset */
  #top-head.fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    background: #fff;
    width: 100%;
    height: 56px;
    z-index: 999;
    position: relative;
  }
  #top-head.fixed .logo, #top-head .logo {
    position: absolute;
    left: 5px;
    top: 25px;
    /*color: #333;
	font-size: 26px;*/
  }
  #global-nav {
    position: absolute;
    top: -500px;
    background: #38393a;
    width: 100%;
    text-align: center;
    /*padding: 10px 0;*/
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }
  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 11px;
  }
  #global-nav ul li {
    float: none;
    position: static;
  }
  #global-nav ul li:after {
    display: none;
  }
  #top-head #global-nav ul li a, #top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: #fff;
    padding: 18px 0;
  }
  ul#sub li {
    float: left;
    width: 50%;
  }
  #nav-toggle {
    display: block;
  }
  /* #nav-toggle */
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  /* #global-nav */
  .open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
  }
  .slicknav_menu {
    display: none;
  }
  /*@media screen and (max-width: 40em) {*/
  @media screen and (max-width: 1024px) {
    /* #menu is the original menu */
    .js #menu {
      display: none;
    }
    .js .slicknav_menu {
      display: block;
    }
  }
  .bxslider_wrap {
    position: relative;
    margin-bottom: 10px;
  }
  .bxslider_wrap ul li {
    float: left;
    width: 50%;
    list-style: none;
    margin: 0 0 -7px 0;
  }
  .clearfix:after {
    content: "";
    clear: both;
    display: block;
  }
  #bnr {
    width: 75%;
    margin: 0 auto;
  }
  #bnr li {
    width: 45%;
    float: left;
    margin: 0 0 15px 0;
    list-style: none;
  }
  #bnr li:nth-child(odd) {
    margin: 0 20px 15px 0;
  }
  .toptextphoto {
    width: 90%;
    margin: 0 auto;
  }
  #bnr2 {
    width: 75%;
    margin: 15px auto 5px auto;
  }
  #bnr2 li {
    list-style: none;
  }
  #footer_text {
    font-size: 90%;
  }
  div#footer_text2 {
    background-color: #1f1f1f;
    line-height: 18px;
    font-size: 60%;
  }
  footer img {
    width: 65%;
  }
  h2 {
    /*height: 25px;*/
    background-color: #676767;
    color: #fff;
    font-size: 15px;
    padding: 3px;
  }
  /*----------------*/
  /*----company----*/
  /*----------------*/
  p.underlayer_title {
    background-color: #3a619c;
    color: #fff;
    font-size: 15px;
    padding: 0 5px 0 5px;
    margin: 0 0 0 0;
    line-height: 23px;
  }
  p.underlayer_title_topspace {
    background-color: #3a619c;
    color: #fff;
    font-size: 15px;
    padding: 0 5px 0 5px;
    margin: 20px 0 0 0;
    line-height: 23px;
  }
  .companybox {
    background-color: #69add5;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    padding: 10px 10px 10px 10px;
  }
  .company {
    width: 100%;
    margin-bottom: 10px;
    font-size: 13px;
  }
  .company dt {
    width: 100%;
    background-color: #e8e8e8;
    padding: 2px 0 2px 10px;
    text-align: left;
    font-weight: 600;
  }
  .company dd {
    width: 100%;
    padding: 5px;
  }
  /*----------------*/
  /*----business----*/
  /*----------------*/
  .businesstext {
    font-size: 14px;
    line-height: 20px;
    padding: 10px 0 0 10px;
  }
  span.fontred {
    color: #e60012;
  }
  .imgcenter_40 {
    width: 40%;
    margin: 0 auto;
  }
  dl.business img {
    padding: 10px 0 0 0;
  }
  dl.business dt {
    background-color: #2d79b7;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    padding: 0 10px 10px 10px;
    margin: 0 0 15px 0;
  }
  img.businessbanner {
    margin: 10px 0 0 0;
  }
  .backgray {
    background-color: #f3f3f3;
    padding: 10px 10px 10px 10px;
  }
  p.underlayer_titlefont17 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 0 0;
  }
  .businesstext2 {
    font-size: 14px;
    line-height: 20px;
    padding: 5px 0 0 10px;
  }
  .imgcenter_60 {
    width: 60%;
    margin: 25px auto 0 auto;
  }
  /*----------------*/
  /*--staffmember--*/
  /*----------------*/
  p.stafftitle {
    font-size: 14px;
    border: solid 1px #c5c5c5;
    width: 40px;
    line-height: 20px;
    padding: 0 0 0 5px;
    margin: 5px 0 0 0;
  }
  table.stafflist {
    border-collapse: collapse;
    line-height: 15px;
    width: 90%;
    margin: 5px 15px 25px 10px;
    font-weight: 500;
    font-size: 13px;
  }
  table.stafflist th {
    text-align: left;
    padding: 5px 0 5px 5px;
    border-bottom: solid 1px #a9a9a7;
    width: 70px;
    font-weight: 500;
  }
  table.stafflist td {
    padding: 5px 0 5px 0;
    border-bottom: solid 1px #a9a9a7;
    font-weight: 500;
  }
  ul.stafflist2.clearfix li {
    width: 49%;
    float: left;
    list-style: none;
  }
  ul.stafflist2.clearfix li:nth-child(odd) {
    margin: 0 5px 0 0;
  }
  /*----------------*/
  /*-askedquestion--*/
  /*----------------*/
  p.underlayer_title2 {
    background-color: #3a619c;
    color: #fff;
    font-size: 14px;
    padding: 0 5px 0 5px;
    margin: 0 0 0 0;
    line-height: 23px;
  }
  p.answer {
    background-color: #d50e1e;
    color: #fff;
    width: 23px;
    padding: 0 0 0 7px;
    border-radius: 30px;
    margin: 10px 0 0 5px;
  }
  p.qatext {
    margin: 0 0 20px 10px;
  }
  /*----------------*/
  /*----contact----*/
  /*----------------*/
  p.contacttext {
    margin: 10px 0 10px 0;
  }
  #contact {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    border-collapse: collapse;
    font-size: 13px;
  }
  #contact th {
    width: 35%;
    background-color: #ededed;
    padding: 5px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #afafaf;
  }
  #contact td {
    /*width: 100%;*/
    padding: 5px;
    border: 1px solid #afafaf;
  }
  .w400 {
    width: 100%;
  }
  .form_btn3 {
    width: 100%;
    margin: 0 auto;
  }
  .contact_reset {
    width: 50%;
    /*height: 50px;*/
    height: 47px;
    background-image: url(../img/contact/reset.png);
    background-repeat: no-repeat;
    background-size: 100%;
    border: none;
    /*text-indent: -9999px;*/
  }
  .contact_submit {
    width: 50%;
    /*height: 50px;*/
    height: 47px;
    background-image: url(../images/contact/submit.png);
    background-repeat: no-repeat;
    background-size: 100%;
    border: none;
    /*text-indent: -9999px;*/
  }
  .contact_back {
    width: 50%;
    /*height: 50px;*/
    height: 47px;
    background-image: url(../images/contact/reset.png);
    background-repeat: no-repeat;
    border: none;
    text-indent: -9999px;
  }
}