@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

body {
    font-family: 'Noto Sans TC', '微軟正黑體', Arial, sans-serif;
    font-size: 17px;
    line-height: 2;
    color: #000;
    height: 100%;
    position: relative;
    padding-top: 50px;
}

.h1,
h1 {
    font-weight: bold;
    font-size: 2.2em;
    text-align: center;
    color: #ffffff;
    line-height: 1.3;
}

.h2,
h2 {
    font-weight: normal;
    font-size: 20px;
    text-align: left;
    color: #111111;
    font-weight: bold;
}

p {
    margin: 0 0 20px;
    line-height: 28px;
    word-break: break-all;
    text-align: justify;
}

a {
    color: #c00;
    text-decoration: underline;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

textarea {
    overflow: auto;
    MARGIN-TOP: 10PX;
    max-width: 100%;
}

strong {
    color: #c00;
    position: relative;
}

strong:after {
    content: '';
    width: 100%;
    position: absolute;
    bottom: 2px;
    left: 0;
}

.highlight,
b {
    color: #03335d;
}

.half {
    width: 50%;
    float: left;
    padding-right: 15px;
}

.half2 {
    width: 50%;
    float: left;
    padding-right: 15px;
}


.navbar-brand {
    background: url('../images/logo.png') center center no-repeat;
    background-size: contain;
    width: 70px;
    margin: 0 10px;
}

.navbar-fixed-top {
    background: #03335d;
    background: -webkit-linear-gradient(left top, #1987b2, #03335d);
    background: -o-linear-gradient(bottom right, #1987b2, #03335d);
    background: -moz-linear-gradient(bottom right, #1987b2, #03335d);
    background: linear-gradient(to bottom right, #1987b2, #03335d);
    border: 0;
}

.business-header {
    height: 150px;
    background: url('../images/banner.jpg') center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    position: relative;
}

.tagline {
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    position: absolute;
    font-weight: bold;
}

.tagline h1 {
    text-shadow: 0 0 10px #000;
    color: #fff;
    margin: 0;
    font-size: 2.5em;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-family: "微軟正黑體";
    line-height: 1.3em;
}

.img-center {
    margin: 0 auto;
}

footer {
    padding: 25px 0;
    text-align: center;
    background: #f1f1f1;
    overflow: hidden;
}

footer p {
    font-size: 14px;
    line-height: 18px;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
}


/**/

/* Input Styles */
.btn {
    font-family: "微軟正黑體";
    border-radius: 3px;
    padding: 5px 20px;
    font-size: 20px;
    text-decoration: none;
    color: #fff !important;
    position: relative;
    display: inline-block;
    margin: 10px 0;
}

.btn:active {
    color: #fff !important;
    transform: translate(0px, 2px);
    -webkit-transform: translate(0px, 2px);
    box-shadow: 0px 1px 0px 0px;
}

.blue {
    color: #fff !important;
    background-color: #31a3f9;
    box-shadow: 0px 2px 0px 0px #3C93D5;
}

.blue:hover {
    color: #fff !important;
    background-color: #31a3f9;
    box-shadow: 0px 2px 0px 0px #3C93D5;
}

.btn:active {
    color: #fff !important;
    transform: translate(0px, 2px);
    -webkit-transform: translate(0px, 2px);
    box-shadow: 0px 1px 0px 0px;
}

.abreast,
.stripe {
    margin: 5px 0;
    overflow: hidden;
    text-align: left;
}

.quiz_block {
    margin: 3em 0;
}

.ending{
    min-height: 350px;
}
.ending .container{
    padding: 100px 0;
}
.ending p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin-bottom: 10px;
    margin: 0 auto;
    text-align: center;
}

.opening .text-right {
    line-height: 32px;
}

.opening .no_indent {
    text-indent: 0px;
}

.quiz_block .container {
    max-width: 850px;
}

.company h3,
.company input {
    display: inline-block;
}

.company h3 {
    padding-right: 10px;
}

.opening .container {
    max-width: 1000px;
}

.info {
    font-size: 14px;
    line-height: 20px;
}

.congratulate {
    overflow: hidden;
    padding: 10px 0;
}

.congratulate p {
    line-height: 10px;
    margin-bottom: 20px;
}

.quiz_block h3 {
    line-height: 30px;
    margin: 0 0 0 0;
    display: block;

}

.quiz_block h3 span {
    font-color: #cb0000;
    font-size: 18px;
}

}
.quiz_block h5 {
    font-family: 'Noto Sans TC', '微軟正黑體', Arial, sans-serif;
    text-align: center;
    font-size: 24px;
    line-height: 36px;
    margin: 0 0 0 0;
    display: block;
}

.radio label,
.checkbox label {
    font-size: 18px;
    margin: 0;
}

input {
    max-width: 400px;
}

input[type=checkbox],
input[type=radio] {
    position: absolute;
    margin-top: 10px;
}

.form {
    padding: 0px;
    background: #f8f8f8;
    border: 1px solid #999;
    color: #333 !important;
    font-size: 16px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    position: relative;
    letter-spacing: 1px;
    width: 100%;
}

.form:focus {
    outline: none;
    border: 1px solid #03335d;
}

.form2 {
    width: 200px;
    padding: 0px 10px;
    background: #f8f8f8;
    border: 1px solid #999;
    margin-bottom: 5px;
    color: #333 !important;
    font-size: 18px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    position: relative;
    letter-spacing: 1px;
}

.form2:focus {
    outline: none;
    border: 1px solid #03335d;
}


.button {
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    width: 120px;
    margin: 10px 0 0px 0;
    border-radius: 3px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    font-size: 0.8em;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.10);
    -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.10);
}

.form-btn {
    min-width: 200px;
    display: block;
    padding: 5px 25px;
    color: #fff;
    background: #31a3f9;
    border: none;
    border-radius: 0px;
    font-size: 18px;
    outline: none;
    letter-spacing: 2px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    margin: auto;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.10);
    -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.10);
}

