/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
  text-decoration: none;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}


/*
 * Base structure
 */

html,
body {
  /* height: 100%; */
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0499c4+0,37ac7f+50,55ba54+100 */
  background: rgb(6, 115, 74); /* Old browsers */
  background: -moz-linear-gradient(top,  rgb(6, 115, 74) 60%,rgb(255, 255, 255) 80%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgb(6, 115, 74) 60%,rgb(255, 255, 255) 80%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgb(6, 115, 74) 60%,rgb(255, 255, 255) 80%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0499c4', endColorstr='#55ba54',GradientType=1 ); /* IE6-9 */
}
body {margin-right: auto;margin-left: auto;background-image: url(../images/kvPc.jpg);background-size: contain;background-position: top;background-repeat: no-repeat;}
.part3 {

  padding-top: 2%;
  padding-bottom: 2%;
}
.part4 {
  padding-top: 10%;
  padding-bottom: 10%;
  background-color: #fff;
}
.container > .iframebox {
  margin: auto;
  margin-bottom: 0;
  width: 750px;
  height: 450px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: solid #ffffff 3px;
}
#visual {
  cursor: pointer;
  padding-top: 14%;
  width: 750px;
  margin: auto;
}
/* Extra markup and styles for table-esque vertical and horizontal centering */
.text {
  line-height: 1.6em;
  text-align: center;
  color: #fff;
  font-size: 1.1em;
  width: 679px;
  letter-spacing: 1px;
  padding:3% 1%;
}

.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
    padding-bottom: 100px;
}
.article {
  background-color: #fff;
  margin: 5% 5px 0px 5px;
}
.article2 {
  background-color: #fff0;
  margin: 0px 5px 5% 5px;
}
.part2 {
}
.part2text {
  color: #000;
  font-weight: bold;
  width: 80%;
  font-size: 17px;
  line-height: 60px;
  border-bottom: solid #00253e 1px;
}
.articlepic{
    /* border-style: solid; */
    /* border-color: black; */
}
.articlebox {
  /* margin: 5px; */
  width: 100%;
  height: 160px;
}
.articlebox > p {
  color: black;
  text-align: justify;
  font-size: 1em;
  margin: 5% auto;
}
.button {
    color: #db6425;
    border-style: solid;
    border-width: 1px;
    border-color: #db6425;
    padding: 2% 3%;
    border-radius: 30px;
    width: 120px;
    text-align: center;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    transition: 0.2s;
}
.button:hover {
    background-color: #db6425;
    color: rgb(255, 255, 255);
        text-decoration: none;
}
.jcarousel-wrapper-transitions {
  display: none;
}
.footer {
}
.inner {
  padding: 50px 0;
}


/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}


/*
 * nav
 */

main {
    display: inline-flex;
    /*    justify-content: center;
    align-items: center;
    padding-left: 9px;
    padding-bottom: 22px;
    padding-right: 9px;*/
    width: 100%;
  }


menu input[type=checkbox] {
  display: none;
}
menu input[type=checkbox]:checked ~ hamburger > i {
  background-color: transparent;
  transform: rotate(90deg);
}
menu input[type=checkbox]:checked ~ hamburger > i:before {
  transform: translate(-50%, -50%) rotate(315deg);
}
menu input[type=checkbox]:checked ~ hamburger > i:after {
  transform: translate(-50%, -50%) rotate(-315deg);
}
menu input[type=checkbox]:checked ~ hamburger close {
  color: rgb(255, 255, 255);
  width: 100%;
}
menu input[type=checkbox]:checked ~ hamburger open {
  color: transparent;
  width: 0;
}
menu hamburger {
    margin: 2% 2% 2% 2.3%;
    position: fixed;
    display: block;
    height: 25px;
    width: 41px;
    z-index: 1;
}
menu hamburger:hover {
  cursor: pointer;
}
menu hamburger text close,
menu hamburger text open {
  text-transform: uppercase;
  font-size: .8em;
  bottom: 35px;
  position: absolute;
  transform: translateY(50px);
  text-align: center;
  overflow: hidden;
  transition: width .25s .35s, color .45s .35s;
}
menu hamburger text close {
  color: rgb(255, 255, 255);
  right: 0;
  width: 0;
  margin-bottom: 45%;
  margin-right: -110%;
}
menu hamburger text open {
  color: rgb(255, 255, 255);
  width: 100%;
  margin-left: 110%;
  margin-bottom: 47%;
}
menu hamburger > i {
  position: absolute;
  width: 35px;
  height: 2px;
  top: 50%;
  background-color: rgb(0, 0, 0);
  pointer-events: auto;
  transition-duration: .35s;
  transition-delay: .35s;
}
menu hamburger > i:before, menu hamburger > i:after {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  left: 50%;
  background: rgb(0, 0, 0);
  content: "";
  transition: transform 0.35s;
  transform-origin: 50% 50%;
}
menu hamburger > i:before {
  transform: translate(-50%, -9px);
}
menu hamburger > i:after {
  transform: translate(-50%, 9px);
}

