html, body {
    height: 100%;
    font-family: "Arial","Helvetica","微軟正黑體","Microsoft JhengHei","黑體","SimHei","儷黑 Pro","LiHei Pro Medium","蘋果儷中黑","Apple LiGothic Medium","新細明體","PMingLiU","細明體","MingLiU","標楷體","DFKai-sb","sans-serif" !important;
    font-size: 16px;
    color: #63464a;
    background-color: #9767a8;
}


/* KG2016 Color Style */

.subtitle {
    font-size: 1em;
    line-height: 14px;
    color: #F6635C;
    text-align: right;
    padding-top: 20px;
    padding-bottom: 10px;
}
.news-date {
    color: #79cd70;
    font-style: italic;
    font-size: 1em;
}


/* Home Style */

.home {
    min-height: 768px;
    background-image: url(../img/bg_main_th.jpg);
    background-repeat: no-repeat;
    background-color: #e2e7f4;
    -ms-background-size: cover;
    background-size: cover;
}
.header {
    xwhite-space: nowrap;
    height: 300px;
}
.header img {
    display: inline-block;
    border: 0 none;
    padding: 10px;
    vertical-align: top;
}
.header .logo {
    max-width: 80px;
}
.header .title {
    max-width: 392px;
    width: 100%;
}

.home-box {
    background-color: #e2e7f4;
    border-radius: 10px;
    padding: 20px 40px;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -ms-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -o-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.home-box input {
    background-color: #d8d0de;
    border: none;
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
.form-inline .form-group input {
    width: auto;
}


/* Menu Style */

.menu-top {
    min-height: 235px;
    background-image: url(../img/bg_menu_th.jpg);
    background-repeat: no-repeat;
    background-color: #fcfbe4;
    -ms-background-size: cover;
    background-size: cover;
}
.menu-sidebar-th {
    background-color: #fee4d6;
    padding: 20px 0;
}
.menu-sidebar-st {
    background-color: #ecf8d1;
    padding: 20px 0;
}
.menu-bottombar {
    background-color: #bec9e8;
    text-align: center;
    padding: 0 10px;
}
.menu-bottombar div {
    padding: 5px 10px;
}
.menu-content {
    background-color: #fcfbe4;
}
.menu-header {
    border-bottom: 2px dotted #fee4d6;
}
.menu-subheader {
    max-height: 50px;
}
.menu-subheader-02 {
    max-height: 40px;
}

.menu-icon-v {
    padding-bottom: 20px;
}
.menu-icon-v img {
    -webkit-transition: transform 0.4s;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}
.menu-icon-v:hover img {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
}
.menu-icon-v:hover {
    background: rgba(239,176,243,1);
    color: white;
    border-radius: 10px;
    -webkit-transition: transform 0.4s;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}

.menu-icon-h {
    padding-right: 20px;
}
.menu-icon-h img {
    -webkit-transition: transform 0.4s;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}
.menu-icon-h:hover img {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
}
.menu-icon-h:hover {
    background: rgba(254,228,214,1);
    color: white;
    border-radius: 10px;
    -webkit-transition: transform 0.4s;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}

.submenu-icon-h {
    padding-left: 20px;
}
.submenu-icon-h img {
    -webkit-transition: transform 0.4s;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}
.submenu-icon-h:hover img,
.submenu-icon-h.active img {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
}
.submenu-icon-h:hover,
.submenu-icon-h.active {
    background: rgba(252,251,228,1);
    color: white;
    xborder-radius: 10px;
    -webkit-transition: transform 0.4s;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}
.submenu-icon-h.active {
    cursor: default;
}

.submenu-icon-v {
    xpadding-left: 20px;
}
.submenu-icon-v img {
    -webkit-transition: transform 0.4s;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}
.submenu-icon-v:hover img {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
}
.submenu-icon-v:hover {
    xbackground: rgba(252,251,228,1);
    color: white;
    xborder-radius: 10px;
    -webkit-transition: transform 0.4s;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}


/* Footer Style */

footer {
    font-size: 0.7em;
    color: white;
    background-color: #57af55;
    padding: 10px;
}
footer a, 
footer a:visited {
    color: white;
}
footer a:hover, 
footer a:active {
    color: #fdf514;
    text-decoration: underline;
}


/* Icon Style */

.line-left {
    display: inline-block;
    border-left: 1px solid white;
}
.line-right {
    display: inline-block;
    border-right: 1px solid white;
}
.line-png {
    padding: 10px;
}
.display-inline {
    display: inline-block;
    white-space: nowrap;
}
.text-h {
    max-height: 30px;
}
.line-h {
    margin-top: 10px;
    margin-bottom: 15px;
}
.icon-h {
    max-height: 40px;
}

.icon-h2 {
    max-height: 60px;
}




.line-v {
    max-height: 40px;
    margin: 10px 0;
    margin-left: 10px;
    margin-right: 15px;
}


/* Thumbnail Style */

.p-thumbnail img {
    width: 100%;
}
.p-thumbnail p {
    padding-top: 10px;
    line-height: 18px;
    height: 50px;
    overflow: hidden;
}
.p-thumbnail img {
    -webkit-transition: transform 0.6s;
    -webkit-transition: -webkit-transform 0.6s;
    transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
}
.p-thumbnail:hover img {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
}
.p-thumbnail:hover {
    background: rgba(99,70,74,1);
    color: white;
    border-radius: 10px;
    -webkit-transition: transform 0.6s;
    -webkit-transition: -webkit-transform 0.6s;
    transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
}
.p-thumbnail:hover a{
    color: white;
	text-decoration:none;
}
.p-thumbnail a{
    color: #63464a;
}


/* Button Style */
.p-button img {
    width: 100%;
    padding: 10px 0;
}
.p-button img {
    -webkit-transition: transform 0.2s;
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
}
.p-button:hover img {
    -webkit-transform: skewX(12deg);
    transform: skewX(12deg);
}


/* Breadcrumb Style */

.breadcrumb {
    font-size: 1.3em;
    color: white;
    background-color: #6edbd8;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px 20px;
    margin-top: 0px;
    margin-bottom: 5px;
}


/* Links Style */

a.link, a.link:visited {
    color: white;
}
a.link:hover, a.link:active {
    color: #F6635C;
    text-decoration: underline;
}


/* Modal Style */

#modal_intro .modal-content {
    background-color: #fcfbe4;
}
#modal_intro .modal-title img {
    max-height: 50px;
}
#modal_intro .modal-body .p-thumbnail a img {
    max-height: 128px;
}

