@charset "utf-8";

/* subject_description.css */
@font-face {
     font-family : 'namumgothic';
     src :url(/next/css/font/NanumGothic.eot);
     src :url(/next/css/font/NanumGothic.eot?#iefix) format('embeded-opentype'),
           url(/next/css/font/NanumGothic.woff) format('woff');
}
@font-face {
     font-family : 'namumgothicSemiBold';
     src :url(/next/css/font/NanumGothic-Bold.eot);
     src :url(/next/css/font/NanumGothic-Bold.eot?#iefix) format('embeded-opentype'),
           url(/next/css/font/NanumGothic-Bold.woff) format('woff');
}
@font-face {
     font-family : 'namumgothicBold';
     src :url(/next/css/font/NanumGothicExtraBold.eot);
     src :url(/next/css/font/NanumGothicExtraBold.eot?#iefix) format('embeded-opentype'),
           url(/next/css/font/NanumGothicExtraBold.woff) format('woff');
}

/*word-break:keep-all!important;*/

/* 기본선언 */
#subcontents #new_subject_description div,
#subcontents #new_subject_description p,
#subcontents #new_subject_description span,
#subcontents #new_subject_description a, 
#subcontents #new_subject_description u,
#subcontents #new_subject_description u > *,
#subcontents #new_subject_description font,
#subcontents #new_subject_description font > *,
#subcontents #new_subject_description table td,
#subcontents #new_subject_description table th,
#subcontents #new_subject_description table tbody td,
#subcontents #new_subject_description table tbody th,
#subcontents #new_subject_description table thead th
{  font-family:namumgothic, "Dotum", "돋움", Verdana, sans-serif!important; font-size:14px!important; line-height:22px!important; letter-spacing:0.01em!important; color:#444!important; padding-top:0!important; padding-bottom:0!important; margin-top:0!important; margin-bottom:0!important; text-align:left!important; word-wrap:break-word!important; }



/* 가로값 넓어지면 스크롤 생성 */
#subcontents #new_subject_description { overflow-x:auto; }

/* table 전체크기 및 padding 값 선언, 전체아웃라인 */
#subcontents #new_subject_description table { clear:both!important; margin:5px 0!important; width:99%!important; max-width:720px!important; border:1px solid #888!important;}
#subcontents #new_subject_description table td,
#subcontents #new_subject_description table th,
#subcontents #new_subject_description table tbody td,
#subcontents #new_subject_description table tbody th,
#subcontents #new_subject_description table thead th { padding:5px!important; border-color:#888!important; border-width:1px!important;}

/* table값 내 p, span 태그 존재여부 db가 있을 수 있어 align 정렬 재선언 */
#subcontents #new_subject_description table td > *,
#subcontents #new_subject_description table th > *,
#subcontents #new_subject_description table tbody td > *,
#subcontents #new_subject_description table tbody th > *,
#subcontents #new_subject_description table thead th > * { text-align:center!important;}
#subcontents #new_subject_description table td p,
#subcontents #new_subject_description table td span,
#subcontents #new_subject_description table td a,
#subcontents #new_subject_description table td u,
#subcontents #new_subject_description table td font,
#subcontents #new_subject_description table td div,
#subcontents #new_subject_description table th p,
#subcontents #new_subject_description table th span,
#subcontents #new_subject_description table th a,
#subcontents #new_subject_description table th u,
#subcontents #new_subject_description table th font,
#subcontents #new_subject_description table th div,
#subcontents #new_subject_description table tbody td p,
#subcontents #new_subject_description table tbody td span,
#subcontents #new_subject_description table tbody td a,
#subcontents #new_subject_description table tbody td u,
#subcontents #new_subject_description table tbody td font,
#subcontents #new_subject_description table tbody td div,
#subcontents #new_subject_description table tbody th p,
#subcontents #new_subject_description table tbody th span,
#subcontents #new_subject_description table tbody th a,
#subcontents #new_subject_description table tbody th u,
#subcontents #new_subject_description table tbody th font,
#subcontents #new_subject_description table tbody th div,
#subcontents #new_subject_description table thead th p,
#subcontents #new_subject_description table thead th span,
#subcontents #new_subject_description table thead th a,
#subcontents #new_subject_description table thead th u,
#subcontents #new_subject_description table thead td font,
#subcontents #new_subject_description table thead th div { text-align:center!important;}


/* p태그 상단여백, div 첫번째 p의 경우 여백없음 */
#subcontents #new_subject_description p { padding-top:15px; }
#subcontents #new_subject_description div > p:first-child {padding-top:0px!important;}
#subcontents #new_subject_description div > p:first-child {padding-top:0px!important;}

/* span, p 태그중 내부 빈태그는 노출하지 않음, div 첫번째 br은 노출하지 않음 */
#subcontents #new_subject_description div > br:first-child, 
#subcontents #new_subject_description p:empty,
#subcontents #new_subject_description span:empty,
#subcontents #new_subject_description p span:empty,
#subcontents #new_subject_description p span p:empty {padding-top:0px!important; display:none!important; visibility:hidden!important;}

/* br br 두번 나오면 높이값 조절하기 */
#subcontents #new_subject_description br + br { font-size:0px!important; line-height:1px!important;}

/* h5 높이여백값 조절 */
#subcontents #new_subject_description h5 { padding:0 0 0 7px!important; margin:15px 0 7px 0!important; }

/* b태그 강제 활성화 */
#subcontents #new_subject_description b { font-weight:bold!important; }
#subcontents #new_subject_description b * {font-weight:bold!important; }

/* h5 하위 엘리먼트중 첫번째 감싼 div의 크기가 over될때 스크롤 */
#subcontents #new_subject_description  h5 + div { overflow:auto!important; }

/* h5 글자크기 키우기 */
#subcontents #new_subject_description h5 { font-size:14px!important; background:url(/next/images/common/dot_heading01.gif) no-repeat 0 7px;}


