:root{
    --main_color: #59abd2; /*主要色*/
    --main_hover_color: #a7c2ff; /*主要色按鈕 hover色*/
    --text_color: #666666; /*文字顏色*/
    --text_color_gray: #666666; /*文字顏色 灰*/
    --text_background_color_gray: #e4e4e4; /*背景顏色 灰*/
    --text_color_a_hover: #59abd2; /*文字顏色(連結hover)*/
    --main_color_a_hover: #c0ebff; /*主要色文字顏色(連結hover)*/
    --small-gray: #bdbdbd; /*小字體灰*/
}

.row {
    margin:0;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-right: 0px;
    padding-left:  0px;
}

.displaynone {
    display: none;
}

html {
    background-color: var(--main_color);
}

body {
    font-family: "inherit", "Microsoft JhengHei";
    color: var(--text_color);
    font-size: 18px;
    overflow-x: hidden;
}

.text-black {
    color: #000000;
}

a {
    color: var(--text_color);
    text-decoration: none;
}

a:hover {
    color:var(--text_color_a_hover) !important;
}

.container {
    max-width: 1200px;
}

#nav-menu {
    background-color: var(--main_color);
}

#nav-menu a:hover {
    color: var(--main_color_a_hover) !important;
}

#contact_btn:hover {
    color: var(--main_color_a_hover) !important;
}

main {
    background-color: #efefef;
}

.article-item {
    border: none !important;
}

.shadow {
    box-shadow: 0 0 5px rgb(0 0 0 / 10%);
}

.bold {
    font-weight: 900;
}

.form-control {
    height: 50px;
    border-radius: 2px;
}

.form-control::placeholder {
    color: #cccccc;
    font-size: 0.9rem;
}

.form-check-input {
    height: 20px;
    width: 20px;
    border-radius: 2px !important;
    cursor: pointer;
}