/* Navigation Tabs Properties */

.nav-tabs {
    font-size: 18px;
}
.nav-tabs li.active a,
.nav-tabs li.active a:hover,
.nav-tabs li.active a:focus,
.nav-tabs li.active a:active {
    background-color: #fcfbe4;
    color: #777777;
    cursor: default;
}
.nav-tabs li a:hover {
    background-color: rgba(255,230,0,0.25);
    color: #777777;
    border-color: transparent;
}




/* Common Style */

/* color */
.color-black {
    color: black;
}
.color-white {
    color: white;
}
.color-yellow {
    color: yellow;
}
.color-light-blue {
    color: #ccffff;
}

/* padding */
.top-0 {
    padding-top: 0px;
}
.top-4 {
    padding-top: 4px;
}
.top-5 {
    padding-top: 5px;
}
.top-8 {
    padding-top: 8px;
}
.top-10 {
    padding-top: 10px;
}
.top-15 {
    padding-top: 15px;
}
.top-20 {
    padding-top: 20px;
}
.top-25 {
    padding-top: 25px;
}
.top-30 {
    padding-top: 30px;
}
.top-35 {
    padding-top: 35px;
}
.top-40 {
    padding-top: 40px;
}
.bottom-0 {
    padding-bottom: 0px;
}
.bottom-5 {
    padding-bottom: 5px;
}
.bottom-10 {
    padding-bottom: 10px;
}
.bottom-15 {
    padding-bottom: 15px;
}
.bottom-20 {
    padding-bottom: 20px;
}
.bottom-25 {
    padding-bottom: 25px;
}
.bottom-30 {
    padding-bottom: 30px;
}
.bottom-35 {
    padding-bottom: 35px;
}
.bottom-40 {
    padding-bottom: 40px;
}
.left-0 {
    padding-left: 0px;
}
.left-5 {
    padding-left: 5px;
}
.left-10 {
    padding-left: 10px;
}
.left-15 {
    padding-left: 15px;
}
.left-20 {
    padding-left: 20px;
}
.left-25 {
    padding-left: 25px;
}
.left-30 {
    padding-left: 30px;
}
.left-35 {
    padding-left: 35px;
}
.left-40 {
    padding-left: 40px;
}
.left-50 {
    padding-left: 50px;
}
.right-0 {
    padding-right: 0px;
}
.right-5 {
    padding-right: 5px;
}
.right-10 {
    padding-right: 10px;
}
.right-15 {
    padding-right: 15px;
}
.right-20 {
    padding-right: 20px;
}
.right-25 {
    padding-right: 25px;
}
.right-30 {
    padding-right: 30px;
}
.right-35 {
    padding-right: 35px;
}
.right-40 {
    padding-right: 40px;
}
.right-50 {
    padding-right: 50px;
}
.all-5 {
    padding: 5px;
}
.all-10 {
    padding: 10px;
}

