/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.wp-block-table td, .wp-block-table th {
    border: 0 !important;
}
.wp-block-table thead {
    border-bottom: 0 !important;
}

/* 导航菜单 */
.level-top > a {
    padding-left: 0px !important;
}
.sub-menu {
    padding: 10px 0px !important;
}

/* GTranslate */
.gt_switcher .gt_selected {
	background: transparent !important;
    z-index: 99 !important;
}
.gt_switcher .gt_option {
	position:absolute !important;
	background-color: #fff !important;
}
.gt_switcher .gt_selected a {
	font-size: 14px;
    border: none !important;
    color: #fff !important;
    padding: 5px 10px !important;
    width: auto;
    background-color: transparent !important;
}

/* breadcrumbs */
.rank-math-breadcrumb .separator {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    margin: 0px 2px;
}
.rank-math-breadcrumb .last {
    font-weight: 400;
	font-size: 13px;
	color: #999;
}
.rank-math-breadcrumb a {
    color: #666;
	font-size: 13px;
    font-family: "Roboto";
}
.rank-math-breadcrumb a:hover {
    color: #000;
}
/*post-content*/
.post-content h2 {
	
}
.c-accordion__item {
    position: relative;
    background-color: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
}
.c-accordion__title {
    position: relative;
    font-weight: 700;
	color: #000;
    font-size: clamp(1.8rem, 2vw, 2.2rem);
	line-height: 120%;
    /*border-bottom: 1px solid #d5d5d5;*/
    padding: 10px 10px;
    cursor: pointer;
}
.c-accordion__title:hover {
    background-color: #ffcc0138!important;
	background-image: linear-gradient(#ffffff, #ffcc0138);
    color: #111!important;
	/*border-bottom: 1px solid #ffcc01;*/
	border-radius: 5px;
    width: 100% !important;
}
.is-open>.c-accordion__title:after {
    font-size: 35px;
}
.c-accordion__title:after {
    color: #000;
	font-size: 32px;
    font-weight: 400;
    right: 15px;
}
.c-accordion__content {
	padding: 20px 10px 0px 10px;
}
.wp-block-migb-masonry-gallery .single-gallery-image {
    border-radius: 6px;
}
/* Think Safety */
.wp-container-2 {
	padding: 15px;
}
.think-safety {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 0px;
    display: inline-block;
    margin-bottom: 20px;
    float: right;
	padding: 8px 25px 8px 50px;
	border-radius: 5px;
}
.think-safety p:last-of-type {
    margin-top: 5px;
    margin-bottom: 0px;
    font-size: 17px;
    line-height: 19px;
    font-family: 'Roboto';
    font-style: inherit;
    font-weight: bold;
}
.think-safety cite {
    color: #333;
    font-size: 14px;
	font-family: 'Roboto';
    font-style: inherit;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 5px;
	margin-top: 2px !important;
	opacity: 1 !important;
	text-transform: none !important;
}
.think-safety:after {
	content: '';
    width: 54px;
    height: 48px;
    background: url(/wp-content/uploads/2022/09/80rule.webp) no-repeat;
    background-size: contain;
    position: absolute;
    display: inline-block;
    left: -20px;
    top: -20px;
}

/* Series Comparison Table */
.series-comparison {
    margin: 0 0 1em;
    overflow-x: scroll;
    overflow-y: scroll;
    height: auto;
    max-height: 500px;
    border-bottom: 1px solid #dadada;
}
.series-comparison table th {
    padding: 5px;
    border: 1px solid #dadada !important;
    background-color: #ffcc01;
    position: sticky;
    font-size: 12px;
    top: 0;
	text-align: left;
}
.series-comparison tr td:first-child {
    font-weight: bold;
}
.series-comparison table td {
    padding: 5px;
    border: 1px solid #dadada !important;
    font-size: 12px;
    white-space: nowrap;
}
/* Specifications Table */
.specifications {
	width: 66.66666667%;
}
.specifications table tbody tr {
	border-bottom: 1px solid #dadada;
   	width: 100%;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.specifications tbody tr td:first-child {
	width: 58.33333333%;
    position: relative;
    min-height: 1px;
    color: #3c3c3c;
    line-height: 23px;
    padding: 5px 15px;
}
.specifications tbody tr td:last-child {
	width: 41.66666667%;
    min-height: 1px;
    color: #3c3c3c;
    line-height: 23px;
    padding: 5px 15px;
}
@media only screen and (max-width: 767px){
	.specifications {
    	width: 100% !important;
	}
	.specifications tbody tr td {
		width: 100% !important;
		display: block;
    	font-size: 14px;
    	font-weight: 400;
    	border: 0 !important;
    	line-height: 25px;
	}
	.specifications tbody tr td:first-child {
		font-size: 15px;
    	font-weight: 600;
	}
	.specifications tbody tr:nth-child(2n) {
    	background-color: #f1f1f1;
	}
}
/* dimensions Table */
.dimensions {
	width: 100%;
}
.dimensions table tbody tr {
	border-bottom: 1px solid #dadada;
   	width: 100%;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.dimensions tbody tr td:first-child {
	width: 58.33333333%;
    position: relative;
    min-height: 1px;
    color: #3c3c3c;
    line-height: 23px;
    padding: 5px 15px;
}
.dimensions tbody tr td:last-child {
	width: 41.66666667%;
    min-height: 1px;
    color: #3c3c3c;
    line-height: 23px;
    padding: 5px 15px;
}
@media only screen and (max-width: 767px){
	.dimensions {
    	width: 100% !important;
	}
	.dimensions tbody tr td {
		width: 100% !important;
		display: block;
    	font-size: 14px;
    	font-weight: 400;
    	border: 0 !important;
    	line-height: 25px;
	}
	.dimensions tbody tr td:first-child {
		font-size: 15px;
    	font-weight: 600;
	}
	.dimensions tbody tr:nth-child(2n) {
    	background-color: #f1f1f1;
	}
}

/* CSS GRID 1.4 */
.cols-2 {grid-template-columns:repeat(2,minmax(0,1fr));display:grid !important;width:100%;}
.cols-3 {grid-template-columns:repeat(3,minmax(0,1fr));display:grid !important;width:100%;}
.cols-4 {grid-template-columns:repeat(4,minmax(0,1fr));display:grid !important;width:100%;}
.cols-5 {grid-template-columns:repeat(5,minmax(0,1fr));display:grid !important;width:100%;}
.cols-6 {grid-template-columns:repeat(6,minmax(0,1fr));display:grid !important;width:100%;}
.cols-7 {grid-template-columns:repeat(7,minmax(0,1fr));display:grid !important;width:100%;}
.cols-8 {grid-template-columns:repeat(8,minmax(0,1fr));display:grid !important;width:100%;}
.cols-9 {grid-template-columns:repeat(9,minmax(0,1fr));display:grid !important;width:100%;}
.cols-10 {grid-template-columns:repeat(10,minmax(0,1fr));display:grid !important;width:100%;}
.cols-11 {grid-template-columns:repeat(11,minmax(0,1fr));display:grid !important;width:100%;}
.cols-12 {grid-template-columns:repeat(12,minmax(0,1fr));display:grid !important;width:100%;}

.col-1 {grid-column:span 1 / span 1;}
.col-2 {grid-column:span 2 / span 2;}
.col-3 {grid-column:span 3 / span 3;}
.col-4 {grid-column:span 4 / span 4;}
.col-5 {grid-column:span 5 / span 5;}
.col-6 {grid-column:span 6 / span 6;}
.col-7 {grid-column:span 7 / span 7;}
.col-8 {grid-column:span 8 / span 8;}
.col-9 {grid-column:span 9 / span 9;}
.col-10 {grid-column:span 10 / span 10;}
.col-11 {grid-column:span 11 / span 11;}
.col-12 {grid-column:span 12 / span 12;}
.ccc {grid}

@media screen and (max-width:990px) {
	.lg-cols-1 {grid-template-columns:repeat(1,minmax(0,1fr));display:grid !important;width:100%;}
	.lg-cols-2 {grid-template-columns:repeat(2,minmax(0,1fr));display:grid !important;width:100%;}
	.lg-cols-3 {grid-template-columns:repeat(3,minmax(0,1fr));display:grid !important;width:100%;}
	.lg-cols-4 {grid-template-columns:repeat(4,minmax(0,1fr));display:grid !important;width:100%;}
	.lg-cols-5 {grid-template-columns:repeat(5,minmax(0,1fr));display:grid !important;width:100%;}
	.lg-cols-6 {grid-template-columns:repeat(6,minmax(0,1fr));display:grid !important;width:100%;}

	.lg-col-1 {grid-column:span 1 / span 1;}
	.lg-col-2 {grid-column:span 2 / span 2;}
	.lg-col-3 {grid-column:span 3 / span 3;}
	.lg-col-4 {grid-column:span 4 / span 4;}
	.lg-col-5 {grid-column:span 5 / span 5;}
	.lg-col-6 {grid-column:span 6 / span 6;}
}

@media screen and (max-width:766px) {
	.md-cols-1 {grid-template-columns:repeat(1,minmax(0,1fr));display:grid !important;width:100%;}
	.md-cols-2 {grid-template-columns:repeat(2,minmax(0,1fr));display:grid !important;width:100%;}
	.md-cols-3 {grid-template-columns:repeat(3,minmax(0,1fr));display:grid !important;width:100%;}
	.md-cols-4 {grid-template-columns:repeat(4,minmax(0,1fr));display:grid !important;width:100%;}

	.md-col-1 {grid-column:span 1 / span 1;}
	.md-col-2 {grid-column:span 2 / span 2;}
	.md-col-3 {grid-column:span 3 / span 3;}
	.md-col-4 {grid-column:span 4 / span 4;}
}

@media screen and (max-width:477px) {
	.sm-cols-1 {grid-template-columns:repeat(1,minmax(0,1fr));display:grid !important;width:100%;}
	.sm-cols-2 {grid-template-columns:repeat(2,minmax(0,1fr));display:grid !important;width:100%;}
	.sm-cols-3 {grid-template-columns:repeat(3,minmax(0,1fr));display:grid !important;width:100%;}

	.sm-col-1 {grid-column:span 1 / span 1;}
	.sm-col-2 {grid-column:span 2 / span 2;}
	.sm-col-3 {grid-column:span 3 / span 3;}
}

.gap-1 {gap:10px}
.gap-2 {gap:20px;}
.gap-3 {gap:30px;}
.gap-4 {gap:40px;}

.row-1 {grid-row:span 1 / span 1;}
.row-2 {grid-row:span 2 / span 2;}
.row-3 {grid-row:span 3 / span 3;}

.col-st {align-items:stretch;}  /* 元素被拉伸以适应容器 */
.row-ct {justify-self: center;}