@charset "utf-8";

/* Layoyt (레이아웃)
---------------------------------------------------------------------------------------------------------------------------------------------------------- */
	.pc_no { display:none; }
	
	@media only screen and (min-width: 981px){
		#header{height:90px !important;}
		#header .top_menu { position:absolute; top:90px; left:0; width:100%; height:50px; background:#95837a; }
	}

	.sub-visual { height:140px; }
	.sub-visual > div{ position:relative; width:100%; height:140px; text-align:center; background:none !important; }
	.sub-visual h2{ display:none; position:absolute; top:0; bottom:0; left:0; right:0; margin:auto; height:35px; line-height:1; font-size:35px; color:#fff;}

	/*.sub-visual2 > div, .sub-visual6 > div { height:90px; }*/

	.sub-tab{ position:relative; margin:40px auto 30px; text-align:center; font-family:"Nanum Square"; }
	.sub-tab ul { position:absolute; left:0; top:0; width:160px; }
	.sub-tab ul:after { content:""; display:block; clear:both; }
	.sub-tab ul li { float:left; width:80px; height:30px; text-align:center;  background:#eee; }
	.sub-tab ul li a { font-size:18px; }
	.sub-tab ul li.active { background:#0101DF; }
	.sub-tab ul li.active a { color:#fff; }
	.sub-tab a { line-height:20px; font-size:24px; font-weight:700; color:#666; }
	.sub-tab span { padding:0 20px; font-size:20px; line-height:20px;}
	.sub-tab a:hover { color:#0101DF; }
	.sub-tab a.active { color:#0101DF; }

	.sub-list { position:relative; margin:40px auto 30px;  }
	.sub-list p { text-align:center;  font-size:24px; font-family:"Nanum Square"; font-weight:700; color:#0101DF; }
	.sub-list a { position:absolute; padding:5px 15px; border:1px solid #dadada; font-size:24px;  font-weight:500;  color:#333; }
	.sub-list a:hover { background:#593522; color:#fff; border-color:#593522;}

	.sub-lang{ margin:40px auto 0px; text-align:center;}
	.sub-lang a {  font-family:"Nanum Square";  line-height:20px; font-size:24px; font-weight:900; color:#666; }
	.sub-lang span { padding:0 20px; font-size:20px; line-height:20px;}
	.sub-lang a:hover { color:#0101DF; }
	.sub-lang a.active { color:#0101DF; }
	.sub-lang p { padding-top:20px; font-size:20px; font-weight:500; }

	#subContents2 { padding:40px; margin:0 auto; width:100%; }
	#subContents2:after { content:""; display:block; clear:both; }
	.left-menu { float:left; width:157px; }
	.left-menu h4 { padding-bottom:10px; font-size:22px; font-weight:500; color:#121212; }
	.left-menu h4 + ul { margin-bottom:20px; }
	.left-menu h4 .active { color:#98412b; }
	.left-menu li { margin-bottom:2px; padding:10px 20px; font-size:16px; font-weight:500; background:#524938; color:#c3c2c1;}
	.left-menu li a { display:block; width:100%; height:100%; color:#c3c2c1;}
	.left-menu li.active { background:#98412b; color:#fff; }
	.left-menu li.active a { color:#fff; }
	#paintings { float:right; width:calc(100% - 177px); }

	@media only screen and (min-width:1201px) {
		.sub-list p { font-size:24px; }
		.sub-list a { position:absolute;  left:20px; top:0px;  }

		.sub-lang a { line-height:32px; font-size:36px; font-weight:700; color:#666; }
		.sub-lang span { padding:0 20px; font-size:32px; line-height:32px;}
		

		#subContents2 { padding:40px 20px 40px; margin:0 auto; width:1200px; }
	}
	

	@media only screen and (max-width:980px) {		
		#subContents2 { padding:20px; }
		.sub-visual { display:none; }

		.left-menu { float:left; width:150px; }
		#paintings { float:right; width:calc(100% - 170px); }

		.sub-tab ul { position:relative; margin:0 auto 15px; }
		.sub-tab ul li { line-height:30px; }
		
	}

	@media only screen and (min-width:769px) {				
		.sub-list a { left:40px; top:0px; }
	}


	@media only screen and (max-width:768px) {		
		.pc_no { display:block; }
		#subContents2 { padding:0 20px 20px; }
		.sub-visual > div{height:250px; background-size:100% 250px !important;}
		.sub-visual h2{font-size:25px;}

		.sub-tab {margin:20px auto 10px; }
		.sub-tab a { font-size:18px; line-height:18px;}
		.sub-tab span { padding:0 5px; font-size:18px;}
		.sub-tab a.active { font-weight:900; }

		.sub-list { margin:20px auto 10px;  }
		.sub-list p { padding-left:0px; padding-right:20px; text-align:right;  font-size:18px;  }
		.sub-list a { left:20px; top:0; padding:2px 5px; font-size:16px;}

		.sub-lang {margin:20px auto 10px; }
		.sub-lang a { font-size:24px !important; line-height:20px;}
		.sub-lang span { padding:0 5px; font-size:24px;}
		.sub-lang a.active { font-weight:900; }
		.sub-lang p { padding-top:20px; font-size:14px; }

		.left-menu { display:none; float:none; width:100%; }
		#paintings { float:none; width:100%; }
	}


/* Sub Contents (서브 콘텐츠 영역)
---------------------------------------------------------------------------------------------------------------------------------------------------------- */
	#subContents{ padding:0px 20px 50px; width:100%;}
	.sub-contents p{white-space:pre-line; word-break:break-all;}
	.sub-contents p:last-child{margin-bottom:0;}

	.sub-contents .big-txt{margin-bottom:40px; line-height:1.3; font-size:25px; color:#333;}
	.sub-contents .big-txt strong{font-weight:700; color:#ff4e00;}

	@media only screen and (min-width:1201px) {
		#subContents{ margin:0 auto; width:1200px;}
	}
	@media only screen and (max-width:1200px) {
		#subContents{padding:0 40px 40px;}
	}
	@media only screen and (max-width:768px) {
		#subContents{padding:0 20px 20px;}
		
		.sub-contents p{font-size:14px; white-space:normal; word-break:break-word;}
		.sub-contents .big-txt{margin-bottom:20px; font-size:20px;}
	}



/* 게시판 관련 CSS
---------------------------------------------------------------------------------------------------------------------------------------------------------- */
	/* 일반게시판 List */
	.whois-board-list { display:inline-block; padding:0; font-size:13px; }
	.whois-board-list .whois-board-row { width:100%; margin:0 0 0 0; padding:15px 0 15px 0; float:left; border-bottom:1px solid #eee; color:#000000; }
	.whois-board-list .whois-board-row:first-child { border-top:1px solid #593522; } /* Line 색상 */
	.whois-board-list .whois-board-row .whois-board-row-subject { margin:0 0 5px 0; padding:0; font-size:18px; font-weight:500; }
	.whois-board-list .whois-board-row .whois-board-row-info { color:#acacac; }
	.whois-board-list .whois-board-row .whois-board-row-info .whois-board-row-author { max-width: 33vw; display:inline-block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; vertical-align: middle; }2019-05-24
	

	/* 일반게시판 view */
	.whois-board-view { display:inline-block; border-top:1px solid #593522; } /* Line 색상 */
	.whois-board-view .whois-board-view-row { width:100%; margin:0; padding:0; padding:10px 0 10px 0; float:left; border-bottom:1px solid #eee; }
	.whois-board-view .whois-board-view-row .whois-board-view-subject { width:100%; margin:0 0 15px 0; padding:0; float:left; font-size:18px; font-weight:600; }
	.whois-board-view .whois-board-view-row .whois-board-view-author { width:100%; margin:0 0 5px 0; padding:0; float:left; font-size:13px; font-weight:600; }
	.whois-board-view .whois-board-view-row .whois-board-view-info { width:100%; margin:0; padding:0 0 10px 0; float:left; color:#acacac; }
	.whois-board-view .whois-board-view-row .whois-board-view-content { width:100%; margin:0; padding:10px 0 10px 0; float:left; font-size:12px; }

	.whois-board-view .whois-board-view-files { width:100%; margin:0; padding:0; float:left; }
	.whois-board-view .whois-board-view-files .whois-board-view-file { width:100%; margin:0; padding:5px 0; float:left; font-size:12px; }
	.whois-board-view .whois-board-view-files .whois-board-view-file .whois-board-view-file-count { font-size:11px; color:#c4c4c4; }

	.board_list_menu { margin:0px auto 20px; width:94%; }
	.board_list_menu:after { content:""; display:block; clear:both; }
	.board_list_menu li { float:left; padding:10px 20px; margin-bottom:10px; width:38%; height:75px; font-size:16px; font-weight:500; border:1px solid #d5cac4; background:#f7eee9; }
	.board_list_menu li a { display:block; width:100%; height:100%; }
	.board_list_menu li a:after { content:""; display:block; clear:both; }
	.board_list_menu li p { font-size:18px; color:#121212; }
	.board_list_menu li span { font-size:14px; color:#95837b;}
	.board_list_menu li.active p { color:#fff; }
	.board_list_menu li.active span { color:rgba(255,255,255,0.8); }
	.board_list_menu li.active { background:#593522; color:#fff; }
	.board_list_menu li.active a, .board_list_menu li.active a:hover { color:#fff; }
	.board_list_menu li:nth-of-type(2n) { float:right; width:60%; }
	.board_list_menu li:nth-of-type(2n) p { font-size:16px; }
	.board_pagetab span { background:#593522; padding:5px; }
	.board_pagetab a { font-family:'NotoSansKR' !important; font-size:18px !important; font-weight:500 !important; margin:0 5px; }
	.board_pagetab span a { color:#fff; }
	.board_pagetab a.page-next, .board_pagetab a.page-last { margin:0 !important; }

	
	@media only screen and (max-width:980px) {
		.board_list_menu { margin:0px auto 20px; width:96%; }
		.board_list_menu:after { content:""; display:block; clear:both; }
		.board_list_menu li { float:none; padding:10px; margin-bottom:5px; width:100%; height:60px; font-size:14px; }
		.board_list_menu li:nth-of-type(2n) { float:none; width:100%; }
		.board_list_menu li p { float:none; width:100%; font-size:15px; }
		.board_list_menu li span { float:none; width:100%; font-size:13px; text-align:left;  }	
	}
	
	@media only screen and (max-width:768px) {
		.whois-board-list .whois-board-row { padding:10px 0; }

		.board_list_menu { margin:0px auto 20px; width:100%; }
		.board_list_menu li:nth-of-type(2n) p { font-size:16px; }
		.board_list_menu li { padding:7px; height:auto; }
		.board_list_menu li:nth-of-type(2n) p { font-size:15px; }

		.board_pagetab a { font-size:18px !important; }
	}


	/* 게시판 버튼 */
	.btn-search, .whois-button-submit, .btn-sub { color:#fff; background-color: #593522; -webkit-transition: all .3s ease-out; -moz-transition: all .3s ease-out; transition: all .3s ease-out;}
	.btn-search:hover, .btn-search:focus, .whois-button-submit:hover,.whois-button-submit:focus, .btn-sub:hover, .btn-sub:focus { color:#fff; background-color: #e64600; }

	/* 게시판 공통 */
	.sub-box { margin-right:5px; background-color: #593522;  border: 0; color:#ffffff; display: inline-block; }
	.sub-box.sm { font-size: 12px; padding: 2px 5px;}
	.sub-box.m { font-size: 14px; padding: 4px 8px;}
	.sub-box.lg { font-size: 16px; padding: 6px 12px;}
	 
	.sub-border { border: 1px solid #593522; }
	.sub-border-t { border-top: 1px solid #593522; }
	.sub-border-r { border-right: 1px solid #593522; }
	.sub-border-b { border-bottom: 1px solid #593522; }
	.sub-border-l { border-left: 1px solid #593522; }

	.sub-bg { background-color: #593522; }
	.sub-bg-hover:hover { background-color: #e64600; }

	.next_data_area, .prev_data_area { font-size:13px; }

	/* 갤러리게시판 view*/
	.gallery_info { width:500px; margin-top:20px; border-collapse:collapse; }	
	.gallery_info th, .gallery_info td { padding:5px; }
	.gallery_info th { width:100px; text-align:right; font-weight:500; color:#3b2416; }
	.gallery_info td { padding:5px 20px; font-weight:500; color:#a44a1a;  }

	/*갤러리게시판 List */
	.gallery_category li { border:1px solid #dadada; background:#ccc !important; text-align:center; font-size:18px; font-weight:500; color:#666;}
	.gallery_category li.active { background:#fff !important; color:#ff6600 !important; }



/* 로그인/회원가입 관련 CSS
---------------------------------------------------------------------------------------------------------------------------------------------------------- */
	.material-form{margin:0 auto; background:#fff;}
	.material-form .header{padding:50px 10px; background:#6498fe; font-size:16px; color:#fff;}
	.material-form .header h3{font-size:30px;}
	.material-form .header p,
	.material-form .header span{margin-top:15px; font-size:16px; color:#fff;}

	.material-form .sub-header h4{font-weight:bold;	height:34px; line-height:34px; font-size:16px;}
	.material-form .sub-content .form-group:last-child{margin:0;}

	.material-form .input-group{position:relative; border:0;}
	.material-form .input-group .input-group-addon{padding-right:6px; padding-left:6px; background:#fff; border:0;}

	.material-form .form-control,
	input[type='text'].whois,
	input[type='password'].whois,
	select.whois{border:1px solid #ccc; transition:0.3s all ease;}

	/*.material-form .btn:first-child,*/
	.material-form .input-group .form-control:first-child,
	.material-form .input-group .form-control.first,
	.material-form .input-group .th + .form-control,
	.th + input[type='text'].whois,
	.th + input[type='password'].whois,
	.th + select.whois{border-bottom-left-radius:4px; border-top-left-radius:4px;}

	/*.material-form .btn:last-child,*/
	.material-form .input-group .form-control:last-child,
	.material-form .input-group .form-control.last,
	.material-form .input-group .input-group-btn:last-child,
	.material-form .input-group .input-group-btn:last-child button,
	.material-form .input-group .input-group-btn:last-child .btn{border-bottom-right-radius:4px; border-top-right-radius:4px;}

	.material-form .form-group{margin-bottom:15px; overflow:visible;}

	.material-form .form-group.success .form-control{color:#5cb85c;}
	.material-form .form-group.failed .form-control{color:#d9534f;}
	.material-form .form-control[readonly]{background:#fff;}
	.material-form .btn {height:38px;}
	.material-form .btn-default{-webkit-transition:all .3s ease-out; -moz-transition:all .3s ease-out; transition:all .3s ease-out;}

	.material-form .input-group input,
	.material-form .input-group select,
	input[type='text'].whois,
	input[type='password'].whois,
	select.whois{z-index:10;}

	.input-group label.th{z-index:9; display:none; position:absolute; top:50%; left:10px; margin-top:-10px; height:20px; color:#ccc;}

	.input-group label.th.ie9{z-index:11; display:block;}
	.material-form .desc{padding:10px 0;}

	.chkbox{display:inline-block; margin:0; padding:0;}
	.chk-block,
	.chk-block span{display:block; text-align:center; width:100%;}
	.chkbox input[type='radio'],
	.chkbox input[type='checkbox']{display:none;}
	.chkbox input[type='radio']~.rbtn{padding: 6px 12px; line-height:27px; border:1px solid #ccc; border-radius:3px; cursor:pointer;}
	.chkbox input[type='radio']:checked~.rbtn{background:#ccc; color:#fff;}
	.chkbox input[type='radio']~.box,
	.chkbox input[type='checkbox']~.box{display:block; color:#bbb; cursor:pointer; transition:0.5s all ease;}
	.chkbox input[type='radio']~.box:before,
	.chkbox input[type='checkbox']~.box:before{display:inline-block; margin-right:5px; padding:2px;	font-family:'Glyphicons Halflings'; font-size:18px; font-weight:normal; line-height:1; text-align:center; transition:0.4s all ease; vertical-align:middle; color:#cfcfcf;}
	.chkbox input[type='radio']~.box:before{content:"\e165";}
	.chkbox input[type='checkbox']~.box:before{content:"\e013";}
	.chkbox input[type='radio']:checked~.box,
	.chkbox input[type='checkbox']:checked~.box{color:#666;}
	.chkbox input[type='radio']:checked~.box:before,
	.chkbox input[type='checkbox']:checked~.box:before{color:#666;}