/* margin */
.align-top-0 {
    position: absolute;
    top: 0px;
    margin-top: 0px;
}
.align-top-10 {
    position: absolute;
    top: 0px;
    margin-top: 10px;
}
.align-top-20 {
    position: absolute;
    top: 0px;
    margin-top: 20px;
}
.align-bottom-0 {
    position: absolute;
    margin-bottom: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
.align-bottom-10 {
    position: absolute;
    margin-bottom: 10px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
.align-bottom-20 {
    position: absolute;
    margin-bottom: 20px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
.align-right-0 {
    position: absolute;
    right: 0px;
    margin-right: 0px;
}
.align-right-10 {
    position: absolute;
    right: 0px;
    margin-right: 10px;
}
.align-right-20 {
    position: absolute;
    right: 0px;
    margin-right: 20px;
}
.align-right-30 {
    position: absolute;
    right: 0px;
    margin-right: 30px;
}

.nopadding {
    overflow: hidden;
    padding: 0 ! important;
    margin: 0 !important;
}

/* nogutter */
.row.nogutter {
    margin-left: 0;
    margin-right: 0;
}
.row.nogutter [class*='col-']:not(:first-child),
.row.nogutter [class*='col-']:not(:last-child) {
    padding-left: 0;
    padding-right: 0;
}

.center-block {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.borderless tr td {
    border: none !important;
}


/* Media quary targets different devices */

/* Portrait phones and smaller, xs only */
@media (max-width: 480px) {
    .header {
        height: 100px;
    }
    .header img {
        padding: 5px;
    }
    .header .logo {
        max-width: 60px;
        float: right;
        margin-right: 10px;
    }
    .header .title {
        width: 100%;
        padding: 0 5px;
    }
    
    .menu-bottombar {
        xpadding: 10px 0;
    }
    .menu-bottombar a {
        xpadding: 10px;
        xmargin: 10px;
    }
}

/* Landscape phones and portrait tablets, sm and down */
@media (max-width: 767px) {

}

/* Portrait tablets and small desktops, sm only */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        width: 100%;
    }
}


/* Landscape tablets and medium desktops, md only */
@media (min-width: 992px) and (max-width:1199px) {}

/* Large desktops and laptops, lg and up */
@media (min-width: 1200px) {}


/* Media quary targets high resolution screens */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (-webkit-min-device-pixel-radio: 2), (min-moz-device-pixel-radio: 2), (-o-min-device-pixel-radio: 2/1), (min-resolution: 2dppx) {

    /* BG with @2x sizes */
    .home {
        background: url(../img/bg_main_th@2x.jpg);
        background-size: cover;  /* set backgound size cover 100% width or height */
        /* background-size: 100% auto; */ /* set backgound size 100% width */
    }
    .menu-top {
        background: url(../img/bg_menu_th@2x.jpg);
        background-size: cover;  /* set backgound size cover 100% width or height */
        /* background-size: 100% auto; */ /* set backgound size 100% width */
    }
}