/* sandbox test */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

body {
    color: #4c4c4c;
    font-family: Arial, "微軟正黑體","Microsoft JhengHei","蘋果儷中黑", "Lucida Sans Unicode","Microsoft Yahei", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    background: #fff bottom center no-repeat;
    background-attachment: fixed;
}

[tabindex="-1"]:focus:not(:focus-visible) {
    outline: 0 !important;
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.625rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

abbr[title],
abbr[data-original-title] {
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    cursor: help;
    border-bottom: 0;
    text-decoration-skip-ink: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

    ol ol,
    ul ul,
    ol ul,
    ul ol {
        margin-bottom: 0;
    }

dt {
    font-weight: 700;
}

dd {
    margin-bottom: .5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 1rem;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -.25em;
}

sup {
    top: -.5em;
}

a {
    color: #23569d;
    text-decoration: underline;
    background-color: transparent;
}

    a:hover {
        color: #15345e;
        text-decoration: underline;
    }

    a:not([href]):not([class]) {
        color: inherit;
        text-decoration: none;
    }

        a:not([href]):not([class]):hover {
            color: inherit;
            text-decoration: none;
        }

pre,
code,
kbd,
samp {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1em;
}

pre {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    -ms-overflow-style: scrollbar;
}

figure {
    margin: 0 0 1rem;
}

img {
    vertical-align: middle;
    border-style: none;
}

svg {
    overflow: hidden;
    vertical-align: middle;
}

table {
    border-collapse: collapse;
}

caption {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: #838990;
    text-align: left;
    caption-side: bottom;
}

th {
    text-align: inherit;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

button {
    border-radius: 0;
}

    button:focus {
        outline: 1px dotted;
        outline: 5px auto -webkit-focus-ring-color;
    }

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

[role="button"] {
    cursor: pointer;
}

select {
    word-wrap: normal;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

    button:not(:disabled),
    [type="button"]:not(:disabled),
    [type="reset"]:not(:disabled),
    [type="submit"]:not(:disabled) {
        cursor: pointer;
    }

    button::-moz-focus-inner,
    [type="button"]::-moz-focus-inner,
    [type="reset"]::-moz-focus-inner,
    [type="submit"]::-moz-focus-inner {
        padding: 0;
        border-style: none;
    }

input[type="radio"],
input[type="checkbox"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

textarea {
    overflow: auto;
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.5rem;
    line-height: inherit;
    color: inherit;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    outline-offset: -2px;
    -webkit-appearance: none;
}

    [type="search"]::-webkit-search-decoration {
        -webkit-appearance: none;
    }

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

output {
    display: inline-block;
}

summary {
    display: list-item;
    cursor: pointer;
}

template {
    display: none;
}

[hidden] {
    display: none !important;
}







body {
    margin: 0;
    padding: 0;
    padding-top: 20px;
    color: #4c4c4c;
    font-family: Arial, "微軟正黑體","Microsoft JhengHei","蘋果儷中黑", "Lucida Sans Unicode","Microsoft Yahei", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    background: #fff bottom center no-repeat;
    background-attachment: fixed;
}

p {
    margin-top: 0;
    margin-bottom: 10px;
}

.m-b-none {
    margin-bottom: 0 !important;
}

@media (max-width: 1280px) {
    body {
        background-position: left bottom;
        -webkit-background-size: 115%;
        background-size: 115%;
    }
}

#container {
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px #ccc;
}

@media screen and (min-width: 992px) {
    #container {
        width: 960px;
    }
}

#header {
}

#main {
    padding: 35px 50px;
}

table {
    border-collapse: collapse;
}

.survey_wrapper {
    width: 100%;
}

.survey-header {
    width: 100%;
}

.survey-header-top:after {
    display: block;
    content: "";
    clear: both;
}

.survey-title {
    width: 606px;
    height: 50px;
    padding-top: 5px;
    font-size: 24px;
    font-weight: bold;
    color: #1c1c1c;
    float: left;
}

.logo-box {
    width: 250px;
    text-align: right;
    float: right;
}

.logo-box-pcleft {
    width: 250px;
    text-align: left;
    float: left;
}

.survey-head-intro {
    width: 100%;
    background-color: #23569d;
    color: #fff;
}

    .survey-head-intro .intro {
        padding: 15px 20px;
    }

        .survey-head-intro .intro p:last-child {
            margin-bottom: 0;
        }

.prograssive-rate {
    padding-top: 5px;
    font-size: 16px;
    color: #707070;
    text-align: right;
}

.header-mainvisual-box {
    padding-bottom: 8px;
}

.header-mainvisual {
    height: 120px;
    background-color: #eee;
}


@media screen and (max-width: 991px) {
    body {
        margin: 0;
        padding: 0;
        font-size: 20px;
        line-height: 1.5;
        background: none;
    }

    #container {
        width: 100%;
        margin: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    #header > img {
        display: none;
    }

    #main {
        padding: 0;
        padding-bottom: 50px;
    }

    .survey-footer {
        margin: 0 10px;
    }

    .survey-head-intro .intro {
        padding: 20px 15px;
    }

    .survey-header {
        width: auto !important;
    }

    .survey-title {
        width: 100%;
        height: auto;
        font-size: 28px;
        font-weight: bold;
        color: #1c1c1c;
        float: none;
        text-align: center;
        padding-top: 30px;
    }

    .logo-box,
    .logo-box-pcleft {
        width: 100%;
        text-align: center;
        float: none;
    }

    .logo-box-pcleft {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    .section-intro {
        width: auto !important;
    }

    .qa-box {
        width: auto !important;
        padding: 10px 15px;
    }

    .qa-box-subchoice {
        padding-top: 0;
        padding-left: 30px;
    }


    .survey-footer {
        width: auto !important;
    }

    .btn-console {
        text-align: center;
    }

    .text-center-m {
        text-align: center;
    }
}




