html,body {
    font-family: arial, 微軟正黑體;
     height: 100%;
}
a:active, a:focus, a:visited {
    outline: none;
}
.wrapper {
    min-height: 100%;
    position: relative;
    overflow: hidden;
    -webkit-transition: -webkit-transform .3s ease-in-out,margin .3s ease-in-out,padding .3s ease-in-out;
    -moz-transition: -moz-transform .3s ease-in-out,margin .3s ease-in-out,padding .3s ease-in-out;
    -o-transition: -o-transform .3s ease-in-out,margin .3s ease-in-out,padding .3s ease-in-out;
    transition: transform .3s ease-in-out,margin .3s ease-in-out,padding .3s ease-in-out;
}

/* Header */
.main-header {
    position: relative;
    border-bottom: 5px solid black;
}
.main-header>.navbar {
    margin-bottom: 0;
    margin-left: 0;
    border-radius: 0;
}
.main-header>.navbar-static-top {
    border-width: 0;
}
.main-header .navbar-logo {
    display: inline-block;
    font-size: 0px;
    line-height: 0px;
    vertical-align: top;
}
.main-header .navbar-custom-menu, .main-header .navbar-right {
    position: absolute;
    top: 50%;
    right: 10%;
    margin-top: -20px;
}
.main-header .navbar-custom-menu .navbar-nav>li>a {
    padding: 5px 5px;
    background-color: transparent;    
}
.main-header .navbar-custom-menu .navbar-nav>li>a:hover {
    padding: 5px 5px;
    background-color: transparent;        
    border-radius: 5px;
}
.main-header .navbar-nav .nav-item {
    position: relative;
    display: inline-block;
}
.main-header .navbar-nav .circle-item {
    display: inline-block;
    background-color: #ffffff;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    font-size: 1.1em;
    font-weight: bold;
}
.main-header .navbar-nav .circle-item-tw {
    color: #78c719;
    border: 1px solid #78c719;
}
.main-header .navbar-nav .circle-item-tw.toggled {
    background-color: #78c719;
    color: #ffffff;
    border: 1px solid #78c719;
}
.main-header .navbar-nav .circle-item-cn {
    color: #7118ba;
    border: 1px solid #7118ba;
}
.main-header .navbar-nav .circle-item-cn.toggled {
    background-color: #7118ba;
    color: #ffffff;
    border: 1px solid #7118ba;
}
.main-header .navbar-nav .circle-item-en {
    color: #1e83fa;
    border: 1px solid #1e83fa;
}
.main-header .navbar-nav .circle-item-en.toggled {
    background-color: #1e83fa;
    color: #ffffff;
    border: 1px solid #1e83fa;
}
.main-header .navbar-nav .circle-item-ja {
    color: #ff1919;
    border: 1px solid #ff1919;
}
.main-header .navbar-nav .circle-item-ja.toggled {
    background-color: #ff1919;
    color: #ffffff;
    border: 1px solid #ff1919;
}
.main-header .navbar-nav .circle-item-ko {
    color: #ff7100;
    border: 1px solid #ff7100;
}
.main-header .navbar-nav .circle-item-ko.toggled {
    background-color: #ff7100;
    color: #ffffff;
    border: 1px solid #ff7100;
}
.main-header .navbar-nav .menu-sidebar-toggle {
    color: #000000;
}
.main-header .navbar-nav  .margin-left {
    margin-left: 10px;
}
.main-header .navbar-nav .menu-bars {
    background-color: #e1e1e1;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
}

