/* 
Date	    Editor		Description
-------------------------------------
20230426	Maggie	     繳費中心優化 & 全繳網
*/
@import "style-reset.css";

[class^="ts-comp-24HeCounter-"] p {
	font-size: 16px;
	line-height: normal;
	color: #333333;
}

[class^="ts-comp-24HeCounter-"] a:focus,
[class^="ts-comp-24HeCounter-"] input:focus,
[class^="ts-comp-24HeCounter-"] textarea:focus {
	outline: none;
}

/* full bg */
.ts-main-24HeCounter-full {
	display: inline-block;
	width: 100%;
	height: 100%;
	min-height: calc(100vh - 60px - 82px);
	/* view height - header - footer */
	position: relative;
	background-image: url('../img/ts-24HeCounter-bg-02.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center right;
}

.ts-main-24HeCounter-full.inform {
	background: white;
}

@media screen and (max-width:1024px) {
	.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-header-main {
		display: none;
	}
}

.ts-main-24HeCounter-full.payment {
	background-image: url('../img/payment_centre.jpg');
}

.ts-main-24HeCounter-full.ts-24HeCounter-root {
	height: 450px;
	min-height: calc(100vh - 60px); /* view height - header */
	background-image: url('../img/ts-24HeCounter-bg-01.png');
}

@media screen and (max-width: 1023px) {
	.ts-main-24HeCounter-full {
		min-height: calc(100vh - 53px - 63px);
		/* view height - header - footer */
		background-size: auto 1000px;
		background-position-x: -855px;
		background-position-y: top;
	}
	.ts-main-24HeCounter-full.ts-24HeCounter-root {
		min-height: calc(100vh - 53px); /* view height - header */
	}
}

@media screen and (max-width: 767px) {
	.ts-main-24HeCounter-full.ts-24HeCounter-root {
		height: 650px;
		background-size: auto calc(100% - 250px);
		background-position: top right;
	}
}

/* ts-comp-24HeCounter-014 */
.ts-comp-24HeCounter-014 ::-webkit-scrollbar {
	width: 3px;
	height: 3px;
}

/* this targets the default scrollbar (compulsory) */
.ts-comp-24HeCounter-014 ::-webkit-scrollbar-track {
	background-color: #e2e2e2;
	border-radius: 0;
}

/* the new scrollbar will have a flat appearance with the set background color */
.ts-comp-24HeCounter-014 ::-webkit-scrollbar-thumb {
	background-color: #a9a9a9;
	border-radius: 0;
}

/* this will style the thumb, ignoring the track */
.ts-comp-24HeCounter-014 ::-webkit-scrollbar-button {
	background-color: transparent;
	width: 3px;
	height: 3px;
}

/* optionally, you can style the top and the bottom buttons (left and right for horizontal bars) */
.ts-comp-24HeCounter-014 ::-webkit-scrollbar-corner {
	background-color: transparent;
}

/* if both the vertical and the horizontal bars appear, then perhaps the right bottom corner also needs to be styled */
.ts-comp-24HeCounter-014 {
	max-width: 385px;
	height: calc(100% - 50px);
	margin-left: 410px;
	margin-top: 50px;
	position: absolute;
}

.ts-comp-24HeCounter-014 .title p {
	font-size: 60px;
	font-weight: bold;
	letter-spacing: 4px;
	color: #ffffff;
}

.ts-comp-24HeCounter-014 .searchh {
	max-width: 350px;
	margin-top: 20px;
	font-size: 0;
}

.ts-comp-24HeCounter-014 .searchh .input-block {
	display: inline-block;
	width: calc(100% - 60px);
	vertical-align: top;
}

.ts-comp-24HeCounter-014 .searchh .input-block input {
	width: 100%;
	height: 45px;
	border: none;
	-webkit-border-radius: 0;
	padding: 15px;
	background-color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	color: #333333;
}

.ts-comp-24HeCounter-014 .searchh .input-block input::placeholder {
	color: #9b9b9b;
	opacity: 1; /* Firefox */
	line-height: normal;
	-webkit-text-fill-color: #9b9b9b;
}

.ts-comp-24HeCounter-014 .searchh .input-block input:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #9b9b9b;
}

.ts-comp-24HeCounter-014 .searchh .input-block input::-ms-input-placeholder { /* Microsoft Edge */
	color: #9b9b9b;
}

.ts-comp-24HeCounter-014 .searchh .input-block input[type="text"]::-ms-clear {
	height: 16px;
	padding-right: 10px;
}

.ts-comp-24HeCounter-014 .searchh .search-btn {
	display: inline-block;
	width: 60px;
	height: 45px;
	padding-top: 7px;
	padding-left: 15px;
	background-color: #da2128;
}

.ts-comp-24HeCounter-014 .searchh .search-btn img {
	display: inline-block;
	width: 30px;
	height: 30px;
	overflow: hidden;
}

.ts-comp-24HeCounter-014 .result-block {
	display: none;
	max-width: 355px;
	height: calc(100% - 50px - 160px - 65px);
	max-height: 400px;
	position: relative;
	top: 40px;
	overflow: visible;
	z-index: 11;
}

.ts-comp-24HeCounter-014 .result-block.active {
	display: block;
}

.ts-comp-24HeCounter-014 .result-block:before {
	content: '';
	position: absolute;
	top: -25px;
	left: calc(50% - 25px);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 12.5px 25px 12.5px;
	border-color: transparent transparent #ffffff transparent;
}

