/* 全域 */

/* 改背景顏色 色碼*/
html body
{
	/* 頁面空白處背景顏色 */
	/* background-color: #F5F5F5;*/
	background-color: white;
}

.ttr_block a:not(.btn), .ttr_block a:not(.btn),
.ttr_block a:hover:not(.btn), .ttr_block a:hover:not(.btn),
.ttr_block a:active:not(.btn), .ttr_block a:active:not(.btn),
.ttr_block a:focus:not(.btn), .ttr_block a:focus:not(.btn),
.ttr_block a:visited:not(.btn), .ttr_block a:visited:not(.btn){
	font-size:16px;
}
.ttr_block, .ttr_block_content{
	background:unset;
	background:none;
}
#lightbox,#lightboxOverlay{
	z-index: 16000161;
}
/* end 全域 */


/* template + 廣告 bruce修改*/

#ttr_sidebar_right .bannergroup{
	position: relative;
}
#ttr_sidebar_left .bannergroup{
	position: relative;
}
#ttr_sidebar_right .banneritem{
	position: absolute;
	display:none !important;
}

.bannergroup .banneritem.cycle-slide img{
	object-fit: contain;
	object-position: top;
	
}


/* 改寬度固定1200 */
#ttr_page
{
	width:100%;
	max-width:1200px;
}
.ttr_footer-widget-area_inner_above0{
	max-width:1200px;
	margin:0 auto;
	background:white;
}


@media screen and (min-width:769px){

	#ttr_content{
		width:60% !important;
	}
	#ttr_sidebar_left,#ttr_sidebar_right{
		width:20%;
		min-height:50vh;
	}
	#ttr_sidebar_left_margin{
		padding:0 2vw 0 5vw;
	}
	#ttr_sidebar_right_margin{
		padding:0 5vw 0 2vw;
	}

	/* 原本B區廣告的設定 */
	/*
	.ttr_sidebar_left_margin{
		text-align:left;
	}
	.ttr_sidebar_left_padding {
		display: block;
		max-width: 20%;
		float: left;
	}
	*/
	.ttr_before_sidebar_left,.ttr_sidebar_left_padding .custom {
		display: none;
	}

	/* 廠商資料庫2.1重構新增  取代上面那兩個*/
	#ttr_sidebar_left_margin{
		padding-left:10px;
		padding-right:20px;
	}
	#ttr_sidebar_right_margin{
		padding-right:10px;
		padding-left:20px;
	}
	#ttr_content_margin,#ttr_sidebar_right_margin,#ttr_sidebar_left_margin{
		padding-top:14px;
		margin:0;
	}
	/* 廠商資料庫2.1重構新增 */
	aside .banneritem img{
		width:100%;
		max-width:200px;
		margin-bottom:20px;
		height:auto;
	}
	#ttr_sidebar_right .banneritem{
		position: absolute;
		display:block !important;
	}
	#ttr_sidebar_left .banneritem{
		position: absolute;
		display:none !important;
	}
}
/* end template 修改*/

/*上方banner調整大小*/
.ttr_banner_menu_inner_below0 .banneritem img{
    width:100%
}
@media screen and (min-width:769px){
	aside .banneritem img{
		width:100%;
		max-width:200px;
		margin-bottom:20px;
		height:auto;
	}
}
/*顯示本文上方*/
div.contenttopcolumn0 div.cell1.col-lg-12.col-md-6.col-sm-6.col-xs-12{
	display:block;
}
/*振言添加登入按鈕*/
.jjIcon
{	
	text-align: center;
    cursor: pointer;
    font-size: 16pt;
	margin: 11px 17px;
	border-radius:5px;
	font-weight:600;
}

#jjIcon-login
{
    background-color: #ffffff;
	color:#484848;
	border: solid #000000 1px;
}
#jjIcon-login::before
{
	content:'登 入'
}

