
/* Author's custom styles */

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

a:link, a:visited, a:hover {
    color: #f38118;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

ul {
    list-style-type: disc;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    /*font: 16px/26px Helvetica, Helvetica Neue, Arial;*/
    color: #7c7c7c;
    font-family: Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "標楷體", DFKai-SB, sans-serif;
    font-size: 14px;
    line-height: 1.66em;
    margin: 0;
}

.wrapper {
    /*width: 90%;
    margin: 0 5%;*/
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 20px solid #e44d26;
}

.footer-container,
.main aside {
    border-top: 20px solid #e44d26;
}

.header-container,
.footer-container,
.main aside {
    background: #f16529;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* intro section */

.section-intro {
    overflow: hidden;
    background: #f38118 url(../img/header-pattern.png) 0 0 repeat;
}

.site-name {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 30px;
}

.logo {
    width: 100px;
    margin: 50px auto 25px;
    text-align: center;
}
.logo img {
    width: 100%;
    max-width: 100%;
}

.intro {
    background-color: #fff;
    padding: 25px 15px;
    margin: 0 15px;
}
.intro h2 {
    text-align: center;
}


/* member section */

.section-members {
    position: relative;
    padding: 15px;
    background-color: #fbd607;
}

.section-title {
    font-size: 20px;
    text-align: center;
    padding: 13px 15px 18px;
    background: transparent url(../img/label-yellow.png) center center no-repeat;
}

.section-members .section-title {
    background-image: url(../img/label-yellow.png);
}

.member-tabs .tab_content {
    background-color: #fff;
    padding: 20px 15px;
}
.member-tabs .toggle_border {
    border: none;
}
.member-tabs a.accordion_tabs,
.member-tabs a.accordion_tabs.active {
    border: none;
    background-color: transparent;
}
.member-tabs a.accordion_tabs {
    font-size: 20px;
    color: #f38118;
    padding: 20px 10px 20px 65px;
    background: transparent url(../img/pic-mok.png) left bottom no-repeat;
    background-size: 55px auto;
}
.member-tabs a.accordion_tabs[href="#tab1"] {
    background-image: url(../img/pic-mok.png);
}
.member-tabs a.accordion_tabs[href="#tab2"] {
    background-image: url(../img/pic-john.png);
}
.member-tabs a.accordion_tabs[href="#tab3"] {
    background-image: url(../img/pic-lo.png);
}
.member-tabs a.accordion_tabs[href="#tab4"] {
    background-image: url(../img/pic-matthew.png);
}
.member-tabs a.accordion_tabs[href="#tab5"] {
    background-image: url(../img/pic-ng.png);
}
.member-tabs a.accordion_tabs[href="#tab6"] {
    background-image: url(../img/pic-toe.png);
}

.member-title h3 {
    color: #f38118;
    font-size: 36px;
    text-align: center;
    line-height: 1em;
    margin-top: 0;
}
.member-title h4 {
    color: #ababab;
    font-size: 22px;
    text-align: center;
    line-height: 1em;
}

.slope-top,
.slope-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 15px;
}
.slope-top {
    top: -15px;
}
.slope-bottom {
    bottom: -15px;
}
.slope-top img,
.slope-bottom img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
}


/* contact section */

.section-contact {
    padding: 30px 15px 5px;
    background-color: #f38118;
}

.section-contact .section-title {
    background-image: url(../img/label-orange.png);
}

a.mail {
    display: block;
    color: #f2dac3;
    font-size: 20px;
    line-height: 1em;
    padding: 15px 10px 0 75px;
    min-height: 70px;
    background: transparent url(../img/icon-email.png) left top no-repeat;
}
.address {
    color: #f2dac3;
    font-size: 20px;
    line-height: 1em;
    min-height: 70px;
    padding: 15px 10px 0 75px;
    margin-bottom: 35px;
    background: transparent url(../img/icon-address.png) left top no-repeat;
}

.copyright {
    color: #fff;
    font-size: 12px;
    text-align: center;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 600px) {
    

    .intro {
        width: 670px;
        margin: 0 auto;
        padding: 50px 35px 30px;
        background: transparent url(../img/paper.png) center top no-repeat;
    }

    .section-members {
        padding: 40px 15px;
    }

    .member-tabs {
        width: 785px;
        margin: 0 auto;
    }
    .member-tabs .tab_content {
        padding: 25px 30px;
        min-height: 200px;
    }
    .member-tabs .tab_content_wrapper {
        min-height: 200px;
        -webkit-box-shadow: 7px 7px 0 #e6c406;
        box-shadow: 7px 7px 0 #e6c406;
    }
    .member-tabs .tabs {
        border: none;
        padding: 0;
        margin: 0;
        list-style: none;
        list-style-image: none;
    }
    .member-tabs .tabs li {
        margin-right: 5px;
    }
    .member-tabs .tabs li:first-child {
        margin-right: 3px;
    }
    .member-tabs .tabs li:last-child {
        margin-right: 0;
    }
    .member-tabs .tabs li a {
        color: #f38118;
        border: none;
        text-align: center;
        padding: 0;
    }
    .member-tabs .tabs img {
        display: block;
    }
    .member-tabs .tabs span {
        display: block;
        background-color: #fff;
        margin-right: 7px;;
        padding: 2px;
        -webkit-box-shadow: 7px 0 0 #e6c406;
        box-shadow: 7px 0 0 #e6c406;
    }
    .member-tabs .tabs .active span {
        padding-bottom: 5px;
    }

    .tab_content {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .member-title {
        float: left;
        width: 180px;
        margin-right: 15px;
        margin-bottom: 25px;
    }
    .member-title h3,
    .member-title h4 {
        text-align: left;
    }

    .member-info {
        overflow: hidden;
    }

    .slope-top,
    .slope-bottom {
        height: 35px;
    }
    .slope-top {
        top: -35px;
    }
    .slope-bottom {
        bottom: -35px;
    }

    .section-contact {
        padding: 50px 15px 15px;
    }

    .section-contact .section-title {
        margin-bottom: 55px;
    }

    .contact-wrapper {
        width: 730px;
        margin: 0 auto;
        overflow: hidden;
    }
    a.mail {
        float: left;
        width: 320px;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    a.mail:hover {
        color: #fff;
    }
    .address {
        overflow: hidden;
    }
    .copyright {
        margin-top: 80px;
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}