@charset "utf-8";
/*
 * CSS Document
 * ==========================================================================
 * 版權所有 2018 鉅潞科技網頁設計公司，並保留所有權利。
 * 網站地址: http://www.grnet.com.tw
 * ==========================================================================
 * $Author: Jia $
 * $Date: 2018 Oct. $
*/

/* Fonts Including */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Light.eot');
  src: url('../fonts/Poppins-Light.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Poppins-Light.woff2') format('woff2'),
       url('../fonts/Poppins-Light.woff') format('woff'),
       url('../fonts/Poppins-Light.ttf') format('truetype'),
       url('../fonts/Poppins-Light.svg#Poppins-Light') format('svg');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.eot');
  src: url('../fonts/Poppins-Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Poppins-Regular.woff2') format('woff2'),
       url('../fonts/Poppins-Regular.woff') format('woff'),
       url('../fonts/Poppins-Regular.ttf') format('truetype'),
       url('../fonts/Poppins-Regular.svg#Poppins-Regular') format('svg');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Medium.eot');
  src: url('../fonts/Poppins-Medium.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Poppins-Medium.woff2') format('woff2'),
       url('../fonts/Poppins-Medium.woff') format('woff'),
       url('../fonts/Poppins-Medium.ttf') format('truetype'),
       url('../fonts/Poppins-Medium.svg#Poppins-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.eot');
  src: url('../fonts/Poppins-Bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Poppins-Bold.woff2') format('woff2'),
       url('../fonts/Poppins-Bold.woff') format('woff'),
       url('../fonts/Poppins-Bold.ttf') format('truetype'),
       url('../fonts/Poppins-Bold.svg#Poppins-Bold') format('svg');
  font-weight: 700;
  font-style: normal;
}

/* Global Style */
html { font-size: 16px; }
body {
  position: relative;
  line-height: 1.625;
  font-size: 1rem;
  font-family: 'Poppins', 'Microsoft JhengHei UI', 'Microsoft JhengHei', Sans-serif;
  color: #222;
  overflow-x: hidden;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
}
body > *:not(.pace):not(.loading-box) {
  opacity: 0;
  transition: opacity .5s;
  -moz-transition: opacity .5s;
  -webkit-transition: opacity .5s;
}
body.pace-done > *:not(.pace):not(.loading-box) {
  opacity: 1;
}
html.font-big {
  font-size: 19px;
}
html.font-regular {
  font-size: 16px;
}
html.font-small {
  font-size: 14px;
}
* { -webkit-backface-visibility: hidden; }
img { border: 0; vertical-align: bottom; }
a, a:visited, a:hover, a:focus, a:active { text-decoration: none; }
/*:focus, :active { outline: 0; }*/
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
p { line-height: inherit; }
label { font-weight: inherit; }
input, button, textarea, select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  *font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  /*outline: 0;*/
}
textarea { resize: vertical; }
ol.reset, ul.reset, li.reset { margin: 0; padding: 0; list-style: none; }
section, article, aside, footer, header, nav, main {
  display:block;
}

/* Page */
.page-wrap {
  padding: 130px 50px 0;
}
@media (max-width: 1599px) {
  .page-wrap {
    padding: 130px 15px 0;
  }
}
@media (max-width: 1479px) {
  .page-wrap {
    padding: 105px 15px 0;
  }
}
@media (max-width: 767px) {
  .page-wrap {
    padding: 70px 0 0;
  }
}

/* Page Container */
@media (min-width: 1600px) {
  .container {
    width: 1430px;
  }
}

/* Page Title */
#rick-form .p-title-box{
  padding-left: 100px;
  padding-right: 100px;
}
#rick-form .p-title-box:after{
  content: '';
  display: inline-block;
  width: 100px;
  height: 110px;
  top: 50%;
  left: 50%;
  position: absolute;
  background: url('../images/ROC_HPAS.png') center center no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  -webkit-transform: translate(-350%, -50%);
  -ms-transform: translate(-350%, -50%);
  -o-transform: translate(-350%, -50%);
  transform: translate(-350%, -50%);
}
.p-title-box {
  position: relative;
  text-align: center;
  padding-top: 33px;
}
.p-title-box:before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 30px;
  background: #d83d71;
  top: 0;
  left: 50%;
}
.p-title-box .p-title-en {
  font-family: 'Poppins', 'Microsoft JhengHei UI', 'Microsoft JhengHei', Sans-serif;
  line-height: 1.273;
  font-size: 1.375rem;
  margin: 0;
}
.p-title-box .p-title {
  line-height: 1.417;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}
@media (max-width: 991px) {
  .p-title-box .p-title-en {
    line-height: 1.444;
    font-size: 1.125rem;
  }
  .p-title-box .p-title {
    line-height: 1.5;
    font-size: 1.25rem;
  }
  #rick-form .p-title-box:after{
    -webkit-transform: translate(-300%, -50%);
    -ms-transform: translate(-300%, -50%);
    -o-transform: translate(-300%, -50%);
    transform: translate(-300%, -50%);
  }
}
@media (max-width:767px){
  #rick-form .p-title-box{
    padding-left: 60px;
    padding-right: 60px;
  }
  #rick-form .p-title-box:after{
    width: 65px;
    height: 72px;
    top: 50%;
    left: 5px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
}
@media (max-width:639px){
  #rick-form .p-title-box{
    padding-left: 0;
    padding-right: 0;
    padding-top: 80px;
  }
  #rick-form .p-title-box:before{
    display: none;
  }
  #rick-form .p-title-box:after{
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }

}

/* Page Banner */
.p-banner {
  position: relative;
  overflow: hidden;
}
.p-banner > img {
  display: block;
  position: relative;
  height: 100%;
  left: 50%;
  transform: scale(1.2) translateX(-40%);
  -moz-transform: scale(1.2) translateX(-40%);
  -webkit-transform: scale(1.2) translateX(-40%);
  transition: transform 3s;
  -moz-transition: -moz-transform 3s;
  -webkit-transition: -webkit-transform 3s;
}
.pace-done .p-banner > img {
  transform: scale(1) translateX(-50%);
  -moz-transform: scale(1) translateX(-50%);
  -webkit-transform: scale(1) translateX(-50%);
}
@media (max-width: 991px) {
  .p-banner {
    height: 260px;
  }
}
@media (max-width: 767px) {
  .p-banner {
    height: 180px;
  }
}

/* Page Breadcrumb */
.p-crumb {
  font-size: 0;
  text-align: right;
  padding: 20px 0;
}
.p-crumb ul li {
  display: inline-block;
  position: relative;
  line-height: 1.857;
  font-size: 0.875rem;
  vertical-align: top;
  margin-right: 20px;
  margin-bottom: 5px;
}
.p-crumb ul li.current {
  color: #4d9ed6;
  border-bottom: 1px solid #4d9ed6;
  margin-right: 0;
}
.p-crumb ul li:not(.current):after {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 14px;
  background: #222;
  top: 5px;
  right: -11px;
  transform: rotate(20deg);
  -moz-transform: rotate(20deg);
  -webkit-transform: rotate(20deg);
}
.p-crumb ul li a {
  color: #222;
}
.p-crumb ul li a:hover {
  color: #000;
}
@media (max-width: 767px) {
  .p-crumb {
    text-align: left;
    padding: 20px 15px;
  }
  .p-crumb ul li {
    line-height: 1.714;
    margin-right: 12px;
  }
  .p-crumb ul li:not(.current):after {
    top: 5px;
    right: -7px;
  }
  .p-crumb ul li.current {
    border-bottom: none;
  }
}