#jjIcon-logout
{
    background-color: #ffffff;
	color:#484848;
	border: solid #000000 1px;
}
#jjIcon-logout::before
{
	content:'登 出'
}

#jjIcon-logup
{
	color:#ffffff;
	border: solid #ffffff 1px;
}
#jjIcon-logup::before
{
	content:'註 冊'
}

#fastIn::before
{
	content:'快速進入'
}
#fastIn
{
	font-size:12pt;
	font-weight:600;
	text-align:center;
	color:#fff;
	letter-spacing:4px;
	margin-top:12px;
}

#jjIcon-switch
{
    display: flex;
	align-items:center;
    justify-content:center;
	float: left;
	background-color:rgba(80,80,80,0.8);    
	height: 45px;
    width: 25px;
    cursor: pointer;
	font-size: 22px;    
	color:#fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: center;
}

#jjIconblock
{
    position: fixed;
	top: 150px;
    right: -3px;
    z-index: 55555;
}

#jjIconRightBlock
{
	background-color:rgba(80,80,80,0.8);
    display: inline-block;
	width:115px;
	height:135px;
}

.jjIconblock-logout
{
	display: flex;
    align-items: center;
}

.round_scrollbar::-webkit-scrollbar {
  width:8px;
  height:8px;
  background:#e8e8e8;
  border-radius: 500px;
}
.round_scrollbar::-webkit-scrollbar:hover {
  background:#ddd;
}
.round_scrollbar::-webkit-scrollbar-track {
  border-radius: 500px;
  padding:10px;
}
.round_scrollbar::-webkit-scrollbar-thumb {
  background: white;
  border:2px solid rgba(0,0,0,0.2);
  margin:10px;
}
.round_scrollbar::-webkit-scrollbar-button{
  background:transparent;
  width:8px;
  height:8px;
}
.round_scrollbar::-webkit-scrollbar-corner{
  width:8px;
  height:8px;
}

@media screen and (max-width: 768px) {
	#ttr_page
	{
		width: 100%;
	}

	#jjIconblock
	{
		position: absolute;
		top: 15px;
		right: 45px !important;
		border: unset;
		background-color:unset;
		height:unset;
	}
	
	#jjIcon-switch,#fastIn
	{
		display:none;
	}
	.jjIcon
	{
		height:37px;
		line-height:35px;
		border-radius:15px;
		cursor: pointer;
		font-size: 12pt;
		color: #dddddd;
		display:inline-block;
		margin:0 0 0 10px;
		float: right;
		width: 50px;
	}
	#jjIconRightBlock
	{
		background-color:rgba(80,80,80,0);
		display: inline-block;
		width:auto;
		height:auto;
	}
	#jjIcon-logup
	{
		background-color:#992222;
	}
	#jjIcon-login ,#jjIcon-logout
	{
		background-color:#115599;
		color:#ffffff;
		border:0px;
	}
}

/* fontawesome */
.fa, .far, .fas {
	font-family: "Font Awesome 5 Free" !important;
}

/* EasyBlog Title Font Size*/
body #eb .eb-stats-posts > div a {
	font-size: 16px;
}

