.cf:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
* html .cf {
    zoom: 1;
}
*:first-child+html .cf {
    zoom: 1;
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dd-list .dd-list {
    padding-left: 30px;
}
.dd-collapsed .dd-list {
    display: none;
}
.dd-item, .dd-empty, .dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height:  0.9rem;
    font-size: 0.9rem;
    line-height: 0.9rem;
}
.dd-handle {
    display: block;
    height: 40px;
    margin: 5px 0;
    padding: 5px 10px;
    color: #495057; /* 字體顏色 */
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #dee2e6; /* 邊框色 */
    background-color: #ffffff; /* 列表項背景 */
    background: -webkit-linear-gradient(top, #ffffff 0%, #f8f9fa 100%);
    background: -moz-linear-gradient(top, #ffffff 0%, #f8f9fa 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.dd-handle:hover {
    color: #212529; /* hover 時的字體顏色 */
    background-color: #e9ecef; /* hover 時的背景色 */
    border-color: #ced4da; /* hover 時的邊框顏色 */
}
.dd-item>button {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    left: 5px;
    width: 40px;
    height: 20px;
    margin: 10px 0;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    font-size: 15px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
}
.dd-item>button:before {
    content: '+';
    display: block;
    position: absolute;
    width: 75%;
    text-align: center;
    text-indent: 0;
}
.dd-item>button[data-action="collapse"]:before {
    content: '-';
}
.dd-placeholder, .dd-empty {
    margin: 5px 0;
    padding: 0;
    min-height: 40px;
    background: #f8f9fa; /* 占位符背景 */
    border: 1px dashed #dee2e6; /* 占位符邊框 */
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.dd-empty {
    border: 1px dashed #bbb;
    min-height: 100px;
    background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image: -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 40px 40px;
}
.dd-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
}
.dd-dragel>.dd-item .dd-handle {
    margin-top: 0;
}
.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
}

.dd-hover>.dd-handle {
    background: #e9ecef !important; /* hover 時的背景 */
}

.dd3-content:hover {
 
}
.dd-dragel>.dd3-item>.dd3-content {
    margin: 0;
}
.dd3-item>button {
    margin-left: 30px;
}
.dd3-handle {
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    cursor: pointer;
    width: 40px; /* 手柄寬度 */
    height: 40px; /* 手柄高度 */
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #ced4da; /* 手柄邊框 */
    border-right: none; /* 移除右側邊框 */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 1084;
}

.dd3-content {
    display: block;
    height: 40px; /* 內容高度 */
    margin: 5px 0;
    padding: 11.5px 10px 10px 40px; /* 調整左側內距，為更高的手柄留空間 */
    color: #495057; /* 文字顏色 */
    text-decoration: none;

    border: 1px solid #dee2e6; /* 項目邊框 */
    background: #ffffff; /* 項目背景 */
    background: -webkit-linear-gradient(top, #ffffff 0%, #f8f9fa 100%);
    background: -moz-linear-gradient(top, #ffffff 0%, #f8f9fa 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
}

.dd3-handle:before {
    content: '≡';
    display: block;
    position: absolute;
    left: 0;
    top: 12px; /* 調整圖標的位置，居中顯示 */
    width: 100%;
    text-align: center;
    text-indent: 0;
    color: #666;
    font-size: 20px;
    font-weight: normal;
}

.dd3-handle:hover {
    background: #CCC; /* 手柄 hover 背景 */
    color: #ffffff;
}

.socialite {
    display: block;
    float: left;
    height: 35px;
}