.section-intro {
    display: flex;
    border-collapse: separate;
    margin: 10px 0 0;
    padding: 20px 15px;
    border-left: 5px solid #23569d;
    background-color: rgba(249,249,249,0.7);
    background-color: #f6f6f6;
}


.sectionintro-text-box {
    width: 85%;
}

.section-title-1stline {
}

.section-titletext {
    font-size: 20px;
    font-weight: bold;
    color: #23569d;
    margin-right: 20px;
}

.section-intro-subtext {
    font-size: 15px;
    color: #5b6770;
}

.question-maintext {
    font-weight: bold;
    letter-spacing: 0.35px;
    margin-bottom: 10px;
}

.question-subtext {
    font-size: 18px;
    color: #707070;
    margin: 10px 0;
}

    .question-maintext:empty,
    .question-subtext:empty {
        margin: 0;
        height: 0;
    }

.qa-box {
    width: 100%;
    padding: 10px 20px;
    margin: 30px 0 30px;
    padding-left: 20px;
    padding-right: 20px;
}

.qa-box-danger{
    border: 1px solid #d81159;
}

.reply-box {
    padding-top: 10px;
    padding-bottom: 10px;
}

hr {
    border: 1px solid #d0d3d4;
    border-bottom: none;
    margin-top: 20px;
    margin-bottom: 20px;
}

.survey-footer {
    border: 1px solid #d0d3d4;
    color: #313131;
    padding: 20px;
}

.survey-footer-inner {
    width: 100%;
}

    .survey-footer-inner td {
        padding: 20px;
    }


.sectionintro-subbox {
    position: relative;
    float: right;
    width: 15%;
    margin-left: 10px;
    margin-top: 10px;
}

.sectionintro-progessnum {
    position: absolute;
    top: -7.5px;
    right: 0;
    width: 38px;
    font-size: 13px;
    text-align: right;
}

