/*
Theme Name: TOP-LINK 2024
Text Domain: pogo-pin.cn
Version: 0.1
Requires at least: 4.7
Requires PHP: 5.2.4
Description: toplink pogo-pin.cn official website, Started on 2024-01-23, support
Author: glenliu
Author URI: https://www.glenlau.cn
Theme URI: https://glenlau.cn/themes/pogo-pin/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
---------------------------------------------------------------*/
@charset "utf-8";
/*
@import url(assets/css/bootstrap.min.css);
*/
:root {
    --hover-color: #0075D2;
    --padding-size: 10px;
}

/* 固定显示行数 */
.limited-text { display: flex; flex-direction: column; overflow: hidden;  line-clamp: 4; text-overflow: ellipsis;}
/* 以下为IE和旧版浏览器的兼容性处理 */
.limited-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;}
.limited-text { max-height: 95px; }

/** header **/
header.dark .toplink-logo:before { color: #ffffff;}

/** main Menu **/
#mainMenu nav>ul>li>a{ font-size:14px; font-weight:600;}
#mainMenu nav>ul>li .dropdown-menu>li>a{ font-size:14px;}

/** home **/
.home .inspiro-slider .slide .slide-captions { opacity: 0.9; top: -110px;}
.home .inspiro-slider h3{ font-size:50px;font-weight: 700; line-height: 70px; margin-bottom: 30px;}
.home .inspiro-slider .no-btn { font-size:18px;}
.home .product-categories .text-center{ padding:5% 3%;}
.home .product-categories h2 {font-size: 1.86em; line-height: 1.68em; font-weight: 500;}
.home section h3.title {font-size: 2.29em;line-height: 1.5em;font-weight: 500;}
.home .product-categories .cat-img { margin-bottom:30px;}
.home .product-categories img {max-width:100%; /*border: 5px solid #fafafa; border-radius: 50%;*/}
.home .home-products>.container>.row{ flex-direction: row-reverse; }
.home .home-products h4{ font-size:20px;}
.home .home-products .widget-newsletter small{line-height: 18px; margin-bottom: 10px;}
.home .home-products .portfolio-description { }
.home .product-gallery .portfolio-item a:not(.btn) {color:#ffffff;}
.home .product-gallery .portfolio-item a:not(.btn):hover {color:var(--hover-color); }
.home .blog .post-item-description h2{  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 361px;}
.home .blog .post-image img {max-width:361px; max-height:241px;}

/* index */
.post-item .post-item-description>h2{font-weight:500;}

/** about **/
.about .inspiro-slider .slide .slide-captions .strong{font-size: 22px !important;}
.about .inspiro-slider .slide .slide-captions h1{font-size: 60px; font-weight: 500;}
.about img.label{ margin-right:15px;}
/** advantages **/
.advantages .page-nav {display:none;}
/** sustainability **/
.sustainability .page-nav {display:none;}
.sustainability .heading-text.heading-section h2{font-size:38px;}
.sustainability .mineral li{ list-style: decimal; list-style-position: inside;}

/** sitemap  **/
.site-map .list li a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

/** product category **/
.page-nav .breadcrumb{ padding-left:0;}
.product .product-title { max-width:100%;}
.products .product .product-title h3 {text-transform: capitalize;}

/** single post **/
.edit-link{ float:right;}
.single .edit-link .post-edit-link{color:#000;}
.post-content blockquote{background-color: #f0f0f0; padding:15px; border-radius: 5px;}
.post-content blockquote p:last-of-type { margin-bottom: 0;}
.single-blog .post-content h2 {font-size: 1.5714286em;}
.single-blog #page-content .post-item-description h2{font-size:1.8571429em;}
.single-blog #page-content .post-item-description h3{font-size: 1.48571429em;}
.single-blog #page-content .post-item-description img { width: 90%;  display: block;  margin-left: auto;  margin-right: auto;}

/** product single **/
.single-product h2 {font-size: 1.5714em;}
.single-product .tabs.tabs-folder .nav-tabs .nav-link.active{background-color:#fff;}
.heading-text h4{font-size:24px;font-weight:500;}
.single-product .product-attributes ul{margin-left:5px;}
.single-product .product-attributes ul li{ list-style-position: inside;}
.product-details figure{padding:15px; text-align:center;}
.product-details img {max-width:100%; height:auto;}
.show-results{display: flex; flex-direction: column; justify-content: flex-end; height:100%; padding-bottom:20px; }
.show-results p {text-align: right; padding: 0 15px; font-size: 13px;}
.single-post .post-item .post-item-description{padding-top:0;font-weight: 500;}
.single-post .post-item .post-item-description .post-meta-share{margin-top:-5px;}
.single-post figure{text-align: center; padding:10px;}
.single-post .post-item figure img{ width:auto; max-width:100%; border-radius:3px;}
.single-post .post-item .post-item-description .post-meta > span{ top:unset;}
.single-post .post-item .post-item-description .post-meta-author{color: #777; font-size: 13px; margin-right: 16px;}
.product-details ol, .product-details ul {padding-left: 15px;}
.product-details ul li{ padding-top:5px; padding-bottom:5px;}
.product-selection img{ max-width:800px;}
/* 核心：悬停时才显示横向滚动 */
.product-selection .dt-layout-full {overflow-x: hidden; max-width: 100%;}
.product-selection .dt-layout-full:hover { overflow-x: unset;}
.product-selection .table-bordered{ position: -webkit-sticky; position: sticky;z-index: 99; background: white;}
/** datatable **/
div#datatable_filter { text-align: right;}
table#datatable tbody {background-color:#ffffff;}
.dataTables_paginate .pagination{justify-content: flex-end;}

/** news category **/
.post-item .post-item-description .post-meta-views { color: #C2C2C2; position: relative; top: -4px; font-size: 12px; margin-right: 8px;}

/** footer **/
.footer-content .widget-contact-us{background-image: url('assets/images/world-map-dark.png'); background-position: 50% 20px; background-repeat: no-repeat}

/** aifanfan **/
ins#aff-im-root > div{display:none;}