/* Page Tab */
@media (min-width: 992px) {
  .p-tab {
    margin-top: 35px;
  }
  .p-tab .btn {
    display: none;
  }
  .p-tab .dropdown-menu {
    display: block !important;
    float: none;
    position: relative;
    z-index: 1;
    min-width: initial;
    font-size: 0;
    border: none;
    background: none;
    border-radius: 0;
    box-shadow: none !important;
    text-align: center;
    margin: 0;
    padding: 0;
    top: auto;
    left: auto;
  }
  .p-tab .dropdown-menu > li {
    display: inline-block;
    vertical-align: top;
    margin: 0 6px 10px;
  }
  .p-tab .dropdown-menu > li > a {
    display: block;
    position: relative;
    background: none !important;
    padding: 0 50px;
  }
  .p-tab .dropdown-menu > li > a:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #dcdcdc;
    top: 0;
    left: 0;
  }
  .p-tab .dropdown-menu > li > a:hover:before {
    background: #f5f5f5;
  }
  .p-tab .dropdown-menu > li.current > a:after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #d83d71 transparent transparent transparent;
    top: 100%;
    left: 50%;
    margin-left: -3px;
  }
  .p-tab .dropdown-menu > li > a span {
    display: block;
    position: relative;
    line-height: 2.333;
    font-size: 0.9375rem;
    color: #222;
    border-bottom: 1px solid transparent;
  }
  .p-tab .dropdown-menu > li.current > a span {
    border-bottom-color: #d83d71;
  }
  .p-tab-addition {
    font-size: 0;
    text-align: center;
  }
  .p-tab-sub,
  .p-tab-grand {
    display: inline-block;
    width: 260px;
    background: #eee;
    vertical-align: top;
    margin: 0 5px;
    padding: 5px;
  }
  .p-tab-grand {
    background: #f5f5f5;
  }
  .p-tab-sub .btn,
  .p-tab-grand .btn {
    display: block;
    position: relative;
    width: 100%;
    height: 35px;
    line-height: 33px;
    font-size: 0.875rem;
    border: 1px solid #dcdcdc;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0;
    text-align: left;
    margin: auto;
    padding: 0 30px 0 15px;
  }
  .p-tab-sub .btn:before,
  .p-tab-grand .btn:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: #dcdcdc transparent #bababa transparent;
    top: 14px;
    right: 10px;
  }
  .p-tab-sub.open .btn:before,
  .p-tab-grand.open .btn:before {
    border-top-width: 0;
    border-bottom-width: 5px;
  }
  .p-tab-sub.open .btn,
  .p-tab-grand.open .btn {
    border-color: #bababa !important;
  }
  .p-tab-sub .dropdown-menu,
  .p-tab-grand .dropdown-menu {
    width: calc(100% - 10px);
    border-color: #bababa;
    border-top: none;
    border-radius: 0;
    box-shadow: none !important;
    left: 5px;
    margin: -5px 0 0;
  }
  .p-tab-sub .dropdown-menu > li > a,
  .p-tab-grand .dropdown-menu > li > a {
    display: block;
    position: relative;
    line-height: 30px;
    font-size: 0.875rem;
    color: #777;
    background: #fff;
    padding: 0 15px;
    transition: color .25s, background .25s;
    -moz-transition: color .25s, background .25s;
    -webkit-transition: color .25s, background .25s;
  }
  .p-tab-sub .dropdown-menu > li.current > a,
  .p-tab-sub .dropdown-menu > li > a:hover,
  .p-tab-grand .dropdown-menu > li.current > a,
  .p-tab-grand .dropdown-menu > li > a:hover {
    color: #fff;
    background: #d83d71;
  }
}
@media (max-width: 1199px) {
  .p-tab-sub {
    margin: 0;
  }
}
@media (max-width: 991px) {
  .p-tab,
  .p-tab-sub,
  .p-tab-grand {
    width: calc(100% - 30px);
    max-width: 430px;
    margin: 20px auto 0;
  }
  .p-tab-sub,
  .p-tab-grand {
    margin-top: 10px;
  }
  .p-tab .btn,
  .p-tab-sub .btn,
  .p-tab-grand .btn {
    display: block;
    position: relative;
    width: 100%;
    line-height: 38px;
    font-size: 0.9375rem;
    border-radius: 0;
    background: #fff;
    box-shadow: none !important;
    padding: 0 30px 0 10px;
    text-align: left;
  }
  .p-tab .btn:active,
  .p-tab .btn:focus,
  .p-tab .btn:hover,
  .p-tab-sub .btn:active,
  .p-tab-sub .btn:focus,
  .p-tab-sub .btn:hover,
  .p-tab-grand .btn:active,
  .p-tab-grand .btn:focus,
  .p-tab-grand .btn:hover {
    color: #d83d71;
    border-color: #d83d71;
    background: #fff;
  }
  .p-tab.open .btn,
  .p-tab-sub.open .btn,
  .p-tab-grand.open .btn {
    color: #fff !important;
    border-color: #d83d71 !important;
    background: #d83d71 !important;
  }
  .p-tab .btn:before,
  .p-tab-sub .btn:before,
  .p-tab-grand .btn:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #ccc transparent transparent transparent;
    top: 16px;
    right: 10px;
  }
  .p-tab .btn:active:before,
  .p-tab .btn:focus:before,
  .p-tab .btn:hover:before,
  .p-tab-sub .btn:active:before,
  .p-tab-sub .btn:focus:before,
  .p-tab-sub .btn:hover:before,
  .p-tab-grand .btn:active:before,
  .p-tab-grand .btn:focus:before,
  .p-tab-grand .btn:hover:before {
    border-top-color: #d83d71;
  }
  .p-tab.open .btn:before,
  .p-tab-sub.open .btn:before,
  .p-tab-grand.open .btn:before {
    border-top-color: #fff;
  }
  .p-tab .dropdown-menu,
  .p-tab-sub .dropdown-menu,
  .p-tab-grand .dropdown-menu {
    width: 100%;
    min-width: initial;
    border: 1px solid #d83d71;
    border-top: none;
    border-radius: 0;
    box-shadow: none !important;
    margin: 0;
  }
  .p-tab .dropdown-menu > li > a,
  .p-tab-sub .dropdown-menu > li > a,
  .p-tab-grand .dropdown-menu > li > a {
    line-height: 26px;
    font-size: 0.9375rem;
    padding: 4px 10px;
  }
  .p-tab .dropdown-menu > li.current > a,
  .p-tab-sub .dropdown-menu > li.current > a,
  .p-tab-grand .dropdown-menu > li.current > a {
    color: #d83d71;
    background: #eee;
  }
}

/* Page Pagination */
.p-pager {
  margin-top: 30px;
  margin-bottom: 60px;
}
.p-pager ul {
  font-size: 0;
  text-align: center;
}
.p-pager ul li {
  display: inline-block;
  vertical-align: top;
}
.p-pager ul li.num {
  margin: 0 3px;
}
.p-pager ul li.prev {
  margin-right: 13px;
}
.p-pager ul li.next {
  margin-left: 13px;
}
.p-pager ul li a {
  display: block;
  position: relative;
  line-height: 2.286;
  font-size: 0.875rem;
  border: 1px solid transparent;
  text-align: center;
}
.p-pager ul li.num a {
  color: #999;
  width: 24px;
}
.p-pager ul li.num a:hover {
  color: #5e95cf;
}
.p-pager ul li.num a:hover:after {
  content: '';
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  background: #5e95cf;
  border-radius: 100%;
  left: 50%;
  bottom: -3px;
  margin-left: -3px;
}
.p-pager ul li.num.current a {
  font-weight: bold;
  color: #d83d71;
  border-bottom-color: #d83d71;
}
.p-pager ul li.num.current a:hover:after {
  display: none;
}
.p-pager ul li.prev a {
  width: 42px;
  height: 34px;
  border-top-color: #eee;
  border-left-color: #eee;
  border-right-color: #ccc;
  border-bottom-color: #ccc;
  border-radius: 17px 0 0 17px;
}
.p-pager ul li.prev a:before {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 8px 5px 0;
  border-color: transparent #999 transparent transparent;
  top: 11px;
  left: 18px;
}
.p-pager ul li.next a {
  width: 42px;
  height: 34px;
  border-top-color: #eee;
  border-left-color: #ccc;
  border-right-color: #eee;
  border-bottom-color: #ccc;
  border-radius: 0 17px 17px 0;
}
.p-pager ul li.next a:before {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #999;
  top: 11px;
  right: 18px;
}
.p-pager ul li.prev:not(.disabled) a:hover {
  border-top-color: rgba(94,149,207,.5);
  border-left-color: rgba(94,149,207,.5);
  border-right-color: rgba(94,149,207,1);
  border-bottom-color: rgba(94,149,207,1);
}
.p-pager ul li.next:not(.disabled) a:hover {
  border-top-color: rgba(94,149,207,.5);
  border-left-color: rgba(94,149,207,1);
  border-right-color: rgba(94,149,207,.5);
  border-bottom-color: rgba(94,149,207,1);
}
.p-pager ul li.prev:not(.disabled) a:hover:before,
.p-pager ul li.next:not(.disabled) a:hover:before {
  border-left-color: #5e95cf;
  border-right-color: #5e95cf;
}
.p-pager ul li.prev.disabled a {
  border-top-color: #f5f5f5;
  border-left-color: #f5f5f5;
  border-right-color: #eee;
  border-bottom-color: #eee;
  cursor: not-allowed;
}
.p-pager ul li.prev.disabled a:before {
  border-right-color: #e5e5e5;
}
.p-pager ul li.next.disabled a {
  border-top-color: #f5f5f5;
  border-left-color: #eee;
  border-right-color: #f5f5f5;
  border-bottom-color: #eee;
  cursor: not-allowed;
}
.p-pager ul li.next.disabled a:before {
  border-left-color: #e5e5e5;
}
@media (max-width: 419px) {
  .p-pager ul li.num:not(.current) {
    display: none;
  }
}

/* Page Step */
.p-step {
  border-top: 1px solid #eee;
  margin-top: 20px;
}
.p-step-prev,
.p-step-next {
  border-bottom: 1px solid #eee;
}
.p-step-prev a,
.p-step-next a {
  display: block;
  position: relative;
  line-height: 25px;
  font-size: 0.875rem;
  color: #222;
  padding: 12px 0 12px 100px;
  transition: color .3s;
  -moz-transition: color .3s;
  -webkit-transition: color .3s;
}
.p-step-next a {
  text-align: right;
  padding: 12px 100px 12px 0;
}
.p-step-prev a:hover,
.p-step-next a:hover {
  color: #d83d71;
}
.p-step-prev a:before {
  content: '';
  display: block;
  position: absolute;
  width: 10px;
  height: 1px;
  background: #5e95cf;
  top: 24px;
  left: 20px;
  transition: width .3s, left .3s;
  -moz-transition: width .3s, left .3s;
  -webkit-transition: width .3s, left .3s;
}
.p-step-prev a:hover:before {
  width: 20px;
  left: 10px;
}
.p-step-prev a:after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 5px 3.5px 0;
  border-color: transparent #5e95ce transparent transparent;
  top: 21px;
  left: 15px;
  transition: left .3s;
  -moz-transition: left .3s;
  -webkit-transition: left .3s;
}
.p-step-prev a:hover:after {
  left: 5px;
}
.p-step-next a:before {
  content: '';
  display: block;
  position: absolute;
  width: 10px;
  height: 1px;
  background: #5e95cf;
  top: 24px;
  right: 20px;
  transition: width .3s, right .3s;
  -moz-transition: width .3s, right .3s;
  -webkit-transition: width .3s, right .3s;
}
.p-step-next a:hover:before {
  width: 20px;
  right: 10px;
}
.p-step-next a:after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 0 3.5px 5px;
  border-color: transparent transparent transparent #5e95ce;
  top: 21px;
  right: 15px;
  transition: right .3s;
  -moz-transition: right .3s;
  -webkit-transition: right .3s;
}
.p-step-next a:hover:after {
  right: 5px;
}
.p-step-prev a span,
.p-step-next a span {
  display: block;
  position: absolute;
  color: #5e95cf;
  top: 12px;
  left: 40px;
}
.p-step-next a span {
  left: auto;
  right: 40px;
}