/* reset */
* {
  margin: 0;
  padding: 0;
}

#wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

label {
  cursor: pointer;
}
label:focus {
  outline: none;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(35, 35, 35, 0.89);
    width: 100%;
    height: 100%;
    transform: translate3d(0, -100%, 0);
    transition: transform 0.35s;
    z-index: 1;
}
.menu label.menu-toggle {
  position: absolute;
  right: 0px;
  width: 60px;
  height: 60px;
  line-height: 0px;
  display: block;
  padding: 0;
  text-indent: -9999px;
  background: rgb(221, 131, 0) url(https://cdn4.iconfinder.com/data/icons/wirecons-free-vector-icons/32/menu-alt-512.png) 50% 50%/25px 25px no-repeat;
}
.menu ul li > label {
  background: url(https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-arrow-right-b-128.png) 95% 50%/16px 16px no-repeat;
}
.menu ul li a, .menu ul li label {
  display: block;
  text-align: center;
  padding: 0 20px;
  line-height: 45px;
  text-decoration: none;
  color:rgb(253, 253, 253);
  font-size: 20px;
  letter-spacing: 3px;
}
.menu ul li a:hover, .menu ul li label:hover {
  color:#cecece;
}

/* hide inputs */
.menu-checkbox {
  display: none;
}

/* hide navigation icon for sublabels */
.menu .menu label.menu-toggle {
  background: none;
}

/* fade in checked menu */
.menu-checkbox:checked + .menu {
  transform: translate3d(0, 0, 0);
}



p {
  font-size: 18px;
  font-family: serif;
  color: #000;
  margin-bottom: 15px;
}

#info {
  display: table;
  background: rgb(221, 131, 0);
  height: 100%;
  width: 100%;
}
#info #info-content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  font-size: 12px;
}
#info #info-content h1 {
  color: #fff;
  border: 3px solid #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
  font-size: 22px;
  font-weight: normal;
  padding: 20px;
  margin: 10px;
  display: inline-block;
}
#info #info-content h1 strong {
  display: block;
  font-size: 26px;
}

  #nav
  {
  }

    #nav-wrapper
    {
      background: rgba(0,0,0,.1);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
    }

    #nav > ul
    {
          /* float: right; */
          margin: 0;
          padding: 0;
          text-align: center;
    }

    #nav > ul > li
    {
      display: inline-block;
      border-right: 1px solid;
      border-color: rgba(255,255,255,.1);
    }

      #nav > ul > li:last-child
      {
        padding-right: 0;
        border-right: none;
      }

      #nav > ul > li > a,
      #nav > ul > li > span
      {
        display: inline-block;
        padding: 1em 1em;
        letter-spacing: 0.06em;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 1em;
        outline: 0;
        font-family: Microsoft JhengHei;
        color: #ffffff;
      }

      #nav li.active a
      {
        color: #FFF;
      }

      #nav > ul > li > ul
      {
        display: none;
      }

#nav {
display: none;
}