.sectionintro-progessbar {
    position: absolute;
    top: 0;
    width: calc(100% - 38px);
    height: 6px;
    background-color: #d2d3d2;
}

    .sectionintro-progessbar::after {
        display: block;
        content: "";
        position: absolute;
        height: 6px;
        background-color: #00aed4;
    }

    .sectionintro-progessbar.probar01::after {
        width: 0;
    }

    .sectionintro-progessbar.probar01::after {
        width: 1%;
    }

    .sectionintro-progessbar.probar02::after {
        width: 2%;
    }

    .sectionintro-progessbar.probar03::after {
        width: 3%;
    }

    .sectionintro-progessbar.probar04::after {
        width: 4%;
    }

    .sectionintro-progessbar.probar05::after {
        width: 5%;
    }

    .sectionintro-progessbar.probar06::after {
        width: 6%;
    }

    .sectionintro-progessbar.probar07::after {
        width: 7%;
    }

    .sectionintro-progessbar.probar08::after {
        width: 8%;
    }

    .sectionintro-progessbar.probar09::after {
        width: 9%;
    }

    .sectionintro-progessbar.probar10::after {
        width: 10%;
    }

    .sectionintro-progessbar.probar11::after {
        width: 11%;
    }

    .sectionintro-progessbar.probar12::after {
        width: 12%;
    }

    .sectionintro-progessbar.probar13::after {
        width: 13%;
    }

    .sectionintro-progessbar.probar14::after {
        width: 14%;
    }

    .sectionintro-progessbar.probar15::after {
        width: 15%;
    }

    .sectionintro-progessbar.probar16::after {
        width: 16%;
    }

    .sectionintro-progessbar.probar17::after {
        width: 17%;
    }

    .sectionintro-progessbar.probar18::after {
        width: 18%;
    }

    .sectionintro-progessbar.probar19::after {
        width: 19%;
    }

    .sectionintro-progessbar.probar20::after {
        width: 20%;
    }

    .sectionintro-progessbar.probar21::after {
        width: 21%;
    }

    .sectionintro-progessbar.probar22::after {
        width: 22%;
    }

    .sectionintro-progessbar.probar23::after {
        width: 23%;
    }

    .sectionintro-progessbar.probar24::after {
        width: 24%;
    }

    .sectionintro-progessbar.probar25::after {
        width: 25%;
    }

    .sectionintro-progessbar.probar26::after {
        width: 26%;
    }

    .sectionintro-progessbar.probar27::after {
        width: 27%;
    }

    .sectionintro-progessbar.probar28::after {
        width: 28%;
    }

    .sectionintro-progessbar.probar29::after {
        width: 29%;
    }

    .sectionintro-progessbar.probar30::after {
        width: 30%;
    }

    .sectionintro-progessbar.probar31::after {
        width: 31%;
    }

    .sectionintro-progessbar.probar32::after {
        width: 32%;
    }

    .sectionintro-progessbar.probar33::after {
        width: 33%;
    }

    .sectionintro-progessbar.probar34::after {
        width: 34%;
    }

    .sectionintro-progessbar.probar35::after {
        width: 35%;
    }

    .sectionintro-progessbar.probar36::after {
        width: 36%;
    }

    .sectionintro-progessbar.probar37::after {
        width: 37%;
    }

    .sectionintro-progessbar.probar38::after {
        width: 38%;
    }

    .sectionintro-progessbar.probar39::after {
        width: 39%;
    }

    .sectionintro-progessbar.probar40::after {
        width: 40%;
    }

    .sectionintro-progessbar.probar41::after {
        width: 41%;
    }

    .sectionintro-progessbar.probar42::after {
        width: 42%;
    }

    .sectionintro-progessbar.probar43::after {
        width: 43%;
    }

    .sectionintro-progessbar.probar44::after {
        width: 44%;
    }

    .sectionintro-progessbar.probar45::after {
        width: 45%;
    }

    .sectionintro-progessbar.probar46::after {
        width: 46%;
    }

    .sectionintro-progessbar.probar47::after {
        width: 47%;
    }

    .sectionintro-progessbar.probar48::after {
        width: 48%;
    }

    .sectionintro-progessbar.probar49::after {
        width: 49%;
    }

    .sectionintro-progessbar.probar50::after {
        width: 50%;
    }

    .sectionintro-progessbar.probar51::after {
        width: 51%;
    }

    .sectionintro-progessbar.probar52::after {
        width: 52%;
    }

    .sectionintro-progessbar.probar53::after {
        width: 53%;
    }

    .sectionintro-progessbar.probar54::after {
        width: 54%;
    }

    .sectionintro-progessbar.probar55::after {
        width: 55%;
    }

    .sectionintro-progessbar.probar56::after {
        width: 56%;
    }

    .sectionintro-progessbar.probar57::after {
        width: 57%;
    }

    .sectionintro-progessbar.probar58::after {
        width: 58%;
    }

    .sectionintro-progessbar.probar59::after {
        width: 59%;
    }

    .sectionintro-progessbar.probar60::after {
        width: 60%;
    }

    .sectionintro-progessbar.probar61::after {
        width: 61%;
    }

    .sectionintro-progessbar.probar62::after {
        width: 62%;
    }

    .sectionintro-progessbar.probar63::after {
        width: 63%;
    }

    .sectionintro-progessbar.probar64::after {
        width: 64%;
    }

    .sectionintro-progessbar.probar65::after {
        width: 65%;
    }

    .sectionintro-progessbar.probar66::after {
        width: 66%;
    }

    .sectionintro-progessbar.probar67::after {
        width: 67%;
    }

    .sectionintro-progessbar.probar68::after {
        width: 68%;
    }

    .sectionintro-progessbar.probar69::after {
        width: 69%;
    }

    .sectionintro-progessbar.probar70::after {
        width: 70%;
    }

    .sectionintro-progessbar.probar71::after {
        width: 71%;
    }

    .sectionintro-progessbar.probar72::after {
        width: 72%;
    }

    .sectionintro-progessbar.probar73::after {
        width: 73%;
    }

    .sectionintro-progessbar.probar74::after {
        width: 74%;
    }

    .sectionintro-progessbar.probar75::after {
        width: 75%;
    }

    .sectionintro-progessbar.probar76::after {
        width: 76%;
    }

    .sectionintro-progessbar.probar77::after {
        width: 77%;
    }

    .sectionintro-progessbar.probar78::after {
        width: 78%;
    }

    .sectionintro-progessbar.probar79::after {
        width: 79%;
    }

    .sectionintro-progessbar.probar80::after {
        width: 80%;
    }

    .sectionintro-progessbar.probar81::after {
        width: 81%;
    }

    .sectionintro-progessbar.probar82::after {
        width: 82%;
    }

    .sectionintro-progessbar.probar83::after {
        width: 83%;
    }

    .sectionintro-progessbar.probar84::after {
        width: 84%;
    }

    .sectionintro-progessbar.probar85::after {
        width: 85%;
    }

    .sectionintro-progessbar.probar86::after {
        width: 86%;
    }

    .sectionintro-progessbar.probar87::after {
        width: 87%;
    }

    .sectionintro-progessbar.probar88::after {
        width: 88%;
    }

    .sectionintro-progessbar.probar89::after {
        width: 89%;
    }

    .sectionintro-progessbar.probar90::after {
        width: 90%;
    }

    .sectionintro-progessbar.probar91::after {
        width: 91%;
    }

    .sectionintro-progessbar.probar92::after {
        width: 92%;
    }

    .sectionintro-progessbar.probar93::after {
        width: 93%;
    }

    .sectionintro-progessbar.probar94::after {
        width: 94%;
    }

    .sectionintro-progessbar.probar95::after {
        width: 95%;
    }

    .sectionintro-progessbar.probar96::after {
        width: 96%;
    }

    .sectionintro-progessbar.probar97::after {
        width: 97%;
    }

    .sectionintro-progessbar.probar98::after {
        width: 98%;
    }

    .sectionintro-progessbar.probar99::after {
        width: 99%;
    }

    .sectionintro-progessbar.probar100::after {
        width: 100%;
    }