/* Page Back */
.p-back {
  text-align: center;
  margin: 30px 0;
}
.p-back .back {
  display: inline-block;
  height: 36px;
  line-height: 34px;
  font-size: 0.9375rem;
  color: #d83d71;
  border: 1px solid #d83d71;
  border-radius: 18px;
  vertical-align: top;
  padding: 0 45px;
  transition: color .3s, background .3s;
  -moz-transition: color .3s, background .3s;
  -webkit-transition: color .3s, background .3s;
}
.p-back .back:hover {
  color: #fff;
  background: #d83d71;
}
@media (max-width: 767px) {
  #news .view-inner .p-back {
    margin-top: 15px;
  }
}

/* Header */
.header {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 130px;
  background: #fff;
  top: 0;
  left: 0;
  padding: 0 30px;
}
@keyframes headerScroll {
  from { opacity: 0; margin-top: -95px; }
  to { opacity: 1; margin-top: 0; }
}
@-moz-keyframes headerScroll {
  from { opacity: 0; margin-top: -95px; }
  to { opacity: 1; margin-top: 0; }
}
@-webkit-keyframes headerScroll {
  from { opacity: 0; margin-top: -95px; }
  to { opacity: 1; margin-top: 0; }
}
.header .container-fluid {
  position: relative;
}
.header .logo {
  float: left;
  width: 250px;
  height: 90px;
  margin: 18px 0 0;
}
.header .logo a {
  display: block;
  position: relative;
  height: 90px;
  overflow: hidden;
  /*background: url('../images/logo_full.jpg') no-repeat;
  background-size: cover;*/
}
.header .logo a img {
  display: block;
  position: absolute;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
.header .opts {
  float: right;
  font-size: 0;
  margin: 20px 5px 0 0;
}
.header .opts .lang {
  display: inline-block;
  vertical-align: top;
}
.header .opts .lang .btn {
  display: block;
  position: relative;
  line-height: 22px;
  font-size: 0.9375rem;
  border: none;
  background: #fff !important;
  border-radius: 0;
  box-shadow: none !important;
  padding: 6px 10px 6px 30px;
}
.header .opts .lang .btn:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.header .opts .lang .btn:before {
  content: '';
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  background: url('../images/header_lang.png') no-repeat;
  background-size: cover;
  top: 8px;
  left: 8px;
}
.header .opts .lang .btn:after {
  content: '';
  display: block;
  position: absolute;
  width: calc(100% - 40px);
  height: 1px;
  background: #222;
  right: 10px;
  bottom: 7px;
}
.header .opts .lang .dropdown-menu {
  min-width: 100%;
  border: none;
  background: rgba(0,0,0,.65);
  border-radius: 0;
  box-shadow: none !important;
  margin: 0;
  left: 50%;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
.header .opts .lang .dropdown-menu:before {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 4px 6px 4px;
  border-color: transparent transparent rgba(0,0,0,.65) transparent;
  top: -6px;
  left: 50%;
  margin-left: -4px;
}
.header .opts .lang .dropdown-menu > li > a {
  line-height: 20px;
  font-size: 0.875rem;
  color: #fff;
  text-align: center;
  padding: 5px 15px;
}
.header .opts .lang .dropdown-menu > li > a:hover,
.header .opts .lang .dropdown-menu > li.current > a {
  background: rgba(0,0,0,.5);
}
.header .opts .sitemap {
  display: inline-block;
  vertical-align: top;
  line-height: 34px;
  font-size: 0.9375rem;
  color: #222;
  padding: 0 10px;
}
.header .opts .sitemap:hover {
  color: #4193d6;
}
.header .opts .font {
  display: inline-block;
  vertical-align: top;
  padding: 0 0 0 10px;
}
.header .opts .font > span {
  display: inline-block;
  line-height: 34px;
  font-size: 0.9375rem;
  margin-right: 10px;
  vertical-align: middle;
}
.header .opts .font .dropdown {
  display: inline-block;
  vertical-align: middle;
}
.header .opts .search {
  text-align: right;
  margin-top: 15px;
}
.header .opts .search .search-switch {
  display: none;
}
.header .opts .search form {
  display: inline-block;
  position: relative;
  font-size: 0;
  text-align: left;
  vertical-align: top;
}
.header .opts .search input {
  display: inline-block;
  width: 160px;
  height: 34px;
  font-size: 0.8125rem;
  border: 1px solid #e5e5e5;
  border-right: 0;
  vertical-align: top;
  padding: 0 10px;
}
.header .opts .search .submit {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 34px;
  vertical-align: top;
  border: none;
  background: rgba(65,147,214,1);
  background: -moz-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(65,147,214,1)), color-stop(100%, rgba(115,194,214,1)));
  background: -webkit-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
  background: -o-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
  background: -ms-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
  background: linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4193d6', endColorstr='#73c2d6', GradientType=1 );
}
.header .opts .search .submit:hover {
  background: rgba(115,194,214,1);
  background: -moz-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(115,194,214,1)), color-stop(100%, rgba(65,147,214,1)));
  background: -webkit-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
  background: -o-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
  background: -ms-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
  background: linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73c2d6', endColorstr='#4193d6', GradientType=1 );
}
.header .opts .search .submit:before {
  content: '';
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  background: url('../images/header_search.png') no-repeat;
  background-size: cover;
  top: 7px;
  left: 10px;
}
.header .nav-menu {
  position: absolute;
  top: 52px;
  left: 290px;
}
.header .nav-menu .menu-main {
  font-size: 0;
}
.header .nav-menu .menu-main > li {
  display: inline-block;
  position: relative;
  vertical-align: top;
}
.header .nav-menu .menu-main > li.show-xxs {
  display: none;
}
.header .nav-menu .menu-main > li + li {
  margin-left: 1px;
}
.header .nav-menu .menu-main > li + li:before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 14px;
  background: #c5d9e3;
  top: 18px;
  left: -1px;
}
.header .nav-menu .menu-main > li > h3 {
  margin: 0;
}
.header .nav-menu .menu-main > li > h3 > a {
  display: block;
  position: relative;
  line-height: 30px;
  font-size: 1rem;
  color: #222;
  padding: 10px 18px;
  transition: color .3s;
  -moz-transition: color .3s;
  -webkit-transition: color .3s;
}
.header .nav-menu .menu-main > li > h3 > a:hover,
.header .nav-menu .menu-main > li.current > h3 > a {
  color: #4193d6;
}
.header .nav-menu .menu-main > li > h3 > a:after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 2px;
  background: rgba(65,147,214,.75);
  left: 50%;
  bottom: 10px;
  opacity: 0;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transition: opacity .3s, width .3s;
  -moz-transition: opacity .3s, width .3s;
  -webkit-transition: opacity .3s, width .3s;
}
.header .nav-menu .menu-main > li > h3 > a:hover:after,
.header .nav-menu .menu-main > li.current > h3 > a:after {
  width: calc(100% - 36px);
  opacity: 1;
}
@media (min-width: 1480px) {
  .header.scroll {
    position: fixed;
    height: 95px;
    border-bottom: 1px solid #e5e5e5;
    opacity: 0;
    margin-top: -95px;
    padding: 0;
    animation: headerScroll .5s forwards;
    -moz-animation: headerScroll .5s forwards;
    -webkit-animation: headerScroll .5s forwards;
  }
  .header.scroll .logo {
    width: 215px;
    height: 78px;
    margin-top: 8px;
  }
  .header.scroll .logo a {
    height: 78px;
  }
  .header.scroll .opts {
    margin-top: 30px;
    margin-right: 0;
  }
  .header.scroll .opts .opts-up {
    display: inline-block;
    vertical-align: middle;
  }
  .header.scroll .opts .lang .btn {
    padding: 6px 6px 6px 26px;
  }
  .header.scroll .opts .lang .btn:before {
    left: 4px;
  }
  .header.scroll .opts .lang .btn:after {
    width: calc(100% - 32px);
    right: 6px;
  }
  .header.scroll .opts .sitemap {
    padding: 0 6px;
  }
  .header.scroll .opts .font {
    padding-left: 6px;
  }
  .header.scroll .opts .font > span {
    margin-right: 6px;
  }
  .header:not(.scroll) .opts .font .btn {
    display: none;
  }
  .header:not(.scroll) .opts .font .dropdown-menu {
    display: block !important;
    position: relative;
    float: none;
    min-width: initial;
    font-size: 0;
    border: none;
    background: none;
    border-radius: 0;
    box-shadow: none !important;
    top: auto;
    left: auto;
    margin: 0;
    padding: 0;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li {
    display: inline-block;
    vertical-align: top;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li + li {
    margin-left: 8px;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li > a {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.8125rem;
    color: #222;
    border-radius: 100%;
    text-align: center;
    padding: 0;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li > a:hover {
    background: #e8e8e8;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li.current > a {
    color: #fff;
    background: rgba(65,147,214,1);
    background: -moz-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(65,147,214,1)), color-stop(100%, rgba(115,194,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4193d6', endColorstr='#73c2d6', GradientType=1 );
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li > a:before {
    content: '';
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li > a:hover:before,
  .header:not(.scroll) .opts .font .dropdown-menu > li.current > a:before {
    display: none;
  }
  .header.scroll .opts .font .btn {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.875rem;
    color: #fff;
    border: none;
    border-radius: 100%;
    padding: 0;
    background: rgba(65,147,214,1);
    background: -moz-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(65,147,214,1)), color-stop(100%, rgba(115,194,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4193d6', endColorstr='#73c2d6', GradientType=1 );
  }
  .header.scroll .opts .font .btn:hover,
  .header.scroll .opts .font .open .btn {
    background: rgba(115,194,214,1);
    background: -moz-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(115,194,214,1)), color-stop(100%, rgba(65,147,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73c2d6', endColorstr='#4193d6', GradientType=1 );
  }
  .header.scroll .opts .font .dropdown-menu {
    min-width: 100%;
    border: none;
    background: rgba(0,0,0,.65);
    border-radius: 0;
    box-shadow: none !important;
    margin: 6px 0 0;
    left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  .header.scroll .opts .font .dropdown-menu:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent rgba(0,0,0,.65) transparent;
    top: -6px;
    left: 50%;
    margin-left: -4px;
  }
  .header.scroll .opts .font .dropdown-menu > li > a {
    line-height: 20px;
    font-size: 0.875rem;
    color: #fff;
    text-align: center;
    padding: 5px 15px;
  }
  .header.scroll .opts .font .dropdown-menu > li > a:hover,
  .header.scroll .opts .font .dropdown-menu > li.current > a {
    background: rgba(0,0,0,.5);
  }
  .header.scroll .opts .search {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: left;
    margin: 0 0 0 12px;
  }
  .header.scroll .opts .search .search-switch {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background: rgba(65,147,214,1);
    background: -moz-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(65,147,214,1)), color-stop(100%, rgba(115,194,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4193d6', endColorstr='#73c2d6', GradientType=1 );
  }
  .header.scroll .opts .search .search-switch:hover,
  .header.scroll .opts .search.open .search-switch {
    background: rgba(115,194,214,1);
    background: -moz-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(115,194,214,1)), color-stop(100%, rgba(65,147,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73c2d6', endColorstr='#4193d6', GradientType=1 );
  }
  .header.scroll .opts .search .search-switch:before {
    content: '';
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    background: url('../images/header_search.png') no-repeat;
    background-size: cover;
    top: 4px;
    left: 4px;
  }
  .header.scroll .opts .search form {
    display: none;
    position: absolute;
    width: 210px;
    background: rgba(167,212,238,.5);
    margin-top: 6px;
    padding: 5px;
    top: 100%;
    right: 0;
  }
  .header.scroll .opts .search.open form {
    display: block;
  }
  .header.scroll .opts .search form:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent rgba(167,212,238,.5) transparent;
    top: -6px;
    right: 8px;
  }
  .header .nav-menu {
    display: block !important;
  }
  .header.scroll .nav-menu {
    top: 22px;
    left: 225px;
  }
  .header .nav-switch {
    display: none;
  }
}
@media (max-width: 1599px) {
  .header {
    padding: 0;
  }
  .header .opts {
    margin-right: 0;
  }
  .header .nav-menu {
    top: 69px;
    left: 280px;
  }
  .header.scroll .nav-menu {
    top: 30px;
    left: 240px;
  }
  .header .nav-menu .menu-main > li + li:before {
    top: 10px;
  }
  .header .nav-menu .menu-main > li > h3 > a {
    padding: 2px 10px;
  }
  .header .nav-menu .menu-main > li > h3 > a:after {
    bottom: 2px;
  }
  .header .nav-menu .menu-main > li > h3 > a:hover:after,
  .header .nav-menu .menu-main > li.current > h3 > a:after {
    width: calc(100% - 30px);
  }
}
@media (max-width: 1479px) {
  .header {
    position: fixed;
    height: 90px;
    border-bottom: 1px solid #e5e5e5;
  }
  .header .logo {
    width: 200px;
    height: 72px;
    margin-top: 9px;
  }
  .header .logo a {
    height: 72px;
  }
  .header .opts {
    margin-top: 28px;
  }
  .header .opts .opts-up {
    display: inline-block;
    vertical-align: middle;
  }
  .header .opts .lang .btn {
    padding: 6px 6px 6px 26px;
  }
  .header .opts .lang .btn:before {
    left: 4px;
  }
  .header .opts .lang .btn:after {
    width: calc(100% - 32px);
    right: 6px;
  }
  .header .opts .sitemap {
    padding: 0 6px;
  }
  .header .opts .font {
    padding-left: 6px;
  }
  .header .opts .font > span {
    margin-right: 6px;
  }
  .header .opts .font .btn {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.875rem;
    color: #fff;
    border: none;
    border-radius: 100%;
    padding: 0;
    background: rgba(65,147,214,1);
    background: -moz-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(65,147,214,1)), color-stop(100%, rgba(115,194,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4193d6', endColorstr='#73c2d6', GradientType=1 );
  }
  .header .opts .font .btn:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }
  .header .opts .font .btn:hover,
  .header .opts .font .open .btn {
    background: rgba(115,194,214,1);
    background: -moz-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(115,194,214,1)), color-stop(100%, rgba(65,147,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73c2d6', endColorstr='#4193d6', GradientType=1 );
  }
  .header .opts .font .dropdown-menu {
    min-width: 100%;
    border: none;
    background: rgba(0,0,0,.65);
    border-radius: 0;
    box-shadow: none !important;
    margin: 6px 0 0;
    left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  .header .opts .font .dropdown-menu:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent rgba(0,0,0,.65) transparent;
    top: -6px;
    left: 50%;
    margin-left: -4px;
  }
  .header .opts .font .dropdown-menu > li > a {
    line-height: 20px;
    font-size: 0.875rem;
    color: #fff;
    text-align: center;
    padding: 5px 15px;
  }
  .header .opts .font .dropdown-menu > li > a:hover,
  .header .opts .font .dropdown-menu > li > a:focus,
  .header .opts .font .dropdown-menu > li.current > a {
    background: rgba(0,0,0,.5);
  }
  .header .opts .search {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: left;
    margin: 0 0 0 12px;
  }
  .header .opts .search .search-switch {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background: rgba(65,147,214,1);
    background: -moz-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(65,147,214,1)), color-stop(100%, rgba(115,194,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4193d6', endColorstr='#73c2d6', GradientType=1 );
  }
  .header .opts .search .search-switch:hover,
  .header .opts .search.open .search-switch {
    background: rgba(115,194,214,1);
    background: -moz-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(115,194,214,1)), color-stop(100%, rgba(65,147,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    background: linear-gradient(45deg, rgba(115,194,214,1) 0%, rgba(65,147,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73c2d6', endColorstr='#4193d6', GradientType=1 );
  }
  .header .opts .search .search-switch:before {
    content: '';
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    background: url('../images/header_search.png') no-repeat;
    background-size: cover;
    top: 4px;
    left: 4px;
  }
  .header .opts .search form {
    display: none;
    position: absolute;
    width: 210px;
    background: rgba(167,212,238,.5);
    margin-top: 6px;
    padding: 5px;
    top: 100%;
    right: 0;
  }
  .header .opts .search.open form {
    display: block;
  }
  .header .opts .search form:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent rgba(167,212,238,.5) transparent;
    top: -6px;
    right: 8px;
  }
  .header .nav-switch {
    display: block;
    float: right;
    width: 40px;
    height: 40px;
    color: #aaa;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 4px;
    text-align: center;
    margin: 25px 0 0 12px;
  }
  .header .nav-switch:hover {
    color: #666;
    border-color: #bbb;
  }
  .header .nav-switch i.fa {
    line-height: 38px;
    font-size: 1.25rem;
  }
  .header .nav-switch i.fa[data-nav-open] {
    display: none;
  }
  .header.nav-open .nav-switch {
    color: #fff;
    border-color: #5e95ce;
    background: #5e95ce;
  }
  .header.nav-open .nav-switch i.fa[data-nav-open] {
    display: inline-block;
  }
  .header.nav-open .nav-switch i.fa[data-nav-close] {
    display: none;
  }
  .header .nav-menu {
    display: none;
    position: fixed;
    width: 100%;
    height: calc(100% - 90px);
    background: #fff;
    top: 90px !important;
    left: 0 !important;
    padding: 15px 15px 60px;
    overflow-y: auto;
  }
  .header .nav-menu .menu-main > li {
    display: block;
  }
  .header .nav-menu .menu-main > li + li {
    border-top: 1px solid #f0f0f0;
    margin-left: 0;
  }
  .header .nav-menu .menu-main > li + li:before {
    display: none;
  }
  .header .nav-menu .menu-main > li > h3 > a {
    text-align: center;
    padding: 10px 10px;
  }
  .header .nav-menu .menu-main > li > h3 > a:after {
    display: none;
  }
}
@media (max-width: 767px) {
  .header {
    height: 70px;
  }
  .header .logo {
    max-width: 166px;
    height: 60px;
    margin-top: 5px;
  }
  .header .logo a {
    height: 60px;
    /*background-image: url('../images/logo_short.jpg');*/
  }
  .header .opts {
    margin-top: 18px;
  }
  .header .nav-switch {
    margin-top: 15px;
  }
  .header .nav-menu {
    height: calc(100% - 70px);
    top: 70px !important;
  }
}
@media (max-width: 767px) {
  .header .opts .sitemap,
  .header .opts .font {
    display: none;
  }
  .header .nav-menu .menu-main > li.show-xxs {
    display: block;
  }
  .header .nav-menu .menu-main > li.font {
    text-align: center;
    padding: 8px 10px;
  }
  .header .nav-menu .menu-main > li.font span {
    display: inline-block;
    line-height: 34px;
    font-size: 0.875rem;
    vertical-align: middle;
  }
  .header .nav-menu .menu-main > li.font > ul {
    display: inline-block;
    vertical-align: middle;
  }
  .header .nav-menu .menu-main > li.font > ul > li {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
  }
  .header .nav-menu .menu-main > li.font > ul > li > a {
    display: block;
    position: relative;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 0.875rem;
    color: #222;
    border-radius: 100%;
  }
  .header .nav-menu .menu-main > li.font > ul > li > a:hover {
    background: #e8e8e8;
  }
  .header .nav-menu .menu-main > li.font > ul > li.current > a {
    color: #fff;
    background: rgba(65,147,214,1);
    background: -moz-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(65,147,214,1)), color-stop(100%, rgba(115,194,214,1)));
    background: -webkit-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -o-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    background: linear-gradient(45deg, rgba(65,147,214,1) 0%, rgba(115,194,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4193d6', endColorstr='#73c2d6', GradientType=1 );
  }
  .header .nav-menu .menu-main > li.font > ul > li:not(.current) > a:before {
    content: '';
    display: block;
    position: absolute;
    width: 34px;
    height: 34px;
    border: 1px solid #e8e8e8;
    border-radius: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
  }
}
@media (max-width: 419px) {
  .header .container-fluid {
    padding: 0;
  }
  .header .nav-switch {
    margin-left: 5px;
    margin-right: 5px;
  }
  .header .opts .search {
    margin-left: 5px;
  }
}

/* Footer */
.footer {
  position: relative;
  font-size: 0;
  border-top: 2px solid #535353;
  background: #313131;
  text-align: center;
  padding: 25px 0;
}
.footer .container > div {
  display: inline-block;
  line-height: 31px;
  font-size: 0.875rem;
  color: #fff;
  vertical-align: middle;
  margin: 0 5px;
}
.footer .container a {
  color: #c0bfbf;
}
.footer .container a:hover {
  color: #ddd;
}
@media (max-width: 767px) {
  .footer {
    padding: 15px 0;
  }
  .footer .container > .stamp {
    display: block;
    margin: 5px 0 0;
  }
}
@media (max-width: 543px) {
  .footer .container > .view {
    display: block;
    margin: 0;
  }
}
@media (max-width: 479px) {
  .footer .container > div {
    display: block;
    margin: 0;
  }
}

/* Go Top */
.go-top {
  display: block;
  position: fixed;
  width: 41px;
  height: 41px;
  background: #d83d71;
  border-radius: 100%;
  right: 60px;
  bottom: 20px;
  opacity: 0;
  transform: scale(0);
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
  transition: opacity .3s, transform 0s .3s;
  -moz-transition: opacity .3s, transform 0s .3s;
  -webkit-transition: opacity .3s, transform 0s .3s;
}
.go-top.scroll-view {
  opacity: .75;
  transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  transition: opacity .3s, transform 0s;
  -moz-transition: opacity .3s, transform 0s;
  -webkit-transition: opacity .3s, transform 0s;
}
.go-top:hover {
  opacity: 1;
}
.go-top:before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 12px;
  background: #fff;
  top: 5px;
  left: 20px;
  transition: height .3s;
  -moz-transition: height .3s;
  -webkit-transition: height .3s;
}
.go-top:hover:before {
  height: 0;
}
.go-top:after {
  content: 'TOP';
  display: block;
  position: absolute;
  width: 100%;
  line-height: 19px;
  font-size: 0.8125rem;
  color: #fff;
  text-align: center;
  top: 17px;
  left: 0;
  transition: top .3s;
  -moz-transition: top .3s;
  -webkit-transition: top .3s;
}
.go-top:hover:after {
  top: 11px;
}
@media (max-width: 1199px) {
  .go-top {
    right: 25px;
  }
}

/* 文字編輯器 */
.text-edit * {
  max-width: 100%;
}
.text-edit img {
  height: auto !important;
}

/* New Game */
#rick-map {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 130px;
  background: url('../images/assessment_bg.jpg') center no-repeat;
  background-size: cover;
}
#rick-map.quest {
  min-height: calc(100vh - 213px);
  background: #b2e077 url('../images/rick_step.jpg') right 130px no-repeat;
}
#rick-map .inner {
  position: relative;
  height: calc(100vh - 130px);
  min-height: 790px;
  background: url('../images/risk_map.png') right bottom no-repeat;
  padding: 50px 15px;
}
#rick-map.quest .inner {
  background: none;
}
#rick-map .inner.bg {
  height: auto;
  min-height: inherit;
}
#rick-map .map {
  position: relative;
  max-width: 1400px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
#rick-map .inner.bg .map {
  position: absolute;
  width: 100%;
  left: 50%;
  filter: blur(10px);
  opacity: .75;
  transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
}
#rick-map .map:before {
  content: '';
  display: block;
  padding-bottom: 45%;
}
#rick-map .map .subject {
  position: absolute;
  width: 431px;
  height: 172px;
  background: url('../images/risk_title.png') center no-repeat;
  background-size: cover;
  top: -4.3%;
  left: calc(10.75% + 180px);
  margin: 0;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
#rick-map .map .subject:before{
  content: '';
  display: inline-block;
  width: 100px;
  height: 110px;
  top: 50%;
  left: -20px;
  position: absolute;
  background: url('../images/ROC_HPAS.png') center center no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  -webkit-transform: translate(-100%, -50%);
  -ms-transform: translate(-100%, -50%);
  -o-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}
#rick-map .map .icons i {
  display: block;
  position: absolute;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#rick-map .map .icons i.balloon {
  width: 6.4285%;
  height: 18%;
  background-image: url('../images/rick_icon_balloon.png');
  top: 5.1219%;
  left: 100%;
  transform-origin: center top;
  -moz-transform-origin: center top;
  -webkit-transform-origin: center top;
}
#rick-map .map .icons i.house {
  width: 7.52%;
  height: 7.9756%;
  background-image: url('../images/rick_house.png');
  transform-origin: center bottom;
  -moz-transform-origin: center bottom;
  -webkit-transform-origin: center bottom;
}
#rick-map .map .icons i.house {
  top: 82.121%;
  left: 90.8%;
}
#rick-map .map .icons i[class^="tree"] {
  transform-origin: center bottom;
  -moz-transform-origin: center bottom;
  -webkit-transform-origin: center bottom;
}
#rick-map .map .icons i[class^="tree"] {
  width: 4.5%;
  height: 10%;
  background-image: url('../images/rick_tree_1.png');
}
#rick-map .map .icons i.tree-1 {
  top: 104%;
  left: 16.4285%;
}
#rick-map .map .icons i.tree-2 {
  width: 2.214%;
  height: 11.8%;
  top: 89.17%;
  left: 58.357%;
  background-image: url('../images/rick_tree_2.png');
}
#rick-map .map .icons i.tree-3 {
  width: 5.2%;
  height: 18.634%;
  top: 71.536%;
  left: 98.142%;
  background-image: url('../images/rick_tree_3.png');
}
#rick-map .map .icons i.tree-4 {
  width: 6.6%;
  height: 12.14%;
  top: 80%;
  left: 111%;
  background-image: url('../images/rick_tree_4.png');
}
#rick-map .map .icons i.people {
  width: 7%;
  height: 15.5%;
  background-image: url('../images/rick_people_1.png');
  top: 95%;
  right: 5.457%;
}
#rick-map .map .icons i[class^="cloud"] {
  width: 7.7%;
  height: 5.8%;
  background-image: url('../images/assessment_cloud.png');
}
#rick-map .map .icons i.cloud-1 {
  top: 0;
  left: -6.562%;
}
#rick-map .map .icons i.cloud-2 {
  width: 10.714%;
  height: 7.5%;
  top: -7.277%;
  left: 40.812%;
}
#rick-map .map .icons i.cloud-3 {
  width: 10.714%;
  height: 7.5%;
  top: 15.707%;
  left: 105%;
}
#rick-map .map .icons i.cloud-4 {
  width: 7.214%;
  height: 5.1463%;
  top: 7.5951%;
  left: 74%;
}
#rick-map .map .icons i.cloud-5 {
  width: 5.625%;
  height: 3.03%;
  top: 16.666%;
  left: 75.625%;
}
#rick-map .map .icons i.cloud-6 {
  width: 5.071%;
  height: 3.804%;
  top: 12.682%;
  left: 39.785%;
}
#rick-map .map .icons i.cloud-7 {
  width: 5.625%;
  height: 3.03%;
  top: 46.388%;
  left: 3.562%;
}
#rick-map .map .icons i.cloud-8 {
  width: 5.071%;
  height: 3.804%;
  top: 9.305%;
  left: 78%;
}
#rick-map .map .icons div[class^="bird"] {
  position: absolute;
  width: 4.6%;
  height: 6.5%;
}
#rick-map .map .icons div.bird-1 {
  top: 16.388%;
  left: 41.785%;
}
#rick-map .map .icons div.bird-2 {
  top: 56.707%;
  left: 100%;
}
#rick-map .map .icons i[class^="bird"] {
  background-image: url('../images/rick_bird.png');
}
#rick-map .map .icons i.bird-1 {
  width: 60%;
  height: 34.615%;
  top: 0;
  left: 0;
}
#rick-map .map .icons i.bird-2 {
  width: 45%;
  height: 25.961%;
  top: 19.230%;
  right: 0;
}
#rick-map .map .icons i.bird-3 {
  width: 35%;
  height: 20.192%;
  left: 22.5%;
  bottom: 0;
}
#rick-map .icon-bg {
  position: absolute;
  width: 100%;
  max-width: 665px;
  top: 27.1219%;
  left: 0;
  border: 6px solid #fff;
  border-radius: 30px;
  background: rgba(255,255,255,.5 );
  padding: 50px 0 10px;
}
#rick-map .icon-bg .icon {
  display: inline-block;
  width: calc(100% / 3 - 4px);
  height: 160px;
  text-align: center;
  margin-bottom: 40px;
}
#rick-map .map .cover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  top: 0;
  left: 0;
}
#rick-form {
  font-family: 'Microsoft JhengHei UI','Microsoft JhengHei',Sans-serif;
  max-width: 1250px;
  border: 2px solid #fff;
  background: rgba(255,255,255,.9);
  border-radius: 10px;
  margin: 30px auto 0;
  padding: 60px 60px 90px;
  perspective: 500px;
  -moz-perspective: 500px;
  -webkit-perspective: 500px;
}
#rick-form > * {
  position: relative;
}
#rick-form .title {
  font-size: 1.25rem;
  color: #fff;
  background: #e9597e;
  max-width: 305px;
  padding: 15px;
  margin: 30px 0;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}
