/**
 * Ktech Thước Lỗ Ban - Main Stylesheet
 * @package Ktech_Thuoc_Lo_Ban
 */

.ktech-thuocloban-container,
.wp_thuocloban {
	padding-top: 30px;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
}

.ktech-thuocloban-container *,
.wp_thuocloban * {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.4em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.ktech-thuocloban-container #lobanOuter,
.wp_thuocloban #lobanOuter {
	width: 100%;
	position: relative;
}

.ktech-thuocloban-container #loban-wrapper,
.wp_thuocloban #loban-wrapper {
	position: absolute;
	z-index: 1;
	top: 0px;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 402px;
	/* background: #fff; */
	overflow: auto;
}

.ktech-thuocloban-container #loban-scroller,
.wp_thuocloban #loban-scroller {
	width: 10100px;
	height: 100%;
	float: left;
	padding: 0;
}

.ktech-thuocloban-container #loban-scroller li,
.wp_thuocloban #loban-scroller li {
	display: block;
	float: left;
	width: 10000px;
	height: 100%;
	margin-left: 0;
}

.ktech-thuocloban-container #loban-scroller li img,
.wp_thuocloban #loban-scroller li img {
	display: block;
	margin-top: 31px;
}

.ktech-thuocloban-container #pullRight,
.ktech-thuocloban-container #pullLeft,
.wp_thuocloban #pullRight,
.wp_thuocloban #pullLeft {
	display: block;
	width: 50px;
	float: left;
	height: 100%;
}

.ktech-thuocloban-container #sodoLoban,
.wp_thuocloban #sodoLoban {
	display: none;
	position: absolute;
	z-index: 2;
	top: 5px;
	left: 400px;
	text-align: center;
	width: 100px;
	font-size: 16px;
	font-weight: bold;
	color: #d40001;
}

.ktech-thuocloban-container #container-sodo,
.wp_thuocloban #container-sodo {
	position: absolute;
	z-index: 10;
	top: 2px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	text-align: center;
	color: #fff;
	font-weight: bold;
}

.ktech-thuocloban-container #sodo,
.wp_thuocloban #sodo {
	display: inline-block;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	color: #d40001;
	border: 2px solid #ffa500;
	padding: 2px;
	height: 28px;
	width: 65px;
	border-radius: 4px;
	background: #fff;
}

.ktech-thuocloban-container #thanhdo,
.wp_thuocloban #thanhdo {
	width: 2px;
	height: 384px;
	background: #ffa500;
	position: absolute;
	z-index: 2;
	top: 10px;
	left: 50%;
}

.ktech-thuocloban-container .loban-note,
.wp_thuocloban .loban-note {
	position: absolute;
	z-index: 5;
	top: 6px;
	right: 10px;
	font-style: italic;
	color: #fff;
	font-size: 11px;
	margin: 0;
	padding: 2px 6px;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 3px;
}

.ktech-thuocloban-container .loban-t,
.wp_thuocloban .loban-t {
	position: absolute;
	z-index: 5;
	left: 8px;
	margin: 0;
	padding: 2px 6px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	border-radius: 4px;
	font-size: 11px;
	line-height: 1.3;
	max-width: 32%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ktech-thuocloban-container .loban-522,
.wp_thuocloban .loban-522 {
	top: 4px;
}

.ktech-thuocloban-container .loban-429,
.wp_thuocloban .loban-429 {
	top: 136px;
}

.ktech-thuocloban-container .loban-388,
.wp_thuocloban .loban-388 {
	top: 267px;
}

.ktech-thuocloban-container .loban-touch-left,
.ktech-thuocloban-container .loban-touch-right,
.wp_thuocloban .loban-touch-left,
.wp_thuocloban .loban-touch-right {
	position: absolute;
	top: 31px;
	height: 358px;
	width: 50px;
	z-index: 2;
}

.ktech-thuocloban-container .loban-touch-left,
.wp_thuocloban .loban-touch-left {
	left: 0px;
}

.ktech-thuocloban-container .loban-touch-right,
.wp_thuocloban .loban-touch-right {
	right: 0px;
}

.ktech-thuocloban-container .box_huongdan,
.wp_thuocloban .box_huongdan {
	background: #fff6d3;
	border: 1px solid #f7e7a9;
	padding: 15px;
	margin-top: 20px;
	border-radius: 6px;
}

.ktech-thuocloban-container .tdbox_hd,
.wp_thuocloban .tdbox_hd {
	border-bottom: 1px solid #f7e7a9;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	padding-bottom: 8px;
	margin-top: 10px;
	color: #d40001;
}

.ktech-thuocloban-container .tdbox_hd:first-child,
.wp_thuocloban .tdbox_hd:first-child {
	margin-top: 0;
}

.ktech-thuocloban-container .noidung_boxhd,
.wp_thuocloban .noidung_boxhd {
	color: #333;
	font-size: 13.5px;
	line-height: 1.6;
	margin-top: 8px;
	margin-bottom: 15px;
}

.ktech-thuocloban-container .noidung_boxhd p,
.wp_thuocloban .noidung_boxhd p {
	margin: 6px 0;
}

/* Quick Reference Table */
.ktech-thuocloban-container #loban,
.wp_thuocloban #loban {
	width: 100%;
}