.ts-comp-24HeCounter-014 .result-block .result-close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
}

.ts-comp-24HeCounter-014 .result-block .result-close-btn img {
	width: 25px;
}

.ts-comp-24HeCounter-014 .result-white {
	width: 350px;
	/*height: 400px;*/
	/*height: calc(100vh - 50px - 160px - 65px);*/
	/* view height - margin-top - title - searchh */
	height: 100%;
	/*max-height: 400px;*/
	overflow: hidden;
	margin: 0 auto;
	padding: 40px 10px 10px;
	background-color: #ffffff;
}

.ts-comp-24HeCounter-014 .result {
	width: 100%;
	/*max-height: 100%;*/
	height: 100%;
	overflow-y: scroll;
	padding: 0 15px;
}

.ts-comp-24HeCounter-014 .result .linkk {
	display: block;
	padding: 10px 32px 10px 0;
	position: relative;
}

.ts-comp-24HeCounter-014 .result .linkk:before {
	content: '';
	position: absolute;
	/*top: calc(50% - 16px);*/
	top: 5px;
	right: 0;
	width: 32px;
	height: 32px;
	background-image: url('../img/ts-24HeCounter-icon-17.png');
	background-repeat: no-repeat;
	background-size: 9px 6px;
	background-position: center;
	transform: rotate(-90deg);
}

@media screen and (min-width: 1025px) {
	.ts-comp-24HeCounter-014 .result .linkk:focus, .ts-comp-24HeCounter-014 .result .linkk:hover {
		color: #da2128;
		font-weight: bold;
	}
}

@media screen and (max-width: 1023px) {
	.ts-comp-24HeCounter-014 {
		margin-left: 20px;
		position: relative;
	}
	.ts-comp-24HeCounter-014 .result-white {
		height: 400px;
	}
	.ts-comp-24HeCounter-014+.ts-comp-24HeCounter-main {
		padding-top: 70px;
	}
}

@media screen and (max-width: 767px) {
	.ts-comp-24HeCounter-014 {
		max-width: 100%;
		margin: 0;
		margin-top: 20px;
		padding: 10px;
	}
	.ts-comp-24HeCounter-014 .title {
		max-width: 295px;
		margin: 0 auto;
	}
	.ts-comp-24HeCounter-014 .title p {
		font-size: 26px;
		letter-spacing: 1px;
	}
	.ts-comp-24HeCounter-014 .title br {
		display: none;
	}
	.ts-comp-24HeCounter-014 .searchh {
		margin: 20px auto 0;
	}
	.ts-comp-24HeCounter-014 .result-block {
		margin: 0 auto;
	}
}

@media screen and (max-width: 374px) {
	.ts-comp-24HeCounter-014 .result-white {
		width: 100%;
	}
}

/* inform */
.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 {
	max-width: 100%;
	height: 90%;
	padding: 0 5% 0 5%;
	margin-left: 280px;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 0 auto 280px;
}

@media screen and (max-width:1024px) {
	.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 {
		margin-left: 0;
	}
}

.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 .tsp_inform_content
	{
	width: 100%;
	height: calc(100% - 150px);
	background: #efefef;
	padding: 40px 20px 40px 40px;
}

@media screen and (max-width:768px) {
	.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 .tsp_inform_content
		{
		padding: 20px 20px 20px 40px;
	}
}

.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 .tsp_inform_title {
	font-size: 24px;
	margin-bottom: 1em;
	font-weight: bold;
}

.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 .tsp_inform_content .tsp_inform_content_text {
	height: 100%;
	width: 100%;
	padding-right: 20px;
	overflow-y: scroll;
}

.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 .tsp_inform_content .tsp_inform_content_text p:first-child {
	font-size: 20px;
	font-weight: bold;
}

.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 .check_admit {
	margin-top: 1em;
}

.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 .check_admit .checkbox-style {
	border: 3px solid #dedede
}

.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 .button_row {
	text-align: center;
	width: 100%;
	height: 3em;
}

.ts-main-24HeCounter-full.inform .ts-comp-24HeCounter-014 button.check_admit {
	background-color: #da2128;
	color: white;
	border: none;
	border-radius: 10px;
	padding: 1em 3em 1em 3em;
	cursor: pointer;
}

.ts-main-24HeCounter-full.inform .gas-layout-form input[type="checkbox"]:checked+span.checkbox-style1 {
	background-image: none;
}

.ts-main-24HeCounter-full.inform .gas-layout-form input[type="checkbox"]:checked+span.checkbox-style1:after {
	visibility: visible;
	content: "";
	display: inline-block;
	background: #da2128;
	width: 10px;
	height: 10px;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform: translate(3.5px, 3.5px);
	transform: translate(3.5px, 3.5px);
	font-size: 0;
	border-radius: 50%;
}

@media screen and (-ms-high-contrast: active) , ( -ms-high-contrast : none) {
	.ts-main-24HeCounter-full.inform .gas-layout-form input[type="checkbox"]:checked+span.checkbox-style1:after {
		transform-origin: 0 0;
		transform: translate(3px, 4px);
		/* Enter your style code */
	}
}

.ts-main-24HeCounter-full.inform .gas-layout-form .checkbox-block .checkbox-style {
	display: inline-block;
	vertical-align: middle;
	width: 23px;
	height: 23px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #f6f6f6;
	border-radius: 50%;
	font-size: 0;
	border: 3px solid #b1b1b1;
	position: relative;
}

/* informEND */