#rick-form .title.margin-5 {
  margin-top: 5px;
}
#rick-form .field {
  display: inline-block;
  width: calc(50% - 4px);
  vertical-align: top;
  margin: 0 0 30px;
  padding: 0 10px;
}
#rick-form dl {
  padding: 0 10px;
}
#rick-form dt {
  font-weight: normal;
  margin-bottom: 15px;
  font-size: 1.125rem;
}
#rick-form dd {
  padding: 0 0 0 25px;
  font-size: 1rem;
}
#rick-form dd.ok-sexual .radio{
  font-size: 0;
  padding: 0 25px;
  display: block;
  margin: 0;
}
#rick-form dd.ok-sexual .radio input{
  display: none!important;
}
#rick-form dd.ok-sexual .radio span:before{
  display: none;
}
#rick-form dd.ok-sexual .radio input[checked] + span{
  font-size: 1rem;
}
#rick-form dd.sexual {
  background: #f1f1f1;
  padding: 18px;
  margin-left: 25px;
}
#rick-form .radio {
  display: inline-block;
  cursor: pointer;
  padding: 0 35px;
}
#rick-form .radio.chioce {
  padding: 0 35px 0 0;
}
#rick-form .radio input {
  display: none;
}
#rick-form .radio span:before {
  content: '';
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  top: -1px;
  left: 2px;
  background: url(../images/game_map_survey_check.png) no-repeat;
  background-size: cover;
}
#rick-form .radio input:checked +span:before {
  background-position: 0 -24px;
}
#rick-form .radio input:checked + span:after {
  content: '';
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 2px;
  left: 5px;
}
#rick-form .field.w100 {
  width: 100%;
}
#rick-form .field .radio span {
  display: block;
  position: relative;
  line-height: 24px;
  padding: 0 0 0 22px;
}
#rick-form .field .radio.chioce span {
  padding: 0 0 0 35px;
}
#rick-form .field .input {
  width: 100%;
  border: 1px solid #e5e5e5;
  padding: 15px;
}
#rick-form .field .input::-webkit-input-placeholder{
  color: #aaa;
  font-size: 14px;
}
#rick-form .field .input::-moz-placeholder{
  color: #aaa;
  font-size: 14px;
}
#rick-form .field .input:-ms-input-placeholder, #rick-form .field .input:-moz-placeholder{
  color: #aaa;
  font-size: 14px;
}
#rick-form strong {
  font-weight: normal;
  color: #f8791b;
}
#rick-form .text {
  text-align: center;
  color: #666;
}
#rick-form .result {
  display: inline-block;
  width: calc(50% - 10px);
  padding: 30px;
  color: #666;
  vertical-align: top;
  background: #fff;
  margin-right: 10px;
}
#rick-form .result:last-child {
  margin-right: 0;
}
#rick-form .result.w100 {
  width: 100%;
  background: none;
  padding: 20px 0 30px;
}
#rick-form .result.gary {
  background: url(../images/rick_bg.gif) repeat;
}
#rick-form .result .title {
  color: #222;
  font-size: 1.4375rem;
  letter-spacing: 2px;
  background: none;
  margin: 0;
  padding: 0;
}
#rick-form .result.w100 .title,
#rick-form .result .date {
  display: inline-block;
  width: calc(100% / 2 - 30px);
}
#rick-form .result .date {
  text-align: right;
  color: #222;
}
#rick-form .select-box .input {
  display: inline-block;
  width: 140px;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  vertical-align: middle;
  margin: 0 5px;
  padding: 0 10px;
}
#rick-form .select-box span {
  display: inline-block;
  line-height: 40px;
  font-size: 0.875rem;
  vertical-align: middle;
}
#rick-form .weight-table-wrap {
  margin: 10px 0;
}
#rick-form .weight-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px 0 0;
  background: #fff;
  border-bottom: 1px solid #b7bdbd;
}
#rick-form .weight-table thead th {
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #fff;
  border: none;
  background: #333;
  padding: 8px 2px;
  text-align: center;
}
#rick-form .weight-table thead th.age,
#rick-form .weight-table tbody td.age {
  width: 50px;
}
#rick-form .weight-table thead th.mg {
  width: 150px;
}
#rick-form .weight-table tbody tr:nth-child(odd) {
  background: #e6e6e6;
  padding: 10px 0;
}
#rick-form .weight-table tbody th,
#rick-form .weight-table tbody td {
  position: relative;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  padding: 8px 10px;
  text-align: center;
}
@media (max-width: 767px) {
  #rick-form .weight-table,
  #rick-form .weight-table tbody,
  #rick-form .weight-table tr,
  #rick-form .weight-table th,
  #rick-form .weight-table td {
    display: block;
    width: 100% !important;
  }
  #rick-form .weight-table thead {
    display: none;
  }
  #rick-form .weight-table tbody th:before,
  #rick-form .weight-table tbody :not(.no-data) td:not(.del):before {
    content: attr(title);
    display: block;
    position: absolute;
    color: #222;
    padding: 8px 15px;
    top: 2px;
    left: 0;
  }
  #rick-form .weight-table tbody th,
  #rick-form .weight-table tbody td {
    padding-left: 130px;
    text-align: left;
  }
}
#rick-form .select-box .submit {
  display: inline-block;
  height: 34px;
  font-size: 0.875rem;
  color: #fff;
  background: #d83d71;
  border-radius: 0;
  box-shadow: none !important;
  vertical-align: middle;
  padding: 0 10px;
}
#rick-form .result .icon-event,
#rick-form .result .icon-result {
  max-width: 100%;
  text-align: left;
  padding-left: 40px;
  background: url(../images/icon_event.png) 0 3px no-repeat;
}
#rick-form .result .icon-result {
  background: url(../images/icon_result.png) 0 3px no-repeat;
}
#rick-form .result .result-text {
  color: #666;
  background: #fffaed;
  padding: 15px 20px;
  font-size: 1rem;
  margin-top: 10px;
}
#rick-form .result .result-text span {
  color: #90c422;
  margin: 0 5px;
}
#rick-form ul.result-list,
#rick-form .result-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}
#rick-form .result ul.result-list li {
  font-size: 1.125rem;
  margin: 10px 0;
  padding: 0;
}
#rick-form .curve-ti {
  display: block;
  text-align: center;
}
#rick-form .curve-ti .tip {
  position: relative;
  display: block;
  text-align: center;
  line-height: 15px;
  margin-top: 10px;
}
#rick-form .icon-ti {
  position: relative;
  color: #222;
  padding-left: 17px;
}
#rick-form .icon-ti:before {
  position: absolute;
  content: '';
  width: 7px;
  height: 7px;
  background: #d83d71;
  border-radius: 50%;
  top: 9px;
  left: 5px;
}
#rick-form .edit-wrap .txt {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}
#rick-form .edit-wrap .txt:last-child {
  border: none;
}
#rick-form .btn-box {
  font-size: 0;
  text-align: center;
  margin-top: 20px;
  padding: 0 15px;
}
#rick-form .btn-box .btn {
  display: inline-block;
  width: calc(50% - 5px);
  max-width: 200px;
  height: 40px;
  font-size: .9375rem;
  border-radius: 0;
  box-shadow: none !important;
  text-align: center;
  padding: 0;
  line-height: 40px;
}
#rick-form .btn-box .btn:hover,
#rick-form .btn-box .btn:focus,
#rick-form .btn-box .btn:active {
  box-shadow: 0 0 999px rgba(255,255,255,.25) inset !important;
}
#rick-form .btn-box .reset {
  color: #fff;
  background: #555;
}
#rick-form .btn-box .submit {
  color: #fff;
  background: #e9597e;
  margin-left: 10px;
}
.charts {
  margin-top: 8px;
}
.charts span {
  font-size: 1.125rem;
}
.charts.charts--vertical .charts__percent:empty::after,
.charts:not(.charts--vertical) [data-percent]::after {
	content:" " !important;
}
.charts__chart,
.chart--default {
  background: none;
  border-radius: 50px;
  height: 10px;
  margin: 13px 0;
}
.chart--default {
  background: url(../images/result_bar_center.png)repeat-x;
}
.chart--green {
  background: url(../images/result_bar.png) repeat-x;
}
.chart--red {
  background: url(../images/red_bar.png) repeat-x;
}
.charts-left,
.charts-right {
  display: inline-block;
  width: calc(50% - 10px);
}
.charts-right {
  text-align: right;
}
@keyframes gameMapIcon1 {
  0% { opacity: 0; transform: scale(0.5,0); }
  50% { opacity: 1; transform: scale(1,1.2); }
  70% { opacity: 1; transform: scale(1,0.8); }
  90% { opacity: 1; transform: scale(1,1.1); }
  100% { opacity: 1; transform: scale(1,1); }
}
@-moz-keyframes gameMapIcon1 {
  0% { opacity: 0; -moz-transform: scale(0.5,0); }
  50% { opacity: 1; -moz-transform: scale(1,1.2); }
  70% { opacity: 1; -moz-transform: scale(1,0.8); }
  90% { opacity: 1; -moz-transform: scale(1,1.1); }
  100% { opacity: 1; -moz-transform: scale(1,1); }
}
@-webkit-keyframes gameMapIcon1 {
  0% { opacity: 0; -webkit-transform: scale(0.5,0); }
  50% { opacity: 1; -webkit-transform: scale(1,1.2); }
  70% { opacity: 1; -webkit-transform: scale(1,0.8); }
  90% { opacity: 1; -webkit-transform: scale(1,1.1); }
  100% { opacity: 1; -webkit-transform: scale(1,1); }
}
@keyframes gameMapIcon2 {
  from { opacity: 0; transform: rotate(180deg); }
  to { opacity: 1; transform: rotate(0deg); }
}
@-moz-keyframes gameMapIcon2 {
  from { opacity: 0; -moz-transform: rotate(180deg); }
  to { opacity: 1; -moz-transform: rotate(0deg); }
}
@-webkit-keyframes gameMapIcon2 {
  from { opacity: 0; -webkit-transform: rotate(180deg); }
  to { opacity: 1; -webkit-transform: rotate(0deg); }
}
@keyframes gameMapIcon3a {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  75% { transform: rotate(-15deg); }
  100% { transform: rotate(0deg); }
}
@-moz-keyframes gameMapIcon3a {
  0% { -moz-transform: rotate(0deg); }
  25% { -moz-transform: rotate(15deg); }
  75% { -moz-transform: rotate(-15deg); }
  100% { -moz-transform: rotate(0deg); }
}
@-webkit-keyframes gameMapIcon3a {
  0% { -webkit-transform: rotate(0deg); }
  25% { -webkit-transform: rotate(15deg); }
  75% { -webkit-transform: rotate(-15deg); }
  100% { -webkit-transform: rotate(0deg); }
}
@keyframes gameMapIcon3b {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-12deg); }
  75% { transform: rotate(12deg); }
  100% { transform: rotate(0deg); }
}
@-moz-keyframes gameMapIcon3b {
  0% { -moz-transform: rotate(0deg); }
  25% { -moz-transform: rotate(-12deg); }
  75% { -moz-transform: rotate(12deg); }
  100% { -moz-transform: rotate(0deg); }
}
@-webkit-keyframes gameMapIcon3b {
  0% { -webkit-transform: rotate(0deg); }
  25% { -webkit-transform: rotate(-12deg); }
  75% { -webkit-transform: rotate(12deg); }
  100% { -webkit-transform: rotate(0deg); }
}
@keyframes gameMapIcon4a {
  0% { transform: translateX(0); }
  25% { transform: translateX(30%); }
  75% { transform: translateX(-30%); }
  100% { transform: translateX(0); }
}
@-moz-keyframes gameMapIcon4a {
  0% { -moz-transform: translateX(0); }
  25% { -moz-transform: translateX(30%); }
  75% { -moz-transform: translateX(-30%); }
  100% { -moz-transform: translateX(0); }
}
@-webkit-keyframes gameMapIcon4a {
  0% { -webkit-transform: translateX(0); }
  25% { -webkit-transform: translateX(30%); }
  75% { -webkit-transform: translateX(-30%); }
  100% { -webkit-transform: translateX(0); }
}
@keyframes gameMapIcon4b {
  0% { transform: translateX(0); }
  25% { transform: translateX(-25%); }
  75% { transform: translateX(25%); }
  100% { transform: translateX(0); }
}
@-moz-keyframes gameMapIcon4b {
  0% { -moz-transform: translateX(0); }
  25% { -moz-transform: translateX(-25%); }
  75% { -moz-transform: translateX(25%); }
  100% { -moz-transform: translateX(0); }
}
@-webkit-keyframes gameMapIcon4b {
  0% { -webkit-transform: translateX(0); }
  25% { -webkit-transform: translateX(-25%); }
  75% { -webkit-transform: translateX(25%); }
  100% { -webkit-transform: translateX(0); }
}
@keyframes gameMapIcon5a {
  0% { transform: translate(0,0); }
  20% { transform: translate(35%,-35%); }
  40% { transform: translate(15%,10%); }
  60% { transform: translate(-25%,0); }
  80% { transform: translate(-35%,-35%); }
  100% { transform: translateX(0); }
}
@-moz-keyframes gameMapIcon5a {
  0% { -moz-transform: translate(0,0); }
  20% { -moz-transform: translate(35%,-35%); }
  40% { -moz-transform: translate(15%,10%); }
  60% { -moz-transform: translate(-25%,0); }
  80% { -moz-transform: translate(-35%,-35%); }
  100% { -moz-transform: translateX(0); }
}
@-webkit-keyframes gameMapIcon5a {
  0% { -webkit--webkit-transform: translate(0,0); }
  20% { -webkit-transform: translate(35%,-35%); }
  40% { -webkit-transform: translate(15%,10%); }
  60% { -webkit-transform: translate(-25%,0); }
  80% { -webkit-transform: translate(-35%,-35%); }
  100% { -webkit-transform: translateX(0); }
}
@keyframes gameMapIcon5b {
  0% { transform: translate(0,0); }
  20% { transform: translate(-35%,-35%); }
  40% { transform: translate(-25%,0); }
  60% { transform: translate(15%,10%); }
  80% { transform: translate(35%,-35%); }
  100% { transform: translateX(0); }
}
@-moz-keyframes gameMapIcon5b {
  0% { -moz-transform: translate(0,0); }
  20% { -moz-transform: translate(-35%,-35%); }
  40% { -moz-transform: translate(-25%,0); }
  60% { -moz-transform: translate(15%,10%); }
  80% { -moz-transform: translate(35%,-35%); }
  100% { -moz-vvvvvtransform: translateX(0); }
}
@-webkit-keyframes gameMapIcon5b {
  0% { -webkit-transform: translate(0,0); }
  20% { -webkit-transform: translate(-35%,-35%); }
  40% { -webkit-transform: translate(-25%,0); }
  60% { -webkit-transform: translate(15%,10%); }
  80% { -webkit-transform: translate(35%,-35%); }
  100% { -webkit-transform: translateX(0); }
}
@keyframes gameMapIcon5c {
  0% { transform: translate(0,0); }
  20% { transform: translate(50%,0); }
  40% { transform: translate(-25%,30%); }
  60% { transform: translate(10%,0); }
  80% { transform: translate(0,-50%); }
  100% { transform: translateX(0); }
}
@-moz-keyframes gameMapIcon5c {
  0% { -moz-transform: translate(0,0); }
  20% { -moz-transform: translate(50%,0); }
  40% { -moz-transform: translate(-25%,30%); }
  60% { -moz-transform: translate(10%,0); }
  80% { -moz-transform: translate(0,-50%); }
  100% { -moz-transform: translateX(0); }
}
@-webkit-keyframes gameMapIcon5c {
  0% { -webkit--webkit-transform: translate(0,0); }
  20% { -webkit-transform: translate(50%,0); }
  40% { -webkit-transform: translate(-25%,30%); }
  60% { -webkit-transform: translate(10%,0); }
  80% { -webkit-transform: translate(0,-50%); }
  100% { -webkit-transform: translateX(0); }
}
@media (min-width: 1479px) {
  #rick-map .map.view .subject {
    width: 340px;
    -webkit-background-size: contain;
    background-size: contain;
    opacity: 1;
    transition: opacity .2s, width .2s;
    -moz-transition: opacity .2s, width .2s;
    -webkit-transition: opacity .2s, width .2s;
  }
}
@media (min-width: 1199px) {
  #rick-map .map .subject {
    width: 0;
    opacity: 0;
  }
  #rick-map .map .icon-bg .icon {
    opacity: 0;
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
  }
  #rick-map .map.view .icon-bg .icon {
    opacity: 1;
    transition: opacity .3s;
    -moz-transition: opacity .3s;
    -webkit-transition: opacity .3s;
  }
  #rick-map .map.view .icon-bg .icon:hover {
    opacity: .7;
  }
  #rick-map .map .icons i[class^="tree"],
  #rick-map .map .icons i[class^="house"] {
    opacity: 0;
    transform: scale(0.5,0);
    -moz-transform: scale(0.5,0);
    -webkit-transform: scale(0.5,0);
  }
  #rick-map .map .icons i[class^="people"] {
    opacity: 0;
    transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
  }
  #rick-map .map .icons i[class^="balloon"],
  #rick-map .map .icons i[class^="cloud"],
  #rick-map .map .icons div[class^="bird"] {
    opacity: 0;
  }
  #rick-map .map.view .icons i[class^="tree"] {
    animation: gameMapIcon1 .5s forwards .5s linear;
    -moz-animation: gameMapIcon1 .5s forwards .5s linear;
    -webkit-animation: gameMapIcon1 .5s forwards .5s linear;
  }
  #rick-map .map.view .icons i[class^="house"] {
    animation: gameMapIcon1 .5s forwards .75s linear;
    -moz-animation: gameMapIcon1 .5s forwards .75s linear;
    -webkit-animation: gameMapIcon1 .5s forwards .75s linear;
  }
  #rick-map .map.view .icons i[class^="people"] {
    animation: gameMapIcon2 .5s forwards 1s linear;
    -moz-animation: gameMapIcon2 .5s forwards 1s linear;
    -webkit-animation: gameMapIcon2 .5s forwards 1s linear;
  }
  #grickame-map .map.view .icons i.balloon {
    opacity: 1;
    transition: opacity .5s 1.25s;
    -moz-transition: opacity .5s 1.25s;
    -webkit-transition: opacity .5s 1.25s;
    animation: gameMapIcon3a 4s infinite 1.25s linear;
    -moz-animation: gameMapIcon3a 4s infinite 1.25s linear;
    -webkit-animation: gameMapIcon3a 4s infinite 1.25s linear;
  }
  #rick-map .map.view .icons i.cloud-1,
  #rick-map .map.view .icons i.cloud-2,
  #rick-map .map.view .icons i.cloud-5,
  #rick-map .map.view .icons i.cloud-7,
  #rick-map .map.view .icons i.cloud-8 {
    opacity: 1;
    transition: opacity .5s 1.25s;
    -moz-transition: opacity .5s 1.25s;
    -webkit-transition: opacity .5s 1.25s;
    animation: gameMapIcon4a 4s infinite linear;
    -moz-animation: gameMapIcon4a 4s infinite linear;
    -webkit-animation: gameMapIcon4a 4s infinite linear;
  }
  #rick-map .map.view .icons i.cloud-3,
  #rick-map .map.view .icons i.cloud-4,
  #rick-map .map.view .icons i.cloud-6 {
    opacity: 1;
    transition: opacity .5s 1.25s;
    -moz-transition: opacity .5s 1.25s;
    -webkit-transition: opacity .5s 1.25s;
    animation: gameMapIcon4b 4s infinite linear;
    -moz-animation: gameMapIcon4b 4s infinite linear;
    -webkit-animation: gameMapIcon4b 4s infinite linear;
  }
  #rick-map .map.view .icons i.cloud-1,
  #rick-map .map.view .icons i.cloud-4 {
    animation-delay: 1.25s;
    -moz-animation-delay: 1.25s;
    -webkit-animation-delay: 1.25s;
  }
  #rick-map .map.view .icons i.cloud-5,
  #rick-map .map.view .icons i.cloud-6 {
    animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -webkit-animation-delay: 0.5s;
  }
  #rick-map .map.view .icons i.cloud-7 {
    animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    -webkit-animation-delay: 1.5s;
  }
  #rick-map .map.view .icons div[class^="bird"] {
    opacity: 1;
    transition: opacity .5s 1.25s;
    -moz-transition: opacity .5s 1.25s;
    -webkit-transition: opacity .5s 1.25s;
  }
  #rick-map .map.view .icons i.bird-1 {
    animation: gameMapIcon5a 4s infinite linear;
    -moz-animation: gameMapIcon5a 4s infinite linear;
    -webkit-animation: gameMapIcon5a 4s infinite linear;
  }
  #rick-map .map.view .icons i.bird-2 {
    animation: gameMapIcon5b 5s infinite linear;
    -moz-animation: gameMapIcon5b 5s infinite linear;
    -webkit-animation: gameMapIcon5b 5s infinite linear;
  }
  #rick-map .map.view .icons i.bird-3 {
    animation: gameMapIcon5c 4.5s infinite linear;
    -moz-animation: gameMapIcon5c 4.5s infinite linear;
    -webkit-animation: gameMapIcon5c 4.5s infinite linear;
  }
  #rick-map .map.view .icons div.bird-2 i {
    animation-delay: 1.25s;
    -moz-animation-delay: 1.25s;
    -webkit-animation-delay: 1.25s;
  }
}
@media (max-width: 1599px) {
  #rick-map {
    padding-top: 100px;
  }
  #rick-map .inner {
    background: url(../images/risk_map_m.png) right bottom no-repeat;
  }
  #rick-map .map.view .icons i[class^="house"],
  #rick-map .map.view .icons i[class^="tree"],
  #rick-map .map.view .icons i[class^="people"] {
    display: none;
  }
  #rick-map .map .subject {
    width: 350px;
    height: 139px;
    opacity: 1;
  }
}
@media (max-width: 1399px) {
  #rick-map {
    min-height: inherit;
  }
  #rick-map .inner {
    height: 100vh;
    padding: 40px 15px 0;
    background: url(../images/risk_map_s.png) 0 bottom no-repeat;
  }
  #rick-map .inner.bg {
    padding-top: 50px;
  }
  #rick-map .map .subject {
    left: 50%;
    top: -125px;
  }
  #rick-map .map .icons {
    display: none;
  }
  #rick-map .icon-bg {
    top: 40px;
    left: 50%;
    transform: translatex(-50%);
    -moz-transform: translatex(-50%);
    -webkit-transform: translatex(-50%);
  }
}
@media (max-width: 991px) {
  #rick-map .map {
    top: auto;
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
  }
  #rick-map .inner {
    padding-top: 20px;
    background: none;
    min-height: 850px;
  }
  #rick-map .inner.bg .map {
    display: none;
  }
  #rick-map .map:before {
    display: none;
  }
  #rick-map .map .subject {
    position: relative;
    width: 250px;
    height: 100px;
    top: auto;
    margin-bottom: 20px;
  }
  #rick-map .icon-bg {
    top: 140px;
  }
  #rick-form {
    padding: 30px 15px;
    margin-bottom: 30px;
  }
  #rick-form .field {
    width: 100%;
  }
  #rick-form dd.sexual,
  #rick-form dd {
    padding-left: 0;
    margin-left: 0;
  }
  #rick-form .radio {
    margin-left: 10px;
  }
  #rick-form .result {
    width: 100%;
    padding: 15px;
  }
  #rick-form .result .title {
    letter-spacing: 0;
  }
  #rick-form .select-box span.ti {
    line-height: 34px;
  }
  #rick-form .select-box .input {
    width: 100px;
  }
  #rick-form .result.w100 .title,
  #rick-form .result .date {
    width: 100%;
  }
}
@media (max-width: 767px) {
  #rick-map.quest {
    background-position: right 70px;
    padding-top: 30px;
  }
  #rick-form .select-box {
    text-align: center;
  }
  #rick-form .select-box span.ti {
    display: block;
    margin: 10px auto 0;
    width: 100%;
  }
}
@media (max-width: 639px) {
  #rick-map .icon-bg {
    padding: 30px 0 10px;
  }
  #rick-map .icon-bg .icon {
    width: calc(100% / 2 - 4px);
  }
  #rick-form .select-box .input span {
    display: inline-block;
  }
}
@media (max-width: 479px) {
  #rick-map .icon-bg{
    top: 110px;
  }
  #rick-map .map .subject {
    width: 200px;
    height: 80px;
    margin-top: 80px;
  }
  #rick-map .map .subject:before {
    width: 80px;
    height: 89px;
    left: 50%;
    top: -20px;
    -webkit-transform: translate(-50%, -100%);
    -ms-transform: translate(-50%, -100%);
    -o-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
  }
  #rick-form .select-box .submit {
    display: block;
    margin: 10px auto 0;
    width: 100%;
  }
  #rick-form .select-box .submit {
    max-width: 100px;
  }
}
.popup {
  position: fixed;
  right: 0;
  bottom: 0;
  max-width: 500px;
  z-index: 99;
}
.popup .close {
  position: absolute;
  opacity: 1;
  top: 0;
  right: 0;
}
.popup .cont {
  position: relative;
  max-width: 500px;
}