.ktech-thuocloban-container .loban-h,
.wp_thuocloban .loban-h {
	width: 30%;
	float: left;
	border-top: 1px solid #aaa;
}

.ktech-thuocloban-container .khoan-h,
.wp_thuocloban .khoan-h {
	width: 100%;
	float: left;
}

.ktech-thuocloban-container .cung-h,
.wp_thuocloban .cung-h {
	margin: 0;
	float: left;
	width: 50%;
}

.ktech-thuocloban-container .loban-d,
.wp_thuocloban .loban-d {
	width: 70%;
	border-top: 1px solid #aaa;
	float: left;
}

.ktech-thuocloban-container .tenkhoan,
.wp_thuocloban .tenkhoan {
	border-left: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	width: 50%;
	float: left;
	font-size: 13px;
	text-transform: uppercase;
	height: 115px;
	text-align: center;
	font-weight: bold;
	display: table;
}

.ktech-thuocloban-container .tenkhoan span,
.wp_thuocloban .tenkhoan span {
	display: table-cell;
	vertical-align: middle;
	line-height: 20px;
}

.ktech-thuocloban-container .cung,
.wp_thuocloban .cung {
	border-right: 1px solid #aaa;
	float: left;
	width: 100%;
	overflow: hidden;
}

.ktech-thuocloban-container .tencung,
.wp_thuocloban .tencung {
	border-left: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	width: 100%;
	height: 23px;
	float: left;
	font-size: 12px;
	padding-left: 5px;
	font-weight: bold;
	line-height: 22px;
	overflow: hidden;
}

.ktech-thuocloban-container .sodo,
.wp_thuocloban .sodo {
	float: left;
	height: 23px;
	width: 100%;
}

.ktech-thuocloban-container .tot,
.wp_thuocloban .tot {
	background: #fff;
	color: #d40001;
}

.ktech-thuocloban-container .trungtinh,
.wp_thuocloban .trungtinh {
	background: #eee;
}

.ktech-thuocloban-container .xau,
.wp_thuocloban .xau {
	background: #f3f3f3;
	color: #333;
}

.ktech-thuocloban-container .sodo1,
.ktech-thuocloban-container .sodo2,
.ktech-thuocloban-container .sodo3,
.ktech-thuocloban-container .sodo4,
.ktech-thuocloban-container .sodo5,
.ktech-thuocloban-container .sodo6,
.ktech-thuocloban-container .sodo7,
.ktech-thuocloban-container .sodo8,
.wp_thuocloban .sodo1,
.wp_thuocloban .sodo2,
.wp_thuocloban .sodo3,
.wp_thuocloban .sodo4,
.wp_thuocloban .sodo5,
.wp_thuocloban .sodo6,
.wp_thuocloban .sodo7,
.wp_thuocloban .sodo8 {
	border-left: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	width: 12.5%;
	height: 23px;
	line-height: 22px;
	float: left;
	text-align: center;
	font-size: 12px;
}

.ktech-thuocloban-container .clear:after,
.wp_thuocloban .clear:after {
	content: ' ';
	display: table;
	clear: both;
}

@media only screen and (max-width: 650px) {
	.ktech-thuocloban-container .loban-t,
	.wp_thuocloban .loban-t {
		max-width: 28%;
		font-size: 10px;
		padding: 2px 4px;
	}

	.ktech-thuocloban-container .loban-note,
	.wp_thuocloban .loban-note {
		display: none;
	}

	.sodo-nhapso {
		display: none;
	}

	.ktech-thuocloban-container #thuocloban,
	.wp_thuocloban #thuocloban {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 5px;
	}

	.ktech-thuocloban-container #loban,
	.wp_thuocloban #loban {
		min-width: 620px;
	}

	.ktech-thuocloban-container .tenkhoan,
	.wp_thuocloban .tenkhoan {
		width: 45%;
		font-size: 12px;
	}

	.ktech-thuocloban-container .cung-h,
	.wp_thuocloban .cung-h {
		width: 55%;
	}

	.ktech-thuocloban-container .loban-h,
	.wp_thuocloban .loban-h {
		width: 32%;
	}

	.ktech-thuocloban-container .loban-d,
	.wp_thuocloban .loban-d {
		width: 68%;
	}

	.ktech-thuocloban-container .tencung,
	.wp_thuocloban .tencung {
		font-size: 11px;
	}

	.ktech-thuocloban-container .sodo1,
	.ktech-thuocloban-container .sodo2,
	.ktech-thuocloban-container .sodo3,
	.ktech-thuocloban-container .sodo4,
	.ktech-thuocloban-container .sodo5,
	.ktech-thuocloban-container .sodo6,
	.ktech-thuocloban-container .sodo7,
	.ktech-thuocloban-container .sodo8,
	.wp_thuocloban .sodo1,
	.wp_thuocloban .sodo2,
	.wp_thuocloban .sodo3,
	.wp_thuocloban .sodo4,
	.wp_thuocloban .sodo5,
	.wp_thuocloban .sodo6,
	.wp_thuocloban .sodo7,
	.wp_thuocloban .sodo8 {
		width: 12.5%;
		font-size: 11px;
	}
}