.form-btn:hover {
    background: #03335d;
    color: white;
    border: none;
    text-decoration: none;
}

.form-btn:active {
    opacity: 0.9;
}

.page_crtl {
    margin: 2em 0 0 0;
    text-align: center;
}

.Q24 {
    display: flex;
}

.box_w {
    width: 100px;
    margin: 0 5px;
}

@media screen and (max-width: 768px) {
    .quiz_block h5 {
        font-family: "Noto Sans TC", 微軟正黑體, Arial, sans-serif;
        text-align: center;
        font-size: 18px !important;
        line-height: 24px;
        display: block;
        margin: 0px;
    }

    h4 {
        color: rgb(255, 255, 255);
        font-family: 微軟正黑體;
        font-size: 18px !important;
        line-height: 24px;
        text-align: center;
        letter-spacing: 1px;
        padding: 10px;
    }

    .h2,
    h2 {
        font-weight: normal;
        font-size: 16px;
        text-align: left;
        color: #111111;
        font-weight: bold;
    }

    .years {
        float: left;
    }

    input {
        max-width: 210px;
    }

    .Q24 {
        display: block;
    }

    .box_w {
        width: 100px;
    }

    .tagline {
        width: 100%;
    }

    .tagline h1 {
        font-size: 2em;
        line-height: 40px;
    }

    .half {
        width: 100%;
        float: none;
        padding: 0;
    }

    .half2 {
        width: 50%;
        padding: 0;
    }

    .half input[type=text] {
        max-width: 100%;
    }

}

@media screen and (max-width: 680px) {

    .radio label,
    .checkbox label {
        font-size: 16px;
        margin: 0;
    }

    .quiz_block {
        margin: 2em 0;
        overflow: hidden;
    }

    .quiz_block h3 {
        font-size: 20px;
        text-align: justify;
    }

}

h4 {
    color: #000;
    font-family: '微軟正黑體';
    font-size: 24px;
    line-height: 30px;
    padding: 10px;
    text-align: center;
    letter-spacing: 1px;
}

.company {
    padding-bottom: 0px;
    font-family: 'Noto Sans TC', '微軟正黑體', Arial, sans-serif;
}

.quarter {
    width: 25%;
    float: left;
    padding-right: 15px;
}

.clearfix {
    clear: both;
}

.one {
    width: 10%;
    float: left;
    padding-right: 15px;
}

.number {
    float: left;
    margin-right: 20px;
}

.numberbox {
    float: left;
}