﻿.fck {
    width: 100%;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    font-size: 16px;
}


.fck .level_1 {
    display: block;
}

.fck h1 {
    font-size: 1.625em;
    display: block;
    background: #ededed;
    border-radius: 5px;
    margin: 0.75em 0;
    padding: 0.25em 0.5em;
    line-height: 1.5em;
    
}

.fck .level_padding_1 {
    display: block;
    padding-left: 0;
    margin-bottom: 8px;
}

/*層級2*/
.fck .level_2 {
    display: block;
    padding-left: 0;
    margin-top: 24px;
}
.fck h2 {
    font-size:22px;
    display: block;
    margin-top: 16px;
    margin-bottom: 0.5em;
    color: #2d6895; 
    font-weight: bold;
}
.fck .level_padding_2 {
    padding-left: 0px;
    margin-bottom: 8px;
}

/*層級3*/

.fck .level_3 {
    display: block;
    padding-left: 10px;    
}
.fck .level_3 h3 {
    font-size: 16px;
    font-weight: normal;
    display: block;
    margin-bottom: 0.25em;   
}

.fck .level_padding_3 {
    padding-left: 16px;
    margin-bottom: 8px;
}


/*h4----*/
.fck h4 {
    font-size: 1em;
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
}



/*h5----*/
.fck h5 {
    font-size: 1em;
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
}

.fck .level_4 {
    display: block;
    padding-left: 152px;
}

.fck .level_padding_4 {
    padding-left: 16px;
}

/*h6----*/
.fck h6 {
    font-size: 1em;
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
}

.fck .level_5 {
    display: block;
    padding-left: 175px;
}

.fck .level_padding_5 {
    padding-left: 24px;
}

.fck .badge {
    font-size: 8px;
}

.fck_img{
    display: block;
    text-align: center;
}
.fck_img img {
    width: 100%;
    max-width:600px;
    height: auto;
    display: inline-block;
}

.fck_img_text {
    margin-top: 10px;
    display: block;
    text-align: center;
    color: rgb(56, 136, 211);
}

.fck_row {
    display: block;
    padding-top: 8px;
    padding-bottom: 8px;
    overflow: hidden;
}

.fck ul,
.fck ol {
    margin: 0 0 0 1.5rem;
    padding: 0;
}

.fck_media {
    width: 500px;
    height: auto;
    display: inline-block;
    margin: 0 auto;
}

@media(max-width:640px) {
    .fck_media {
        width: 100%;
        height: auto;
        display: inline-block;
    }
}



.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-16by9 {
    padding-bottom: 56.25%;
}

.embed-responsive-4by3 {
    padding-bottom: 75%;
}

.fck a {
    color: #31a9f9;
    text-decoration: underline;
    -moz-transition: color 500ms;
    -o-transition: color 500ms;
    -webkit-transition: color 500ms;
}

.fck a:hover {
    color: #1294ea;
    text-decoration: underline;
}

.fck li,
.fck p {
    line-height: 2.2em;
}

.fck p {
    display: block;
    margin: 0;
    padding: 0;
}

.fck .bg01 {
    background: #d0dce0;
}

/*table-------------------------------------------------*/



.fck table {
    width: 100%;
    max-width: 100%;
    margin-top: 0.5em;
    margin-bottom: 2em;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.fck table tr th,
.fck table tr td {
    padding: 12px 10px;
    font-size: 16px;
    line-height: 1.65em;
    vertical-align: middle;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    height: auto !important;
}

.fck table tr th {
    vertical-align: middle;
    border-bottom: 2px solid #ddd;
    text-align: center;
    height: auto !important;
    background: #f0f0f0;
}

.fck table tr th p,
.fck table tr td p {
    margin: 0;
    padding: 0;
    height: auto !important;
    line-height: 1.65em;
}

.fck table>tbody+tbody {
    border-top: 2px solid #ddd;
}

.fck table table {
    background-color: #fff;
}

.fck table>thead>tr>td.active,
.fck table>tbody>tr>td.active,
.fck table>tfoot>tr>td.active,
.fck table>thead>tr>th.active,
.fck table>tbody>tr>th.active,
.fck table>tfoot>tr>th.active,
.fck table>thead>tr.active>td,
.fck table>tbody>tr.active>td,
.fck table>tfoot>tr.active>td,
.fck table>thead>tr.active>th,
.fck table>tbody>tr.active>th,
.fck table>tfoot>tr.active>th {
    background-color: #f5f5f5;
}

.fck a {
    color: #00a3ad;
    text-decoration: underline;
}

@media(max-width:1024px){
    .fck table tr th,
    .fck table tr td {
        padding: 9px 7px;
    }
}

@media(max-width:540px){
    .fck table tr th,
    .fck table tr td {
        padding: 6px 4px;
    }
}

@media print {
    .fck {
        font-size: 10pt;
    }

    .fck table tr th,
    .fck table tr td {
        padding: 5pt;
        font-size: 10pt;
    }
}