@media screen and (max-width: 768px) {
    .section-intro {
        flex-direction: column;
    }

    .sectionintro-text-box {
        width: 100%;
        text-align: justify;
    }

    .sectionintro-subbox {
        width: 40%;
        margin-top: 20px;
        margin-left: 0;
    }
}









.input-itemname {
    margin-right: 12px;
}

.icon-scoreface-gen {
    position: relative;
    top: -1px;
    width: 20px;
    height: 20px;
    margin-left: 1px;
    margin-right: 1px;
}

.qform-control {
    padding: 5px;
}

.f-textarea {
    width: 98%;
}

.f-select {
    min-width: 200px;
    padding: 5px;
}

.f-radio-hori,
.f-check-hori {
    display: inline-block;
    margin-right: 10px;
}

.f-radio-vert,
.f-check-vert {
    display: block;
    margin-bottom: 5px;
}


.f-twoWayDegreeTable td {
    padding: 5px;
}

.f-twoAxisQuestion td {
    padding: 5px;
}

.f-2a-thead > td {
    text-align: center;
}

.f-2a-itembox {
    text-align: center;
}

@media screen and (max-width: 800px) {
    .section-titletext {
        font-size: 22px;
        font-weight: bold;
        color: #23569d;
    }

    .f-radio-hori,
    .f-radio-vert,
    .f-check-hori,
    .f-check-vert {
        position: relative;
        display: block;
        margin: 0 0 5px 0;
    }

        .f-radio-hori input[type="radio"],
        .f-radio-vert input[type="radio"],
        .f-radio-hori input[type="radio"],
        .f-radio-vert input[type="radio"],
        .f-check-hori input[type="checkbox"],
        .f-check-vert input[type="checkbox"],
        .f-check-hori input[type="checkbox"],
        .f-check-vert input[type="checkbox"] {
            position: absolute;
            top: 11.5px;
            left: 5px;
        }
        /* -t */
        .f-radio-hori > label,
        .f-check-hori > label,
        .f-radio-vert > label,
        .f-check-vert > label {
            display: block;
            padding: 5px;
            padding-left: 30px;
            border-radius: 10px;
            border: 1px solid #e5e5e5;
            cursor: pointer;
        }

        .f-radio-hori > input:checked + label,
        .f-check-hori > input:checked + label,
        .f-radio-vert > input:checked + label,
        .f-check-vert > input:checked + label {
            border: 2px solid #23569d;
            color: #23569d;
            font-weight: bold;
            border-radius: 10px;
            background-color: #d7e8ff;
        }

    .f-select {
        width: 100%;
    }


    .f-twoWayDegreeTable {
        width: 100%;
    }

    .f-twoAxisQuestion,
    .f-twoAxisQuestion tbody {
        display: block;
    }

    .f-2a-thead {
        display: none;
    }

    .f-2a-subject {
        margin-bottom: 30px;
    }

    .f-2a-subject,
    .f-2a-subject-titlebox,
    .f-2a-itembox {
        display: block;
        width: 100%;
        padding: 5px 0 !important;
    }

    .f-input,
    .f-radiocheck-othernote,
    .f-radio-hori label input[type="text"],
    .f-check-hori label input[type="text"],
    .f-radio-vert label input[type="text"],
    .f-check-vert label input[type="text"] {
        display: inline-block;
        width: 100%;
    }
}





