﻿/*
	- Project : ntv cast
	- Author : sue
	- Description : ntv cast common style sheet
	- Create : 2010-03-16
	- Modify : YYYY-MM-DD
	- Version : ver 1.0
	
	* 수정 주석처리 순서 : 날짜 이름 설명 
*/

/* ==================== MULTI CLASS COMMON ==================== */
/* global rest */
html, body, h1, h2, h3, h4, h5, h6,
dl, dt, dd, ul, li, ol,
th, td, p, blockquote,
form, fieldset, legend {
	margin: 0;
	padding: 0;
}
html, body {
	height: 100%;
}
html {
	overflow-y: scroll;
}
body {
	font-size: 12px;
}
q, blockquote {
	quotes: none;
}
q:before, q:after {
	content:"";
}
img, fieldset {
	border: 0 none;
}
img {
	vertical-align: middle;
}
dl, ul, ol, li {
	list-style: none;
}
caption, legend, hr {
	display: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
	word-break: break-all;	
}
a {
	text-decoration: none;
	color: #888;
}
a:hover {
	text-decoration: underline;
}
dfn, em, cite, address {
	font-style: normal;
}
input, select, textarea, button {
	font-size: 100%;
	vertical-align: middle;
}
select {
	height: 20px;
}
body, th, td, input, select, big, button, textarea {
	font-size: 12px;
	line-height: 16px;
	font-family: applegothic, "돋움", Gulim, sans-serif;
}
abbr {
	font-style: none;
}
/* common */
	/* bbs */
	table .txt-ov-hidden {
		overflow: hidden;
	}
	table .tb-left {
		text-align: left;
		padding: 0 5px;
	}
	table .tb-right {
		text-align: right;
		padding: 0 5px;
	}
	table .tb-center {
		text-align: center;
		padding: 0 5px;
	}
	table a {
		display: block;
	}

	/* bbs paging */
	.paging {
		padding-top: 50px;
		height: 13px;
		text-align: center;
	}
	.paging li {
		display: inline;
		font-size: 0;
		line-height: 0;
		letter-spacing: -1px;
	}
	.paging li a {
		display: inline-block;
		width: auto;
		height: 12px;
		padding-top: 1px;
		vertical-align: top;
		font-size: 12px;
		line-height: 110%;
		cursor: pointer;
		padding: 0 10px;
		text-decoration: none;
	}
	.paging li.current {
		color: #ff0000;
		font-weight: bold;
		width: auto;
		height: 12px;
		line-height: 110%;
		padding-top: 1px;
		vertical-align: top;
		font-size: 12px;
		padding: 0 10px;
		text-decoration: none;
	}
	.paging .pre01 a,
	.paging .pre02 a,
	.paging .next01 a,
	.paging .next02 a {
		position: relative;
		overflow: hidden;
		width: 15px; 
		height: 13px;
		margin-right: 3px;
		font-size: 8px;
		white-space: nowrap;
		padding: 0;
	}
	.paging .pre02 a ,
	.paging .next02 a {
		width: 12px;
	}
	.paging .next02 a {
		margin-left: 5px;
	}
	.paging a span {
		left: 0;
		top: 0;
		position: absolute;
		display: block;
		width: 100%;
		height: 100%;
		background: #fff url(/img/bbs/bbs_paging.gif) no-repeat 0 0;
	}
	.paging .pre01 a span {
		background-position: 0 0;
	}
	.paging .pre02 a span {
		background-position: -25px 0;
	}
	.paging .next01 a span {
		background-position: -47px 0;
	}
	.paging .next02 a span {
		background-position: -72px 0;
	}

	/* bbs search form */
	.bbs-search-form {
		margin-top: 2px;
		text-align: right;
		height: 20px;
	}
	.bbs-search-form .btn-submit {
		height: 20px;
		width: 23px;
		background-position: 0 -85px;
	}

	/* bbs content view common */
	table .view-cont-wrap {
		width: 812px;
	}
	table .view-cont-wrap td {
		width: 775px;
		padding: 0 18px !important;
	}
	table .view-cont-wrap .view-cont {
		display: none;
		position: relative;
		width: 775px;
		padding-top: 20px;
		color: #7a7a7a;
		background: url(/img/bbs/bbs_view_cont_mdl.gif) repeat-y 0 0;
	}
	table .view-cont-wrap .view-cont h4.tit {
		position: absolute;
		left: 0;
		top: 0;
		width: 743px;
		height: 15px;
		padding: 20px 0 0 32px;
		background: url(/img/bbs/bbs_view_cont_top.gif) no-repeat 0 0;
	}
	table .view-cont-wrap .view-cont .btn-close {
		position: absolute;
		right: 0;
		top: 0;
		width: 35px;
		height: 30px;
		border: 0;
		text-indent: -99999px;
		cursor: pointer;
		background: none;
	}
	table .view-cont-wrap .view-cont .cont-box {
		position: relative;
		padding-left: 83px;
		padding-right: 25px;
		padding-bottom: 20px;
		background: url(/img/bbs/bbs_view_cont_btm.gif) no-repeat 0 bottom;
	}		
	
	/* bbs table type01 */
	.bbs-typ01 table {
		width: 100%;
		color: #35393c;
	}
	.bbs-typ01 table a {
		color: #35393c;
	}
	.bbs-typ01 table,
	.bbs-typ01 table th,
	.bbs-typ01 table td {
		border: 0;
	}
	.bbs-typ01 table th {
		padding: 7px 0;
		font: 0/0 Arial;
		background: #525c65;
	}	
		
		
	/* margin */	
	.fc-red {
		color: #ff0000;
	}
	/* font margin */
	.tmg-5 {
		margin-top: 5px;
	}
	.tmg-10 {
		margin-top: 10px;
	}
	.lmg-5 {
		margin-left: 5px;
	}
	.lmg-10 {
		margin-left: 10px;
	}
	.rmg-5 {
		margin-right: 5px;
	}
	.rmg-10 {
		margin-right: 10px;
	}
	/* display type */
	.d-block {
		display: block;	
	}
	.d-inline {
		display: inline;
	}
	/* float 해제 */
	.fclear {
		*zoom: 1;
	}
	.fclear:after {
		content: ""; 
		display: block; 
		clear: both;
	}	
	.cb {
		clear: both;
		font: 0/0 Arial;
	}
	/* image replacement */
	.ir *,
	.blind {
		z-index:-1;
		position: absolute;
		overflow: hidden;
		visibility: hidden;
		width: 0;
		height: 0;
	}
	/* hidden text link */
	.h-link a {
		overflow: hidden;
		display: block;
		position: relative;
		width: 100%;
		height: 100%;
		white-space: nowrap;
	}
	.h-link a:hover {
		text-decoration: none;
	}
	.h-link a span {
		display: block;
		position: absolute;
		left: 0;
		top: 0;	
		width: 100%;
		height: 100%;
		cursor: pointer;
	}
	.h-img {
		overflow: hidden;
		position: relative;
	}
	.h-img span {
		position: absolute;
		display: block;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
	}
	/* img only use */
	.img-fix {
		font: 0/0 Arial;
	}
	/* img btn align - 버튼사이 간격 조절 - 다중 클래스 이용 */
	.btn-group-c,
	.btn-group-l,
	.btn-group-r {
		padding-bottom: 1px;
	}
	.btn-group-c {
		text-align: center;
	}
	.btn-group-l {
		text-align: left;
	}
	.btn-group-r {
		text-align: right;
	}
	/* chkeckbox, radio */
	.input-checkbox,
	.input-radio {
		vertical-align: middle;
		width: 14px;
		height: 14px;
		padding: 0;
	}
	.input-radio {
		margin-top: -1px;
		height: 15px;
	}
	/* labe list margin */
	.label-list-l label {
		margin-right: 10px;
	}
	.label-list-r label {
		margin-left: 10px;
	}
	/* input common */
	.txt-input {
		height: 15px;
		padding: 3px 0 0 2px;
		margin: 0;
		vertical-align: middle;
		border: 1px solid #c5c5c5;
	}
	.txt-area {
		padding: 3px 0 0 2px;
		border: 1px solid #c5c5c5;	
	}
	/* image button */
	.btn-bg {
		position: relative;
		overflow: hidden;
		padding: 0;
		margin: 0;
		text-indent: -999999px;
		border: 0 none;
		background: none;
		cursor: pointer;
	}
	/* background common */
	.btn-typ01 {
		background: url(/img/btn/btn_type01.gif) no-repeat;
	}
	
