body{line-height:1.5; font-family:"HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, "Microsoft Yahei", sans-serif, Arial, "Lucida Grande"; background-color:#fff;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0}
h1,h2,h3,h4,h5,h6{font-size:100%}
ol,ul{list-style:none}
address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:normal}
input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}
fieldset,img,a img,:link img,:visited img{border:0}
a{text-decoration:none}
a:hover{text-decoration:underline}
:focus{outline:0}
table{border-collapse:collapse;border-spacing:0}
caption,th{text-align:left}
sup,sub{font-size:100%;vertical-align:baseline}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
.hide {display: none !important;}
.show {display: block !important;}
input,select{-webkit-appearance: none;}
::-webkit-input-placeholder {
  color: #999;
}
.cf:after {content: " ";display: block;clear: both;height: 0;}
.cf {zoom: 1;}

.wrap{
  width:100%; background: #addcfa url(header.jpg?v7) no-repeat 0 0;
  -webkit-background-size: 100% auto;
  background-size: 100% auto;
}
.header {
  width: 100%; height: 100vh;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}
.forminfo {
  background-color: rgba(255,255,255,0.9);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-radius: 10px;
  width: 85%;
  box-sizing: border-box;
  padding: 20px;
  margin-bottom: 20px;
}

.forminfo p {
  font-size: 14px;
  color: #1559ac;
  margin-bottom: 20px;
  text-align: justify;
}
.forminfo p:last-child {
    margin-bottom: 0;
}

.formbox{
    width: 100%; padding: 30px; box-sizing: border-box;
}
.formbox h2 img{
    width: 100%; vertical-align: top;
}
.btn-row {margin-top: 20px;}
.btn-submit{
    border:0;
    font-size:22px;
    line-height: 32px;
    display:block;
    margin:0 auto;
    border-radius: 20px;
    cursor:pointer;
    background-color: #3fa9f5;
    background-image: -webkit-linear-gradient(top, #3fd6f5, #3fa9f5);
    background-image: linear-gradient(to bottom, #3fd6f5, #3fa9f5);
    color:#fff;
    width: 100%;
    line-height: 2em;
}

.form .formdiv{width:100%; margin:10px auto 20px;}
.form .formdiv label{
    display: block;
    margin-right: 5px;
    line-height: 30px;
    font-size: 15px;
    color: #1559ac;
}
.form .formdiv label em{
    color: #1559ac;
}
.form .formdiv input{
    background:#fff;
    border: 0 none;
    border-radius:3px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    color:#333;
    font-size: 15px;
    font-weight: bold;
    text-indent:3px;
    margin: 0 auto;
    -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.1) inset;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.1) inset;
    padding: 12px 5px;
}

.form .formdiv .tips {
  font-size: 14px; color: #fff; margin-top: 10px;
}
.form .formdiv textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0 none;
  padding: 10px;
  -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.1) inset;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.1) inset;
}
.form .formdiv select{
    border: 0 none;
    border-radius:5px;
    box-sizing: border-box;
    height: 42px;
    font-size: 15px;
    font-weight: bold;
    padding-left: 8px;
    color:#999;
    background-color: #fff;
    -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.1) inset;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.1) inset;
}

.col2{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.col2 select{
    width: 48%;
}
.form .formdiv select option{
    background-color: #eee;
    color:#333;
}

.footer {
  background: transparent url("bgb.jpg") no-repeat center bottom;
  height: 52vh;
  background-size: 100% auto;
  text-align: center;
  display: flex;
	justify-content: center;
	align-items: flex-end;
}
.footer a img {width: 60px; margin-bottom: 30px;}


/* popup */
.popwrap {
  background-color: rgba(0,0,0,0.5);
  position: fixed; width: 100%; height: 100%; left: 0; top: 0; z-index: 100;
  display:flex;
  justify-content:center;
  align-items:center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0s 0.5s;
}
.popwrap.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s;
}
.popwrap .inner {
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
}
.popwrap .info {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #999;
}
.popwrap .exlink {
  padding-top: 15px;
  text-align: center;
}
.popwrap a {
  display: inline-block;
  padding: 10px 0 0;
  color: #297ddb;
}
.popwrap .btn-close {
  position: absolute; width: 50px; height: 50px; left: 50%; margin-left: -25px; bottom: 30px; z-index: 10;
  font-size: 18px; text-decoration: none; text-align: center; line-height: 50px;
  color: #fff;
  background-color: rgba(255,255,255,0.3);
  border-radius: 25px;
  pointer-events: auto;
  padding: 0;
}

/* iPhone 6s */
@media only screen
    and (device-width: 375px)
    and (device-height: 667px)
    /* and (device-height: 667px)
    and (device-height: 603px) */
    and (-webkit-device-pixel-ratio: 2) {
      .header {height: 100vh;}
    }

/* iPhone 6s plus */
@media only screen
    and (device-width: 414px)
    and (device-height: 736px)
    /* and (device-height: 736px) */
    /* and (device-height: 672px) */
    and (-webkit-device-pixel-ratio: 3) {
      .header {height: 100vh;}
}

@media (min-width: 992px){
  .wrap{width:56vh; margin:0 auto;}
  .header {height: 100vh;}
  .formbox{
      width: 52vh;
      margin:0 auto;
      padding:20px 0;
  }
  .form .formdiv {clear: both;}
  .form .formdiv label{
    font-size: 16px; margin-right:10px;
  }
  .form .formdiv input{
      float: left;
      font-size: 18px;
      padding-left: 10px;
  }
}