/* Side Menu */
.menu-sidebar {
    background-color: #666666;
    color: #cecece;
    position: absolute;
    top: 0;    
    right: -200px;
    width: 200px;
    min-height: 100%;
    background-color: #666666;
    z-index: 1000;
    -webkit-transition: right .3s ease-in-out;
    -o-transition: right .3s ease-in-out;
    transition: right .3s ease-in-out;
}
.menu-sidebar .sidebar {
    padding-bottom: 10px;
}
.menu-sidebar .menu {
    white-space: nowrap;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-sidebar .menu >li {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 1.15em;
    border-bottom: 1px solid #777777;
    line-height: 100%;
}
.menu-sidebar .menu  li>a {
    position: relative;
    padding: 20px 5px 20px 20px;
    display: block;
    color: #cecece;
    text-decoration: none;
}
.menu-sidebar .menu  li>a:hover {
    color:#F2F2F2;
}
.menu-sidebar-opened .wrapper {
    margin-left: -200px;
    padding-right: 200px;
    -webkit-transition: -webkit-transform .3s ease-in-out,margin .3s ease-in-out,padding .3s ease-in-out;;
    -moz-transition: -moz-transform .3s ease-in-out,margin .3s ease-in-out,padding .3s ease-in-out;
    -o-transition: -o-transform .3s ease-in-out,margin .3s ease-in-out,padding .3s ease-in-out;
    transition: transform .3s ease-in-out,margin .3s ease-in-out,padding .3s ease-in-out;
}
.menu-sidebar-opened .main-header .navbar-nav .menu-bars {
    background-color: #000000;
    color: #ffffff;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
}
.menu-sidebar-opened .menu-sidebar {
    background-color: #666666;
    color: #cecece;
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    min-height: 100%;    
    -webkit-transition: right .3s ease-in-out;
    -o-transition: right .3s ease-in-out;
    transition: right .3s ease-in-out;
}
.menu-mask {
    background-color: #ffffff;
    height: 100%;
    left: -200px;
    position: fixed;
    top: 0px;
    width: 100%;    
    z-index: 1000;
    opacity: 0.7;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
}
.menu-text {
    font-size: 16px;
}
/* Carousel */
.main-carousel {
    background-image: url(../images/rainbow.gif);
    position: relative;
    height: 380px;
}
.main-carousel .item img {
    display: block;
    width: auto;
    height: 350px;
}
@media (max-width: 767px) {
  .main-carousel {
      height: 250px;
  }
  .main-carousel .item img {
      height: 240px;
  }
}
/* Portfoliao */
.inline {
    display: inline-block;
    *display: inline;
    font-size: 0px;
    line-height: 0px;
    vertical-align: top;
    *zoom: 1;
}
.inline-list > li {
    display: inline-block;
    *display: inline;
    vertical-align: top;
    *zoom: 1;
}
.img-portfolio {    
    width: 960px;
    padding: 15px 0px;
    margin: 0px auto;
    font-size: 0px;
    text-align: left;
}
.img-portfolio > li {    
    width: 300px;
    padding: 0px;
    margin: 10px;
    position: relative;
    overflow: hidden;
}
.img-portfolio > li img {
    width: 300px;
}
.img-portfolio > li .content {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 10% , rgba(0,0,0,0.7) 50% );
    bottom: 0px;
    left: 0px;
    padding: 20px 3%;
    position: absolute;
    width: 100%;
    pointer-events: none;
    text-align: left;
}
.img-portfolio h2 {
    color: yellow;
    font-size: 18px;
    line-height: 150%;
    margin: 0px;
    padding: 5px 0px;
    font-weight: bold;
}
.img-portfolio p {
    color: white;
    font-size: 12px;
    height: 40px;
    line-height: 20px;
    margin: 0px;
    overflow: hidden;
    padding: 5px 0px;
}
.img-hover:hover {
    opacity: 0.8;
}
.img-portfolio-cover {
    position: absolute; 
    bottom: 30px;
    padding: 20px 3%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 10% , rgba(0,0,0,0.7) 50% );   
    width: 92.5%;
}
.img-portfolio-cover h2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 150%;
    margin: 0px;
    padding: 5px 0px;
    color: #ffff00;
}
.img-portfolio-cover span {
    color: #ffffff;
    font-size: 12px;
    height: 40px;
    line-height: 20px;
    margin: 0px;
    overflow: hidden;
    padding: 5px 0px;
}

/* Content Styles */
.main-content-title {
    background-image: url(../images/rainbow.gif);
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: 100% 5px;
    font-size: 20px;
    font-weight: normal;
    line-height: 100%;
    margin: 30px 0px;
    padding: 20px 0px 10px 0px;
    text-align: left;
}
.main-content {
    text-align:left;
}
.main-content h2 {
    font-size: 18px;
    line-height: 150%;
    margin: 0px;
    padding: 0px;
    font-weight: bold;
    word-break: normal;
}
.main-content p {
    color: #666666;
    font-size: 16px;
    line-height: 160%;
    margin: 0px;
    padding: 10px 0px;
    word-break: normal;
}
.question-list {
	background-color: #E7E7E7;
    border-left: 2px solid #7E7F7E;
    padding: 20px 0px;
    vertical-align: top;
    list-style-type: none;
}

.question-list > li {
    border-left: 2px solid #7E7F7E;
    color: #545454;
    font-size: 13px;
    line-height: 150%;
    left: -2px;
    padding: 10px;
    position: relative;
    text-align: left;
}

.question-list > li.active {
    border-left: 2px solid white;
    color: #ec96a3;
}

.question-list > li.active > a {
    color: #ec96a3;
}

.answer-tag-title {
	font-size: 16px;
    font-weight: normal;
    line-height: 150%;
    margin: 0px;
    padding: 10px 0px;
}

.answer-list {
    list-style-type: none;
    padding-left: 0px;
}

.answer-list > li {
    margin-bottom: 5px;
}

.answer-list h3 {
    border-left: 3px solid #EC96A3;
    background-color: #E7E7E7;
    font-size: 15px;
    line-height: 150%;
    margin: 0px;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
}

.answer-list p {
    background-color: white;
    display: none;
    font-size: 12px;
    line-height: 18px;
    margin: 0px;
    padding: 10px 15px;
}