/* layout, header, footer */
#wrapper {
	height: 100%;
	background: url(/img/bg/bg_header.gif) repeat-x 0 0;
}
#wrap {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	font-size: 12px;
	color: #888888;
	background: url(/img/bg/bg_header_light.gif) no-repeat 0 0;	
}	

	/* header */
	#header {
		position: relative;
		height: 440px;
	}
	#header h1,
	#header .search,
	#header #gnb,
	#header .hot-issue {
		position: absolute;
	}	
	#header h1 {
		width: 173px;
		height: 44px;
		left: 2px;
		top: 26px;
		font-size: 12px;
	}	
	#header h1 span {
		background: url(/img/etc/bi_header.gif) no-repeat 0 0;
	} 
		/* search */
		#header .search {
			right: 8px;
			top: 18px;
			width: 305px;
			height: 23px;
			background: url(/img/bg/bg_header_search_keyword.gif) no-repeat 0 0;
		}
		#header .search .input-search,	
		#header .search .input-submit {
			display: inline;
			float: left;		
		}
		#header .search .input-search {
			border: 0;
			padding: 6px 5px 0;
			width: 240px;
			height: 15px;
			color: #fffffa;
			background: none;
			margin-right: 3px;
		}
		#header .search .input-submit {
			width: 52px;
			height: 23px;
			background-position: 0 0;
		}
		
		/* gnb */
		#header #gnb {
			right: 0;
			top: 60px;
			width: 495px;
			height: 20px;
		}
		#header #gnb li {
			display: inline;
			float: left;
			height: 100%;
		}
		#header #gnb li a span {
			background: url(/img/bg/bg_gnb.gif) no-repeat;
		}
		#header #gnb li.shop {
			width: 67px;
		}
		#header #gnb li.edu {
			width: 68px;
		}
		#header #gnb li.enter {
			width: 68px;
		}
		#header #gnb li.movie-market {
			width: 95px;
		}
		#header #gnb li.cs-center {
			width: 79px;
		}
		#header #gnb li.movie-upload {
			width: 118px;
		}
			/* background position */
			#header #gnb li.shop a span {
				background-position: 0 0;
			}
			#header #gnb li.edu a span {
				background-position: -67px 0;
			}
			#header #gnb li.enter a span {
				background-position: -135px 0;
			}
			#header #gnb li.movie-market a span {
				background-position: -203px 0;
			}
			#header #gnb li.cs-center a span {
				background-position: -298px 0;
			}
			#header #gnb li.movie-upload a span {
				background-position: -377px 0;
			}		
		
		/* hot issue */
		#header .hot-issue {
			overflow: hidden;
			right: 327px;
			top: 16px;
			width: 201px;
			height: 19px;
			padding: 1px 2px 5px 2px;
			background: url(/img/bg/bg_header_hot_issue.gif) no-repeat 0 0;
		}
		#header .hot-issue ol {
			overflow: hidden;
			width: 185px;
			height: 250px;
			padding: 0 8px;
		}
		#header .hot-issue li {
			float: left;
			width: 100%;
            margin: 5px 0;
			height: 15px;
		}
		#header .hot-issue li a {
			overflow: hidden;
			width: 159px;
			height: 100%;
			margin-left: 5px;
			color: #fffffa;
			white-space: nowrap;
			text-decoration: none;
		}
		#header .hot-issue li span.num,
		#header .hot-issue li a {
			float: left;
			display: inline;
		}
		#header .hot-issue li span.num {
			width: 21px;
			height: 15px;
			background: url(/img/ico/ico_header_hot_issue_num.gif) no-repeat;
		}
			/* num background position */
			#header .hot-issue li.list1 span.num {
				background-position: 0 0;
			}
			#header .hot-issue li.list2 span.num {
				background-position: -24px 0;
			}
			#header .hot-issue li.list3 span.num {
				background-position: -48px 0;
			}
			#header .hot-issue li.list4 span.num {
				background-position: -72px 0;
			}
			#header .hot-issue li.list5 span.num {
				background-position: -96px 0;
			}
			#header .hot-issue li.list6 span.num {
				background-position: -120px 0;
			}
			#header .hot-issue li.list7 span.num {
				background-position: -144px 0;
			}
			#header .hot-issue li.list8 span.num {
				background-position: -168px 0;
			}
			#header .hot-issue li.list9 span.num {
				background-position: -192px 0;
			}
			#header .hot-issue li.list10 span.num {
				background-position: -216px 0;
			}
		
		#header .visual {
			padding-top: 94px;
			width: 960px;
			height: 345px;
		}

	#footerWrap {
		padding-top: 33px;
		padding-bottom: 45px;
	}
	
	/* footer */
	#footer {
		position: relative;
		height: 102px;
		border: 5px solid #d7d7d7;
		background: url(/img/etc/bi_foot.gif) no-repeat 38px 37px;
	}
	#footer .policy,
	#footer .company,
	#footer .copyright,
	#footer .family-site {
		position: absolute;
	}
		/* policy */
		#footer .policy {
			overflow: hidden;
			left: 203px;
			top: 19px;
			height: 11px;
		}
		#footer .policy li {
			display: inline;
			float: left;
			overflow: hidden;
			height: 11px;
			padding: 0 10px;
			border-left: 1px solid #888888;
		}
		#footer .policy li.about {
			width: 40px;
			padding-left: 0;
			border-left: 0;
		}
		#footer .policy li.ad {
			width: 40px;
		}
		#footer .policy a span {
			background: url(/img/bg/bg_footer_policy.gif) no-repeat;
		}
		#footer .policy li.about a span {
			background-position: 0 0;
		}
		#footer .policy li.ad a span {
			background-position: 0 -11px;
		}

		#footer .policy li.email {
			width: 100px;
        }
		#footer .policy li.email a span {
			background: url(/img/mn_02.png) 0 -1px no-repeat;
		}
		#footer .policy li.copyright_policy {
			width: 51px;
		}
		#footer .policy li.copyright_policy a span {
			background: url(/img/mn_01.png) 0 -1px no-repeat;
		}
		
		/* company */
		#footer .company {
			top: 25px;
			left: 203px;
			font: 12px/16px Helvetica;
		}
		
		/* copyright */
		#footer .copyright {
			bottom: -35px;
			width: 100%;
			height: 16px;
			text-align: center;
		}
		
		/* sitemap */		
		#footer .family-site {
			right: 20px;
			top: 25px;
			width: 148px;
			height: 19px;
			border: 1px solid #868686;
		}
		#footer .family-site .ctrl {
			overflow: hidden;
			position: absolute;
			right: 1px;
			top: 1px;
			width: 14px;
			height: 14px;
			cursor:pointer;
			background: #fff;
		}
		#footer .family-site .ctrl .arw {
			position: relative;
			left: 4px;
			top: 7px;
			width: 0;
			height: 0;
			border-top: 3px solid #868686;	
			border-left: 3px solid #fff;
			border-right: 3px solid #fff;
		}
		#footer .family-site h3 {
			font-size: 10px;
			height: 100%;
			line-height: 18px;
			font-weight: normal;
			text-transform: uppercase;
			font-family: Verdana;
			text-align: center;
		}
		#footer .family-site .list {
			display: none;
			position: absolute;
			left: -1px;
			bottom: 19px;
			*bottom: 18px;
			width: 142px;
			padding: 0 3px 5px 3px;
			border: 1px solid #868686;
			background: #fff;
		}
		#footer .family-site .list li {
			float: left;
			width: 100%;
			padding-top: 5px;
			text-transform: capitalize;
		}
		#footer .family-site .list li a {
			display: block;
			text-decoration: none;
		}
		#footer .family-site .list li a:hover {
			background: #eee;
			color: #00000a;
		}
		
	/* contentWrap - sub page layout */
	#contentWrap {
		margin-top: 30px;
		*zoom: 1;
	}
	#contentWrap:after {
		content: "";
		display: block;
		clear: both;
	}
		/* sidebar, contentMain */
		#sidebar,
		#contentMain {
			display: inline;
			float: left;
		}
			/* sidebar */
			#sidebar {
				float: left;
				width: 126px;
				font-size: 12px;
				line-height: 14px;
				border: 1px solid #b1bcc8;
			}
			#sidebar .sidebar-tit {
				padding: 8px 0;
				background: #b1bcc8;
				font-weight: bold;
				font-size: 12px;
				line-height: 14px;
				text-align: center;
				color: #fffffa;
			}
			#sidebar .sidebar-menu {
				width: 116px;
				padding: 15px 5px 0 5px;
			}
			#sidebar .sidebar-menu li {
				float: left;
				width: 100%;
				padding-bottom: 10px;
				font-weight: bold;
				letter-spacing: -1px;
			}
			#sidebar .sidebar-menu li a {
				display: block;
				color: #1c1c1c;
				font-size: 12px;
				line-height: 14px;
				text-decoration: none;
				letter-spacing: -1px;
			}
			#sidebar .sidebar-menu li .btn-view-crtl {
				width: 13px;
				height: 12px;
				margin-left: 5px;
				background-position: 0 -157px;
			}
			#sidebar .sidebar-menu li .btn-open {
				background-position: -13px -157px;
			}
			#sidebar .sidebar-menu li ul.dep02 {
				padding-top: 2px;
			}
			#sidebar .sidebar-menu li ul.dep02 li {
				margin-bottom: 0;			
				padding: 2px 0;
			}
			#sidebar .sidebar-menu li ul.dep02 a {
				font-weight: normal;
				color: #7a7a7a;
				padding-left: 10px;
				background: url(/img/bull/bull_bar_sidebar_2dep.gif) no-repeat 0 6px;
			}
			#sidebar .sidebar-menu li.current a,
			#sidebar .sidebar-menu li ul.dep02 li.current a,
			#sidebar .sidebar-menu li a:hover {
				color: #ff3900;
			}
			
			/* contentMain */
			#contentMain {
				width: 812px;
				margin-left: 20px;
			}

/* flash Message on CakePHP */
#flashMessage {
    margin-top:10px;
    margin-bottom:10px;
    padding-left:5px;
    color:red;
    font-size: 15px;
}


/* Thumbnail Mask */
.thumb-img .thumb-mask {
    position:absolute;
    left:0px;
    top:0px;
    cursor:pointer;
}
.thumb-img .mask-v {
    width:98px;
    height:60px;
    background:url('/img/over_img02.png') center center no-repeat;
}
.thumb-img .mask-c {
    width:132px;
    height:82px;
    background:url('/img/over_img01.png') center center no-repeat;
}