.form-check-label {
    padding-top: 5px;
    padding-left: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn {
    border-radius: 2px !important;
}

.keyword-btn {
    height: 50px;
}

.btn-main {
    background-color: var(--main_color);
    color: #ffffff;
    margin-top: 20px;
    width: 100%;
    height: 50px;
}

.btn-main:hover {
    color: #ffffff;
    background-color: var(--main_hover_color);
}

.btn-main:focus {
    box-shadow: none;
}


@media only screen and (min-width: 1px) and (max-width: 767px) {
    .pc_show {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile_show {
        display: none !important;
    }

    .navbar-headmenu {
        height: 60px !important;
    }
}

#menu-item a {
    /*line-height: 40px;*/
    font-size: 18px;
    letter-spacing: 1px;
    color: #ffffff;
}

.navbar-headmenu {
    border-bottom: 1px solid #cacaca;
}

.w-border {
    border: 1px solid #cacaca;
}

.navbar-login {
    font-size: 0.825rem;
}


.border-radius-none {
    border-radius: 0px;
}

.sec_title {
    font-size: 1.25rem;
    padding-left: 7px;
}

section {
    margin-bottom: 3rem;
}

.ad {
    width: 100%;
    max-width: 100%;
    background-color: #b3b3b3;
    color: #ffffff;
    text-align: center;
}

.list_summary {
    height: 80px;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.article-item:hover p {
    color: var(--text_color);
}

.article-item:hover img {
    z-index: 99999999999999 !important;
    transform: scale(1.1);
    transition: all .5s;
}

.article-item .col-md-4 {
    overflow:hidden;
}

.article-item .card-title {
    letter-spacing: 1px;
    line-height: 26px;
    font-size: 22px;
}

.text_content {
    text-align: justify;
    letter-spacing: 1px;
    line-height: 26px;
    font-size: 18px;
    word-wrap: break-word;
}

.text_content img {
    max-height: 600px;
}

.share {
    font-size: 1.15rem;
}

.article_detail_keyword {
    margin: 10px 0px;
}

.article_detail_keyword .keyword {
    font-weight: 900;
    display: inline-block;
    margin-right: 10px;
}

.article_detail_keyword .item {
    background-color: var(--main_color);
    padding: 3px 8px;
    margin-bottom: 5px;
    color: #ffffff;
    display: inline-block;
    border: 1px solid var(--main_color);
    font-size: 16px;
}

.article_detail_keyword .item:hover {
    color: var(--main_color);
    background-color: #ffffff;
    border: 1px solid var(--main_color);
}

.article_detail_more .title {
    font-weight: 900;
    padding-top: 10px;
}

.article_detail_more .item {
    display: block;
    margin: 15px 0px 15px 15px;
}

.article_detail_more .fa-caret-right {
    color: var(--main_color);
}

.copyright {
    font-size: 0.825rem;
}

.article_detail_title {
    padding-bottom: 0px !important;
}

.article_detail_info, .article-item-info-box span, .article-item-info-box a, .article-item-info-box i, .article-item-info-box {
    font-size: 0.8rem !important;
    color: var(--small-gray) !important;
}

.article_detail_info a {
    color: var(--small-gray) !important;
}

.article_detail_info a:hover {
    color: var(--main_color) !important;
}

.article_detail_info {
    padding-top: 5px;
}

.page-link {
    color: var(--main_color);
}
.page-item a {
    border-radius:25px !important;
    height:45px;
    width:45px;
    text-align: center;
    line-height: 32px;
    margin-right: 5px;
}

.page-more {
    margin-right: 5px;
    padding-top: 5px;
}

.page-item.active a, .page-item.active a:hover{
    background-color: var(--main_color) !important;
    border-color: var(--main_color) !important;
    color: #ffffff !important;
}

.page-item a:hover{
    background-color: var(--main_color) !important;
    border-color: var(--main_color) !important;
    color: #ffffff !important;
}

img.ckeditor_ads {
    text-align: center;
    height: 100px !important;
    width: 200px;
    text-align: center;
    border: 1px solid #5e5e5e;
}

.contact-btn, .contact-btn:hover {
    height: 50px ;
    cursor: pointer;
    background-color: var(--main_color);
    color: #ffffff;
}

#contact p {
    border-bottom: 1px solid #d0d0d0;
    line-height: 30px;
}

#contact label {
    font-size: 1rem;
    font-weight: 700;
}

.blockgray {
    background-color: var(--text_background_color_gray);
    padding: 20px 20px;
    word-wrap:break-word;
    text-align: left;
}

.fab.fa-line:hover {
    color: #56a959 !important;
}
.fab.fa-facebook-square:hover {
    color: #4d78da !important;
}

.share .fab {
    color: var(--small-gray);
}

.text_content table {
    max-width: 100% !important;
    /*width: auto !important;*/
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.text_content table {
    border: 0px solid #d0d0d0;
}

.text_content tr, .text_content td, .text_content th {
    border: 1px solid #d0d0d0;
}

.text_content td, .text_content th {
    padding: 5px 10px;
    align-content: center;
    vertical-align: middle !important;
}

.text_content table p {
    padding: 0px !important;
    margin: 0px !important;
}

.text_content table {
    color: var(--text_color) !important;
}

footer {
    background-color: var(--main_color) !important;
}

footer span {
    color: #ffffff !important;
}

.navbar-toggler .fas.fa-bars {
    color:  #ffffff;
}

button.navbar-toggler:focus {
    box-shadow: none;
}

.text_content h1 {
    font-size: 28px;
    color: #000000;
}

.text_content h2 {
    font-size: 24px;
    color: #000000;
}

.text_content h3 {
    font-size: 22px;
    color: #000000;
}

.text_content h4 {
    font-size: 20px;
    color: #000000;
}

.text_content h5 {
    font-size: 18px;
    color: #000000;
}

.h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {

    margin-bottom: 1rem;
}

.webdesign, .webdesign:hover {
    color: #fff !important;
}