﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/*------分割線------*/

/*頻道管理-關於我們-內容管理*/
form, ul, li, dl, dt, dd {
    margin: 0px;
    list-style-type: none;
    padding: 0px;
}

.mx-search-frame, .content_box {
    margin: 15px;
}

.mx-search-item {
    margin: 15px 0;
    display: flex;
    height: 40px;
}
    .mx-search-item .sel_title {
        margin: 10px;
    }

    .mx-search-item .btn-icon {
        width: 16px;
        min-width: auto;
        height: 16px;
        margin: 10px;
        padding: 0;
        border: none;
        border-radius: unset;
    }

    .mx-search-item .item-right .btn-icon {
        margin: 0 10px;
    }

    .mx-search-item a {
        color: #000;
    }

        .mx-search-item a:hover {
            text-decoration: none;
            color: #4d4d4d;
        }

    .mx-search-item .div_span {
        color: #999;
    }
    .mx-search-item .fs_right {
        position: absolute;
        right: 35px;
    }
    .mx-search-item .mx-search-btn {
        width: 90px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        color: #4A97E7;
        border-radius: 5px;
        border: 1px solid #4A97E7;
        margin-right: 15px;
        display: inline-block;
        cursor: pointer;
    }
        .mx-search-item .mx-search-btn.all {
            background: url('../images/icon-checkbox-top.png') no-repeat;
            background-position-y: center;
            border: none;
            border-radius: unset;
            min-width: auto;
            color: #666;
            margin-right: 0;
            margin-left: 15px;
            outline: none;
        }

            .mx-search-item .mx-search-btn.add {
                background: #4A97E7;
                color: #fff;
                border: none;
            }

        .mx-search-item .mx-search-btn.del {
            background: url('../images/icon-del.png') no-repeat;
            background-position-y: center;
            border: none;
            border-radius: unset;
            min-width: auto;
            color: #666;
            margin: 0;
            padding-left: 25px;
        }

            .mx-search-item .mx-search-btn.del:hover {
                color: #ff5500;
            }

    .mx-search-item .mx-search-input {
        width: 200px;
    }

.div_input {
    position: absolute;
    right: 35px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background: #fff;
    margin-right: 15px;
}

    .div_input.role_mgr {
        cursor: pointer;
        right: 42px;
        border: none;
        margin-top: 6px;
    }

.mx-search-select.selDept {
    width: 200px;
    height: 35px;
    border-radius: 5px;
    color: #ccc;
    border-color: #e8e6e6;
    margin: 0 5px;
}

    .mx-search-select.selDept:focus {
        border: 1px solid #4A97E7;
        color: #333;
        outline: 0;
    }

/*文字列表視圖-表格樣式*/
/*.content_box {
    margin-top: -65px;
}*/

.tab2_box {
    margin-top: 0;
}

.msgtab {
    border: 1px solid #EDECFF;
}

    .msgtab thead {
        background: #F3F5F8;
        border-radius: 4px 4px 0px 0px;
        opacity: 0.6;
    }

        .msgtab thead th .th-inner,
        .msgtab thead th.bs-checkbox .th-inner,
        .msgtab tbody tr td.bs-checkbox input {
            text-align: left;
        }

    .msgtab .btn {
        padding: .375rem 0rem;
    }

.tab_btn {
    color: #005eac;
    margin: 0 5px;
}

    .tab_btn:hover {
        color: #ff5500;
        text-decoration: none;
    }

.tab_input {
    width: 50px;
    min-width: auto;
}

/*圖片列表視圖*/
.content_list {
    overflow: hidden;
    margin: 15px;
}

    .content_list a {
        font-size: 16px;
        color: #333;
        text-decoration: none;
    }

        .content_list a:hover {
            color: #ff5500;
        }

    .content_list .list_nav {
        border: 1px solid #EDECFF;
        overflow: hidden;
    }

        .content_list .list_nav li {
            float: left;
            padding: 10px;
            width: 50%;
        }

.img_box {
    border: 2px solid #E3F2FA;
    background: url(../images/li_bg.gif) repeat-x left bottom;
}

    .img_box .box_check {
        float: right;
        margin: 5px;
    }

    .img_box .cover {
        float: left;
        margin: 10px;
    }

.query_check {
    position: absolute;
    left: 20px;
    top: 18px;
}

.content_list .list_nav li dl {
    margin-right: 15px;
}

    .content_list .list_nav li dl dt {
        margin: 10px;
    }

    .content_list .list_nav li dl dd {
        color: #999;
    }

.tools_btns {
    height: 40px;
    line-height: 40px;
}

    .tools_btns .tools_right {
        float: right;
    }

        .tools_btns .tools_right input {
            vertical-align: middle;
            border: none;
            min-width: auto;
            height: auto;
            margin: 0;
        }

.sort_input {
    height: 30px;
    width: 50px;
    border: 1px solid #D7D7D7;
}

.img_box .clear {
    clear: both;
}

.content_list .page_box {
    margin: 10px 0;
}
/*圖片列表修訂版*/
.content_list .row {
    margin: 10px;
}

.content_list .newstime {
    margin: auto;
}

.newstime .time_txt {
    margin-left: 30px;
}
/*控制面板-系統參數設置*/
.layui-tab-content .layui-tab-item th {
    text-align: right;
    padding: 0 10px;
}
    .layui-tab-content .layui-tab-item th:firstchild {
        text-align: right;
    }

.layui-tab-content .layui-tab-item td {
    padding: 10px;
}

.comSav {
    /*text-align: center;*/
    margin: 5px 160px;
}
/*各模块新增-修改页面*/
.attach_list {
    clear: both;
    margin-left: 10px;
}

    .attach_list ul li {
        position: relative;
        margin: 5px 20px auto auto;
        height: 45px;
        line-height: 28px;
        border: 1px solid #DEEFF3;
    }

.imgplugin li {
    float: left;
    position: unset !important;
    height: auto !important;
    line-height: unset !important;
    border: none !important;
}

.imgplugin .img_box {
    border: 2px solid #E3F2FA;
    background: none;
    margin: 10px 0;
    position: relative;
}

    .imgplugin .img_box img {
        width: 120px;
        height: 100px;
    }

    .imgplugin .img_box .remark {
        position: absolute;
        top: 80px;
        left: 0;
        background: rgba(1, 32, 92, 0.3);
        color: #fff;
        width: 118px;
        height: 20px;
        padding-left: 5px;
        margin: 0;
    }
        /*.attach_list ul li b.close {
            position: absolute;
            display: block;
            text-indent: -9999px;
            top: 0;
            right: 3px;
            cursor: pointer;
            width: 13px;
            height: 13px;
            margin: 15px;
            background: url('../images/icon_del2.gif') no-repeat left top;
        }*/

    .attach_list span {
        margin: 10px;
    }

.moods {
    display: inline-block;
    width: 100px;
}

