@charset "utf-8";

body{
	width: 100%;
	padding:0;
    margin:0;
	font-size:16px;
	font-family: "Noto Sans", "Malgun Gothic", "NanumGothic", "Dotum", "Gulim";
	color:#666666;
}
table, img, div {margin:0; padding:0; border:none;}
ul, li, dl, dt, dd{
	margin: 0;
	padding: 0;
	list-style-type:none;
}
dt { font-weight:bold; color:#000000; }
table {
	width: 100%;
	border: none;
	border-top: 1px solid #000000;
}
table, tr, th, td, div {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	text-align: center;
}
th, td { height: 49px; border-right: 1px solid #DADADA; border-bottom:1px solid #DADADA; }
th:last-child, td:last-child { border-right:none; }
th, tfoot td { font-weight:bold; color:#000000; }
th { background:#F6F6F6; }
tbody th {
	text-align: left;
	padding-left:20px;
}
tbody td {text-align:center;}
tfoot th {background:none;}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	text-align:left;
}
h4{
	font-size:14px;
	line-height:22px;
	color:#2E2E2E;
	margin-bottom:5px;
	vertical-align:middle;
	font-weight:bold;
}
.clear:after {
	content:'';
	display:block;
	clear:both;
}

/* Common */
td>span, dd>span { position:relative; }
td>span:before, dd>span:before{
    content:'';
    display:inline-block;
    position:absolute;
    left:-14px;
    top:3px;
    width:10px;
    height:16px;
    background-size:contain;
}
td.up>span:before, dd.up>span:before { background:url(../images/mark_up1.gif) no-repeat center; }
td.down>span:before, dd.down>span:before { background:url(../images/mark_down1.gif) no-repeat center; }
td.same>span:before, dd.same>span:before { display:none; }

#cur_close>span:before, .cur_close>span:before {
    left:-60px;
    top:10px;
    width:40px;
    height:50px;
}
#cur_close.up>span:before, .cur_close.up>span:before { background:url(../images/mark_up2.gif) no-repeat center; }
#cur_close.down>span:before, .cur_close.down>span:before { background:url(../images/mark_down2.gif) no-repeat center; }
#cur_close.same>span:before, .cur_close.same>span:before { display:none; }

#index_tb>dl>dd:nth-child(2).up {
    background:url(../images/index_up.gif) no-repeat center;
    background-size:auto 95px;
}
#index_tb>dl>dd:nth-child(2).down {
    background:url(../images/index_down.gif) no-repeat center;
    background-size:auto 95px;
}
#index_tb>dl>dd:nth-child(2).same {
    background:url(../images/index_same.gif) no-repeat center;
    background-size:auto 95px;
}


/*caption, .hidden { visibility:hidden;  margin:0; padding:0; width:0; height:0; overflow:hidden; font-size:0; line-height:0; }*/
caption, .hidden { left:-10000px; top:auto; width:0; height:0; overflow:hidden; font-size:0; text-indent:-9999px;  }
.r_line{border-right:none !important;}
.date{text-align:center; padding:0; }

form, fieldset, button, label {
	margin: 0;
	padding: 0;
	border: 0;
}

input, label{vertical-align:middle;}
label{padding-right:8px; cursor:pointer;}

select{ font-size: 12px; color:#555555; vertical-align:middle;}

/* 링크 */
a:link {color:#696969; text-decoration:none}
a:visited {color:#696969; text-decoration:none;}
a:hover {color:#FF6600; text-decoration:none;}

/* 상승,하락,보합 색상 */
.up{color:#d80a0a;}
.down{color:#002269;}
.same{color:#1D9D5C;}

/*----- top_current -----*/
#stock_info {width:100%; height:35px; text-align:right;}
/*#stock_info .name{float:left; width:50%; text-align:left; font-weight:bold;}*/
#stock_info .date{display:inline; height:30px; line-height:30px; vertical-align:top;}
#stock_info .btn_refresh{text-align:right;}

/* 주가정보 테이블 type1 */
.cur_quote dl { position: absolute; }
.cur_quote dt, .cur_quote dd { position: absolute; text-align: center; }
.cur_quote #cup {
	top:10px;
	width:100%;
	text-align:center;
}
#close_title {visibility:hidden;}
.cur_quote #cur_close {
	left: 80px;
	text-align:center;
	font-size: 50px;
	font-weight: bold;
	color:#000000;
}
#updown_title, #percent_title { left: 55%; }
#updown, #percent { left: 75%; }
#updown_title, #updown { top: 15px; }
#percent_title, #percent { top:40px; }
#updown>span { padding-left:15px; }
#updown>span:before { left:0; }


/* 주가정보 테이블 type2 */
.cur_quote #ohlv {
	top: 102px;
	left: 0;
	width:100%;
	border-top:1px solid #000000;
}
#ohlv dt {
	background: #F6F6F6;
	border-bottom: 1px solid #DADADA;
}
#ohlv dd {
	top: 50px;
	border-bottom: 1px solid #DADADA;
}
#ohlv dt, #ohlv dd {
	width: 25%;
	padding: 14px 0 13px 0;
	border-right: 1px solid #DADADA;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
#open_title, #open { left: 0%; font-weight:bold; }
#high_title, #high { left: 25%; font-weight:bold;}
#low_title, #low { left: 50%; font-weight:bold;}
#volume_title, #volume { left: 75%; border-right:none !important;}

/* �쁽�옱媛 + 李⑦듃 */
#quote_chart{ width:100%; height:200px; margin-bottom:49px;}
#cur_chart_box{
	position: relative;
	float: left;
	width: 47.5%;
	height:200px;
}
#chart_min {
	float: right;
	overflow:hidden;
	margin-top: 10px;
	width: 50%;
}