.img {
  width: 100%;
}
.img-md {
    display: block; 
}
.img-sm {
    display: none;
}
@media (max-width: 767px) {
  .img-md {
      display: none; 
  }
  .img-sm {
      display: block;
  }
}

/* Footer Styles */
footer {
    margin: 50px 0px 0px 0px;
}
.footer {
    background-image: url(../images/rainbow.gif);
    background-repeat: repeat-x;
    background-color: #363636;
    margin-top: 30px;
    padding-top: 25px;
    text-align: center;
}
.footer .content {
    height: 180px;
    padding: 0px 50px;
    color: white;
    font-size: 15px;
    line-height: 24px;
    text-align: left;
    display: inline-block;
    vertical-align: top;
}
.footer .content a {
    color: white;
    text-decoration: none;
}
.footer .content a:hover {
    color: white;
    text-decoration: underline;
}

/* Contact */
.contact-table {
    width:80%;
    font-size:16px;
    line-height:24px;
    color:#000;
    border-bottom:#CCC 1px solid;
    border-top:#CCC 1px solid;
    border-right:#CCC 1px solid;
}
.contact-table th {
    background-color:#666;
    color:#FFF;
    text-align:left;
    padding-left:20px;
}
.contact-table td {
    padding: 10px 20px;
    
}
.contact-table tr:nth-child(even) {
    background: #ffffff
}
.contact-table tr:nth-child(odd) {
    background-color:#f2f2f2;
}
.error {
	color: #cc0000;
}
.btn-blue {
	background: #0079ff;
    color: #fff;
    border-radius: 15px;
    padding: 3px 50px;
    font-size: 16px;
}
.btn-blue:focus,
.btn-blue.focus {
  color: #fff;
  background-color: #006ae0;
  border-color: #034898;
}
.btn-blue:hover {
  color: #fff;
  background-color: #006ae0;
  border-color: #034898;
}
.btn-blue:active,
.btn-blue.active {
  color: #fff;
  background-color: #006ae0;
  border-color: #034898;
}

/* Responsive */
@media (min-width: 768px) and (max-width: 999px) {    
    .main-header .navbar-logo {
        display: inline-block;
        max-width: 50%;
    }
    
    .main-header .navbar-custom-menu, .main-header .navbar-right {
        position: absolute;
        top: 50%;
        right: 10px;
        margin-top: -20px;
    }
    
    .main-carousel {
        background-image: url(../images/rainbow.gif);
        background-size: 100%;
        position: relative;
    }
    
    .footer {
        background-image: url(../images/rainbow.gif);
        background-repeat: repeat-x;
        background-size: 100%;
        background-color: #363636;
        margin-top: 30px;
        padding-top: 25px;
        text-align: center;
    }
}

@media (min-width: 666px) and (max-width: 767px) {
    .main-header .navbar-logo {
        display: inline-block;
        max-width: 50%;
    }
    
    .main-header .navbar-custom-menu, .main-header .navbar-right {
        position: absolute;
        top: 50%;
        right: 10px;
        margin-top: -20px;
    }
    
    .main-header .navbar-custom-menu .navbar-nav {
        margin: 0;
    }
    
    .main-carousel {
        background-image: url(../images/rainbow.gif);
        background-size: 100%;
        position: relative;
    }
    
    .footer {
        background-image: url(../images/rainbow.gif);
        background-repeat: repeat-x;
        background-size: 100%;
        background-color: #363636;
        margin-top: 30px;
        padding-top: 25px;
        text-align: center;
    }
}

@media(max-width:665px) {
    .main-header .navbar-logo {
        display: inline-block;
        max-width: 100%;
    }
    
    .main-header .navbar-nav {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .main-header .navbar-custom-menu, .main-header .navbar-right {
        position: relative;
        float: right;
        right: 10px;
        padding-right: 20px;
        padding-left: 20px;
        margin-top: 0px;
    }
    
    .main-carousel {
        background-image: url(../images/rainbow.gif);
        background-size: 100%;
        position: relative;
    }
    
    .footer {
        background-image: url(../images/rainbow.gif);
        background-repeat: repeat-x;
        background-size: 100%;
        background-color: #363636;
        margin-top: 30px;
        padding-top: 25px;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .img-portfolio {
        font-size: 0px;
        margin: 0px;
        padding: 15px 0px;
        width: 100%;
    }
    
    .img-portfolio > li {
        width: 100%;
        margin: 3% 0px
    }

    .img-portfolio > li img {
        width: 100%;
    }
}

@media (min-width: 541px) and (max-width: 999px) {
    .img-portfolio {
        font-size: 0px;
        margin: 0px 0px 1% 1%;
        padding: 15px 0px;
        width: 100%;
    }
    
    .img-portfolio > li {
        padding: 0px;
        margin: 1% 1% 0px 0px;
        width: 32%;
        position: relative;
        overflow: hidden;
    }

    .img-portfolio > li img {
        width: 100%;
    }
}