/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgb(255, 255, 255);
}
.inner p {
  text-align: center;
}
.arrow{
  text-align: center;
  padding-top: 6%;
}
  .tittletext {
        color: #000 !important;
  }
/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}
@media (max-width: 769px) {
.articlebox {
    margin: 5px;
    width: 88%;
    height: 180px;
}
.jcarousel-wrapper-transitions {
  display: block;
}
#visual {
  cursor: pointer;
  padding-top: 23%;
  width: 700px;
  margin: auto;
}
.text {
    color: ＃fff;
    font-size: 1em;
    width: 74%;
    padding-bottom: 5%;
}
.jcarousel-wrapper {
  display: none;
}
.container > .iframebox {
    margin: auto;
    margin-bottom: 5%;
    width: 650px;
    height: 450px;
}
}
@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%;
  }
}

@media(min-width: 414px) and (max-width: 750px) {
.tittletext {
      width: 91% !important;
}
.cover-container {
    margin-right: auto;
    margin-left: auto;
}

.jcarousel-wrapper-transitions {
  display: block;
}
#visual {
  cursor: pointer;
  padding-top: 24%;
  width: 400px;
  margin: auto;
}
.text {
    color: ＃fff;
    font-size: 1em;
    width: 100%;
    padding-bottom: 10%;
}
.jcarousel-wrapper {
  display: none;
}
.container > .iframebox {
    margin: auto;
    margin-bottom: 15%;
    width: 100%;
    height: 350px;
}
.articlebox {
    margin: 5px;
    width: 98%;
    height: auto;
}
}
@media(min-width: 375px) and (max-width: 413px) {
  .tittletext {
        width: 89% !important;
  }

  .part2text {
    color: #000;
    font-weight: bold;
    width: 99%;
    font-size: 17px;
    margin-top: 5%;
    line-height: 60px;
    border-bottom: solid rgba(255, 236, 13, 0.84);
}
  .cover-container {
      margin-right: auto;
      margin-left: auto;
      background: url(../images/bgpc.png) top center;
      /* height: 640px; */
      background-size: cover;
  }
  .jcarousel-wrapper-transitions {
    display: block;
  }
  #visual {
    cursor: pointer;
    padding-top: 24%;
    width: 100%;
    margin: auto;
  }
  .text {
      color: ＃fff;
      font-size: 1em;
      width: 100%;
      padding-bottom: 10%;
  }
  .jcarousel-wrapper {
    display: none;
  }
  .container > .iframebox {
      margin: auto;
      margin-bottom: 15%;
      width: 346px;
      height: 300px;
  }
  .articlebox {
      margin: 5px;
      width: 98%;
      height: auto;
  }
}
@media(max-width: 374px) {
  .tittletext {
        width: 91% !important;
  }
  .part2text {
    color: #000;
    font-weight: bold;
    width: 98%;
    margin-top: 7%;
    font-size: 17px;
    line-height: 60px;
    border-bottom: solid rgba(255, 236, 13, 0.84);
}
.articlebox {
    margin: 5px;
    width: 98%;
    height: auto;
}
.cover-container {
    margin-right: auto;
    margin-left: auto;
    background: url(../images/bgpc.png) top center;
    height: 550px;
    background-size: cover;
}
.jcarousel-wrapper-transitions {
  display: block;
}
#visual {
  cursor: pointer;
  padding-top: 13%;
  width: 100%;
  margin: auto;
}
.text {
    color: ＃fff;
    font-size: 1em;
    width: 100%;
    font-size: 14px;
    text-align: center;
    padding-bottom: 13%;
}
.jcarousel-wrapper {
  display: none;
}
.container > .iframebox {
    margin: auto;
    margin-bottom: 20%;
    width: 290px;
    height: 300px;
}
}
@media (max-width: 1024px) and (min-width: 770px) {
  .container > .iframebox {
    margin: auto;
    margin-bottom: 5%;
    width: 100%;
    height: 500px;
}
#visual {
    cursor: pointer;
    padding-top: 8%;
    width: 100%;
    margin: auto;
}
}