/* 有moodface為 有滿意度表情的radio */
.f-moodface input[type="radio"] {
    visibility: hidden;
    position: absolute;
    top: -10px;
    left: 10px;
}

.f-moodface .f-radio-hori {
    border: none;
}

.f-moodface label {
    display: inline-block;
    padding: 3px 10px 3px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
}

.f-moodface input:checked + label {
    border: 2px solid #23569d;
    color: #23569d;
    font-weight: bold;
    border-radius: 10px;
    background-color: #d7e8ff;
}

    .f-moodface input:checked + label.feelsoso {
        border: 2px solid #F39100;
        color: #F39100;
        font-weight: bold;
        border-radius: 10px;
        background-color: #ffefdb;
    }

    .f-moodface input:checked + label.feelbad {
        border: 2px solid #B50029;
        color: #B50029;
        font-weight: bold;
        border-radius: 999px;
        background-color: #ffe7e7;
    }

    .f-moodface input:checked + label.nofeel {
        border: 2px solid #838990;
        color: #333;
        font-weight: bold;
        border-radius: 999px;
        background-color: #cccccc;
    }

.f-moodface label.input-itemname {
    margin-right: 5px;
}

.f-moodface label img {
    margin-right: 5px;
}

@media screen and (max-width: 800px) {
    /* -t */
    .f-moodface label {
        display: block;
    }
}