/* �쁽�옱媛 : �샇媛 */
#hoga_tb{
	float:left;
	width:47.5%;
}

/* �쁽�옱媛 : �옄蹂멸툑 */
#cap_tb {
	float:right;
	width:48%;
	margin-bottom:49px;
}

#cap_tb tbody th { text-align: left; padding-left:60px; }
#cap_tb tbody td { text-align: right; padding-right:60px; border-right:none; }

/* �쁽�옱媛 : 吏�닔 */
#index_tb { clear:both; }
#index_tb dl { float:left; width:33.2%; border-top:1px solid #000000; border-right:1px solid #DADADA; }
#index_tb dl:last-child { border-right:none; }
#index_tb dt { padding:13px 0 13px 0; background:#F6F6F6; border-bottom:1px solid #DADADA;}
#index_tb dd { font-weight:bold; font-size:18px; }

#index_tb dd.index_close { height:105px; padding-top:75px; color:#ffffff; }
#index_tb dd.index_updown { margin-top:-25px; padding:0px 0 25px 0; border-bottom: 1px solid #DADADA; line-height:100%; }
#index_tb dd.same { color:#666666; }


/* 二쇨� top */

#cur_top_box {
	position: relative;
	margin-bottom: 30px;
	width: 100%;
	height: 110px;
}

#cur_top_box #cup {
	top:35px;
	left:10px;
	width:45%;
}

#cur_top_box #ohlv {
	top: 20px;
	left: 50%;
	width:50%;
}

@media all and (max-width:1023px) {
	body { width:100%; }

	#cur_chart_box, #chart_min, #hoga_tb, #cap_tb { float:none; margin:inherit 0; padding:inherit 0; width:100%; }

	#quote_chart { height:420px; }
	#cur_chart_box { height:220px; }

	#hoga_tb { margin-bottom:40px; }

	#cap_tb tbody th { width:50%; padding-left:30px; }
	#cap_tb tbody td { width:50%; padding-right:30px; }

	/* 지수 */
	#index_tb dl { border-right:none; }
}

@media all and (max-width:465px) {
	#quote_chart { height:500px; }

	.cur_quote #cur_close { left: 35%; }
	#updown_title, #percent_title { top: 80px;  }
	#updown, #percent { top:105px;  }
	#updown_title, #updown { left: 25%;  }
	#percent_title, #percent { left: 60%; }

	.cur_quote #ohlv { top: 160px; }
	#cur_chart_box { height:280px; }

	#cap_tb tbody th { padding-left:20px; }
	#cap_tb tbody td { padding-right:20px; }

	/* 지수 */
	#index_tb>dl>dd:nth-child(2).up, #index_tb>dl>dd:nth-child(2).down, #index_tb>dl>dd:nth-child(2).same {
	    background-size:auto 65px;
	}
	#index_tb dl { border-right:none; }
	#index_tb dd { font-weight:bold; font-size:14px; }
	#index_tb dd.index_updown { font-weight:normal; font-size:13px; }

	#index_tb dd.index_close { height:75px; padding-top:65px; color:#ffffff; }
	#index_tb dd.index_updown { margin-top:-15px; padding:0px 0 25px 0; border-bottom: 1px solid #DADADA; line-height:100%; }
}