/* checkBox fix*/
	/*eazy blog and eazy discuss*/
	#eb .ttr_checkbox ,
	#ed .ttr_checkbox {
		display: inline !important;
	}
	#eb .ttr_checkbox label,#eb .ttr_checkbox label::after,#eb .ttr_checkbox label::before,
	#ed .ttr_checkbox label,#ed .ttr_checkbox label::after,#ed .ttr_checkbox label::before{
		content:'' !important;
		display:none !important;
	}
	#eb .ttr_checkbox+label::after,#eb .ttr_checkbox+label::before,
	#ed .ttr_checkbox+label::after,#ed .ttr_checkbox+label::before{
		content:'' !important;
		display:none !important;
	}
	#eb .ttr_checkbox input[type="checkbox"]+label,
	#ed .ttr_checkbox input[type="checkbox"]+label{
		display: block !important;
		position: absolute !important;
		padding: 0 0 0 5px !important;
		font-weight: normal !important;
		font-size: inherit !important;
		line-height: 1.66666667 !important;
		margin: 0 !important;
	}
	#eb .ttr_checkbox input[type="checkbox"]:checked + label:after,
	#ed .ttr_checkbox input[type="checkbox"]:checked + label:after{
		color:black !important;
	}
	#eb .ttr_checkbox input[type="checkbox"]+label::after,
	#ed .ttr_checkbox input[type="checkbox"]+label::after{
		display: inline-block !important;
		padding: 0 !important;
		margin: 0 !important;
		left: 0;
		top: -3px !important;
		content: "\f00c" !important;
		font-family: FontAwesome !important;
		font-weight: normal !important;
		font-style: normal !important;
		text-decoration: inherit !important;
		color: #fff !important;
		transform: rotate(0deg) !important;
		-moz-transform: rotate(0deg) !important;
		-webkit-transform: rotate(0deg) !important;
		-o-transform: rotate(0deg) !important;
		-ms-transform: rotate(0deg) !important;
	}
	#eb .ttr_checkbox input[type="checkbox"]+label::after{
		left:-2px;
	}
	#ed .o-checkbox .ttr_checkbox{
		float:left;
		margin: 5px 0 0 0;
	}
	#ed .o-checkbox .ttrcheckbox>label::after{
		content:unset;
		display:none;
	}
	#ed .o-checkbox label::before{
		content:unset;
		display:none;
	}
	#ed .o-checkbox label:after{
		transform:unset;
		-moz-transform:unset;
		-webkit-transform:unset;
		-o-transform:unset;
		-ms-transform:unset;
		border:unset;
		margin: -3px 0 0 -3px;
	
	}
	#ed .o-checkbox input[type="checkbox"]:checked + label:after{
		color: black;
	
	}
	/* end checkBox fix*/

/*js job*/
div#jsjobs-main-wrapper div.jsjobs-folderinfo div.fieldwrapper div.fieldvalue label{
	padding-right:10px;
}
	
/* end of checkBox*/
/*rsForm pro!*/
.form-group span.formError{
	color:red;
}


/* tomsPager */
.tomsPager {
	display: inline-block;
	width: 100%;
	text-align: center;
}
.tomsPager .pagebut{
	margin: 5px 3px;
	padding: 8px 12px;
	font-weight: bold;
	font-size: 12px !important;
	color: #777;
	border-radius: 0;
	text-decoration:none;
	outline: 1px solid #eee !important;
	border: 1px solid #f9f9f9;
	/* 頁面空白處背景顏色 */
	/* background: #f5f5f5; */
	background-color:white;
}

.tomsPager .pagebut:active{
	box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset, 0 0 6px rgba(0,0,0,.2) inset;
}
.tomsPager .pagebut.clicked{
	outline: 1px solid #999 !important;
	background: #fdfdfd;
	cursor: default;
}

.tomsPager input{
	width: 80px;
    height: 25px;
}


/*com_easydiscuss*/
.ed-mod{
	border: 1px #afafaf solid;
}
/*
.ed-navbar.ed-responsive.t-lg-mb--lg{
	float: none;
}
*/
	/*moduleItemIntrotext*/
	@media screen and (max-width:768px){
		#ttr_sidebar_left .k2ItemsBlock{
			display:none;
		}
		.ttr_block_heading{
			display:none;
		}
		.ttr_block_header{
			display:none;
		}
		.ed-mod{
			display:none;
		}
	}


	/* 其他 */
	.back-to-top{
		bottom:80px;
		right:18px;
	}
	@media screen and (max-width:768px){
		.back-to-top{
			bottom:65px;
			right:5px;
		}
	}
/* Joomla 5 Compatibility: visually-hidden */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Joomla frontend module editing cleanup */
.jmodedit, .jmenuedit {
	font-size: 13px;
	vertical-align: middle;
}