/*button from bootstrap*/
.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    padding: 6px 45px;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus, .btn.active:focus, .btn.active.focus {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .btn:hover, .btn:focus, .btn.focus {
        color: #333;
        text-decoration: none;
    }

    .btn:active, .btn.active {
        outline: 0;
        background-image: none;
        -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    }

    .btn.disabled, .btn[disabled], fieldset[disabled] .btn {
        cursor: not-allowed;
        opacity: 0.65;
        filter: alpha(opacity=65);
        -webkit-box-shadow: none;
        box-shadow: none;
    }

a.btn.disabled, fieldset[disabled] a.btn {
    pointer-events: none;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .btn-default:focus, .btn-default.focus {
        color: #333;
        background-color: #e6e6e6;
        border-color: #8c8c8c;
    }

    .btn-default:hover {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

    .btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

        .btn-default:active:hover, .btn-default:active:focus, .btn-default:active.focus, .btn-default.active:hover, .btn-default.active:focus, .btn-default.active.focus, .open > .btn-default.dropdown-toggle:hover, .open > .btn-default.dropdown-toggle:focus, .open > .btn-default.dropdown-toggle.focus {
            color: #333;
            background-color: #d4d4d4;
            border-color: #8c8c8c;
        }

    .btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle {
        background-image: none;
    }

    .btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled.focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled].focus, .btn-default[disabled]:active, .btn-default[disabled].active, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active {
        background-color: #fff;
        border-color: #ccc;
    }

    .btn-default .badge {
        color: #fff;
        background-color: #333;
    }

.btn-primary {
    color: #fff;
    background-color: #004d8e;
    border-color: #003f75;
}

    .btn-primary:focus, .btn-primary.focus {
        color: #fff;
        background-color: #00315b;
        border-color: black;
    }

    .btn-primary:hover {
        color: #fff;
        background-color: #00315b;
        border-color: #001e37;
    }

    .btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #00315b;
        border-color: #001e37;
    }

        .btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus, .open > .btn-primary.dropdown-toggle:hover, .open > .btn-primary.dropdown-toggle:focus, .open > .btn-primary.dropdown-toggle.focus {
            color: #fff;
            background-color: #001e37;
            border-color: black;
        }

    .btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle {
        background-image: none;
    }

    .btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active {
        background-color: #004d8e;
        border-color: #003f75;
    }

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

    .btn-success:focus, .btn-success.focus {
        color: #fff;
        background-color: #449d44;
        border-color: #255625;
    }

    .btn-success:hover {
        color: #fff;
        background-color: #449d44;
        border-color: #398439;
    }

    .btn-success:active, .btn-success.active {
        color: #fff;
        background-color: #449d44;
        border-color: #398439;
    }

        .btn-success:active:hover, .btn-success:active:focus, .btn-success:active.focus, .btn-success.active:hover, .btn-success.active:focus, .btn-success.active.focus, .open > .btn-success.dropdown-toggle:hover, .open > .btn-success.dropdown-toggle:focus, .open > .btn-success.dropdown-toggle.focus {
            color: #fff;
            background-color: #398439;
            border-color: #255625;
        }

    .btn-success:active, .btn-success.active {
        background-image: none;
    }

    .btn-success.disabled, .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled.focus, .btn-success.disabled:active, .btn-success.disabled.active, .btn-success[disabled], .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled].focus, .btn-success[disabled]:active, .btn-success[disabled].active, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success.focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success.active {
        background-color: #5cb85c;
        border-color: #4cae4c;
    }

.btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

    .btn-info:focus, .btn-info.focus {
        color: #fff;
        background-color: #31b0d5;
        border-color: #1b6d85;
    }

    .btn-info:hover {
        color: #fff;
        background-color: #31b0d5;
        border-color: #269abc;
    }

    .btn-info:active, .btn-info.active {
        color: #fff;
        background-color: #31b0d5;
        border-color: #269abc;
    }

        .btn-info:active:hover, .btn-info:active:focus, .btn-info:active.focus, .btn-info.active:hover, .btn-info.active:focus, .btn-info.active.focus, .open > .btn-info.dropdown-toggle:hover, .open > .btn-info.dropdown-toggle:focus, .open > .btn-info.dropdown-toggle.focus {
            color: #fff;
            background-color: #269abc;
            border-color: #1b6d85;
        }

    .btn-info:active, .btn-info.active {
        background-image: none;
    }

    .btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled.focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled].focus, .btn-info[disabled]:active, .btn-info[disabled].active, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info.focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active {
        background-color: #5bc0de;
        border-color: #46b8da;
    }

.btn-warning {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

    .btn-warning:focus, .btn-warning.focus {
        color: #fff;
        background-color: #ec971f;
        border-color: #985f0d;
    }

    .btn-warning:hover {
        color: #fff;
        background-color: #ec971f;
        border-color: #d58512;
    }

    .btn-warning:active, .btn-warning.active {
        color: #fff;
        background-color: #ec971f;
        border-color: #d58512;
    }

        .btn-warning:active:hover, .btn-warning:active:focus, .btn-warning:active.focus, .btn-warning.active:hover, .btn-warning.active:focus, .btn-warning.active.focus, .open > .btn-warning.dropdown-toggle:hover, .open > .btn-warning.dropdown-toggle:focus, .open > .btn-warning.dropdown-toggle.focus {
            color: #fff;
            background-color: #d58512;
            border-color: #985f0d;
        }

    .btn-warning:active, .btn-warning.active {
        background-image: none;
    }

    .btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled.focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled].focus, .btn-warning[disabled]:active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning.focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active {
        background-color: #f0ad4e;
        border-color: #eea236;
    }


.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

    .btn-danger:focus, .btn-danger.focus {
        color: #fff;
        background-color: #c9302c;
        border-color: #761c19;
    }

    .btn-danger:hover {
        color: #fff;
        background-color: #c9302c;
        border-color: #ac2925;
    }

    .btn-danger:active, .btn-danger.active {
        color: #fff;
        background-color: #c9302c;
        border-color: #ac2925;
    }

        .btn-danger:active:hover, .btn-danger:active:focus, .btn-danger:active.focus, .btn-danger.active:hover, .btn-danger.active:focus, .btn-danger.active.focus, .open > .btn-danger.dropdown-toggle:hover, .open > .btn-danger.dropdown-toggle:focus, .open > .btn-danger.dropdown-toggle.focus {
            color: #fff;
            background-color: #ac2925;
            border-color: #761c19;
        }

    .btn-danger:active, .btn-danger.active {
        background-image: none;
    }

    .btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled.focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled].focus, .btn-danger[disabled]:active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger.focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active {
        background-color: #d9534f;
        border-color: #d43f3a;
    }

    .btn-danger .badge {
        color: #d9534f;
        background-color: #fff;
    }

.btn-link {
    color: #028fcf;
    font-weight: normal;
    border-radius: 0;
}

    .btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link {
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

        .btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
            border-color: transparent;
        }

            .btn-link:hover, .btn-link:focus {
                color: #ff6600;
                text-decoration: underline;
                background-color: transparent;
            }

            .btn-link[disabled]:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:hover, fieldset[disabled] .btn-link:focus {
                color: #777777;
                text-decoration: none;
            }





.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.p-20 {
    padding: 20px;
}

.w-auto {
    width: auto;
}


.table-qlevel tr th,
.table-qlevel tr td,
.table-2wayqlevel tr th,
.table-2wayqlevel tr td {
    padding: 5px 7px;
}

.table-2wayqlevel tr {
    border-bottom: 1px solid #ccc;
}
