﻿.MatrixRow {
    display: block;
    text-align:center;
}
.MatrixCell {
    position: relative;
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 10px;
    vertical-align: top;
    overflow: hidden;
    /*padding-bottom: 15px;*/
    /*background-color: red;*/
}

/* 无脚本降级：按占位数给出基础宽度（有 JS 时由 Layout.js 写入内联宽度覆盖此处） */
.MatrixCell {
    width: 25%;
    box-sizing: border-box;
    min-width: 0;
}
    .MatrixCell.Cols2 {
        width: 50%;
    }
    .MatrixCell.Cols3 {
        width: 75%;
    }
    .MatrixCell.Cols4 {
        width: 100%;
    }
    .MatrixCell .LoopShow {
        height: 100%;
    }

@media screen and (max-width: 800px) {
    .MatrixRow {
    }
        .MatrixRow .MatrixCell {
            display: block;
        }
}

.CellStyle_Text {
    text-align: left;
    vertical-align: middle;
}

.CellStyle_List {
    text-align: left;
    /*background-color: red;*/
    width: 100%;
    overflow: hidden;
}
    .CellStyle_List .CellStyle_List_Title {
        display: block;
        margin: 0px 5px;
        padding: 2px 15px;
        height: 26px;
        line-height: 26px;
        vertical-align: middle;
        color: #fff;
        font-weight: bold;
        font-size: 16px;
        background-color: rgba(123, 123, 123, 0.9);
    }
    .CellStyle_List a {
        display: block;
        /* 删除 width:10000px; */
        margin: 0px 5px;
        padding: 2px 2px 2px 28px; /* 左侧留图标位置 */
        border-bottom: solid 2px rgba(100, 100, 100, 0);
        height: 24px;
        line-height: 24px;
        vertical-align: middle;
        text-align: left;
        cursor: pointer;
        background: url(/Images/Item1_Leisure_golf.png) 4px 50% /20px no-repeat;
        /* a本身做溢出容器 */
        overflow: hidden;
    }
        .CellStyle_List a img {
            height: 16px;
            min-width: 16px;
            max-width: 36px;
            margin-right: 5px;
        }
        .CellStyle_List a span {
            display: inline-block;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap; /* 单行，超长显示省略号 */
        }
        .CellStyle_List a:hover {
            background-color:rgba(200, 200, 200, 0.3);
            border-bottom: solid 2px rgba(100, 100, 100, 1);
        }

.CellStyle_Image {
    overflow: hidden;
}
    .CellStyle_Image img {
        max-width: 100%;
        max-height: 90%;
        margin-right: 15px;
        object-fit: cover;
        border-radius: 10px;
        border: solid 3px rgba(255, 255, 255, 1);
        box-shadow: 5px 5px 5px rgba(100, 100, 100, 1);
    }

.CellStyle_Links {
    text-align: left;
    /*background-color: red;*/
}
    .CellStyle_Links .CellStyle_Link_Title {
        padding: 2px;
        height: 26px;
        line-height: 26px;
        vertical-align: middle;
        color: #999;
        font-weight: bold;
        font-size: 16px;
        float: left;
        /*background-color: gold;*/
    }
    .CellStyle_Links a {
        display: inline-block;
        margin-left: 5px;
        padding: 2px;
        border: dotted 0px #ccc;
        max-width: 160px;
        min-width: 80px;
        height: 26px;
        line-height: 26px;
        vertical-align: middle;
        text-align: center;
        cursor: pointer;
        /*background-color: blue;*/
    }
        .CellStyle_Links a img {
            height: 24px;
            min-width: 24px;
            max-width: 36px;
            margin-right: 5px;
        }
        .CellStyle_Links a span {
            overflow: hidden;
            padding-right: 5px;
        }
    .CellStyle_Links a:hover{
        font-weight:bold;
    }

@media screen and (max-width: 800px) {
    .CellStyle_Text {
        display:block;
        margin: 0px 10px;
        height:initial;
        /*background-color:red;*/
    }

    .CellStyle_Image img {
        margin-right: 0px;
    }

}